Data transmission method and apparatus, readable storage medium, and terminal

By judging the data packet header information and 5QI parameter value at the application layer, the complexity of identifying latency-sensitive data on the terminal side is solved, and efficient, low-latency data transmission is achieved.

CN115460651BActive Publication Date: 2025-12-09SPREADTRUM COMMUNICATION (SHANGHAI) CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202110638472.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-08
Publication Date
2025-12-09
Estimated Expiration
2041-06-08

AI Technical Summary

Technical Problem

In existing technologies, the terminal side cannot effectively identify and prioritize the processing of latency-sensitive data during data transmission, resulting in data failing to reach its destination within the time required by the application business. Furthermore, the judgment method is complex and computationally intensive.

Method used

By judging the header information of the data packet to be transmitted at the application layer, the 5QI parameter value is determined, and whether the data is latency-sensitive data is determined based on the 5QI parameter value or network slice type, and high-priority transmission is adopted.

Benefits of technology

It enables the early identification of latency-sensitive data, reduces computational load, improves judgment efficiency, and ensures data transmission with minimal latency, preventing it from being blocked by ordinary data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115460651B_ABST
    Figure CN115460651B_ABST
Patent Text Reader

Abstract

A data transmission method and device, a readable storage medium and a terminal, the method comprising: determining data packet header information for sending to-be-transmitted data; determining a 5QI parameter value of the to-be-transmitted data according to the data packet header information of the to-be-transmitted data; determining whether the to-be-transmitted data is delay-sensitive data according to the 5QI parameter value of the to-be-transmitted data; or determining that the to-be-transmitted data is delay-sensitive data when a network slice type of the to-be-transmitted data is a URLLC type. The present application can determine whether the to-be-transmitted data is delay-sensitive data in advance in time, improve determination efficiency, and reduce computation amount.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of communication, in particular to a data transmission method and device, readable storage medium and terminal. BACKGROUND

[0002] In 5G services, three major service scenarios are defined, eMBB with large bandwidth, URLLC with high reliability and low latency, and MTC with a large number of connections. Among them, only URLLC highlights the low latency feature, but in actual application, each service (such as eMBB service) will be time-sensitive in some application scenarios, that is, it needs to meet lower latency in data transmission.

[0003] However, from 2G to 4G, the emphasis has always been on large bandwidth, and there are few high requirements for latency, so the design on the terminal side pays more attention to high-throughput solutions and less attention to low-latency sensitivity.

[0004] Specifically, the terminal includes an application processor and a communication processor, the application processor is used to process data of an application layer, and the communication processor is used to receive data of the application processor and send it to the air interface.

[0005] However, in an existing data transmission technology, it is not until the communication processor processes the data that it identifies whether the to-be-transmitted data is latency-sensitive data and performs high-priority transmission on the latency-sensitive data. The judgment method is relatively complex, the operation amount is large, and the judgment time is too late, which can easily lead to the fact that even if the priority is improved, the data still cannot reach the destination within the time required by the application service.

[0006] There is an urgent need for a data transmission technology that can make judgments in advance in time and improve the judgment efficiency and reduce the operation amount. SUMMARY

[0007] The technical problem solved by the present application is to provide a data transmission method and device, readable storage medium and terminal, which can make judgments in advance in time whether the to-be-transmitted data is latency-sensitive data and improve the judgment efficiency and reduce the operation amount.

[0008] To solve the above technical problems, the embodiment of the present application provides a data transmission method, comprising: determining data packet header information used for sending to-be-transmitted data; determining a 5QI parameter value of the to-be-transmitted data according to the data packet header information of the to-be-transmitted data; determining whether the to-be-transmitted data is latency-sensitive data according to the 5QI parameter value of the to-be-transmitted data; or when a network slice type of the to-be-transmitted data is URLLC type, determining that the to-be-transmitted data is latency-sensitive data.

[0009] Optionally, the data packet header information comprises one or more of the following: IP address, port information, security parameter index, protocol identifier, service type, traffic class type, flow label type, MAC address, virtual local area network label, and Ethernet type.

[0010] Optionally, determining the 5QI parameter value of the to-be-transmitted data according to the data packet header information of the to-be-transmitted data comprises: searching for QoS rule information to determine the QoS data flow sequence number of the to-be-transmitted data based on the data packet header information of the to-be-transmitted data, wherein the QoS rule information comprises a mapping relationship between the QoS data flow sequence number and the data packet header information; searching for QoS data flow description information to determine the 5QI parameter value of the to-be-transmitted data based on the QoS data flow sequence number of the to-be-transmitted data, wherein the QoS data flow description information comprises a mapping relationship between the 5QI parameter value and the QoS data flow sequence number.

[0011] Optionally, before determining the 5QI parameter value of the to-be-transmitted data, the data transmission method further comprises: sending a PDU session establishment request; and receiving a reply message, wherein the reply message is returned after the PDU session is successfully established; wherein the reply message comprises the QoS data flow description information and the QoS rule information.

[0012] Optionally, determining whether the to-be-transmitted data is delay-sensitive data according to the 5QI parameter value of the to-be-transmitted data comprises: if the 5QI parameter value of the to-be-transmitted data belongs to a preset 5QI parameter value set, determining that the to-be-transmitted data is delay-sensitive data.

[0013] Optionally, determining whether the to-be-transmitted data is delay-sensitive data according to the 5QI parameter value of the to-be-transmitted data comprises: if the 5QI parameter value of the to-be-transmitted data belongs to a preset 5QI parameter value set, further determining the network slice type of the to-be-transmitted data; and if the network slice type of the to-be-transmitted data is URLLC type, determining that the to-be-transmitted data is delay-sensitive data.

[0014] Optionally, the 5QI parameter values in the preset 5QI parameter value set are selected from 80, 82-86.

[0015] Optionally, different 5QI parameter values have respective packet delay budget amounts; and determining whether the to-be-transmitted data is delay-sensitive data according to the 5QI parameter value of the to-be-transmitted data comprises: if the packet delay budget amount of the 5QI parameter value of the to-be-transmitted data is less than a preset delay threshold, determining that the to-be-transmitted data is delay-sensitive data.

[0016] Optionally, different 5QI parameter values have respective data packet delay budget amounts; and determining whether the to-be-transmitted data is delay-sensitive data according to the 5QI parameter value of the to-be-transmitted data comprises: if the data packet delay budget amount of the 5QI parameter value of the to-be-transmitted data is less than a preset delay threshold, determining the network slice type of the to-be-transmitted data; and if the network slice type of the to-be-transmitted data is a URLLC type, determining that the to-be-transmitted data is delay-sensitive data.

[0017] Optionally, the preset delay threshold is 30 ms.

[0018] Optionally, the data transmission method further comprises: if the to-be-transmitted data is delay-sensitive data, preferentially performing transmission processing on the to-be-transmitted data.

[0019] To solve the above technical problems, an embodiment of the present application provides a data transmission device, comprising: an address determination module configured to determine data packet header information for sending to-be-transmitted data; a 5QI determination module configured to determine a 5QI parameter value of the to-be-transmitted data according to the data packet header information of the to-be-transmitted data; a first delay-sensitive determination module configured to determine whether the to-be-transmitted data is delay-sensitive data according to the 5QI parameter value of the to-be-transmitted data; or a second delay-sensitive determination module configured to determine that the to-be-transmitted data is delay-sensitive data when a network slice type of the to-be-transmitted data is a URLLC type.

[0020] To solve the above technical problems, an embodiment of the present application provides a readable storage medium having a computer program stored thereon, wherein the computer program is run by a processor to perform the steps of the above data transmission method.

[0021] To solve the above technical problems, an embodiment of the present application provides a terminal comprising a memory and an application processor, wherein the memory has a computer program stored thereon, the computer program is capable of being run on the processor, and the application processor is run to perform the steps of the above data transmission method when the computer program is run.

[0022] Optionally, the terminal further comprises a communication processor; and the application processor establishes a socket for the to-be-transmitted data, and preferentially sends the to-be-transmitted data to the communication processor after allocating a dedicated time slice or processing device for preferential processing.

[0023] Optionally, in the process of preferentially sending the to-be-transmitted data to the communication processor by the application processor, a transmission queue with a priority greater than a first preset level is used to transmit the to-be-transmitted data.

[0024] Optionally, the communication processor outputs the received to-be-transmitted data to a dedicated priority output queue, and performs encryption and decryption processing preferentially; the priority of the dedicated priority output queue is greater than the second preset level.

[0025] Optionally, the priority of the dedicated priority output queue is maintained until the to-be-transmitted data is transmitted to the MAC protocol layer of the 3GPP.

[0026] Compared with the prior art, the technical scheme of the embodiment of the application has the following beneficial effects:

[0027] In the embodiment of the application, by setting the data packet header information used for sending the to-be-transmitted data, then determining the 5QI parameter value of the to-be-transmitted data, and further determining whether the to-be-transmitted data is delay-sensitive data or not, or when the network slice type of the to-be-transmitted data is the URLLC type, determining whether the to-be-transmitted data is delay-sensitive data, the judgment can be realized only according to the data packet header information, or the judgment of delay-sensitive data can be realized only according to the network slice type, the judgment efficiency is very high, and the operation amount is small. Further, in the present application, the judgment of the to-be-transmitted data is realized at the application layer, which is significantly earlier in time than the prior art in which the layer 2 of the communication processor is used to filter different data streams to realize the judgment of delay-sensitive data, so that the processing delay from the generation of delay-sensitive data to the final transmission to the air interface is the lowest delay, and the ordinary data cannot block it.

[0028] Further, by searching the QoS rule information and searching the QoS data flow description information, the determination of the 5QI parameter value of the to-be-transmitted data is realized, the judgment method is simple, the judgment efficiency is very high, and the operation amount is small.

[0029] Further, the QoS data flow description information and the QoS rule information are received together when a reply message is received after a PDU session establishment request is sent in advance, and the operation amount and signaling overhead are not additionally increased.

[0030] Further, after determining that the 5QI parameter value of the to-be-transmitted data belongs to the preset 5QI parameter value set, the to-be-transmitted data is not directly determined as delay-sensitive data, but the network slice type of the to-be-transmitted data is further determined, and only when the network slice type of the to-be-transmitted data is the URLLC type, the to-be-transmitted data is determined as delay-sensitive data. When there are many potential delay-sensitive data, only the URLLC type data with more delay sensitivity is determined as delay-sensitive data, so that the judgment of too many delay-sensitive data is avoided, and the transmission of ordinary data is not greatly affected. BRIEF DESCRIPTION OF DRAWINGS

[0031] Figure 1 is a flow chart of a data transmission method in an embodiment of the present application;

[0032] Figure 2 is Figure 1 is a flow chart of a specific implementation of step S12 in the method;

[0033] Figure 3 is Figure 1 is a flow chart of a specific implementation of step S13 in the method;

[0034] Figure 4 is a structural schematic diagram of a data transmission device in an embodiment of the present application. DETAILED DESCRIPTION

[0035] As described above, in an existing data transmission technology, it is not until the data is processed by the communication processor that it is determined whether the data to be transmitted is time delay sensitive data, and the time delay sensitive data is transmitted with high priority. The determination method is relatively complex, the operation amount is large, and the determination time is too late, which can easily lead to the fact that even if the priority is improved, the data still cannot reach the destination within the time required by the application service.

[0036] The inventor of the present application has found through research that in the prior art, before the application data enters the air interface, layer 2 of the communication processor filters different data streams according to the traffic flow template (TFT) rule (which can also be referred to as the QoS rule in 5G) to generate data streams with different quality of service (QoS) requirements (which can also be referred to as QoS flow in 5G). The above-mentioned determination method is relatively complex and has a large operation amount.

[0037] The inventor of the present application has also found through research that the TFT filtering in the above-mentioned implementation is performed when the IP data packet enters the communication layer 2 module. Specifically, from the generation of the data to the generation of the IP packet (or Ethernet packet) and the transmission to the communication module, and even during the execution of the TFT filtering action, these time delay sensitive data are processed with the same priority as other ordinary data. When the throughput of the ordinary data is very high, these time delay sensitive data will be congested together with the ordinary data, which can lead to the fact that the data cannot reach the destination within the time required by the application service, and reduces the user experience.

[0038] In the embodiment of the present application, by setting the data packet header information for sending the to-be-transmitted data, then determining the 5QI parameter value of the to-be-transmitted data, and further determining whether the to-be-transmitted data is delay-sensitive data or not, or when the network slice type of the to-be-transmitted data is URLLC type, determining whether the to-be-transmitted data is delay-sensitive data, the judgment can be realized only according to the data packet header information, or the judgment of delay-sensitive data can be realized only according to the network slice type, the judgment efficiency is very high, and the operation amount is small. Further, in the present application, the judgment of the to-be-transmitted data is realized in the application layer, which is significantly earlier than the judgment of delay-sensitive data in the prior art which can be realized only when different data streams are filtered in layer 2 (layer 2) of the communication processor, so that the processing delay between the generation of delay-sensitive data and the final sending to the air interface is the lowest delay, and the delay-sensitive data will not be blocked by ordinary data.

[0039] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the specific embodiments of the present application will be described in detail below with reference to the drawings.

[0040] Reference Figure 1 , Figure 1 is a flowchart of a data transmission method in an embodiment of the present application. One specific embodiment of the data transmission method can include steps S11 to S13, and another specific embodiment of the data transmission method can include step S14:

[0041] Step S11: determining data packet header information for sending to-be-transmitted data;

[0042] Step S12: determining the 5QI parameter value of the to-be-transmitted data according to the data packet header information of the to-be-transmitted data;

[0043] Step S13: determining whether the to-be-transmitted data is delay-sensitive data according to the 5QI parameter value of the to-be-transmitted data;

[0044] Step S14: when the network slice type of the to-be-transmitted data is URLLC type, determining that the to-be-transmitted data is delay-sensitive data.

[0045] It can be understood that in the specific implementation, the method can be realized in the form of a software program running in a processor integrated in a chip or a chip module.

[0046] In the specific implementation of step S11, the data packet for sending the to-be-transmitted data has data packet header information.

[0047] Specifically, a message is a data unit exchanged and transmitted in a network, i.e. a data block to be sent by a station at one time. The message is also a unit of network transmission, which is encapsulated into a packet, a bag, or a frame for transmission during the transmission process. The encapsulation method is to add some information segments, which are data organized in a certain format, and can include message type, message version, message length, message entity, and other information.

[0048] Further, the data message header information can include one or more of the following: an IP address, port information, a security parameter index, a protocol identifier, a type of service, a traffic class type, a flow label type, a media access control address (MAC address), a virtual local area network tag (VLAN Tag), and an Ethernet type (Ethertype).

[0049] Specifically, an Internet Protocol (IP) address refers to an Internet Protocol address, also known as an Internet Protocol address. The IP address is a uniform address format provided by the IP protocol, which assigns a logical address to each network and each host on the Internet to shield the differences in physical addresses.

[0050] A port can be considered as an outlet for a device to communicate with the outside world. The ports of a hub, switch, or router refer to interfaces for connecting other network devices, such as RJ-45 ports, Serial ports, etc. The port in the Transmission Control Protocol (TCP) / IP protocol is a logical port. Hosts send and receive data packets through the TCP / IP protocol, and each data packet is routed in the Internet according to the IP address of the destination host to successfully transmit the data packet to the destination.

[0051] The security parameter index is a unique parameter that distinguishes one security association from other security associations.

[0052] The protocol identifier field (Field) can be used to indicate the protocol number identifying the protocol after the IP header, such as the protocol number 6 is TCP, the protocol number 17 is UDP, the protocol number 89 is OSPF, the protocol number 88 is EIGRP, etc.

[0053] The service type field can be used to represent the desired quality of service, which is a set of abstract and general parameters provided by the network constituting the Internet when selecting services. The service type is used by the router to select the actual transmission parameters for a specific network, the network of the next hop, and the next router for routing inter-network data.

[0054] Traffic class type can also be referred to as traffic classification, which is to divide traffic into multiple priorities or multiple service classes, such as using the first three bits of the Type of service (ToS) field of the IP packet header (i.e. IP priority) to mark the packet, which can divide the packet into at most 23=8 classes; if using Differentiated Services Codepoint (DSCP, the first 6 bits of the ToS field), it can be divided into at most 64 classes. After packet classification, other QoS characteristics can be applied to different classifications to achieve class-based congestion management, traffic shaping, etc.

[0055] The MAC address is also called LAN Address, MAC Address, Ethernet Address or Physical Address, which is an address used to confirm the location of a network device. In the OSI model, the third layer network layer is responsible for the IP address, and the second layer data link layer is responsible for the MAC address. The MAC address is used to uniquely identify a network card in a network. If a device has one or more network cards, each network card needs and will have a unique MAC address.

[0056] Virtual Local Area Network (VLAN) is a group of logical devices and users, which are not limited by physical location and can be organized according to function, department and application, etc. The communication between them is as if they are in the same network segment, hence the name Virtual Local Area Network.

[0057] Ethernet is a network based on bus topology, using a distributed arbitration mechanism to solve conflicts. The speed mainly has 10 Mbps, 100 Mbps and 1000 Mbps. Ethernet mainly includes two types: the first type is classic Ethernet, and the second type is switched Ethernet, which uses a device called switch to connect different computers.

[0058] It should be noted that in the embodiments of the present application, part of the data packet header information that can be used to implement the present application is provided, but in specific implementation, it is not limited thereto, and other appropriate parameters can also be carried in the data packet header.

[0059] In the specific implementation of step S12, the 5G Quality of Service identifier value (5QI) of the to-be-transmitted data can be determined according to the data packet header information of the to-be-transmitted data.

[0060] Referring to Figure 2 , Figure 2 is Figure 1 A flow chart of one specific implementation of step S12 is shown in FIG. 2. The step of determining the 5QI value of the to-be-transmitted data according to the data packet header information of the to-be-transmitted data can include steps S21 to S22, which are described as follows.

[0061] In step S21, the QoS rule information (QoS Rule) is searched based on the data packet header information of the to-be-transmitted data to determine the QoS flow ID of the to-be-transmitted data, wherein the QoS rule information contains the mapping relationship between the QoS flow ID and the data packet header information.

[0062] In step S22, the QoS flow description information (QoS flow description) is searched based on the QoS flow ID of the to-be-transmitted data to determine the 5QI value of the to-be-transmitted data, wherein the QoS flow description information contains the mapping relationship between the 5QI value and the QoS flow ID.

[0063] In one specific implementation of the embodiments of the present application, the mapping relationship between the 5G Quality of Service identifier value (5QI) and the QoS flow ID can be determined.

[0064] As a non-limiting example, a table containing the mapping relationship between the QoS flow ID, the data packet header information and the 5QI value can be prepared in advance with the QoS flow ID as an intermediary.

[0065] Referring to Table 1, Table 1 is a mapping relationship table between the 5QI value, the QoS flow ID and the data packet header information.

[0066] Specifically, the table 1 can include 5QI parameter values, QoS data flow sequence numbers, and packet filter lists.

[0067] Table 1

[0068]

[0069] The packet filter list can include various information for indicating data transmission, for example, can be selected from one or more items in the data packet header information: IP address, port information, security parameter index, protocol identifier, service type, traffic class type, flow label type, MAC address, virtual local area network label, and Ethernet type.

[0070] As shown in the table 1, remote port and local port belong to port information, local address and remote address belong to IP address, and MAC address and the like are also shown.

[0071] By comparing the packet filter list, the QoS data flow sequence number (QoS flow ID) of the to-be-transmitted data can be determined based on the data packet header information of the to-be-transmitted data.

[0072] In the embodiment of the application, the 5QI parameter value of the to-be-transmitted data is determined by searching the QoS rule information and searching the QoS data flow description information, the judgment method is simple, the judgment efficiency is very high, and the operation amount is small.

[0073] Further, before step S12, a step of receiving the QoS data flow description information and the QoS rule information can also be included.

[0074] Specifically, before determining the 5QI parameter value of the to-be-transmitted data, the data transmission method can further include: sending a PDU session establishment request; receiving a reply message, the reply message being replied after the PDU session is successfully established; wherein the reply message contains the QoS data flow description information and the QoS rule information.

[0075] In the embodiment of the application, the QoS data flow description information and the QoS rule information are received together when the reply message is received after the PDU session establishment request is sent in advance, and the operation amount and signaling overhead are not additionally increased.

[0076] Continuing to refer to Figure 1In step S13, whether the data to be transmitted is delay-sensitive data can be determined according to the 5QI parameter value of the data to be transmitted.

[0077] In one specific implementation of the embodiments of the present application, whether the data to be transmitted is delay-sensitive data or not can be directly determined according to the 5QI parameter value of the data to be transmitted.

[0078] In specific applications, whether the data to be transmitted is delay-sensitive data can be determined according to whether the 5QI parameter value of the data to be transmitted belongs to a preset 5QI parameter value set, and can also be determined according to whether the data packet delay budget of the 5QI parameter value of the data to be transmitted is less than a preset delay threshold.

[0079] Specifically, in one specific application of the embodiments of the present application, the step of determining whether the data to be transmitted is delay-sensitive data according to the 5QI parameter value of the data to be transmitted can include: if the 5QI parameter value of the data to be transmitted belongs to a preset 5QI parameter value set, determining that the data to be transmitted is delay-sensitive data.

[0080] Further, the 5QI parameter values in the preset 5QI parameter value set can be selected from 80, 82-86.

[0081] Referring to Table 2, Table 2 is a mapping relationship table between a 5QI parameter value and a data packet delay budget.

[0082] It should be noted that in specific implementations, the content in TS23.501 table in the 3rd Generation Partnership Project (3GPP) can also be used as Table 2.

[0083] Table 2

[0084]

[0085] As described in Table 2, in the QoS parameter, each 5QI is associated with a set of QoS characteristics, in which the resource type and the data packet delay budget parameter are used to represent the delay-sensitive requirement. As can be seen from Table 2, when the 5QI parameter value is 80, 82-86, it belongs to delay-sensitive service.

[0086] In the embodiments of the present application, by identifying the 5QI to be used by the data flow, it can be determined at the moment when the data flow is generated that it is delay-sensitive.

[0087] In another specific application of the embodiments of the present application, different 5QI parameter values have respective data packet delay budget amounts; the step of determining whether the to-be-transmitted data is delay-sensitive data according to the 5QI parameter value of the to-be-transmitted data can comprise: if the data packet delay budget amount of the 5QI parameter value of the to-be-transmitted data is less than a preset delay threshold, determining that the to-be-transmitted data is delay-sensitive data.

[0088] Referring to Table 2, when the 5QI parameter value is 80, 82-86, the delay-sensitive service belongs to, and has a respective data packet delay budget amount, ranging from 5ms to 30ms.

[0089] Further, the preset delay threshold can be 30ms.

[0090] In the embodiments of the present application, by setting the preset delay threshold to 30ms, which is equivalent to setting the 5QI parameter value to 80, 82-86, the purpose of accurately determining the delay-sensitive service can also be achieved.

[0091] In another specific implementation of the embodiments of the present application, after determining the 5QI parameter value of the to-be-transmitted data, further information can be determined, and the to-be-transmitted data is determined to be delay-sensitive data or not delay-sensitive data in combination.

[0092] Specifically, in one specific application of the embodiments of the present application, it can be determined whether the 5QI parameter value of the to-be-transmitted data belongs to a preset 5QI parameter value set, and then the network slice type of the to-be-transmitted data is further determined.

[0093] Referring to Figure 3 , Figure 3 is Figure 1 a flow chart of one specific implementation of step S13. The step of determining whether the to-be-transmitted data is delay-sensitive data according to the 5QI parameter value of the to-be-transmitted data can comprise steps S31-S32, which are described below.

[0094] In step S31, if the 5QI parameter value of the to-be-transmitted data belongs to a preset 5QI parameter value set, the network slice type of the to-be-transmitted data is further determined.

[0095] In step S32, if the network slice type of the to-be-transmitted data is URLLC type, the to-be-transmitted data is determined to be delay-sensitive data.

[0096] In the embodiment of the present application, after judging that the 5QI parameter value of the to-be-transmitted data belongs to the preset 5QI parameter value set, the to-be-transmitted data is not directly determined as delay-sensitive data, but the network slice type of the to-be-transmitted data is further judged, and only when the network slice type of the to-be-transmitted data is the URLLC type, the to-be-transmitted data is judged as delay-sensitive data. When there are more potential delay-sensitive data, only the URLLC type data which is more delay-sensitive is judged as delay-sensitive data, so as to avoid judging too many delay-sensitive data and excessively affecting the transmission of ordinary data.

[0097] Further, the 5QI parameter values in the preset 5QI parameter value set can be selected from 80, 82-86.

[0098] Referring to Table 2, when the 5QI parameter value is 80, 82-86, it belongs to delay-sensitive service, so the purpose of accurately judging delay-sensitive service can be achieved.

[0099] In a specific application of the embodiment of the present application, whether the packet delay budget amount of the 5QI parameter value of the to-be-transmitted data is less than the preset delay threshold can be judged first, and then the network slice type of the to-be-transmitted data is further determined.

[0100] Specifically, different 5QI parameter values have respective packet delay budget amounts; the step of determining whether the to-be-transmitted data is delay-sensitive data according to the 5QI parameter value of the to-be-transmitted data can include: determining the network slice type of the to-be-transmitted data if the packet delay budget amount of the 5QI parameter value of the to-be-transmitted data is less than the preset delay threshold; and determining the to-be-transmitted data as delay-sensitive data if the network slice type of the to-be-transmitted data is the URLLC type.

[0101] In the embodiment of the present application, after judging that the 5QI parameter value of the to-be-transmitted data belongs to the preset 5QI parameter value set, the to-be-transmitted data is not directly determined as delay-sensitive data, but the network slice type of the to-be-transmitted data is further judged, and only when the network slice type of the to-be-transmitted data is the URLLC type, the to-be-transmitted data is judged as delay-sensitive data. When there are more potential delay-sensitive data, only the URLLC type data which is more delay-sensitive is judged as delay-sensitive data, so as to avoid judging too many delay-sensitive data and excessively affecting the transmission of ordinary data.

[0102] Further, the preset delay threshold can be 30 ms.

[0103] Referring to Table 2, when the 5QI parameter value is 80, 82-86, it belongs to delay-sensitive service, and has a respective packet delay budget amount in the range of 5 ms-30 ms.

[0104] In the embodiments of the present application, by setting the preset delay threshold as 30 ms, which is equivalent to setting the 5QI parameter value as 80, 82-86, the purpose of accurately judging the delay-sensitive service can also be achieved.

[0105] Further, the data transmission method can further include: if the to-be-transmitted data is delay-sensitive data, preferentially performing transmission processing on the to-be-transmitted data.

[0106] Specifically, the to-be-transmitted data can be put into a special high-priority channel for transmission or can preempt the transmission resources of low-priority data, so as to achieve the purpose of fast processing.

[0107] Continuing to refer to Figure 1 In the specific implementation of step S14, when the network slice type of the to-be-transmitted data is the URLLC type, it is determined that the to-be-transmitted data is delay-sensitive data.

[0108] Specifically, the identification of low-latency application data can be determined through network slicing.

[0109] Network slicing is a demand-based networking method, which can allow an operator to separate multiple virtual end-to-end networks on a unified infrastructure. Each network slice is logically isolated from the radio access network bearer network to the core network to adapt to various types of applications. In one network slice, at least three parts of the radio network sub-slice, the bearer network sub-slice, and the core network sub-slice can be separated.

[0110] Specifically, the 3GPP defines a URLLC network slice type for high-reliability low-latency data. After the PDU session (session) is established, the network can determine the network slice used by this session. For applications with low-latency transmission requirements, the URLLC type network slice can be set.

[0111] For application data transmitted through a PDU session with the URLLC type network slice, it is considered to be low-latency data. Further, in subsequent processing, the identified low-latency data can be allocated a dedicated time slice or processor for preferential processing. In the subsequent communication transmission process, special dedicated channels can be used for preferential processing.

[0112] The judgment on the URLLC type can be performed according to the foregoing description, for example, considering that the to-be-transmitted data with 5QI of 80, 82-86 transmitted by the URLLC slice is considered to be low-latency data.

[0113] In the embodiment of the present application, the data packet header information used for transmitting the to-be-transmitted data is determined, then the 5QI parameter value of the to-be-transmitted data is determined, and then it is determined whether the to-be-transmitted data is delay-sensitive data or not, or when the network slice type of the to-be-transmitted data is URLLC type, it is determined whether the to-be-transmitted data is delay-sensitive data, so that the judgment can be realized only according to the data packet header information, or the judgment of delay-sensitive data can be realized only according to the network slice type, the judgment efficiency is very high, and the operation amount is small. Further, in the present application, the judgment of the to-be-transmitted data is realized in the application layer, compared with the prior art in which the judgment of delay-sensitive data can be realized only when different data streams are filtered in layer 2 (layer 2) of the communication processor, the judgment is significantly advanced in time, so that the processing delay from the generation of delay-sensitive data to the final transmission to the air interface is the lowest delay, and the delay-sensitive data will not be blocked by ordinary data.

[0114] Reference Figure 4 , Figure 4 is a structural schematic diagram of a data transmission device in the embodiment of the present application. In one specific embodiment of the present application, the data transmission device can include an address determination module 41, a 5QI determination module 42, and a first delay-sensitive determination module 43; in another specific embodiment of the present application, the data transmission device can include a second delay-sensitive determination module 44.

[0115] Specifically, the address determination module 41 is configured to determine data packet header information used for transmitting to-be-transmitted data; the 5QI determination module 42 is configured to determine a 5QI parameter value of the to-be-transmitted data according to the data packet header information of the to-be-transmitted data; and the first delay-sensitive determination module 43 is configured to determine whether the to-be-transmitted data is delay-sensitive data according to the 5QI parameter value of the to-be-transmitted data.

[0116] The second delay-sensitive determination module 44 is configured to determine that the to-be-transmitted data is delay-sensitive data when the network slice type of the to-be-transmitted data is URLLC type.

[0117] In a specific implementation, the above device can correspond to a chip with a data processing function in a user equipment; or correspond to a chip module including a chip with a data processing function in a user equipment, or correspond to a user equipment.

[0118] For the principle, specific implementation and beneficial effects of the data transmission device, please refer to the related description of the data transmission method described above, which will not be repeated here.

[0119] The embodiment of the present application also provides a terminal, comprising a memory and an application processor, the memory storing a computer program capable of running on the processor, and the application processor executes the steps of the above method when running the computer program. The terminal includes but is not limited to mobile phones, computers, tablets and other terminal devices.

[0120] Further, the terminal can also include a communication processor; wherein the application processor establishes a socket for the to-be-transmitted data, and after allocating a dedicated time slice or processing device for priority processing, the to-be-transmitted data is transmitted to the communication processor.

[0121] Specifically, the application processor of the terminal can process the application layer service, and the communication processor can receive the to-be-transmitted data from the application processor and continue to transmit.

[0122] More specifically, the application layer of the terminal matches the socket parameters and the packet filtering list of the low-latency QoS data flow, and the socket that matches successfully is recorded as a low-latency socket.

[0123] Further, in the process of transmitting the to-be-transmitted data to the communication processor by the application processor, a transmission queue with a priority greater than a first preset level is used to transmit the to-be-transmitted data.

[0124] Specifically, the identified low-latency socket can be allocated a dedicated time slice by an operating system or be processed by the application processor in priority, so that the data can be transmitted to the communication processor in priority.

[0125] Further, the communication processor outputs the received to-be-transmitted data to a dedicated priority output queue and performs encryption and decryption in priority; the priority of the dedicated priority output queue is greater than a second preset level.

[0126] Specifically, in the transmission process from the application processor to the communication processor, the identified low-latency socket can enter a high-priority transmission queue and be processed by the communication processor in high priority, so as to shorten the queuing time and avoid being blocked in the queue by other ordinary data.

[0127] Further, the priority of the dedicated priority output queue is maintained until the to-be-transmitted data is transmitted to the MAC protocol layer of 3GPP.

[0128] On the communication processor side, the data of the low-latency socket is also output to a dedicated high-priority output queue, so as to be processed by a subsequent encryption and decryption accelerator in priority. The priority processing queue is maintained until the MAC protocol layer of 3GPP, and is transmitted in priority according to the network configuration.

[0129] Through the above processing, the low-latency socket data is generated to the last transmission to the air interface, and the processing delay in the middle is kept low and will not be blocked by ordinary data.

[0130] In the embodiment of the present application, by setting the data packet header information for transmitting the to-be-transmitted data, and then determining the 5QI parameter value of the to-be-transmitted data, and further determining whether the to-be-transmitted data is delay-sensitive data, or when the network slice type of the to-be-transmitted data is URLLC type, determining whether the to-be-transmitted data is delay-sensitive data, the judgment can be realized only according to the data packet header information, or the judgment of delay-sensitive data can be realized only according to the network slice type, the judgment efficiency is very high, and the operation amount is small. Further, in the present application, the judgment of the to-be-transmitted data is realized in the application layer, compared with the prior art in which the judgment of delay-sensitive data can be realized only when different data streams are filtered in layer 2 (layer 2) of the communication processor, the judgment is significantly advanced in time, so that the processing delay in the middle from the generation of delay-sensitive data to the last transmission to the air interface is the lowest delay, and will not be blocked by ordinary data.

[0131] The embodiment of the present application also provides a readable storage medium, which stores a computer program, and the computer program is run by a processor to execute the steps of the above method. The readable storage medium can be a computer readable storage medium, for example, can include a non-volatile memory or a non-transitory memory, and can also include an optical disc, a mechanical hard disk, a solid state disk, etc.

[0132] Specifically, in the embodiment of the present application, the application processor and the communication processor can be a central processing unit (CPU), and the processor can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.

[0133] It should also be understood that the memory in the embodiments of the present application can be volatile or nonvolatile memory, or can include both volatile and nonvolatile memory. The nonvolatile memory can be read-only memory (ROM), programmable ROM (PROM), erasable PROM (EPROM), electrically EPROM (EEPROM), or flash memory. The volatile memory can be random access memory (RAM) used as external cache. By way of example, and not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous dynamic RAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and direct rambus RAM (DR RAM).

[0134] Specifically, the terminal in the embodiments of the present application can refer to various forms of user equipment (user equipment, UE for short), access terminal, user unit, user station, mobile station, mobile station (mobile station, MS for short), remote station, remote terminal, mobile device, user terminal, terminal device, wireless communication device, user agent or user device. The terminal device can also be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal device in a future 5G network or a terminal device in a future evolved Public Land Mobile Network (PLMN), etc. The embodiments of the present application are not limited thereto.

[0135] It should be understood that the term "and / or" herein only describes the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B can represent the three cases of A alone, A and B together, and B alone. In addition, the character " / " herein represents that the front and rear associated objects are in an "or" relationship.

[0136] The "multiple" appearing in the embodiments of the present application refers to two or more.

[0137] The first, second and the like appearing in the embodiments of the present application are only for illustrative and distinguishing description objects, and there is no order difference, nor do they represent a special limitation on the number of devices in the embodiments of the present application, which cannot constitute any limitation on the embodiments of the present application.

[0138] The various modules / units included in the various devices and products described in the above embodiments can be software modules / units or hardware modules / units, or partially software modules / units and partially hardware modules / units. For example, for the various devices and products applied to or integrated in a chip, the various modules / units included therein can all be implemented in the form of hardware such as circuitry, or at least some of the modules / units can be implemented in the form of a software program running on a processor integrated in the chip, and the remaining (if any) modules / units can be implemented in the form of hardware such as circuitry; for the various devices and products applied to or integrated in a chip module, the various modules / units included therein can all be implemented in the form of hardware such as circuitry, and different modules / units can be located in the same component (e.g., a chip, a circuit module, etc.) or different components of the chip module, or at least some of the modules / units can be implemented in the form of a software program running on a processor integrated in the chip module, and the remaining (if any) modules / units can be implemented in the form of hardware such as circuitry; for the various devices and products applied to or integrated in a terminal, the various modules / units included therein can all be implemented in the form of hardware such as circuitry, and different modules / units can be located in the same component (e.g., a chip, a circuit module, etc.) or different components of the terminal, or at least some of the modules / units can be implemented in the form of a software program running on a processor integrated in the terminal, and the remaining (if any) modules / units can be implemented in the form of hardware such as circuitry.

[0139] Although the present application has been disclosed with reference to the above embodiments, the present application is not limited to the above embodiments. Any person skilled in the art, without departing from the spirit and scope of the present application, can make various modifications and changes, and the scope of protection of the present application should be limited by the scope defined by the claims.

Claims

1. A data transmission method, characterized by, The method is applied to a terminal side, the terminal includes an application processor and a communication processor, the application processor is used for processing data of an application layer, and the communication processor is used for receiving data of the application processor and transmitting to an air interface, and the method includes the following steps: determining data packet header information of data to be transmitted; determining a 5QI parameter value of the data to be transmitted according to the data packet header information of the data to be transmitted; determining whether the data to be transmitted is delay-sensitive data according to the 5QI parameter value of the data to be transmitted; or, when the network slice type of the data to be transmitted is a URLLC type, determining that the data to be transmitted is delay-sensitive data; wherein the method further includes that the application processor establishes a socket for the data to be transmitted, the identified low-latency socket is preferentially transmitted to the communication processor after being preferentially processed by the operating system by allocating a dedicated time slice; the preferentially transmitting to the communication processor includes that, in the transmission process from the application processor to the communication processor, the identified low-latency socket enters a high-priority transmission queue, and the high-priority transmission queue is different from a transmission queue of non-delay-sensitive data.

2. The data transmission method of claim 1, wherein, The data packet header information includes one or more of the following: IP address, port information, security parameter index, protocol identifier, service type, traffic class type, flow label type, MAC address, virtual local area network label, and Ethernet type.

3. The data transmission method of claim 1, wherein, Determining the 5QI parameter value of the data to be transmitted according to the data packet header information of the data to be transmitted includes: based on the data packet header information of the data to be transmitted, searching for QoS rule information to determine a QoS data flow sequence number of the data to be transmitted, wherein the QoS rule information contains a mapping relationship between the QoS data flow sequence number and the data packet header information; based on the QoS data flow sequence number of the data to be transmitted, searching for QoS data flow description information to determine the 5QI parameter value of the data to be transmitted, wherein the QoS data flow description information contains a mapping relationship between the 5QI parameter value and the QoS data flow sequence number.

4. The data transmission method of claim 3, wherein, Before determining the 5QI parameter value of the data to be transmitted, the method further includes the following steps: sending a PDU session establishment request; receiving a reply message, the reply message being returned after the PDU session is successfully established; wherein the reply message contains the QoS data flow description information and the QoS rule information.

5. The data transmission method of claim 1, wherein, Determining whether the data to be transmitted is delay-sensitive data according to the 5QI parameter value of the data to be transmitted includes: if the 5QI parameter value of the data to be transmitted belongs to a preset 5QI parameter value set, determining that the data to be transmitted is delay-sensitive data.

6. The data transmission method of claim 1, wherein, Determining whether the data to be transmitted is delay-sensitive data according to the 5QI parameter value of the data to be transmitted includes: if the 5QI parameter value of the data to be transmitted belongs to a preset 5QI parameter value set, further determining the network slice type of the data to be transmitted; If the network slice type of the to-be-transmitted data is URLLC type, it is determined that the to-be-transmitted data is delay-sensitive data.

7. The data transmission method according to claim 5 or 6, characterized in that, The 5QI parameter value in the preset 5QI parameter value set is selected from 80, 82-86.

8. The data transmission method of claim 1, wherein, Different 5QI parameter values have respective data packet delay budget amounts; According to the 5QI parameter value of the to-be-transmitted data, determining whether the to-be-transmitted data is delay-sensitive data includes: If the data packet delay budget amount of the 5QI parameter value of the to-be-transmitted data is less than a preset delay threshold, it is determined that the to-be-transmitted data is delay-sensitive data.

9. The data transmission method of claim 1, wherein, Different 5QI parameter values have respective data packet delay budget amounts; According to the 5QI parameter value of the to-be-transmitted data, determining whether the to-be-transmitted data is delay-sensitive data includes: If the data packet delay budget amount of the 5QI parameter value of the to-be-transmitted data is less than a preset delay threshold, it is determined that the network slice type of the to-be-transmitted data is URLLC type; If the network slice type of the to-be-transmitted data is URLLC type, it is determined that the to-be-transmitted data is delay-sensitive data.

10. The data transmission method of claim 8 or 9, characterized in that, The preset delay threshold is 30 ms.

11. A data transmission apparatus, characterized by comprising: Applied to a terminal side, the terminal includes an application processor and a communication processor, the application processor is used for processing data of an application layer, and the communication processor is used for receiving data of the application processor and transmitting the data to an air interface. The device includes: An address determination module is configured to determine data packet header information used for transmitting to-be-transmitted data. A 5QI determination module is configured to determine a 5QI parameter value of the to-be-transmitted data according to the data packet header information of the to-be-transmitted data. A first delay-sensitive determination module is configured to determine whether the to-be-transmitted data is delay-sensitive data according to the 5QI parameter value of the to-be-transmitted data. Alternatively, A second delay-sensitive determination module is configured to determine that the to-be-transmitted data is delay-sensitive data when the network slice type of the to-be-transmitted data is URLLC type. The data transmission device includes an application processor and a communication processor, the application processor establishes a socket for the to-be-transmitted data, the identified low-delay socket is preferentially processed by the operating system after being allocated a dedicated time slice, and then the low-delay socket is preferentially transmitted to the communication processor. The preferential transmission to the communication processor includes that, in a transmission process from the application processor to the communication processor, the identified low-delay socket enters a high-priority transmission queue, and the low-delay socket is processed by the communication processor with high priority. The high-priority transmission queue is different from a transmission queue of non-delay-sensitive data.

12. A readable storage medium, having stored thereon a computer program, characterized in that, The computer program is run by the processor to execute the steps of the data transmission method in any one of claims 1 to 10.

13. A terminal comprising a memory and an application processor, said memory having stored thereon a computer program capable of running on said processor, characterized in that, The application processor runs the computer program to execute the steps of the data transmission method in any one of claims 1 to 10. The terminal further includes a communication processor, the application processor is used for processing data of an application layer, and the communication processor is used for receiving data of the application processor and transmitting the data to an air interface.

14. The terminal according to claim 13, characterized by In the process that the application processor transmits the to-be-transmitted data to the communication processor preferentially, the to-be-transmitted data is transmitted by using a transmission queue with a priority greater than a first preset level.

15. The terminal according to claim 13, characterized by The communication processor outputs the received to-be-transmitted data to a dedicated priority output queue and preferentially performs encryption and decryption processing. The priority of the dedicated priority output queue is greater than a second preset level.

16. The terminal according to claim 15, characterized by The priority of the dedicated priority output queue is maintained until the to-be-transmitted data is transmitted to a MAC protocol layer of 3GPP.

Citation Information

Patent Citations

  • Data flow forwarding method, apparatus, system, computer device and storage medium

    CN109088822A

  • Low-delay data processing method, device and system

    CN110519178A

  • Resource allocation method and device for network slice

    CN110662261A

  • Scheduling Method And Apparatus

    US20200328983A1

  • Identifying time sensitive network streams within a 3GPP QOS flow

    WO2021069552A1