Communication method and device
By enabling access network devices to autonomously determine and notify data flow congestion, and combining information from session management network elements, flow tables are established for wireless RDMA flow control. This solves the gap in flow control in wireless communication and achieves low latency and high performance service assurance.
Patent Information
- Application Number
- CN202410978981.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-19
- Publication Date
- 2026-01-20
AI Technical Summary
In wireless communication scenarios, how to effectively perform flow control to ensure low latency and high performance of services, especially when introducing Remote Direct Memory Access (RDMA) technology, is a gap that existing technologies have not yet addressed.
Access network devices automatically determine data flow congestion based on the flow control parameters of the PDU session, and perform flow control by sending congestion notification packets. They also establish flow tables by combining information and capability information provided by the session management network element to reduce transmission latency.
It enables timely flow control in wireless RDMA scenarios, reduces transmission latency, ensures low latency and high performance of services, simplifies device logic, and improves the efficiency of flow control.
Smart Images

Figure CN121367951A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of communication, and particularly relates to a communication method and device. BACKGROUND
[0002] In a wired communication scenario, in order to solve the high throughput and low delay demand in network transmission, a remote direct memory access (RDMA) technology is proposed. The RDMA technology is a technology of directly transmitting data between remote computing nodes without intervention of an operating system. When the RDMA technology is used for data transmission, flow control can be started to reduce the influence of network packet loss on network transmission efficiency. However, in a wireless communication scenario, how to perform flow control by introducing the RDMA technology is still in a blank state. SUMMARY
[0003] The present application provides a communication method and device, which can perform flow control by using the RDMA technology in a wireless communication scenario, thereby guaranteeing low delay of services and improving performance and quality of services.
[0004] In a first aspect, a communication method is provided. The method can be executed by an access network device, or can be executed by a module (such as a processor, a chip, or a chip system) applied to the access network device, and can also be implemented by a logic node, a logic module, or software that can realize all or part of the functions of the access network device. Taking the method applied to the access network device as an example, in the method, the access network device can determine that a data flow of a first protocol data unit (PDU) session is congested based on a first flow control parameter of the first PDU session, and the first PDU session is a session established by a terminal and a server for communication. In this way, the access network device can send a first congestion notification packet (CNP) message based on a first flow table of the first PDU session, and the first flow table is used to indicate a forwarding path of the data flow of the first PDU session, and the first CNP message is used to notify that the data flow of the first PDU session is congested.
[0005] It can be seen that in the above embodiments, the access network device can determine that the data flow of the first PDU session is congested based on the first traffic control parameter of the first PDU session, so as to send the first congestion notification packet message based on the first flow table of the first PDU session, and then use the RDMA technology to perform traffic control in the wireless communication scenario, such as reducing the queue backlog on the congested side. This can guarantee the low delay of the service, does not affect the throughput of the service, and improves the performance and quality of the service. On the other hand, the access network device can determine that the number of flows passing through the access network device is congested based on the first traffic control parameter, and send the first congestion notification packet message based on the first flow table, that is, the determination that the data flow of the first PDU session is congested and the sending of the first congestion notification packet message are performed by a single device, i.e., the access network device. This avoids the transmission delay problem caused by the determination that the data flow of the first PDU session is congested and the sending of the first congestion notification packet message being performed by different devices. For example, for downlink transmission, assuming that the determination that the data flow of the first PDU session is congested is performed by the access network device, and the sending of the first congestion notification packet message is performed by the terminal, this means that the access network device needs to send a packet marked with an explicit congestion notification (ECN) to the terminal when determining that the data flow of the first PDU session is congested, thereby helping the terminal to send the first congestion notification packet message. However, in this case, the marked packet needs to be transmitted over the air to the terminal, and the first congestion notification packet message also needs to be transmitted over the air to the access network device and then to the server. This means that from the time the access network device determines that the data flow of the first PDU session is congested to the time the server receives the first congestion notification packet message, there are two air transmissions, which will have two air transmission delays. The air transmission delay is relatively uncontrollable, which may cause a certain hysteresis in the wireless RDMA traffic control. Therefore, the determination that the data flow of the first PDU session is congested and the sending of the first congestion notification packet message are performed by the access network device, which can reduce the two air transmission delays, can achieve more timely wireless RDMA traffic control, and can eliminate congestion more timely.
[0006] In a possible implementation, the method further includes: receiving, by the access network device, the first information from the session management network element, the first information being used to determine the first traffic control parameter.
[0007] It can be seen that in the above embodiments, the access network device can obtain the first information used to determine the first traffic control parameter from the session management network element, so as to determine that the data flow of the first PDU session is congested based on the first traffic control parameter. That is, the access network device can participate in the wireless RDMA traffic control, so that the elimination of congestion is more timely.
[0008] In a possible implementation, the method further includes: the first information is a first quality of service (QoS) requirement corresponding to the first PDU session, and the access network device determines the first flow control parameter based on the first QoS requirement.
[0009] It can be seen that, in the above embodiments, the access network device can determine the first flow control parameter based on the first QoS requirement from the session management network element. This enables the access network device to autonomously determine the first flow control parameter, so that the first flow control parameter determined by the access network device can better meet the requirements of the access network device, and helps the access network device to better perform congestion judgment.
[0010] In a possible implementation, the access network device determines the first flow control parameter based on the first QoS requirement, including: the access network device determines the first flow control parameter based on the first QoS requirement and capability information of the access network device, and the capability information of the access network device includes an air interface transmission rate and / or a buffer size supported by the access network device.
[0011] It can be seen that, in the above embodiments, the access network device can determine the first flow control parameter in combination with the first QoS requirement and the capability information of the access network device, reducing the case that the first flow control parameter determined by the access network device does not meet the capability of the access network device, and helping the access network device to better perform congestion judgment.
[0012] In a possible implementation, the access network device determines the first flow control parameter based on the first QoS requirement corresponding to the first PDU session, including: the access network device determines the first flow control parameter based on the first QoS requirement and a first correspondence relationship. The first correspondence relationship includes a correspondence relationship between a plurality of QoS requirements and a plurality of flow control parameters, and the correspondence relationship between the plurality of QoS requirements and the plurality of flow control parameters includes a correspondence relationship between the first QoS requirement and the first flow control parameter.
[0013] It can be seen that, in the above embodiments, the first QoS requirement corresponds to the first flow control parameter, so that the access network device can determine the first flow control parameter based on the first QoS requirement and the first correspondence relationship, thereby being able to more timely determine that the data flow of the first PDU session is congested.
[0014] In a possible implementation, the first information is the first flow control parameter.
[0015] It can be seen that, in the above embodiments, the access network device can obtain the first flow control parameter from the session management network element, which indicates that the access network device does not need to determine the first flow control parameter by itself, simplifies the logic on the access network device side, and improves the efficiency.
[0016] In a possible implementation, the method further includes: sending, by the access network device, capability information of the access network device to the session management network element, wherein the capability information of the access network device includes an air interface transmission rate and / or a buffer size supported by the access network device.
[0017] It can be seen that, in the above embodiments, the access network device can send capability information to the session management network element to help the session management network element determine the first traffic control parameter, thereby reducing the case that the first traffic control parameter determined by the session management network element does not conform to the capability of the access network device, and helping the access network device to better perform congestion determination.
[0018] In a possible implementation, the method further includes: receiving, by the access network device, second information from the session management network element, wherein the second information is used to obtain the capability information of the access network device.
[0019] In a possible implementation, the method further includes: establishing, by the access network device, the first flow table based on queue pair (QP) chaining information of the terminal and QP chaining information of the server.
[0020] It can be seen that, in the above embodiments, the access network device can autonomously establish the first flow table by using the QP chaining information of the terminal and the QP chaining information of the server, to prepare for subsequent sending of the first congestion notification packet message.
[0021] In a possible implementation, the method further includes: receiving, by the access network device, the QP chaining information of the terminal and the QP chaining information of the server from the session management network element.
[0022] In a possible implementation, the method further includes: obtaining, by the access network device, a first message in a data flow of the first PDU session, wherein the first message includes a source address, a destination address, a destination QP field, a source QP field, and a port index, so that the first flow table can be established based on the source address, the destination address, the destination QP field, the source QP field, and the port index. The source address is an address of the terminal, the destination address is an address of the server, the destination QP field is used to indicate a QP number of the server, the source QP field is used to indicate a QP number of the terminal, and the port index indicates a port of the server. Alternatively, the source address is an address of the server, the destination address is an address of the terminal, the destination QP field is used to indicate a QP number of the terminal, the source QP field is used to indicate a QP number of the server, and the port index indicates a port of the terminal.
[0023] It can be seen that, in the above embodiments, the access network device can autonomously establish the first flow table by using the first message in the data flow of the first PDU session, to prepare for subsequent sending of the first congestion notification packet message.
[0024] In a possible implementation, the method further includes: receiving, by the access network device, first indication information from the session management network element, the first indication information being used to instruct the access network device to establish the first flow table.
[0025] In a possible implementation, the method further includes: receiving, by the access network device, the first flow table from the session management network element.
[0026] It can be seen that, in the above embodiments, the access network device can obtain the first flow table from the session management network element, which indicates that the access network device does not need to determine the first flow table by itself, simplifies the logic on the access network device side, and improves the efficiency.
[0027] In a possible implementation, the method further includes: receiving, by the access network device, second indication information from the session management network element, the second indication information being used to instruct the access network device to start traffic control for the first PDU session.
[0028] In a second aspect, a communication method is provided, which can be executed by a session management network element, or can also be executed by a module (for example, a processor, a chip, or a chip system) applied to the session management network element, and can also be implemented by a logical node, a logical module, or software that can implement all or part of the functions of the session management network element. Taking the case that the method is applied to the session management network element, in the method, the session management network element can determine to use the RDMA protocol to transmit a data flow of a first PDU session, and the first PDU session is a session established by a terminal and a server for communication. In this way, the session management network element can send first information to an access network device, the first information being used to determine a first traffic control parameter of the first PDU session, and the first traffic control parameter being used to determine that the data flow of the first PDU session is congested.
[0029] It can be seen that, in the above embodiments, the session management network element, after learning that the data flow of the first PDU session is transmitted by using the RDMA protocol, can send first information used to determine the first traffic control parameter to the access network device, so that the access network device can determine that the data flow of the first PDU session is congested based on the first traffic control parameter. That is, the access network device can participate in the traffic control of the wireless RDMA, so that the elimination of congestion is more timely.
[0030] In a possible implementation, the session management network element determining to use the RDMA protocol to transmit the data flow of the first PDU session includes: the session management network element obtaining a request message, the request message being used to instruct to use the RDMA protocol to transmit the data flow of the first PDU session. In this way, the session management network element can determine to use the RDMA protocol to transmit the data flow of the first PDU session based on the request message.
[0031] In a possible implementation, the request message comprises at least one of: a transport type of the RDMA protocol, a protocol version of the RDMA protocol, or a service type of the RDMA protocol.
[0032] In a possible implementation, the session management network element determines, based on the request message, that the data flow of the first PDU session is transmitted by using the RDMA protocol, comprising: the session management network element determines, based on the request message and subscription information of the terminal, that the data flow of the first PDU session is transmitted by using the RDMA protocol, the subscription information of the terminal comprising a session type of the first PDU session and / or a protocol version of the RDMA protocol supported by the terminal, the session type of the first PDU session being used to indicate that the first PDU session is a PDU session for transmission based on the RDMA protocol.
[0033] In a possible implementation, the first information is a first QoS requirement corresponding to the first PDU session.
[0034] It can be seen that, in the above embodiments, the session management network element can indicate the first QoS requirement to the access network device, so as to facilitate the access network device to autonomously determine the first traffic control parameter based on the first QoS requirement, thereby making the first traffic control parameter determined by the access network device more meet the requirements of the access network device, and helping the access network device to better perform congestion judgment.
[0035] In a possible implementation, the first information is a first traffic control parameter.
[0036] It can be seen that, in the above embodiments, the session management network element can indicate the first traffic control parameter to the access network device. This indicates that the access network device does not need to determine the first traffic control parameter by itself, simplifies the logic on the access network device side, and improves the efficiency.
[0037] In a possible implementation, the method further comprises: determining, by the session management network element, the first traffic control parameter based on a first QoS requirement corresponding to the first PDU session.
[0038] It can be seen that, in the above embodiments, the session management network element can determine the first traffic control parameter in combination with the first QoS requirement, and thus can indicate the first traffic control parameter to the access network device. This indicates that the access network device does not need to determine the first traffic control parameter by itself, simplifies the logic on the access network device side, and improves the efficiency.
[0039] In a possible implementation, the session management network element determines the first traffic control parameter based on the first QoS requirement, comprising: the session management network element determines the first traffic control parameter based on the first QoS requirement and capability information of the access network device, the capability information of the access network device comprising an air interface transmission rate and / or a buffer size supported by the access network device.
[0040] It can be seen that in the above embodiments, the session management network element can determine the first traffic control parameter in combination with the first QoS requirement and the capability information of the access network device, reducing the case that the first traffic control parameter determined by the session management network element does not conform to the capability of the access network device, and helping the access network device to better perform congestion judgment.
[0041] In a possible implementation, the method further includes: receiving, by the session management network element, the capability information of the access network device.
[0042] In a possible implementation, the method further includes: sending, by the session management network element, second information to the access network device, the second information being used to acquire the capability information of the access network device.
[0043] In a possible implementation, the method further includes: acquiring, by the session management network element, QP chaining information of the terminal and QP chaining information of the server, the QP chaining information of the terminal and the QP chaining information of the server being used to establish a first flow table of the first PDU session, the first flow table being used to indicate a forwarding path of a data flow of the first PDU session. In this way, the session management network element can send the QP chaining information of the terminal and the QP chaining information of the server to the access network device.
[0044] It can be seen that in the above embodiments, the session management network element can indicate the QP chaining information of the terminal and the QP chaining information of the server to the access network device, so as to facilitate the access network device to autonomously establish the first flow table based on the QP chaining information of the terminal and the QP chaining information of the server, and prepare for subsequent sending of the first congestion notification packet.
[0045] In a possible implementation, the method further includes: sending, by the session management network element, first indication information to the access network device, the first indication information being used to instruct the access network device to establish the first flow table.
[0046] In a possible implementation, the method further includes: sending, by the session management network element, the first flow table to the access network device.
[0047] In a possible implementation, the method further includes: sending, by the session management network element, second indication information to the access network device, the second indication information being used to instruct the access network device to start traffic control for the first PDU session.
[0048] In a third aspect, a communication apparatus is provided, which comprises means or modules for implementing any of the methods in any of the first aspect to the second aspect. The communication apparatus can be an access network device, or a module (for example, a processor, a chip, or a chip system, etc.) of the access network device, or a logical node, a logical module, or software capable of realizing all or part of the functions of the access network device. Alternatively, the communication apparatus can be a session management network element, or a module (for example, a processor, a chip, or a chip system, etc.) of the session management network element, or a logical node, a logical module, or software capable of realizing all or part of the functions of the session management network element.
[0049] In a fourth aspect, a communication apparatus is provided, which comprises at least one processor; wherein the at least one processor is configured to implement any of the methods in any of the first aspect to the second aspect. The communication apparatus can be an access network device, or a module (for example, a processor, a chip, or a chip system, etc.) of the access network device, or a logical node, a logical module, or software capable of realizing all or part of the functions of the access network device. Alternatively, the communication apparatus can be a session management network element, or a module (for example, a processor, a chip, or a chip system, etc.) of the session management network element, or a logical node, a logical module, or software capable of realizing all or part of the functions of the session management network element. The at least one processor can execute a computer program or instructions in a memory, so that the above method is executed. The memory can be included in the communication apparatus, or located outside the communication apparatus. In addition, the communication apparatus can further comprise an interface.
[0050] In a fifth aspect, a computer readable storage medium is provided, which stores computer instructions, when the computer instructions are executed, causing a computer to execute any of the methods in any of the first aspect to the second aspect.
[0051] In a sixth aspect, a computer program product is provided, which comprises computer program codes, when the computer program codes are run by a computer, causing the computer to execute any of the methods in any of the first aspect to the second aspect.
[0052] In a seventh aspect, a chip is provided, which comprises at least one processor and an interface, the processor being configured to read and execute instructions stored in a memory, when the instructions are run, causing the chip to execute any of the methods in any of the first aspect to the second aspect.
[0053] In an eighth aspect, a communication system is provided, which comprises an access network device for executing any of the methods in the first aspect, and a session management network element for executing any of the methods in the second aspect.
[0054] It should be understood that the second aspect to the eighth aspect of the present application correspond to the technical solutions of the first aspect of the present application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation manners are similar, which will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS
[0055] Figure 1 A basic architecture of a communication system provided by an embodiment of the present application;
[0056] Figure 2 A flowchart of a communication method provided by an embodiment of the present application;
[0057] Figure 3 A flowchart of another communication method provided by an embodiment of the present application;
[0058] Figure 4 A flowchart of another communication method provided by an embodiment of the present application;
[0059] Figure 5 A flowchart of another communication method provided by an embodiment of the present application;
[0060] Figure 6 A flowchart of another communication method provided by an embodiment of the present application;
[0061] Figure 7 A flowchart of another communication method provided by an embodiment of the present application;
[0062] Figure 8 A structural schematic diagram of a communication device provided by an embodiment of the present application;
[0063] Figure 9 A structural schematic diagram of another communication device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0064] The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. In the embodiments of the present application, the terms "system" and "network" can be used interchangeably. Unless otherwise specified, " / " represents an "or" relationship between the objects before and after the " / " symbol, for example, A / B can represent A or B; in the present application, "and / or" is only used to describe the relationship between the associated objects, which means that there can be three relationships, for example, A and / or B can represent: A alone, A and B together, and B alone, where A and B can be singular or plural. In addition, in the description of the present application, "multiple" means two or more than two. "At least one of the following" or similar expressions means any combination of the items, including any combination of single item or multiple items. For example, at least one of a, b, or c can represent: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, and c can be one or more. In addition, in order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, the same items or similar items with basically the same function are distinguished by "first", "second", etc. The skilled in the art can understand that "first", "second", etc. do not limit the quantity and execution order, and "first", "second", etc. do not necessarily mean different.
[0065] In the embodiments of the present application, the reference to "one embodiment" or "some embodiments" means that the specific features, structures or characteristics described in connection with the embodiment are included in one or more embodiments of the present application. Therefore, the statements "in one embodiment", "in some embodiments", "in other some embodiments", "in other some embodiments" and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized. The terms "include", "contain", "have" and their variants mean "include but not limited to", unless otherwise specifically emphasized.
[0066] The following detailed description further describes the objects, technical solutions and beneficial effects of the present application. It should be understood that the following is only a specific embodiment of the present application and does not limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made on the basis of the technical solutions of the present application shall be included in the protection scope of the present application.
[0067] In various embodiments of the present application, the terms and / or descriptions of different embodiments are consistent and can be referred to each other if there is no special description and logical conflict. The technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationship.
[0068] It should be understood that the technical solutions of the embodiments of the present application can be applied to long term evolution (LTE) architecture, 5th generation mobile networks (5G), 6G communication system, Internet of Things (IoT), wireless local area networks (WLAN) system, vehicle to everything (V2X) communication system, LTE-vehicle (LTE-V), vehicle to vehicle (V2V), Internet of Vehicles, machine type communications (MTC), etc. The technical solutions of the embodiments of the present application can also be applied to future other communication systems, in which the functions may remain the same but the names may change.
[0069] In order to facilitate the understanding of the embodiments of the present application, the 5G network architecture shown in Figure 1 is taken as an example to introduce the communication system, and the specific content can be referred to 3rd generation partnership project (3GPP) technical specifications (TS) 23.501. The functions of each network element can also be referred to other technical specifications of 3GPP. The following will be combined with Figure 1 A brief description of the devices that may be involved in various embodiments of the present application is given. As shown in Figure 1 , it includes a terminal part, an access network (AN) part, and a core network part. Optionally, the network architecture can also include a data network (DN) part and / or an application network element part. The terminal accesses the core network through the access network, and the core network communicates with the data network or the application network element.
[0070] A terminal device, which can also be referred to as a user equipment (UE) or the like, is a device with wireless transceiver function, which can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; can also be deployed on water (such as ships, etc.); can also be deployed in the air (such as airplanes, balloons and satellites, etc.). The terminal can be a mobile phone, a tablet computer, a computer with wireless transceiver function, a virtual reality (VR) terminal, an augmented reality (AR) terminal, a wireless terminal in industrial control, a wireless terminal in self driving, a wireless terminal in remote medical, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, a wireless terminal in internet of things (IOT), etc.
[0071] The access network part includes access network devices. The access network device is a device that accesses a terminal to a wireless network in a mobile communication system. The access network device, as a node in a radio access network, can also be referred to as an access network element, a base station, a radio access network (RAN) node (or device, or element), an access point (AP), or a network device, etc. The access network device in the embodiments of the present application includes but is not limited to: an evolved universal terrestrial radio access network (E-UTRAN), a next-generation base station (gNB), an evolved node B (eNB), a non-ground network device, a radio network controller (RNC), a node B (NB), a base station controller (BSC), a base transceiver station (BTS), a home base station (for example, a home evolved node B, or a home node B, HNB), a baseband unit (BBU), a wireless fidelity (WiFi) access point, a world interoperability for microwave access (WiMAX) base station, a transmitting and receiving point (TRP), a transmitting point (TP), or a mobile switching center, etc. In systems using different wireless access technologies, the names of devices with base station functions may be different, for example, in a 5G communication system, it is called a RAN or gNB (5G NodeB); in an LTE system, it is called an evolved node B (eNB or eNodeB); in a third generation (3rd generation, 3G) communication system, it is called a node B (Node B), etc. In some deployments of the access network device, the access network device can include a centralized unit (CU) and a distributed unit (DU), etc. In other deployments of the access network device, the CU can also be divided into a CU-control plane (CP) and a CU-user plane (UP), etc. In still other deployments of the access network device, the access network device can also include a radio unit (RO).In yet some deployments of the access network device, the access network device can be an open radio access network (ORAN) architecture, a cloud RAN, etc. The ORAN can also be referred to as a virtualized RAN. For example, when the access network device is an ORAN architecture, the access network device of the embodiments of the present application can be an access network element in the ORAN, or a module of the access network element, etc. In the ORAN system, the CU can also be referred to as an open (O)-CU, the DU can also be referred to as an O-DU, the CU-CP can also be referred to as an O-CU-CP, the CU-UP can also be referred to as an O-CU-UP, and the RU can also be referred to as an O-RU. For the convenience of description, the CU, the CU-CP, the CU-UP, the DU, and the RU are taken as examples for description in the present application. Any one of the CU (or the CU-CP, the CU-UP), the DU, and the RU in the present application can be implemented by a software module, a hardware module, or a combination of a software module and a hardware module.
[0072] The data network is a network outside the mobile communication system, and can provide services for the user. For example, the data network can be a packet data network (PDN), such as the Internet, an internet protocol multi-media service (IMS) network, a data network dedicated to some application, an Ethernet, an internet protocol (IP) local network, etc., which are not limited in the embodiments of the present application. Various services can be deployed on the data network, and the data network can provide data, voice, short message, etc. services for the terminal. There can be multiple application servers (ASs) in the data network, and each AS can provide at least one service.
[0073] The application network element mainly supports interaction with the 3GPP core network to provide services, such as affecting data routing decisions, policy control functions, or providing some services of third parties to the network side. In the 5G communication system, the application network element can be an application function (AF) network element. In future communication systems, the application network element can still be an AF network element, or can also have other names, which are not limited in the embodiments of the present application.
[0074] The network elements in the core network part can be divided into two categories: user plane function network elements (which can also be referred to as user plane network elements) and control plane function network elements (which can also be referred to as control plane network elements). The control plane function network elements include access management network elements, session management network elements, data management network elements, and policy control network elements, etc.
[0075] Among them, the user plane network element is responsible for the forwarding and receiving of user data in the terminal. User data can be received from the data network and transmitted to the terminal through the access network device; the user plane network element can also receive user data from the terminal through the access network device and forward it to the data network. In the 5G communication system, the user plane network element can be a user plane function (UPF) network element. In future communication systems, the user plane network element can still be a UPF network element, or it can also have other names, and the embodiments of the present application do not limit it.
[0076] The access management network element is a control plane network element provided by the operator network, which is responsible for access control and mobility management of terminal access to the operator network, including functions such as mobile state management, allocation of user temporary identity, authentication and user, etc. In the 5G communication system, the access management network element can be an access and mobility management function (AMF) network element. In future communication systems, the access management network element can still be an AMF network element, or it can also have other names, and the embodiments of the present application do not limit it.
[0077] The session management network element is mainly responsible for session management in the mobile network, such as session establishment, modification, and release. Specific functions such as allocating IP addresses for users, selecting user plane network elements that provide message forwarding functions, etc. In the 5G communication system, the session management network element can be a session management function (SMF) network element. In future communication systems, the session management network element can still be an SMF network element, or it can also have other names, and the embodiments of the present application do not limit it.
[0078] The data management network element is used to generate authentication trust status, user identity processing (such as storing and managing user permanent identity, etc.), access control and subscription data management, etc. In the 5G communication system, the data management network element can be a unified data management (UDM) network element. In future communication systems, the unified data management network element can still be a UDM network element, or it can also have other names, and the embodiments of the present application do not limit it.
[0079] The policy control network element mainly supports providing a unified policy framework to control network behavior, providing policy rules to the control layer network function, and being responsible for obtaining user subscription information related to policy decision. In the 5G communication system, the policy control network element can be a policy control function (PCF) network element. In the future communication system, the policy control network element can still be a PCF network element, or can also have other names, which are not limited in the embodiments of the present application.
[0080] Figure 1 The interfaces between multiple communication devices in the communication system are also shown in the communication system. For example, Figure 1 N1, N2, N3, N4, N5, N6, N7, N8, N10, N11, and N25 in the communication system are interface sequence numbers. The meanings of these interface sequence numbers can be referred to the meanings defined in the 3GPP standard protocol, which are not limited herein.
[0081] It can be understood that Figure 1 The network elements or functions shown in the communication system can be network elements in hardware devices, or software functions running on special hardware, or virtualized functions instantiated on a platform (for example, a cloud platform), or a combination of the above. In a possible implementation, the network elements or functions can be implemented by one device, or by multiple devices together, or by a functional module in one device, and the embodiments of the present application do not make specific limitations. In addition, in the following, in order to facilitate description, the term "network element" can be omitted. For example, the SMF network element in the embodiments of the present application has the same meaning as the SMF, and only the term "network element" is omitted for the convenience of description, and the rest is similar. It should be noted that the embodiments of the present application also do not limit the names of the network elements in the communication system. For example, in different communication systems, the network elements can have other names; for example, when multiple network elements are integrated in the same physical device, the physical device can also have other names.
[0082] The embodiments of the present application will be described in detail below. Figure 1 The embodiments of the present application will be described in detail below.
[0083] Reference is made to Figure 2 , Figure 2 is a flowchart of a communication method provided by the embodiments of the present application. As Figure 2 shown, the method includes but is not limited to the following steps:
[0084] 201, the access network device determines that the data flow of the first PDU session is congested based on the first traffic control parameter of the first PDU session, and the first PDU session is a session established for communication between the terminal and the server.
[0085] The first traffic control parameter can be used to determine whether the data flow of the first PDU session is congested. That is, the access network device can determine whether the data flow of the first PDU session is congested based on the first traffic control parameter. For example, the first traffic control parameter can include at least one of the following: an ECN threshold upper limit, an ECN threshold lower limit, and an ECN marking probability. When the number of packets in a queue in the access network device used to buffer the data flow of the first PDU session is greater than or equal to the ECN threshold upper limit, the access network device can mark all the packets in the queue with ECN. When the number of packets in the queue is greater than or equal to the ECN threshold lower limit and less than or equal to the ECN threshold upper limit, the access network device can mark the packets in the queue with ECN based on the ECN marking probability. When the number of packets in the queue is less than or equal to the ECN threshold lower limit, the access network device can not mark the packets in the queue with ECN. The packets marked with ECN in the queue indicate that the data flow of the first PDU session is congested.
[0086] Optionally, the packets marked with ECN can be understood as: the ECN field in the packet header of the packet is marked as (congestion encountered, CE), or the value of the ECN field in the packet header of the packet is 11 or other values. In this case, the packet can be referred to as a CE packet. The specific naming of the packet does not limit the protection scope of the present application.
[0087] The following describes how the access network device obtains the first traffic control parameter.
[0088] For example, the first traffic control parameter can be indicated to the access network device by the session management network element in a direct or indirect manner, or predefined, or preconfigured, or determined by the access network device itself, which is not limited herein.
[0089] For example, the access network device can receive first information from the session management network element, and the first information is used to determine the first traffic control parameter. The following describes several implementation manners of the first information.
[0090] I. The first information is a first QoS requirement corresponding to the first PDU session. This can be regarded as that the first traffic control parameter is indicated to the access network device by the session management network element in an indirect manner. For the access network device, the first traffic control parameter can be determined based on the first QoS requirement. The QoS requirement can include one or more of the following: a default priority value, a delay, a packet loss rate, a burst data size, an average window, and the like.
[0091] The following describes how the access network device determines the first traffic control parameter based on the first QoS requirement.
[0092] The access network device determines the first flow control parameter based on the first QoS requirement and capability information of the access network device. The capability information of the access network device includes an air interface transmission rate supported by the access network device and / or a buffer size.
[0093] The access network device determines the first flow control parameter based on the first QoS requirement and the first correspondence relationship. The first correspondence relationship includes a correspondence relationship between a plurality of QoS requirements and a plurality of flow control parameters, and the correspondence relationship between the plurality of QoS requirements and the plurality of flow control parameters includes a correspondence relationship between the first QoS requirement and the first flow control parameter.
[0094] Optionally, the first correspondence relationship can be indicated to the access network device by the session management network element in a direct or indirect manner, or predefined, or preconfigured, which is not limited herein. For example, the first correspondence relationship is preconfigured in the access network device in the process of establishing a connection between the access network device and the terminal.
[0095] Optionally, the plurality of QoS requirements and the plurality of flow control parameters in the first correspondence relationship can be one-to-one correspondence. For example, the first correspondence relationship can be in the form of a table, such as any row and / or any column therein, and the like, which can be referred to Table 1. In Table 1, QoS requirement 1 corresponds to flow control parameter 1 one-to-one. QoS requirement 2 corresponds to flow control parameter 2 one-to-one, and the rest are similar, which is not described herein.
[0096] Table 1
[0097] QoS requirements Traffic control parameters QoS requirement 1 Traffic control parameter 1 QoS requirement 2 Traffic control parameter 2 … …
[0098] Second, the first information is the first flow control parameter. This can be regarded as the first flow control parameter being determined by the session management network element and being indicated to the access network device in a direct manner. For the access network device, there is no need to determine the first flow control parameter by itself, which simplifies the logic on the access network device side and improves the efficiency.
[0099] The following describes when the access network device adopts the first flow control parameter to determine that the data flow of the first PDU session is congested.
[0100] For example, the access network device can determine that the data flow of the first PDU session is congested based on the first flow control parameter of the first PDU session when or after the flow control is started for the first PDU session. The access network device can learn that the flow control is started for the first PDU session directly or indirectly. For example, the access network device can receive second indication information from the session management network element, and the second indication information is used to indicate that the access network device starts the flow control for the first PDU session. Alternatively, the access network device does not receive the second indication information, and the access network device can determine that the flow control is started for the first PDU session based on the first information. That is, because the first information is used to determine the first flow control parameter, the access network device can start the flow control for the first PDU session when or after the first information is received. For example, for the scenario that the first QoS requirement corresponds to the first flow control parameter, the access network device can start the flow control for the first PDU session when or after the first QoS requirement is received.
[0101] The first PDU session is introduced below.
[0102] The first PDU session is a data bearer established between the terminal and the user plane network element, and is used to provide connection services for communication between the terminal and the visited network. In other words, the first PDU session is a session established for the terminal to communicate with the server. The server can be exchanged with the application network element. For ease of description, the server is taken as an example for introduction, which should not be regarded as a limitation to the present application.
[0103] Optionally, the creation process of the first PDU session can be initiated by the terminal or other devices, which is not limited in the present application.
[0104] As an example, for uplink transmission, the data flow of the first PDU session can be an uplink data flow, that is, the message in the data flow of the first PDU session comes from the terminal. In other words, the terminal can transmit the message in the sending QP to the server through the first PDU session, so that the server can cache the message in the receiving QP. In this case, the source address included in the message in the data flow of the first PDU session is the address of the terminal, the destination address included in the message is the address of the server, the destination QP (Dest QP) field included in the message is used to indicate the QP number of the server, the source QP (source QP) field included in the message is used to indicate the QP number of the terminal, and the port indicated by the port index included in the message is the port of the server.
[0105] As another example, for downlink transmission, the data flow of the first PDU session can be a downlink data flow, i.e., the packet in the data flow of the first PDU session comes from the server. In other words, the server can transmit the packet in the sending QP to the terminal through the first PDU session, so that the terminal caches the packet in the receiving QP. In this case, the source address included in the packet in the data flow of the first PDU session is the address of the server, the destination address included in the packet is the address of the terminal, the destination QP field included in the packet is used to indicate the QP number of the terminal, the source QP field included in the packet is used to indicate the QP number of the server, and the port indicated by the port index included in the packet is the port of the terminal.
[0106] Optionally, in this application, the source address, the destination address, the destination QP field, the source QP field and the port index can be located in the packet header of the packet in the data flow of the first PDU session or any other location, which is not limited herein.
[0107] In this application, the source address and the destination address can both be an internet protocol (IP) address or other address, which is not limited herein. For example, the source address is the IP address of the terminal, and the destination address is the IP address of the server. Alternatively, the source address is the IP address of the server, and the destination address is the IP address of the terminal.
[0108] In this application, the QP number can also be referred to as QP number identification, which is used to uniquely identify the QP. The QP can include a sending QP and a receiving QP.
[0109] In this application, the port index can include a local identification (LID) of the port. Optionally, the port index can also include a global identification (GID).
[0110] 202. The access network device sends a first congestion notification packet based on a first flow table of the first PDU session, the first flow table being used to indicate a forwarding path of the data flow of the first PDU session, and the first congestion notification packet being used to notify that the data flow of the first PDU session is congested.
[0111] In this application, the first flow table is used to store one or more table entries. The table entries in the first flow table can include the source address, the destination address, the destination QP number, the source QP number and the port index. Optionally, the table entries in the first flow table can also include the corresponding relationship between the source address, the destination address, the destination QP number, the source QP number and the port index.
[0112] For example, the first flow table can be in the form of a table, such as any row and / or any column therein, and the like, which can be referred to Table 2. In Table 2, IP address 1, IP address A, QP number 1, QP number A and port index 1 can be regarded as a table entry, and the rest are similar, which will not be described here.
[0113] Table 2
[0114]
[0115] The following describes how the access network device obtains the first flow table.
[0116] For example, the first flow table can be indicated to the access network device by the session management network element in a direct or indirect manner, or predefined, or preconfigured, or determined by the access network device itself, which is not limited herein.
[0117] For example, the access network device establishes the first flow table based on the terminal's QP chaining information and the server's QP chaining information. Alternatively, the access network device obtains a first packet in a data flow of the first PDU session, and the first packet includes a source address, a destination address, a destination QP field, a source QP field and a port index, so that the first flow table can be established based on the source address, the destination address, the destination QP field, the source QP field and the port index. Alternatively, the access network device receives the first flow table from the session management network element.
[0118] The terminal's QP chaining information includes at least one of the following: an address of the terminal, a port index of the terminal, or a QP number of the terminal, and the server's QP chaining information includes at least one of the following: an address of the server, a port index of the server, or a QP number of the server.
[0119] Optionally, the terminal's QP chaining information and / or the server's QP chaining information can be indicated to the access network device by some device in a direct or indirect manner. For example, the access network device can obtain the terminal's QP chaining information and the server's QP chaining information from the session management network element. Alternatively, the access network device can obtain the terminal's QP chaining information from the terminal, and the access network device can obtain the server's QP chaining information from the session management network element. The present application does not limit this.
[0120] The first packet includes a source address, a destination address, a destination QP field, a source QP field, and a port index. The source address, the destination address, the destination QP field, the source QP field, and the port index can be included in a header of the first packet or other positions of the first packet. The application does not limit the source address, the destination address, the destination QP field, the source QP field, and the port index. For uplink transmission, the first packet is from the terminal. The source address of the first packet is the address of the terminal, the destination address of the first packet is the address of the server, the destination QP field of the first packet is used to indicate the QP number of the server, the source QP field of the first packet is used to indicate the QP number of the terminal, and the port index of the first packet is used to indicate the port of the server. For downlink transmission, the first packet is from the server. The source address of the first packet is the address of the server, the destination address of the first packet is the address of the terminal, the destination QP field of the first packet is used to indicate the QP number of the terminal, the source QP field of the first packet is used to indicate the QP number of the server, and the port index of the first packet is used to indicate the port of the terminal.
[0121] Optionally, for the scheme in which the first flow table is determined by the access network device, the access network device establishes the first flow table based on the QP chaining information of the terminal and the QP chaining information of the server. Alternatively, the access network device establishes the first flow table based on the source address, the destination address, the destination QP field, the source QP field, and the port index in the first packet. The access network device can know to establish the first flow table in a direct or indirect manner. For example, the access network device can receive first indication information from the session management network element, and the first indication information is used to instruct the access network device to establish the first flow table. Alternatively, the access network device obtains the QP chaining information of the terminal and / or the QP chaining information of the server from the session management network element, and the QP chaining information of the terminal and the QP chaining information of the server can be used to establish the first flow table. Therefore, the access network device can know to establish the first flow table in such a manner.
[0122] Optionally, for the scheme in which the first flow table is indicated to the access network device by the session management network element in a direct manner, the access network device receives the first flow table from the session management network element. For this case, the session management network element can establish the first flow table based on the QP chaining information of the terminal and the QP chaining information of the server, and then send the first flow table to the access network device.
[0123] The following describes that the access network device sends the first congestion notification packet based on the first flow table of the first PDU session.
[0124] As an example, for uplink transmission, the access network device sends a first congestion notification packet message to the terminal based on the first flow table. In this case, the source address included in the first congestion notification packet message is the address of the server, the destination address included in the first congestion notification packet message is the address of the terminal, the destination QP field included in the first congestion notification packet message is used to indicate the QP number of the terminal, the source QP field included in the first congestion notification packet message is used to indicate the QP number of the server, and the port indicated by the port index included in the first congestion notification packet message is the port of the terminal. When the terminal receives the first congestion notification packet message, the terminal can adjust the sending rate of the messages in the data flow of the first PDU session, such as reducing the sending rate.
[0125] As another example, for downlink transmission, the access network device sends a first congestion notification packet message to the server based on the first flow table. In this case, the source address included in the first congestion notification packet message is the address of the terminal, the destination address included in the first congestion notification packet message is the address of the server, the destination QP field included in the first congestion notification packet message is used to indicate the QP number of the server, the source QP field included in the first congestion notification packet message is used to indicate the QP number of the terminal, and the port indicated by the port index included in the first congestion notification packet message is the port of the server. When the server receives the first congestion notification packet message, the server can adjust the sending rate of the messages in the data flow of the first PDU session, such as reducing the sending rate.
[0126] Referring to Figure 3 , Figure 3 is a flow diagram of another communication method provided by an embodiment of the present application. Wherein, Figure 3 The embodiments shown in Figure 2 may be combined with the embodiments shown in Figure 2 , for example, further comprising the following steps on the basis of the embodiments described in Figure 2 .
[0127] 301. The session management network element determines to use the RDMA protocol to transmit the data flow of the first PDU session, and the first PDU session is a session established by the terminal and the server for communication.
[0128] For example, the session management network element can obtain a request message, so as to determine to use the RDMA protocol to transmit the data flow of the first PDU session based on the request message. In a possible implementation, the session management network element can receive a request message from the terminal, and the request message can be a PDU session establishment request or a PDU session modification request. In another possible implementation, the session management network element can receive a request message from the server, and the request message can be a PDU session modification request.
[0129] Optionally, the request message is used to indicate that the data flow of the first PDU session is transmitted by using the RDMA protocol. The session management network element can know that the terminal or the server requests that the data flow of the first PDU session is transmitted by using the RDMA protocol through the indication shown in the request message or the implicit indication. As an example, the request message includes at least one of the following: a transmission type of the RDMA protocol, a protocol version of the RDMA protocol, or a service type of the RDMA protocol, and the request message further includes third indication information used to indicate that the data flow of the first PDU session is transmitted by using the RDMA protocol. That is, the session management network element can know that the terminal or the server requests that the data flow of the first PDU session is transmitted by using the RDMA protocol through the third indication information, or know that the terminal or the server requests that the data flow of the first PDU session is transmitted by using the RDMA protocol through at least one of the following: the transmission type of the RDMA protocol, the protocol version of the RDMA protocol, and the service type of the RDMA protocol. As another example, the request message includes at least one of the following: the transmission type of the RDMA protocol, the protocol version of the RDMA protocol, or the service type of the RDMA protocol, and the request message does not include the third indication information. That is, the session management network element knows that the terminal or the server requests that the data flow of the first PDU session is transmitted by using the RDMA protocol through at least one of the following: the transmission type of the RDMA protocol, the protocol version of the RDMA protocol, and the service type of the RDMA protocol.
[0130] The transmission type of the RDMA protocol can include lossless and / or lossy. The protocol version of the RDMA protocol can include at least one of the following: iwarp, Infiniband (IB), or remote direct memory access over converged Ethernet (ROCE). The service type of the RDMA protocol can include at least one of the following: unreliable datagram (UD), reliable datagram (RD), unreliable connection (UC), or reliable connection (RC).
[0131] The following describes that the session management network element determines that the data flow of the first PDU session is transmitted by using the RDMA protocol based on the request message.
[0132] For example, the session management network element can determine to transmit the data flow of the first PDU session by using the RDMA protocol based on the request message and the subscription information of the terminal. Optionally, the session management network element can also determine to transmit the data flow of the first PDU session by using the RDMA protocol based on the session (SM) policy information.
[0133] The session management network element can obtain the subscription information of the terminal from the unified data management network element. For example, the request message can further include the identifier of the terminal, and the session management network element can obtain the subscription information of the terminal from the unified data management network element based on the identifier of the terminal.
[0134] The 'identifier of the terminal' mentioned in the present application can be a user identifier used to uniquely identify the terminal, such as one or more of the following: system architecture evolution temporary mobile station identifier (S-TMSI), globally unique temporary identity (GUTI), subscription permanent identifier (SUPI), subscription concealed identifier (SUCI), international mobile subscriber identification number (IMSI), radio network temporary identifier (RNTI), generic public subscription identifier (GPSI), external identifier, mobile subscriber ISDN number (MSISDN), etc., without limitation. Optionally, the ISDN refers to an integrated service digital network (ISDN), an international mobile equipment identify (IMEI), or other application layer identifier, without limitation.
[0135] The subscription information of the terminal includes a session type of the first PDU session and / or a protocol version of an RDMA protocol supported by the terminal. The session type of the first PDU session is used to indicate that the first PDU session is a PDU session for transmission based on the RDMA protocol. The protocol version of the RDMA protocol supported by the terminal includes at least one of the following: iwarp, IB, or ROCE.
[0136] Optionally, the protocol version of the RDMA protocol included in the request message can be partially the same, completely the same, or different from the protocol version of the RDMA protocol included in the subscription information of the terminal. When the protocol version of the RDMA protocol included in the request message is partially the same as the protocol version of the RDMA protocol included in the subscription information of the terminal, the session management network element can use the protocol version of the RDMA protocol in the request message that is the same as the protocol version of the RDMA protocol in the subscription information of the terminal to transmit the data flow of the first PDU session. When the protocol version of the RDMA protocol included in the request message is completely the same as the protocol version of the RDMA protocol included in the subscription information of the terminal, the session management network element can use the protocol version of the RDMA protocol in the request message to transmit the data flow of the first PDU session. When the protocol version of the RDMA protocol included in the request message is different from the protocol version of the RDMA protocol included in the subscription information of the terminal, the session management network element can use the protocol version of the RDMA protocol in the subscription information of the terminal to transmit the data flow of the first PDU session.
[0137] The session management network element can obtain the SM policy information from the policy control network element. For example, the session management network element can obtain the SM policy information from the policy control network element based on the identifier of the terminal. Optionally, the SM policy information can be used to determine the first QoS requirement of the first PDU session. For example, the SM policy information can include quality of service enforcement rules (QER). In this way, the session management network element can generate the first QoS requirement based on the QER.
[0138] 302. The session management network element can send first information to the access network device, the first information being used to determine a first flow control parameter of the first PDU session, the first flow control parameter being used to determine that the data flow of the first PDU session is congested.
[0139] The first information, the first flow control parameter, and the like can be referred to Figure 2 The related description is not repeated here.
[0140] Optionally, in the case where the first information is the first flow control parameter, the session management network element can determine the first flow control parameter. For example, the session management network element can determine the first flow control parameter based on the first QoS requirement corresponding to the first PDU session.
[0141] Optionally, the session management network element determines the first traffic control parameter based on the first QoS requirement, comprising: the session management network element determines the first traffic control parameter based on the first QoS requirement and the capability information of the access network device.
[0142] The capability information of the access network device can be indicated by the access network device to the session management network element in a direct or indirect manner, or predefined, or preconfigured, which is not limited herein. For example, the session management network element can receive the capability information of the access network device. It should be understood that the session management network element can actively request the capability information of the access network device from the access network device. For example, the session management network element can send second information to the access network device, so that the access network device sends the capability information of the access network device to the session management network element based on the second information. Alternatively, the session management network element does not send any information, such as the second information. That is, the session management network element passively receives the capability information of the access network device. That is, the access network device does not receive the second information and actively sends the capability information of the access network device to the session management network element. The second information is used to obtain the capability information of the access network device.
[0143] The above Figure 2 and Figure 3 The method embodiments shown in the above Figures 4 to 7 Any one of the accompanying drawings will be exemplified. In any one of the accompanying drawings Figures 4 to 7 , the terminal is UE, the access network device is RAN, the session management network element is SMF, the unified data management network element is UDM, the policy control network element is SMF, and the server is AS. Figures 4 to 7 The related concepts or operations or logical relationships not explained in any one of the accompanying drawings can refer to the corresponding descriptions in the embodiments shown in Figure 2 and Figure 3 Therefore, further description is omitted.
[0144] Referring to Figure 4 , Figure 4 A flowchart of another communication method provided by the embodiments of the present application is shown. The method includes but is not limited to the following steps:
[0145] 401. The UE sends a request message to the SMF, the request message being used to indicate that the data flow of the first PDU session is transmitted by using the RDMA protocol, and the first PDU session being a session established by the UE for communication with the AS.
[0146] Correspondingly, the SMF receives the request message from the UE. The request message can refer to the related description in Figure 3 , which is not described here.
[0147] 402. The SMF obtains the subscription information of the UE from the UDM.
[0148] In relation to step 402, reference can be made to the description related to step 202, which is not repeated here. Figure 3 In relation to step 402, reference can be made to the description related to step 202, which is not repeated here.
[0149] Step 402 is an optional step.
[0150] 403. The SMF obtains the SM policy information from the PCF.
[0151] In relation to step 403, reference can be made to the description related to step 203, which is not repeated here. Figure 3 In relation to step 403, reference can be made to the description related to step 203, which is not repeated here. Optionally, the SM policy information can be carried in a SM policy association establishment message or a SM policy association modification message. When the request message in step 401 is a PDU session establishment request message, the SM policy information is carried in the SM policy association establishment message. When the request message is a PDU session modification request message, the SM policy information is carried in the SM policy association modification message.
[0152] Step 403 is an optional step.
[0153] 404. The SMF determines to transmit the data flow of the first PDU session using the RDMA protocol based on the request message, the subscription information of the UE and the SM policy information.
[0154] In relation to step 404, reference can be made to the description related to step 204, which is not repeated here. Figure 3 In relation to step 404, reference can be made to the description related to step 204, which is not repeated here.
[0155] 405. The SMF obtains the QP link information of the UE.
[0156] For example, the SMF can obtain the QP link information of the UE from the UE. In relation to the QP link information of the UE, reference can be made to the description related to step 202, which is not repeated here. Figure 2 In relation to step 405, reference can be made to the description related to step 202, which is not repeated here.
[0157] Optionally, the SMF can also obtain the address of the AS from the UE.
[0158] 406. The SMF obtains the QP link information of the AS.
[0159] As an example, the SMF can obtain the QP link-up information of the AS from the AS. For example, the SMF can send a link-up request message to the AS based on the address of the AS, the link-up request message including part or all of the information in the QP link-up information of the UE, such as at least one of: the address of the UE, the port index of the UE, or the QP number of the UE. In this way, the AS can send the QP link-up information of the AS to the SMF based on the link-up request message.
[0160] The QP link-up information of the AS can refer to Table 1. Figure 2 The related description is not repeated here.
[0161] 407. The SMF sends second indication information, first QoS requirements corresponding to the first PDU session, QP link-up information of the UE, and QP link-up information of the AS to the RAN, the second indication information being used to instruct the RAN to start traffic control for the first PDU session.
[0162] Correspondingly, the RAN receives the second indication information, the first QoS requirements corresponding to the first PDU session, the QP link-up information of the UE, and the QP link-up information of the AS from the SMF. The first QoS requirements can refer to Figure 2 The related description is not repeated here.
[0163] 408. The RAN determines first traffic control parameters of the first PDU session based on the first QoS requirements.
[0164] The step 408 can refer to Figure 2 The related description is not repeated here.
[0165] 409. The RAN establishes a first flow table of the first PDU session based on the QP link-up information of the UE and the QP link-up information of the AS, the first flow table being used to indicate a forwarding path of a data flow of the first PDU session.
[0166] The first flow table can refer to Table 2.
[0167] 410. The UE and the AS perform interaction of the QP link-up information to establish an RDMA connection.
[0168] As an example, the UE can obtain the QP link-up information of the AS. For example, the UE obtains the QP link-up information of the AS through the SMF. The AS obtains the QP link-up information of the UE. For example, the AS obtains the QP link-up information of the UE through the SMF. This indicates that the UE and the AS perform interaction of the QP link-up information, thereby establishing an RDMA connection.
[0169] 411. The UE and the AS transmit a data flow of the first PDU session.
[0170] For example, the UE and the AS transmit downlink data flow and / or uplink data flow of the first PDU session.
[0171] 412. The RAN determines that the data flow of the first PDU session is congested based on the first traffic control parameter.
[0172] Optionally, the RAN can configure a processing rule of packets in the data flow of the first PDU session based on the first traffic control parameter. The processing rule of the packets in the data flow of the first PDU session can include at least one of the following: determining whether to ECN mark the packets in a queue in the RAN for buffering the data flow of the first PDU session based on the first traffic control parameter, sending a congestion notification packet based on the packets in the queue being ECN marked, and the like.
[0173] Optionally, the RAN can determine whether to ECN mark the packets in the queue for buffering the data flow of the first PDU session based on the first traffic control parameter. For example, when the number of the packets in the queue is greater than or equal to the upper ECN threshold, the RAN can ECN mark all the packets in the queue. When the number of the packets in the queue is greater than or equal to the lower ECN threshold and less than or equal to the upper ECN threshold, the RAN can ECN mark the packets in the queue based on an ECN marking probability. When the number of the packets in the queue is less than or equal to the lower ECN threshold, the RAN can not ECN mark the packets in the queue. The packets in the queue being ECN marked indicate that the data flow of the first PDU session is congested. In this way, the RAN can send a congestion notification packet based on the packets in the queue being ECN marked. For example, the RAN can send the congestion notification packet based on a ratio of the number of the packets in the queue being ECN marked to the number of the packets in the queue not being ECN marked, or a ratio of the number of the packets in the queue being ECN marked to the total number of the packets in the queue, and the like.
[0174] After step 412, there are two implementation manners. Implementation manner 1 includes step 413 and step 414, and implementation manner 2 includes step 415 and step 416.
[0175] 413. The RAN sends a first congestion notification packet to the UE based on the first flow table, the first congestion notification packet being used to notify that the data flow of the first PDU session is congested.
[0176] Correspondingly, the UE or the AS receives the first congestion notification packet from the RAN. When the UE receives the first congestion notification packet, step 414 can be performed.
[0177] Step 413 can refer to Figure 2 The related description is not repeated here.
[0178] 414、The UE adjusts the sending rate of packets in the data flow of the first PDU session based on the first CNP packet.
[0179] For example, the UE reduces the sending rate of packets in the data flow of the first PDU session.
[0180] In this application, the manner in which the UE reduces the sending rate of packets in the data flow of the first PDU session can refer to an existing scheme, such as reducing the sending rate of packets in the data flow of the first PDU session in an existing version of a communication standard. Alternatively, reducing the sending rate of packets in the data flow of the first PDU session in a future communication standard.
[0181] For example, the UE can gradually reduce the sending rate based on the number of first CNP packets received in a first unit of time. Conversely, if no first CNP packet is received in a second unit of time, gradually increase the sending rate until the specified maximum rate. The lengths of the first unit of time and the second unit of time can be the same or different, which is not limited in this application.
[0182] 415、The RAN sends a first CNP packet to the AS based on the first flow table, and the first CNP packet is used to notify that the data flow of the first PDU session is congested.
[0183] Correspondingly, the AS receives the first CNP packet from the RAN. When the AS receives the first CNP packet, step 416 can be performed.
[0184] 416、The AS adjusts the sending rate of packets in the data flow of the first PDU session based on the first CNP packet.
[0185] For example, the AS reduces the sending rate of packets in the data flow of the first PDU session.
[0186] In this application, the manner in which the AS reduces the sending rate of packets in the data flow of the first PDU session can refer to an existing scheme, such as reducing the sending rate of packets in the data flow of the first PDU session in an existing version of a communication standard. Alternatively, reducing the sending rate of packets in the data flow of the first PDU session in a future communication standard.
[0187] For example, the AS can gradually reduce the sending rate based on the number of first CNP packets received in a first unit of time. Conversely, if no first CNP packet is received in a second unit of time, gradually increase the sending rate until the specified maximum rate. The lengths of the first unit of time and the second unit of time can be the same or different, which is not limited in this application.
[0188] As can be seen, in the above embodiments, both the first flow control parameter and the first flow table are determined by the RAN in conjunction with relevant information from the SMF. This allows the RAN to determine, based on the first flow control parameter, that congestion has occurred in the data flow of the first PDU session. In such cases, the RAN can send a first congestion notification packet based on the first flow table, thereby enabling flow control using RDMA technology in the wireless communication scenario, such as reducing queue backlog on the congested side. This ensures low latency for services, does not affect service throughput, and improves service performance and quality. Furthermore, since both the determination of congestion in the data flow of the first PDU session and the sending of the first congestion notification packet are performed by the RAN, the transmission delay between the two air interfaces is reduced, enabling more timely wireless RDMA flow control and more timely congestion elimination.
[0189] See Figure 5 , Figure 5 This is a flowchart illustrating another communication method provided in an embodiment of this application. The method includes, but is not limited to, the following steps:
[0190] 501. The UE sends a request message to the SMF. The request message is used to instruct the RDMA protocol to transmit the data stream of the first PDU session. The first PDU session is a session established by the UE and the AS through communication.
[0191] Accordingly, the SMF receives a request message from the UE. For details regarding the request message, please refer to [link / reference]. Figure 3 The relevant descriptions will not be repeated here.
[0192] 502. SMF obtains UE's subscription information from UDM.
[0193] For details regarding step 502, please refer to [link / reference]. Figure 3 The relevant descriptions will not be repeated here.
[0194] Step 502 is an optional step.
[0195] 503. SMF obtains SM policy information from PCF.
[0196] Among them, step 503 and Figure 4 Step 403 is similar and will not be repeated here.
[0197] Step 503 is an optional step.
[0198] 504. Based on the request message, the UE's subscription information, and the SM policy information, the SMF determines to use the RDMA protocol to transmit the data stream of the first PDU session.
[0199] For details regarding step 504, please refer to [link / reference]. Figure 3 The relevant descriptions will not be repeated here.
[0200] 505、The SMF sends first indication information, second indication information and first QoS requirement corresponding to the first PDU session to the RAN, the first indication information is used to instruct the RAN to establish a first flow table, and the second indication information is used to instruct the RAN to start traffic control for the first PDU session.
[0201] Correspondingly, the RAN receives the first indication information, the second indication information and the first QoS requirement from the SMF. Wherein, the first QoS requirement can be referred to Figure 2 The related description is not repeated here.
[0202] 506、The RAN determines a first traffic control parameter of the first PDU session based on the first QoS requirement.
[0203] Wherein, the step 506 can be referred to Figure 2 The related description is not repeated here.
[0204] 507、The UE and the AS perform interaction of QP link establishment information to establish an RDMA connection.
[0205] Wherein, the step 507 is similar to Figure 4 The step 410 is similar and is not repeated here.
[0206] 508、The UE and the AS transmit a data flow of the first PDU session, and the RAN obtains a first packet in the data flow of the first PDU session, the first packet includes a source address, a destination address, a destination QP field, a source QP field and a port index, and a first flow table is established based on the source address, the destination address, the destination QP field, the source QP field and the port index.
[0207] Wherein, the ‘UE and the AS transmit a data flow of the first PDU session’ is similar to Figure 4 The step 411 is similar and is not repeated here. The first flow table can be referred to Figure 2 The related description is not repeated here.
[0208] 509、The RAN determines that a data flow of the first PDU session is congested based on the first traffic control parameter.
[0209] Wherein, the step 509 can be referred to Figure 4 The step 412 is not repeated here.
[0210] Wherein, after the step 509, two implementation manners are included, the implementation manner 1 includes the step 510 and the step 511, and the implementation manner 2 includes the step 512 and the step 513.
[0211] 510、The RAN sends, to the UE, a first congestion notification packet message based on the first flow table, the first congestion notification packet message being used to notify that the data flow of the first PDU session is congested.
[0212] Correspondingly, the UE or the AS receives the first congestion notification packet message from the RAN. When the UE receives the first congestion notification packet message, step 511 can be performed.
[0213] In this regard, step 510 can refer to Figure 2 The related description is not repeated here.
[0214] 511、The UE adjusts, based on the first congestion notification packet message, a sending rate of the packets in the data flow of the first PDU session.
[0215] For example, the UE reduces the sending rate of the packets in the data flow of the first PDU session.
[0216] 512、The RAN sends, to the AS, a first congestion notification packet message based on the first flow table, the first congestion notification packet message being used to notify that the data flow of the first PDU session is congested.
[0217] Correspondingly, the AS receives the first congestion notification packet message from the RAN. When the AS receives the first congestion notification packet message, step 513 can be performed.
[0218] In this regard, step 513 can refer to Figure 2 The related description is not repeated here.
[0219] 513、The AS adjusts, based on the first congestion notification packet message, a sending rate of the packets in the data flow of the first PDU session.
[0220] For example, the AS reduces the sending rate of the packets in the data flow of the first PDU session.
[0221] It can be seen that, in the above embodiments, the first traffic control parameter is determined by the RAN in combination with the corresponding information from the SMF, and the first flow table is determined by the RAN reading the packet header of the first packet, so that the RAN can send the first congestion notification packet message based on the first flow table when it judges that the data flow of the first PDU session is congested based on the first traffic control parameter, and then perform traffic control in a wireless communication scenario using RDMA technology, such as reducing the queue backlog on the congested side. This can guarantee the low latency of the service, does not affect the throughput of the service, and improves the performance and quality of the service. In addition, the judgment that the data flow of the first PDU session is congested and the sending of the first congestion notification packet message are both performed by the RAN, which can reduce the transmission delay of the air interface twice, can realize more timely wireless RDMA traffic control, and makes the elimination of congestion more timely.
[0222] For reference Figure 6, Figure 6 A flowchart of another communication method is provided for the embodiments of the present application. The method includes but is not limited to the following steps:
[0223] 601. In the process of establishing a connection between the RAN and the UE, a first correspondence relationship is preconfigured in the RAN, the first correspondence relationship includes a correspondence relationship between a plurality of QoS requirements and a plurality of traffic control parameters, and the correspondence relationship between the plurality of QoS requirements and the plurality of traffic control parameters includes a correspondence relationship between a first QoS requirement of a first PDU session and a first traffic control parameter of the first PDU session.
[0224] 602. The UE sends a request message to the SMF, the request message being used to indicate that the data flow of the first PDU session is transmitted by using the RDMA protocol, and the first PDU session is a session established by the UE for communication with the AS.
[0225] Correspondingly, the SMF receives the request message from the UE. Wherein, the request message can refer to Figure 3 the related description, which is not repeated here.
[0226] 603. The SMF obtains the subscription information of the UE from the UDM.
[0227] Wherein, the step 603 can refer to Figure 3 the related description, which is not repeated here.
[0228] Wherein, the step 603 is an optional step.
[0229] 604. The SMF obtains the SM policy information from the PCF.
[0230] Wherein, the step 604 is similar to Figure 4 the step 403, which is not repeated here.
[0231] Wherein, the step 604 is an optional step.
[0232] 605. The SMF determines that the data flow of the first PDU session is transmitted by using the RDMA protocol based on the request message, the subscription information of the UE and the SM policy information.
[0233] 606. The SMF obtains the QP link establishment information of the UE.
[0234] Wherein, the step 606 is similar to Figure 4 the step 405, which is not repeated here.
[0235] 607. The SMF obtains the QP link establishment information of the AS.
[0236] Wherein, the step 607 is similar to Figure 4 the step 406, which is not repeated here.
[0237] 608. The SMF sends, to the RAN, the first QoS requirement, the UE’s QP establishment information, and the AS’s QP establishment information.
[0238] Correspondingly, the RAN receives, from the SMF, the first QoS requirement, the UE’s QP establishment information, and the AS’s QP establishment information. As to the first QoS requirement, reference can be made to Figure 2 The related description is not repeated here.
[0239] In the embodiment shown in Figure 6 In the embodiment shown in the first QoS requirement corresponds to the first traffic control parameter, so the RAN can determine, by the first QoS requirement, to start traffic control for the first PDU session.
[0240] Optionally, the SMF can further send, to the RAN, second indication information, the second indication information being used to instruct the RAN to start traffic control for the first PDU session.
[0241] 609. The RAN determines, based on the first QoS requirement and the first correspondence relationship, the first traffic control parameter.
[0242] 610. The RAN establishes, based on the UE’s QP establishment information and the AS’s QP establishment information, a first flow table of the first PDU session, the first flow table being used to indicate a forwarding path of a data flow of the first PDU session.
[0243] As to the first flow table, reference can be made to Figure 2 The related description is not repeated here.
[0244] 611. The UE and the AS perform interaction of the QP establishment information, and establish an RDMA connection.
[0245] As an example, the UE can acquire the AS’s QP establishment information. For example, the UE acquires the AS’s QP establishment information through the SMF. The AS acquires the UE’s QP establishment information. For example, the AS acquires the UE’s QP establishment information through the SMF. This indicates that the UE and the AS perform interaction of the QP establishment information, thereby establishing an RDMA connection.
[0246] 612. The UE and the AS transmit a data flow of the first PDU session.
[0247] For example, the UE and the AS transmit a downlink data flow and / or an uplink data flow of the first PDU session.
[0248] 613. The RAN determines, based on the first traffic control parameter, that a data flow of the first PDU session is congested.
[0249] As to step 613, reference can be made to Figure 4 Step 412 is not repeated here.
[0250] After step 613, there are two implementation manners, implementation manner 1 includes step 614 and step 615, and implementation manner 2 includes step 616 and step 617.
[0251] 614. The RAN sends, to the UE, a first congestion notification packet message based on the first flow table, the first congestion notification packet message being used to notify that the data flow of the first PDU session is congested.
[0252] Correspondingly, the UE or the AS receives the first congestion notification packet message from the RAN. When the UE receives the first congestion notification packet message, step 615 can be performed.
[0253] In step 614, refer to Figure 2 The related description is not repeated here.
[0254] 615. The UE adjusts, based on the first congestion notification packet message, a sending rate of the packets in the data flow of the first PDU session.
[0255] For example, the UE reduces the sending rate of the packets in the data flow of the first PDU session.
[0256] 616. The RAN sends, to the AS, a first congestion notification packet message based on the first flow table, the first congestion notification packet message being used to notify that the data flow of the first PDU session is congested.
[0257] Correspondingly, the AS receives the first congestion notification packet message from the RAN. When the AS receives the first congestion notification packet message, step 616 can be performed.
[0258] In step 616, refer to Figure 2 The related description is not repeated here.
[0259] 617. The AS adjusts, based on the first congestion notification packet message, a sending rate of the packets in the data flow of the first PDU session.
[0260] For example, the AS reduces the sending rate of the packets in the data flow of the first PDU session.
[0261] As can be seen, in the above embodiments, the first flow control parameter is determined by the RAN in conjunction with the corresponding information from the SMF and the first correspondence, and the first flow table is determined by the RAN in conjunction with the corresponding information from the SMF. This allows the RAN to determine, based on the first flow control parameter, that if the data flow of the first PDU session is congested, it can send a first congestion notification packet based on the first flow table. This enables flow control using RDMA technology in wireless communication scenarios, such as reducing queue backlog on the congested side. This ensures low latency for services, does not affect service throughput, and improves service performance and quality. Furthermore, since both the determination of data flow congestion in the first PDU session and the sending of the first congestion notification packet are performed by the RAN, the transmission delay between the two air interfaces is reduced, enabling more timely wireless RDMA flow control and more timely congestion elimination.
[0262] See Figure 7 , Figure 7 This is a flowchart illustrating another communication method provided in an embodiment of this application. The method includes, but is not limited to, the following steps:
[0263] 701. The UE sends a request message to the SMF. The request message is used to instruct the RDMA protocol to transmit the data stream of the first PDU session. The first PDU session is a session established by the UE and the AS through communication.
[0264] Accordingly, the SMF receives a request message from the UE. For details regarding the request message, please refer to [link / reference]. Figure 3 The relevant descriptions will not be repeated here.
[0265] 702. SMF obtains UE's subscription information from UDM.
[0266] For details regarding step 702, please refer to [link / reference]. Figure 3 The relevant descriptions will not be repeated here.
[0267] Step 702 is an optional step.
[0268] 703. SMF obtains SM policy information from PCF.
[0269] Among them, step 703 and Figure 4 Step 403 is similar and will not be repeated here.
[0270] Step 703 is an optional step.
[0271] 704. Based on the request message, the UE's subscription information, and the SM policy information, the SMF determines to use the RDMA protocol to transmit the data stream of the first PDU session.
[0272] For details regarding step 704, please refer to [link / reference]. Figure 3The relevant descriptions will not be repeated here.
[0273] 705. SMF obtains the UE's QP connection establishment information.
[0274] Among them, step 705 and Figure 4 Step 405 is similar and will not be repeated here.
[0275] 706. SMF obtains the QP chain establishment information of AS.
[0276] Among them, step 706 and Figure 4 Step 406 is similar and will not be repeated here.
[0277] 707. SMF obtains RAN capability information, which includes the air interface transmission rate supported by the RAN and / or the buffer size.
[0278] Step 707 can be referenced. Figure 3 The relevant descriptions will not be repeated here.
[0279] 708. The SMF determines the first flow control parameters of the first PDU session based on the RAN capability information and the first QoS requirements corresponding to the first PDU session, and determines the first flow table of the first PDU session based on the UE's QP connection information and the AS's QP connection information. The first flow table is used to indicate the forwarding path of the data flow of the first PDU session.
[0280] For details regarding step 707, please refer to [link / reference]. Figure 2 and Figure 3 The relevant descriptions will not be repeated here.
[0281] 709. The SMF sends the first flow control parameters and the first flow table to the RAN.
[0282] Accordingly, the RAN receives the first flow control parameters and the first flow table from the SMF.
[0283] exist Figure 7 In the illustrated embodiment, the RAN can determine whether to enable flow control for the first PDU session using a first flow control parameter and / or a first flow table.
[0284] Optionally, the SMF may also send a second indication message to the RAN, which instructs the RAN to enable flow control for the first PDU session.
[0285] 710. The UE and AS perform QP connection establishment information exchange to establish an RDMA connection.
[0286] As an example, the UE can acquire the QP link establishment information of the AS. For example, the UE acquires the QP link establishment information of the AS through the SMF. The AS acquires the QP link establishment information of the UE. For example, the AS acquires the QP link establishment information of the UE through the SMF. This indicates that the UE and the AS perform interaction of the QP link establishment information, thereby establishing the RDMA connection.
[0287] 711. The UE and the AS transmit the data flow of the first PDU session.
[0288] For example, the UE and the AS transmit the downlink data flow and / or the uplink data flow of the first PDU session.
[0289] 712. The RAN determines that the data flow of the first PDU session is congested based on the first flow control parameter.
[0290] Wherein, for step 712, please refer to Figure 4 Step 412 is not described here.
[0291] Wherein, after step 712, there are two implementation manners, implementation manner 1 includes step 713 and step 714, and implementation manner 2 includes step 715 and step 716.
[0292] 713. The RAN sends a first congestion notification packet message to the UE based on the first flow table, and the first congestion notification packet message is used to notify that the data flow of the first PDU session is congested.
[0293] Correspondingly, the UE or the AS receives the first congestion notification packet message from the RAN. When the UE receives the first congestion notification packet message, step 714 can be performed.
[0294] Wherein, step 713 can refer to Figure 2 The related description is not described here.
[0295] 714. The UE adjusts the sending rate of the packet in the data flow of the first PDU session based on the first congestion notification packet message.
[0296] For example, the UE reduces the sending rate of the packet in the data flow of the first PDU session.
[0297] 715. The RAN sends a first congestion notification packet message to the AS based on the first flow table, and the first congestion notification packet message is used to notify that the data flow of the first PDU session is congested.
[0298] Correspondingly, the AS receives the first congestion notification packet message from the RAN. When the AS receives the first congestion notification packet message, step 716 can be performed.
[0299] Wherein, step 715 can refer to Figure 2 The related description is not described here.
[0300] 716、The AS adjusts the sending rate of the packets in the data flow of the first PDU session based on the first congestion notification packet message.
[0301] For example, the AS reduces the sending rate of the packets in the data flow of the first PDU session.
[0302] It can be seen that, in the above embodiments, the first flow control parameter and the first flow table are determined by the SMF and sent to the RAN, so that the RAN can send the first congestion notification packet message based on the first flow table in the case that the data flow of the first PDU session is congested based on the first flow control parameter, and then perform flow control in the wireless communication scenario by using the RDMA technology, such as reducing the queue backlog on the congested side. This can guarantee the low latency of the service, does not affect the throughput of the service, and improves the performance and quality of the service. In addition, the determination of the congestion of the data flow of the first PDU session and the sending of the first congestion notification packet message are both performed by the RAN, which can reduce the transmission delay of the two air interfaces, can realize more timely wireless RDMA flow control, and makes the elimination of congestion more timely.
[0303] It can be understood that, in order to implement the above functions, the device contains the hardware structure and / or software module corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of the examples described in the embodiments disclosed in the present application, the present application can be realized in the form of hardware or a combination of hardware and computer software. Whether a certain function is driven by hardware or computer software to drive hardware depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of the present application.
[0304] The embodiments of the present application can divide the functions of the above-mentioned device according to the above-mentioned method examples, for example, each function module can be divided according to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated module can be realized in the form of hardware or software function module. It should be noted that the division of modules in the embodiments of the present application is illustrative, and is only a logical function division. Actual implementation can have another division method.
[0305] Referring to Figure 8 , Figure 8 A structural schematic diagram of a communication device provided by the embodiments of the present application. The communication device 800 can be applied in any of the above-mentioned methods, such as Figure 8As shown, the communication apparatus 800 includes a processing module 801 and a transceiver module 802. The processing module 801 can be one or more processors, and the transceiver module 802 can be a transceiver or a communication interface. The communication apparatus can be used to implement the functions of the access network device, or the session management network element, etc. in any of the above method embodiments, or to implement the functions of the network element in any of the above method embodiments. The network element or network function can be a network element in a hardware device, a software function running on a special hardware, or a virtualized function instantiated on a platform (e.g., a cloud platform). Optionally, the communication apparatus 800 can further include a storage module 803 for storing the program code and data of the communication apparatus 800.
[0306] An example is that the communication apparatus functions as an access network device or a chip applied to an access network device, i.e., a chip for an access network device, and performs the steps performed by the access network device in the above method embodiments. The transceiver module 802 is configured to specifically perform any sending and / or receiving actions performed by the access network device, such as supporting the access network device to perform other processes of the techniques described herein. The processing module 801 can be configured to support the communication apparatus 800 to perform the processing actions in the above method embodiments, such as supporting the access network device to perform other processes of the techniques described herein.
[0307] For example, the processing module 801 is configured to determine that a data flow of a first PDU session is congested based on a first traffic control parameter of the first PDU session, the first PDU session being a session established by a terminal for communicating with a server; and the transceiver module 802 is configured to send a first congestion notification packet based on a first flow table of the first PDU session, the first flow table being used to indicate a forwarding path of the data flow of the first PDU session, and the first congestion notification packet being used to notify that the data flow of the first PDU session is congested.
[0308] In a possible implementation, the transceiver module 802 is further configured to receive first information from a session management network element, the first information being used to determine the first traffic control parameter.
[0309] In a possible implementation, the first information is a first QoS requirement corresponding to the first PDU session, and the processing module 801 is further configured to determine the first traffic control parameter based on the first QoS requirement.
[0310] In a possible implementation, when determining the first traffic control parameter based on the first QoS requirement, the processing module 801 is configured to determine the first traffic control parameter based on the first QoS requirement and capability information of the access network device, the capability information of the access network device including an air interface transmission rate and / or a buffer size supported by the access network device.
[0311] In a possible implementation, when determining the first traffic control parameter based on the first QoS requirement, the processing module 801 is configured to determine the first traffic control parameter based on the first QoS requirement and a first correspondence relationship. The first correspondence relationship includes a correspondence relationship between a plurality of QoS requirements and a plurality of traffic control parameters, and the correspondence relationship between the plurality of QoS requirements and the plurality of traffic control parameters includes a correspondence relationship between the first QoS requirement and the first traffic control parameter.
[0312] In a possible implementation, the transceiver module 802 is further configured to send, to the session management network element, capability information of the access network device, where the capability information of the access network device includes an air interface transmission rate and / or a buffer size supported by the access network device.
[0313] In a possible implementation, the transceiver module 802 is further configured to receive, from the session management network element, second information used to obtain the capability information of the access network device.
[0314] In a possible implementation, the processing module 801 is further configured to establish the first flow table based on the QP connection information of the terminal and the QP connection information of the server.
[0315] In a possible implementation, the transceiver module 802 is further configured to receive, from the session management network element, the QP connection information of the terminal and the QP connection information of the server.
[0316] In a possible implementation, the transceiver module 802 is further configured to obtain a first packet in a data flow of the first PDU session, where the first packet includes a source address, a destination address, a destination QP field, a source QP field, and a port index, and the processing module 801 is further configured to establish the first flow table based on the source address, the destination address, the destination QP field, the source QP field, and the port index. The source address is an address of the terminal, the destination address is an address of the server, the destination QP field is used to indicate a QP number of the server, the source QP field is used to indicate a QP number of the terminal, and the port index indicates a port of the server. Alternatively, the source address is an address of the server, the destination address is an address of the terminal, the destination QP field is used to indicate a QP number of the terminal, the source QP field is used to indicate a QP number of the server, and the port index indicates a port of the terminal.
[0317] In a possible implementation, the transceiver module 802 is further configured to receive, from the session management network element, first indication information used to instruct the access network device to establish the first flow table.
[0318] In a possible implementation, the transceiver module 802 is further configured to receive, from the session management network element, the first flow table.
[0319] In a possible implementation, the transceiver module 802 is further configured to receive second indication information from the session management network element, the second indication information being used to instruct the access network device to start traffic control for the first PDU session.
[0320] An example is that the communication apparatus functions as a session management network element or a chip applied to a session management network element, i.e., a chip for a session management network element, and performs the steps performed by the session management network element in the method embodiments. The transceiver module 802 is configured to specifically perform any sending and / or receiving actions performed by the session management network element, for example, other processes supporting the session management network element to perform the techniques described herein. The processing module 801 can be configured to support the communication apparatus 800 to perform the processing actions in the method embodiments described above, for example, other processes supporting the session management network element to perform the techniques described herein.
[0321] For example, the processing module 801 is configured to determine that the data flow of the first PDU session is transmitted in the RDMA protocol, the first PDU session being a session established by the terminal for communication with the server. The transceiver module 802 is configured to send first information to the access network device, the first information being used to determine a first traffic control parameter of the first PDU session, the first traffic control parameter being used to determine that the data flow of the first PDU session is congested.
[0322] In a possible implementation, when it is determined that the data flow of the first PDU session is transmitted in the RDMA protocol, the processing module 801 is configured to: acquire a request message by the transceiver module 802, the request message being used to instruct that the data flow of the first PDU session is transmitted in the RDMA protocol; and determine that the data flow of the first PDU session is transmitted in the RDMA protocol based on the request message.
[0323] In a possible implementation, when it is determined that the data flow of the first PDU session is transmitted in the RDMA protocol based on the request message, the processing module 801 is configured to determine that the data flow of the first PDU session is transmitted in the RDMA protocol based on the request message and subscription information of the terminal, the subscription information of the terminal including a session type of the first PDU session and / or a protocol version of an RDMA protocol supported by the terminal, the session type of the first PDU session being used to indicate that the first PDU session is a PDU session transmitted based on the RDMA protocol.
[0324] In a possible implementation, the processing module 801 is further configured to determine the first traffic control parameter based on a first QoS requirement corresponding to the first PDU session.
[0325] In a possible implementation, when determining the first traffic control parameter based on the first QoS requirement, the processing module 801 is configured to determine the first traffic control parameter based on the first QoS requirement and capability information of the access network device, wherein the capability information of the access network device includes an air interface transmission rate and / or a buffer size supported by the access network device.
[0326] In a possible implementation, the transceiver module 802 is further configured to receive the capability information of the access network device.
[0327] In a possible implementation, the transceiver module 802 is further configured to send, to the access network device, second information used to obtain the capability information of the access network device.
[0328] In a possible implementation, the transceiver module 802 is further configured to: obtain QP chaining information of the terminal, and obtain QP chaining information of the server, wherein the QP chaining information of the terminal and the QP chaining information of the server are used to establish a first flow table of the first PDU session, and the first flow table is used to indicate a forwarding path of a data flow of the first PDU session; and send, to the access network device, the QP chaining information of the terminal and the QP chaining information of the server.
[0329] In a possible implementation, the transceiver module 802 is further configured to send, to the access network device, first indication information used to instruct the access network device to establish the first flow table.
[0330] In a possible implementation, the transceiver module 802 is further configured to send, to the access network device, the first flow table.
[0331] In a possible implementation, the transceiver module 802 is further configured to send, to the access network device, second indication information used to instruct the access network device to start traffic control for the first PDU session.
[0332] In a possible implementation, when the apparatus is a chip, the transceiver module 802 can be a communication interface, a pin, or a circuit, and the like. The communication interface can be configured to input data to be processed to the processor, and output the processing result of the processor to the outside. In a specific implementation, the communication interface can be a general purpose input output (GPIO) interface, and can be connected with a plurality of peripheral devices, such as a display (LCD), a camera, a radio frequency (RF) module, an antenna, and the like. The communication interface is connected with the processor through a bus.
[0333] The processing module 801 can be a processing circuit, which can be one or more processors, or all or part of circuitry in the one or more processors for control and / or processing. Among them, the processing circuit or the processor can execute the computer execution instructions stored in the storage module to make the chip execute any involved method. Further, the processor can include a controller, an arithmetic unit and a register. Illustratively, the controller is mainly responsible for instruction decoding and issuing control signals for corresponding operations of instructions. The arithmetic unit is mainly responsible for performing fixed-point or floating-point arithmetic operations, shift operations, and logic operations, etc., and can also perform address operations and conversion. The register is mainly responsible for saving the register operands and intermediate operation results temporarily stored in the process of instruction execution, etc. In specific implementation, the hardware architecture of the processor can be an application-specific integrated circuit (ASIC) architecture, a microprocessor without interlocked piped stages architecture (MIPS) architecture, an advanced RISC machines (ARM) architecture, or a network processor (NP) architecture, etc. The processor can be single-core or multi-core. The storage module can be a storage module within the chip, such as a register, a cache, etc. The storage module can also be a storage module located outside the chip, such as a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM), etc.
[0334] It should be noted that the functions of the processor and the interface corresponding to each other can be realized by hardware design, software design, or a combination of software and hardware, which is not limited here.
[0335] Figure 9A structure schematic diagram of still another communication apparatus provided by the embodiments of the present application is shown in FIG. 9. It can be understood that the communication apparatus 910 includes necessary means such as modules, units, elements, circuits, or interfaces, etc., which are properly configured together to perform the present solution. The communication apparatus 910 can be the access network device, the session management network element, or the like, or can be a component (e.g., a chip) of the device to implement the methods described in the above method embodiments. The communication apparatus 910 includes one or more processors 911. The processor 911 can be a general purpose processor or a special purpose processor, etc. For example, it can be a baseband processor or a central processing unit. The baseband processor can be used to process communication protocols and communication data, and the central processing unit can be used to control the communication apparatus (e.g., the access network device, the session management network element, or the chip, etc.), execute software programs, and process data of the software programs.
[0336] Optionally, in one design, the processor 911 can include a program 913 (which can also be referred to as code or instructions at times) that can be run on the processor 911 so that the communication apparatus 910 performs the methods described in the above embodiments. In another possible design, the communication apparatus 910 includes a circuit (not shown) for implementing the functions of the access network device, the session management network element, etc. in the above embodiments. Optionally, the communication apparatus 910 can include one or more memories 912 having a program 914 (which can also be referred to as code or instructions at times) stored thereon, which can be run on the processor 911 so that the communication apparatus 910 performs the methods described in the above method embodiments. Figure 9 Optionally, the processor 911 and / or the memory 912 can also store data. The processor and the memory can be separately arranged or integrated together.
[0337] Optionally, the processor 911 and / or the memory 912 can also store data. The processor and the memory can be separately arranged or integrated together.
[0338] Optionally, when the communication apparatus 910 is the access network device, the session management network element, or the like, it can further include a transceiver 915 and / or an antenna 916. The processor 911 can also be referred to as a processing unit and is used to control the communication apparatus (e.g., the access network device, the session management network element, or the like). The transceiver 915 can also be referred to as a transceiving unit, a transceiver, a transceiving circuit, or a transceiver, etc., and is used to implement the transceiving function of the communication apparatus through the antenna 916.
[0339] Optionally, when the communication apparatus 910 is a chip for the access network device, the session management network element, or the like, it can further include a transceiving circuit, such as an input / output interface or a transceiving interface.
[0340] The embodiments of the present application also provide a communication apparatus, which includes at least one processor; wherein the at least one processor is configured to perform any of the methods described in any of the embodiments.
[0341] The embodiments of the present application further provide a computer readable storage medium, which stores computer instructions, and the computer instructions, when executed, cause a computer to perform the method of any of the embodiments.
[0342] The embodiments of the present application further provide a computer program product, which comprises computer program codes, and the computer program codes, when executed by a computer, cause the computer to perform the method of any of the embodiments.
[0343] The embodiments of the present application further provide a chip, which comprises at least one processor and an interface, and the processor is configured to read and execute instructions stored in a memory, and the instructions, when executed, cause the chip to perform the method of any of the embodiments.
[0344] Optionally, the processing performed by a single execution subject (an access network device, or a session management network element, etc.) shown in any of the embodiments above can also be divided into processing performed by multiple execution subjects, which can be logically and / or physically separated. For example, the processing performed by the access network device can be divided into processing performed by at least one of the CU, the DU and the RU.
[0345] In addition, each of the embodiments of the present application is only described by taking all the steps included therein as an example, and should not be regarded as a specific limitation to the present application. For example, the order between the steps in each of the embodiments can be simply changed according to the functions and inherent logic thereof; for another example, the steps in each of the embodiments can be executed in whole or in part, as long as the same functions as in the embodiments of the present application can be achieved.
[0346] In the present application, “sending” and “receiving” represent the direction of signal transmission. For example, “sending information to an access network device” can be understood as that the destination of the information is the access network device, which can include direct transmission through the air interface, or indirect transmission through the air interface by other units or modules. “Receiving information from an access network device” can be understood as that the source of the information is the access network device, which can include direct reception from the access network device through the air interface, or indirect reception from the access network device through the air interface by other units or modules. “Sending” can also be understood as the “output” of the chip interface, and “receiving” can also be understood as the “input” of the chip interface.
[0347] In other words, the sending and receiving can be between devices, for example, between an access network device and a terminal; or can be within a device, for example, between components, between modules, between chips, between software modules or hardware modules within the device through a bus, a wire or an interface.
[0348] In the embodiments of the present application, "when", "if", "whether" and "in the case of" all refer to the objective condition that the device will make corresponding processing, not limited in time, and does not require the device to have a judgment action when it is implemented, nor means that there are other limitations.
[0349] In the present application, the words "example", "exemplary", "for example" or "for instance" etc. are used to indicate that the item being referred to is an example, instance or illustration. Any embodiment or design described herein as "example", "exemplary", "for example" or "for instance" should not be interpreted as being more preferred or advantageous than other embodiments or designs. Rather, the use of "example", "exemplary", "for example" or "for instance" is merely intended to present concepts in a concrete manner.
[0350] The above merely illustrates the specific embodiments of the present application, but the protection scope of the present application is not limited to this. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed by the present application, which should be covered by the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A communication method, characterized in that, include: Based on the first flow control parameters of the first protocol data unit (PDU) session, it is determined that the data flow of the first PDU session is congested. The first PDU session is a session established by the terminal and the server for communication. A first congestion notification packet is sent based on the first flow table of the first PDU session. The first flow table is used to indicate the forwarding path of the data flow of the first PDU session, and the first congestion notification packet is used to notify that the data flow of the first PDU session is congested.
2. The method according to claim 1, characterized in that, The method further includes: Receive first information from the session management network element, the first information being used to determine the first flow control parameter.
3. The method according to claim 2, characterized in that, The method further includes: The first information is the first Quality of Service (QoS) requirement corresponding to the first PDU session, and the first traffic control parameter is determined based on the first QoS requirement.
4. The method according to claim 3, characterized in that, Determining the first traffic control parameter based on the first QoS requirement includes: The first flow control parameter is determined based on the first QoS requirement and the capability information of the access network device. The capability information of the access network device includes the air interface transmission rate and / or buffer size supported by the access network device.
5. The method according to claim 3, characterized in that, Determining the first traffic control parameter based on the first QoS requirement corresponding to the first PDU session includes: Based on the first QoS requirement and the first correspondence, the first flow control parameters are determined; The first correspondence includes the correspondence between multiple QoS requirements and multiple traffic control parameters, and the correspondence between the multiple QoS requirements and the multiple traffic control parameters includes the correspondence between the first QoS requirement and the first traffic control parameter.
6. The method according to claim 2, characterized in that, The first information is the first flow control parameter.
7. The method according to any one of claims 1-6, characterized in that, The method further includes: The first flow table is established based on the terminal's queue connection information and the server's QP connection information.
8. The method according to claim 7, characterized in that, The method further includes: The terminal receives QP connection establishment information from the session management network element, and the server receives QP connection establishment information from the server.
9. The method according to any one of claims 1-6, characterized in that, The method further includes: Obtain the first packet from the data stream of the first PDU session. The first packet includes the source address, destination address, destination QP field, and port index. Based on the source address, the destination address, the destination QP field, the source QP field, and the port index, establish the first flow table; Wherein, the source address is the address of the terminal, the destination address is the address of the server, the destination QP field indicates the QP number of the server, the source QP field indicates the QP number of the terminal, and the port index indicates the port of the server; or, The source address is the address of the server, the destination address is the address of the terminal, the destination QP field is used to indicate the QP number of the terminal, the source QP field is used to indicate the QP number of the server, and the port index indicates the port of the terminal.
10. The method according to any one of claims 1-9, characterized in that, The method further includes: The device receives a first indication message from a session management network element, which instructs the access network device to establish the first flow table.
11. The method according to any one of claims 1-6, characterized in that, The method further includes: Receive the first flow table from the session management network element.
12. The method according to any one of claims 1-11, characterized in that, The method further includes: The device receives a second instruction from the session management network element, which instructs the access network device to enable flow control for the first PDU session.
13. A communication method, characterized in that, include: It is determined that the Remote Direct Memory Access (RDMA) protocol will be used to transmit the data stream of the first protocol data unit (PDU) session, which is a session established by the terminal and the server through communication. Send first information to the access network device. The first information is used to determine the first flow control parameters of the first PDU session. The first flow control parameters are used to determine that the data flow of the first PDU session is congested.
14. The method according to claim 13, characterized in that, The step of determining to use the RDMA protocol to transmit the data stream of the first PDU session includes: Obtain a request message, the request message being used to instruct the transmission of the data stream of the first PDU session using the RDMA protocol; Based on the request message, it is determined that the RDMA protocol will be used to transmit the data stream of the first PDU session.
15. The method according to claim 14, characterized in that, The request message includes at least one of the following: the transmission type of the RDMA protocol, the protocol version of the RDMA protocol, or the service type of the RDMA protocol.
16. The method according to claim 14 or 15, characterized in that, The step of determining, based on the request message, to use the RDMA protocol to transmit the data stream of the first PDU session includes: Based on the request message and the terminal's subscription information, it is determined that the data stream of the first PDU session will be transmitted using the RDMA protocol. The terminal's subscription information includes the session type of the first PDU session and / or the protocol version of the RDMA protocol supported by the terminal. The session type of the first PDU session is used to indicate that the first PDU session is a PDU session that transmits data based on the RDMA protocol.
17. The method according to any one of claims 13-16, characterized in that, The first information is the first Quality of Service (QoS) requirement corresponding to the first PDU session.
18. The method according to any one of claims 13-16, characterized in that, The first information is the first flow control parameter.
19. The method according to claim 18, characterized in that, The method further includes: The first traffic control parameter is determined based on the first QoS requirement corresponding to the first PDU session.
20. The method according to claim 19, characterized in that, Determining the first traffic control parameter based on the first QoS requirement includes: The first flow control parameter is determined based on the first QoS requirement and the capability information of the access network device. The capability information of the access network device includes the air interface transmission rate and / or buffer size supported by the access network device.
21. The method according to any one of claims 13-20, characterized in that, The method further includes: The terminal's queue pair QP connection information and the server's QP connection information are obtained. The terminal's QP connection information and the server's QP connection information are used to establish a first flow table for the first PDU session. The first flow table is used to indicate the forwarding path of the data flow of the first PDU session. Send the terminal's QP connection establishment information and the server's QP connection establishment information to the access network device.
22. The method according to any one of claims 13-21, characterized in that, The method further includes: Send a first indication message to the access network device. The first indication message is used to instruct the access network device to establish a first flow table for the first PDU session. The first flow table is used to indicate the forwarding path of the data flow of the first PDU session.
23. The method according to any one of claims 13-20, characterized in that, The method further includes: Send a first flow table of the first PDU session to the access network device. The first flow table is used to indicate the forwarding path of the data flow of the first PDU session.
24. The method according to any one of claims 15-23, characterized in that, The method further includes: Send a second indication message to the access network device, the second indication message being used to instruct the access network device to enable flow control for the first PDU session.
25. A communication device, characterized in that, Includes units or modules for implementing the method as described in any one of claims 1 to 24.
26. A communication device, characterized in that, The communication device includes at least one processor; wherein the at least one processor is configured to perform the method of any one of claims 1 to 24.