Data transmission method and device, equipment, storage medium and program product
By determining the PMTU of the PDU session between the network-side device and the terminal device, and sending an RRC configuration message to adjust the packet length, the problem of low data transmission efficiency caused by an excessively small MTU is solved, and more efficient data transmission is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-17
- Publication Date
- 2026-03-24
AI Technical Summary
In related technologies, the path maximum transmission unit (PMTU) differs in different PDU sessions, resulting in an excessively small MTU and thus low data transmission efficiency.
By receiving a Protocol Data Unit (PDU) session establishment request from the Access and Mobility Management Function (AMF), determining the Path Maximum Transmission Unit (PMTU) based on the Transport Layer Address of the User Plane Function (UPF), and sending a Radio Resource Control (RRC) configuration message to the terminal device, including the Maximum Transmission Unit (MTU) of the Data Radio Bearer (DRB) instance, to adjust the packet length.
This effectively reduces message fragmentation during data transmission and improves data transmission efficiency.
Smart Images

Figure CN121728023A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of data processing, and in particular to a data transmission method, device, equipment, storage medium and program product. BACKGROUND
[0002] A network side device and a terminal perform data transmission in a protocol data unit (PDU) session through a data radio bearer (DRB). In related technologies, a maximum transmission unit (MTU) needs to be configured, so that the terminal determines the length of a data packet for transmission by using the MTU. However, in related technologies, the MTU is statically configured by using a protocol, and the MTU in different PDU sessions is the same. However, in an actual data transmission process, path maximum transmission units (PMTUs) of different transmission links are different, and the MTU in some PDU sessions may be too small to cause data fragmentation, which reduces the efficiency of data transmission.
[0003] It can be seen that the related technologies have the problem of low efficiency of data transmission. SUMMARY
[0004] Embodiments of the present application provide a data transmission method, device, equipment, storage medium and program product to solve the problem of low efficiency of data transmission in related technologies.
[0005] To solve the above problems, the present application is implemented as follows:
[0006] In a first aspect, an embodiment of the present application provides a data transmission method applied to a network side device, comprising:
[0007] receiving a protocol data unit (PDU) session establishment request of an access and mobility management function (AMF), wherein the PDU session establishment request comprises a first transport layer address of a user plane function (UPF);
[0008] determining a first path maximum transmission unit (PMTU) based on the first transport layer address of the UPF;
[0009] sending a first radio resource control (RRC) configuration message to a terminal device based on the first PMTU, wherein the first RRC configuration message comprises a maximum transmission unit (MTU) of a data radio bearer (DRB) instance, and the terminal device is configured to adjust the length of a data packet sent when performing data transmission in the DRB instance based on the MTU.
[0010] In a second aspect, an embodiment of the present application provides a data transmission method applied to a terminal device, comprising:
[0011] receiving a first radio resource control (RRC) configuration message sent by a network side device;
[0012] parsing the first RRC configuration message to obtain a maximum transmission unit (MTU) of a data radio bearer (DRB) instance;
[0013] sending a data packet based on the DRB instance, wherein a length of the data packet is less than a length corresponding to the MTU.
[0014] In a third aspect, an embodiment of the present application further provides a data transmission apparatus, comprising:
[0015] a receiving module configured to receive a protocol data unit (PDU) session establishment request of an access and mobility management function (AMF), wherein the PDU session establishment request comprises a first transport layer address of a user plane function (UPF);
[0016] a determining module configured to determine a first path maximum transmission unit (PMTU) based on the first transport layer address of the UPF;
[0017] a first sending module configured to send a first radio resource control (RRC) configuration message to a terminal device based on the first PMTU, wherein the first RRC configuration message comprises a maximum transmission unit (MTU) of a data radio bearer (DRB) instance, and the terminal device is configured to adjust a length of a data packet sent when performing data transmission on the DRB instance based on the MTU.
[0018] In a fourth aspect, an embodiment of the present application further provides a data transmission apparatus, comprising:
[0019] a first receiving module configured to receive a first radio resource control (RRC) configuration message sent by a network side device;
[0020] a parsing module configured to parse the first RRC configuration message to obtain a maximum transmission unit (MTU) of a data radio bearer (DRB) instance;
[0021] a first sending module configured to send a data packet based on the DRB instance, wherein a length of the data packet is less than a length corresponding to the MTU.
[0022] In a fifth aspect, an embodiment of the present application further provides a network side device, comprising a transceiver and a processor,
[0023] the transceiver is configured to receive a protocol data unit (PDU) session establishment request of an access and mobility management function (AMF), wherein the PDU session establishment request comprises a first transport layer address of a user plane function (UPF);
[0024] determine a first path maximum transmission unit (PMTU) based on the first transport layer address of the UPF;
[0025] The transceiver is further configured to send a first radio resource control (RRC) configuration message to a terminal device based on the first PMTU, the first RRC configuration message including a maximum transmission unit (MTU) of a data radio bearer (DRB) instance, and the terminal device is configured to adjust a length of a data packet sent in data transmission on the DRB instance based on the MTU.
[0026] In a sixth aspect, an embodiment of the present application further provides a terminal device, comprising a transceiver and a processor,
[0027] The transceiver is configured to receive a first radio resource control (RRC) configuration message sent by a network-side device.
[0028] The processor is configured to parse the first RRC configuration message to obtain a maximum transmission unit (MTU) of a data radio bearer (DRB) instance.
[0029] The transceiver is further configured to send a data packet based on the DRB instance, the length of the data packet being less than a length corresponding to the MTU.
[0030] In a seventh aspect, an embodiment of the present application provides an electronic device, comprising a processor, a memory, and a program stored in the memory and executable on the processor, and the program, when executed by the processor, implements the steps of the data transmission method in the first aspect.
[0031] In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium, and the computer-readable storage medium stores a computer program, and the computer program, when executed by a processor, implements the steps of the data transmission method in the first aspect.
[0032] In a ninth aspect, an embodiment of the present application further provides a computer program product, comprising computer instructions, and the computer instructions, when executed by a processor, implement the steps of the data transmission method in the first aspect.
[0033] In the embodiment of the present application, a protocol data unit (PDU) session establishment request of an access and mobility management function (AMF) is received, the PDU session establishment request including a first transport layer address of a user plane function (UPF); a first path maximum transmission unit (PMTU) is determined based on the first transport layer address of the UPF; a first radio resource control (RRC) configuration message is sent to a terminal device based on the first PMTU, the first RRC configuration message including a maximum transmission unit (MTU) of a data radio bearer (DRB) instance, and the terminal device is configured to adjust a length of a data packet sent in data transmission of the DRB instance based on the MTU. In the embodiment of the present application, the first PMTU is determined through the first transport layer address, and the first RRC configuration message including the MTU of the DRB instance is sent to the terminal device through the first PMTU, so that the terminal device can send a packet according to the MTU, thereby reducing the case that a packet needs to be fragmented due to too large length of the packet in the transmission process, and effectively improving the data transmission efficiency. BRIEF DESCRIPTION OF DRAWINGS
[0034] To make the technical solutions of the embodiments of the present application clearer, the drawings needed in the description of the embodiments of the present application will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without any creative effort on the basis of these drawings.
[0035] Figure 1 is a flowchart of a data transmission method applied to a network side device according to an embodiment of the present application;
[0036] Figure 2 is an interaction schematic diagram of a network side device and a terminal device according to an embodiment of the present application;
[0037] Figure 3 is a flowchart of a data transmission method applied to a terminal device according to an embodiment of the present application;
[0038] Figure 4 is a structural diagram of a data transmission device according to an embodiment of the present application;
[0039] Figure 5 is a structural diagram of an electronic device according to an embodiment of the present application;
[0040] Figure 6 is a structural diagram of a data transmission device according to an embodiment of the present application;
[0041] Figure 7 is a structural diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0042] With reference to the drawings of the embodiments of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described. Obviously, the described embodiments are a part rather than all of the embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts should fall within the protection scope of the present application.
[0043] Please refer to Figure 1 , Figure 1 is a flow chart of a data transmission method applied to a network side device provided by the embodiment of the present application, as shown in Figure 1 , comprising the following steps:
[0044] Step 101, receiving a Protocol Data Unit (PDU) Session establishment request of an Access and Mobility Management Function (AMF), wherein the PDU Session establishment request comprises a first transport layer address of a User Plane Function (UPF).
[0045] It should be noted that the 5th Generation Mobile Communication Technology (5G) supports a PDU connection service, that is, a PDU connection service is interacted between a user equipment (User Equipment, UE) and a data network defined by a data network name (Data Network Name, DNN), and the PDU connection service is supported by establishing a PDU session (PDU Session). Among them, a UE can simultaneously establish multiple PDU sessions to the same data network or different data networks, and multiple PDU sessions of the same user to the same data network can use different UPFs, different session management functions (Session Management Function, SMF), and the unified data management entity (Unified Data Management, UDM) will record the corresponding SMF for the granularity of the PDU session. The user plane path (the path between the access network (Access Network, AN) and the UPF connected to the data network (Data Network, DN)) of different PDU sessions of the same user can also be different. Each PDU session has a PDU session type, and the PDU session type is the type of service packets transmitted between the UE and the data network, including IPV4, IPV6, Ethernet, Unstructured, etc. Therefore, in the present application, each PDU session needs to be configured to reduce the packet segmentation in the transmission process.
[0046] The PDU session establishment request is a request for establishing a PDU session between the network side device and the terminal device, and the network side device and the terminal device create a PDU session before receiving the PDU session establishment request to perform data transmission.
[0047] Among them, the network side device can be a server or a next generation base station (the next Generation NodeB, gNb)
[0048] Step 102, determine a first path maximum transmission unit (Path Maximum Transmission Unit, PMTU) based on the first transport layer address of the UPF.
[0049] The first transport layer address is carried by the PDU session creation request, so as to determine the PMTU corresponding to the transmission link of the PDU session through the first transport layer address. It should be noted that the actual transport layer of different PDU sessions can be the same or different. In order to determine the transmission link of the PDU session in actual transmission, the first transport layer address needs to be determined, and then the PMTU of the transmission link is determined according to the first transport layer address.
[0050] The transmission link can be a Back-haul transmission link or a Middle-haul transmission link. The two ends of the Back-haul transmission link are gNb and UPF, and the Middle-haul transmission link is the transmission link between the Centralized Unit (CU) and Distributed Unit (DU) after the gNb function is split. The two transmission links adopt the same bearer protocol and have basically the same transmission processing. Most gNbs do not have split CU / DU, and they directly adopt internal transmission mode. Therefore, the method of the present application can be applied to the two transmission links.
[0051] It should be noted that the UPF is a connection anchor point between the 5G network and the Multi-Access Edge Computing (MEC). All core network data must be forwarded through the UPF to flow to the external network. The MEC is a marked capability in 5G service applications. Specifically, based on the CU / DU separation architecture of the 5G Core Network (5GC), the control plane network function (Network Function, NF) is centrally deployed in the data center (Data Center, DC), and the UPF is deployed at the network edge. This can reduce transmission delay, realize local distribution of data traffic, alleviate the data transmission pressure of the core network, and thus improve the network data processing efficiency and meet the demands of vertical industries for ultra-low latency, ultra-high bandwidth, and security in the network. In the 5G network, the UPF and the AMF are no longer bound, and the relationship between them is dynamically configurable, which can be one-to-many or many-to-many, so that the gNb and the UPF can also be many-to-many, and the correspondence between the gNb and the UPF can also be dynamically adjusted. This results in the gNb being unable to set a static MTU at the local end to adapt to multiple UPFs, and the MTU of the PDU session above the transmission link cannot be statically set. Therefore, in the present application, the PMTU is determined when the PDU session is established, so as to obtain an accurate PMTU.
[0052] In step 103, a first radio resource control (RRC) configuration message is sent to the terminal device based on the first PMTU, the first RRC configuration message including a maximum transmission unit (MTU) of a data radio bearer (DRB) instance, and the terminal device being configured to adjust a length of a data packet sent in data transmission on the DRB instance based on the MTU.
[0053] It should be noted that the gNb and the UE transmit service data PDUs through a DRB, and the PDU session is mapped to the DRB inside the gNb. In the current 5G new radio (NR) protocol system, the MTU is not set for the DRB to transmit data, and the length of the packet is not explicitly indicated in the service data adaptation protocol (SDAP), the packet data convergence protocol (PDCP), the radio link control (RLC), and the media access control (MAC), so the RLC segmentation field is mainly used to indicate which PDUs belong to the same packet, but the number of RLC segments has no upper limit, that is, theoretically, it can be spliced infinitely, the PMTU of the DRB is infinitely large, and the length of the packet cannot be effectively determined. Therefore, the MTU of the DRB is introduced in the present application, and an MTU is set for each established DRB, and the length of the service data packet transmitted by the upper application on the DRB should not exceed the MTU value.
[0054] In the present application, the MTU is configured according to the first PMTU, so that the length of the data packet will not exceed the MTU value when data transmission is performed through the transmission link, thereby reducing the case that the packet needs to be fragmented due to the excessively large length of the packet in the transmission process, so as to achieve the purpose of improving the data transmission efficiency.
[0055] In the embodiment of the present application, a protocol data unit (PDU) session establishment request of an access and mobility management function (AMF) is received, the PDU session establishment request comprising a first transport layer address of a user plane function (UPF); a first path maximum transmission unit (PMTU) is determined based on the first transport layer address of the UPF; a first radio resource control (RRC) configuration message is sent to a terminal device based on the first PMTU, the first RRC configuration message comprising a maximum transmission unit (MTU) of a data radio bearer (DRB) instance, and the terminal device is configured to adjust a length of a data packet sent in data transmission of the DRB instance based on the MTU. In the embodiment of the present application, the first PMTU is determined through the first transport layer address, and the first RRC configuration message comprising the MTU of the DRB instance is sent to the terminal device through the first PMTU, so that the terminal device can send a packet according to the MTU, thereby reducing the situation that the packet needs to be fragmented due to too large length of the packet in the transmission process, and effectively improving the data transmission efficiency.
[0056] In one embodiment, the first PMTU is determined based on the first transport layer address of the UPF, and the method further comprises:
[0057] In a case where a plurality of addresses comprise the first transport layer address, the first PMTU is determined based on a first mapping relationship corresponding to the first transport layer address in a preset mapping table, the preset mapping table comprising a plurality of addresses and a mapping relationship corresponding to each address, and the mapping relationship being used to represent a PMTU corresponding to the corresponding address.
[0058] The preset mapping table is a mapping table maintained by a network side device, and the plurality of addresses and the mapping relationship corresponding to each address can be used to quickly determine the first PMTU corresponding to the first transport layer address.
[0059] In the embodiment of the present application, in a case where a plurality of addresses comprise the first transport layer address, the first PMTU is determined based on a first mapping relationship corresponding to the first transport layer address in a preset mapping table, the preset mapping table comprising a plurality of addresses and a mapping relationship corresponding to each address, and the mapping relationship being used to represent a PMTU corresponding to the corresponding address. In this way, the plurality of addresses and the mapping relationship corresponding to each address included in the preset mapping table are used to quickly determine the first PMTU corresponding to the first transport layer address.
[0060] In one embodiment, the first PMTU is determined based on the first transport layer address of the UPF, and the method further comprises:
[0061] In a case where the plurality of addresses does not include the first transport layer address, the first PMTU corresponding to the first transport layer address is explored based on a path maximum transmission unit discovery (PMTUD) protocol;
[0062] The first mapping relationship between the first transport layer address and the first PMTU is added to the preset mapping table.
[0063] In the embodiments of the present application, in a case where the plurality of addresses does not include the first transport layer address, the first PMTU corresponding to the first transport layer address is explored based on a PMTUD protocol; and the first mapping relationship between the first transport layer address and the first PMTU is added to the preset mapping table. In this way, in a case where the first PMTU corresponding to the first transport address cannot be determined through the preset mapping table, the first PMTU corresponding to the first transport address can be explored through the PMTUD protocol; and the first mapping relationship between the first transport address and the first PMTU is added to the preset mapping table, so that subsequent PMTUs can be quickly determined according to the preset mapping table.
[0064] It should be noted that when the PDU session is established, the AMF carries the transport layer address of the UPF to inform the gNb, and the two parties negotiate to establish a transmission link. At this time, the control plane of the gNb first probes the routing reachability, and then the PMTUD protocol can be used to probe the PMTU of the transport layer address of the UPF, and the PMTU is recorded as an attribute in the PDU session.
[0065] In one embodiment, the plurality of addresses includes a second transport layer address, and the method further includes:
[0066] In a case where a time length from creation of a second mapping relationship corresponding to the second transport layer address reaches a set time length threshold, the second mapping relationship is deleted from the preset mapping table.
[0067] In the embodiments of the present application, in a case where a time length from creation of a second mapping relationship corresponding to the second transport layer address reaches a set time length threshold, the second mapping relationship is deleted from the preset mapping table. In this way, by setting the set time length threshold, it is determined whether the mapping relationship needs to be deleted through the set time length threshold, so as to prevent the case where the PMTU determined through the preset mapping table is different from the actual PMTU after the transmission link to the UPF changes.
[0068] In one embodiment, the first RRC configuration message is sent to the terminal device based on the first PMTU, including:
[0069] based on the first PMTU configuration information element (IE), the IE including a value of the MTU;
[0070] sending the first RRC configuration message including the IE to the terminal device.
[0071] In the embodiments of the present application, based on the first PMTU configuration information element (IE), the IE including a value of the MTU; the first RRC configuration message including the IE is sent to the terminal device. In this way, by sending the first RRC configuration message including the IE, the terminal device can obtain the MTU by parsing the IE, and then send the message through the MTU.
[0072] Specifically, in the Third Generation Partnership Projects (3GPP) protocol, the type of the DRB-ToAddModList field of the RadioBearerConfig structure can be modified, and an IE field drb-Mtu of the DRB-Mtu type is added. The field is an enumeration type, and eight types of enumeration values {128, 256, 1024, 1400, 1500, 2048, 9216, spare} are defined, with the unit of byte. The spare indicates that the MTU is not set, and is determined by the UE. The IE field in the modified RadioBearerConfig can be represented by the following code:
[0073] drb-Mtu DRB-Mtu
[0074] OPTIONAL, -- Need M
[0075] DRB-Mtu ::= ENUMERATED {byte128, byte256, byte1024, byte1400,byte1500, byte2048, byte9216, spare}
[0076] In the above code, the attribute of the IE is of the Need M type, and only appears when the DRB is created or the MTU needs to be modified. Specifically, in the protocol process, the IE value should be carried in the RRCReconfiguration message to set or modify the MTU of the DRB. When the terminal device receives the IE, the specified MTU attribute value should be set for the specified DRB instance. Thereafter, the upper layer application sending the message on the DRB should adapt to the MTU, and the message exceeding the MTU should be fragmented.
[0077] Further, asFigure 2 As shown, the network side device maintains a preset mapping table; in the case of receiving the PDU session establishment request sent by the AMF, it is determined whether the first transport layer address exists in the multiple addresses included in the preset mapping table, the first PMTU is determined in the case of existence, the first PMTU is obtained through the PMTUD protocol in the case of non-existence, and the first mapping relationship is saved in the preset mapping table; when the PDU session creates a corresponding DRB, the MTU is queried according to the first PMTU, and the IE including the MTU is added in the first RRC configuration message; the first RRC configuration message is sent to the terminal device, so that the terminal device can parse the MTU and send the message according to the MTU; finally, the terminal sends feedback of RRC configuration completion to the network side device, so that the transmission link does not need to be fragmented when the terminal device transmits and receives messages through the MTU, and the data transmission efficiency is improved.
[0078] Among them, the MTU is an enumeration value of 8 types, and the enumeration value closest to but not greater than MTU-40 is selected when the MTU is determined through the first PMTU. It should be noted that MTU-40 is because the transmission link needs to add a transmission header of 40 bytes, and by selecting the enumeration value closest to but not greater than MTU-40, the accuracy of the MTU can be improved.
[0079] Further, the MTU in the preset mapping table has two columns, which are detection value and default value respectively. The detection value is directly detected through the RRU interface or manually configured, and the default value is the MTU value read from the network port.
[0080] In one embodiment, the method further comprises:
[0081] In the case of detecting that the MTU of the backhaul link of the PDU session is less than the MTU of the DRB instance, or in the case of detecting that the change value of the MTU of the backhaul link of the PDU session is greater than the set change threshold, an update value of the MTU of the DRB instance is generated;
[0082] A second RRC configuration message is sent to the terminal device, and the second RRC configuration message includes the update value.
[0083] In the embodiment of the present application, in the case that it is detected that the MTU of the backhaul link of the PDU session is less than the MTU of the DRB instance, or in the case that it is detected that the change value of the MTU of the backhaul link of the PDU session is greater than the set change threshold, an updated value of the MTU of the DRB instance is generated; and a second RRC configuration message is sent to the terminal device, the second RRC configuration message including the updated value. In this way, by generating the updated value of the MTU and sending the second RRC configuration message to the terminal device, the terminal device can update the MTU based on the updated value, and the updated MTU can adapt to the MTU of the backhaul link, so that the packet fragmentation during transmission can be reduced and the transmission efficiency of the packet can be improved.
[0084] Referring to Figure 3 , Figure 3 is a flowchart of a data transmission method applied to a terminal device provided by an embodiment of the present application, as shown in Figure 3 , comprising the following steps:
[0085] Step 301, receiving a first radio resource control (RRC) configuration message sent by a network side device;
[0086] Step 302, parsing the first RRC configuration message to obtain a maximum transmission unit (MTU) of a data radio bearer (DRB) instance;
[0087] Step 303, sending a data packet based on the DRB instance, the length of the data packet being less than the length corresponding to the MTU.
[0088] In one embodiment, the method further comprises:
[0089] receiving a second RRC configuration message sent by the network side device;
[0090] parsing the second RRC configuration message to obtain an updated value;
[0091] updating the MTU based on the updated value.
[0092] In the embodiment of the present application, a first radio resource control (RRC) configuration message sent by a network side device is received; the first RRC configuration message is parsed to obtain a maximum transmission unit (MTU) of a data radio bearer (DRB) instance; and a data packet is sent based on the DRB instance, the length of the data packet being less than the length corresponding to the MTU. In this way, by parsing to obtain the MTU, the length of the data packet is less than the length corresponding to the MTU when the packet is sent, so that the packet fragmentation during transmission can be reduced, and the data transmission efficiency can be effectively improved.
[0093] Referring to Figure 4 , Figure 4is a structural diagram of a data transmission device provided by an embodiment of the present application, as shown in Figure 4 The data transmission device 400 comprises:
[0094] A receiving module 401 is configured to receive a protocol data unit (PDU) session establishment request of an access and mobility management function (AMF), wherein the PDU session establishment request comprises a first transport layer address of a user plane function (UPF).
[0095] A determining module 402 is configured to determine a first path maximum transmission unit (PMTU) based on the first transport layer address of the UPF.
[0096] A first sending module 403 is configured to send a first radio resource control (RRC) configuration message to a terminal device based on the first PMTU, wherein the first RRC configuration message comprises a maximum transmission unit (MTU) of a data radio bearer (DRB) instance, and the terminal device is configured to adjust a length of a data packet sent when performing data transmission on the DRB instance based on the MTU.
[0097] In one embodiment, the determining module 402 comprises:
[0098] A first determining unit is configured to determine the first PMTU based on a first mapping relationship corresponding to the first transport layer address in a preset mapping table in a case where a plurality of addresses comprises the first transport layer address, wherein the preset mapping table comprises a plurality of addresses and a mapping relationship corresponding to each address, and the mapping relationship is used to represent a PMTU corresponding to the corresponding address.
[0099] In one embodiment, the determining module 402 further comprises:
[0100] An exploring unit is configured to explore the first PMTU corresponding to the first transport layer address based on a path maximum transmission unit discovery (PMTUD) protocol in a case where the plurality of addresses does not comprise the first transport layer address.
[0101] An adding unit is configured to add the first mapping relationship between the first transport layer address and the first PMTU to the preset mapping table.
[0102] In one embodiment, the plurality of addresses comprises a second transport layer address, and the data transmission device 400 further comprises:
[0103] A deleting module is configured to delete a second mapping relationship corresponding to the second transport layer address from the preset mapping table in a case where a time length from creating the second mapping relationship reaches a set time length threshold.
[0104] In one embodiment, the first sending module 403 comprises:
[0105] A configuration unit is configured to configure an information element (IE) based on the first PMTU, wherein the IE includes the value of the MTU;
[0106] The sending unit is configured to send the first RRC configuration message, including the IE, to the terminal device.
[0107] In one embodiment, the data transmission device 400 further includes:
[0108] The generation module is used to generate an updated value of the MTU of the DRB instance when it is detected that the MTU of the backhaul link of the PDU session is less than the MTU of the DRB instance, or when it is detected that the change value of the MTU of the backhaul link of the PDU session is greater than a set change threshold.
[0109] The second sending module is used to send a second RRC configuration message to the terminal device, the second RRC configuration message including the update value.
[0110] The data transmission device provided in this embodiment of the invention can realize the various processes of the above-described data transmission method, with one-to-one correspondence of technical features and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0111] It should be noted that the data transmission device in the embodiments of the present invention can be a device, or it can be a component, integrated circuit, or chip in an electronic device.
[0112] This invention also provides an electronic device, including: a processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the above-described functionality. Figure 1 The various processes of the data transmission method embodiments shown can achieve the same technical effect, and will not be described again here to avoid repetition.
[0113] For details, see Figure 5 As shown, this embodiment of the invention also provides a network-side device, including a bus 501, a transceiver 502, an antenna 503, a bus interface 504, a processor 505, and a memory 506.
[0114] The transceiver 502 is used to receive a Protocol Data Unit (PDU) session establishment request from the Access and Mobility Management Function (AMF), wherein the PDU session establishment request includes the first transport layer address of the User Plane Function (UPF).
[0115] The processor 505 is used to determine the first path maximum transmission unit (PMTU) based on the first transport layer address of the UPF.
[0116] The transceiver 502 is further configured to send a first radio resource control (RRC) configuration message based on the first PMTU to a terminal device, the first RRC configuration message including a maximum transmission unit (MTU) of a data radio bearer (DRB) instance, and the terminal device is configured to adjust a length of a data packet sent in data transmission of the DRB instance based on the MTU.
[0117] In an embodiment, the determining the first PMTU based on the first transport layer address of the UPF comprises:
[0118] In a case where the plurality of addresses includes the first transport layer address, determining the first PMTU based on a first mapping relationship corresponding to the first transport layer address in a preset mapping table, the preset mapping table including a plurality of addresses and a mapping relationship corresponding to each address, and the mapping relationship being used to represent a PMTU corresponding to the corresponding address.
[0119] In an embodiment, the determining the first PMTU based on the first transport layer address of the UPF further comprises:
[0120] In a case where the plurality of addresses does not include the first transport layer address, exploring the first PMTU corresponding to the first transport layer address based on a path maximum transmission unit discovery (PMTUD) protocol;
[0121] adding the first mapping relationship between the first transport layer address and the first PMTU to the preset mapping table.
[0122] In an embodiment, the plurality of addresses includes a second transport layer address, and the processor 505 is further configured to delete a second mapping relationship corresponding to the second transport layer address from the preset mapping table in a case where a time length from creating the second mapping relationship reaches a set time length threshold.
[0123] In an embodiment, the sending the first RRC configuration message based on the first PMTU to the terminal device comprises:
[0124] configuring an information element (IE) based on the first PMTU, the IE including a value of the MTU;
[0125] sending the first RRC configuration message including the IE to the terminal device.
[0126] In an embodiment, the processor 505 is further configured to generate an updated value of the MTU of the DRB instance in a case where it is detected that an MTU of a backhaul link of the PDU session is less than the MTU of the DRB instance, or in a case where it is detected that a changed value of the MTU of the backhaul link of the PDU session is greater than a set change threshold.
[0127] The transceiver 502 is further configured to send a second RRC configuration message to the terminal device, where the second RRC configuration message comprises the updated value.
[0128] In Figure 5 , a bus architecture (represented by bus 501) can include any number of interconnected buses and bridges, the bus 501 links various circuits including the one or more processors represented by processor 505 and the memory represented by memory 506. The bus 501 can also link various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and thus, not further described herein. The bus interface 504 provides an interface between the bus 501 and the transceiver 502. The transceiver 502 can be one element or multiple elements, such as multiple receivers and transmitters, which provide a means for communicating with various other apparatus over a transmission medium. Data processed by the processor 505 is transmitted over a wireless medium via the antenna 503, further, the antenna 503 also receives data and delivers the data to the processor 505.
[0129] The processor 505 is responsible for managing the bus 501 and general processing, and can also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. The memory 506 can be used to store data used by the processor 505 in its execution.
[0130] Optionally, the processor 505 can be a central processing unit (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or a graphic processing unit (GPU).
[0131] Please refer to Figure 6 , Figure 6 is a structure diagram of a data transmission device provided by an embodiment of the present application, as Figure 6 shown, the data transmission device 600 comprises:
[0132] A first receiving module 601, configured to receive a first radio resource control (RRC) configuration message sent by a network side device;
[0133] A parsing module 602, configured to parse the first RRC configuration message to obtain a maximum transmission unit (MTU) of a data radio bearer (DRB) instance.
[0134] The first sending module 603 is used to send data packets based on the DRB instance, wherein the length of the data packets is less than the length corresponding to the MTU.
[0135] In one embodiment, the data transmission device 600 further includes:
[0136] The second receiving module is used to receive the second RRC configuration message sent by the network-side device;
[0137] The parsing module is used to parse the second RRC configuration message to obtain the updated value;
[0138] An update module is used to update the MTU based on the update value.
[0139] The data transmission device provided in this embodiment of the invention can realize the various processes of the above-described data transmission method, with one-to-one correspondence of technical features and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0140] It should be noted that the data transmission device in the embodiments of the present invention can be a device, or it can be a component, integrated circuit, or chip in an electronic device.
[0141] This invention also provides an electronic device, including: a processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the above-described functionality. Figure 1 The various processes of the data transmission method embodiments shown can achieve the same technical effect, and will not be described again here to avoid repetition.
[0142] For details, see Figure 7 As shown, this embodiment of the invention also provides a terminal device, including a bus 701, a transceiver 702, an antenna 703, a bus interface 704, a processor 705, and a memory 706.
[0143] The transceiver 702 is used to receive a first Radio Resource Control (RRC) configuration message sent by the network-side device;
[0144] The processor 705 is used to parse the first RRC configuration message to obtain the maximum transmission unit (MTU) of the data radio bearer (DRB) instance.
[0145] The transceiver 702 is also used to send data packets based on the DRB instance, wherein the length of the data packets is less than the length corresponding to the MTU.
[0146] In one embodiment, the transceiver 702 is further configured to receive a second RRC configuration message sent by the network-side device;
[0147] The processor 705 is further configured to parse the second RRC configuration message to obtain an update value.
[0148] The processor 705 is further configured to update the MTU based on the update value.
[0149] In Figure 7 In
[0150] The processor 705 is responsible for managing the bus 701 and general processing, and can also provide various functions including timing, peripherals, voltage regulation, power management, and other control functions. The memory 706 can be used to store data used by the processor 705 during execution of operations.
[0151] Optionally, the processor 705 can be a central processing unit (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or a graphic processing unit (GPU).
[0152] The embodiments of the present application also provide a computer readable storage medium, and the computer readable storage medium stores a computer program. The computer program is executed by the processor to implement the above Figure 1 or Figure 3Corresponding to each process of the data transmission method embodiment, and the same technical effect can be achieved, in order to avoid repetition, here will not repeat. Among them, the computer readable storage medium, such as read only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
[0153] The application also provides a computer program product, comprising computer instructions, which, when executed by a processor, implement the above Figure 1 Or Figure 3 Corresponding to each process of the data transmission method embodiment, and the same technical effect can be achieved, in order to avoid repetition, here will not repeat.
[0154] The terms "first", "second", and the like in the embodiments of the application are used to distinguish similar objects, and do not necessarily have to describe a specific order or sequence. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device including a series of steps or units does not have to be limited to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices. In addition, "and / or" is used in the present application to represent at least one of the connected objects, for example, A and / or B and / or C, which represents 8 cases including A alone, B alone, C alone, A and B, B and C, A and C, and A, B and C.
[0155] It should be noted that in this paper, the term "include", "contain" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or includes elements inherent to such process, method, article or device. Without more limitations, the element defined by the statement "including a" does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0156] Those skilled in the art can clearly understand the above-mentioned embodiment method can be realized by means of software and the necessary general hardware platform, of course, also can be through hardware, but in many cases the former is the better embodiment. Based on such understanding, the technical solutions of the present application essentially or say the part of the prior art to make contributions can be embodied in the form of software products, the computer software product is stored in a storage medium (such as ROM / RAM, magnetic disc, optical disc), including a number of instructions to make a terminal (may be a mobile phone, computer, server, air conditioner, or the second terminal device, etc.) executes the method of each embodiment of the present application.
[0157] The embodiments of the present application are described above in combination with the drawings, but the present application is not limited to the above-mentioned specific embodiments, the above-mentioned specific embodiments are only illustrative, not restrictive, those skilled in the art can make many forms without departing from the scope of the present application and the protection scope of the claims under the inspiration of the present application, all of which belong to the protection of the present application.
Claims
1. A data transmission method, applied to a network-side device, characterized in that, include: Receive a Protocol Data Unit (PDU) session establishment request from the Access and Mobility Management Function (AMF), wherein the PDU session establishment request includes the first transport layer address of the User Plane Function (UPF). The first path maximum transmission unit (PMTU) is determined based on the first transport layer address of the UPF. Based on the first PMTU, the terminal device sends a first Radio Resource Control (RRC) configuration message, which includes the Maximum Transmission Unit (MTU) of the Data Radio Bearer (DRB) instance. The terminal device is used to adjust the length of the data packets sent when transmitting data in the DRB instance based on the MTU.
2. The method as described in claim 1, characterized in that, The determination of the first PMTU based on the first transport layer address of the UPF includes: In the case where multiple addresses include the first transport layer address, the first PMTU is determined based on the first mapping relationship corresponding to the first transport layer address in a preset mapping table. The preset mapping table includes multiple addresses and the mapping relationship corresponding to each address. The mapping relationship is used to characterize the PMTU corresponding to the corresponding address.
3. The method as described in claim 2, characterized in that, The process of determining the first PMTU based on the first transport layer address of the UPF further includes: If the first transport layer address is not included in the plurality of addresses, the first PMTU corresponding to the first transport layer address is explored based on the Path Maximum Transmission Unit Discovery (PMTUD) protocol. Add the first mapping relationship between the first transport layer address and the first PMTU to the preset mapping table.
4. The method as described in claim 2, characterized in that, The plurality of addresses includes a second transport layer address, and the method further includes: If the time elapsed since the creation of the second mapping relationship corresponding to the second transport layer address reaches a set time threshold, the second mapping relationship is deleted from the preset mapping table.
5. The method according to any one of claims 1 to 4, characterized in that, The step of sending a first Radio Resource Control (RRC) configuration message to the terminal device based on the first PMTU includes: The information element IE is configured based on the first PMTU, wherein the IE includes the value of the MTU; Send the first RRC configuration message, including the IE, to the terminal device.
6. The method according to any one of claims 1 to 4, characterized in that, The method further includes: If the MTU of the backhaul link of the PDU session is detected to be less than the MTU of the DRB instance, or if the change in the MTU of the backhaul link of the PDU session is detected to be greater than a set change threshold, an updated value of the MTU of the DRB instance is generated. A second RRC configuration message is sent to the terminal device, the second RRC configuration message including the updated value.
7. A data transmission method applied to a terminal device, characterized in that, include: Receive the first Radio Resource Control (RRC) configuration message sent by the network-side device; The first RRC configuration message is parsed to obtain the maximum transmission unit (MTU) of the data radio bearer (DRB) instance; Data packets are sent based on the DRB instance, and the length of the data packets is less than the length corresponding to the MTU.
8. The method as described in claim 7, characterized in that, The method further includes: Receive the second RRC configuration message sent by the network-side device; The second RRC configuration message is parsed to obtain the updated value; The MTU is updated based on the updated value.
9. A data transmission device, characterized in that, include: The receiving module is used to receive a Protocol Data Unit (PDU) session establishment request from the Access and Mobility Management Function (AMF), wherein the PDU session establishment request includes the first transport layer address of the User Plane Function (UPF). The determination module is used to determine the first path maximum transmission unit (PMTU) based on the first transport layer address of the UPF. The first sending module is configured to send a first Radio Resource Control (RRC) configuration message to the terminal device based on the first PMTU. The first RRC configuration message includes the Maximum Transmission Unit (MTU) of the Data Radio Bearer (DRB) instance. The terminal device is configured to adjust the length of the data packets sent when transmitting data in the DRB instance based on the MTU.
10. A data transmission device, characterized in that, include: The first receiving module is used to receive the first Radio Resource Control (RRC) configuration message sent by the network-side device; The parsing module is used to parse the first RRC configuration message to obtain the maximum transmission unit (MTU) of the data radio bearer (DRB) instance. The first sending module is used to send data packets based on the DRB instance, wherein the length of the data packets is less than the length corresponding to the MTU.
11. A network-side device, characterized in that, Including transceivers and processors, The transceiver is used to receive a Protocol Data Unit (PDU) session establishment request from the Access and Mobility Management Function (AMF), wherein the PDU session establishment request includes the first transport layer address of the User Plane Function (UPF). The processor is configured to determine the first path maximum transmission unit (PMTU) based on the first transport layer address of the UPF. The transceiver is further configured to send a first Radio Resource Control (RRC) configuration message to the terminal device based on the first PMTU. The first RRC configuration message includes the Maximum Transmission Unit (MTU) of the Data Radio Bearer (DRB) instance. The terminal device is configured to adjust the length of the data packets sent when transmitting data in the DRB instance based on the MTU.
12. A terminal device, characterized in that, Including transceivers and processors, The transceiver is used to receive a first Radio Resource Control (RRC) configuration message sent by a network-side device. The processor is used to parse the first RRC configuration message to obtain the maximum transmission unit (MTU) of the data radio bearer (DRB) instance. The transceiver is also used to send data packets based on the DRB instance, wherein the length of the data packets is less than the length corresponding to the MTU.
13. An electronic device, characterized in that, include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the data transmission method as described in any one of claims 1 to 8.
14. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the data transmission method as described in any one of claims 1 to 8.
15. A computer program product, characterized in that, It includes computer instructions that, when executed by a processor, implement the steps of the data transmission method as described in any one of claims 1 to 8.