A downlink data transmission method and apparatus, a base station, and a storage medium
By monitoring and releasing the least active active terminal resources, the problem of data transmission failure caused by the upper limit of the number of active terminals in 5G base stations was solved, achieving a higher transmission success rate and resource utilization efficiency.
Patent Information
- Application Number
- CN202611380335.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-07
- Publication Date
- 2026-11-27
AI Technical Summary
In 5G networks, the limited hardware and wireless scheduling capabilities of base stations mean that when the number of active terminals reaches its limit, new deactivated connected terminals cannot be accepted, resulting in downlink data transmission failure.
By monitoring the activity status and activity indicators of terminal devices at the base station, the active terminal with the lowest activity level is selected to release the connection, freeing up resource slots to establish an access layer connection for the target terminal, thus ensuring downlink data transmission.
Under capacity saturation conditions, it improves downlink data transmission success rate, enhances wireless resource utilization efficiency, and avoids data transmission failures.
Smart Images

Figure CN123185701A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and more specifically, to a downlink data transmission method, apparatus, base station, and storage medium. Background Technology
[0002] In 5G networks, the access layer defines two terminal states: active state and deactivated connection state. In the active state, a complete Radio Resource Control (RRC) layer connection is established between the user terminal device and the 5G network base station, allowing direct uplink and downlink data transmission and reception. In the deactivated connection state, the terminal retains some context information with the base station but releases most of the air interface radio resources. When downlink data arrives, the base station needs to trigger the terminal to return to the active state via paging before downlink data transmission can begin.
[0003] However, in reality, base station hardware and wireless scheduling capabilities are constrained. There is a physical limit to the number of active terminals that a base station can support simultaneously. When the number of active terminals reaches this physical limit, the base station does not have enough resources to accept new terminals switching from the deactivated connection state to the active state. If downlink data needs to be sent to a target terminal in the deactivated connection state, the base station cannot accept the target terminal into the active state after executing the paging process. This will result in the inability to complete the state switch of the terminal from the deactivated connection state to the active state, causing downlink data transmission failure. Summary of the Invention
[0004] This application addresses the shortcomings of the prior art by providing a downlink data transmission method, apparatus, base station, and storage medium to resolve the problems existing in the prior art.
[0005] The technical solution adopted in the embodiments of this application is as follows: In a first aspect, embodiments of this application provide a downlink data transmission method applied to a target base station in a 5G network, the method comprising: Receive downlink data sent by the User Plane Function (UPF) network element; the downlink data includes: data packets and corresponding destination address information; Based on the target address information, the target terminal device corresponding to the data packet is determined; The active status of the target terminal device is determined based on the local data records of the target base station; If the active status indicates that the target terminal device is in a connected state, then based on the current maximum allowed number of connected devices of the target base station, the active status and activity index of other terminal devices corresponding to the target base station, an access layer connection is established between the target terminal device and the target base station, so that the base station can transmit data packets in the downlink data to the target terminal device.
[0006] In one embodiment, before determining the active status of the target terminal device based on the local data records of the target base station, the method further includes: Real-time monitoring is performed on all terminal devices corresponding to the target base station to obtain the activity status and activity index of each terminal device. The local data records of the base station are updated in real time with the activity status and activity index of each terminal device.
[0007] In one embodiment, the step of real-time monitoring of all terminal devices corresponding to the target base station to obtain the activity status and activity index of each terminal device includes: Based on the access status records of each terminal device, the active status of each terminal device is obtained; the active status includes: active state and connected state. Based on a preset statistical time window and the time when the downlink data transmission queue of each terminal device is empty within the preset statistical time window, the activity index of each active terminal device is obtained. The activity index of each connected terminal device is marked as a fixed value.
[0008] In one embodiment, if the active state indicates that the target terminal device is in a connected state, then establishing an access layer connection between the target terminal device and the target base station based on the current maximum allowed number of connected devices of the target base station, the active state and activity index of other terminal devices corresponding to the target base station, includes: The number of active devices among the other terminal devices is determined based on the active status of the target base station and the other terminal devices. Determine whether the number of devices in the active state has reached the current maximum allowed number of connected devices; If the number of devices in the active state does not reach the current maximum allowed number of connected devices, then an access layer connection is established between the target terminal device and the target base station.
[0009] In one embodiment, the method further includes: If the number of devices in the active state reaches the current maximum allowed number of connected devices, then an access layer connection between the target terminal device and the target base station is established based on the activity index of all active terminal devices.
[0010] In one embodiment, establishing an access layer connection between the target terminal device and the target base station based on the activity index of all active terminal devices includes: Based on the activity index of all active terminal devices, identify the terminal devices to be released from all active terminal devices. After the terminal device to be released is switched from the active state to the connected state, an access layer connection is established between the target terminal device and the target base station.
[0011] In one embodiment, the method further includes: If the target terminal device is in an active state, the data packets in the downlink data will be directly transmitted to the target terminal device.
[0012] Secondly, embodiments of this application provide a downlink data transmission apparatus applied to a target base station in a 5G network, the apparatus comprising: The receiving module is used to receive downlink data sent by the User Plane Function (UPF) network element; the downlink data includes: data packets and corresponding destination address information; The first determining module is used to determine the target terminal device corresponding to the data packet based on the target address information; The second determining module is used to determine the active status of the target terminal device based on the local data records of the target base station; The connection module is configured to, if the active state indicates that the target terminal device is in a connected state, establish an access layer connection between the target terminal device and the target base station based on the current maximum allowed number of connected devices of the target base station, the active state and activity index of other terminal devices corresponding to the target base station, so that the base station can transmit data packets in the downlink data to the target terminal device.
[0013] Thirdly, embodiments of this application provide a base station, including: a processor, a storage medium, and a bus. The storage medium stores program instructions executable by the processor. When the base station is running, the processor communicates with the storage medium via the bus, and the processor executes the program instructions to implement the downlink data transmission method described in any of the above embodiments.
[0014] Fourthly, embodiments of this application provide a readable storage medium storing program instructions, which, when executed by a processor, implement the downlink data transmission method described in any of the above embodiments.
[0015] The beneficial effects of this application are as follows: It provides a downlink data transmission method. After the base station receives downlink data sent by the UPF and parses the target address to determine the target terminal, and reads the local record to identify that the target terminal is in the deactivated connection state, it does not directly initiate paging. Instead, it combines the base station's active terminal capacity limit, the active status of other terminals, and activity indicators to make resource admission judgment. When the number of active terminals has reached the physical limit, it filters and releases terminals that occupy active resources but have low activity based on the activity indicators to free up active resource slots. Then, it establishes an access layer connection for the target terminal to switch to the active state and sends downlink data packets. This overcomes the defect caused by the physical limit of the number of active terminals in the base station that prevents the target terminal from entering the active state and avoids downlink data transmission failure. Attached Figure Description
[0016] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 A schematic diagram of a 5G network architecture provided for an embodiment of this application; Figure 2 A flowchart illustrating the downlink data transmission method provided in this application embodiment; Figure 3 This is a schematic flowchart of a method for obtaining local data records provided in an embodiment of this application; Figure 4 A schematic flowchart illustrating the method for obtaining active status and activity index provided in an embodiment of this application; Figure 5 This is a schematic flowchart illustrating a method for establishing an access layer connection between a target terminal device and a target base station, as provided in an embodiment of this application. Figure 6 This is a schematic flowchart illustrating a method for establishing an access layer connection between a target terminal device and a target base station, provided in another embodiment of this application. Figure 7 This is a schematic diagram of the structure of the downlink data transmission device provided in the embodiments of this application; Figure 8 This is a schematic diagram of the structure of a base station provided in an embodiment of this application. Detailed Implementation
[0018] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are some embodiments of this application, but not all embodiments.
[0019] Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.
[0020] Furthermore, the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Additionally, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0021] It should be noted that, where there is no conflict, the features in the embodiments of this application can be combined with each other.
[0022] Figure 1 This application provides a schematic diagram of a 5G network architecture, as shown in the embodiments below. Figure 1 As shown, a 5G network may include the following network elements: 1. Terminal Equipment (UE): Also known as user equipment, terminal, access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, wireless communication equipment, user agent, or user device.
[0023] 2. Industrial equipment: Industrial Ethernet devices connected to terminal devices. These devices connect to the terminal via Ethernet protocol and rely on 5G network to achieve data communication. They are communication members of the Virtual Network Group (VN group).
[0024] 3. Access Network (AN) Base Station: Provides network access functionality to authorized users in a specific area and can use transmission tunnels of different quality depending on the user's level and service requirements. An access network that implements access network functions based on wireless communication technology can be called a Radio Access Network (RAN). The RAN manages radio resources, provides access services to terminals, and facilitates the forwarding of control signals and user data between the terminal and the core network.
[0025] 4. Network Exposure Function (NEF) entity: Used to securely expose services and capabilities provided by 3GPP network functions to the outside world.
[0026] 5. Session Management Function (SMF) entity: Primarily used for session management, UE Internet Protocol (IP) address allocation and management, selection of manageable user plane functions, policy control, or endpoints for charging function interfaces, and downlink data notification, etc. In this embodiment, it can be used to implement the functions of the session management network element.
[0027] 6. Policy Control Function (PCF) entity: A unified policy framework used to guide network behavior, providing policy rule information to control plane functional network elements (such as AMF, SMF, etc.).
[0028] 7. User Plane Function (UPF) Entity: This is the data plane gateway. It can be used for packet routing and forwarding, or for quality of service (QoS) processing of user plane data. User data can access the data network (DN) through this network element. In this embodiment, it can be used to implement data forwarding.
[0029] 8. Unified Data Management (UDM) entity, i.e., local data table, stores users' static subscription information and dynamic registration information, such as the AMF the user is currently connected to, the user's authentication status, or registration status.
[0030] 9. The Access and Mobility Management Function (AMF) entity is the endpoint of the RAN signaling interface (N2) and the endpoint of the MM message interface (N1) for non-access stratum (NAS) signaling. Its main functions include: encryption and integrity protection of NAS messages, and it is responsible for registration, access, mobility management, authentication, SMS and other functions.
[0031] 10. The Network Function (NF) repository function (NRF) entity's main functions include: supporting service discovery, which means receiving service discovery requests (NF-Discovery-Request) from network elements and providing the discovered network element information to the requester; maintaining the characteristics of available network element instances and their supported service capabilities. Among these, the main characteristic parameters of a network element include: the network element instance identity document (ID), network element type, PLMN, network slice related IDs such as Single Network Slice Selection Assistance Information (S-NSSAI), Network Slice Instance IDentifier (NSIID), network element IP or domain name, network element capability information, and supported service capability names, etc.
[0032] 11. The Network Slice Selection Function (NSSF) is responsible for determining the network slice instances that the UE is allowed to access based on the UE's slice selection assistance information and subscription information.
[0033] It should be noted that, Figure 1 The AMF, SMF, UPF, NEF, PCF, UDM, and NRF entities shown can be understood as network elements in the core network used to implement different functions. These core network elements can be independent devices or integrated into the same device to implement different functions. This application does not limit this.
[0034] In this application, the Radio Resource Control (RRC) state of the terminal device is divided into three categories: RRC_CONNECTED (active state), RRC_INACTIVE (deactivated connection state), and RRC_IDLE (idle state). The active state described in this application is RRC_CONNECTED. The connected state (inactive) refers to RRC_INACTIVE, in which the terminal and base station retain the AS security context and UE context, but release most of the air interface radio resources, and the non-access stratum NAS still maintains the 5GMM-CONNECTED connection mode. The RRC_IDLE idle state is also classified as an inactive state. For ease of description, in this application embodiment, RRC_INACTIVE and RRC_IDLE are collectively referred to as the inactive connected state (hereinafter referred to as the connected state).
[0035] This application provides a downlink data transmission method applied to a target base station (RAN) in a 5G network. It addresses the technical problem that, in scenarios where the RRC_CONNECTED (active state) terminal capacity is saturated, RRC_INACTIVE / RRC_IDLE (inactive connected state) terminals cannot be admitted into the active state, resulting in downlink data transmission failure.
[0036] The technical concept of this application is as follows: The base station calculates the activity index of terminal devices in the RRC_CONNECTED (active state) state to quantify the resource utilization efficiency of downlink data transmission; when downlink data needs to be sent to the target terminal in the RRC_INACTIVE / RRC_IDLE (inactive connected state) state, and the number of active terminals in the base station has reached the capacity limit, the active terminal with the lowest activity index is selected as the terminal to be released, and the access layer connection resources of the terminal to be released are released first. After freeing up the active state resource slots, the access layer connection is established for the target terminal and the downlink data is sent. This breaks through the physical capacity bottleneck of the number of active terminals in the base station and improves the downlink data transmission success rate and the overall utilization efficiency of wireless resources.
[0037] The following examples, in conjunction with the accompanying drawings, provide specific illustrations of the downlink data transmission method provided in this application.
[0038] Figure 2 This is a flowchart illustrating the downlink data transmission method provided in an embodiment of this application, as shown below. Figure 2 As shown, the method includes: S101. Receive downlink data sent by the User Plane Function (UPF) network element.
[0039] Downlink data includes data packets and their corresponding destination address information.
[0040] Specifically, in 5G networks, the User Plane Function (UPF) acts as a user plane gateway, used to complete packet routing and forwarding. For example, after external service data and industrial LAN service data are processed by the UPF, downlink data packets are sent to the target base station through the N3 interface. The downlink data is a complete protocol data unit issued by the UPF, and the packet consists of a header and a service payload. The target address information is encapsulated in the header of the downlink data packet, and the type of target address information varies depending on the session type.
[0041] For example, if the current service is an Ethernet session, the destination address carried in the packet header is the destination MAC address; if the current service is an IP session, the destination address carried in the packet header is the destination IP address. The packet payload is the service data packet to be sent to the terminal device.
[0042] After receiving downlink data packets from the UPF, the base station parses the packet header, extracts the target address information carried in the packet, and uses the packet payload as the data packets to be sent to the terminal later.
[0043] S102. Determine the target terminal device corresponding to the data packet based on the target address information.
[0044] The target base station maintains a mapping record between the local address and the terminal. This mapping record stores a one-to-one correspondence between different destination MAC addresses, destination IP addresses and terminal devices (UEs). This mapping record is generated and maintained and updated in real time by the base station during terminal registration and session establishment.
[0045] After the base station obtains the target address information (destination MAC address or destination IP address) by parsing in S101, it retrieves the address terminal mapping record stored locally and matches the target terminal device (target UE) to which the downlink data packet is to be delivered based on the target address.
[0046] S103. Determine the active status of the target terminal device based on the local data records of the target base station.
[0047] The target base station continuously maintains the active status and activity index of each terminal device that has a contextual association with this base station in its local data records. The active status is the access layer RRC status of the terminal, which is divided into active state (RRC_CONNECTED) and connected state (RRC_INACTIVE, RRC_IDLE).
[0048] After the base station obtains the target terminal device according to S102, it reads the active status flag corresponding to the target terminal device from the local data record to determine whether the target terminal device is currently in an active state or a connected state.
[0049] S104. If the active status indicates that the target terminal device is in a connected state, then based on the current maximum number of allowed connected devices of the target base station, the active status and activity index of other terminal devices corresponding to the target base station, an access layer connection is established between the target terminal device and the target base station, so that the base station can transmit data packets in the downlink data to the target terminal device.
[0050] If the active state indicates that the target terminal device is in a connected state, most of the air interface radio resources between the target terminal device and the base station have been released. This includes two situations: if it is in the RRC_INACTIVE state, the base station and the terminal still retain the AS security context and UE context, and the access layer connection can be rebuilt through the RRCResume recovery procedure; if it is in the RRC_IDLE state, there is no retained RRC context, and the complete RRCSetup establishment procedure needs to be executed.
[0051] In both RRC_INACTIVE and RRC_IDLE states, the base station cannot directly transmit downlink data packets to the terminal device. It must first establish / restore an access layer (RRC) connection between the target terminal device and the target base station, switching the target terminal to an active state before data packet delivery can be completed. However, base station hardware and radio scheduling capabilities have physical constraints on the maximum number of currently allowed connected devices. This maximum number represents the upper limit of the number of terminal devices in an active state (RRC_CONNECTED) that the base station can support at any given time. When the base station has reached this limit, it cannot directly accept new terminals into the active state. Therefore, when the target terminal device is in a connected state, the base station cannot directly initiate paging and access layer connection establishment. Instead, it needs to comprehensively judge based on the base station's maximum allowed connected devices, the active status and activity indicators of other terminal devices within the base station's jurisdiction, and three other dimensions. It performs resource access judgment, and if necessary, resource reallocation and replacement, before establishing an access layer connection for the target terminal and finally delivering the downlink data packet to the target terminal.
[0052] Optionally, if the target terminal device is in an active state and a complete RRC access layer connection has been established between the target terminal device and the target base station, the terminal can directly receive downlink data. In this case, the base station directly transmits the data packets in the downlink data to the target terminal device.
[0053] In summary, this embodiment provides a downlink data transmission method. The base station receives downlink data from the UPF and parses the target address to determine the target terminal. After reading local records to identify that the target terminal is in a deactivated connection state, it does not directly initiate paging. Instead, it combines the base station's active terminal capacity limit, the active status of other terminals, and activity indicators to establish an access layer connection for the target terminal, enabling it to switch to an active state before sending downlink data packets. This overcomes the defect caused by the physical limit on the number of active terminals in the base station, which prevents the target terminal from entering the active state, and avoids downlink data transmission failure.
[0054] Figure 3 This is a schematic diagram of the method for obtaining local data records provided in an embodiment of this application, such as... Figure 3 As shown, before executing step S103, which determines the active status of the target terminal device based on the local data records of the target base station, the method of this application further includes: S201. Real-time monitoring of all terminal devices corresponding to the target base station to obtain the activity status and activity index of each terminal device.
[0055] The target base station continuously monitors all terminal devices within its jurisdiction that have contextual relationships in real time, collects access layer status information and downlink transmission queue statistics for each terminal device, and calculates the activity status and activity index corresponding to each terminal device.
[0056] Specifically, Figure 4 This is a schematic diagram of the method for obtaining active status and activity index provided in the embodiments of this application, such as... Figure 4 As shown, S201 includes: S301. Obtain the active status of each terminal device based on the access status records of each terminal device.
[0057] Active states include active state and connected state. The base station maintains an access state record for each terminal device. This access state record is updated in real time following the terminal's RRC access process. When the terminal completes the RRC connection establishment, it enters RRC_CONNECTED and is marked as active state. When the terminal executes RRC suspension and enters RRC_INACTIVE, or executes RRC release and enters RRC_IDLE, it is marked as connected state.
[0058] The base station can obtain the current active status of all terminal devices by reading the access status records of each terminal device.
[0059] S302. Based on the preset statistical time window and the time when the downlink data transmission queue of each terminal device is empty within the preset statistical time window, obtain the activity index of each active terminal device.
[0060] This application provides an activity index S to quantify the actual utilization efficiency of downlink radio resources by terminal devices in an active (RRC_CONNECTED) state. The formula for calculating the activity index is as follows:
[0061] Where W is the preset statistical time window, which is the time statistical period pre-configured by the base station, and the unit can be milliseconds or seconds; E is the cumulative duration during which the downlink data transmission queue corresponding to the terminal device is empty within the statistical time window W, as counted by the base station.
[0062] For an active terminal device, the base station continuously counts the downlink transmission queue status corresponding to the terminal within each statistical time window W, and accumulates the total time E when the queue is empty. Substituting this into the above formula, the activity index S of the active terminal is obtained.
[0063] As can be seen from the formula, if the terminal's downlink transmission queue always has data within the entire statistical window W, and the queue is empty for a duration E=0, then S=1, indicating that the terminal's service traffic is consistently full and resource utilization efficiency is the highest. If the terminal's downlink transmission queue is empty for a long time within the statistical window W, the larger the value of E, the smaller the value of S. When the entire window queue is empty, E=W and S=0, it indicates that the terminal is in an idle state where it occupies active resources but has no downlink data transmission, resulting in the lowest resource utilization efficiency.
[0064] S303. Mark the activity index of each connected terminal device as a fixed value.
[0065] For terminal devices in the connected state (RRC_INACTIVE, RRC_IDLE), regardless of historical service traffic, the base station directly marks their activity index as a fixed value of -1.
[0066] The activity level S calculated for the active terminal ranges from [0,1], while the activity level for the connected terminal is fixed at -1. In terms of numerical value, the activity level of all connected terminals is less than the activity level of any active terminal. This numerical rule provides a unified judgment benchmark for subsequent screening of terminals to be released and terminal priority ranking.
[0067] S202. In the local data records of the base station, update the activity status and activity index of each terminal device in real time.
[0068] The base station writes the activity status and activity index of each terminal device monitored and calculated by S201 into the base station's local data record, and continuously refreshes and updates the local data record as the RRC status changes and each statistical time window W ends.
[0069] At this point, the base station's local data record stores for each terminal device the terminal identifier, the mapped destination IP / destination MAC address, the active status marker, and the latest activity index S. This local data record provides a data source for subsequent steps S103 status query, S104 resource access judgment, and terminal screening to be released.
[0070] Figure 5 This is a schematic flowchart illustrating the method for establishing an access layer connection between a target terminal device and a target base station according to an embodiment of this application. Figure 5 As shown in S104, if the active state indicates that the target terminal device is in a connected state, then based on the current maximum allowed number of connected devices of the target base station, the active state and activity index of other terminal devices corresponding to the target base station, an access layer connection between the target terminal device and the target base station is established, including: S401. Determine the number of active devices among the other terminal devices based on the active status of the target base station.
[0071] The base station reads local data records, iterates through the active status flags of all terminal devices under the base station's jurisdiction except for the target terminal device, and counts the total number of terminal devices that are currently in the active state (RRC_CONNECTED).
[0072] S402. Determine whether the number of devices in the active state has reached the current maximum allowed number of connected devices.
[0073] S403. If the number of active devices does not reach the current maximum allowed number of connected devices, then establish an access layer connection between the target terminal device and the target base station.
[0074] When the total number of active terminals is less than the maximum number of allowed connected devices, it means that the base station still has idle active resource slots and there is no need to release existing active terminals.
[0075] In this scenario, the base station first sends a paging message to the target terminal device in the connected state (RRC_INACTIVE / RRC_IDLE), triggering the terminal to respond to the paging, and then executes the access layer connection procedure: If the target terminal is in the RRC_INACTIVE state, the RRC Resume procedure is executed to reuse the saved AS security context and UE context to quickly restore the RRC connection between the terminal and the base station; if the target terminal is in the RRC_IDLE state, the complete RRC Setup procedure is executed to create a new RRC access layer connection.
[0076] After the access layer connection is restored / established, the target terminal device switches to the RRC_CONNECTED active state. The base station then sends the data packets in the downlink data to the target terminal device through the newly established air interface radio resources, thus completing this downlink data transmission.
[0077] S404. If the number of active devices reaches the current maximum allowed number of connected devices, then an access layer connection between the target terminal device and the target base station is established based on the activity index of all active terminal devices.
[0078] If the number of active terminals is equal to the maximum number of devices that the base station can connect to, and the base station has no available active resource slots, the existing solution will directly refuse the target terminal from entering the active state, resulting in downlink data transmission failure. In this scenario, this application implements a resource reallocation and replacement strategy, which selects terminals to be released based on the activity index of all active terminals, releases the active resources of the terminals to be released, frees up 1 active resource slot, and then establishes an access layer connection for the target terminal device.
[0079] Figure 6 This is a schematic flowchart illustrating a method for establishing an access layer connection between a target terminal device and a target base station, as provided in another embodiment of this application. Figure 6 As shown, specifically, S404 includes: S501. Based on the activity index of all active terminal devices, determine the terminal devices to be released among all active terminal devices.
[0080] The base station reads the activity index S of all active (RRC_CONNECTED, S>-1) terminal devices in the local data record, sorts all active terminals in ascending order of activity index S, and selects the terminal device with the lowest activity index S value as the terminal device to be released.
[0081] The lower the activity level S, the higher the proportion of time the downlink transmission queue is empty within the statistical time window. Although the terminal occupies active wireless resources, it has no downlink data to send or receive for a long time. Prioritizing the release of this type of terminal has the least negative impact on the service.
[0082] S502. After the terminal device to be released is changed from the active state to the connected state, an access layer connection is established between the target terminal device and the target base station.
[0083] This step strictly follows the serial scheduling sequence of release, paging, and connection establishment. It must wait for the released terminal state switch to complete and confirm that the active state resource bits have been released before processing the target terminal. This specifically includes multiple sub-actions: (1) Performing RRC connection release procedure for the terminal to be released: The base station actively initiates RRC connection release signaling to the terminal device to be released, switches the terminal device to be released from RRC_CONNECTED (active state) to connected state (RRC_INACTIVE or RRC_IDLE) to release the dedicated radio resources allocated to the terminal device to be released. At the same time, in the local data record of the base station, the active state of the terminal device to be released is marked as connected state, and its activity index is modified to a fixed value of -1. The total number of active state terminals of the base station is reduced by 1, freeing up an available active state resource bit.
[0084] Optionally, during release, the terminal to be released can be switched to RRC_INACTIVE (deactivate connection state) first, while preserving the UE context and security context. When the terminal to be released has service needs in the future, the connection can be quickly restored, further reducing signaling overhead.
[0085] (2) After confirming that the resource transfer is completed, the base station sends a paging message to the target terminal device in the connected state to wake up the target terminal.
[0086] (3) After the target terminal responds to the paging, the base station executes the RRC connection recovery (RRC Resume) or RRC connection establishment (RRC Setup) procedure to establish an access layer RRC connection between the target terminal device and the target base station, so that the target terminal switches to the RRC_CONNECTED active state.
[0087] (4) Once the access layer connection is established, the base station will send the data packets of the downlink data message to the target terminal device through the air interface to complete this downlink data transmission.
[0088] It should be noted that the timing of releasing before paging in this application is a key technical point. If the order is reversed, and the target terminal is paged first and then the terminal to be released is released, there will still be no active resources after paging is completed, and the acceptance will still fail. Therefore, it is necessary to ensure that the RRC release process of the terminal to be released is completed and the resources are released before starting the paging and access layer connection establishment process of the target terminal.
[0089] In summary, the embodiments of this application provide a downlink data transmission method that, when capacity is saturated, selects the active terminal with the lowest activity level to release its connection, freeing up active resource slots, and then processes the access requirements of the target terminal. This avoids direct failure of downlink services, significantly improving the success rate of downlink data transmission. Furthermore, by prioritizing the release of the terminal with the lowest activity level and allocating active wireless resources to terminals that currently have downlink communication needs, the phenomenon of active resources being idle and occupied is reduced, thereby improving the overall utilization rate of base station wireless resources.
[0090] The following will continue to explain the apparatus, base station, and storage medium for implementing the downlink data transmission method provided in any of the above embodiments of this application. The specific implementation process and the resulting technical effects are the same as those in the corresponding method embodiments. For the sake of brevity, the parts not mentioned in the following embodiments can be referred to the corresponding content in the method embodiments.
[0091] Figure 7 This is a schematic diagram of the downlink data transmission device provided in the embodiments of this application, as shown below. Figure 7 As shown, this application also provides a downlink data transmission apparatus for use in a target base station in a 5G network. The apparatus includes: The receiving module 10 is used to receive downlink data sent by the User Plane Function (UPF) network element; the downlink data includes: data packets and corresponding destination address information.
[0092] The first determining module 20 is used to determine the target terminal device corresponding to the data packet based on the target address information.
[0093] The second determining module 30 is used to determine the active status of the target terminal device based on the local data records of the target base station.
[0094] The connection module 40 is used to establish an access layer connection between the target terminal device and the target base station if the active status indicates that the target terminal device is in a connected state, based on the current maximum number of allowed connected devices of the target base station, the active status and activity index of other terminal devices corresponding to the target base station, so that the base station can transmit data packets in the downlink data to the target terminal device.
[0095] Optionally, the device further includes a monitoring module, which is used to monitor all terminal devices corresponding to the target base station in real time before determining the active status of the target terminal device based on the local data records of the target base station, and obtain the active status and activity index of each terminal device; and to update the active status and activity index of each terminal device in real time in the local data records of the base station.
[0096] Optionally, the monitoring module is used to obtain the activity status of each terminal device based on the access status record of each terminal device; the activity status includes: active state and connected state; based on the preset statistical time window and the time when the downlink data transmission queue of each terminal device is empty within the preset statistical time window, the activity index of each active terminal device is obtained; and the activity index of each connected terminal device is marked as a fixed value.
[0097] Optionally, the connection module 40 is used to determine the number of active devices among other terminal devices based on the active status of other terminal devices corresponding to the target base station; determine whether the number of active devices has reached the current maximum allowed number of connected devices; and if the number of active devices has not reached the current maximum allowed number of connected devices, then establish an access layer connection between the target terminal device and the target base station.
[0098] Optionally, the connection module 40 is used to establish an access layer connection between the target terminal device and the target base station based on the activity index of all active terminal devices if the number of active devices reaches the current maximum allowed number of connected devices.
[0099] Optionally, the connection module 40 is used to determine the terminal device to be released among all active terminal devices based on the activity index of all active terminal devices; after the terminal device to be released is changed from active state to connected state, an access layer connection is established between the target terminal device and the target base station.
[0100] Optionally, the device further includes a transmission module, which is used to directly transmit data packets in the downlink data to the target terminal device if the target terminal device is in an active state.
[0101] The above-described device is used to execute the method provided in the foregoing embodiments, and its implementation principle and technical effect are similar, so they will not be described again here.
[0102] These modules can be one or more integrated circuits configured to implement the above methods, such as one or more Application Specific Integrated Circuits (ASICs), one or more microprocessors, or one or more Field Programmable Gate Arrays (FPGAs). Alternatively, when a module is implemented using processing element scheduler code, the processing element can be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. Furthermore, these modules can be integrated together as a system-on-a-chip (SOC).
[0103] Figure 8 This is a schematic diagram of the base station structure provided in the embodiments of this application, such as... Figure 8As shown, this application also provides a base station, including a processor 100, a storage medium 200 and a bus 300. The storage medium stores program instructions executable by the processor. When the base station is running, the processor communicates with the storage medium via the bus, and the processor executes the program instructions to implement the downlink data transmission method described in any of the above embodiments.
[0104] This application also provides a readable storage medium storing program instructions, which, when executed by a processor, implement the downlink data transmission method described in any of the above embodiments.
[0105] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0106] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0107] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in a combination of hardware and software functional units.
[0108] The integrated units implemented as software functional units described above can be stored in a computer-readable storage medium. These software functional units, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute some steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0109] The above are merely specific embodiments 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 scope of the technology 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 downlink data transmission method, characterized in that, The method, applied to a target base station in a 5G network, includes: Receive downlink data sent by the User Plane Function (UPF) network element; the downlink data includes: data packets and corresponding destination address information; Based on the target address information, the target terminal device corresponding to the data packet is determined; The active status of the target terminal device is determined based on the local data records of the target base station; If the active status indicates that the target terminal device is in a connected state, then based on the current maximum allowed number of connected devices of the target base station, the active status and activity index of other terminal devices corresponding to the target base station, an access layer connection is established between the target terminal device and the target base station, so that the base station can transmit data packets in the downlink data to the target terminal device.
2. The method according to claim 1, characterized in that, Before determining the active status of the target terminal device based on the local data records of the target base station, the method further includes: Real-time monitoring is performed on all terminal devices corresponding to the target base station to obtain the activity status and activity index of each terminal device. The local data records of the base station are updated in real time with the activity status and activity index of each terminal device.
3. The method according to claim 2, characterized in that, The step of real-time monitoring of all terminal devices corresponding to the target base station to obtain the activity status and activity index of each terminal device includes: Based on the access status records of each terminal device, the active status of each terminal device is obtained; the active status includes: active state and connected state. Based on a preset statistical time window and the time when the downlink data transmission queue of each terminal device is empty within the preset statistical time window, the activity index of each active terminal device is obtained. The activity index of each connected terminal device is marked as a fixed value.
4. The method according to claim 1, characterized in that, If the active state indicates that the target terminal device is in a connected state, then based on the current maximum allowed number of connected devices of the target base station, the active state and activity index of other terminal devices corresponding to the target base station, an access layer connection between the target terminal device and the target base station is established, including: The number of active devices among the other terminal devices is determined based on the active status of the target base station and the other terminal devices. Determine whether the number of devices in the active state has reached the current maximum allowed number of connected devices; If the number of devices in the active state does not reach the current maximum allowed number of connected devices, then an access layer connection is established between the target terminal device and the target base station.
5. The method according to claim 4, characterized in that, The method further includes: If the number of devices in the active state reaches the current maximum allowed number of connected devices, then an access layer connection between the target terminal device and the target base station is established based on the activity index of all active terminal devices.
6. The method according to claim 5, characterized in that, The step of establishing an access layer connection between the target terminal device and the target base station based on the activity index of all active terminal devices includes: Based on the activity index of all active terminal devices, identify the terminal devices to be released from all active terminal devices. After the terminal device to be released is switched from the active state to the connected state, an access layer connection is established between the target terminal device and the target base station.
7. The method according to claim 1, characterized in that, The method further includes: If the target terminal device is in an active state, the data packets in the downlink data will be directly transmitted to the target terminal device.
8. A downlink data transmission device, characterized in that, The device, used as a target base station in a 5G network, includes: The receiving module is used to receive downlink data sent by the User Plane Function (UPF) network element; the downlink data includes: data packets and corresponding destination address information; The first determining module is used to determine the target terminal device corresponding to the data packet based on the target address information; The second determining module is used to determine the active status of the target terminal device based on the local data records of the target base station; The connection module is configured to, if the active state indicates that the target terminal device is in a connected state, establish an access layer connection between the target terminal device and the target base station based on the current maximum allowed number of connected devices of the target base station, the active state and activity index of other terminal devices corresponding to the target base station, so that the base station can transmit data packets in the downlink data to the target terminal device.
9. A base station, characterized in that, include: The system includes a processor, a storage medium, and a bus. The storage medium stores program instructions executable by the processor. When the base station is running, the processor communicates with the storage medium via the bus, and the processor executes the program instructions to implement the downlink data transmission method according to any one of claims 1 to 7.
10. A readable storage medium, characterized in that, The readable storage medium stores program instructions, which, when executed by a processor, implement the downlink data transmission method according to any one of claims 1 to 7.
