Data transmission method and device

By obtaining the business characteristic information of the terminal device in the communication device and determining the mapping relationship between the packet filtering set and the QoS flow, the problem of low resource utilization in the existing technology is solved, and efficient quality of service processing for different business requirements is achieved.

CN113938904BActive Publication Date: 2024-09-24HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010606803.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-29
Publication Date
2024-09-24
Estimated Expiration
2040-06-29

AI Technical Summary

Technical Problem

It is difficult for the existing technology to efficiently utilize resources while meeting different business needs. Especially when the network is congested, it cannot effectively distinguish and process data packets with different service qualities, resulting in low resource utilization.

Method used

By receiving the instruction information in the communication device, the service characteristic information of the terminal device is obtained, and the mapping relationship between the packet filtering set and the QoS flow is determined based on the characteristic information, so as to realize the differentiated processing of the data packets and ensure that the service quality requirements are met.

Benefits of technology

It improves resource utilization during data transmission, meets the service quality requirements of different business needs, and enhances the differentiated processing capabilities of the network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113938904B
    Figure CN113938904B
Patent Text Reader

Abstract

The embodiment of the present application provides a method and device for data transmission, wherein a first communication device receives first indication information from a second communication device, the first indication information indicating whether a first service of a terminal device is a first type of service, the first communication device obtains characteristic information of the first service according to the first indication information, and determines a mapping relationship between a packet filter set of the first service and a quality of service QoS flow according to the characteristic information, and then sends the mapping relationship to a third communication device. By implementing the method, data of the first type of service can be effectively differentiated and processed, thereby improving resource utilization while meeting different transmission requirements.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of wireless communications, and in particular, to a method and apparatus for data transmission. Background Art

[0002] In mobile communication networks, operators can provide users with more diverse services such as voice, data, and video. Since different services have different requirements for latency, bandwidth, etc., the introduction of quality of service (QoS) solutions can achieve differentiated processing of various services, provide guarantees for high-speed data services, and enhance users' network experience. The purpose of the QoS solution is to provide network services with different service quality guarantees for various different service requirements. In particular, when the network is congested, the service quality of high-priority users or services is given priority.

[0003] When an uplink service flow occurs, the terminal device analyzes the uplink data packet of the uplink service flow to obtain the five-tuple of the data packet, determines the QFI corresponding to the five-tuple according to the mapping relationship between the five-tuple and the QoS flow indicator (QFI), and can carry the QFI corresponding to the five-tuple in the encapsulation header of the data packet, thereby mapping the uplink service flow to the QoS flow. When a downlink service flow occurs, the user-side core network element can map the downlink service flow to the QoS flow in a similar manner to the terminal device side. Summary of the invention

[0004] The present application provides a method and device for data transmission, which are used to implement differentiated processing of data to meet different needs of users.

[0005] In a first aspect, the present application provides a method for data transmission, the execution subject of the method is a first communication device. The first communication device receives first indication information from a second communication device, the first indication information indicating whether a first service of a terminal device is a first type of service; the first communication device obtains characteristic information of the first service according to the first indication information; the first communication device determines a mapping relationship between a packet filter set of the first service and a quality of service QoS flow according to the characteristic information of the first service; and sends the mapping relationship between the packet filter set of the first service and the QoS flow to a third communication device.

[0006] By implementing the method described in the first aspect, the first communication device obtains the characteristic information of the first service of the terminal device according to the received first indication information, and the first communication device determines the mapping relationship between the packet filter set and the QoS flow of the first service according to the characteristic information, so that the first communication device considers the characteristic information of the first service when determining the mapping relationship between the packet filter set and the QoS flow of the data packet of the first service, thereby more comprehensively considering the service quality requirements of the data packet, and then more effectively distinguishing and processing the data, thereby improving resource utilization while meeting different transmission requirements.

[0007] In a possible implementation manner of the first aspect, the acquiring the characteristic information of the first service according to the first indication information specifically includes: when the first indication information indicates that the first service is a service of the first type, acquiring the characteristic information of the first service.

[0008] In a possible implementation manner of the first aspect, the characteristic information of the first service includes a mapping relationship between characteristic parameters and QoS parameters.

[0009] In a possible implementation manner of the first aspect, the packet filter set includes the characteristic parameters, and the mapping relationship between the packet filter set and the QoS flow includes a mapping relationship between the characteristic parameters and a quality of service flow identifier QFI.

[0010] In a possible implementation of the first aspect, the first communication device obtains characteristic information of the first service, specifically including: the first communication device sends request information to a fourth communication device, where the request information is used to request the characteristic information of the first service; the first communication device receives second indication information from the fourth communication device, where the second indication information includes the characteristic information of the first service.

[0011] In a possible implementation manner of the first aspect, the first communication apparatus sends a mapping relationship between a packet filtering set of a first service and a QoS flow to a terminal device.

[0012] In a possible implementation of the first aspect, the first communication device sends a QoS template to the access network device according to the mapping relationship between the packet filtering set of the above-mentioned first service and the QoS flow, and the QoS template includes a mapping relationship between characteristic parameters, QFI and QoS parameters.

[0013] In a possible implementation manner of the first aspect, the first communication device is a session management function SMF entity.

[0014] In a possible implementation manner of the first aspect, the second communication device is an access and mobility management function AMF entity.

[0015] In a possible implementation manner of the first aspect, the third communication device is a user plane function UPF entity.

[0016] In a possible implementation manner of the first aspect, the fourth communication device is a unified data management (UDM) entity, a policy control function (PCF) entity, a network open function (NEF) entity, or a unified data storage (UDR) entity.

[0017] In a second aspect, the present application provides a method for data transmission, the method being performed by a first communication device. The first communication device receives first indication information from a second communication device, the first indication information indicating whether a first service of a terminal device is a service of a first type; the first communication device obtains characteristic information of the first service according to the first indication information; and the first communication device sends the characteristic information of the first service to an access network device.

[0018] By implementing the method described in the second aspect, the first communication device obtains the characteristic information of the first service of the terminal device according to the received first indication information, and then sends the characteristic information of the first service to the access network device, so that when the access network device receives the downlink data packet of the first service, it maps the downlink data packet to the corresponding DRB according to the above-mentioned characteristic information of the first service, thereby more comprehensively considering the service quality requirements of the data packet, and then being able to differentiate and process the data more effectively, thereby improving resource utilization while meeting different transmission requirements.

[0019] In a possible implementation manner of the second aspect, the acquiring the characteristic information of the first service according to the first indication information specifically includes: when the first indication information indicates that the first service is a service of the first type, acquiring the characteristic information of the first service.

[0020] In a possible implementation manner of the second aspect, the characteristic information of the first service includes a mapping relationship between characteristic parameters and QoS parameters.

[0021] In a possible implementation of the second aspect, the first communication device obtains characteristic information of the first service, specifically including: the first communication device sends request information to a fourth communication device, where the request information is used to request the characteristic information of the first service; the first communication device receives second indication information from the fourth communication device, where the second indication information includes the characteristic information of the first service.

[0022] In a possible implementation manner of the second aspect, the first communication device sends a mapping relationship between a packet filtering set of the first service and a QoS flow to a third communication device.

[0023] In a possible implementation manner of the second aspect, the first communication apparatus sends a mapping relationship between a packet filtering set of a first service and a QoS flow to a terminal device.

[0024] In a possible implementation manner of the second aspect, the first communication device is a session management function SMF entity.

[0025] In a possible implementation manner of the second aspect, the second communication device is an access and mobility management function AMF entity.

[0026] In a possible implementation manner of the second aspect, the third communication device is a user plane function UPF entity.

[0027] In a possible implementation manner of the second aspect, the fourth communication device is a unified data management (UDM) entity, a policy control function (PCF) entity, a network open function (NEF) entity, or a unified data storage (UDR) entity.

[0028] In a third aspect, the present application provides a method for data transmission, wherein the execution subject of the method is an access network device or a module in the access network device. Here, the access network device is used as an example for description. The access network device receives characteristic information of a first service from a first communication device; the access network device determines a mapping relationship between a QoS flow, a characteristic parameter, and a DRB according to the characteristic information of the first service.

[0029] By implementing the method described in the third aspect, when the access network device receives a downlink data packet of the first service, it maps the downlink data packet to the corresponding DRB according to the characteristic information of the first service, and sends the downlink data packet to the terminal device through the DRB, thereby more comprehensively considering the service quality requirements of the data packet, and then being able to differentiate and process the data more effectively, thereby improving resource utilization while meeting different transmission requirements.

[0030] In a possible implementation manner of the third aspect, the characteristic information of the first service includes a mapping relationship between characteristic parameters and QoS parameters.

[0031] In a possible implementation of the third aspect, an access network device receives a GTP-U data packet from a third communication device, wherein the GTP-U data packet includes a data packet and indication information, wherein the indication information is used to indicate the above-mentioned characteristic parameters; the DRB mapped by the GTP-U data packet is determined according to the characteristic parameters in the GTP-U data packet, and a mapping relationship between the QoS flow, the characteristic parameters and the DRB.

[0032] In a possible implementation manner of the third aspect, the access network device sends the above-mentioned mapping relationship between the QoS flow, characteristic parameters and DRB to the terminal device.

[0033] In a fourth aspect, a communication device is provided, comprising a functional module for implementing the method in the aforementioned first aspect, any possible implementation of the first aspect, the second aspect, and any possible implementation of the second aspect.

[0034] In a fifth aspect, a communication device is provided, comprising a functional module for implementing the method in the aforementioned third aspect or any possible implementation manner of the third aspect.

[0035] In a sixth aspect, a communication device is provided, comprising a processor and an interface circuit, wherein the interface circuit is used to receive signals from other communication devices outside the communication device and transmit them to the processor or send signals from the processor to other communication devices outside the communication device, and the processor is used to implement the aforementioned first aspect, any possible implementation of the first aspect, the second aspect, and any possible implementation of the second aspect through logic circuits or execution code instructions.

[0036] In the seventh aspect, a communication device is provided, comprising a processor and an interface circuit, wherein the interface circuit is used to receive signals from other communication devices outside the communication device and transmit them to the processor or send signals from the processor to other communication devices outside the communication device, and the processor is used to implement the method in the aforementioned third aspect or any possible implementation method of the third aspect through logic circuits or execution code instructions.

[0037] In an eighth aspect, a computer-readable storage medium is provided, in which a computer program or instruction is stored. When the computer program or instruction is executed, the method of the aforementioned first aspect, any possible implementation of the first aspect, the second aspect, and any possible implementation of the second aspect is implemented.

[0038] In the ninth aspect, a computer-readable storage medium is provided, in which a computer program or instruction is stored. When the computer program or instruction is executed, the method in the aforementioned third aspect or any possible implementation manner of the third aspect is implemented.

[0039] In the tenth aspect, a computer program product comprising instructions is provided, which, when executed, implements the method in the aforementioned first aspect, any possible implementation of the first aspect, the second aspect, and any possible implementation of the second aspect.

[0040] In the eleventh aspect, a computer program product comprising instructions is provided, which, when executed, implements the method in the aforementioned third aspect or any possible implementation manner of the third aspect.

[0041] In the twelfth aspect, a computer program is provided, which includes codes or instructions. When the codes or instructions are executed, the methods in the aforementioned first aspect, any possible implementation of the first aspect, the second aspect, and any possible implementation of the second aspect are implemented.

[0042] In a thirteenth aspect, a computer program is provided, which includes codes or instructions. When the codes or instructions are executed, the method in the aforementioned third aspect or any possible implementation manner of the third aspect is implemented.

[0043] In a fourteenth aspect, a chip system is provided, the chip system includes a processor and may also include a memory, for implementing at least one method in the aforementioned first aspect, any possible implementation of the first aspect, the second aspect, any possible implementation of the second aspect, the third aspect, and any possible implementation of the third aspect. The chip system may be composed of a chip, or may include a chip and other discrete devices.

[0044] In the fifteenth aspect, a communication system is provided, wherein the system comprises the device described in the fourth aspect or the sixth aspect and the device described in the fifth aspect or the seventh aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 A schematic diagram of a network architecture applicable to an embodiment of the present application;

[0046] Figure 2 An example diagram of the protocol layer structure between the terminal device and the access network device provided in the embodiment of the present application;

[0047] Figure 3 A schematic diagram of a QoS model provided for an embodiment of the present application;

[0048] Figure 4 and Figure 5 A flowchart of a data transmission method provided in an embodiment of the present application;

[0049] Figure 6 and Figure 7 A schematic diagram of the structure of a possible communication device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0050] The technical solution provided in the embodiments of the present application can be applied to various communication systems, such as: long-term evolution (LTE) system, fifth-generation (5G) mobile communication system, WiFi system, future communication system, or a system integrating multiple communication systems, etc., which is not limited in the embodiments of the present application. Among them, 5G can also be called new radio (NR).

[0051] The technical solution provided in the embodiments of the present application can be applied to various communication scenarios, for example, it can be applied to one or more of the following communication scenarios: enhanced mobile broadband (eMBB), ultra-reliable low-latency communication (URLLC), machine type communication (MTC), massive machine type communication (mMTC), device-to-device (D2D), vehicle to everything (V2X), vehicle to vehicle (V2V), and Internet of things (IoT), etc.

[0052] In the embodiments of the present application, " / " can indicate that the objects associated before and after are in an "or" relationship, for example, A / B can indicate A or B; "and / or" can be used to describe that there are three relationships between the associated objects, for example, A and / or B can indicate: A exists alone, A and B exist at the same time, and B exists alone. Among them, A and B can be singular or plural. In the embodiments of the present application, words such as "first" and "second" can be used to distinguish technical features with the same or similar functions. The words such as "first" and "second" do not limit the quantity and execution order, and the words such as "first" and "second" do not necessarily limit them to be different. In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations, and embodiments or design schemes described as "exemplary" or "for example" should not be interpreted as being more preferred or more advantageous than other embodiments or design schemes. The use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way for easy understanding.

[0053] Figure 1 Schematic diagram of a network architecture applicable to the embodiment of the present application. Figure 1As shown, the terminal device can access the wireless network to obtain services of the external network (such as a data network (DN)) through the wireless network, or communicate with other devices through the wireless network, such as communicating with other terminal devices. The wireless network includes a radio access network (RAN) and a core network (CN), wherein the RAN is used to access the terminal device to the wireless network, and the CN is used to manage the terminal device and provide a gateway for communicating with the DN.

[0054] The following are Figure 1 The terminal equipment, RAN, CN and DN involved are explained in detail.

[0055] 1. Terminal equipment

[0056] The terminal devices involved in the embodiments of the present application may also be referred to as terminals, user equipment (UE), mobile stations, mobile terminals, etc. The terminal device may be a mobile phone, a tablet computer, a computer with wireless transceiver function, a virtual reality terminal device, an augmented reality terminal device, a wireless terminal in industrial control, a wireless terminal in unmanned driving, a wireless terminal in remote surgery, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home, etc. The embodiments of the present application do not limit the specific technology and specific device form adopted by the terminal device. In the embodiments of the present application, the device for realizing the function of the terminal device may be a terminal device; it may also be a device that can support the terminal device to realize the function, such as a chip system, which may be installed in the terminal device or used in combination with the terminal device. In the embodiments of the present application, the chip system may be composed of a chip, or may include a chip and other discrete devices. In the technical solution provided in the embodiments of the present application, the technical solution provided in the embodiments of the present application is described by taking the device for realizing the function of the terminal device as an example of a terminal device.

[0057] 2. RAN

[0058] The RAN may include one or more RAN devices, and the interface between the RAN device and the terminal device may be a Uu interface (or air interface). Of course, in future communications, the names of these interfaces may remain unchanged, or may be replaced by other names, which is not limited in this application.

[0059] RAN equipment is an access device that a terminal device accesses to a mobile communication system by wireless means, and may be a base station, an evolved NodeB (eNodeB), a transmission reception point (TRP), a next generation NodeB (gNB) in a 5G mobile communication system, a base station in a future mobile communication system, or an access node in a WiFi system. RAN equipment may include a centralized unit (CU), or a distributed unit (DU), or both a CU and a DU. In the technical solution provided in the embodiment of the present application, the technical solution provided in the embodiment of the present application is described by taking the device for implementing the functions of the RAN device as an example, which is a RAN device.

[0060] The communication between RAN equipment and terminal equipment follows a certain protocol layer structure. For example, the control plane protocol layer structure may include functions of protocol layers such as the RRC layer, packet data convergence protocol (PDCP) layer, radio link control (RLC) layer, media access control (MAC) layer and physical layer; the user plane protocol layer structure may include functions of protocol layers such as the PDCP layer, RLC layer, MAC layer and physical layer. In a possible implementation, a service data adaptation protocol (SDAP) layer may also be included above the PDCP layer.

[0061] Taking data transmission between RAN equipment and terminal equipment as an example, data transmission needs to pass through the user plane protocol layer, such as the SDAP layer, PDCP layer, RLC layer, MAC layer, and physical layer. The SDAP layer, PDCP layer, RLC layer, MAC layer, and physical layer can also be collectively referred to as the access layer. According to the data transmission direction, it is divided into sending or receiving. Each of the above layers is divided into a sending part and a receiving part. Taking downlink data transmission as an example, see Figure 2 The figure shows the schematic diagram of downlink data transmission between layers. Figure 2The downward arrow in the figure indicates data transmission, and the upward arrow indicates data reception. After the PDCP layer obtains data from the upper layer, it will transmit the data to the RLC layer and the MAC layer. The MAC layer then generates a transport block and then transmits it wirelessly through the physical layer. Data is encapsulated in each layer accordingly. The data received by a layer from the upper layer of the layer is regarded as the service data unit (SDU) of the layer. After layer encapsulation, it becomes a protocol data unit (PDU) and is then passed to the next layer. For example, the data received by the PDCP layer from the upper layer is called PDCP SDU, and the data sent by the PDCP layer to the lower layer is called PDCP PDU; the data received by the RLC layer from the upper layer is called RLC SDU, and the data sent by the RLC layer to the lower layer is called RLC PDU. In the protocol, the connection between layers is mostly corresponding in the form of channels. The RLC layer corresponds to the MAC layer through a logical channel (logical channel, LCH), and the MAC layer corresponds to the physical layer through a transport channel. Below the physical layer is a physical channel, which is used to correspond to the physical layer at the other end.

[0062] For example, according to Figure 2 It can also be seen that the terminal device also has an application layer and a non-access layer; the application layer can be used to provide services to the applications installed in the terminal device, for example, the downlink data received by the terminal device can be transmitted from the physical layer to the application layer in sequence, and then provided to the application by the application layer; for another example, the application layer can obtain the data generated by the application, and transmit the data to the physical layer in sequence, and send it to other communication devices. The non-access layer can be used to forward user data, such as forwarding the uplink data received from the application layer to the SDAP layer or forwarding the downlink data received from the SDAP layer to the application layer.

[0063] 3. CN

[0064] CN may include one or more CN devices. Taking the 5G communication system as an example, CN may include access and mobility management function (AMF) network element, session management function (SMF) network element, user plane function (UPF) network element, policy control function (PCF) network element, unified data management (UDM) network element, application function (AF) network element, network exposure function (NEF) network element, unified data repository (UDR) network element, etc.

[0065] The AMF network element is a control plane network element provided by the operator network, which is responsible for the access control and mobility management of terminal devices accessing the operator network, such as mobility status management, allocation of user temporary identity, authentication and authorization of users, etc.

[0066] The SMF network element is a control plane network element provided by the operator network, which is responsible for managing the PDU session of the terminal device. The PDU session is a channel for transmitting PDUs. The terminal device needs to transmit PDUs to and from the DN through the PDU session. The SMF network element is responsible for establishing, maintaining, and deleting the PDU session. The SMF network element includes session management (such as session establishment, modification, and release, including tunnel maintenance between UPF and RAN), selection and control of UPF network elements, service and session continuity (SSC) mode selection, roaming, and other session-related functions.

[0067] The UPF network element is a gateway provided by the operator and is the gateway for the operator network to communicate with the DN. The UPF network element includes user-plane related functions such as data packet routing and transmission, packet detection, service usage reporting, Quality of Service (QoS) processing, legal monitoring, uplink packet detection, and downlink packet storage.

[0068] The PCF network element is a control plane function provided by the operator, which is used to provide PDU session policies to the SMF network element. The policies may include charging-related policies, QoS-related policies, and authorization-related policies.

[0069] The UDM network element is a control plane network element provided by the operator, responsible for storing information such as the subscriber permanent identifier (SUPI), security context, and subscription data of subscribers in the operator's network.

[0070] The AF network element is a functional network element that provides various business services. It can interact with the core network through other network elements, and can interact with the policy management framework to perform policy management.

[0071] In addition, CN may also include other possible network elements, such as network exposure function (NEF) network elements and unified data repository (UDR) network elements. NEF network elements are used to provide frameworks, authentication and interfaces related to network capability exposure, and to transmit information between 5G system network functions and other network functions; UDR network elements are mainly used to store user-related contract data, policy data, structured data for openness, and application data.

[0072] In the embodiment of the present application, the CN device may be an AMF entity, an SMF entity, a UPF entity, a PCF entity, an AF entity, a NEF entity, or a UDR entity. Figure 1 In the illustrated network architecture, the communication between the RAN device and the UPF entity may follow certain protocols, such as the GTP-U protocol, which is one of the protocols of the general packet radio service (GPRS) tunnel transmission protocol (GTP).

[0073] 4.DN

[0074] DN, also known as packet data network (PDN), is a network located outside the operator network. The operator network can access multiple DNs, and multiple services can be deployed on the DN, which can provide data and / or voice services to terminal devices. Figure 1 Among them, Npcf, Nudm, Naf, Namf, Nsmf, N1, N2, N3, N4, and N6 are interface serial numbers. The meanings of these interface serial numbers can be found in the definitions in the relevant standard protocols and are not limited here.

[0075] When the above Figure 1When the network architecture shown is applicable to a 5G communication system (abbreviated as 5GS (5G system)), the data transmission between different communication devices described above can be implemented based on the QoS model in the 5GS. Figure 3 , which is a schematic diagram of a QoS model.

[0076] like Figure 3 As shown, in the downlink direction, the data packets entering the 5GS are distinguished at the UPF entity. For example, the UPF entity distinguishes the downlink data packets into different QoS flows according to the packet filter sets of the downlink packet detection rule (PDR), and all data packets in the same QoS flow are marked with the same QFI. The UPF entity transfers the data packets to the RAN device through the N3 interface. The RAN device maps the QoS flow to the data radio bearer (DRB), and then transmits the downlink data on the Uu interface. In the uplink direction, after the application layer of the terminal device generates a data packet, the uplink data packet is distinguished into different QoS flows according to the packet filter set in the QoS rules (rules) configured by the SMF entity. The SDAP layer entity of the terminal device maps the data packets of the QoS flow to the corresponding DRB according to the mapping relationship from QFI to DRB configured by the base station, and then transmits the uplink data on the air interface. Exemplarily, a QoS flow can only be mapped to one DRB, and different QoS flows can be mapped to the same DRB; the mapping relationship between the QoS flow and the DRB can be determined by the RAN device.

[0077] Among them, the packet filter set in the QoS rule and PDR is used to identify one or more data packet flows (such as Internet protocol (IP) flows), and the packet filter set may include one or more packet filter templates. At present, 5GS defines two types of packet filter sets based on the PDU session type, namely, the IP packet filter set and the Ethernet packet filter set. When the PDU session type is IP, the packet filter set supports any combination of the following packet filter templates: source / destination IP address or IPv6 prefix; source / destination port number; protocol identifier of the protocol above the IP layer; IPv4 service type (type of service, TOS) field / IPv6 traffic category and mask; IPv6 flow label; security parameter index; packet filtering direction. The commonly used packet filter template adopts a combination of the first three, that is, the five-tuple of the IP data packet (source / destination address, source / destination port number, transport layer protocol) is used to filter the data packet. In the embodiment of the present invention, the five-tuple of the IP data packet is taken as the packet filter template as an example, and any combination of the above can also be used as the packet filter template in the specific embodiment.

[0078] According to the above description, when using Figure 3 In the QoS model shown, if the quintuples of different data packets are the same, they will be marked with the same QFI and mapped to the same QoS flow. Furthermore, on the core network side, data packets marked with the same QFI will receive the same forwarding and scheduling treatment. On the air interface side, DRB is a logical pipeline for data packet transmission. RAN equipment can perform specific configurations on DRB to ensure that the data packets processed and transmitted through the DRB can meet the QoS requirements on the air interface side. Therefore, the data packets transmitted through the DRB receive the same treatment on the air interface. In other words, the treatment received by data packets in a QoS flow in 5GS, such as scheduling and forwarding priority, is always the same.

[0079] However, in some possible scenarios, such as social live video streaming (SLVS) transmission scenarios and transmission control protocol (TCP) data stream transmission scenarios, the data mapped to the same QoS stream may have different QoS requirements (such as latency requirements, reliability requirements, etc.). Specifically, in the SLVS transmission scenario, the SLVS application can provide video streams / data streams for real-time viewing and delayed viewing at the same time. In this case, the same video stream / data stream has both latency-sensitive video frames and latency-less but higher reliability requirements during transmission. For TCP data stream transmission scenarios, in TCP data streams, the timely transmission of TCP ACK frames can effectively control congestion (i.e., the latency requirements of TCP ACK frames are high), so there are data frames of different importance in the same TCP data stream.

[0080] For the SLVS transmission scenario and the TCP data stream transmission scenario, since the quintuples of the data packets of the same video stream / data stream are the same, the QFIs corresponding to these data packets are the same, and thus they will be mapped to the same QoS stream, and the QoS guarantees of the same QoS stream are the same, that is, when the QoS stream mapped by the video stream / data stream sets the QoS parameters according to the delay requirement, it can only meet the video stream / data stream's requirements for transmission delay, but cannot meet the video stream / data stream's requirements for transmission reliability; when the QoS stream mapped by the video stream / data stream sets the QoS parameters according to the reliability requirement, it can only meet the video stream / data stream's requirements for transmission reliability, but cannot meet the video stream / data stream's requirements for transmission delay; when the QoS stream mapped by the video stream / data stream sets the parameters according to the reliability requirement and the delay requirement, although it can meet the video stream / data stream's requirements for transmission reliability and the delay requirement, and ensure the user experience, it will consume a lot of resources. Based on this, the embodiment of the present application provides a data transmission method for realizing differentiated processing of data of the same video stream / data stream, thereby improving resource utilization while meeting different transmission requirements.

[0081] Exemplarily, the data transmission method provided in the embodiment of the present application may include two possible schemes, namely scheme one and scheme two. In scheme one, the first communication device determines whether the first service of the terminal device is a first type of service according to the first indication information of the second communication device. If the first service is a first type of service, the first communication device obtains the characteristic information of the first service, and the characteristic information includes a first mapping relationship between characteristic parameters and QoS parameters. The first communication device determines the second mapping relationship between the packet filter set of the data packet of the first service and the QoS flow according to the first mapping relationship. Further, the first communication device sends the second mapping relationship to the third communication device and the terminal device. With this scheme, when the third communication device receives the downlink data packet of the first service, the QFI of the data packet is determined according to the characteristic parameters of the downlink data packet and the second mapping relationship, and the data packet is mapped to the QoS flow corresponding to the QFI, and then the access network device sends the data packet to the terminal device through the DRB corresponding to the QoS flow. Among them, the first communication device can be an SMF entity, the second communication device can be an AMF entity, and the third communication device can be a UPF entity.

[0082] In scheme 2, the first communication device determines whether the first service of the terminal device is a first type of service based on the first indication information of the second communication device. If the first service is a first type of service, the first communication device obtains characteristic information of the first service, and the characteristic information includes a first mapping relationship between characteristic parameters and QoS parameters. The first communication device sends the first mapping relationship to the access network device, and the access network device determines the third mapping relationship between characteristic parameters, QFI, and DRB based on the first mapping relationship. When the downlink data packet arrives at the access network device, the access network device determines the DRB corresponding to the downlink data packet based on the characteristic parameters, QFI, and the third mapping relationship of the downlink data packet. Among them, the first communication device can be an SMF entity, the second communication device can be an AMF entity, and the third communication device can be a UPF entity.

[0083] The scheme of the embodiments of the present application is described in detail below in combination with Embodiment 1 and Embodiment 2.

[0084] Embodiment 1

[0085] Figure 4 A flow chart of a data transmission method provided for an embodiment of the present application, this embodiment involves a specific process of data transmission between a terminal device, an access network device and a core network device, wherein the core network device includes a first communication device, a second communication device, a third communication device and a fourth communication device. In the embodiment of the present application, the first communication device may be but is not limited to an SMF entity; the second communication device may be but is not limited to an AMF entity; the third communication device may be but is not limited to a UPF entity; the fourth communication device may be but is not limited to a UDM entity, a PCF entity, a NEF entity, a UDR entity, an AF entity.

[0086] like Figure 4 As shown, the above method may include S401 to S407, and the embodiment of the present application does not limit the execution order of S401 to S407.

[0087] S401. The terminal device sends first indication information to the second communication device (hereinafter described as the second communication device being an AMF entity as an example), and correspondingly, the second communication device (AMF entity) receives the first indication information from the terminal device.

[0088] The terminal device may send the first indication information to the AMF entity in any of the following processes, but not limited to:

[0089] 1. The terminal device sends a service request message to the AMF entity, where the service request message is used to establish a secure connection between the terminal device and the AMF entity, or to activate a user plane connection for an established PDU session. The first indication information is carried on the service request message.

[0090] 2. The terminal device sends a PDU session establishment request message to the AMF entity, where the message is used to request the establishment of a PDU session, wherein the first indication information is carried on the PDU session establishment request message.

[0091] 3. The terminal device sends a PDU session modification request message to the AMF entity, where the message is used to request modification of the PDU session, wherein the first indication information is carried on the PDU session modification request message.

[0092] The first indication information indicates whether the first service of the terminal device is a first type of service. In an embodiment of the present application, the first type of service means that the data packets in the data stream of the service can be distinguished into different data streams based on the packet filtering template (such as a five-tuple, etc.) and additional service-related feature information and / or feature parameters described above, and different data streams have different service quality requirements. In an embodiment of the present application, the first type of service can also be referred to as an enhanced QoS class service.

[0093] The manner in which the first indication information indicates whether the first service of the terminal device is a service of the first type includes but is not limited to one or more of the following manners:

[0094] Method 1

[0095] The first indication information may include one or more bits. When the value of the one or more bits is a first value, it indicates that the first service initiated by the terminal device is a first type of service. When the value of the one or more bits is a second value, it indicates that the first service initiated by the terminal device is not a first type of service. Taking the first indication information including one bit as an example, when the value of the bit is "0", it indicates that the first service initiated by the terminal device is a first type of service, that is, the first value is "0"; when the value of the bit is "1", it indicates that the first service initiated by the terminal device is not a first type of service, that is, the second value is "1". Alternatively, when the value of the bit is "1", it indicates that the first service initiated by the terminal device is a first type of service, that is, the first value is "1"; when the value of the bit is "0", it indicates that the first service initiated by the terminal device is not a first type of service, that is, the second value is "0".

[0096] Method 2

[0097] The first indication information indicates whether the first service of the terminal device is a first type of service by whether it includes a specific identifier of the first service. Specifically, when the first indication information sent by the terminal device carries the specific identifier of the first service, it indicates that the first service initiated by the terminal device is a first type of service; when the first indication information sent by the terminal device does not carry the specific identifier of the first service, it indicates that the first service initiated by the terminal device is not a first type of service. The specific identifier of the first service may be preset by the protocol or pre-stored in the core network device. Exemplarily, the specific identifier of the first service may be represented by a first parameter, and the first parameter may be one or more bits.

[0098] S402. The second communication device (AMF entity) sends first indication information to the first communication device (hereinafter described as the first communication device being an SMF entity as an example), and correspondingly, the first communication device (SMF entity) receives the first indication information from the second communication device (AMF entity).

[0099] The AMF entity may send the first indication information to the SMF entity in any of the following processes, but not limited to:

[0100] 1. After receiving the service request message from the terminal device, the AMF entity sends a PDU session update SM context request (Nsmf_PDU Session_Update SM Context Request) message to the SMF entity, wherein the first indication information is carried in the request message.

[0101] 2. After receiving the session establishment request message from the terminal device, the AMF entity sends a PDU session establishment SM context request (Nsmf_PDU Session_Create SM Context Request) message to the SMF entity, wherein the first indication information is carried in the request message.

[0102] 3. After receiving the session modification request message from the terminal device, the AMF entity sends a PDU session update SM context request (Nsmf_PDU Session_Update SM Context Request) message to the SMF entity, wherein the first indication information is carried in the request message.

[0103] The first indication information indicates whether the first service of the terminal device is a service of the first type. The manner in which the first indication information indicates whether the first service of the terminal device is a service of the first type is shown in S401 and will not be repeated here.

[0104] S403: The first communication device (SMF entity) obtains characteristic information of the first service according to the first indication information.

[0105] Specifically, the characteristic information includes a mapping relationship between characteristic parameters and QoS parameters (referred to as a first mapping relationship in the embodiment of the present application). Among them, QoS parameters include but are not limited to reliability parameters, delay parameters, throughput parameters, priority parameters, delay jitter parameters, service lifetime and packet loss rate parameters. In the embodiment of the present application, the characteristic parameters may also be referred to as enhanced QoS parameters, enhanced QoS identification parameters, or enhanced QoS indicators (enhanced QoS indicator, eQI), etc., which are not limited in the embodiment of the present application. The form of characteristic parameters may be, but is not limited to, one or more of the following:

[0106] Form 1: The characteristic parameter is the value of a specified position or a specified field in a protocol layer header of a data packet generated by a terminal device or a data packet received by a UPF from an external network. For example, the characteristic parameter can be the value of n bits starting from the mth byte in the application layer header of a data packet, where m and n are positive integers, for example, m=4 and n=2. For another example, the characteristic parameter can be the value of the zth field in the TCP layer header of a data packet, where z is a positive integer, for example, z=1.

[0107] Form 2: The characteristic parameter is a parameter used to reflect the characteristics of the data packet, such as the size or type of the data packet. In an optional manner, the characteristic parameter is the size of the data packet generated by the terminal device or the data packet received by the UPF from the external network. Exemplarily, a data packet size of 0 bytes to 100 bytes corresponds to the first characteristic parameter, and a data packet size of 100 bytes to 1000 bytes corresponds to the second characteristic parameter. In another optional manner, the characteristic parameter may be the type of the data packet generated by the terminal device or the data packet received by the UPF from the external network. Taking video data as an example, an I-frame data packet corresponds to the first characteristic parameter, and a B-frame data packet corresponds to the second characteristic parameter.

[0108] When the characteristic parameter is in the above-mentioned form 1, an example of characteristic information is shown in Table 1: when the characteristic parameter value is "0", it indicates that the corresponding reliability range is [90%, 95%]; when the characteristic parameter value is "1", it indicates that the corresponding reliability range is (95%, 99%]. Another example of characteristic information is shown in Table 2: when the characteristic parameter value is "0", it indicates that the corresponding reliability range is [90%, 95%], and the delay range is (5ms, 10ms]; when the characteristic parameter value is "1", it indicates that the corresponding reliability range is [90%, 95%], and the delay range is [ 0ms, 5ms]; when the characteristic parameter value is "2", it indicates that the corresponding reliability value range is (95%, 99%], and the delay value range is (5ms, 10ms]; when the characteristic parameter value is "3", it indicates that the corresponding reliability value range is (95%, 99%], and the delay value range is [0ms, 5ms]. In this embodiment of the present application, the value range of the variable x is [a, b], which means that x is greater than or equal to a and less than or equal to b; the value range of the variable x is (a, b], which means that x is greater than a and less than or equal to b; the value range of the variable x is [a, b) which means that x is greater than or equal to a and less than b; wherein a and b are real numbers.

[0109] Table 1. Example 1 of feature information of the first service

[0110] Characteristic parameters Reliability range 0 [90%,95%] 1 (95%,99%]

[0111] Table 2. Example 2 of feature information of the first service

[0112] Characteristic parameters Reliability range Delay range 0 [90%,95%] (5ms, 10ms] 1 [90%,95%] [0ms, 5ms] 2 (95%,99%] (5ms, 10ms] 3 (95%,99%] [0ms, 5ms]

[0113] When the characteristic parameter is in the above-mentioned form 2, an example of characteristic information is shown in Table 3: when the characteristic parameter corresponds to a data packet size of 0 to 100 bytes, it indicates that the corresponding reliability value range is (95%, 99%], and the delay value range is [0ms, 5ms]; when the characteristic parameter corresponds to a data packet size of 100 to 1000 bytes, it indicates that the corresponding reliability value range is [90%, 95%], and the delay value range is (5ms, 10ms].

[0114] Table 3. Example 3 of feature information of the first service

[0115] Characteristic parameters Reliability range Delay range (0,100]bytes (95%,99%] [0ms, 5ms] (100,1000]bytes [90%,95%] (5ms, 10ms]

[0116] The first communication device (SMF entity) obtains the characteristic information of the first service according to the first indication information, specifically including: when the first indication information indicates that the type of the first service of the terminal device is the first type, the SMF entity obtains the characteristic information of the first service.

[0117] Specifically, the SMF entity obtains the characteristic information of the first service in the following three situations:

[0118] Scenario 1: The SMF entity stores characteristic information of the first service. When the first indication information indicates that the type of the first service is the first type, the SMF entity obtains the internally stored characteristic information of the first service.

[0119] Scenario 2: The SMF entity does not store the characteristic information of the first service. When the first indication information indicates that the type of the first service is the first type, the method for the SMF entity to obtain the characteristic information of the first service according to the first indication information specifically includes S403a and S403b: when the first indication information indicates that the type of the first service is the first type, the SMF entity sends a request information to the fourth communication device (for example, the UDM entity), and the request information is used to request the characteristic information of the first service (such as Figure 4 After receiving the request information from the SMF entity, the UDM entity sends the characteristic information of the first service to the SMF entity (such as Figure 4 Optionally, the method for the SMF entity to obtain the characteristic information of the first service according to the first indication information may also include S403c and S403d: the SMF entity sends a request information to the UDM entity, where the request information is used to request the characteristic information of the first service (such as Figure 4 In S403a), when the UDM entity does not store the characteristic information of the first service, the UDM entity sends a request message to the application server to request the characteristic information of the first service (such as Figure 4 In S403c), correspondingly, when the application server receives the request information from the UDM entity, it sends the characteristic information of the first service (such as Figure 4 In S403d), after the UDM entity receives the characteristic information of the first service from the application server, it sends the characteristic information of the first service to the SMF entity (such as Figure 4 S403b in ).

[0120] Optionally, in the above scenario 2, the fourth communication device may also be a PCF entity, a NEF entity, or a UDR entity, that is, the SMF entity may also send a request message to the PCF entity, the NEF entity, or the UDR entity to request the characteristic information of the first service. Optionally, the SMF entity may also directly send a request message to the application server to request the characteristic information of the first service.

[0121] Scenario three: The fourth communication device sends the characteristic information of the first service to the SMF entity. Specifically, the AF entity or the application server indicates the characteristic information of the first service to the fourth communication device, and the fourth communication device indicates the policy and charging control (PCC) rules to the SMF entity, wherein the PCC rules may include the characteristic information of the first service. When the SMF entity receives the above PCC rules, it can obtain the characteristic information of the first service. In this case, the characteristic information of the first service is actively sent to the SMF entity by the fourth communication device, and the fourth communication device may be a PCF entity. Optionally, in the above scenario three, the PDU session establishment process or the PDU session modification process may be directly initiated by the SMF entity, that is, the SMF entity sends a PDU session establishment request message or a PDU session modification request message to the access network device, and S401 and S402 do not need to be executed at this time.

[0122] S404. The first communication device (SMF entity) determines a mapping relationship between a packet filtering set of the first service and a QoS flow according to the characteristic information of the first service (referred to as a second mapping relationship in the first embodiment).

[0123] Specifically, the packet filter set of the first service includes the characteristic parameters in the characteristic information, and one form of the second mapping relationship may be: a mapping relationship between the packet filter set of the first service and the QFI corresponding to the QoS flow.

[0124] Exemplarily, when the characteristic information of the first service is as shown in Table 1, the second mapping relationship determined by the SMF entity according to the characteristic information of the first service is as shown in Table 4: when the five-tuple of the data packet of the first service is equal to A and the characteristic parameter of the data packet of the first service is equal to M, the data packet is mapped to the QoS flow with QFI equal to 0; when the five-tuple of the data packet of the first service is equal to A and the characteristic parameter of the data packet of the first service is equal to N, the data packet is mapped to the QoS flow with QFI equal to 1; when the five-tuple of the data packet of the first service is equal to B and the characteristic parameter of the data packet of the first service is equal to M, the data packet is mapped to the QoS flow with QFI equal to 2; when the five-tuple of the data packet of the first service is equal to B and the characteristic parameter of the data packet of the first service is equal to N, the data packet is mapped to the QoS flow with QFI equal to 3. Among them, an example of M and N can be M=0, N=1. Optionally, the five-tuple can be the source address, destination address, source port number, destination port number, and transport layer protocol identifier of the data packet. Exemplarily, A = [a1, a2, a3, a4, a5], where a1, a2, a3, a4, and a5 correspond to the source address, destination address, source port number, destination port number, and transport layer protocol identifier of the data packet, respectively. Optionally, a1 can represent a numerical value, multiple numerical values, or a range of values. a2, a3, a4, a5 are the same as a1, and B is the same as A, which will not be repeated here. Those skilled in the art should understand that Table 4 is only an example of the above-mentioned second mapping relationship, and the embodiment of the present application does not limit the form of the above-mentioned second mapping relationship.

[0125] Table 4. Mapping relationship between packet filter set and QFI corresponding to QoS flow (second mapping relationship)

[0126] Packet Filter Set QFI Five-tuple = A, characteristic parameter = M 0 Five-tuple = A, characteristic parameter = N 1 Quintuple = B, characteristic parameter = M 2 Quintuple = B, characteristic parameter = N 3

[0127] S405. The first communication device (SMF entity) sends the mapping relationship (second mapping relationship) between the packet filter set of the first service and the QoS flow to the third communication device (UPF entity). Correspondingly, the third communication device (UPF entity) receives the mapping relationship (second mapping relationship) between the packet filter set of the first service and the QoS flow from the first communication device (SMF entity).

[0128] Specifically, the SMF entity sends a PDR to the UPF entity, and the PDR includes the above-mentioned mapping relationship. After receiving the downlink data packet of the first service, the UPF entity maps the downlink data packet to different QoS flows according to the characteristic parameters, the five-tuple, and the mapping relationship in the downlink data packet. Optionally, the PDR may also include parameters such as priority value, and the smaller the parameter value, the higher the priority. Optionally, the characteristic parameters of the downlink data packet are configured by the application server.

[0129] S406. The first communication device (SMF entity) sends a mapping relationship (a second mapping relationship) between a packet filtering set of the first service and a QoS flow to the terminal device.

[0130] Specifically, the SMF entity sends a QoS rule to the terminal device, and the QoS rule includes the above-mentioned second mapping relationship. Optionally, the QoS rule can be carried on a PDU session establishment confirmation (PDU session establishment ack) message or a PDU session modification command / confirmation (PDU session modification command / ack) message. The terminal device maps the uplink data packet of the first service to different QoS flows according to the second mapping relationship. Optionally, the QoS rule can also include parameters such as the QoS rule identifier and priority value.

[0131] Optionally, the SMF entity may send the above QoS rules to the terminal device through the AMF entity. Specifically, the SMF entity sends the above QoS rules to the AMF entity, and the AMF entity forwards the above QoS rules to the terminal device.

[0132] S407, the first communication device (SMF entity) sends a QoS profile to the access network device according to the mapping relationship (second mapping relationship) between the packet filter set of the first service and the QoS flow. Correspondingly, the access network device receives the QoS profile from the first communication device (SMF entity).

[0133] Specifically, the QoS template includes the value of QFI, the value of the characteristic parameter corresponding to the value of the QFI, and the service quality parameter corresponding to the value of the characteristic parameter. Exemplarily, taking the mapping relationship between the packet filter set and QFI in Table 4 as an example, the QoS template corresponding to the QoS flow of QFI=0 includes the characteristic parameter equal to M, and the service quality requirement corresponding to the characteristic parameter equal to M (that is, when M=0, in Table 1, the service quality requirement corresponding to the characteristic parameter equal to 0 is that the reliability range satisfies [90%, 95%]), and the QoS template corresponding to the QoS flow of QFI=1 includes the characteristic parameter equal to N, and the service quality requirement corresponding to the characteristic parameter equal to 1 (that is, when N=1, in Table 1, the service quality requirement corresponding to the characteristic parameter equal to 1 is that the reliability range satisfies (95%, 99%]). Optionally, the QoS template may also include a 5G service quality identifier (5G QoS identifier, 5QI), and may also include other possible information, which is not specifically limited.

[0134] After the access network device receives the QoS template, it determines the characteristic parameters corresponding to each received QoS flow and the service quality requirements corresponding to the characteristic parameters according to the received QoS template. Exemplarily, when a downlink data packet arrives at the UPF, the characteristic parameter carried in its data packet header is 0, then the UPF maps the data packet to the QoS flow of QFI=0 according to the PDR indicated by the SMF; when another data packet arrives, its data packet header carries the characteristic parameter=1, then the UPF maps the data packet to the QoS flow of QFI=2. The access network device determines the characteristic parameters corresponding to the QoS flows corresponding to the QoS flows of QFI=0 and QFI=1 according to the received QoS template, as well as the service quality requirements corresponding to the characteristic parameters, so as to configure appropriate air interface parameters for the terminal device, such as configuring an appropriate DRB, the logical channel associated with the DRB, and the priority of the logical channel.

[0135] The above embodiment provides a method for data transmission, in which a first communication device determines whether data packets in a data stream of a first service of a terminal device need to be differentiated in a finer granularity based on first indication information. When data packets of the data stream of the first service need to be differentiated in a finer granularity, the first communication device obtains characteristic information of the first service and considers the characteristic information when generating a packet filter set. The first communication device determines a second mapping relationship between a packet filter set and a QoS stream of the first service based on a first mapping relationship between characteristic parameters and QoS parameters in the characteristic information. Thereby, the quality of service requirements of the data packets are taken into account more comprehensively, and the data of the first service can be differentiated and processed more effectively, thereby improving resource utilization while meeting different transmission requirements.

[0136] Embodiment 2

[0137] Figure 5 A flow chart of a data transmission method provided for an embodiment of the present application, this embodiment involves a specific process of data transmission between a terminal device, an access network device and a core network device. Among them, the core network device includes a first communication device, a second communication device, a third communication device and a fourth communication device. In an embodiment of the present application, the first communication device may be but is not limited to an SMF entity; the second communication device may be but is not limited to an AMF entity; the third communication device may be but is not limited to a UPF entity; the fourth communication device may be but is not limited to a UDM entity, a PCF entity, a NEF entity, a UDR entity, an AF entity.

[0138] like Figure 5 As shown, the method may include: S501 to S508. The embodiment of the present application does not limit the execution order of S501 to S508.

[0139] S501, the terminal device sends first indication information to the second communication device (AMF entity), and correspondingly, the second communication device (AMF entity) receives the first indication information from the terminal device, wherein the first indication information indicates whether the first service of the terminal device is a first type of service.

[0140] S502, the second communication device (AMF entity) sends the first indication information to the first communication device (SMF entity), and correspondingly, the first communication device (SMF entity) receives the first indication information from the second communication device (AMF entity).

[0141] S503: The first communication device (SMF entity) obtains characteristic information of the first service according to the first indication information.

[0142] The detailed description of S501 to S503 can be found in Figure 4 S401 to S403 in the above are not described in detail here.

[0143] S504, the first communication device (SMF entity) sends the mapping relationship between the packet filter set of the first service and the QoS flow to the third communication device (UPF entity). Correspondingly, the third communication device (UPF entity) receives the mapping relationship between the packet filter set of the first service and the QoS flow from the first communication device (SMF entity).

[0144] Specifically, the SMF entity sends a PDR to the UPF entity, where the PDR includes a mapping relationship between a packet filter set of the first service and a QoS flow. Optionally, the PDR may also include parameters such as a priority value.

[0145] One form of the mapping relationship between the packet filter set of the first service and the QoS flow may be: a mapping relationship between the packet filter set of the first service and the QFI. It should be noted that the packet filter set of the first service in S504 is different from the packet filter set of the first service in S404, and the packet filter set of the first service in S504 does not include the characteristic parameters in the characteristic information of the first service.

[0146] Exemplarily, as shown in Table 5, when the five-tuple of the data packet is equal to A, the data packet belongs to the QoS flow of QFI=0, and when the five-tuple of the data packet is equal to B, the data packet belongs to the QoS flow of QFI=1. Those skilled in the art should understand that Table 5 is only an example of a mapping relationship, and the embodiment of the present application does not limit the form of the above mapping relationship.

[0147] Table 5. Mapping relationship between packet filter set and QFI

[0148] Packet Filter Set QFI Quintuple = A 0 Quintuple = B 1

[0149] When the downlink data packet of the first service arrives at the UPF entity, the packet header of the downlink data packet of the first service received by the UPF entity carries characteristic parameters. The UPF entity encapsulates the downlink data packet into a GTP-U data packet and adds the characteristic parameters to the GTP-U data packet. For example, a field can be added to the GTP U header (GTP-U header) to indicate the characteristic parameters, or the characteristic parameters can be indicated through reserved bits in the GTP U header.

[0150] The UPF entity sends the GTP-U data packet with the added characteristic parameters to the access network device. Specifically, the UPF entity determines the QoS flow corresponding to the downlink data packet based on the five-tuple information of the received downlink data packet and the mapping relationship between the packet filter set of the above-mentioned first service and the QoS flow. Exemplarily, taking Table 5 as an example, when the five-tuple information of the downlink data packet is equal to A, the UPF entity encapsulates the downlink data packet into a GTP-U data packet, and after adding the characteristic parameters to the GTP-U data packet, maps the GTP-U data packet with the added characteristic parameters to the QoS flow of QFI=0, and then sends the data packet to the access network device.

[0151] S505. The first communication device (SMF entity) sends the mapping relationship between the packet filter set and the QoS flow of the first service to the terminal device. Correspondingly, the terminal device receives the mapping relationship between the packet filter set and the QoS flow of the first service from the first communication device (SMF entity).

[0152] Specifically, the SMF entity sends a QoS rule to the terminal device, and the QoS rule includes a mapping relationship between the packet filter set of the first service and the QoS flow. Optionally, the QoS rule can be carried in a PDU session establishment confirmation (PDU session establishment ack) message or a PDU session modification command / confirmation (PDU session modification command / ack) message. Optionally, the QoS rule can also include parameters such as a QoS rule identifier and a priority value.

[0153] Optionally, the SMF entity may send the above QoS rules to the terminal device through the AMF entity. Specifically, the SMF entity sends the above QoS rules to the AMF entity, and the AMF entity forwards the above QoS rules to the terminal device.

[0154] The terminal device receives the above QoS rules, and maps the uplink data packets of the first service to different QoS flows according to the mapping relationship between the packet filter set of the first service and the QoS flow in the above QoS rules.

[0155] S506: The first communication device (SMF entity) sends the characteristic information of the first service to the access network device. Correspondingly, the access network device receives the characteristic information of the first service from the first communication device (SMF entity).

[0156] Specifically, the SMF entity sends a QoS template to the access network device, where the QoS template includes the characteristic information of the first service. Examples of the characteristic information of the first service are shown in Table 1 and Table 2 in the first embodiment.

[0157] S507. The access network device determines a mapping relationship (hereinafter referred to as a third mapping relationship) between a QoS flow, a characteristic parameter, and a DRB according to the characteristic information of the first service.

[0158] Specifically, one form of the third mapping relationship may be: a mapping relationship between the QFI, feature parameters and DRB of the QoS flow. Exemplarily, when the feature information of the first service received by the access network device is as shown in Table 2, the access network device determines the mapping relationship between the QFI, feature parameters and DRB according to Table 2, as shown in Table 6.

[0159] As can be seen from Table 6, data packets with different characteristic parameters in the QoS flow of the same QFI can be mapped to the same or different DRBs. For example, for a QoS flow with QFI of 1, data packets with characteristic parameters of 0 and 1 are mapped to DRB 0, and data packets with characteristic parameters of 2 and 3 are mapped to DRB 1.

[0160] Table 6. Mapping relationship between QFI, characteristic parameters and DRB (third mapping relationship)

[0161] QFI Characteristic parameters DRB ID 1 0,1 0 1 2,3 1 2 0,1 2 2 2,3 3

[0162] When the downlink data packet of the first service arrives at the UPF entity, the UPF entity determines the QoS flow corresponding to the data packet according to the five-tuple information of the downlink data packet and the mapping relationship in S504. The UPF entity encapsulates the downlink data packet into a GTP-U data packet and adds the characteristic parameter to the GTP-U data packet. Correspondingly, after receiving the GTP-U data packet, the access network device determines the DRB mapped to the downlink data packet according to the QFI, characteristic parameters, and the third mapping relationship of the data packet.

[0163] S508: The access network device sends the third mapping relationship determined in S507 to the terminal device, and correspondingly, the terminal device receives the third mapping relationship from the access network device. Specifically, the access network device sends an RRC reconfiguration message to the terminal device, and the RRC reconfiguration message includes the third mapping relationship.

[0164] When the terminal device has an uplink data packet to send, the application layer of the terminal device, after generating the uplink data packet, divides the uplink data packet into different QoS flows according to the packet filter set in the QoS rule configured by the SMF entity in S505. The application layer or non-access stratum (NAS) of the terminal device also adds characteristic parameters to the uplink data packet, and the SDAP layer entity of the terminal device maps the data packet to the corresponding DRB according to the characteristic parameters of the uplink data packet and the third mapping relationship between the QFI, characteristic parameters and DRB, and then transmits the uplink data on the air interface.

[0165] The above embodiment provides a method for data transmission, in which the first communication device determines whether the data packets in the data stream of the first service of the terminal device need to be distinguished in a finer granularity according to the first indication information. When the data packets in the data stream of the first service need to be distinguished in a finer granularity, the first communication device obtains the characteristic information of the first service and sends the characteristic information to the access network device. The access network device determines the third mapping relationship between the characteristic parameters, QFI and DRB according to the first mapping relationship between the characteristic parameters and the QoS parameters in the characteristic information, so that the data packets with the same QFI can be mapped to different DRBs. In this way, the data can be distinguished and processed more effectively, thereby improving the utilization of resources while meeting different transmission requirements. At the same time, through the method described in Example 2, when the core network device transmits the data stream of the first service to the access network device, the core network device does not distinguish the data packets, but the access network device distinguishes and processes the data packets when sending the data packets to the terminal device through the air interface, thereby reducing the complexity of the core network device.

[0166] It should be noted that in the specific implementation, you can choose Figure 4 , Figure 5 It should be understood that executing some of the steps in the diagram or adjusting the order of the steps for specific implementation all falls within the scope of protection of this application.

[0167] It is understandable that, in order to implement the functions in the above-mentioned embodiments, the network equipment and the terminal equipment include hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and method steps of each example described in the embodiments disclosed in this application, the present application can be implemented in the form of hardware, software, or a combination of hardware and software. Whether a function is executed in the form of hardware, software, or computer software driving hardware depends on the specific application scenario and design constraints of the technical solution.

[0168] Figure 6 and Figure 7The following is a schematic diagram of the structure of possible communication devices provided in the embodiments of the present application. These communication devices can be used to implement the functions of the first communication device or access network device in the above method embodiments.

[0169] like Figure 6 As shown, the communication device 600 includes a processing unit 610 and a transceiver unit 620. The communication device 600 is used to implement the above Figure 4 and Figure 5 The functions of the first communication device in the method embodiment shown in FIG.

[0170] When the communication device 600 is used to implement Figure 4 When the function of the first communication device in the method embodiment shown is performed, the transceiver unit 620 is used to receive a first indication information from the second communication device, and the first indication information indicates whether the first service of the terminal equipment is a first type of service; the processing unit 610 is used to obtain characteristic information of the first service according to the above-mentioned first indication information; the processing unit 610 is also used to determine the mapping relationship between the packet filter set of the first service and the quality of service QoS flow according to the above-mentioned characteristic information; the transceiver unit 620 is also used to send the mapping relationship between the packet filter set of the first service and the QoS flow to the third communication device.

[0171] When the communication device 600 is used to implement Figure 5 When the function of the first communication device in the method embodiment shown is performed, the transceiver unit 620 is used to receive first indication information from the second communication device, and the first indication information indicates whether the first service of the terminal device is a first type of service; the processing unit 610 is used to obtain characteristic information of the first service according to the above-mentioned first indication information; the transceiver unit 620 is also used to send the characteristic information of the first service to the access network device.

[0172] When the communication device 600 is used to implement Figure 5 When the access network device functions in the method embodiment shown, the transceiver unit 620 is used to receive characteristic information of a first service from a first communication device; the processing unit 610 is used to determine the mapping relationship between QoS flow, characteristic parameters and DRB according to the characteristic information of the first service.

[0173] For more detailed description of the processing unit 610 and the transceiver unit 620, please refer to Figure 4 and Figure 5 The relevant description in the method embodiment shown is directly obtained and will not be repeated here.

[0174] like Figure 7As shown, the communication device 700 includes a processor 710 and an interface circuit 720. The processor 710 and the interface circuit 720 are coupled to each other. It is understood that the interface circuit 720 can be a transceiver or an input-output interface. Optionally, the communication device 700 may also include a memory 730 for storing instructions executed by the processor 710 or storing input data required by the processor 710 to execute instructions or storing data generated after the processor 710 executes instructions.

[0175] When the communication device 700 is used to implement Figures 2 to 5 When the method is shown, the processor 710 is used to implement the function of the above-mentioned processing unit 610, and the interface circuit 720 is used to implement the function of the above-mentioned transceiver unit 620.

[0176] When the above communication device is a chip applied to a terminal device, the terminal device chip implements the functions of the terminal device in the above method embodiment. The terminal device chip receives information from other modules in the terminal device (such as a radio frequency module or an antenna), and the information is sent by the network device to the terminal device; or the terminal device chip sends information to other modules in the terminal device (such as a radio frequency module or an antenna), and the information is sent by the terminal device to the network device.

[0177] When the above communication device is a chip applied to a network device, the network device chip implements the function of the network device in the above method embodiment. The network device chip receives information from other modules in the network device (such as a radio frequency module or an antenna), and the information is sent by the terminal device to the network device; or the network device chip sends information to other modules in the network device (such as a radio frequency module or an antenna), and the information is sent by the network device to the terminal device.

[0178] It is understandable that the processor in the embodiments of the present application may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. The general-purpose processor may be a microprocessor or any conventional processor.

[0179] In the embodiments of the present application, the processor can be a random access memory (RAM), a flash memory, a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a register, a hard disk, a mobile hard disk, a CD-ROM or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an ASIC. In addition, the ASIC can be located in a network device or a terminal device. Of course, the processor and the storage medium can also be present in a network device or a terminal device as discrete components.

[0180] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instruction is loaded and executed on a computer, the process or function described in the embodiment of the present application is executed in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, a network device, a terminal device, or other programmable device. The computer program or instruction may be stored in a computer-readable storage medium or transmitted through the computer-readable storage medium. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server that integrates one or more available media. The available medium may be a magnetic medium, such as a floppy disk, a hard disk, or a tape; it may also be an optical medium, such as a DVD; it may also be a semiconductor medium, such as a solid state disk (SSD).

[0181] In the various embodiments of the present application, unless otherwise specified or provided for in any logical conflict, the terms and / or descriptions between the different embodiments are consistent and may be referenced to each other, and the technical features in the different embodiments may be combined to form new embodiments according to their inherent logical relationships.

[0182] It is understood that the various numbers involved in the embodiments of the present application are only for the convenience of description and are not used to limit the scope of the embodiments of the present application. The size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic.

Claims

1. A communication method, It is characterized in that The method is applied to a first communication device, and the method includes: Receiving first indication information from a second communication device, wherein the first indication information indicates whether a first service of a terminal device is a service of a first type; Acquire characteristic information of the first service according to the first indication information; Determine, according to the characteristic information of the first service and the quintuple of the first service, a mapping relationship between a packet filter set of the first service and a quality of service QoS flow, wherein the characteristic information of the first service includes a mapping relationship between a characteristic parameter and a QoS parameter, the packet filter set includes the characteristic parameter, and the mapping relationship between the packet filter set and the QoS flow includes a mapping relationship between the characteristic parameter and a quality of service flow identifier QFI; The mapping relationship between the packet filtering set of the first service and the QoS flow is sent to the third communication device.

2. The method according to claim 1, It is characterized in that The acquiring the characteristic information of the first service according to the first indication information specifically includes: When the first indication information indicates that the first service is a service of the first type, characteristic information of the first service is acquired.

3. The method according to claim 1 or 2, It is characterized in that The acquiring the characteristic information of the first service specifically includes: Sending a request message to a fourth communication device, where the request message is used to request feature information of the first service; Second indication information is received from a fourth communication device, where the second indication information includes characteristic information of the first service.

4. The method according to claim 1 or 2, It is characterized in that The method further comprises: The mapping relationship between the packet filtering set and the QoS flow of the first service is sent to the terminal device.

5. The method according to claim 1 or 2, It is characterized in that The method further comprises: A QoS template is sent to the access network device according to the mapping relationship between the packet filtering set of the first service and the QoS flow, where the QoS template includes a mapping relationship between characteristic parameters, QFI and QoS parameters.

6. The method according to claim 1 or 2, It is characterized in that The first communication device is a session management function SMF entity.

7. The method according to claim 1 or 2, It is characterized in that The second communication device is an access and mobility management function AMF entity.

8. The method according to claim 1 or 2, It is characterized in that The third communication device is a user plane function UPF entity.

9. The method according to claim 3, It is characterized in that The fourth communication device is a unified data management UDM entity, a policy control function PCF entity, a network open function NEF entity, or a unified data storage UDR entity.

10. A communication device, It is characterized in that Comprising modules for executing the method as claimed in any one of claims 1 to 9.

11. A communication device, It is characterized in that The method comprises a processor and a memory, wherein the processor and the memory are coupled, and the processor is used to implement the method according to any one of claims 1 to 9.

12. A communication device, It is characterized in that It includes a processor and an interface circuit, wherein the interface circuit is used to receive signals from other communication devices outside the communication device and transmit them to the processor or send signals from the processor to other communication devices outside the communication device, and the processor is used to implement the method as described in any one of claims 1 to 9 through a logic circuit or executing code instructions.

13. A computer-readable storage medium, It is characterized in that The storage medium stores a computer program or an instruction, and when the computer program or the instruction is executed by the communication device, the method according to any one of claims 1 to 9 is implemented.

14. A communication system, It is characterized in that Includes the communication device as described in any one of claims 10, 11, and 12.