Data transmission method, base station, terminal, storage medium and computer program product
By establishing a direct DRB session between the terminal and the base station, and transmitting data directly on the DRB, the problems of data transmission latency and efficiency between the terminal and the base station are solved, achieving efficient data transmission and network resource utilization.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- CHINA MOBILE COMM LTD RES INST
- Filing Date
- 2024-12-09
- Publication Date
- 2026-06-09
Smart Images

Figure CN122179925A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of wireless communication technology, and in particular to a data transmission method, base station, terminal, storage medium, and computer program product. Background Technology
[0002] With the deep integration of mobile communication technology and artificial intelligence (AI), leveraging AI / machine learning (ML) models to further improve network performance and efficiency has become an industry consensus, prompting research and standardization efforts in international standards organizations. Training the AI / ML model is a crucial step. Since some terminals have limited computing power and cannot complete model training themselves, base stations assist terminals in performing on-device model training. In this case, training data needs to be sent from the terminal to the base station, and the trained model from the base station needs to be sent back to the terminal.
[0003] However, as Figure 1 As shown, if data is transmitted through the User Plane (UP), since the data session terminates at the terminal and the User Plane Function (UPF), and involves two main parts—the data radio bearer (DRB) transmission over the air interface and the tunnel transmission from the base station to the UPF—AI model parameters and data need to pass through the core network's UPF to reach the terminal from the base station, introducing unnecessary transmission delays. Figure 2 As shown, when transmitting data via the control plane (CP), although the data interaction of the signaling radio bearer (SRB) terminates at the base station, its transmission capacity is limited. If AI service data is transmitted using the SRB, the packet size limitation necessitates segmenting and grouping the data packets for transmission, resulting in low transmission efficiency and high transmission latency. Figure 3 As shown, when a base station provides shared computing power for AI applications, local offloading can be used to allow terminals to directly access AI applications located on the base station's shared computing power in order to shorten transmission latency. In this case, the data terminates at the base station. However, existing sessions terminate at the UPF, and terminals cannot directly access applications located on the base station's shared computing power, which also introduces unnecessary transmission latency. Summary of the Invention
[0004] This application provides a data transmission method, a base station, a terminal, a storage medium, and a computer program product. By establishing a first session terminated between the terminal and the base station, data can be transmitted directly between the terminal and the base station on the DRB without bypassing the UPF, effectively shortening the transmission delay, improving transmission efficiency, and reducing the transmission pressure on the backhaul network.
[0005] The technical solution of this application embodiment is implemented as follows:
[0006] This application provides a data transmission method applied to a base station, the method comprising:
[0007] Based on the service type of the computing task requested to be offloaded by the terminal, a Data Radio Bearer (DRB) is allocated to the service data stream of the computing task, and the mapping relationship between the service data stream and the DRB is determined.
[0008] Configure the mapping relationship to the terminal and establish a first session with the terminal; wherein the first session terminates at the base station and the terminal;
[0009] Using the mapping relationship, the service data stream of the computing task is transmitted to the terminal on the DRB.
[0010] The above method also includes:
[0011] The first information of the base station is sent to the core network, and the core network determines whether to establish the first session based on the first information, the second information of the terminal, and the service type of the computing task.
[0012] Alternatively, based on the first information, the second information, and the service type of the computing task, it can be determined whether to establish the first session;
[0013] If it is determined that the first session should be established, the mapping relationship should be determined to establish the first session;
[0014] The first information is used to indicate the base station's support capability for the first session;
[0015] The second information is used to indicate the terminal's ability to support the first session.
[0016] In the above method, the first information and the second information each include information on whether the first session is supported, and the types of services supported to be carried on the first session.
[0017] In the above method, the first session is determined by the core network to determine whether it is established, and the method further includes:
[0018] Upon receiving a session establishment notification from the core network, determine to establish the first session;
[0019] The session establishment notification carries the service type of the computing task.
[0020] In the above method, the first session is determined by the base station to determine whether it is established, and the method further includes:
[0021] Receive the second information sent by the terminal, and / or receive a session capability notification sent by the core network in response to the registration request of the terminal;
[0022] The second information is carried in the session capability notification and is obtained by the core network from the registration request, and / or determined based on the user's subscription information and the terminal's session indication information for the first session.
[0023] In the above method, the first session is determined by the base station to determine whether it is established, and the method further includes:
[0024] Broadcast the first information in the system message;
[0025] The terminal receives a computation offload request in response to the first information; wherein the computation offload request carries the service type of the computation task.
[0026] The above method also includes:
[0027] Synchronize the session information of the first session to the core network.
[0028] In the above method, there are multiple computational tasks, all of which are model training tasks. The business data flow of each model training task includes a model transport stream and a data transport stream; the mapping relationship is as follows:
[0029] Model transport streams for different model training tasks are mapped to the same DRB, data transport streams for different model training tasks are mapped to the same DRB, and model transport streams and data transport streams are mapped to different DRBs.
[0030] Alternatively, model transport streams for different model training tasks can be mapped to different DRBs, while data transport streams for different model training tasks can be mapped to the same DRB.
[0031] Alternatively, the model transport stream and data transport stream for the same model training task are mapped to the same DRB, while the model transport stream and data transport stream for different model training tasks are mapped to different DRBs.
[0032] This application provides a data transmission method applied to a terminal, the method comprising:
[0033] The system receives the mapping relationship configured by the base station and establishes a first session with the base station; wherein, the mapping relationship is the mapping relationship between the service data stream of the computing task requested by the terminal to be offloaded to the base station and the data radio bearer (DRB); the first session terminates at the base station and the terminal.
[0034] Using the mapping relationship, the service data stream of the computing task is transmitted to the base station on the DRB.
[0035] In the above method, the first session is determined by the base station or core network based on the first information of the base station, the second information of the terminal, and the service type of the computing task to determine whether to establish it.
[0036] The first information is used to indicate the base station's support capability for the first session;
[0037] The second information is used to indicate the terminal's ability to support the first session.
[0038] In the above method, the first information and the second information each include information on whether the first session is supported, and the types of services supported to be carried on the first session.
[0039] In the above method, the first session is determined by the base station to determine whether it is established, and the method further includes:
[0040] Send the second information to the base station;
[0041] And / or, send a registration request to the core network, so that the core network sends a session capability notification to the base station in response to the registration request;
[0042] The session capability notification carries second information, which is obtained by the core network from the registration request and / or determined based on the user's subscription information and the terminal's session indication information for the first session.
[0043] In the above method, the first session is determined by the base station to determine whether it is established, and the method further includes:
[0044] Receive the first information broadcast by the base station in the system message;
[0045] In response to the first information, a computation offload request is sent to the base station;
[0046] The computing offload request carries the business type of the computing task.
[0047] In the above method, the first session is determined by the core network to determine whether it is established, and the method further includes:
[0048] Send a registration request to the core network so that the core network obtains the second information from the registration request, and / or determines the second information based on the user's subscription information and the terminal's session indication information for the first session.
[0049] In the above method, the first session is determined by the core network to determine whether it is established, and the method further includes:
[0050] Send a compute offload request to the core network; wherein the compute offload request carries the service type of the compute task.
[0051] In the above method, there are multiple computational tasks, all of which are model training tasks. The business data flow of each model training task includes a model transport stream and a data transport stream; the mapping relationship is as follows:
[0052] Model transport streams for different model training tasks are mapped to the same DRB, data transport streams for different model training tasks are mapped to the same DRB, and model transport streams and data transport streams are mapped to different DRBs.
[0053] Alternatively, model transport streams for different model training tasks can be mapped to different DRBs, while data transport streams for different model training tasks can be mapped to the same DRB.
[0054] Alternatively, the model transport stream and data transport stream for the same model training task are mapped to the same DRB, while the model transport stream and data transport stream for different model training tasks are mapped to different DRBs.
[0055] This application provides a base station, including: a first processor, a first memory, and a first communication bus;
[0056] The first communication bus is used to establish a communication connection between the first processor and the first memory;
[0057] The first processor is configured to execute one or more computer programs stored in the first memory to implement a data transmission method applied to a base station.
[0058] This application provides a terminal, including: a second processor, a second memory, and a second communication bus;
[0059] The second communication bus is used to establish a communication connection between the second processor and the second memory;
[0060] The second processor is configured to execute one or more computer programs stored in the second memory to implement a data transmission method applied to the terminal.
[0061] This application provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements steps in a data transmission method applied to a base station, or steps in a data transmission method applied to a terminal.
[0062] This application provides a computer program product, including a computer program that, when executed, implements steps in a data transmission method applied to a base station, or steps in a data transmission method applied to a terminal.
[0063] This application provides a data transmission method, a base station, a terminal, a storage medium, and a computer program product. The data transmission method applied to a base station includes: allocating a Data Radio Bearer (DRB) to the service data stream of the computing task based on the service type of the computing task requested to be offloaded by the terminal; determining the mapping relationship between the service data stream and the DRB; configuring the mapping relationship to the terminal; and establishing a first session with the terminal; wherein the first session terminates between the base station and the terminal; and transmitting the service data stream of the computing task with the terminal on the DRB using the mapping relationship. The technical solution provided by this application, by establishing a first session terminated between the terminal and the base station, enables the terminal and the base station to directly transmit data on the DRB without bypassing the UPF, effectively shortening the transmission latency, improving transmission efficiency, and reducing the transmission pressure on the backhaul network. Attached Figure Description
[0064] Figure 1 This is an exemplary data transmission diagram in the prior art. Figure 1 ;
[0065] Figure 2 This is an exemplary data transmission diagram in the prior art. Figure 2 ;
[0066] Figure 3 This is an exemplary data transmission diagram in the prior art. Figure 3 ;
[0067] Figure 4 A flowchart illustrating a data transmission method provided in this application embodiment. Figure 1 ;
[0068] Figure 5 An exemplary data transmission diagram provided for embodiments of this application. Figure 1 ;
[0069] Figure 6 An exemplary data transmission diagram provided for embodiments of this application. Figure 2 ;
[0070] Figure 7An exemplary data transmission diagram provided for embodiments of this application. Figure 3 ;
[0071] Figure 8 A flowchart illustrating a data transmission method provided in this application embodiment. Figure 2 ;
[0072] Figure 9 An exemplary data transmission interaction diagram provided for embodiments of this application. Figure 1 ;
[0073] Figure 10 An exemplary data transmission interaction diagram provided for embodiments of this application. Figure 2 ;
[0074] Figure 11 A schematic diagram of a base station structure provided in an embodiment of this application. Figure 1 ;
[0075] Figure 12 A schematic diagram of a base station structure provided in an embodiment of this application. Figure 2 ;
[0076] Figure 13 A schematic diagram of the structure of a terminal provided in this application embodiment. Figure 1 ;
[0077] Figure 14 A schematic diagram of the structure of a terminal provided in this application embodiment. Figure 2 . Detailed Implementation
[0078] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0079] The technical solutions of this application and how they solve the aforementioned technical problems will be described in detail below through embodiments and in conjunction with the accompanying drawings. The embodiments below can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.
[0080] Furthermore, the technical solutions described in the embodiments of this application can be combined arbitrarily without conflict.
[0081] This application provides a data transmission method that establishes a new data session connection, namely the first session, so that data transmission terminates at the base station and the terminal. This session has two significant features: one is that data transmission terminates at the base station and the terminal, and the other is that the service data stream is directly mapped to the DRB, which will be described in detail below.
[0082] Figure 4 A flowchart illustrating a data transmission method provided in this application embodiment. Figure 1 .like Figure 4 As shown in the embodiments of this application, the data transmission method applied to the base station mainly includes the following steps:
[0083] S101. Based on the service type of the computing task requested to be offloaded by the terminal, allocate a Data Radio Bearer (DRB) to the service data stream of the computing task and determine the mapping relationship between the service data stream and the DRB.
[0084] In the embodiments of this application, the base station can allocate a DRB to the service data stream of the computing task based on the service type of the computing task requested to be offloaded by the terminal, thereby determining the mapping relationship between the service data stream and the DRB.
[0085] It should be noted that, in the embodiments of this application, the mapping of service data stream to DRB is a feature of the first session terminated between the base station and the terminal. The base station needs to determine the mapping relationship between the service data stream of the computing task and DRB after determining that the first session has been established, that is, to execute step S101.
[0086] In the embodiments of this application, the base station may perform the following steps: send first information of the base station to the core network, and determine whether to establish a first session based on the first information, the second information of the terminal, and the service type of the computing task; or, determine whether to establish a first session based on the first information, the second information, and the service type of the computing task; if it is determined that a first session should be established, perform step S101, that is, determine the mapping relationship to establish the first session; the first information is used to indicate the base station's support capability for the first session; the second information is used to indicate the terminal's support capability for the first session.
[0087] It should be noted that, in the embodiments of this application, the determination of whether to establish a first session can be performed by the core network or by the base station, depending on the actual needs and application scenario, and this application embodiment does not limit it. In this case, the base station further determines the mapping relationship between the service data stream of the computing task and the DRB if it determines that a first session has been established.
[0088] It should be noted that in the embodiments of this application, the first information is used to indicate the base station's support capability for the first session, the second information is used to indicate the terminal's support capability for the first session, and the service type of the computing task reflects the computing requirements. These three pieces of information are necessary information for determining whether to establish the first session. Of course, other information can also be combined with actual needs and application scenarios to jointly determine whether to establish the first session, such as user subscription information, etc. This application embodiment does not limit this.
[0089] In embodiments of this application, the first information and the second information each include information on whether the first session is supported, and the types of services supported on the first session. Additionally, they may include other information such as the priority of the service types. The types of services supported on the first session include, but are not limited to, model training / inference and application computation offloading, such as image rendering and enhancement.
[0090] For example, in the embodiments of this application, the first information may specifically be as shown in Table 1 below:
[0091] Table 1
[0092]
[0093] For example, in the embodiments of this application, the second information may specifically be as shown in Table 2 below:
[0094] Table 2
[0095]
[0096] In the embodiments of this application, if the core network determines whether to establish a first session, the base station can learn from the core network whether to establish a first session. The base station can also perform the following steps: upon receiving a session establishment notification from the core network, determine to establish a first session; wherein the session establishment notification carries the service type of the computing task.
[0097] In the embodiments of this application, if the base station determines whether to establish a first session, the base station needs to know the second information of the terminal and the service type of the computing task.
[0098] In embodiments of this application, the base station may perform the following steps to obtain the second information of the terminal: receiving the second information sent by the terminal, and / or receiving a session capability notification sent by the core network in response to the terminal's registration request; wherein the session capability notification carries the second information, which is obtained by the core network from the registration request, and / or determined based on the user's subscription information and the terminal's session indication information for the first session.
[0099] It is understood that in the embodiments of this application, if the base station determines whether to establish a first session, the base station needs to obtain the terminal's second information. One way is that the terminal can report the second information to the base station through Radio Resource Control (RRC) signaling, and the base station receives the second information sent by the terminal. Another way is that the base station receives the session capability notification sent by the core network in response to the terminal's registration request. Specifically, there are two situations: one is that the user's subscription information adds the ability to support the first session, i.e., the second information. When the terminal registers with the core network, the core network notifies the base station of the second information. The other situation is that the registration request initiated by the terminal carries the terminal's session indication information for the first session, such as the service types supported by the first session. The core network can combine the user's subscription information to decide which services can be carried by the first session, determine the second information, and notify the base station.
[0100] In an embodiment of this application, the base station may perform the following steps to determine the service type of the computing task: broadcasting first information in a system message; receiving a computing offload request from a terminal in response to the first information; wherein the computing offload request carries the service type of the computing task.
[0101] It should be noted that, in the embodiments of this application, the base station can broadcast its own first information, and the terminal can initiate a computing offload request to the base station based on this information, carrying the computing task requirement information, including the service type of the computing task.
[0102] For example, in an embodiment of this application, the information carried by the calculation unload request can be specifically shown in Table 3 below:
[0103] Table 3
[0104]
[0105]
[0106] In the embodiments of this application, the base station can choose one of the above methods to determine whether to establish a first session. If it is determined that a first session will be established, step S101 is executed, that is, determining the mapping relationship between the service data stream of the computing task and the DRB. The number of computing tasks can be one or more, and the service types of the computing tasks can be various. The base station can allocate a DRB for the service data stream under each service type. One DRB can correspond to multiple service data streams or one service data stream, and can be allocated by the base station according to actual needs and application scenarios. This embodiment of the application does not limit this.
[0107] For example, in an embodiment of this application, there are multiple computational tasks, all of which are model training tasks. The business data flow of each model training task includes a model transport stream and a data transport stream; then the mapping relationship can be:
[0108] Model transport streams from different model training tasks are mapped to the same DRB; data transport streams from different model training tasks are mapped to the same DRB; model transport streams and data transport streams are mapped to different DRBs, such as... Figure 5 As shown;
[0109] Alternatively, model transport streams for different model training tasks can be mapped to different DRBs, while data transport streams for different model training tasks can be mapped to the same DRB, such as... Figure 6 As shown;
[0110] Alternatively, the model transport stream and data transport stream for the same model training task are mapped to the same DRB, while the model transport stream and data transport stream for different model training tasks are mapped to different DRBs, such as... Figure 7 As shown.
[0111] S102. Configure the mapping relationship with the terminal and establish the first session with the terminal; wherein the first session terminates at the base station and the terminal.
[0112] In the embodiments of this application, the mapping relationship between the service data stream of the computing task and the DRB is the requirement information for establishing the first session. Once the base station determines the mapping relationship, it can configure the mapping relationship to the terminal, thereby completing the establishment of the first session.
[0113] It should be noted that, in the embodiments of this application, as described in step S101, the terminal can provide the second information by means of a computation offload request. Correspondingly, the base station can configure the mapping relationship by means of the response message of the computation offload request. For example, the information contained in the response message is shown in Table 4 below:
[0114] Table 4
[0115]
[0116]
[0117]
[0118] In the embodiments of this application, when the base station establishes a first session with the terminal, it can also synchronize the session information of the first session to the core network.
[0119] S103. Using the mapping relationship, transmit the service data stream of computing tasks to the terminal on the DRB.
[0120] In the embodiments of this application, after the base station configures the mapping relationship between the service data stream of the computing task and the DRB to the terminal, the service data stream of the computing task can be transmitted to the terminal on the DRB using the mapping relationship.
[0121] For example, in an embodiment of this application, see Figure 5 There are two computational tasks, namely AI1 task 1 and AI2 task 2, both of which are model training tasks. The model transport streams of different model training tasks are mapped to the same DRB, and the data transport streams of different model training tasks are mapped to the same DRB. The model transport streams and data transport streams are mapped to different DRBs. The base station can map the models of model training task 1 and model training task 2 to DRB1 and transmit them to the terminal, and map the data of model training task 1 and model training task 2 to DRB2 and transmit them to the terminal.
[0122] For example, in an embodiment of this application, see Figure 6 There are two computational tasks, namely AI1 task 1 and AI2 task 2, both of which are model training tasks. The model transport streams of different model training tasks are mapped to different DRBs, while the data transport streams of different model training tasks are mapped to the same DRB. The base station can map the model of model training task 1 to DRB1 and transmit it to the terminal, map the model of model training task 2 to DRB2 and transmit it to the terminal, and map the data of model training task 1 and model training task 2 to DRB3 and transmit it to the terminal.
[0123] For example, in an embodiment of this application, see Figure 7 There are two computational tasks, namely AI1 task 1 and AI2 task 2, both of which are model training tasks. The model transmission stream and data transmission stream of the same model training task are mapped to the same DRB, and the model transmission stream and data transmission stream of different model training tasks are mapped to different DRBs. The base station can map the model and data of model training task 1 to DRB1 and transmit them to the terminal, and map the model and data of model training task 2 to DRB2 and transmit them to the terminal.
[0124] Figure 8 A flowchart illustrating a data transmission method provided in this application embodiment. Figure 2 .like Figure 8 As shown in the embodiments of this application, the data transmission method applied to the terminal mainly includes the following steps:
[0125] S201. Receive the mapping relationship configured by the base station and establish a first session with the base station; wherein, the mapping relationship is the mapping relationship between the service data stream of the computing task requested by the terminal to be offloaded to the base station and the data radio bearer (DRB); the first session terminates at the base station and the terminal.
[0126] In the embodiments of this application, corresponding to the base station-side method, the terminal can receive the mapping relationship between the service data stream of the computing task configured by the base station and the DRB, and establish a first session with the base station.
[0127] It should be noted that, in the embodiments of this application, the mapping relationship between the service data stream of the computing task and the DRB is a feature of the first session, and is information on the requirements for establishing the first session. The explanation of the mapping relationship between the service data stream of the computing task and the DRB is provided below. See the relevant content in the base station-side method for details, which will not be repeated here.
[0128] In the embodiments of this application, the first session is determined by the base station or core network based on the base station's first information, the terminal's second information, and the service type of the computing task; the first information is used to indicate the base station's support capability for the first session; the second information is used to indicate the terminal's support capability for the first session.
[0129] In the embodiments of this application, the first information and the second information each include information on whether the first session is supported, and the service types supported on the first session. For detailed explanations, please refer to the relevant content in the base station side method, which will not be repeated here.
[0130] In the embodiments of this application, if the base station determines whether the first session is established, the terminal may further perform the following steps: send second information to the base station; and / or send a registration request to the core network, so that the core network responds to the registration request by sending a session capability notification to the base station; wherein the session capability notification carries the second information, which is obtained by the core network from the registration request, and / or determined based on the user's subscription information and the terminal's session indication information for the first session.
[0131] It should be noted that, in the embodiments of this application, if the base station determines whether the first session is established, the terminal can directly provide the second information to the base station, or it can provide the second information to the base station through the core network, thereby serving as the basis for the base station to determine whether the first session is established.
[0132] In the embodiments of this application, if the base station determines whether the first session is established, the terminal may further perform the following steps: receive first information broadcast by the base station in a system message; in response to the first information, send a computation offload request to the base station; wherein the computation offload request carries the service type of the computation task.
[0133] It should be noted that, in the embodiments of this application, the base station can broadcast its own first information. When the terminal receives the first information, it can initiate a computing offload request to the base station, carrying the computing task requirement information, including the service type of the computing task, so as to serve as the basis for the base station to determine whether to establish a first session.
[0134] In embodiments of this application, if the core network determines whether the first session has been established, the terminal may further perform the following steps: sending a registration request to the core network so that the core network obtains second information from the registration request, and / or determining the second information based on the user's subscription information and the terminal's session indication information for the first session. The session indication information may be carried in the registration request and sent to the core network.
[0135] In the embodiments of this application, if the core network determines whether the first session has been established, the terminal may further perform the following steps: send a computing offload request to the core network; wherein the computing offload request carries the service type of the computing task.
[0136] It should be noted that, in the embodiments of this application, the terminal can notify the core network of the service type of the computing task through a computing offload request, thereby serving as the basis for the base station to determine whether to establish the first session.
[0137] S202. Using the mapping relationship, transmit the service data stream of computing tasks to the base station on the DRB.
[0138] In the embodiments of this application, once the terminal obtains the mapping relationship between the service data stream of the computing task and the DRB, it can use the mapping relationship to transmit the service data stream of the computing task to the base station on the DRB.
[0139] In the embodiments of this application, the number of computational tasks is multiple, all of which are model training tasks. The business data flow of each model training task includes a model transport stream and a data transport stream; the mapping relationship can be:
[0140] Model transport streams from different model training tasks are mapped to the same DRB; data transport streams from different model training tasks are mapped to the same DRB; model transport streams and data transport streams are mapped to different DRBs, such as... Figure 5 As shown;
[0141] Alternatively, model transport streams for different model training tasks can be mapped to different DRBs, while data transport streams for different model training tasks can be mapped to the same DRB, such as... Figure 6 As shown;
[0142] Alternatively, the model transport stream and data transport stream for the same model training task are mapped to the same DRB, while the model transport stream and data transport stream for different model training tasks are mapped to different DRBs, such as... Figure 7 As shown.
[0143] The terminal data transmission process is similar to that on the base station side, and will not be described in detail here.
[0144] The base station and terminal data transmission method provided in this application embodiment can be applied to the following two scenarios:
[0145] Scenario 1: For computations applied to RAN self-optimization, such as when the base station assists the terminal in model training or inference. The terminal sends a computation offload request to the base station supporting the first session via RRC signaling. The base station matches communication resources, computing power resources, and / or model resources according to the computation requirements. If the resource allocation is successful, it sends a success response message to the terminal, carrying DRB configuration information and the mapping relationship with the service data streams in the computation task (e.g., the corresponding model identifier, and / or data transmission stream identifier, and / or model transmission stream identifier). After successful establishment, the terminal maps the data transmission channel according to the mapping relationship between the service data streams of the computation task and the DRB, that is, it sends the data to be transmitted through the corresponding DRB, or sends the data received from the DRB to the corresponding computation service.
[0146] Scenario 2: For scenarios where terminal applications are offloaded to the base station, if the terminal has already subscribed to the core network for local offloading of the service processing at the base station, one possible approach is for the terminal to send a compute offload request to the core network via a Non-Access Stratum (NAS) message. Upon receiving the application offload request, the core network determines that both the terminal and the base station support the first session. If so, it initiates a local offload session establishment with the base station. The session establishment notification carries the service type of the compute task. When establishing the DRB, the base station specifies the mapping relationship between the service data stream and the DRB and configures it for the terminal via RRC signaling messages. After the session is established, this information is synchronized to the core network. Otherwise (if the terminal has not subscribed, and / or the terminal does not support it, and / or the base station does not support it), the core network transmits the application offload data by establishing a regular PDU session. Another approach is that the terminal initiates a first session establishment request via an RRC message, carrying the type of service it carries. The base station determines whether it can provide local computing offloading service to the terminal based on the user subscription information indicated by the core network. If the base station can provide local offloading service, it establishes the corresponding DRB, specifies the mapping relationship between the service data flow and the DRB, configures it to the terminal via an RRC signaling message, and finally synchronizes the information to the core network.
[0147] The data transmission method provided in the embodiments of this application will be explained below based on the two scenarios described above.
[0148] In one embodiment of this application, for the manageability and controllability of the entire network, the process of establishing the first session connection requires core network management. There are two possible options for establishing the first session: Option 1 is that the terminal requests computational task offloading from the core network via a NAS message; Option 2 is that the terminal requests computational offloading from the base station via RRC, and after the base station establishes the first session based on the user subscription information sent by the core network, it synchronizes the first session establishment information with the core network. See also Figure 9 It mainly includes the following steps:
[0149] 1. The base station initiates a connection establishment with the core network, carrying the base station's initial information, as shown in Table 1;
[0150] 2. The terminal sends a registration request to the core network via NAS messages, carrying the terminal's session indication information for the first session;
[0151] 3. The core network determines the second information based on user subscription information and session indication information, as shown in Table 2;
[0152] 4. The core network sends the second message to the base station;
[0153] Option 1:
[0154] 5. The terminal sends a computing offload request to the core network;
[0155] 6. The core network determines whether to establish a first session based on the service type of the computing task, the first information, and the second information; if the conditions for establishing a first session are met, proceed to step 7.
[0156] 7. The core network sends a session establishment notification to the base station, specifically carrying the information shown in Table 5, including the service type of the computing task. Then, proceed to step 11.
[0157] Table 5
[0158]
[0159]
[0160] Option 2:
[0161] 8. The terminal learns the base station's initial information through broadcast messages;
[0162] 9. The terminal sends a computation offload request to the base station;
[0163] 10. The base station determines whether to establish a first session based on the service type of the computing task, the first information, and the second information; if the conditions for establishing a first session are met, proceed to step 11.
[0164] It should be noted that the base station can also combine the user subscription information and service type priority sent by the core network to determine whether a first session can be established;
[0165] 11. The base station allocates DRBs to the service data streams of computing tasks and determines the mapping relationship between the service data streams and DRBs;
[0166] 12. The base station configures the mapping relationship between the service data stream and the DRB to the terminal and establishes the first session; wherein, the terminal sets the computing task context according to the configuration, associates the DRB with the computing task, configures each protocol layer, and sends a configuration response to the base station; at this point, the first session is established.
[0167] 13. The base station synchronizes the session information of the first session with the core network. The session information can be shown in Table 6:
[0168] Table 6
[0169]
[0170]
[0171] 14. The base station and the terminal transmit the service data stream of computing tasks on the DRB.
[0172] In another embodiment of this application, the base station autonomously establishes the first session, see [link to relevant documentation]. Figure 10 It mainly includes the following steps:
[0173] 1. The base station broadcasts the first information in the system message;
[0174] 2. The base station obtains the terminal's second information through RRC signaling;
[0175] 3. The base station stores the second piece of information;
[0176] 4. The terminal sends a computation offload request to the base station via RRC signaling;
[0177] 5. The base station determines whether to establish a first session based on the service type of the computing task, the first information, and the second information. If it determines to establish a first session, proceed to step 6.
[0178] 6. The base station allocates DRBs to the service data streams of computing tasks and determines the mapping relationship between the service data streams and DRBs;
[0179] It should be noted that the number and configuration of DRBs are determined based on the service type of the computation task requested by the terminal. For example, if it is a model training task, two DRBs may be established for this computation task: one for transmitting model parameters and one for transmitting training data. Since these two DRBs transmit different data, their resource configurations will also differ. When these DRBs are used for model-related data transmission, they can be grouped by model ID. If the UE offload request contains multiple computation tasks, the base station will configure and establish one or more DRBs.
[0180] 7. The base station configures the mapping relationship between the service data stream and the DRB to the terminal and establishes the first session; wherein, the terminal sets the computing task context according to the configuration, associates the DRB with the computing task, configures each protocol layer, and sends a configuration response to the base station; at this point, the first session is established.
[0181] 8. The base station synchronizes the session information of the first session with the core network. The session information can be shown in Table 6.
[0182] 9. The base station and the terminal transmit the service data stream of computing tasks on the DRB.
[0183] The data transmission method provided in this application establishes a first session terminated between the terminal and the base station, enabling direct data transmission between the terminal and the base station without bypassing the UPF. This effectively shortens the transmission latency, improves transmission efficiency, and reduces the transmission pressure on the backhaul network.
[0184] This application provides a base station. Figure 11 A schematic diagram of a base station structure provided in an embodiment of this application. Figure 1 ,like Figure 11 As shown, base station 1 includes:
[0185] The service processing module 11 is used to allocate a Data Radio Bearer (DRB) to the service data stream of the computing task based on the service type of the computing task requested to be unloaded by the terminal, and to determine the mapping relationship between the service data stream and the DRB.
[0186] The first communication module 12 is used to configure the mapping relationship to the terminal and establish a first session with the terminal; wherein the first session terminates at the base station and the terminal; and using the mapping relationship, to transmit the service data stream of the computing task with the terminal on the DRB.
[0187] In one embodiment of this application, the first communication module 12 is further configured to send the first information of the base station to the core network, and the core network determines whether to establish the first session based on the first information, the second information of the terminal, and the service type of the computing task; or, determines whether to establish the first session based on the first information, the second information, and the service type of the computing task.
[0188] The business processing module 11 is used to determine the mapping relationship to establish the first session when it is determined that the first session should be established.
[0189] The first information is used to indicate the base station's support capability for the first session;
[0190] The second information is used to indicate the terminal's ability to support the first session.
[0191] In one embodiment of this application, the first information and the second information each include information on whether the first session is supported, and the types of services supported to be carried on the first session.
[0192] In one embodiment of this application, the core network determines whether the first session is to be established, and the service processing module 11 is further configured to determine whether to establish the first session when the first communication module 12 receives a session establishment notification from the core network; wherein the session establishment notification carries the service type of the computing task.
[0193] In one embodiment of this application, the first session is determined by the base station to be established, and the first communication module 12 is further configured to receive the second information sent by the terminal, and / or receive a session capability notification sent by the core network in response to the registration request of the terminal; wherein the session capability notification carries the second information, which is obtained by the core network from the registration request, and / or determined based on the user subscription information and the terminal's session indication information for the first session.
[0194] In one embodiment of this application, the first session is determined by the base station to determine whether it is established, and the first communication module 12 is further configured to broadcast the first information in a system message; receive a computation offload request sent by the terminal in response to the first information; wherein the computation offload request carries the service type of the computation task.
[0195] In one embodiment of this application, the first communication module 12 is further configured to synchronize the session information of the first session to the core network.
[0196] In one embodiment of this application, the number of computational tasks is multiple, all of which are model training tasks. The business data flow of each model training task includes a model transport stream and a data transport stream; the mapping relationship is as follows:
[0197] Model transport streams for different model training tasks are mapped to the same DRB, data transport streams for different model training tasks are mapped to the same DRB, and model transport streams and data transport streams are mapped to different DRBs.
[0198] Alternatively, model transport streams for different model training tasks can be mapped to different DRBs, while data transport streams for different model training tasks can be mapped to the same DRB.
[0199] Alternatively, the model transport stream and data transport stream for the same model training task are mapped to the same DRB, while the model transport stream and data transport stream for different model training tasks are mapped to different DRBs.
[0200] Based on the same inventive concept Figure 12 A schematic diagram of a base station structure provided in an embodiment of this application. Figure 2 ,like Figure 12 As shown, base station 1 includes: a first processor 13, a first memory 14, and a first communication bus 15;
[0201] The first communication bus 15 is used to realize the communication connection between the first processor 13 and the first memory 14;
[0202] The first processor 13 is configured to execute one or more computer programs stored in the first memory 14 to implement a data transmission method applied to a base station.
[0203] This application provides a terminal. Figure 13 A schematic diagram of the structure of a terminal provided in this application embodiment. Figure 1 ,like Figure 13 As shown, terminal 2 includes:
[0204] The second communication module 21 is used to receive the mapping relationship configured by the base station and establish a first session with the base station; wherein, the mapping relationship is the mapping relationship between the service data stream of the computing task requested by the terminal to be offloaded to the base station and the data radio bearer (DRB); the first session terminates at the base station and the terminal; using the mapping relationship, the service data stream of the computing task is transmitted with the base station on the DRB.
[0205] In one embodiment of this application, the first session is determined by the base station or core network based on the first information of the base station, the second information of the terminal, and the service type of the computing task to determine whether to establish it;
[0206] The first information is used to indicate the base station's support capability for the first session;
[0207] The second information is used to indicate the terminal's ability to support the first session.
[0208] In one embodiment of this application, the first information and the second information each include information on whether the first session is supported, and the types of services supported to be carried on the first session.
[0209] In one embodiment of this application, the first session is determined by the base station to determine whether it is established, and the second communication module 21 is further configured to send second information to the base station; and / or send a registration request to the core network, so that the core network responds to the registration request to send a session capability notification to the base station;
[0210] The session capability notification carries second information, which is obtained by the core network from the registration request and / or determined based on the user's subscription information and the terminal's session indication information for the first session.
[0211] In one embodiment of this application, the first session is determined by the base station to be established, and the second communication module 21 is further configured to receive first information broadcast by the base station in a system message; in response to the first information, send a computation offload request to the base station; wherein the computation offload request carries the service type of the computation task.
[0212] In one embodiment of this application, the core network determines whether the first session is established. The second communication module 21 is further configured to send a registration request to the core network so that the core network obtains the second information from the registration request, and / or determines the second information based on the user's subscription information and the terminal's session indication information for the first session.
[0213] In one embodiment of this application, the first session is determined by the core network to determine whether it is established, and the second communication module 21 is further used to send a computing offload request to the core network; wherein the computing offload request carries the service type of the computing task.
[0214] In one embodiment of this application, the number of computational tasks is multiple, all of which are model training tasks. The business data flow of each model training task includes a model transport stream and a data transport stream; the mapping relationship is as follows:
[0215] Model transport streams for different model training tasks are mapped to the same DRB, data transport streams for different model training tasks are mapped to the same DRB, and model transport streams and data transport streams are mapped to different DRBs.
[0216] Alternatively, model transport streams for different model training tasks can be mapped to different DRBs, while data transport streams for different model training tasks can be mapped to the same DRB.
[0217] Alternatively, the model transport stream and data transport stream for the same model training task are mapped to the same DRB, while the model transport stream and data transport stream for different model training tasks are mapped to different DRBs.
[0218] Based on the same inventive concept Figure 14 A schematic diagram of the structure of a terminal provided in this application embodiment. Figure 2 ,like Figure 14 As shown, terminal 2 includes: a second processor 22, a second memory 23, and a second communication bus 24;
[0219] The second communication bus 24 is used to realize the communication connection between the second processor 22 and the second memory 23;
[0220] The second processor 22 is used to execute one or more computer programs stored in the second memory 23 to implement a data transmission method applied to the terminal.
[0221] This application provides a computer program product, including a computer program that, when executed, implements steps in a data transmission method applied to a base station, or steps in a data transmission method applied to a terminal.
[0222] This application provides a computer-readable storage medium storing a computer program thereon. When executed by a processor, the computer program implements steps in a data transmission method applied to a base station, or steps in a data transmission method applied to a terminal. The computer-readable storage medium may be volatile memory, such as random-access memory (RAM); or non-volatile memory, such as read-only memory (ROM), flash memory, hard disk drive (HDD), or solid-state drive (SSD); or it may be a device including one or any combination of the above-mentioned memories, such as a mobile phone, computer, tablet device, personal digital assistant, etc.
[0223] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of hardware embodiments, software embodiments, or embodiments combining software and hardware aspects. Furthermore, this application can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage and optical storage) containing computer-usable program code.
[0224] This application is described with reference to schematic and / or block diagrams of implementations of methods, apparatus (systems), and computer program products according to embodiments of this application. It should be understood that each block of the schematic and / or block diagrams can be implemented by computer program instructions, and combinations of blocks in the schematic and / or block diagrams can be implemented. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create a machine for implementing the schematic and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0225] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in the implementation flow diagram. Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0226] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0227] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A data transmission method, characterized in that, Applied to a base station, the method includes: Based on the service type of the computing task requested to be offloaded by the terminal, a Data Radio Bearer (DRB) is allocated to the service data stream of the computing task, and the mapping relationship between the service data stream and the DRB is determined. Configure the mapping relationship to the terminal and establish a first session with the terminal; wherein the first session terminates at the base station and the terminal; Using the mapping relationship, the service data stream of the computing task is transmitted to the terminal on the DRB.
2. The method according to claim 1, characterized in that, The method further includes: The first information of the base station is sent to the core network, and the core network determines whether to establish the first session based on the first information, the second information of the terminal, and the service type of the computing task. Alternatively, based on the first information, the second information, and the service type of the computing task, it can be determined whether to establish the first session; If it is determined that the first session should be established, the mapping relationship should be determined to establish the first session; The first information is used to indicate the base station's support capability for the first session; The second information is used to indicate the terminal's ability to support the first session.
3. The method according to claim 2, characterized in that, The first information and the second information each include information on whether the first session is supported, and the types of services supported to be carried on the first session.
4. The method according to claim 2, characterized in that, The first session is determined by the core network to determine whether to establish it, and the method further includes: Upon receiving a session establishment notification from the core network, determine to establish the first session; The session establishment notification carries the service type of the computing task.
5. The method according to claim 2, characterized in that, The method further includes: The base station determines whether to establish the first session. Receive the second information sent by the terminal, and / or receive a session capability notification sent by the core network in response to the registration request of the terminal; The second information is carried in the session capability notification and is obtained by the core network from the registration request, and / or determined based on the user's subscription information and the terminal's session indication information for the first session.
6. The method according to claim 2, characterized in that, The method further includes: The base station determines whether to establish the first session. Broadcast the first information in the system message; The terminal receives a computation offload request in response to the first information; wherein the computation offload request carries the service type of the computation task.
7. The method according to claim 1, characterized in that, The method further includes: Synchronize the session information of the first session to the core network.
8. The method according to claim 1, characterized in that, The computational tasks are multiple, all of which are model training tasks. Each model training task's business data flow includes a model transport stream and a data transport stream; the mapping relationship is as follows: Model transport streams for different model training tasks are mapped to the same DRB, data transport streams for different model training tasks are mapped to the same DRB, and model transport streams and data transport streams are mapped to different DRBs. Alternatively, model transport streams for different model training tasks can be mapped to different DRBs, while data transport streams for different model training tasks can be mapped to the same DRB. Alternatively, the model transport stream and data transport stream for the same model training task are mapped to the same DRB, while the model transport stream and data transport stream for different model training tasks are mapped to different DRBs.
9. A data transmission method, characterized in that, Applied to a terminal, the method includes: The system receives the mapping relationship configured by the base station and establishes a first session with the base station; wherein, the mapping relationship is the mapping relationship between the service data stream of the computing task requested by the terminal to be offloaded to the base station and the data radio bearer (DRB); the first session terminates at the base station and the terminal. Using the mapping relationship, the service data stream of the computing task is transmitted to the base station on the DRB.
10. The method according to claim 9, characterized in that, The first session is determined by the base station or core network based on the base station's first information, the terminal's second information, and the service type of the computing task; The first information is used to indicate the base station's support capability for the first session; The second information is used to indicate the terminal's ability to support the first session.
11. The method according to claim 10, characterized in that, The first information and the second information each include information on whether the first session is supported, and the types of services supported to be carried on the first session.
12. The method according to claim 10, characterized in that, The method further includes: The base station determines whether to establish the first session. Send the second information to the base station; And / or, send a registration request to the core network, so that the core network sends a session capability notification to the base station in response to the registration request; The session capability notification carries second information, which is obtained by the core network from the registration request and / or determined based on the user's subscription information and the terminal's session indication information for the first session.
13. The method according to claim 10, characterized in that, The method further includes: The base station determines whether to establish the first session. Receive the first information broadcast by the base station in the system message; In response to the first information, a computation offload request is sent to the base station; The computing offload request carries the business type of the computing task.
14. The method according to claim 10, characterized in that, The first session is determined by the core network to determine whether to establish it, and the method further includes: Send a registration request to the core network so that the core network can obtain the second information from the registration request, and / or determine the second information based on the user's subscription information and the terminal's session indication information for the first session.
15. The method according to claim 10, characterized in that, The first session is determined by the core network to determine whether to establish it, and the method further includes: Send a compute offload request to the core network; wherein the compute offload request carries the service type of the compute task.
16. The method according to claim 9, characterized in that, The computational tasks are multiple, all of which are model training tasks. Each model training task's business data flow includes a model transport stream and a data transport stream; the mapping relationship is as follows: Model transport streams for different model training tasks are mapped to the same DRB, data transport streams for different model training tasks are mapped to the same DRB, and model transport streams and data transport streams are mapped to different DRBs. Alternatively, model transport streams for different model training tasks can be mapped to different DRBs, while data transport streams for different model training tasks can be mapped to the same DRB. Alternatively, the model transport stream and data transport stream for the same model training task are mapped to the same DRB, while the model transport stream and data transport stream for different model training tasks are mapped to different DRBs.
17. A base station, characterized in that, include: A first processor, a first memory, and a first communication bus; The first communication bus is used to establish a communication connection between the first processor and the first memory; The first processor is configured to execute one or more computer programs stored in the first memory to implement the data transmission method according to any one of claims 1-8.
18. A terminal, characterized in that, include: Second processor, second memory, and second communication bus; The second communication bus is used to establish a communication connection between the second processor and the second memory; The second processor is configured to execute one or more computer programs stored in the second memory to implement the data transmission method according to any one of claims 9-16.
19. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the data transmission method as described in any one of claims 1-16.
20. A computer program product, comprising a computer program, characterized in that, When the computer program is executed, it implements the data transmission method as described in any one of claims 1-16.