Data transmission method, device and terminal equipment in separate bearing mode

By reasonably allocating uplink data according to the data cache duration of the RLC entity in the split bearer mode, the problem of data transmission delay of the main RLC entity is solved, and the stability of data transmission and the throughput of the communication network are improved.

CN113507725BActive Publication Date: 2024-10-01GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202110795254.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-14
Publication Date
2024-10-01
Estimated Expiration
2041-07-14

AI Technical Summary

Technical Problem

In the split bearer mode, when the data buffering time of the primary RLC entity is long, the primary RLC entity has no time to transmit uplink data, and the data allocation is unreasonable, resulting in increased data transmission delay.

Method used

By obtaining the uplink data to be transmitted and the data cache duration of the RLC entity, the data is reasonably allocated to the primary RLC entity and secondary RLC entity associated with the PDCP entity, and the data allocation amount is determined based on the cache duration to ensure the timeliness and stability of data transmission.

Benefits of technology

The data transmission delay is reduced, the stability of data transmission and the data throughput of the communication network are improved, and transmission delays caused by unreasonable allocation of RLC entity data are avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113507725B_ABST
    Figure CN113507725B_ABST
Patent Text Reader

Abstract

The present application discloses a data transmission method, apparatus and terminal equipment in a separated bearer mode, belonging to the field of communication technology. The method comprises: obtaining uplink data to be transmitted; obtaining the data cache duration of the first RLC entity and the data cache duration of the second RLC entity; wherein the service cell corresponding to the first RLC entity and the service cell corresponding to the second RLC entity are in a primary-slave relationship; allocating and processing the uplink data based on the data cache duration of the first RLC entity and the data cache duration of the second RLC entity, and determining the data allocation amount of the first RLC entity and the data allocation amount of the second RLC entity. The technical solution provided in the embodiment of the present application realizes the reasonable allocation of uplink data by allocating uplink data to the first RLC entity and the second RLC entity based on the data cache duration in the separated bearer mode, thereby improving the stability of data transmission and the data throughput of the communication network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of communication technology, and in particular to a data transmission method, apparatus, and terminal equipment in a separate bearer mode. Background Art

[0002] With the development of communication technology, 5GS (5th Generation System) has introduced various bearer types, such as Split bearer, MCG (Master Cell Group) bearer, SCG (Secondary Cell Group) bearer, etc.

[0003] Take the data transmission on the UE (User Equipment) side in the separated bearer mode as an example. When the uplink data to be transmitted (such as the uplink data received by the PDCP (Packet Data Convergence Protocol) entity) exceeds the data separation threshold, the PDCP entity of the UE can choose to allocate the uplink data to the primary RLC (Radio Link Control) entity or the secondary RLC entity associated with the PDCP entity, and does not restrict the amount of data allocated by the PDCP entity to the primary RLC entity or the secondary RLC entity.

[0004] However, if the data buffering time of the primary RLC entity is long, and the primary RLC entity is allocated more uplink data, the primary RLC entity will not have enough time to transmit the uplink data, and the data allocation is not reasonable. Summary of the invention

[0005] The embodiment of the present application provides a data transmission method, apparatus and terminal device in a split bearer mode, which can reasonably allocate uplink data to an RLC entity associated with a PDCP entity, thereby reducing the delay of data transmission and improving the stability of data transmission, thereby improving the data throughput of the communication network. The technical solution is as follows:

[0006] According to one aspect of an embodiment of the present application, a data allocation method in a separate bearer mode is provided, the method comprising:

[0007] Obtain uplink data to be transmitted;

[0008] Acquire a data cache duration of a first radio link control RLC entity and a data cache duration of a second RLC entity; wherein the serving cell corresponding to the first RLC entity and the serving cell corresponding to the second RLC entity have a primary-slave relationship;

[0009] The uplink data is allocated based on the data buffering duration of the first RLC entity and the data buffering duration of the second RLC entity to determine the data allocation amount of the first RLC entity and the data allocation amount of the second RLC entity.

[0010] According to one aspect of an embodiment of the present application, a data distribution device in a separate bearer mode is provided, the device comprising:

[0011] An uplink data acquisition module, used to acquire uplink data to be transmitted;

[0012] A cache duration acquisition module, configured to acquire a data cache duration of a first radio link control RLC entity and a data cache duration of a second RLC entity; wherein the serving cell corresponding to the first RLC entity and the serving cell corresponding to the second RLC entity have a primary-slave relationship;

[0013] An allocation amount determination module is used to allocate the uplink data based on the data cache duration of the first RLC entity and the data cache duration of the second RLC entity, and determine the data allocation amount of the first RLC entity and the data allocation amount of the second RLC entity.

[0014] According to one aspect of an embodiment of the present application, a terminal device is provided, the terminal device comprising a processor and a memory, the memory storing a computer program, the computer program being executed by the processor to implement the data allocation method in the above-mentioned separate bearer mode.

[0015] According to one aspect of an embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is used to be executed by a processor to implement the data allocation method in the above-mentioned separate bearing mode.

[0016] According to one aspect of an embodiment of the present application, a chip is provided, which includes a programmable logic circuit and / or program instructions. When the chip is running, it is used to implement the data allocation method in the above-mentioned separate bearing mode.

[0017] According to one aspect of an embodiment of the present application, a computer program product or a computer program is provided, wherein the computer program product or the computer program includes computer instructions, wherein the computer instructions are stored in a computer-readable storage medium, and a processor reads and executes the computer instructions from the computer-readable storage medium to implement the data allocation method in the above-mentioned separate carrying mode.

[0018] The technical solution provided in the embodiments of the present application can bring the following beneficial effects:

[0019] By reasonably allocating uplink data to the first RLC entity and the second RLC entity based on the data cache duration of the first RLC entity and the second RLC entity in the separated bearer mode, reasonable allocation of uplink data is achieved, avoiding the problem in the related technology of not being able to transmit uplink data in time due to unreasonable data allocation to the RLC entity, thereby reducing the delay in data transmission.

[0020] In addition, the present application ensures data transmission efficiency by reasonably allocating uplink data and transmitting uplink data through RLC entities with better data transmission environment (such as shorter data cache time), thereby improving data transmission stability and further improving the data throughput of the communication network. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0022] Figure 1 is a schematic diagram of a network architecture provided by an embodiment of the present application;

[0023] Figure 2 and Figure 3 It is an architecture diagram of the terminal device side bearer mode provided in an embodiment of the present application;

[0024] Figure 4 is a flowchart of a data transmission method in a separate bearer mode provided by an embodiment of the present application;

[0025] Figure 5 and Figure 6 is a schematic diagram of data transmission on a terminal device side provided in an embodiment of the present application;

[0026] Figure 7 This is a flow chart of a data replication method based on data cache duration provided by an embodiment of the present application;

[0027] Figure 8 is a block diagram of a data transmission device in a separate bearer mode provided by an embodiment of the present application;

[0028] Fig. 9 is a block diagram of a data transmission device in a separate bearer mode provided by another embodiment of the present application;

[0029] Fig.10 It is a structural diagram of a terminal device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0030] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0031] The network architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. A person of ordinary skill in the art can appreciate that with the evolution of the network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0032] Please refer to Figure 1 , which shows a schematic diagram of a network architecture provided by an embodiment of the present application. The network architecture 100 may include: a terminal device 10, an access network device 20 and a core network device 30.

[0033] The terminal device 10 may refer to a UE, an access terminal, a user unit, a user station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a wireless communication device, a user agent or a user device. Optionally, the terminal device 10 may also be a cellular phone, a cordless phone, a SIP (Session Initiation Protocol) phone, a WLL (Wireless Local Loop) station, a PDA (Personal Digital Assistant), a handheld device with a wireless communication function, a computing device or other processing devices connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal device in a 5GS or a terminal device in a future evolved PLMN (Public Land Mobile Network), etc., and the embodiments of the present application are not limited here. For the convenience of description, the above-mentioned devices are collectively referred to as terminal devices. The number of terminal devices 10 is usually multiple, and one or more terminal devices 10 can be distributed in a cell managed by each access network device 20.

[0034] The access network device 20 is a device deployed in the access network to provide wireless communication functions for the terminal device 10. The access network device 20 may include various forms of macro base stations, micro base stations, relay stations, access points, etc. In systems using different wireless access technologies, the names of devices with access network device functions may be different. For example, in the 5GS NR (New Radio) system, it is called gNodeB (Next Generation Node B) or gNB; in the LTE (Long Term Evolution) system, it is called eNodeB (evolved Node B) or eNB.

[0035] For example, in an LTE system, the access network device 20 may be E-UTRA (Evolved Universal Terrestrial Radio Access) or one or more eNBs in E-UTRA; in an NR system, the access network device 20 may be RAN (Radio Access Network) or one or more gNBs in RAN. In the embodiments of the present application, the network device, unless otherwise specified, refers to the access network device 20.

[0036] As communication technology evolves, the name "access network device" may change. For ease of description, in the embodiments of the present application, the above-mentioned devices that provide wireless communication functions for the terminal device 10 are collectively referred to as access network devices. Optionally, a communication relationship can be established between the terminal device 10 and the core network device 30 through the access network device 20.

[0037] The function of the core network device 30 is mainly to provide user connection, user management and service bearing, and to provide an interface to the external network as a bearer network. For example, the core network equipment in the NR system may include devices such as AMF (Access and Mobility Management Function) entity, UPF (User Plane Function) entity and SMF (Session Management Function) entity.

[0038] The technical solution provided in the embodiment of the present application can be applicable to LTE systems, NR systems, and subsequent evolution systems of 5G NR systems.

[0039] In addition, in the embodiment of the present application, both the terminal device 10 and the access device 20 can support the MR-DC (Multi-Radio Dual Connectivity) architecture. For example, the terminal device 10 supports dual connections with the eNB and the gNB. The architecture includes two cell groups, one is the main cell group MCG (the main cell group is associated with the main node), and the other is the secondary cell group SCG (the secondary cell group is associated with the secondary node).

[0040] The wireless bearer of the terminal device 10 may include: MCG bearer, SCG bearer and Split bearer. The technical solution provided in this application may be applicable to data transmission under the Split bearer model. Optionally, the technical solution provided in this application may also be applicable to data transmission under the MCG bearer or SCG bearer mode.

[0041] For example, reference Figure 2 , which shows an architecture diagram of the terminal side bearer mode provided by an embodiment of the present application. The communication network is based on EPC (Evolved Packet Core) as the core network. The path corresponding to the main cell group bearer 201 (i.e., MCG Bearer) includes the PDCP entity corresponding to E-UTRA, the RLC entity corresponding to E-UTRA, and the MAC (Medium Access Control) entity corresponding to E-UTRA. The path corresponding to the secondary cell group bearer 203 (i.e., SCGBearer) includes the PDCP entity corresponding to NR, the RLC entity corresponding to NR, and the MAC entity corresponding to NR. The path corresponding to the split bearer 202 (i.e., Split Bearer) includes the PDCP entity corresponding to NR, the RLC entity corresponding to E-UTRA, the RLC entity corresponding to NR, the MAC entity corresponding to E-UTRA, and the MAC entity corresponding to NR.

[0042] For example, reference Figure 3 , which shows an architecture diagram of the terminal side bearer mode provided by another embodiment of the present application. The communication network is based on 5GC (5G CORE, 5G core network) as the core network. The path corresponding to the main cell group bearer 301 includes the PDCP entity corresponding to NR, the RLC entity corresponding to MN (Master Node) and the MAC entity corresponding to MN. The path corresponding to the secondary cell group bearer 303 includes the PDCP entity corresponding to NR, the RLC entity corresponding to SN (Secondary Node) and the MAC entity corresponding to SN. The path corresponding to the separated bearer 302 includes the PDCP entity corresponding to NR, the RLC entity corresponding to MN, the RLC entity corresponding to SN, the MAC entity corresponding to MN and the MAC entity corresponding to SN.

[0043] In an exemplary embodiment, reference Figure 3 In the split bearer mode 302, a PDCP entity corresponding to NR can be associated with two RLC entities: the RLC entity corresponding to MN and the RLC entity corresponding to SN. When the uplink data received by the PDCP entity reaches or exceeds the data separation threshold, the PDCP entity can allocate the uplink data to the RLC entity corresponding to MN and the RLC entity corresponding to SN based on their respective data cache durations, and then the RLC entity corresponding to MN transmits the allocated uplink data to the corresponding base station, and the RLC entity corresponding to SN transmits the allocated uplink data to the corresponding base station.

[0044] Please refer to Figure 4 , which shows a flow chart of a data transmission method in a separation mode provided by an embodiment of the present application. The execution subject of each step of the method may be a terminal device, such as the PDCP entity in the above-mentioned terminal device 10. The method may include the following steps (401-403):

[0045] Step 401: Acquire uplink data to be transmitted.

[0046] In the embodiment of the present application, uplink data refers to data transmitted from a terminal device to a base station. For example, data transmitted from a lower layer PDCP entity (terminal device side) to an upper layer PDCP entity (base station side). Optionally, the uplink data may be any data generated by a terminal device, such as data generated by an application installed in the terminal device (such as an instant conversation application, a video application, an information retrieval application, etc.).

[0047] In an example, after acquiring the uplink data, the transmission status of the first RLC entity and the transmission status of the second RLC entity may be determined respectively, and a preliminary judgment of the data allocation amount may be made based on the transmission status of the first RLC entity and the transmission status of the second RLC entity, and the specific content may be as follows:

[0048] 1. When the transmission state of the first RLC entity is a penalty state and the transmission state of the second RLC entity is a non-penalty state, the amount of uplink data is determined as the data allocation amount of the second RLC entity; wherein the penalty state is used to indicate that the RLC entity is not allocated data within a threshold time.

[0049] 2. When the transmission state of the first RLC entity is a non-penalty state and the transmission state of the second RLC entity is a penalty state, the data amount of the uplink data is determined as the data allocation amount of the first RLC entity.

[0050] 3. When the transmission state of the first RLC entity is a non-penalty state and the transmission state of the second RLC entity is a non-penalty state, perform the step of obtaining the data cache duration of the first RLC entity and the data cache duration of the second RLC entity (ie, step 402).

[0051] 4. When the transmission state of the first RLC entity is a penalty state and the transmission state of the second RLC entity is a penalty state, performing serving cell reselection processing on the first RLC entity and the second RLC entity respectively to reestablish a separate bearer.

[0052] Optionally, when the terminal device sets the transmission state of the RLC entity to the penalty state, it will set a penalty flag for the RLC entity, that is, if it is detected that the RLC entity is marked with a penalty flag, it can be determined that the transmission state of the RLC entity is the penalty state, and if it is detected that the RLC entity is not marked with a penalty flag, it can be determined that the transmission state of the RLC entity is the non-penalty state. When the RLC entity is in the penalty state, the RLC entity will not be allocated uplink data within the threshold time, and the RLC entity can be ignored within the threshold time, and the uplink data can be transmitted through other RLC entities.

[0053] Optionally, when the terminal device sets the transmission state of the RLC entity to the penalty state, it will start a penalty timer at the same time, and record the duration of the RLC entity in the penalty state through the penalty timer. If the duration recorded by the penalty timer exceeds the above threshold time, the penalty for the RLC entity can be lifted. The setting of the threshold time depends on the type of terminal device, the data transmission type corresponding to the uplink data, etc. Optionally, when the air interface signaling indicates the bearer reconstruction and release of the terminal device, the penalty for the RLC entity can also be directly lifted.

[0054] In an embodiment of the present application, if the data cache duration of the RLC entity is greater than a penalty threshold, the transmission state of the RLC entity can be directly set to a penalty state. The penalty threshold is related to the data cache duration, and it can be adaptively set and adjusted according to actual needs to avoid long-term caching of uplink data. Exemplarily, assuming that the penalty threshold is set to A, if the data cache duration of the RLC entity is greater than A, the transmission state of the RLC entity can be directly set to a penalty state. Optionally, when the RLC entity is released from the penalty, if the data cache duration of the RLC entity is still greater than or equal to the penalty threshold, the transmission state of the RLC entity is set to the penalty state again. If the data cache duration of the RLC entity is less than the penalty threshold, uplink data can be allocated to the RLC entity.

[0055] Optionally, if the transmission status of the first RLC entity is a penalty state, and the transmission status of the second RLC entity is also a penalty state, it indicates that the transmission environment of the channel where the first RLC entity is located and the channel where the second RLC entity is located are both very poor and insufficient to support the timely transmission of uplink data. In this case, the service cell can be reselected in the hope of obtaining a better service cell, thereby improving the transmission environment of the channel where the first RLC entity is located and the channel where the second RLC entity is located.

[0056] Optionally, the data allocation amount refers to the data amount corresponding to the uplink data allocated to the RLC entity. For example, if the PDCP entity has 100 packets of uplink data, 60 packets of uplink data are allocated to the first RLC entity and 40 packets of uplink data are allocated to the second RLC entity, then 60 packets are the data allocation amount for the first RLC entity and 40 packets are the data allocation amount for the second RLC entity.

[0057] Step 402, obtaining the data cache duration of the first RLC entity and the data cache duration of the second RLC entity; wherein the serving cell corresponding to the first RLC entity and the serving cell corresponding to the second RLC entity are in a primary-slave relationship.

[0058] The data cache duration refers to the cache duration of uplink data in the channel where the RLC entity is located, and each uplink data corresponds to a data cache duration. Optionally, the present application determines the difference between the timestamp corresponding to the uplink data with the smallest timestamp in the channel where the RLC entity is located and the current server time as the data cache duration of the RLC entity.

[0059] Exemplarily, when the PDCP entity allocates uplink data, whether it is allocated to the first RLC entity or the second RLC entity, the data packets are timestamped one by one to facilitate the calculation of the cache duration of each data packet. Assuming that the data cache duration of the RLC entity needs to be obtained at the first moment, the timestamp corresponding to the uplink data with the smallest timestamp cached in the channel where the RLC entity is located is determined as the target timestamp, and the difference between the target timestamp and the first moment is determined as the data cache duration of the RLC entity. Optionally, the average value of the cache duration corresponding to each data packet (i.e., the difference between the corresponding timestamp and the current server time) can also be determined as the data cache duration of the RLC entity, and the implementation of this application is not limited here.

[0060] A service cell refers to an area covered by a base station or a part of a base station (such as a sector antenna), and a terminal device can obtain services (such as communication) in the service cell. A service cell corresponding to an RLC entity refers to a service cell to which the RLC entity is connected.

[0061] In one example, after obtaining the data buffering duration corresponding to the first RLC entity and the data buffering duration corresponding to the second RLC entity, a pre-judgment process may be performed on the data allocation amount, and the specific content may be as follows:

[0062] 1. When the data cache duration of the first RLC entity is less than the penalty threshold and the data cache duration of the second RLC entity is greater than the penalty threshold, the data amount of the uplink data is determined as the data allocation amount of the first RLC entity.

[0063] 2. When the data cache duration of the first RLC entity is greater than the penalty threshold and the data cache duration of the second RLC entity is less than the penalty threshold, the amount of uplink data is determined as the data allocation amount of the second RLC entity.

[0064] 3. When the data cache duration of the first RLC entity is less than the penalty threshold, and the data cache duration of the second RLC entity is less than the penalty threshold, perform steps of allocating uplink data based on the data cache duration of the first RLC entity and the data cache duration of the second RLC entity, and determine the data allocation amount of the first RLC entity and the data allocation amount of the second RLC entity.

[0065] 4. When the data cache time length of the first RLC entity is greater than the penalty threshold and the data cache time length of the second RLC entity is greater than the penalty threshold, perform serving cell reselection processing on the first RLC entity and the second RLC entity respectively to reestablish the separated bearer.

[0066] Optionally, if the data cache duration of the first RLC entity is greater than the penalty threshold, the transmission state of the first RLC entity may be set to a penalty state, that is, uplink data is not allocated to the first RLC entity within the threshold time. In this case, if the data cache duration of the second RLC entity is less than the penalty threshold, the uplink data may be directly allocated to the second RLC entity.

[0067] Step 403: performing allocation processing on uplink data based on the data buffering duration of the first RLC entity and the data buffering duration of the second RLC entity, and determining the data allocation amount of the first RLC entity and the data allocation amount of the second RLC entity.

[0068] In one example, the specific method for determining the data allocation amount can be as follows: if the data cache duration of the first RLC entity is greater than the data cache duration of the second RLC entity, the data amount of the uplink data is determined as the data allocation amount of the second RLC entity; if the data cache duration of the first RLC entity is less than the data cache duration of the second RLC entity, the data amount of the uplink data is determined as the data allocation amount of the first RLC entity.

[0069] If the data cache duration of the first RLC entity is smaller than the data cache duration of the second RLC entity, it indicates that the network environment of the channel where the first RLC entity is located is better than the network environment of the channel where the second RLC entity is located; if the data cache duration of the first RLC entity is larger than the data cache duration of the second RLC entity, it indicates that the network environment of the channel where the second RLC entity is located is better than the network environment of the channel where the first RLC entity is located. Transmission of uplink data through the RLC entity with a better network environment can ensure the timeliness of uplink data transmission.

[0070] Optionally, the case where the data cache duration of the first RLC entity is equal to the data cache duration of the second RLC entity can be classified as the case where the data cache duration of the first RLC entity is smaller than the data cache duration of the second RLC entity, and the case where the data cache duration of the first RLC entity is equal to the data cache duration of the second RLC entity can be classified as the case where the data cache duration of the first RLC entity is greater than the corresponding data cache duration of the second RLC entity.

[0071] In another example, the specific method for determining the data allocation amount can also be as follows: when the service cell corresponding to the first RLC entity is the primary service cell and the service cell corresponding to the second RLC entity is the secondary service cell, the network delay of the second RLC entity is obtained, and the network delay refers to the network delay between the base station corresponding to the secondary service cell and the core network; if the data cache duration of the first RLC entity is greater than the first sum value, the data amount of the uplink data is determined as the data allocation amount of the second RLC entity; wherein the first sum value refers to the sum of the data cache duration of the second RLC entity and the network delay of the second RLC entity; if the data cache duration of the first RLC entity is less than the first sum value, the data amount of the uplink data is determined as the data allocation amount of the first RLC entity.

[0072] Optionally, the case where the data cache duration of the first RLC entity is equal to the first sum value can be classified into the case where the data cache duration of the first RLC entity is less than the first sum value, and the case where the data cache duration of the first RLC entity is equal to the first sum value can also be classified into the case where the data cache duration of the first RLC entity is greater than the first sum value.

[0073] The embodiment of the present application takes into account the influence of the primary and secondary service cells. The data transmission time (i.e., network delay) from the base station corresponding to the secondary service cell to the core network is longer than that from the base station corresponding to the primary service cell to the core network. According to empirical values, the network delay can be 0 to 5 milliseconds. By considering the influence of the primary and secondary service cells, the transmission process of uplink data can be more realistically reflected, so that the uplink data can be accurately allocated.

[0074] Optionally, after determining the data allocation amount, if the cached data of the target RLC entity reaches the cache upper limit value, data allocation to the target RLC entity is suspended, and the target RLC entity is the first RLC entity and / or the second RLC entity; if the cached data of the target RLC entity is less than the cache upper limit value, data is allocated to the target RLC entity according to the data allocation amount of the target RLC entity.

[0075] In an exemplary embodiment, reference Figure 5 , the PDCP entity 501 obtains the uplink data and stores it in the RB (Radio Bearer) data queue. In the case of receiving a data transmission request sent by the upper layer, the data allocation amount of the first RLC entity and the second RLC entity is determined. The specific method is as follows: obtain the data cache duration of the first RLC entity and the data cache duration of the second RLC entity. If the data cache duration of the first RLC entity is less than the data cache duration of the second RLC entity, the uplink data is allocated to the first RLC entity; if the data cache duration of the first RLC entity is greater than or equal to the data cache duration of the second RLC entity, the uplink data is allocated to the second RLC entity. After determining the data allocation amount of the RLC entity, the PDCP entity 501 reads the uplink data in the RB data queue, and performs related processing such as security and encryption on the uplink data, and then allocates the processed uplink data to the corresponding RLC entity based on the data allocation amount of the RLC entity, and the RLC entity stores the processed uplink data in the data queue. In the case where the RLC entity (or MAC entity) receives the uplink authorization information, the RLC entity transmits the uplink data. Among them, the PHY (Physical Layer) entity is used to receive uplink authorization information from the base station and send the uplink authorization information to the MAC entity. Optionally, in an embodiment of the present application, the terminal device uses a preprocessing method, that is, the PDCP entity and the RLC entity pre-pack the uplink data. Uplink authorization information refers to control information used to notify the terminal device that data transmission can be performed, which includes authorization information given by the base station to the terminal device for wireless transmission resources that can be used for data uplink.

[0076] Optionally, refer to Figure 6, the terminal device may also not use the preprocessing method, that is, after the PHY entity receives the uplink authorization information, it transmits it to the MAC entity, the MAC entity transmits it to the RLC entity, and the RLC entity finally transmits it to the PDCP entity 601. After receiving the uplink authorization information, the PDCP entity 601 performs uplink data allocation processing based on the data cache duration. Optionally, after the PDCP entity 601 receives the uplink authorization information, the PDCP entity 601 can check the signal quality of the path corresponding to the RLC entity. If the signal quality meets the strength for successfully transmitting the uplink data, the uplink data can be allocated to the RLC entity, otherwise it will not be allocated. This can reduce the number of data transmission failures, as well as reduce the occurrence of problems such as data accumulation and SN (Serial Number) disorder corresponding to the PDCP.

[0077] In one example, when the data transmission network is unstable, obtaining the data buffering duration of the first RLC entity and the data buffering duration of the second RLC entity in each transmission time interval TTI;

[0078] In the case where the data cache duration of the first RLC entity is greater than the first threshold value, and the data cache duration of the second RLC entity is less than the first threshold value, if the retransmission parameter corresponding to the uplink data is the first threshold value, the timeout cache data of the first RLC entity is copied to the second RLC entity; if the retransmission parameter corresponding to the uplink data is the second threshold value, the timeout cache data of the first RLC entity is discarded; wherein the timeout cache data refers to the cache data whose cache time exceeds the first threshold value, and the first threshold value and the retransmission parameter are determined by the data transmission type corresponding to the uplink data;

[0079] When the data cache duration of the first RLC entity is less than the first threshold value and the data cache duration of the second RLC entity is greater than the first threshold value, if the retransmission parameter corresponding to the uplink data is the first threshold value, the timeout cache data of the second RLC entity is copied to the first RLC entity; if the retransmission parameter corresponding to the uplink data is the second threshold value, the timeout cache data of the second RLC entity is discarded.

[0080] In the case where the signal strength of the serving cell of the RLC entity fluctuates greatly, the uplink data is not sent out due to the serving cell switching, etc., the data transmission network can be determined to be unstable. Exemplarily, in this case, there is a certain probability that a small amount of data will be cached for a long time in the channel where the RLC entity is located, so a first threshold value for the data cache duration can be set. If the data cache duration is greater than the first threshold value, the data transmission network can be determined to be unstable.

[0081] Optionally, the method for setting the first threshold value may be as follows: if the data transmission type corresponding to the uplink data is highly real-time (such as long-term evolution voice bearer, real-time game, etc.), the first threshold value may be set smaller; if the data transmission type corresponding to the uplink data is generally real-time (such as file transfer protocol upload, web page access, etc.), the first threshold value may be set larger, and the embodiments of the present application are not limited here. Optionally, the first threshold value may also be set according to factors such as the type of terminal device and whether the base station has corresponding configuration. For example, taking TCP (Transmission Control Protocol) data as an example, the first threshold value should not be higher than the maximum retransmission time of TCP data.

[0082] Optionally, the retransmission parameter setting method can be as follows: if the data transmission type corresponding to the uplink data is highly real-time, the timeout cache data will no longer be needed and can be discarded directly, then the retransmission parameter can be set to 0 (indicating that the data can be discarded); if the data transmission type corresponding to the uplink data is general real-time, the timeout cache data needs to be retransmitted, then the retransmission parameter can be set to 1 (indicating that the data needs to be retransmitted).

[0083] For example, reference Figure 7 , based on the transmission type of uplink data, determine the first threshold value and retransmission parameter, within each TTI (Transmission Time Interval, transmission time interval), the PDCP entity checks the data cache duration of the first RLC entity and the second RLC entity, if the data cache duration of the first RLC entity and the data cache duration of the second RLC entity do not exceed the first threshold value, wait for the next TTI, and continue to check the data cache duration of the first RLC entity and the second RLC entity in the next TTI; if the data cache duration of the first RLC entity and the data cache duration of the second RLC entity both exceed the first threshold value, wait for the first RLC entity and the second RLC entity to transmit respectively; if one of the data cache duration of the first RLC entity and the data cache duration of the second RLC entity exceeds the first threshold value, when the retransmission parameter is equal to 0, discard the timeout cache data in the RLC entity that exceeds the first threshold value, and when the retransmission parameter is equal to 1, copy the timeout cache data in the RLC entity that exceeds the first threshold value to the RLC entity that does not exceed the first threshold value.

[0084] To sum up, the technical solution provided in the embodiment of the present application realizes reasonable allocation of uplink data by reasonably allocating uplink data to the first RLC entity and the second RLC entity based on the data cache duration of the first RLC entity and the second RLC entity in a separated bearer mode, thereby avoiding the problem in the related technology of not being able to transmit uplink data in time due to unreasonable data allocation to the RLC entity, thereby reducing the delay of data transmission.

[0085] In addition, the present application ensures data transmission efficiency by reasonably allocating uplink data and transmitting uplink data through RLC entities with better data transmission environment (such as shorter data cache time), thereby improving data transmission stability and further improving the data throughput of the communication network.

[0086] In addition, by setting the first threshold value and the retransmission parameter to adjust the timeout buffer data in the RLC entity when the data transmission network is unstable, long-term buffering of uplink data is avoided, and the data transmission delay is further reduced.

[0087] In addition, by considering the impact of the primary and secondary service cells and adding the network delay between the secondary service cell and the core network, the transmission process of the uplink data can be more realistically reflected, so that the uplink data can be allocated more accurately.

[0088] In an exemplary embodiment, the data allocation amount may be determined based on the ratio between the data cache durations. The following description will be given by taking the serving cell corresponding to the first RLC entity as the primary serving cell and the serving cell corresponding to the second RLC entity as the secondary serving cell as an example. The specific content may be as follows:

[0089] 1. Get the uplink data to be transmitted.

[0090] 2. Obtain the data cache duration of the first RLC entity and the data cache duration of the second RLC entity; wherein the serving cell corresponding to the first RLC entity and the serving cell corresponding to the second RLC entity are in a primary-slave relationship.

[0091] Optionally, the contents of 1 and 2 are the same as those described in the above embodiment and are not repeated here.

[0092] 3. Obtain the network delay of the second RLC entity, where the network delay refers to the network delay between the base station corresponding to the secondary service cell and the core network.

[0093] 4. Add the data cache duration of the first RLC entity and the first sum value to obtain a second sum value; wherein the first sum value refers to the sum of the data cache duration of the second RLC entity and the network delay of the second RLC entity.

[0094] 5. Determine a first proportion based on the data cache duration of the first RLC entity and the second sum value, and determine a second proportion based on the first sum value and the second sum value.

[0095] Optionally, the ratio between the data cache duration of the first RLC entity and the second sum value is determined as a first ratio, and the ratio between the first sum value and the second sum value corresponding to the second RLC entity is determined as a second ratio.

[0096] 6. The product of the first proportion and the uplink data is determined as the data allocation amount of the second RLC entity, and the product of the second proportion and the uplink data is determined as the data allocation amount of the first RLC entity.

[0097] Optionally, by allocating less uplink data to an RLC entity with a longer data cache duration and allocating more uplink data to an RLC entity with a shorter data cache duration, the delay of data transmission can be reduced and the efficiency of data transmission can be improved.

[0098] In an exemplary embodiment, the data cache duration of the first RLC entity and the data cache duration of the second RLC entity are counted respectively and sent to the PDCP entity, the PDCP entity calculates the allocation ratio of the data cache duration of the first RLC entity and the data cache duration of the second RLC entity to obtain the allocation ratio between the first RLC entity and the second RLC entity, and then determines the data allocation amount of the first RLC entity and the data allocation amount of the second RLC entity based on the allocation ratio. Exemplarily, the allocation ratio between the first RLC entity and the second RLC entity is A:B, then the data allocation amount of the first RLC entity is B / (A+B) of the data amount of the uplink data, and the data allocation amount of the second RLC entity is A / (A+B) of the data amount of the uplink data.

[0099] Optionally, the allocation ratio may refer to the ratio of PDUs (Protocol Data Units) corresponding to the PDCP entities, or may refer to the ratio of data lengths, which is not limited in the embodiments of the present application.

[0100] To sum up, the technical solution provided in the embodiment of the present application realizes reasonable allocation of uplink data by reasonably allocating uplink data to the first RLC entity and the second RLC entity based on the data cache duration of the first RLC entity and the second RLC entity in a separated bearer mode, thereby avoiding the problem in the related technology of not being able to transmit uplink data in time due to unreasonable data allocation to the RLC entity, thereby reducing the delay of data transmission.

[0101] In addition, the present application ensures data transmission efficiency by reasonably allocating uplink data and transmitting uplink data through RLC entities with better data transmission environment (such as shorter data cache time), thereby improving data transmission stability and further improving the data throughput of the communication network.

[0102] In an exemplary embodiment, the data allocation amount may be determined based on a data allocation coefficient corresponding to the data cache duration. The following description will be given by taking the serving cell corresponding to the first RLC entity as the primary serving cell and the serving cell corresponding to the second RLC entity as the secondary serving cell as an example. The specific contents may be as follows:

[0103] 1. Get the uplink data to be transmitted.

[0104] 2. Obtain the data cache duration of the first RLC entity and the data cache duration of the second RLC entity; wherein the serving cell corresponding to the first RLC entity and the serving cell corresponding to the second RLC entity are in a primary-slave relationship.

[0105] Optionally, the contents of 1 and 2 are the same as those described in the above embodiment and are not repeated here.

[0106] 3. Obtain the network delay of the second RLC entity, where the network delay refers to the network delay between the base station corresponding to the secondary service cell and the core network.

[0107] 4. Determine a data allocation coefficient of the first RLC entity based on the data cache duration of the first RLC entity, and determine a data allocation coefficient of the second RLC entity based on the sum of the data cache duration of the second RLC entity and the network delay of the second RLC entity.

[0108] Optionally, the data allocation coefficient and the data allocation cardinality described below are used to determine the expected data allocation amount of the RLC entity. The relationship between the data allocation coefficient and the data buffering duration can be adaptively set and adjusted according to actual application conditions.

[0109] Exemplarily, if the data cache duration (or the sum of the data cache duration and the network delay) is greater than or equal to A (i.e., the penalty threshold above), the data allocation coefficient of the RLC entity is 0 (entering a penalty state); if the data cache duration (or the sum of the data cache duration and the network delay) is greater than or equal to B and less than A, the data allocation coefficient of the RLC entity is 0.2; if the data cache duration (or the sum of the data cache duration and the network delay) is greater than or equal to C and less than B, the data allocation coefficient of the RLC entity is 0.4; if the data cache duration (or the sum of the data cache duration and the network delay) is greater than or equal to D and less than C, the data allocation coefficient of the RLC entity is 0.6; if the data cache duration (or the sum of the data cache duration and the network delay) is greater than or equal to E and less than D, the data allocation coefficient of the RLC entity is 0.8; if the data cache duration (or the sum of the data cache duration and the network delay) is less than E, the data allocation coefficient of the RLC entity is 1. Among them, A, B, C, D and E are arranged in descending order, and their specific values ​​can be set according to experience.

[0110] The data allocation coefficient of the RLC entity can be determined based on the range of the data cache duration of the RLC entity, or based on the range of the sum of the data cache duration of the RLC entity and the network delay.

[0111] 5. Obtain a data allocation basis of the first RLC entity and a data allocation basis of the second RLC entity.

[0112] Optionally, the data allocation cardinality may be determined based on the type of the serving cell. For example, the data allocation cardinality of the RLC entity corresponding to the primary serving cell is greater than the data allocation cardinality of the RLC entity corresponding to the secondary serving cell.

[0113] 6. Determine the expected data allocation amount of the first RLC entity based on the data allocation cardinality of the first RLC entity and the data allocation coefficient of the first RLC entity, and determine the expected data allocation amount of the second RLC entity based on the data allocation cardinality of the second RLC entity and the data allocation coefficient of the second RLC entity.

[0114] Optionally, the data allocation cardinality of the first RLC entity and its corresponding data allocation coefficient are multiplied to obtain the expected data allocation amount of the first RLC entity. The data allocation cardinality of the second RLC entity and its corresponding data allocation coefficient are multiplied to obtain the expected data allocation amount of the second RLC entity.

[0115] 7. When the data cache duration of the first RLC entity is less than or equal to the sum of the data cache duration of the second RLC entity and the network delay of the second RLC entity, the method for determining the data allocation amount of the first RLC entity may be as follows: if the expected data allocation amount of the first RLC entity is greater than the data amount of uplink data, the data amount of the uplink data is determined as the data allocation amount of the first RLC entity; if the expected data allocation amount of the first RLC entity is less than the data amount of the uplink data, the expected data allocation amount of the first RLC entity is determined as the data allocation amount of the first RLC entity.

[0116] The method for determining the data allocation amount of the second RLC entity may be as follows: if the expected data allocation amount of the second RLC entity is greater than the difference between the data amount of the uplink data and the data allocation amount of the first RLC entity, then the difference between the data amount of the uplink data and the data allocation amount of the first RLC entity is determined as the data allocation amount of the second RLC entity; if the expected data allocation amount of the second RLC entity is less than the difference between the data amount of the uplink data and the data allocation amount of the first RLC entity, then the expected data allocation amount of the second RLC entity is determined as the data allocation amount of the second RLC entity.

[0117] Optionally, when the data cache duration of the first RLC entity is greater than the sum of the data cache duration of the second RLC entity and the network delay of the second RLC entity, the data allocation amount of the second RLC entity and the data allocation amount of the first RLC entity are determined in sequence using the same method. The embodiment of the present application ensures the timeliness of data transmission by giving priority to ensuring the data allocation amount of the RLC entity with a smaller data cache duration.

[0118] Optionally, the case where the expected data allocation amount of the first RLC entity is equal to the data amount of the uplink data can be classified into the case where the expected data allocation amount of the first RLC entity is less than the data amount of the uplink data, and the case where the expected data allocation amount of the first RLC entity is equal to the data amount of the uplink data can be classified into the case where the expected data allocation amount of the first RLC entity is greater than the data amount of the uplink data; the case where the expected data allocation amount of the second RLC entity is equal to the difference between the data allocation amount of the first RLC entity and the data amount of the uplink data can be classified into the case where the expected data allocation amount of the second RLC entity is less than the difference between the data allocation amount of the first RLC entity and the data amount of the uplink data, and the case where the expected data allocation amount of the second RLC entity is equal to the difference between the data allocation amount of the first RLC entity and the data amount of the uplink data can be classified into the case where the expected data allocation amount of the second RLC entity is greater than the difference between the data allocation amount of the first RLC entity and the data amount of the uplink data.

[0119] To sum up, the technical solution provided in the embodiment of the present application realizes reasonable allocation of uplink data by reasonably allocating uplink data to the first RLC entity and the second RLC entity based on the data cache duration of the first RLC entity and the second RLC entity in a separated bearer mode, thereby avoiding the problem in the related technology of not being able to transmit uplink data in time due to unreasonable data allocation to the RLC entity, thereby reducing the delay of data transmission.

[0120] In addition, the present application ensures data transmission efficiency by reasonably allocating uplink data and transmitting uplink data through RLC entities with better data transmission environment (such as shorter data cache time), thereby improving data transmission stability and further improving the data throughput of the communication network.

[0121] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0122] Please refer to Figure 8 , which shows a block diagram of a data transmission device in a separation mode provided by an embodiment of the present application. The device has the function of implementing the above-mentioned data transmission method example in the separation mode, and the function can be implemented by hardware, or by hardware executing corresponding software. The device can be a terminal device, or it can be set in a terminal device. The device 800 may include: an uplink data acquisition module 801, a cache duration acquisition module 802, and an allocation amount determination module 803.

[0123] The uplink data acquisition module 801 is used to acquire uplink data to be transmitted.

[0124] The cache duration acquisition module 802 is used to obtain the data cache duration of the first radio link control RLC entity and the data cache duration of the second RLC entity; wherein the service cell corresponding to the first RLC entity and the service cell corresponding to the second RLC entity are in a primary-slave relationship.

[0125] The allocation amount determination module 803 is used to allocate the uplink data based on the data cache duration of the first RLC entity and the data cache duration of the second RLC entity, and determine the data allocation amount of the first RLC entity and the data allocation amount of the second RLC entity.

[0126] In an exemplary embodiment, the allocation amount determination module 803 is used to:

[0127] If the data buffering duration of the first RLC entity is greater than the data buffering duration of the second RLC entity, determining the data amount of the uplink data as the data allocation amount of the second RLC entity;

[0128] If the data cache duration of the first RLC entity is shorter than the data cache duration of the second RLC entity, the data amount of the uplink data is determined as the data allocation amount of the first RLC entity.

[0129] In an exemplary embodiment, the allocation amount determination module 803 is further configured to:

[0130] When the serving cell corresponding to the first RLC entity is a primary serving cell and the serving cell corresponding to the second RLC entity is a secondary serving cell, obtaining a network delay of the second RLC entity, where the network delay refers to a network delay between a base station corresponding to the secondary serving cell and a core network;

[0131] If the data cache duration of the first RLC entity is greater than the first sum value, the data amount of the uplink data is determined as the data allocation amount of the second RLC entity; wherein the first sum value refers to the sum of the data cache duration of the second RLC entity and the network delay of the second RLC entity;

[0132] If the data cache duration of the first RLC entity is less than the first sum value, the data amount of the uplink data is determined as the data allocation amount of the first RLC entity.

[0133] In an exemplary embodiment, the allocation amount determination module 803 is further configured to:

[0134] When the serving cell corresponding to the first RLC entity is a primary serving cell and the serving cell corresponding to the second RLC entity is a secondary serving cell, obtaining a network delay of the second RLC entity, where the network delay refers to a network delay between a base station corresponding to the secondary serving cell and a core network;

[0135] Adding the data cache duration of the first RLC entity and the first sum value to obtain a second sum value; wherein the first sum value refers to the sum of the data cache duration of the second RLC entity and the network delay of the second RLC entity;

[0136] Determine a first proportion based on the data cache duration of the first RLC entity and the second sum value, and determine a second proportion based on the first sum value and the second sum value;

[0137] The product of the first proportion and the uplink data is determined as the data allocation amount of the second RLC entity, and the product of the second proportion and the uplink data is determined as the data allocation amount of the first RLC entity.

[0138] In an exemplary embodiment, the allocation amount determination module 803 is further configured to:

[0139] When the serving cell corresponding to the first RLC entity is a primary serving cell and the serving cell corresponding to the second RLC entity is a secondary serving cell, obtaining a network delay of the second RLC entity, where the network delay refers to a network delay between a base station corresponding to the secondary serving cell and a core network;

[0140] Determine a data allocation coefficient of the first RLC entity based on a data cache duration of the first RLC entity, and determine a data allocation coefficient of the second RLC entity based on a sum of a data cache duration of the second RLC entity and a network delay of the second RLC entity;

[0141] Acquire a data allocation basis of the first RLC entity and a data allocation basis of the second RLC entity;

[0142] determining an expected data allocation amount of the first RLC entity based on a data allocation cardinality of the first RLC entity and a data allocation coefficient of the first RLC entity, and determining an expected data allocation amount of the second RLC entity based on a data allocation cardinality of the second RLC entity and a data allocation coefficient of the second RLC entity;

[0143] Determining a data allocation amount for the first RLC entity based on an expected data allocation amount for the first RLC entity and a data amount of the uplink data;

[0144] The data allocation amount of the second RLC entity is determined based on the expected data allocation amount of the second RLC entity, the data allocation amount of the first RLC entity and the data amount of the uplink data.

[0145] In an exemplary embodiment, Fig. 9 As shown, the device 800 also includes: an uplink data allocation module 804.

[0146] The uplink data allocation module 804 is configured to suspend allocating data to the target RLC entity if the cached data of the target RLC entity reaches a cache upper limit value, and the target RLC entity is the first RLC entity and / or the second RLC entity.

[0147] The uplink data allocation module 804 is further configured to allocate data to the target RLC entity according to the data allocation amount of the target RLC entity if the cache data of the target RLC entity is less than the cache upper limit.

[0148] In an exemplary embodiment, the allocation amount determination module 803 is further configured to:

[0149] When the data buffering time length of the first RLC entity is less than a penalty threshold and the data buffering time length of the second RLC entity is greater than the penalty threshold, determining the data amount of the uplink data as the data allocation amount of the first RLC entity;

[0150] Alternatively, when the data cache duration of the first RLC entity is greater than the penalty threshold and the data cache duration of the second RLC entity is less than the penalty threshold, determining the data amount of the uplink data as the data allocation amount of the second RLC entity;

[0151] Alternatively, when the data cache duration of the first RLC entity is less than the penalty threshold, and the data cache duration of the second RLC entity is less than the penalty threshold, performing the step of allocating the uplink data based on the data cache duration of the first RLC entity and the data cache duration of the second RLC entity to determine the data allocation amount of the first RLC entity and the data allocation amount of the second RLC entity;

[0152] Alternatively, when the data cache time length of the first RLC entity is greater than the penalty threshold and the data cache time length of the second RLC entity is greater than the penalty threshold, service cell reselection processing is performed on the first RLC entity and the second RLC entity respectively to reconstruct the separated bearer.

[0153] In an exemplary embodiment, the allocation amount determination module 803 is further configured to:

[0154] respectively determining a transmission state of the first RLC entity and a transmission state of the second RLC entity;

[0155] When the transmission state of the first RLC entity is a penalty state and the transmission state of the second RLC entity is a non-penalty state, the data amount of the uplink data is determined as the data allocation amount of the second RLC entity; wherein the penalty state is used to indicate that the RLC entity is not allocated data within a threshold time;

[0156] Alternatively, when the transmission state of the first RLC entity is the non-penalty state and the transmission state of the second RLC entity is the penalty state, determining the data amount of the uplink data as the data allocation amount of the first RLC entity;

[0157] Alternatively, when the transmission state of the first RLC entity is the non-penalty state and the transmission state of the second RLC entity is the non-penalty state, performing the step of acquiring the data cache duration of the first RLC entity and the data cache duration of the second RLC entity;

[0158] Alternatively, when the transmission state of the first RLC entity is the penalty state and the transmission state of the second RLC entity is the penalty state, service cell reselection processing is performed on the first RLC entity and the second RLC entity respectively to reconstruct the separate bearer.

[0159] In an exemplary embodiment, Fig. 9 As shown, the device 800 also includes: a timeout data processing module 805.

[0160] The cache duration acquisition module 802 is further configured to acquire the data cache duration of the first RLC entity and the data cache duration of the second RLC entity in each transmission time interval TTI when the data transmission network is unstable.

[0161] The timeout data processing module 805 is used to copy the timeout cache data of the first RLC entity to the second RLC entity if the data cache duration of the first RLC entity is greater than the first threshold value and the data cache duration of the second RLC entity is less than the first threshold value if the retransmission parameter corresponding to the uplink data is the first threshold value; and discard the timeout cache data of the first RLC entity if the retransmission parameter corresponding to the uplink data is the second threshold value; wherein the timeout cache data refers to cache data whose cache time exceeds the first threshold value, and the first threshold value and the retransmission parameter are determined by the data transmission type corresponding to the uplink data.

[0162] The timeout data processing module 805 is also used to copy the timeout cache data of the second RLC entity to the first RLC entity if the data cache duration of the first RLC entity is less than the first threshold value and the data cache duration of the second RLC entity is greater than the first threshold value if the retransmission parameter corresponding to the uplink data is the first threshold value; and discard the timeout cache data of the second RLC entity if the retransmission parameter corresponding to the uplink data is the second threshold value.

[0163] To sum up, the technical solution provided in the embodiment of the present application realizes reasonable allocation of uplink data by reasonably allocating uplink data to the first RLC entity and the second RLC entity based on the data cache duration of the first RLC entity and the second RLC entity in a separated bearer mode, thereby avoiding the problem in the related technology of not being able to transmit uplink data in time due to unreasonable data allocation to the RLC entity, thereby reducing the delay of data transmission.

[0164] In addition, the present application ensures data transmission efficiency by reasonably allocating uplink data and transmitting uplink data through RLC entities with better data transmission environment (such as shorter data cache time), thereby improving data transmission stability and further improving the data throughput of the communication network.

[0165] It should be noted that the device provided in the above embodiment only uses the division of the above functional modules as an example to implement its functions. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and their specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0166] Please refer to Fig.10 , which shows a schematic diagram of the structure of a terminal device 1000 provided in an embodiment of the present application. For example, the terminal device can be used to execute the data transmission method in the above-mentioned separate bearer mode. Specifically: the terminal device 1000 may include: a processor 1001, a receiver 1002, a transmitter 1003, a memory 1004 and a bus 1005.

[0167] The processor 1001 includes one or more processing cores. The processor 1001 executes various functional applications and information processing by running software programs and modules.

[0168] The receiver 1002 and the transmitter 1003 may be implemented as a transceiver 1006 , which may be a communication chip.

[0169] The memory 1004 is connected to the processor 1001 via a bus 1005 .

[0170] The memory 1004 may be used to store a computer program, and the processor 1001 may be used to execute the computer program to implement each step performed by the terminal device in the above method embodiment.

[0171] In addition, the memory 1004 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, including but not limited to: RAM (Random-Access Memory) and ROM (Read-Only Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory or other solid-state storage technology, CD-ROM (Compact Disc Read-Only Memory), DVD (Digital Video Disc) or other optical storage, tape cassette, magnetic tape, disk storage or other magnetic storage devices. Among them:

[0172] The processor 1001 is configured to obtain uplink data to be transmitted;

[0173] Acquire a data cache duration of a first radio link control RLC entity and a data cache duration of a second RLC entity; wherein the serving cell corresponding to the first RLC entity and the serving cell corresponding to the second RLC entity have a primary-slave relationship;

[0174] The uplink data is allocated based on the data buffering duration of the first RLC entity and the data buffering duration of the second RLC entity to determine the data allocation amount of the first RLC entity and the data allocation amount of the second RLC entity.

[0175] For details not described in detail in this embodiment, please refer to the introduction in the above embodiment, which will not be repeated here.

[0176] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. The computer program is used to be executed by a processor of a terminal device to implement the above-mentioned data transmission method in the separate bearer mode.

[0177] Optionally, the computer readable storage medium may include: ROM (Read-Only Memory), RAM (Random-Access Memory), SSD (Solid State Drives) or optical disks, etc. Among them, the random access memory may include ReRAM (Resistance Random Access Memory) and DRAM (Dynamic Random Access Memory).

[0178] An embodiment of the present application also provides a chip, which includes a programmable logic circuit and / or program instructions. When the chip runs on a terminal device, it is used to implement the data transmission method in the above-mentioned separate bearing mode.

[0179] An embodiment of the present application also provides a computer program product or a computer program, which includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the terminal device reads and executes the computer instructions from the computer-readable storage medium to implement the above-mentioned data transmission method in the separate bearing mode.

[0180] It should be understood that the "multiple" mentioned in this article refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. In addition, the step numbers described in this article only illustrate a possible execution sequence between the steps. In some other embodiments, the above steps may not be executed in the order of the numbers, such as two steps with different numbers are executed at the same time, or two steps with different numbers are executed in the opposite order to the diagram. The embodiments of the present application are not limited to this.

[0181] The above description is only an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A data allocation method in a separate bearer mode, It is characterized in that The method comprises: Obtain uplink data to be transmitted; Acquire a data cache duration of a first radio link control RLC entity and a data cache duration of a second RLC entity; wherein the serving cell corresponding to the first RLC entity and the serving cell corresponding to the second RLC entity have a primary-slave relationship; Performing allocation processing on the uplink data based on the data buffering duration of the first RLC entity and the data buffering duration of the second RLC entity, and determining a data allocation amount of the first RLC entity and a data allocation amount of the second RLC entity; In the case where the data transmission network is unstable, obtaining a data cache duration of the first RLC entity and a data cache duration of the second RLC entity in each transmission time interval TTI; In the case where the data cache duration of the first RLC entity is greater than a first threshold value, and the data cache duration of the second RLC entity is less than the first threshold value, if the retransmission parameter corresponding to the uplink data is a first threshold value, the timeout cache data of the first RLC entity is copied to the second RLC entity; if the retransmission parameter corresponding to the uplink data is a second threshold value, the timeout cache data of the first RLC entity is discarded; wherein the timeout cache data refers to cache data whose cache time exceeds the first threshold value, and the first threshold value and the retransmission parameter are determined by the data transmission type corresponding to the uplink data; or, When the data cache duration of the first RLC entity is less than the first threshold value and the data cache duration of the second RLC entity is greater than the first threshold value, if the retransmission parameter corresponding to the uplink data is the first threshold value, the timeout cache data of the second RLC entity is copied to the first RLC entity; if the retransmission parameter corresponding to the uplink data is the second threshold value, the timeout cache data of the second RLC entity is discarded.

2. The method according to claim 1, It is characterized in that The allocating and processing the uplink data based on the data buffering duration of the first RLC entity and the data buffering duration of the second RLC entity to determine the data allocation amount of the first RLC entity and the data allocation amount of the second RLC entity includes: If the data buffering duration of the first RLC entity is greater than the data buffering duration of the second RLC entity, determining the data amount of the uplink data as the data allocation amount of the second RLC entity; If the data cache duration of the first RLC entity is shorter than the data cache duration of the second RLC entity, the data amount of the uplink data is determined as the data allocation amount of the first RLC entity.

3. The method according to claim 1, It is characterized in that The serving cell corresponding to the first RLC entity is a primary serving cell, and the serving cell corresponding to the second RLC entity is a secondary serving cell; The allocating and processing the uplink data based on the data buffering duration of the first RLC entity and the data buffering duration of the second RLC entity to determine the data allocation amount of the first RLC entity and the data allocation amount of the second RLC entity includes: Acquire a network delay of the second RLC entity, where the network delay refers to a network delay between a base station corresponding to the secondary serving cell and a core network; If the data cache duration of the first RLC entity is greater than the first sum value, the data amount of the uplink data is determined as the data allocation amount of the second RLC entity; wherein the first sum value refers to the sum of the data cache duration of the second RLC entity and the network delay of the second RLC entity; If the data cache duration of the first RLC entity is less than the first sum value, the data amount of the uplink data is determined as the data allocation amount of the first RLC entity.

4. The method according to claim 1, It is characterized in that The serving cell corresponding to the first RLC entity is a primary serving cell, and the serving cell corresponding to the second RLC entity is a secondary serving cell; The allocating and processing the uplink data based on the data buffering duration of the first RLC entity and the data buffering duration of the second RLC entity to determine the data allocation amount of the first RLC entity and the data allocation amount of the second RLC entity includes: Acquire a network delay of the second RLC entity, where the network delay refers to a network delay between a base station corresponding to the secondary serving cell and a core network; Adding the data cache duration of the first RLC entity and the first sum value to obtain a second sum value; wherein the first sum value refers to the sum of the data cache duration of the second RLC entity and the network delay of the second RLC entity; Determine a first proportion based on the data cache duration of the first RLC entity and the second sum value, and determine a second proportion based on the first sum value and the second sum value; The product of the first proportion and the uplink data is determined as the data allocation amount of the second RLC entity, and the product of the second proportion and the uplink data is determined as the data allocation amount of the first RLC entity.

5. The method according to claim 1, It is characterized in that The serving cell corresponding to the first RLC entity is a primary serving cell, and the serving cell corresponding to the second RLC entity is a secondary serving cell; The allocating and processing the uplink data based on the data buffering duration of the first RLC entity and the data buffering duration of the second RLC entity to determine the data allocation amount of the first RLC entity and the data allocation amount of the second RLC entity includes: Acquire a network delay of the second RLC entity, where the network delay refers to a network delay between a base station corresponding to the secondary serving cell and a core network; Determine a data allocation coefficient of the first RLC entity based on a data cache duration of the first RLC entity, and determine a data allocation coefficient of the second RLC entity based on a sum of a data cache duration of the second RLC entity and a network delay of the second RLC entity; Acquire a data allocation basis of the first RLC entity and a data allocation basis of the second RLC entity; determining an expected data allocation amount of the first RLC entity based on a data allocation cardinality of the first RLC entity and a data allocation coefficient of the first RLC entity, and determining an expected data allocation amount of the second RLC entity based on a data allocation cardinality of the second RLC entity and a data allocation coefficient of the second RLC entity; Determining a data allocation amount for the first RLC entity based on an expected data allocation amount for the first RLC entity and a data amount of the uplink data; The data allocation amount of the second RLC entity is determined based on the expected data allocation amount of the second RLC entity, the data allocation amount of the first RLC entity and the data amount of the uplink data.

6. The method according to claim 1, It is characterized in that After allocating the uplink data based on the data buffering duration of the first RLC entity and the data buffering duration of the second RLC entity, and determining the data allocation amount of the first RLC entity and the data allocation amount of the second RLC entity, the method further includes: If the cached data of the target RLC entity reaches the cache upper limit, suspending data allocation to the target RLC entity, the target RLC entity being the first RLC entity and / or the second RLC entity; If the cached data of the target RLC entity is less than the cache upper limit, data is allocated to the target RLC entity according to the data allocation amount of the target RLC entity.

7. The method according to claim 1, It is characterized in that After obtaining the data buffering duration of the first RLC entity and the data buffering duration of the second RLC entity, the method further includes: When the data buffering time length of the first RLC entity is less than a penalty threshold and the data buffering time length of the second RLC entity is greater than the penalty threshold, determining the data amount of the uplink data as the data allocation amount of the first RLC entity; Alternatively, when the data cache duration of the first RLC entity is greater than the penalty threshold and the data cache duration of the second RLC entity is less than the penalty threshold, determining the data amount of the uplink data as the data allocation amount of the second RLC entity; Alternatively, when the data cache duration of the first RLC entity is less than the penalty threshold, and the data cache duration of the second RLC entity is less than the penalty threshold, performing the step of allocating the uplink data based on the data cache duration of the first RLC entity and the data cache duration of the second RLC entity to determine the data allocation amount of the first RLC entity and the data allocation amount of the second RLC entity; Alternatively, when the data cache time length of the first RLC entity is greater than the penalty threshold and the data cache time length of the second RLC entity is greater than the penalty threshold, service cell reselection processing is performed on the first RLC entity and the second RLC entity respectively to reconstruct the separated bearer.

8. The method according to claim 1, It is characterized in that The method further comprises: respectively determining a transmission state of the first RLC entity and a transmission state of the second RLC entity; When the transmission state of the first RLC entity is a penalty state and the transmission state of the second RLC entity is a non-penalty state, the data amount of the uplink data is determined as the data allocation amount of the second RLC entity; wherein the penalty state is used to indicate that the RLC entity is not allocated data within a threshold time; Alternatively, when the transmission state of the first RLC entity is the non-penalty state and the transmission state of the second RLC entity is the penalty state, determining the data amount of the uplink data as the data allocation amount of the first RLC entity; Alternatively, when the transmission state of the first RLC entity is the non-penalty state and the transmission state of the second RLC entity is the non-penalty state, performing the step of acquiring the data cache duration of the first RLC entity and the data cache duration of the second RLC entity; Alternatively, when the transmission state of the first RLC entity is the penalty state and the transmission state of the second RLC entity is the penalty state, service cell reselection processing is performed on the first RLC entity and the second RLC entity respectively to reconstruct the separate bearer.

9. A data distribution device in a separate bearer mode, It is characterized in that The device comprises: An uplink data acquisition module, used to acquire uplink data to be transmitted; A cache duration acquisition module, configured to acquire a data cache duration of a first radio link control RLC entity and a data cache duration of a second RLC entity; wherein the serving cell corresponding to the first RLC entity and the serving cell corresponding to the second RLC entity have a primary-slave relationship; an allocation amount determination module, configured to perform allocation processing on the uplink data based on the data buffering duration of the first RLC entity and the data buffering duration of the second RLC entity, and determine the data allocation amount of the first RLC entity and the data allocation amount of the second RLC entity; The cache duration acquisition module is further used to acquire the data cache duration of the first RLC entity and the data cache duration of the second RLC entity in each transmission time interval TTI when the data transmission network is unstable; a timeout data processing module, configured to, when the data cache duration of the first RLC entity is greater than a first threshold value and the data cache duration of the second RLC entity is less than the first threshold value, copy the timeout cache data of the first RLC entity to the second RLC entity if the retransmission parameter corresponding to the uplink data is a first threshold value; and discard the timeout cache data of the first RLC entity if the retransmission parameter corresponding to the uplink data is a second threshold value; wherein the timeout cache data refers to cache data whose cache time exceeds the first threshold value, and the first threshold value and the retransmission parameter are determined by the data transmission type corresponding to the uplink data; or, A timeout data processing module is used to copy the timeout cache data of the second RLC entity to the first RLC entity if the data cache duration of the first RLC entity is less than the first threshold value and the data cache duration of the second RLC entity is greater than the first threshold value if the retransmission parameter corresponding to the uplink data is the first threshold value; and discard the timeout cache data of the second RLC entity if the retransmission parameter corresponding to the uplink data is the second threshold value.

10. A terminal device, It is characterized in that The terminal device includes a processor and a memory, wherein a computer program is stored in the memory, and the computer program is executed by the processor to implement the data transmission method in the separate bearer mode as described in any one of claims 1 to 8.

11. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and the computer program is used to be executed by a processor to implement the data transmission method in the separate bearer mode according to any one of claims 1 to 8.

12. A chip, It is characterized in that The chip includes a programmable logic circuit and / or program instructions, and when the chip is running, it is used to implement the data transmission method in the separate bearer mode as described in any one of claims 1 to 8.

13. A computer program product, It is characterized in that The computer program product comprises a computer program, and the computer program is loaded and executed by a processor to implement the data transmission method in the separate bearer mode according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Wireless communication system, base station device, wireless terminal, and communication control method

    CN106063326A

  • Data transmission method and apparatus

    CN107277853A

  • Data transmission processing method and device

    CN108809542A

  • Methods and devices associated with improvements in or relating to an uplink split bearer in new radio

    CN110999385A

  • PDCP ul split and pre-processing

    CN111386743A