Packet transmission method and apparatus
By mapping RDMA packets to appropriate wireless bearers according to the service type of RDMA packets, the mapping problem of RDMA packets in wireless bearers is solved, transmission performance and reliability are improved, and performance problems caused by mapping deviation are avoided.
Patent Information
- Application Number
- PCT/CN2025/077521
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-03-01
- Filing Date
- 2025-02-17
- Publication Date
- 2025-09-04
AI Technical Summary
In the cross-network communication of communication devices, how RDMA messages are effectively mapped to wireless bearers is an urgent problem that needs to be solved, especially in high-performance computing and big data analysis applications. The prior art is difficult to ensure the transmission performance and reliability of RDMA messages.
By determining the service type of the RDMA message and mapping it to the corresponding wireless bearer according to the service type, acknowledgement mode (AM) or no acknowledgement mode (UM) is used to match the transmission requirements of the RDMA message to ensure the effective mapping of the RDMA message.
Effective mapping of RDMA packets is realized, transmission performance and reliability are improved, and performance problems caused by mapping deviations are avoided, such as reduced reliability or increased delay.
Smart Images

Figure CN2025077521_04092025_PF_FP_ABST
Abstract
Description
Message transmission method and device
[0001] This application claims priority to the Chinese patent application with application number 202410239956.0 filed with the State Intellectual Property Office of China on March 1, 2024, and priority to the Chinese patent application with the invention name “A Message Transmission Method and Device”, all contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of communications, and more specifically, to a message transmission method and device. Background Art
[0003] In applications where communication devices communicate across networks, such as high-performance computing and big data analytics, with high throughput and low latency, the industry typically uses remote direct memory access (RDMA) technology to replace traditional transmission control protocol (TCP). RDMA technology can transfer data directly from the memory of one computing node to another without the intervention of the other computing node's operating system. This allows for high-throughput, low-latency network communication, thereby reducing latency and lowering the utilization of the data center's central processing unit (CPU).
[0004] RDMA technology can provide a variety of different service types. For example, based on the reliability and connection mode of communication, four service types can be described: reliable connection (RC), unreliable connection (UC), reliable datagram (RD), and unreliable datagram (UD). When data packets of different types of RDMA services need to be transmitted over the air interface, how to effectively map RDMA packets to radio bearers is a pressing issue. Summary of the Invention
[0005] The present application provides a message transmission method and apparatus, which can map RDMA to a corresponding wireless bearer according to the service type of the RDMA message, thereby ensuring effective RDMA mapping.
[0006] In a first aspect, a message transmission method is provided. The method can be executed by a terminal device, a network device, or a chip or circuit configured in a network device or a terminal device, and this application does not limit this.
[0007] The method may include: determining a service type of a first message, where the first message is a Remote Direct Memory Access (RDMA) message; and mapping the first message to a first radio bearer according to the service type of the first message.
[0008] The service type of the first message may be used to indicate the transmission requirement of the RDMA message.
[0009] Based on the above technical solution, the network device or terminal device can map RDMA based on the service type of the RDMA message, ensuring that the RDMA message is mapped to the corresponding radio bearer, which can meet the transmission requirements of the RDMA message, thereby ensuring the transmission performance of the RDMA message.
[0010] In combination with the first aspect, in some implementations of the first aspect, the mode of the first wireless bearer corresponds to the service type of the first message, and the mode of the first wireless bearer includes an acknowledged mode (AM) mode or an unacknowledged mode (UM) mode.
[0011] Among them, the first radio bearer in the AM mode requires a response mechanism, or in other words, a confirmation operation can be performed, for example, a response message is sent to ensure data reliability; the first radio bearer in the UM mode does not require a response mechanism, or in other words, a confirmation operation can be omitted, for example, there is no need to send a response message, and data verification is performed through other layers to avoid increasing latency.
[0012] In this technical solution, the first radio bearer includes either AM mode or UM mode, and the mapping of the first message to an AM mode radio bearer or a UM mode radio bearer is determined based on the service type of the first message. This ensures that the service type of the first message matches the AM / UM mode of the radio bearer, thereby avoiding message transmission performance issues caused by mapping deviations, such as reduced reliability or increased latency.
[0013] In combination with the first aspect, in certain implementations of the first aspect, the service type of the first message is determined based on a connection type of a queue pair (QP) and / or a reliability type of the QP, where the connection type of the QP includes a connection service type or a datagram service type, and the reliability type of the QP includes a reliable service type or an unreliable service type.
[0014] In this technical solution, the service type of the first message may be determined according to the connection type of the QP, or according to the reliability type of the QP, or may be determined in combination with the connection type and the reliability type of the QP. This embodiment of the present application does not limit this.
[0015] In combination with the first aspect, in certain implementations of the first aspect, the service type of the first message includes one of a connection service type or a datagram service type, or the service type of the first message includes one of a reliable service type or an unreliable service type, or the service type of the first message includes one of a reliable connection service type, an unreliable connection service type, a reliable datagram service type, and an unreliable datagram service type.
[0016] In this application, for the sake of convenience of description, the connection service type (connection) is recorded as C, the datagram service type (datagram) is recorded as D, the reliable service type (reliable) is recorded as R, the unreliable service type (unreliable) is recorded as U, the reliable connection service type is recorded as RC, the unreliable connection service type is recorded as UC, the reliable datagram service type is recorded as RD, and the unreliable datagram service type is recorded as UD.
[0017] In combination with the first aspect, in some implementations of the first aspect, it is determined that a service type of the first message has a mapping relationship with the first radio bearer.
[0018] In this technical solution, the first radio bearer corresponding to the first message is determined based on the service type of the first message. In other words, different message service types correspond to different radio bearers. Mapping messages of different reliability types to different radio bearers can ensure reliable transmission or latency requirements for the messages. Based on the connection type, different RDMA messages are mapped to radio bearers corresponding to different types of tunnels, which helps simplify the tunnel establishment and maintenance process. This allows for efficient mapping of RDMA messages to radio bearers.
[0019] In conjunction with the first aspect, in some implementations of the first aspect, the terminal device receives first configuration information from the network device;
[0020] Determine, according to the first configuration information, that the service type of the first message has a mapping relationship with the first radio bearer.
[0021] In this technical solution, the network device can send first configuration information to the terminal device, and the terminal device determines the wireless bearer corresponding to the first message based on the first configuration information, or in other words, the terminal device determines the first wireless bearer corresponding to the first message based on the first configuration information and the service type of the first message.
[0022] In combination with the first aspect, in some implementations of the first aspect, first configuration information is sent, where the first configuration information is used to indicate that a mapping relationship exists between a service type of the first message and the first radio bearer.
[0023] In this technical solution, the network device can send first configuration information to the terminal device, and the terminal device determines the wireless bearer corresponding to the first message based on the first configuration information, or in other words, the terminal device determines the first wireless bearer corresponding to the first message based on the first configuration information and the service type of the first message.
[0024] It is understandable that the network device and the terminal device may also pre-configure or pre-define the first configuration information, and the embodiments of the present application are not limited to this.
[0025] In combination with the first aspect, in certain implementations of the first aspect, the first message includes first indication information, and the first indication information is used to indicate the service type of the first message. Determining the service type of the first message based on the first message includes: determining the service type of the first message based on the first indication information.
[0026] In this technical solution, the first message includes first indication information, and the terminal device or network device can determine the service type of the first message based on the first indication information.
[0027] In combination with the first aspect, in certain implementations of the first aspect, the first indication information includes service type information of the first message and / or queue pair number (QPN) information of the first message, and the QPN information of the first message is associated with the service type information of the first message.
[0028] It should be understood that the transport layer message header of an RDMA message can carry the QPN information of the message and the service type information of the message, that is, the transport layer message header of the first message can carry the QPN information of the first message and the service type information of the first message, and the QPN information of the first message and the service type information of the first message correspond to each other.
[0029] In combination with the first aspect, in certain implementations of the first aspect, when the service type of the first message includes one of a connection service type or a datagram service type, or the service type of the first message includes one of a reliable service type or an unreliable service type, the first indication information includes 1 bit of indication information; when the service type of the first message includes one of a reliable connection service type, an unreliable connection service type, a reliable datagram type, and an unreliable datagram type, the first indication information includes 2 bits of indication information.
[0030] In combination with the first aspect, in some implementations of the first aspect, the first indication information is carried in a Service Data Adaptation Protocol (SDAP) layer message header.
[0031] In combination with the first aspect, in some implementations of the first aspect, the service type of the first message is determined according to a first request message, where the first request message is a link establishment request message.
[0032] In this technical solution, the terminal device or the network device can determine the service type of the first message according to the link establishment request message in the link establishment process.
[0033] In the present application, the terminal device or network device can map the first message to the corresponding wireless bearer based on the service type of the first message. Based on this scheme, the present application also provides a scheme for the terminal device or network device to determine the service type of the first message, or in other words, the terminal device or network device identifies the service type of the first message. The embodiments of the present application do not limit this.
[0034] In the second aspect, a communication method is provided, which can be executed by a terminal device, a network device, or a chip or circuit configured in the network device or the terminal device, and this application does not limit this.
[0035] The method may include: determining a service type of a first message according to first indication information or a first request message, wherein the first indication information is included in the first message, and the first request message is a link establishment request message.
[0036] In this technical solution, the first indication information may be information carried in a protocol layer above the packet data convergence protocol (PDCP) layer, for example, a new bit is added in the service data adaptation protocol (SDAP) layer to indicate the service type of the first message or the QPN information corresponding to the first message.
[0037] As an example, the QoS flow identifier (quality of service flow ID, QFI) indication field, the RDI (reflective QoS flow to DRB mapping indication) indication field and the RQI (reflective QoS indication) indication field included in the SDAP message header can all be used to indicate the service type of the first message, or in other words, the QFI indication field, the RDI indication field and the RQI indication field can all be used as service type information of the first message.
[0038] The RQI is used to instruct the NAS layer (non-access stratum) whether to update the mapping relationship between the SDF (service data flow) and the QoS flow; the RDI is used to instruct the UE through the user plane to complete the inverse mapping relationship between the uplink QoS flow and the DRB or change the inverse mapping relationship.
[0039] In this technical solution, the service type corresponding to the first message can be determined according to the message type of the link establishment request message and / or the transmission service type in the link establishment request message.
[0040] As an example, when it is determined that the type of the link establishment request message is a SIDR-Request message, it can be determined that the first message is a UD service type; when it is determined that the type of the link establishment request message is a ConnectRequest message, it is necessary to further determine whether the service type of the first message is RC, RD or UC based on the transmission service type in the ConnectRequest message.
[0041] On the third aspect, a device is provided, which may be a terminal device, a network device, or a chip or circuit configured in a network device or a terminal device, and this application does not limit this.
[0042] The device may include: a processing unit, configured to determine a service type of a first message, where the first message is a Remote Direct Memory Access (RDMA) message; and a processing unit further configured to map the first message to a first radio bearer according to the service type of the first message.
[0043] In combination with the third aspect, in some implementations of the third aspect, the mode of the first radio bearer corresponds to the service type of the first message, and the mode of the first radio bearer includes AM mode or UM mode.
[0044] In combination with the third aspect, in certain implementations of the third aspect, the service type of the first message is determined based on the connection type of the queue to the QP and / or the reliability type of the QP, where the connection type of the QP includes a connection service type or a datagram service type, and the reliability type of the QP includes a reliable service type or an unreliable service type.
[0045] In combination with the third aspect, in certain implementations of the third aspect, the service type of the first message includes one of a connection service type or a datagram service type, or the service type of the first message includes one of a reliable service type or an unreliable service type, or the service type of the first message includes one of a reliable connection service type, an unreliable connection service type, a reliable datagram service type, and an unreliable datagram service type.
[0046] In combination with the third aspect, in some implementations of the third aspect, the processing unit is further used to determine that a service type of the first message has a mapping relationship with the first radio bearer.
[0047] In combination with the third aspect, in certain implementations of the third aspect, the device also includes a transceiver unit for receiving first configuration information from a network device; the processing unit is also used to determine, based on the first configuration information, that the service type of the first message has a mapping relationship with the first wireless bearer.
[0048] In combination with the third aspect, in some implementations of the third aspect, the device further includes a transceiver unit for sending first configuration information, where the first configuration information is used to indicate that a service type of the first message has a mapping relationship with the first wireless bearer.
[0049] It is understandable that the network device and the terminal device may also pre-configure or pre-define the first configuration information, and the embodiments of the present application are not limited to this.
[0050] In combination with the third aspect, in certain implementations of the third aspect, the first message includes first indication information, and the first indication information is used to indicate the service type of the first message. The service type of the first message is determined based on the first message, including: the processing unit is also used to determine the service type of the first message based on the first indication information.
[0051] In this technical solution, the first message includes first indication information, and the terminal device or network device can determine the service type of the first message based on the first indication information.
[0052] In combination with the third aspect, in certain implementations of the third aspect, the first indication information includes the service type information of the first message and / or the queue pair sequence number QPN information of the first message, and the QPN of the first message is associated with the service type of the first message.
[0053] In combination with the third aspect, in certain implementations of the third aspect, when the service type of the first message includes one of a connection service type or a datagram service type, or the service type of the first message includes one of a reliable service type or an unreliable service type, the first indication information includes 1-bit indication information; when the service type of the first message includes one of a reliable connection service type, an unreliable connection service type, a reliable datagram type, and an unreliable datagram type, the first indication information includes 2-bit indication information.
[0054] In combination with the third aspect, in certain implementations of the third aspect, the first indication information is carried in a Service Data Adaptation Protocol (SDAP) layer message header.
[0055] In combination with the third aspect, in some implementations of the third aspect, the processing unit is further used to determine the service type of the first message based on a first request message, where the first request message is a link establishment request message.
[0056] In this technical solution, the terminal device or the network device can determine the service type of the first message according to the link establishment request message in the link establishment process.
[0057] In a fourth aspect, a communication device is provided. The device may be a terminal device, a network device, or a chip or circuit configured in a network device or a terminal device. This application does not limit this.
[0058] The device may include: a processing unit, configured to determine a service type of a first message according to first indication information or a first request message, wherein the first indication information is included in the first message, and the first request message is a link establishment request message.
[0059] In a fifth aspect, a communication device is provided, the device being configured to execute the method provided in any one of the first and second aspects. Specifically, the device may include units and / or modules, such as a processing unit and / or a communication unit, configured to execute the method provided in any one of the above implementations of any one of the first and second aspects.
[0060] In one implementation, the apparatus is a communication device (e.g., a terminal device or a network device). When the apparatus is a communication device, the communication unit may be a transceiver or an input / output interface; the processing unit may be at least one processor. Alternatively, the transceiver may be a transceiver circuit. Alternatively, the input / output interface may be an input / output circuit.
[0061] In another implementation, the apparatus is a chip, chip system, or circuit used in a communication device. When the apparatus is a chip, chip system, or circuit used in a device, the communication unit may be an input / output interface, interface circuit, output circuit, input circuit, pin, or related circuit on the chip, chip system, or circuit; and the processing unit may be at least one processor, processing circuit, or logic circuit.
[0062] In a sixth aspect, a communication device is provided, comprising: at least one processor for executing the method provided by any one of the above-mentioned implementations of any one of the above-mentioned first to second aspects.
[0063] Optionally, the device further includes: a memory for storing programs; accordingly, at least one processor is used to execute computer programs or instructions stored in the memory.
[0064] In one implementation, the apparatus is a communication device (such as a terminal device or a network device).
[0065] In another implementation, the apparatus is a chip, a chip system, or a circuit used in a communication device.
[0066] In a seventh aspect, the present application provides a processor for executing the methods provided in the above aspects.
[0067] For the operations such as sending and acquiring / receiving involved in the processor, unless otherwise specified, or if they do not conflict with their actual functions or internal logic in the relevant descriptions, they can be understood as operations such as processor output and input, or as sending and receiving operations performed by the radio frequency circuit and antenna. This application does not limit this.
[0068] In an eighth aspect, a computer-readable storage medium is provided, which stores a program code for execution by a device, and the program code includes a method provided by any one of the above-mentioned implementation methods for executing any one of the above-mentioned first to second aspects.
[0069] In a ninth aspect, a computer program product comprising instructions is provided, which, when executed on a computer, enables the computer to execute the method provided by any one of the above-mentioned implementations of any one of the above-mentioned first to second aspects.
[0070] In the tenth aspect, a chip is provided, which includes a processor and a communication interface. The processor reads instructions stored in a memory through the communication interface and executes the method provided by any of the above-mentioned implementation methods of any of the above-mentioned first to second aspects.
[0071] Optionally, as an implementation method, the chip also includes a memory, in which a computer program or instruction is stored, and the processor is used to execute the computer program or instruction stored on the memory. When the computer program or instruction is executed, the processor is used to execute the method provided in any one of the above implementation methods of any one of the first to second aspects. BRIEF DESCRIPTION OF THE DRAWINGS
[0072] FIG1 is a schematic diagram of an architecture 100 of a communication system applicable to an embodiment of the present application.
[0073] FIG2 is a schematic diagram of the structure of a computer device applicable to an embodiment of the present application.
[0074] FIG3 is a schematic diagram of a connection service and a datagram service applicable to an embodiment of the present application.
[0075] FIG4 is a schematic diagram of an SDAP layer message format applicable to an embodiment of the present application.
[0076] FIG5 is a schematic flowchart of a message transmission method 500 applicable to an embodiment of the present application.
[0077] FIG6 is a schematic diagram of an SDAP message format applicable to an embodiment of the present application.
[0078] FIG7 is a schematic diagram of a mapping relationship between QP and radio bearer applicable to an embodiment of the present application.
[0079] FIG8 is a schematic diagram of a mapping relationship between QP and radio bearer applicable to an embodiment of the present application.
[0080] FIG9 is a schematic diagram of a mapping relationship between QP and radio bearer applicable to an embodiment of the present application.
[0081] FIG10 is a schematic diagram of a communication device applicable to an embodiment of the present application.
[0082] FIG11 is a structural block diagram of a communication architecture applicable to an embodiment of the present application. DETAILED DESCRIPTION
[0083] The technical solution in this application will be described below with reference to the accompanying drawings.
[0084] The technical solutions provided in this application can be applied to various communication systems, such as: fifth generation (5G) or new radio (NR) systems, long term evolution (LTE) systems, LTE frequency division duplex (FDD) systems, LTE time division duplex (TDD) systems, etc. The technical solutions provided in this application can also be applied to future communication systems, such as the sixth generation mobile communication system. The technical solutions provided in this application can also be applied to device to device (D2D) communication, vehicle-to-everything (V2X) communication, machine to machine (M2M) communication, machine type communication (MTC), and Internet of Things (IoT) communication systems or other communication systems.
[0085] First, a communication system applicable to this application is briefly introduced as follows.
[0086] Referring to Figure 1, as an example, Figure 1 shows a schematic architecture diagram of a communication system. For example, the architecture may include a radio access network (RAN), terminal equipment, a core network (CN), and an external network. The external network may be a data network (DN), and the RAN refers to the RAN provided in this application, or may be referred to as a RAN node, RAN device, or access network device, and may include a cluster control node and a service service node, as described below.
[0087] A terminal device in this application may be referred to as an access terminal, a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a terminal, a wireless communication device, a user agent, or a user device.
[0088] The terminal device can be a device that provides voice / data to users, for example, a handheld device or vehicle-mounted device with a wireless connection function. At present, some examples of terminals are: mobile phones, tablet computers, laptop computers, PDAs, mobile internet devices (MIDs), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, cellular phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs), handheld devices with wireless communication capabilities, computing devices or other processing devices connected to wireless modems, wearable devices, terminal devices in 5G networks or future evolved public land mobile communication networks (PLMNs). The terminal equipment in the network (PLMN), etc., is not limited to this in the embodiments of the present application.
[0089] As an example and not a limitation, in the embodiment of the present application, the terminal device may also be a wearable device. Wearable devices may also be called wearable smart devices, which are a general term for wearable devices that are intelligently designed and developed using wearable technology for daily wear, such as glasses, gloves, watches, clothing, and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not only hardware devices, but also achieve powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include those that are fully functional, large in size, and can achieve complete or partial functions without relying on smartphones, such as smart watches or smart glasses, as well as those that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various smart bracelets and smart jewelry for vital sign monitoring.
[0090] In addition, in the embodiments of the present application, the terminal device can also be a terminal device in an IoT system. IoT is an important part of the future development of information technology. Its main technical feature is to connect objects to the network through communication technology, thereby realizing an intelligent network of human-machine interconnection and object-to-object interconnection.
[0091] It should be noted that the terminal device and the access network device can communicate with each other using a certain air interface technology (such as but not limited to NR or LTE technology). The terminal devices can also communicate with each other using a certain air interface technology (such as but not limited to NR or LTE technology).
[0092] In the embodiments of the present application, the device for implementing the function of the terminal device can be the terminal device, or it can be a device that can support the terminal device to implement the function, such as a chip system or chip, which can be installed in the terminal device. In the embodiments of the present application, the chip system can be composed of a chip, or it can include a chip and other discrete devices.
[0093] Access network (AN) equipment in this application provides access to a communications network for authorized users in a specific area. Specifically, it can include wireless network equipment in a 3rd Generation Partnership Project (3GPP) network or access points in a non-3GPP network. For ease of description, the following description uses AN equipment.
[0094] AN equipment can adopt different wireless access technologies. There are currently two types of wireless access technologies: 3GPP access technology (for example, the wireless access technology used in the third generation (3rd generation, 3G), fourth generation (4G) or 5G systems) and non-3GPP (non-3GPP) access technology. 3GPP access technology refers to access technology that complies with 3GPP standard specifications. For example, the access network equipment in the 5G system is called the next generation Node Base station (gNB) or RAN equipment. Non-3GPP access technologies may include air interface technologies represented by access points (APs) in wireless fidelity (WiFi), worldwide interoperability for microwave access (WiMAX), code division multiple access (CDMA), etc. AN equipment can allow terminal devices and the 3GPP core network to interconnect and communicate using non-3GPP technologies.
[0095] AN equipment is responsible for radio resource management, quality of service (QoS) management, data compression and encryption, and other functions on the air interface side. AN equipment provides access services to terminal devices and forwards control signals and user data between terminal devices and the core network.
[0096] AN equipment may include, for example, but is not limited to: a macro base station, a micro base station (also known as a small station), 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 NodeB, or a home Node B, HNB), a baseband unit (BBU), an AP in a WiFi system, a wireless relay node, a wireless backhaul node, a transmission point (TP) or a transmission and reception point (TRP), etc. It can also be a gNB or a transmission point (TRP or TP) in a 5G (such as NR) system, one or a group of (including multiple antenna panels) antenna panels of a base station in a 5G system, or a network node constituting a gNB or a transmission point, such as a distributed unit (DU), or a base station in a next-generation communication system. The embodiments of the present application do not limit the specific technology and specific device form adopted by the AN equipment.
[0097] It should be understood that FIG1 is only a simplified schematic diagram for ease of understanding, and the communication system 100 may further include other network devices or other terminal devices, which are not shown in FIG1 .
[0098] It should also be understood that the communication system 100 shown in Figure 1 is only an example of an application scenario of an embodiment of the present application. The present application can also be applied to communication between any two devices, for example, communication between terminal devices, and communication between network devices.
[0099] In the embodiments of the present application, the device for implementing the function of the terminal device can be the terminal device, or it can be a device that can support the terminal device to implement the function, such as a chip system or chip, which can be installed in the terminal device. In the embodiments of the present application, the chip system can be composed of a chip, or it can include a chip and other discrete devices.
[0100] In many applications, the computer devices that deploy the applications need to access data to implement the application's functionality. For example, a computer device that deploys a database application needs to perform extensive data access to update the database or respond to data query requests and return query results to the user. Another example is a computer device that deploys a web application that needs to perform extensive data access to return requested content to the user.
[0101] A computer device can be a server or a terminal. Terminals include, but are not limited to, user devices such as desktop computers, laptops, and smartphones. For ease of understanding, the following describes the structure of a computer device.
[0102] Referring to Figure 2, as an example, Figure 2 shows a structural diagram of a computer device, which includes a processor 201, an input and output device (IO device) 202, a memory 203, a cache 204, a memory management unit (MMU) 205, an input and output memory management unit (IOMMU) 206, an external memory 207 and a bus 208.
[0103] The processor 201 includes at least one core. This core is also called a computing engine. Each core can independently execute tasks. When the processor 201 includes multiple cores, tasks from applications can be divided, allowing the application to fully utilize multiple cores and execute more tasks within a specific time. In this embodiment, the processor 201 can be a main processor, such as a CPU.
[0104] Input / output devices 202 refer to hardware devices capable of inputting and / or outputting data. Input / output devices 202 can be categorized as input devices and output devices. Input devices may include devices such as a mouse, keyboard, joystick, stylus, and microphone, while output devices may include devices such as a display and speakers.
[0105] Memory 203, also known as internal memory or main memory, is used to temporarily store computational data from processor 202. Furthermore, memory 203 is also used to temporarily store data exchanged with external memory 207. Memory 203 can typically be implemented using storage media such as dynamic random access memory (DRAM) or static random access memory (SRAM).
[0106] Cache 204 (in this embodiment, processor cache, such as a CPU cache) is used to reduce the average time required for processor 202 to access memory 203. Referring to Figure 2 , in the pyramid storage system, cache 204 is located in the second layer from the top, just below the registers of processor 201 (not shown in Figure 2 ) and above memory 203 (which is located in the third layer from the top). Typically, the capacity of cache 204 is much smaller than that of memory 203, but its access speed can approach the frequency of processor 201.
[0107] The memory management unit 205 is a computer hardware component for processing data access requests. Specifically, the memory management unit 205 is configured to map virtual addresses (VAs) in data access requests. The memory management unit 205 can intercept data access requests issued by the core of the processor 201 and map (or translate) the virtual addresses in the data access requests into physical addresses (PAs) to facilitate access to the memory 203 based on the PAs.
[0108] The I / O memory management unit 206 is essentially a memory management unit. Similar to how the memory management unit 205 maps virtual addresses visible to the processor 201 to physical addresses, the I / O memory management unit 206 is used to map virtual addresses (also called device addresses or IO addresses) visible to the I / O devices 202 to physical addresses.
[0109] The external memory 207 is also called external memory or auxiliary memory, and is usually used to persist data. For example, the external memory 207 can persist the calculation data in the storage processor 201. Even if the power supply is abnormal, the data written to the external memory 207 can still be saved, avoiding data loss. In specific implementation, the external memory 207 includes at least one non-volatile memory 2071. When the external memory includes multiple non-volatile memories, these multiple non-volatile memories can be of the same type or different types. For example, in the example of Figure 2, the external memory 207 can include two types of non-volatile memories, such as storage class memory (SCM) and solid state drive (SSD).
[0110] Bus 208 is used to connect the various functional components of a computer device. Bus 208 is a common communication trunk for transmitting information between the various functional components of a computer device. Bus 208 can be a transmission line formed by wires. Depending on the connection objects, bus 208 can also be divided into internal buses and external buses.
[0111] The internal bus uses an internal bus protocol to transmit information. The internal bus protocol includes a bus protocol for accessing the memory space of the computer device. The external bus uses an external bus protocol to transmit information. The external bus protocol includes a bus protocol for accessing the external memory space of the computer device. The memory space refers to the address space of the internal memory, and the external memory space refers to the address space of the external memory.
[0112] In some embodiments, the internal bus protocol includes, but is not limited to, a peripheral component interconnect (PCI) bus, a peripheral component interconnect high-speed (PCI Express, PCI-E) protocol, an Intel™ Quick Path Interconnect (QPI) protocol, and a unified bus (UB) protocol. The external bus protocol includes, but is not limited to, a small computer system interface (SCSI) protocol or a serial attached SCSI (SAS) protocol.
[0113] It should be noted that the computer device shown in Figure 2 is illustrated by using external memory 207 as a remote external memory. As shown in Figure 2, external memory 207 includes a network card 2072. The network card 2072 can be, for example, a smart NIC network interface card (i.e., a network adapter card). The external memory 207 is connected to the network through the network card 2072, and is then connected to other components of the computer device 201 through the network. The network can be a wired communication network, such as a fiber optic communication network, or a wireless communication network, such as a wireless local area network (WLAN) or a fifth generation (5G) mobile communication network.
[0114] In some possible implementations, the external memory 207 of the computer device may also be local external memory, and other components of the computer device, such as the processor 201, may be connected to the local external memory via the bus 208. In other possible implementations, the computer device may include both remote external memory and local external memory. In addition, the embodiments of the present application may be applicable to centralized storage or distributed storage scenarios, which are not limited in this embodiment.
[0115] To facilitate understanding of the embodiments of the present application, the following first briefly introduces the terms and background involved in the present application.
[0116] 1. RDMA
[0117] RDMA transfers data directly to a computer's storage area over a network, quickly moving data from one system to a remote system's memory without requiring intervention from the operating systems or kernels of either computer. RDMA eliminates the overhead of external memory copying and context switching, freeing up memory bandwidth and CPU cycles for improved application system performance.
[0118] For high-throughput, low-latency applications such as high-performance computing and big data analytics, the existing Transmission Control Protocol (TCP) / Internet Protocol (IP) hardware and software architecture cannot meet the requirements. This is primarily due to the fact that traditional TCP / IP network communication relies on sending messages through the kernel, which incurs high data movement and copying overhead. Remote Direct Memory Access (RDMA) technology was developed to address server-side data processing latency during network transmission. RDMA technology enables direct access to memory data through the network interface (without requiring data to be moved from the CPU to the kernel and then from the kernel to the network interface card), without requiring the intervention of the operating system kernel. The RDMA network interface card reads application data directly from memory, eliminating the need for CPU intervention. This enables high-throughput, low-latency network communication, making it particularly suitable for use in massively parallel computer clusters. For example, at data rates up to 40 Gbps, traditional TCP / IP transmission methods can result in CPU utilization as high as 100%, while using RDMA network interfaces reduces CPU utilization to only 5%.
[0119] 2. RDMA protocol stack
[0120] Currently, InfiniBand (IB) and RDMA over Converged Ethernet (RoCE), the industry's mainstream RDMA technologies, have been widely used in the field of high-performance data center interconnection.
[0121] InfiniBand is an RDMA technology based on the InfiniBand architecture. It provides a channel-based, point-to-point message queue forwarding model. Each application can directly access its own data messages through a created virtual channel, without the intervention of other operating systems or protocol stacks. The application layer of the InfiniBand architecture uses RDMA technology to provide RDMA read and write access between remote nodes, completely offloading CPU workloads. The network transmission utilizes high-bandwidth transmission, and the link layer implements a specific retransmission mechanism to ensure quality of service, eliminating the need for data buffering.
[0122] The RoCE protocol has two versions: RoCE v1: This protocol uses Ethernet to carry RDMA and can only be deployed on Layer 2 networks. Its message structure adds a Layer 2 Ethernet header to the original IB architecture message, and identifies RoCE messages with Ethertype 0x8915. RoCE v2: This protocol uses UDP / IP to carry RDMA and can be deployed on Layer 3 networks. Its message structure adds a UDP header, IP header, and Layer 2 Ethernet header to the original IB architecture message, and identifies RoCE messages with UDP destination port number 4791.
[0123] iWARP is an RDMA technology based on Ethernet and TCP / IP that can run on standard Ethernet infrastructure. iWARP does not specify physical layer information, so it can work on any network layer using TCP / IP. iWARP allows many transport types to share the same physical connection, such as networking, input / output (I / O), file systems, block storage, and inter-processor messaging.
[0124] 3. RDMA basic service types
[0125] The basic communication unit of RDMA is a queue pair (QP). There are many QP-based communication models, which are called "service types" in the RDMA field.
[0126] As an example, the IB protocol describes the service type of QP through the two dimensions of "reliability type" and "connection type". In this application, the QP type is explained using the QP service type described by the two dimensions of "reliability type" and "connection type" as an example.
[0127] The reliability type includes reliable or unreliable.
[0128] Reliability in communications refers to mechanisms that ensure that all sent data packets are received properly. Reliable services guarantee that information is delivered at most once between sender and receiver, and that it is received intact and in the order it was sent.
[0129] RDMA can ensure reliability through three mechanisms:
[0130] (1): Acknowledgement mechanism. Suppose A sends a data packet to B. After receiving the data packet, B sends an acknowledgment message back to A. This response is generally called an acknowledgment packet or ACK (acknowledgement). In the reliable service type of the IB protocol, an acknowledgment mechanism is used to ensure that the data packet is received by the other party. In the reliable service type of IB, the receiver does not have to reply to every packet; it can also reply ACK for multiple packets at once.
[0131] (2) Data verification mechanism: The sender uses a certain algorithm to calculate a checksum for the header and payload, and then adds it to the end of the data packet. After receiving the data packet, the other end also uses the same algorithm to calculate the checksum, and then compares it with the checksum in the data packet. If they are inconsistent, it means that the data contains errors, and the receiving end will discard the data packet.
[0132] (3): Sequence preservation mechanism, which ensures that the data packet sent to the physical link first must be received by the receiver before the data packet sent later. Some services have strict requirements on the order of data packets, such as voice or video. The IB protocol has the concept of packet sequence number (PSN), that is, each packet has an increasing number. PSN can be used to detect packet loss. For example, if the receiving end receives 1 but receives 3 without receiving 2, it can be considered that an error occurred during the transmission process, and then a NAK (negative acknowledgement) will be returned to the sending end, and the lost packet needs to be resent.
[0133] The connection type includes connection or datagram.
[0134] Referring to FIG. 3 , as an example, FIG. 3 shows a schematic diagram of a connection service and a datagram service.
[0135] Each QP communicates with another QP and establishes a communication "pipeline." Once the pipeline is established, data sent from one end of the pipeline will arrive at the other end along this pipeline. As shown in Figure 3(a), each QP maintains a connection with the QP it is connected to, and the QP maintains this information. For example, if QPs on five nodes need to communicate with each other, 20 (5*(5-1)) QPs need to be established. Maintaining the context between QPs consumes network card resources, which is very expensive.
[0136] For datagram services, there's no need to establish a "pipeline" between the sender and receiver; data can be transmitted from one sender to the other through any path. For datagram services, the QP is not bound to a single remote node; instead, the destination node is specified through the WQE. As with connection-based services, establishing communication requires both ends to exchange peer information, but datagram services perform this exchange once for each destination node. As shown in Figure 3(b), five nodes need to communicate with each other, requiring only five QPs to be established. The QP context information for a message service is different from that for a connection service.
[0137] Based on the above reliability and connection types, RDMA supports four different types of services: RC, UC, RD, and UD. In other words, the transmission mode of RDMA data can be RC, UC, UD, or RD.
[0138] 4. RDMA Control Message
[0139] Control messages are used to establish links between QPs or obtain context information of the peer QP. For example, CM-ConnectionRequest (CM connection request message), CM-ConnectionReply (CM connection response message), and CM-ReadyToUse (CM ready to use message) are used to establish links between three types of QP services: RC, RD, and UC. The CM-ConnectionRequest request message includes the requested service type indication information, which is used to indicate which of the three QP-like services to use. For example, the Transport Service Type indication field has a value of 0 for RC, 1 for UC, 2 for RD, and 3 for Reserved. Another example is CM-ServiceIDResReq (CM service identification request message) and CM-ServiceIDResReqResp (CM service identification request response message) are used to establish links between UD type QP services. The CM-ServiceIDResReq request message includes the service type indication information for the requested link establishment, which is used to indicate the use of the above UD type services.
[0140] 5. RDMA datagram
[0141] In the basic message format of the RDMA transport layer (IB transport layer), the OpCode field can be used to indicate the service type of the transport layer message. For example, the upper three bits of the 8-bit field (000) indicate the RC service type; the upper three bits (001) indicate the UC service type; the upper three bits (010) indicate the RD service type; and the upper three bits (011) indicate the UD service type. The QP field is 24 bits long, and the QP number ranges from 0 to 2^24-1.
[0142] In mobile communication systems, there is a one-to-one or many-to-one mapping between quality of service flows (QoS flows) and data radio bearers (DRBs). The sender can notify the receiver of the QoS flow information corresponding to the user-plane message. Introducing the SDAP layer can indicate to the receiver the QoS flow-related information to which the user-plane message belongs. For example, a protocol data unit session (PDU session) contains multiple QoS flows. If each QoS flow corresponds to a DRB, the terminal device can determine the DRB corresponding to each QoS flow after receiving the PDU session. However, if messages from multiple QoS flows are sent on a single DRB, the corresponding QoS flow message can be determined using the SDAP layer information in the message. The SDAP layer QoS flow ID (QFI) indication field is 6 bits in size and ranges from 0 to 63.
[0143] The 5G QoS identifier (5G QOS identifier, 5QI) is a QoS feature template for 5G QoS flows defined by the 3GPP protocol. Its purpose is to reduce the signaling size for QoS feature negotiation between UE, gNB, and 5GC. The QoS flow ID is the index of the QoS flow. Each QoS flow uses a 5QI to characterize the QoS characteristics. The DRB ID is the index of the DRB. Each DRB is used to carry one or more QoS flows.
[0144] The SDAP layer can complete the mapping of QoS flows to DRBs.
[0145] Referring to Figure 4, as an example, Figure 4 shows a schematic diagram of an SDAP layer message format. As shown in Figure 4, the SDAP layer message header includes 8 bits, including a 6-bit QFI field; a 1-bit reflective QoS flow to DRB mapping indication (RDI) field, and a 1-bit reflective QoS indication (RQI) field. The RQI is used to indicate whether the NAS layer (non-access layer) needs to update the mapping relationship between the service data flow (SDF) and the QoS flow; the RDI is used to instruct the UE through the user plane to complete the inverse mapping relationship between the uplink QoS flow and the DRB or change the inverse mapping relationship.
[0146] On the one hand, one or more QoS flows can be mapped to one DRB, and the mode of one DRB is fixed, for example, it is AM mode or UM mode, that is, there is no restriction on the relationship between the type of QoS flow and the mode of the DRB. Therefore, if multiple QoS flows mapped to one DRB have different AM or UM requirements, the transmission requirements of some QoS flows carried by the DRB may not be met. For example, when a QoS flow with reliability requirements is mapped to a UM mode DRB, the reliability of the QoS flow data cannot be guaranteed; when a QoS flow with low latency requirements is mapped to an AM mode DRB, the latency requirements of the QoS flow data may not be met. On the other hand, the tunnels between the wireless access network and the core network corresponding to the wireless bearer are all UE-level.
[0147] The inventors discovered that when data packets from RDMA services of different service types need to be transmitted over the air interface, the mapping between RDMA packets and radio bearers is crucial to ensure that the AM / UM characteristics of the air interface RB match the RDMA QP service, thereby guaranteeing RDMA packet transmission performance. Furthermore, both the QP for connection services and the QP for datagram services may be mapped to UE-level tunnels, increasing the complexity of tunnel establishment and maintenance processes for access network devices.
[0148] In view of this, an embodiment of the present application provides a message transmission method and apparatus, which can map RDMA messages to corresponding wireless bearers according to the service type of the RDMA messages, ensure the transmission performance of the RDMA messages, and simplify the complexity of establishing and maintaining tunnels for access network devices.
[0149] The following will describe in detail the message transmission method provided by the embodiment of the present application in conjunction with the accompanying drawings. The embodiment provided by the present application can be applied to the communication system shown in Figure 1 above without limitation.
[0150] The solution of this application is described in detail below.
[0151] Referring to Figure 5, as an example, Figure 5 is a schematic flow chart of a message transmission method 500 provided in an embodiment of the present application. For ease of description below, the execution subject of method 500 can be an access network device or a terminal device. It can be understood that the execution subject of method 500 can also be a component (such as a chip or circuit) of the access network device or the terminal device, and this is not limited. The steps described below as being performed by a single execution subject can also be divided into steps performed by multiple execution subjects, and these execution subjects can be logically and / or physically separated.
[0152] The method 500 shown in FIG. 5 may include the following steps.
[0153] S510: Determine a service type of the first message.
[0154] The first message is an RDMA message.
[0155] The service type of the first message is used to indicate the transmission requirement of the RDMA message.
[0156] The service type of the first message may be determined based on the connection type of the QP and / or the reliability type of the QP.
[0157] The connection type of the QP includes a connection service type or a datagram service type; the reliability type of the QP includes a reliable service type or an unreliable service type.
[0158] Among them, the connection service type, datagram service type, reliable service type or unreliable service type can refer to the description in the previous text and will not be repeated here.
[0159] As an example, the service type of the first message includes one of a connection service type or a datagram service type, or the service type of the first message includes one of a reliable service type or an unreliable service type, or the service type of the first message includes one of a reliable connection service type, an unreliable connection service type, a reliable datagram service type, and an unreliable datagram service type.
[0160] In this application, for the sake of convenience of description, the connection service type (connection) is recorded as C, the datagram service type (datagram) is recorded as D, the reliable service type (reliable) is recorded as R, the unreliable service type (unreliable) is recorded as U, the reliable connection service type is recorded as RC, the unreliable connection service type is recorded as UC, the reliable datagram service type is recorded as RD, and the unreliable datagram service type is recorded as UD.
[0161] Next, a method for determining the service type of the first message is described in detail.
[0162] In a possible implementation, the first message includes first indication information, where the first indication information is used to indicate a service type of the first message. The service type of the first message can be determined according to the first indication information.
[0163] Exemplarily, the first indication information may include service type information of the first message and / or queue pair sequence number (QPN) information of the first message, where the QPN of the first message is associated with the service type of the first message.
[0164] For example, the transport layer message header of an RDMA message may carry the QPN information of the message and the service type information of the message, that is, the transport layer message header of the first message may carry the QPN information of the first message and the service type information of the first message, and the QPN information of the first message and the service type information of the first message correspond to each other.
[0165] Exemplarily, the first indication information is carried in a header of a protocol layer message above the Packet Data Convergence Protocol (PDCP) layer.
[0166] As an example, a new bit (first indication information) is added to the SDAP layer message header to indicate the service type of the first message, wherein the new bit can be used to indicate a connection service type or a datagram service type, or to indicate a reliable service type or an unreliable service type, or to indicate one of a reliable connection service type, an unreliable connection service type, a reliable datagram service type, and an unreliable datagram service type.
[0167] As an example, when the first indication information indicates a connection service type or a datagram service type, the first indication information may be 1-bit indication information.
[0168] As an example, when the first indication information indicates a reliable service type or an unreliable service type, the first indication information may be 1-bit indication information.
[0169] As an example, when the first indication information indicates one of a reliable connection service type, an unreliable connection service type, a reliable datagram type, and an unreliable datagram type, the first indication information may be 2-bit indication information.
[0170] As an example, the indication field in the SDAP layer message header may be used as the first indication information to indicate the service type of the first message.
[0171] The following is an exemplary description of the SDAP message header format.
[0172] As an example, the QFI indication field, RDI indication field and RQI indication field included in the SDAP message header can all be used to indicate the service type of the first message, or in other words, the QFI indication field, RDI indication field and RQI indication field can all serve as service type information of the first message.
[0173] See FIG. 6 , which is a schematic diagram of the SDAP message format provided in an embodiment of the present application as an example.
[0174] As shown in FIG6( a ), the existing RDI indication field can be used to indicate R / U or C / D. Similarly, the existing RQI indication field can also be used to indicate R / U or C / D.
[0175] As shown in FIG6( b ), one bit in the existing QFI indication field can be used to indicate R / U.
[0176] As shown in FIG6( c ), one bit in the existing QFI indication field can be used to indicate C / D.
[0177] As shown in (d) of FIG6 , the two bits in the existing QFI indication field can be used to indicate R / U and C / D simultaneously.
[0178] It should be noted that in the SDAP message format shown in Figure 6, the positions of the various indicator fields are only examples, and the positions of the various indicator fields can be swapped. For example, in (a) of Figure 6, the C / D indicator field can be before the R / U indicator field, and this embodiment of the present application does not limit this.
[0179] As another example, the QFI indication field included in the SDAP message header may be used to indicate QPN information of the first message, where the QPN of the first message is associated with the service type of the first message.
[0180] It should be noted that QFI may be equivalent to queue pair information (QPI), and thus may be used to indicate QPN information.
[0181] The QPN information indicates the sequence number of the QP.
[0182] It should be understood that an RDMA transport layer message header can carry QP attribute information. For example, in the transport layer message, the service type information of the QP can be indicated by "OpCode", and the QPN information can be indicated by "Destination QP". The QPN information corresponds to the service type information of the QP, wherein 24 bits of information are required to indicate 2 24 However, an RDMA channel adapter supports 244 QPNs, requiring only 8 bits of information. That is, the QP indicated by the 8-bit QPN information of an RDMA channel adapter node corresponds one-to-one with the QP indicated by the 24-bit QPN information of the transport layer. Therefore, based on the correspondence between the QPN information and the service type information of the QP, the service type of the QP associated with the QP indicated by the 8-bit QPN information can be determined.
[0183] It should be noted that the maximum number of QPs supported simultaneously by the RDMA channel adapter is M, and the required indication information is log2(M) rounded up, which ensures a one-to-one mapping between the QPs before and after compression of the 24-bit QPN indication information, or in other words, a one-to-one correspondence between the QPN indicated by the 24-bit before compression and the QPN indicated by the log2(M) bit after compression.
[0184] The first indication information in the SDAP layer message header may be determined in the following manner.
[0185] Method 1: Determine the service type of the first message according to the link establishment request message in the link establishment process, and thus set the first indication information.
[0186] Exemplarily, the service type of the first message may be determined according to the type of the link establishment request message and / or the transmission service type included in the link establishment request message.
[0187] When it is determined that the type of the link establishment request message is a SIDR-Request message, it can be determined that the first message is a UD service type; when it is determined that the type of the link establishment request message is a ConnectRequest message, it is necessary to further determine whether the service type of the first message is RC, RD or UC based on the transmission service type in the ConnectRequest message.
[0188] As an example, when it is determined that the first message is of UD service type, RDI can be set in the SDAP layer message header to indicate U and RQI can be set to indicate D; or, RDI can be set to indicate D and RQI can be set to indicate U; or, 2 bits in QFI can be set to indicate UD.
[0189] As another example, when the first message is determined to be one of RC, RD, or UC (RC is used as an example for description here), the RDI can be set in the SDAP layer message header to indicate R and the RQI can be set to indicate C; alternatively, the RDI can be set to indicate C and the RQI can be set to indicate R; alternatively, two bits in the QFI can be set to indicate RC.
[0190] Exemplarily, the above-mentioned method 1 is applicable to determining the first indication information on the access network device side of uplink transmission and the UE side of the downlink scenario.
[0191] Method 2: Determine the service type of the first message according to the service type indication information carried in the GTP-U tunnel, thereby setting the first indication information.
[0192] The service type indication information carried in the GTP-U indicates R / U and / or C / D.
[0193] As an example, in the packet header of the GPRS user plane part (GTP-U), a new RDMA session container category, such as 1001 0100, is added; similar to the extended header indication information of the 5G RAN Container and PDU Session Container categories.
[0194] The RDMA session container extension header may include indication information such as RC / RD / UC / UD or R / U or C / D. The 6-bit QFI indication field is reduced to 4 or 5 bits, with 1 bit used to indicate R / U or C / D, or 2 bits to indicate both R / U and C / D. Alternatively, the 6-bit QFI indication field is retained, with an additional bit used to indicate R / U or C / D, or 2 bits to indicate both R / U and C / D.
[0195] It should be understood that the GTP-U message extension includes QFI indication information or QPN indication information, and QP service type indication information. The user plane function (UPF) or computing service node performs flow detection similar to the IP quintuple based on the QPN, OpCode, and other information of the IB transmission message, and then packages the corresponding information into the GTP-U extension header based on the detection results.
[0196] Exemplarily, the above-mentioned method 2 is applicable to determining the first indication information on the access network device side of downlink transmission.
[0197] Method three: The UE determines the service type of the first message.
[0198] Exemplarily, before the UE sends a link establishment request message to the access network device, the UE defines a service type of the QP according to service requirements, and carries the QP service type in the link establishment request message.
[0199] Exemplarily, the above-mentioned method three is applicable to determining the first indication information on the UE side of uplink transmission.
[0200] In another possible implementation, the service type of the first message is determined according to a first request message, where the first request message is a link establishment request message.
[0201] Exemplarily, the link establishment request message includes a ConnectRequest message type and a SIDR-Request message type.
[0202] The ConnectRequest message includes a transmission service type, and the transmission service type may be used to indicate that the service type of the QP is one of RC, RD, or UC.
[0203] The SIDR-Request message is used to indicate the UD service type.
[0204] It can be understood that when it is determined that the type of the first request message is a SIDR-Request message, it can be determined that the first message is a UD service type; when it is determined that the type of the first request message is a ConnectRequest message, it is necessary to further determine whether the service type of the first message is RC, RD or UC based on the transmission service type in the ConnectRequest message.
[0205] In other words, the service type of the first message may be determined according to the type of the first request message and / or the transmission service type included in the first request message.
[0206] S520: Map the first message to a first radio bearer according to the service type of the first message.
[0207] Among them, the first wireless bearer is a channel connecting the UE and the access network device through the wireless interface, which is used to carry data or services. Exemplarily, the first wireless bearer can be a DRB or a computing radio bearer (CRB), which is not limited in this embodiment of the present application.
[0208] In the present application, the mode of the first radio bearer includes AM mode or UM mode.
[0209] Among them, the first radio bearer in the AM mode requires a response mechanism, or in other words, a confirmation operation can be performed, for example, a response message is sent to ensure data reliability; the first radio bearer in the UM mode does not require a response mechanism, or in other words, a confirmation operation can be omitted, for example, there is no need to send a response message, and data verification is performed through other layers to avoid increasing latency.
[0210] Specifically, according to the service type of the first message, the mode of the first wireless bearer corresponding to the first message is determined, or in other words, it is determined that the service type of the first message and the mode of the first wireless bearer have a mapping relationship, so as to map the first message to the first wireless bearer.
[0211] The following describes a method for determining whether the service type of the first message and the first radio bearer have a mapping relationship.
[0212] The network device and the terminal device can determine that the service type of the first message has a mapping relationship with the first radio bearer based on the first configuration information, and the first configuration information is used to indicate the mapping relationship between the service type of the first message and the first radio bearer.
[0213] The first configuration information may include a mapping relationship between a service type of at least one QP and a radio bearer.
[0214] In one possible implementation, the at least one QP service type includes a connection service type and a datagram service type, and the first configuration information includes the following mapping relationship:
[0215] At least one QP of the connected service type is mapped to the X1 radio bearer;
[0216] At least one QP of the datagram service type is mapped to an X2 radio bearer.
[0217] Refer to Figure 7, as an example, Figure 7 is a schematic diagram of the mapping relationship between QP and radio bearer provided in an embodiment of the present application.
[0218] As shown in (a) and (b) of Figure 7, the QoS flow is controlled by the SMF network element of the core network, which can be pre-configured or established and modified through PDU sessions. The characteristics of a QoS flow are composed of three parts. For example, the QoS configuration (QoS profile) on the AN side: these configurations are provided to the AN by the SMF through the N2 interface, or pre-configured in the AN; the QoS rules (QoS rule) on the UE side: these rules can be provided to the UE by the SMF through N1, or derived by the UE through the reflective QoS mechanism; the uplink and downlink packet detection rules (packet detection rule, PDR) on the core network-compute execution function (xCNCE) / UPF side: these PDR(s) are provided to the user plane function (UPF) by the SMF through the N4 interface.
[0219] As shown in (a) of Figure 7, a PDU session is established between UE#1 and xCNCE / UPF, a wireless bearer is established between UE#1 and xNB, and a ground network tunnel is established between xNB and xCNCE / UPF. One PDU session can correspond to multiple RBs, and one RB can contain multiple QPs.
[0220] As shown in (a) of Figure 7, the QP of the connection service type can be mapped to the X1 radio bearer of the corresponding UE-level tunnel. For example, the QP of the RC service type and the UC service type are mapped to the X1 radio bearer, where the UE-level tunnel is associated with a UE#1, and the PDU session corresponding to UE#1 can correspond to one or more RBs. One QP can be mapped to one RB (for example, the RC QP shown in (a) of Figure 7 is mapped to one RB), or multiple QPs can be mapped (for example, the RC QP and UC QP shown in (a) of Figure 7 are mapped to the same RB).
[0221] Among them, the tunnel corresponding to the X1 type radio bearer is a UE-level tunnel. In other words, the tunnel corresponding to the X1 type radio bearer is associated with UE#1, that is, the tunnel corresponding to the X1 type radio bearer is bound to one UE#1, or it can be said that the tunnel corresponding to the X1 type radio bearer has an associated relationship with one UE#1.
[0222] As shown in (b) of Figure 7, a PDU session is established between UE#1 / UE#2 and xCNCE / UPF, a wireless bearer is established between UE#1 / UE#2 and xNB, and a ground network tunnel is established between xNB and xCNCE / UPF. One PDU session can correspond to multiple RBs, and one RB can contain multiple QPs.
[0223] As shown in (b) of Figure 7 , the QP of the datagram service type can be mapped to the X2 radio bearer of the corresponding service-level tunnel, for example, the QP of the RD service type and the UD service type is mapped to the X2 radio bearer, where the service-level tunnel can be associated with multiple UEs, for example, UE#1 / UE#2, and the PDU session corresponding to UE#1 / UE#2 can correspond to one or more RBs. One QP can be mapped to one RB (for example, in PDU session #1 corresponding to UE#1 shown in (b) of Figure 7 , the RD QP is mapped to one RB), or multiple QPs can be mapped (for example, in PDU session #2 corresponding to UE#2 shown in (b) of Figure 7 , the RD QP and UD QP are mapped to the same RB).
[0224] Among them, the tunnel corresponding to the X2 type wireless bearer is a service-level tunnel. In other words, the tunnel corresponding to the X2 type wireless bearer can be bound to a certain service, which can be the same service in one or more UEs, for example, UE#1 and UE#2 in (b) of Figure 7.
[0225] Generally speaking, the connection service type and the datagram service type can be mapped to a UE-level wireless bearer. For UE-level tunnels, different UEs need to establish their own links for data transmission. For a UE, when the access network device is in a connected state, the access network device has the context of the UE. When the access network device is in an idle or inactive state, the access network device does not have the context of the UE. Therefore, when the access network device is in a connected state, there is no need to re-establish the link. When the access network device is in an idle or inactive state, the link needs to be re-established for each data transmission. For service-level tunnels, when different UEs using the same service perform data transmission, there is no need to repeatedly establish a link (as long as one UE completes the establishment, other UEs can use it directly). In this scheme, the QP of the connection service type is mapped to the X1 radio bearer corresponding to the UE-level tunnel, and the QP of the datagram service type is mapped to the X2 radio bearer corresponding to the service-level tunnel. That is, QP mapping of different connection types is performed based on the tunnel type (UE-level tunnel or service-level tunnel), which is beneficial for the access network device to establish and maintain tunnels. For example, the access network device establishes UE-level tunnels and service-level tunnels respectively, and maps the connection service type and datagram service type to the UE-level tunnel and the service-level tunnel respectively. For the service-level tunnel, there is no need to repeatedly establish links, which can simplify the process of establishing and maintaining tunnels for the access network device.
[0226] In this solution, the QP of the connection service type is mapped to the radio bearer of the corresponding UE-level tunnel, and the QP of the datagram service type is mapped to the radio bearer of the corresponding service-level tunnel. The establishment and maintenance of the service-level tunnel are simpler than those of the UE-level tunnel. Therefore, distinguishing the two connection types can avoid the complex operations of tunnel establishment and maintenance caused by the possible mapping of the QP of the datagram service type to the UE-level tunnel, which is not conducive to the simplification of operations on the access network device side.
[0227] In another possible implementation, the at least one QP service type includes a reliable service type and an unreliable service type, and the first configuration information includes the following mapping relationship:
[0228] At least one QP of reliable service type is mapped to the Y1 radio bearer;
[0229] At least one QP of the unreliable service type is mapped to the Y2 radio bearer.
[0230] The radio bearer mode of Y1 is AM mode, and the radio bearer mode of Y2 is UM mode.
[0231] Refer to Figure 8, as an example, Figure 8 is a schematic diagram of the mapping relationship between QP and radio bearer provided in an embodiment of the present application.
[0232] The architecture in FIG8(a) and FIG8(b) can refer to the partial description in FIG7 and will not be repeated here.
[0233] As shown in (a) and (b) of Figure 8, a PDU session is established between UE#1 and xCNCE / UPF, and a wireless bearer is established between UE#1 and xNB. One PDU session can correspond to multiple RBs, and one RB can contain multiple QPs.
[0234] As shown in (a) of Figure 8 , the QP of the reliable service type can be mapped to the Y1 radio bearer. For example, the QP of the RC service type and the RD service type are mapped to the Y1 radio bearer, wherein the PDU session corresponding to UE#1 can correspond to one or more RBs, and one QP can be mapped to one RB (for example, the RC QP shown in (a) of Figure 8 is mapped to one RB), or multiple QPs can be mapped (for example, the RC QP and RD QP shown in (a) of Figure 8 are mapped to the same RB).
[0235] As shown in (b) of Figure 8 , the QP of the unreliable service type can be mapped to the Y2 radio bearer. For example, the QP of the UC service type and the UD service type are mapped to the Y2 radio bearer, where the PDU session corresponding to UE#1 can correspond to one or more RBs, and one QP can be mapped to one RB (for example, the UD QP shown in (b) of Figure 8 is mapped to one RB), or multiple QPs can be mapped (for example, the UC QP and UD QP shown in (b) of Figure 8 are mapped to the same RB).
[0236] In the solution shown in FIG8 , the tunnel corresponding to the Y1 type or Y2 type radio bearer may be a UE-level tunnel or a service-level tunnel, which is not limited in this embodiment of the present application.
[0237] In this solution, the QP of the reliable service type is mapped to the radio bearer in the AM mode, and the QP of the unreliable service type is mapped to the radio bearer in the UM mode. This can achieve the matching of RDMA message reliability with the AM mode / UM mode of the wireless channel, avoiding data transmission problems (for example, delay problems, reliability problems) caused by mapping deviation.
[0238] In another possible implementation, the at least one QP service type includes a reliable connection service type, an unreliable connection service type, a reliable datagram service type, and an unreliable datagram service type, and the first configuration information includes the following mapping relationship:
[0239] At least one QP of reliable / connected service type is mapped to the X1Y1 radio bearer;
[0240] At least one QP of unreliable / connected service type is mapped to an X1Y2 radio bearer;
[0241] At least one QP of reliable / datagram service type is mapped to an X2Y1 radio bearer;
[0242] At least one QP of unreliable / datagram service type is mapped to one X2Y2 radio bearer.
[0243] The X1Y1 radio bearer and the X2Y1 radio bearer are in AM mode, and the X1Y2 radio bearer and the X2Y2 radio bearer are in UM mode.
[0244] Refer to Figure 9, as an example, Figure 9 is a schematic diagram of the mapping relationship between QP and radio bearer provided in an embodiment of the present application.
[0245] The architecture in FIG9( a ) and FIG9 ( b ) can refer to the description of FIG7 , and will not be repeated here.
[0246] As shown in (a) of Figure 9, a PDU session is established between UE#1 and xCNCE / UPF, a wireless bearer is established between UE#1 and xNB, and a ground network tunnel is established between xNB and xCNCE / UPF. One PDU session can correspond to multiple RBs, and one RB can contain multiple QPs.
[0247] As shown in (a) of Figure 9 , the QP of the connection service type can be mapped to the X1Y1 radio bearer or X1Y2 radio bearer of the UE-level tunnel, and the mapping to the X1Y1 radio bearer or X1Y2 radio bearer is determined considering the reliability type. For example, the QP of the RC service type can be mapped to the X1Y1 radio bearer, and the QP of the UC service type can be mapped to the X1Y2 radio bearer. The UE-level tunnel is associated with one UE#1, and the PDU session corresponding to UE#1 can correspond to one or more RBs. One QP can be mapped to one RB (for example, the RC QP shown in (a) of Figure 9 is mapped to one RB), or multiple QPs can be mapped (for example, the two UC QPs shown in (a) of Figure 7 are mapped to the same RB).
[0248] As shown in (b) of Figure 9 , the QP of the datagram service type can be mapped to the X2Y1 radio bearer or the X2Y2 radio bearer of the service-level tunnel, and the mapping to the X2Y1 radio bearer or the X2Y2 radio bearer is determined considering the reliability type. For example, the QP of the RD service type can be mapped to the X2Y1 radio bearer, and the QP of the UD service type can be mapped to the X2Y2 radio bearer. The service-level tunnel can be associated with multiple UEs, for example, UE#1 / UE#2, and the PDU sessions corresponding to UE#1 / UE#2 can correspond to one or more RBs. One QP can be mapped to one RB (for example, in the PDU session #1 corresponding to UE#1 shown in (b) of Figure 9 , the RD QP is mapped to one RB), or multiple QPs can be mapped (for example, in the PDU session #2 corresponding to UE#2 shown in (b) of Figure 9 , two UD QPs are mapped to the same RB).
[0249] The tunnel corresponding to the X1Y1 type or X1Y2 type radio bearer is a UE-level tunnel, and the tunnel corresponding to the X2Y1 type or X2Y2 type radio bearer is a service-level tunnel.
[0250] In this scheme, QP mapping is based on two factors: reliability type and connection type. Considering the connection type, the QP of the connection service type is mapped to the radio bearer of the UE-level tunnel, and the QP of the datagram type is mapped to the radio bearer of the service-level tunnel. Considering the reliability type, the QP with reliable service type requirements is mapped to the radio bearer of the AM mode, and the QP with unreliable service type requirements is mapped to the radio bearer of the UM mode. In this way, the reliability of the RDMA message can be matched with the AM mode / UM mode of the wireless channel, avoiding data transmission problems (for example, delay problems, reliability problems) caused by mapping deviation. At the same time, it can avoid the complex operations of tunnel establishment and maintenance caused by the possible mapping of the QP of the datagram service type to the UE-level tunnel, which is conducive to simplifying the process of establishing and maintaining tunnels on access network devices.
[0251] The network device and the terminal device may obtain the first configuration information in a variety of ways.
[0252] In a possible implementation, the first configuration information may be predefined, or preconfigured, or pre-agreed, or pre-stored.
[0253] In this case, the terminal device or network device can determine the first wireless bearer corresponding to the service type of the first message based on the first configuration information, or in other words, the terminal device or network device determines the mapping relationship between the service type of the first message and the first wireless bearer from at least one mapping relationship included in the first configuration information.
[0254] In another possible implementation, the network device determines the first configuration information and sends the first configuration information to the terminal device. Correspondingly, the terminal device receives the first configuration information.
[0255] In this case, the terminal device determines the first radio bearer corresponding to the service type of the first message based on the first configuration information from the network device.
[0256] Based on the above technical solution, the terminal device or network device can determine the service type of the RDMA message and map the RDMA message to the corresponding radio bearer based on the mapping relationship between the service type of the RDMA message and the radio bearer. On the one hand, the reliability of the RDMA message can be matched with the AM / UM characteristics of the radio bearer, thereby ensuring the transmission performance of the RDMA message. For example, the reliable type of QP service can achieve RAN zero packet loss through AM RLC on the network device side; the unreliable type of QP service can achieve low latency through UM RLC on the network device side; on the other hand, QP mapping of different connection types based on tunnel type (UE-level tunnel or service-level tunnel) helps access network equipment simplify the tunnel establishment and maintenance process.
[0257] It is understood that in some of the above embodiments, the terms "pre-agreed" and "pre-defined" are mentioned multiple times, and those skilled in the art should understand their meaning. "Pre-defined" refers to pre-definition by a standard protocol. "Pre-agreed" refers to pre-agreed or pre-negotiated between devices. For example, configuration information (e.g., first configuration information) is pre-agreed, indicating that the content of the first configuration information has been pre-agreed between devices (e.g., between an access network device and a terminal device).
[0258] It can also be understood that some optional features in the various embodiments of the present application may not depend on other features in certain scenarios, and may also be combined with other features in certain scenarios, without limitation.
[0259] It can also be understood that the solutions in the various embodiments of the present application can be reasonably combined and used, and the explanations or descriptions of the various terms appearing in the embodiments can be referenced or explained with each other in the various embodiments, without limitation to this.
[0260] It can also be understood that in the above-mentioned method embodiments, the methods and operations implemented by the terminal device can also be implemented by the components of the terminal device (such as chips or circuits); in addition, the methods and operations implemented by the network device can also be implemented by the components of the network device (such as chips or circuits), without limitation.
[0261] The method provided in the embodiment of the present application is described in detail above in conjunction with Figures 5 to 9. Below, the apparatus provided in the embodiment of the present application is described in detail in conjunction with Figures 10 and 11. It should be understood that the description of the apparatus embodiment corresponds to the description of the method embodiment. Therefore, for matters not described in detail, please refer to the method embodiment above. For the sake of brevity, they are not repeated here.
[0262] Referring to FIG. 10 , as an example, FIG. 10 is a schematic diagram of a communication device 1000 provided in an embodiment of the present application.
[0263] The device 1000 includes a transceiver unit 1010 and a processing unit 1020. The transceiver unit 1010 can be used to implement corresponding communication functions, and the processing unit 1020 can be used to perform data processing.
[0264] Optionally, the transceiver unit 1010 may also be referred to as a communication interface or communication unit, and may include a transmitting unit and / or a receiving unit. The transceiver unit 1010 may be a transceiver (including a transmitter and / or a receiver), an input / output interface (including an input and / or output interface), a pin, or a circuit. The transceiver unit 1010 may be configured to perform the transmitting and / or receiving steps in the above-described method embodiments.
[0265] Optionally, the processing unit 1020 may be a processor (may include one or more), a processing circuit with processor functions, etc., and may be used to execute other steps except sending and receiving in the above method embodiment.
[0266] Optionally, the apparatus 1000 further includes a storage unit, which may be a memory, an internal storage unit (e.g., a register, a cache, etc.), an external storage unit (e.g., a read-only memory, a random access memory, etc.), etc. The storage unit is used to store instructions, and the processing unit 1020 executes the instructions stored in the storage unit to enable the communication apparatus to perform the above method.
[0267] In a first possible design, the apparatus 1000 can be used to execute the actions executed by the network device or terminal device (e.g., access network device) in each of the above method embodiments. For example, the apparatus 1000 can be used to execute the actions executed by the network device or terminal device in the above method 500. In this case, the apparatus 1000 can be a component of the network device or terminal device, the transceiver unit 1010 is used to execute the transceiver-related operations of the network device or terminal device in the above method embodiments, and the processing unit 1020 is used to execute the processing-related operations of the network device or terminal device in the above method embodiments.
[0268] In a possible implementation, the processing unit 1020 is configured to determine a service type of a first message, where the first message is an RDMA message; and the processing unit 1020 is further configured to map the first message to a first radio bearer according to the service type of the first message.
[0269] For another example, the mode of the first radio bearer corresponds to the service type of the first message, and the first radio bearer includes an AM mode or a UM mode.
[0270] For another example, the service type of the first message is determined based on the connection type of the queue to the QP and / or the reliability type of the QP, where the connection type of the QP includes a connection service type or a datagram service type, and the reliability type of the QP includes a reliable service type or an unreliable service type.
[0271] For another example, the processing unit 1020 is further configured to determine that a service type of the first message has a mapping relationship with the first radio bearer.
[0272] For another example, when the device 1000 is used to execute the actions performed by the network device in the above method 500, it also includes a transceiver unit 1010, which is used to send first configuration information, and the first configuration information is used to indicate that the service type of the first message has a mapping relationship with the first wireless bearer.
[0273] For another example, when the device 1000 is used to execute the actions performed by the terminal device in the above method 500, it also includes a transceiver unit 1010, and the transceiver unit 1010 is used to receive first configuration information, and the processing unit 1020 is also used to determine that the service type of the first message has a mapping relationship with the first wireless bearer based on the first configuration information.
[0274] For another example, the first message includes first indication information, where the first indication information is used to indicate a service type of the first message, and the processing unit is further used to determine the service type of the first message according to the first indication information.
[0275] For another example, the first indication information includes the service type information of the first message and / or the queue pair sequence number QPN information of the first message, and the QPN of the first message is associated with the service type information of the first message.
[0276] For another example, when the service type of the first message includes one of a connection service type or a datagram service type, or the service type of the first message includes one of a reliable service type or an unreliable service type, the first indication information includes 1-bit indication information; when the service type of the first message includes one of a reliable connection service type, an unreliable connection service type, a reliable datagram type, and an unreliable datagram type, the first indication information includes 2-bit indication information.
[0277] For another example, the processing unit 1020 is further configured to determine the service type of the first message according to a first request message, where the first request message is a link establishment request message.
[0278] It should be understood that the transceiver unit 1010 and the processing unit 1020 can also perform other operations performed by the terminal device or the network device in the above method 500, which will not be described in detail here.
[0279] It should be understood that the specific process of each unit executing the above corresponding steps has been described in detail in the above method embodiment, and for the sake of brevity, it will not be repeated here.
[0280] It should also be understood that the device 1000 here is embodied in the form of a functional unit. The term "unit" here can refer to an application specific integrated circuit (ASIC), an electronic circuit, a processor (such as a shared processor, a dedicated processor or a group processor, etc.) and a memory for executing one or more software or firmware programs, a combined logic circuit and / or other suitable components that support the described functions. In an optional example, those skilled in the art will understand that the device 700 can be specifically the communication device in the above-mentioned embodiment, and can be used to execute the various processes and / or steps corresponding to the communication device in the above-mentioned method embodiments. To avoid repetition, they are not described here.
[0281] The apparatus 1000 of each of the above-mentioned solutions has the function of implementing the corresponding steps performed by the communication device (such as a transmitting end device or a receiving end device) in the above-mentioned method. The functions can be implemented by hardware, or by hardware executing corresponding software implementations. The hardware or software includes one or more modules corresponding to the above-mentioned functions; for example, the transceiver unit can be replaced by a transceiver (for example, the transmitting unit in the transceiver unit can be replaced by a transmitter, and the receiving unit in the transceiver unit can be replaced by a receiver), and other units, such as the processing unit, can be replaced by a processor to respectively perform the transceiver operations and related processing operations in each method embodiment.
[0282] In addition, the transceiver unit 1010 may also be a transceiver circuit (for example, may include a receiving circuit and a sending circuit), and the processing unit may be a processing circuit.
[0283] It should be noted that the device in FIG10 can be a communication device (such as a terminal device or a network device) in the aforementioned embodiments, or it can be a chip or a chip system, such as a system on a chip (SoC). The transceiver unit can be an input / output circuit or a communication interface; the processing unit can be a processor, microprocessor, or integrated circuit integrated on the chip. This is not limited here.
[0284] Referring to Figure 11 , as an example, Figure 11 is a schematic diagram of a communication architecture provided in an embodiment of the present application. The communication device 1100 shown in Figure 11 includes a processor 1110 and a transceiver 1120. Optionally, the communication device 1100 may further include a bus 1130, through which the processor 1110 and the transceiver 1120 may be interconnected. The communication device 1100 may be a terminal device or a network device.
[0285] Optionally, the communication device 1100 may further include a memory 1140. The memory 1140 includes, but is not limited to, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or compact disc read-only memory (CD-ROM), and is used to store relevant instructions and data.
[0286] The processor 1110 is coupled to the memory 1140 and is configured to execute instructions stored in the memory 1140 to control the transceiver 1120 to send signals and / or receive signals.
[0287] It should be understood that the processor 1110 and memory 1140 can be combined into a single processing device, with the processor 1110 configured to execute program code stored in the memory 1140 to implement the aforementioned functions. In a specific implementation, the memory 1140 can also be integrated into the processor 1110 or independent of the processor 1110. It should be understood that the processor 1110 can also correspond to the various processing units in the aforementioned communication device, and the transceiver 1120 can correspond to the various receiving units and transmitting units in the aforementioned communication device.
[0288] It should also be understood that the transceiver 1120 may include a receiver (or receiver) and a transmitter (or transmitter). The transceiver may further include an antenna, and the number of antennas may be one or more. The transceiver may also be a communication interface or interface circuit.
[0289] Specifically, the communication device 1100 may correspond to the network device in the method 500 according to an embodiment of the present application. The communication device 1100 may include the units of the method performed by the network device in the method 500. It should be understood that the specific process of each unit performing the above-mentioned corresponding steps has been described in detail in the above-mentioned method embodiment and will not be repeated here for the sake of brevity.
[0290] Specifically, the communication device 1100 may correspond to the terminal device in the method 500 according to an embodiment of the present application. The communication device 1100 may include the units of the method performed by the terminal device in the method 500. It should be understood that the specific process of each unit performing the above-mentioned corresponding steps has been described in detail in the above-mentioned method embodiment and will not be repeated here for the sake of brevity.
[0291] When the communication device 1100 is a chip, the chip includes an interface unit and a processing unit, wherein the interface unit may be an input / output circuit or a communication interface; and the processing unit may be a processor, microprocessor, or integrated circuit integrated on the chip.
[0292] During implementation, each step of the above method can be completed by an integrated logic circuit of the hardware in the processor or by instructions in the form of software. The steps of the method disclosed in conjunction with the embodiments of the present application can be directly embodied as being executed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in conjunction with its hardware. To avoid repetition, it will not be described in detail here.
[0293] It should be noted that the processor in the embodiments of the present application can be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method embodiment can be completed by an integrated logic circuit of the hardware in the processor or by instructions in the form of software. The above processor can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. The various methods, steps, and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium mature in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, registers, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0294] The present application also provides a computer-readable medium having a computer program stored thereon, which implements the functions of any of the above method embodiments when executed by a computer.
[0295] The present application also provides a computer program product, which implements the functions of any of the above method embodiments when executed by a computer.
[0296] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware, or any combination thereof. When implemented using software, all or part of the embodiments may be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated therein. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a high-density digital video disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).
[0297] In the embodiments of this application, words such as "exemplary" and "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described in this application as "exemplary" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of the word "exemplary" is intended to present concepts in a concrete way.
[0298] It should be understood that references to "embodiments" throughout this specification mean that a particular feature, structure, or characteristic associated with the embodiment is included in at least one embodiment of the present application. Therefore, various embodiments throughout this specification do not necessarily refer to the same embodiment. Furthermore, these particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
[0299] It should be understood that in the various embodiments of the present application, the size of the sequence number of each process does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. The names of all nodes and messages in this application are merely names set by this application for the convenience of description. The names in the actual network may be different. It should not be understood that this application limits the names of various nodes and messages. On the contrary, any name with the same or similar function as the node or message used in this application is regarded as the method or equivalent replacement of this application, and is within the scope of protection of this application.
[0300] It should also be understood that in this application, "when", "if" and "if" all mean that the UE or base station will take corresponding measures under certain objective circumstances. It does not limit the time, and does not require the UE or base station to take judgment actions when implementing it, nor does it mean that there are other limitations.
[0301] Additionally, the terms "system" and "network" are often used interchangeably. The term "and / or" is simply used to describe an association between related objects, indicating that three possible relationships exist. For example, "A and / or B" can mean: A exists alone, A and B exist simultaneously, or B exists alone.
[0302] As used herein, the term "at least one of" or "at least one of" refers to all or any combination of the listed items. For example, "at least one of A, B, and C" can mean: A alone, B alone, C alone, A and B together, B and C together, and A, B, and C together. As used herein, "at least one" means one or more. "A plurality" means two or more.
[0303] It should be understood that in each embodiment of the present application, the terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.
[0304] It should be understood that in various embodiments of the present application, the first, second, and various numerical numbers are merely distinctions for ease of description and are not intended to limit the scope of the embodiments of the present application.
[0305] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0306] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0307] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0308] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0309] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0310] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0311] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. A message transmission method, characterized in that: include: Determining a service type of a first message, where the first message is a Remote Direct Memory Access (RDMA) message; Map the first message to a first radio bearer according to a service type of the first message.
2. The method according to claim 1, characterized in that The mode of the first radio bearer corresponds to the service type of the first message, and the mode of the first radio bearer includes an acknowledged AM mode or an unacknowledged UM mode.
3. The method according to claim 1 or 2, characterized in that The service type of the first message is determined based on the connection type of the queue to the QP and / or the reliability type of the QP, where the connection type of the QP includes a connection service type or a datagram service type, and the reliability type of the QP includes a reliable service type or an unreliable service type.
4. The method according to claim 3, characterized in that The service type of the first message includes one of a connection service type or a datagram service type, or the service type of the first message includes one of a reliable service type or an unreliable service type, or the service type of the first message includes one of a reliable connection service type, an unreliable connection service type, a reliable datagram service type, and an unreliable datagram service type.
5. The method according to any one of claims 1 to 4, characterized in that The method further comprises: Determine that a service type of the first message has a mapping relationship with the first radio bearer.
6. The method according to claim 5, characterized in that The determining that a mapping relationship exists between the service type of the first message and the first radio bearer includes: receiving first configuration information from a network device; Determine, according to the first configuration information, that the service type of the first message has a mapping relationship with the first radio bearer.
7. The method according to any one of claims 1 to 5, characterized in that The method further comprises: Send first configuration information, where the first configuration information is used to indicate that a service type of the first message has a mapping relationship with the first radio bearer.
8. The method according to any one of claims 1 to 7, characterized in that The determining the service type of the first message includes: The first message includes first indication information, where the first indication information is used to indicate a service type of the first message. Determining the service type of the first message according to the first message includes: Determine a service type of the first message according to the first indication information.
9. The method according to claim 8, characterized in that The first indication information includes service type information of the first message and / or queue pair sequence number (QPN) information of the first message, and the QPN information of the first message is associated with the service type information of the first message.
10. The method according to claim 8 or 9, characterized in that When the service type of the first message includes one of a connection service type or a datagram service type, or the service type of the first message includes one of a reliable service type or an unreliable service type, the first indication information includes 1-bit indication information; When the service type of the first message includes one of a reliable connection service type, an unreliable connection service type, a reliable datagram type, and an unreliable datagram type, the first indication information includes 2-bit indication information.
11. The method according to any one of claims 8 to 10, characterized in that The first indication information is carried in a Service Data Adaptation Protocol (SDAP) layer message header.
12. The method according to any one of claims 1 to 7, characterized in that The determining the service type of the first message includes: The service type of the first message is determined according to a first request message, where the first request message is a link establishment request message.
13. A message transmission device, characterized in that: include: A processing unit, configured to determine a service type of a first message, where the first message is an RDMA message; The processing unit is configured to map the first message to a first radio bearer according to a service type of the first message.
14. The device according to claim 13, characterized in that The mode of the first radio bearer corresponds to the service type of the first message, and the mode of the first radio bearer includes AM mode or UM mode.
15. The device according to claim 13 or 14, characterized in that The service type of the first message is determined based on the connection type of the queue to the QP and / or the reliability type of the QP, where the connection type of the QP includes a connection service type or a datagram service type, and the reliability type of the QP includes a reliable service type or an unreliable service type.
16. The device according to claim 15, characterized in that The service type of the first message includes one of a connection service type or a datagram service type, or the service type of the first message includes one of a reliable service type or an unreliable service type, or the service type of the first message includes one of a reliable connection service type, an unreliable connection service type, a reliable datagram service type, and an unreliable datagram service type.
17. The device according to any one of claims 13 to 16, characterized in that the processing unit, It is also used to determine whether the service type of the first message has a mapping relationship with the first radio bearer.
18. The device according to claim 17, characterized in that The device further comprises a transceiver unit, The transceiver unit is used to receive first configuration information from the network device; The processing unit is configured to determine, according to the first configuration information, that a service type of the first message and the first radio bearer have a mapping relationship.
19. The device according to any one of claims 13 to 17, characterized in that The device further comprises a transceiver unit, The transceiver unit is used to send first configuration information, where the first configuration information is used to indicate that a service type of the first message has a mapping relationship with the first radio bearer.
20. The device according to any one of claims 13 to 19, characterized in that The first message includes first indication information, where the first indication information is used to indicate a service type of the first message. The processing unit is further used to determine the service type of the first message according to the first indication information.
21. The device according to claim 20, characterized in that The first indication information includes service type information of the first message and / or queue pair sequence number (QPN) information of the first message, and the QPN information of the first message is associated with the service type information of the first message.
22. The device according to claim 20 or 21, characterized in that When the service type of the first message includes one of a connection service type or a datagram service type, or the service type of the first message includes one of a reliable service type or an unreliable service type, the first indication information includes 1-bit indication information; When the service type of the first message includes one of a reliable connection service type, an unreliable connection service type, a reliable datagram type, and an unreliable datagram type, the first indication information includes 2-bit indication information.
23. The device according to any one of claims 20 to 22, characterized in that The first indication information is carried in a Service Data Adaptation Protocol (SDAP) layer message header.
24. The device according to any one of claims 13 to 19, characterized in that The processing unit is further configured to determine a service type of the first message according to a first request message, where the first request message is a link establishment request message.
25. A communication device, characterized in that: include: A processor, configured to execute a computer program stored in a memory, so that the apparatus performs the method according to any one of claims 1 to 12.
26. The device according to claim 25, characterized in that The apparatus further comprises the memory.
27. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is run on a computer, the computer is caused to execute the method according to any one of claims 1 to 12.
28. A computer program product, characterized in that The computer program product comprises instructions for performing the method of any one of claims 1 to 12.
29. A chip system, characterized in that: The method comprises: a processor configured to call and run a computer program from a memory, so that a communication device equipped with the chip system executes the method according to any one of claims 1 to 12.
Citation Information
Patent Citations
Data processing method, device and system
CN116633911A
Tunneled remote direct memory access (RDMA) communication
US20160212214A1
Data transmission method, chip, and device
US20230153264A1
Cited By
Message address searching method and device based on flow identification, equipment and storage medium
CN121967568A