Cell switching method and device, terminal equipment and storage medium
By detecting the current resource status of the current community in the terminal device and switching to other communities when discovering the congestion, the problem of downward resource congestion caused by the user's centralized connection in a small signal is improved, and the efficiency of data transmission is improved.
Patent Information
- Application Number
- CN202411411866.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-10
- Publication Date
- 2025-01-24
AI Technical Summary
During peak periods, the solution of selecting cells with better signals based on RSRP leads to centrally connecting users to cells with better signals, resulting in downlink resource congestion, and the problem of terminal equipment slow or unable to access the Internet.
By detecting the downward resource status of the current community in the terminal device, if a congestion is found, immediately switch to a different target community from the current community to avoid long -term connection under the congestion community.
Effectively reducing the user's business stuck, improving the efficiency of data transmission, and preventing the slow internet device caused by terminal equipment due to long -term connection in the congestion community.
Smart Images

Figure CN119364443A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of communication technology, and in particular to a cell switching method, apparatus, terminal equipment and storage medium. Background Art
[0002] With the development of science and technology, various means of transportation have appeared in people's daily lives, bringing great transportation convenience to people.
[0003] Among them, subway is the most common means of transportation. As the terminal equipment moves at high speed, the cell signal is often good and bad, and the terminal equipment needs to switch cells continuously. At present, most terminal equipment implements cell switching based on the reference signal receiving power (RSRP) of the currently connected cell. However, when there is a peak flow of people during the morning and evening rush hours, the solution of selecting a cell with better signal based on RSRP will result in many users being connected to a cell with better signal. Although the signal of the terminal equipment is very good, the Internet is still slow or cannot be accessed. Summary of the invention
[0004] In view of this, the cell switching method, apparatus, terminal device and storage medium provided in the embodiments of the present application can combine the current state of the downlink resources of the current cell to which the terminal device is connected, and switch the cell to which the terminal device is currently connected in time when the current state is congested, thereby reducing the user's service freezes and slow Internet access, and improving the efficiency of data transmission. The cell switching method, apparatus, terminal device and storage medium provided in the embodiments of the present application are implemented as follows:
[0005] In one aspect, an embodiment of the present application provides a cell switching method, applied to a terminal device, the method comprising:
[0006] When the terminal device is in a target scenario, determining whether a current state of downlink resources of a current cell to which the terminal device is connected is congested or non-congested; the target scenario is a scenario in which a cell switching frequency of the terminal device is higher than a preset frequency;
[0007] When the current state of the downlink resources of the current cell is congested, switching to a target cell different from the current cell.
[0008] In another aspect, an embodiment of the present application provides a cell switching device, applied to a terminal device, the device comprising:
[0009] A first determination module is used to determine whether a current state of downlink resources of a current cell to which the terminal device is connected is congested or non-congested when the terminal device is in a target scenario; the target scenario is a scenario in which a cell switching frequency of the terminal device is higher than a preset frequency;
[0010] The first switching module is used to switch to a target cell different from the current cell when the current state of the downlink resources of the current cell is congested.
[0011] In another aspect, the present application provides a terminal device, comprising a processor and a memory, wherein the memory stores a computer program executable on the processor, and when the processor executes the computer program, the cell switching method as described in one aspect above is implemented.
[0012] In another aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the cell switching method as described in one aspect above.
[0013] On the other hand, an embodiment of the present application provides a computer program product. When the computer program product is executed on a computer, the computer is enabled to execute to implement the cell switching method as described in one aspect above.
[0014] On the other hand, an embodiment of the present application provides an application publishing platform, which is used to publish a computer program product, wherein when the computer program product runs on a computer, the computer is enabled to execute to implement the cell switching method as described in one aspect above.
[0015] In the cell switching method, apparatus, terminal device and storage medium provided in the embodiments of the present application, the terminal device can determine whether the current state of the downlink resources of the current cell to which the terminal device is connected is congested or non-congested when the terminal device is in a target scenario; the target scenario is a scenario in which the cell switching frequency of the terminal device is higher than a preset frequency; and when the current state of the downlink resources of the current cell is congested, switch to a target cell different from the current cell. The terminal device combines the current state of the downlink resources of the current cell to which it is connected to, whether it is congested or non-congested, and switches the current cell in a timely manner in the case of congestion to a target cell different from the current cell, thereby preventing the terminal device from being connected to a cell with congested downlink resources for a long time, causing the terminal device to access the Internet slowly, reducing user service freezes, and improving data transmission efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in 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 paying creative work.
[0017] Figure 1 This is a schematic diagram of an architecture of a wireless communication scenario involved in an exemplary embodiment of the present application;
[0018] Figure 2 A schematic diagram of an exemplary structure of a terminal device provided by an exemplary embodiment of the present application;
[0019] Figure 3 A method flow chart of a cell switching method provided by an exemplary embodiment of the present application;
[0020] Figure 4 A method flow chart of a cell switching method provided by an exemplary embodiment of the present application;
[0021] Figure 5 A method flow chart of another cell switching method provided by an exemplary embodiment of the present application;
[0022] Figure 6 A structural block diagram of a cell switching device provided by an exemplary embodiment of the present application;
[0023] Figure 7 A schematic diagram of the structure of another example of a cell switching device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0024] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0025] The term "multiple" as used herein refers to two or more than two. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.
[0026] It should be pointed out that the terms "first\second\third" involved in the embodiments of the present application are used to distinguish similar or different objects, and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.
[0027] The solution provided by the present application can be used in real-life scenarios where people use terminal devices to switch cells while riding in subways, high-speed trains and other means of transportation in their daily lives. To facilitate understanding, some of the terms and application scenarios involved in the embodiments of the present application are briefly introduced below.
[0028] Carrier Aggregation (CA) is a communication technology that aggregates two or more component carriers (CCs) to achieve transmission with a larger bandwidth. Each component carrier occupies a certain spectrum width, and multiple independent connections are logically merged into a larger connection, thereby improving network throughput and data transmission speed.
[0029] In wireless communication scenarios, when a mobile station moves from one cell (referring to a base station or the coverage area of a base station) to another cell, channel switching is required to maintain uninterrupted communication for mobile users. How to successfully and quickly complete cell switching is one of the important aspects of cellular cell design in wireless communication scenarios.
[0030] Round-trip time (RTT) refers to the total delay from the start of data transmission at the sender to the receipt of the ACKnowledge (ACK) from the receiver (the receiver sends the ACK immediately after receiving the data). It can be understood that each data packet corresponds to an RRT.
[0031] Please refer to Figure 1 , which shows a schematic diagram of the architecture of a wireless communication scenario involved in an exemplary embodiment of the present application, such as Figure 1 As shown, the wireless communication scenario may include: several terminal devices 110 and a base station 120.
[0032] The terminal device 110 is a wireless communication device that can transmit data using wireless access technology. For example, the terminal device 110 can support cellular mobile communication technology, such as the 4th generation mobile communication technology (4G) and 5G technology. Alternatively, the terminal device 110 can also support the next generation mobile communication technology of 5G technology.
[0033] For example, the terminal device 110 may be a vehicle-mounted device, such as a driving computer with a wireless communication function, or a wireless communication device externally connected to the driving computer.
[0034] Alternatively, the terminal device 110 may also be a user terminal device, such as a mobile phone (or "cellular" phone) and a computer with a mobile terminal device, for example, a portable, pocket-sized, handheld, computer-built-in or vehicle-mounted mobile device. For example, a station (STA), a subscriber unit, a subscriber station, a mobile station, a mobile station, a mobile station, a remote station, an access point, a remote terminal, an access terminal, a user terminal, a user agent, a user device, or a user equipment (UE). Specifically, for example, the terminal device 110 may be a mobile terminal device such as a smart phone, a tablet computer, an e-book reader, or may be a smart wearable device such as smart glasses, a smart watch or a smart bracelet.
[0035] Optionally, the terminal device 110 is a wireless communication device that supports carrier aggregation technology.
[0036] The base station 120 may be a network-side device in a wireless communication scenario. The wireless communication scenario may be a fourth-generation mobile communication technology system, also known as a long-term evolution LTE (Long Term Evolution) system; or, the wireless communication scenario may be a 5G system, also known as a new radio NR (New Radio) system. Or, the wireless communication scenario may be a next-generation system of the 5G system.
[0037] Among them, the base station 120 can be an evolved base station (eNB) adopted in the 4G system. Alternatively, the base station 120 can also be a base station (gNB) adopting a centralized distributed architecture in the 5G system. When the base station 120 adopts a centralized distributed architecture, it usually includes a centralized unit (CU) and at least two distributed units (DU). The centralized unit is provided with a protocol stack of a packet data convergence protocol (PDCP) layer, a radio link layer control protocol (RLC) layer, and a media access control (MAC) layer; the distributed unit is provided with a physical (Physical, PHY) layer protocol stack. The specific implementation method of the base station 120 is not limited in the embodiment of the present disclosure.
[0038] A wireless connection can be established between the base station 120 and the terminal device 110 through a wireless air interface. In different implementations, the wireless air interface is a wireless air interface based on the fourth generation mobile communication network technology (4G) standard; or, the wireless air interface is a wireless air interface based on the fifth generation mobile communication network technology (5G) standard, for example, the wireless air interface is a new air interface; or, the wireless air interface can also be a wireless air interface based on the next generation mobile communication network technology standard of 5G.
[0039] Optionally, the above wireless communication scenario may further include a network management device 130 .
[0040] Several base stations 120 are respectively connected to a network management device 130. The network management device 130 may be a core network device in a wireless communication scenario. For example, the network management device 130 may be a mobility management entity (MME) in an evolved packet core (EPC). Alternatively, the network management device may be other core network devices, such as a serving gateway (SGW), a public data network gateway (PGW), a policy and charging rules function (PCRF), or a home subscriber server (HSS). The embodiments of the present disclosure do not limit the implementation form of the network management device 130.
[0041] Please refer to Figure 2, which shows a schematic diagram of an example structure of a terminal device provided by an exemplary embodiment of the present application. Figure 2 The terminal device shown includes components such as a processor 210, a memory 220, a transceiver 230, a display unit 240, an input unit 250, a sensor 260, an audio circuit 270, and a battery module 280.
[0042] The processor 210 is the control center of the terminal device, and uses various interfaces and lines to connect various parts of the entire terminal device. By running or executing software programs and / or modules stored in the memory 220, and calling data stored in the memory 220, the processor 210 performs various functions of the terminal device and processes data, thereby monitoring the terminal device as a whole. Optionally, the processor 210 may include one or more processing units; optionally, the processor 210 may integrate an application processor, which mainly processes operating devices, user interfaces, and application programs, etc. Of course, other processors may also be included, which are not listed here one by one.
[0043] The memory 220 can be used to store software programs and modules. The processor 210 executes various functional applications and data processing of the terminal device by running the software programs and modules stored in the memory 220. The memory 220 can mainly include a program storage area and a data storage area, wherein the program storage area can store operating devices, at least one application required for a function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the terminal device (such as audio data, a phone book, etc.), etc. In addition, the memory 220 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0044] The transceiver 230 can provide wireless communication solutions for terminal devices, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc. The transceiver 230 can be one or more devices that integrate at least one communication processing module, for example, the antenna and the baseband processor are integrated into the transceiver 230, or the antenna and the modem processor are integrated into the transceiver 230, etc., which are not limited here. Optionally, the terminal device can communicate with the above-mentioned devices through its own transceiver 230. Figure 1 Establish a wireless communication connection with the base station in the network.
[0045] The display unit 240 may be used to display information input by the user or information provided to the user and various menus of the terminal device. The display unit 240 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc., which is not limited here.
[0046] The input unit 250 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the terminal device. Specifically, the input unit 250 can collect the user's operations on or near it, and drive the corresponding connection device according to a pre-set program. In addition, the input unit 250 may include a touch panel, which can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel, the input unit 250 may also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of function keys (such as volume control keys, switch keys, etc.), trackballs, joysticks, etc.
[0047] The terminal device may also include at least one sensor 260, such as a gyroscope sensor, a motion sensor, and other sensors. The motion sensor may include an acceleration sensor for detecting the magnitude of acceleration in all directions, and the magnitude and direction of gravity when stationary, which may be used for applications that identify the posture of the terminal device, such as horizontal and vertical screen switching, related games, magnetometer posture calibration, etc. As for other sensors that may be configured in the terminal device, such as a pressure gauge, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., they will not be described in detail here.
[0048] The audio circuit 270 may include a speaker and a microphone, and may provide an audio interface between the user and the terminal device. The audio circuit 270 may transmit the received audio data to the speaker after converting the received audio data into an electrical signal, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 270 and converted into audio data, and then the audio data is output to the processor 210 for processing, and then sent to another terminal device through the video circuit, or the audio data is output to the memory 220 for further processing.
[0049] The terminal device also includes a battery module 280 for supplying power to various components. Optionally, the battery module 280 can be logically connected to the processor 210 through a power management device, so that the power management device can manage functions such as charging, discharging, and power consumption.
[0050] Although not shown, the terminal device may further include a camera. Optionally, the camera may be located at the front or rear of the terminal device, which is not limited in the embodiment of the present application.
[0051] It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the terminal device. In other embodiments of the present application, the terminal device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0052] With the development of science and technology, various means of transportation have appeared in people's daily lives. In the above wireless communication scenarios, it is also common for users to carry terminal devices to subways, high-speed railways and other means of transportation. In this process, the cell signal is sometimes good and sometimes bad, and the terminal device needs to constantly switch cells. Most terminal devices switch based on the size of the RSRP of the cell. For example, when the cell signal is poor, the terminal device can trigger cell selection / cell reselection / cell switching and select the cell with a larger RSRP to switch to the cell with a better signal in time.
[0053] At present, with the development of science and technology, in order to enhance the communication of terminal equipment in the subway, the network deployment in the subway often deploys many communication base stations along the subway line, forming multiple cells along the subway line that can provide communication services for terminal equipment. Under normal circumstances, the signal of the base station connected to the terminal equipment in the subway is relatively good. If there is a peak flow of people in the morning and evening rush hours, based on the above-mentioned RSRP to select a cell with a better signal, many users will be connected to a cell with a better signal, which makes the cell resources obviously congested, and the problem of slow Internet access or no Internet access occurs even though the signal of the terminal equipment is very good.
[0054] In order to solve the above problems existing in the related art, a cell switching method is provided in an embodiment of the present application. In view of the defect of only selecting a better RSRP for switching in the prior art, it is necessary to determine whether cell switching is required based on the current state of the downlink resources of the current cell to improve the efficiency of data transmission.
[0055] Please refer to Figure 3 , which shows a method flow chart of a cell switching method provided by an exemplary embodiment of the present application, and the cell switching method can be applied to a terminal device. Figure 3 As shown, the cell switching method may include the following steps:
[0056] Step 301, when the terminal device is in a target scenario, determine whether the current state of the downlink resources of the current cell to which the terminal device is connected is congested or non-congested; the target scenario is a scenario in which the cell switching frequency of the terminal device is higher than a preset frequency.
[0057] Optionally, the preset frequency can be pre-set in the terminal device by the developer. In this solution, the terminal device needs to detect whether it is in the target scenario. When it is in the target scenario, it determines whether the downlink resources of the current cell to which it is connected are congested or non-congested. For example, the terminal device can obtain the number of cell switching times within a period of time, and divide the number by the length of the period to obtain the corresponding cell switching frequency. If it is found that the cell switching frequency is higher than the preset frequency, it means that it is in the target scenario. If the cell switching frequency is not higher than the preset frequency, it means that it is not in the target scenario.
[0058] In actual applications, when a user carries a terminal device on a vehicle, the high-speed operation of the vehicle often causes the terminal device to frequently switch cells. Therefore, in this solution, the target scene can be set in advance, including the subway scene, the high-speed rail scene, etc. The terminal device can also determine whether it is in the target scene by detecting whether it is in the scene of the corresponding vehicle. For example, the target scene includes a subway scene. For subway scene detection, the terminal device can combine the location coordinates of the Global Positioning System (GPS), the moving route of the terminal device, etc. For example, the terminal device determines that it is currently in a subway station or on a subway line in combination with the location coordinates of the GPS, and can determine that it is in the subway scene. Alternatively, the terminal device finds that it is consistent with a subway line in combination with its own moving route, and can also determine that it is currently in the subway scene. This solution does not limit the specific implementation method for detecting whether it is in the subway scene.
[0059] That is, for this specific scene division, the terminal device can detect whether it is in the target scene in combination with the actual detection method, and it is not necessarily determined by calculating the relationship between the cell switching frequency and the preset frequency as described above.
[0060] Optionally, when the terminal device is in the target scenario, it is further determined whether the current state of the downlink resources of the current cell to which the terminal device is connected is congested or non-congested. In this solution, if the current state is congested, it means that the downlink resources of the current cell to which the terminal device is connected are occupied by many users, and most users reside in the current cell, resulting in insufficient allocation of downlink resources of the current cell. On the contrary, if the current state is non-congested, it means that the downlink resources of the current cell to which the terminal device is connected are occupied by few users, and the downlink resources of the current cell are sufficient for allocation and use by these users.
[0061] Step 302: When the current state of the downlink resources of the current cell is congested, switch to a target cell different from the current cell.
[0062] Optionally, after determining the current state of the downlink resources of the current cell to which the terminal device is connected, if the current state of the downlink resources of the current cell is congested, the terminal device may switch to a target cell different from the current cell.
[0063] Optionally, the target cell is another cell near the current cell. For example, the terminal device may be covered by the signal range of two cells. Based on the traditional cell switching scheme, it will always switch to the cell with stronger RSRP. However, in this scheme, if the RSRP of the cell currently connected by the terminal device is stronger among the above two cells, but it is found in step 301 that the current state of the downlink resources of the cell is congested, then it will still switch to another cell corresponding to a relatively weaker RSRP, thereby escaping from the current congested cell, reducing service jams, and improving the user's wireless Internet experience.
[0064] In summary, the terminal device can determine whether the current state of the downlink resources of the current cell to which the terminal device is connected is congested or non-congested when the terminal device is in a target scenario; the target scenario is a scenario in which the cell switching frequency of the terminal device is higher than a preset frequency; and when the current state of the downlink resources of the current cell is congested, switch to a target cell different from the current cell. The terminal device combines the current state of the downlink resources of the current cell to which it is connected to, whether it is congested or non-congested, and in the case of congestion, switches the current cell in time to a target cell different from the current cell, thereby preventing the terminal device from being connected to a cell with congested downlink resources for a long time, causing slow Internet access for the terminal device, reducing user service freezes, and improving data transmission efficiency.
[0065] Next, the terminal device determines the current state of the downlink resource of the current cell in different ways as an example. Figure 3 The illustrated embodiments are presented by way of example.
[0066] Please refer to Figure 4 , which shows a method flow chart of a cell switching method provided by an exemplary embodiment of the present application, and the cell switching method can be applied to a terminal device. Figure 4 As shown, the cell switching method may include the following steps:
[0067] Step 401, when the terminal device is in the target scenario, obtain the number of uplink protocol data units PDU sent by the terminal device and the number of downlink PDUs received within a preset time period.
[0068] Optionally, the manner in which the terminal device detects whether it is in the target scene may refer to the description in the above step 301, which will not be repeated here.
[0069] Optionally, the terminal device needs to determine the current state of the downlink resources of the current cell based on the number of uplink protocol data units (PDU) sent by itself and the number of downlink PDUs received. Therefore, when it is found that it is in the target scenario, it can trigger the operation of obtaining the number of uplink PDUs sent by the terminal device and the number of downlink PDUs received within a preset duration. Among them, the preset duration can be pre-set in the terminal device by the developer or operation and maintenance personnel. For example, the preset duration can be 1ms, then the terminal device obtains the number of uplink PDUs sent by the terminal device and the number of downlink PDUs received within 1ms. This preset duration of 1ms is exemplary, and other values can also be selected in actual applications, which will not be given one by one here.
[0070] Optionally, the number of uplink PDUs obtained in this solution refers to the number of PDU data packets sent by the terminal device, and the number of downlink PDUs refers to the number of PDU data packets received by the terminal device.
[0071] Optionally, the terminal device may obtain the number of uplink PDUs sent by itself and the number of downlink PDUs received from the current cell in the following manner: the terminal device may provide the terminal device with local data network information through its own session management function (SMF) entity. The terminal device may obtain the number of uplink PDUs based on the local data network information. For example, in the process of communication between the terminal device and the cell, the terminal device may determine to add a protocol data unit (PSA-UPF) for the PDU session, and then establish a PDU session, that is, establish a PDU session with the PSA-UPF that has been determined to be added; and complete the configuration of the PDU path for the downlink and uplink between the PSA-UPF and the terminal. For each PDU session process, the number of uplink PDUs sent by the terminal device and the number of downlink PDUs received may be recorded or saved, so that the terminal device can correctly obtain the number of uplink PDUs and the number of downlink PDUs received within a preset time period.
[0072] Optionally, since there are multiple types of PDUs, it can be the total number of PDUs of all types supported by the terminal device. For example, PDUs in PDCP are divided into two types, Data PDU and Control PDU. Data PDU is used to transmit user plane and control plane data and the digital signature generated by the security, and Control PDU is used to transmit the PDCP status report and the decompression feedback message (interspersed ROHc feedback) generated by the compression and decompression module. In this solution, the number of uplink PDUs and the number of downlink PDUs obtained by the terminal device include the number of all types of PDUs in the uplink PDCP and the number of all types of PDUs in the downlink PDCP, respectively.
[0073] It should be noted that in addition to obtaining the number of uplink PDUs and the number of downlink PDUs in accordance with the above-mentioned SMF method, the terminal device can also obtain the number of various types of PDUs contained in its own uplink data and downlink data by measuring in real time. This solution does not limit the specific method of obtaining the number of uplink PDUs and the number of downlink PDUs.
[0074] Step 402: Determine whether the current state of the downlink resources of the current cell is congested or non-congested based on the number of uplink protocol data units PDUs sent by the terminal device and the number of downlink PDUs received.
[0075] Optionally, after obtaining the number of uplink PDUs sent by the terminal device and the number of downlink PDUs received, the number of uplink PDUs and the number of downlink PDUs can be detected according to a pre-designed judgment logic to determine the current state of the downlink resources of the current cell. In this solution, the current state of the downlink resources includes congestion or non-congestion. When the current state of the downlink resources is congestion, it means that the downlink resources have to serve more terminal devices, and the downlink channel is more crowded, which may require queuing or delay to meet the needs of each terminal device. When the current state of the downlink resources is non-congestion, it means that the downlink resources have to serve fewer terminal devices, and the downlink channel is more relaxed, which can meet the needs of each terminal device.
[0076] In one possible implementation, the pre-designed judgment logic is as follows: the terminal device can determine whether the number of downlink PDUs is less than or equal to a first threshold, and determine whether the number of uplink PDUs is greater than or equal to a second threshold; when the number of downlink PDUs is less than or equal to the first threshold, and the number of uplink PDUs is greater than or equal to the second threshold, it is determined that the current state of the downlink resources of the current cell is congested; when the number of downlink PDUs is greater than the first threshold, or the number of uplink PDUs is less than the second threshold, it is determined that the current state of the downlink resources of the current cell is non-congested.
[0077] The first threshold and the second threshold can be pre-set in the terminal device by the developer or operation and maintenance personnel. Optionally, the first threshold and the second threshold are both related to the above-mentioned preset time, for example, they are positively correlated. As the preset time increases, the first threshold and the second threshold can also increase, and the specific increase amplitude can also be set by the developer.
[0078] For example, the first threshold is 5, and the second threshold is 10. The terminal device can determine whether the number of downlink PDUs obtained above is less than or equal to 5, and determine whether the number of uplink PDUs obtained above is greater than or equal to 10. If the number of downlink PDUs is less than or equal to 5, and the number of uplink PDUs is greater than or equal to 10, it means that the sent PDUs are significantly more than the received PDUs. After the terminal device sends a large number of PDUs, the number of PDUs returned by the downlink resources of the current cell and received by the terminal device is much smaller than the number of PDUs sent through the uplink channel. Therefore, in this case, it is determined that the current state of the downlink resources of the current cell is congested. If the number of downlink PDUs is not less than or equal to 5, or the number of uplink PDUs is not greater than or equal to 10, it means that the number of sent PDUs is almost the same as the number of received PDUs. At this time, the downlink resources of the current cell can meet the needs of each terminal device, and it is determined that the current state of the downlink resources of the current cell is non-congested.
[0079] Step 403: When the current state of the downlink resources of the current cell is congested, switch to a target cell different from the current cell.
[0080] Optionally, in this solution, when the terminal device determines that the current state of the downlink resources of the current cell is congested, a cell switching may be triggered so that the terminal device switches to a target cell different from the current cell.
[0081] In one possible implementation, the target cell is another nearby cell. Taking the target scenario as a subway scenario as an example, as the terminal device is used in the subway scenario, the location of the terminal device will constantly change, and the cell switching may include the following situations: inter-cell switching between base stations in the same switching center, switching between the same base station controller (Base Station Controller, BSC), switching between different BSCs, inter-cell switching between base stations in different switching centers, switching between micro cells and macro cells, switching between different sectors in the same base station, etc.
[0082] Taking the multi-carrier base station built based on carrier aggregation technology in the subway as an example, in the current subway environment, the wireless communication network deployment generally has the following characteristics: 1) The main carrier resources are multi-carrier same-base station deployment (multiple carrier cells are distributed under the same base station, and the physical cell identifiers (Physical Cell Identifier, PCI) of cells of different carriers are the same. 2) In addition to the same-station main carrier deployment, there is also non-same-station auxiliary carrier deployment. In this case, the terminal device can switch the cell from the main carrier cell to the auxiliary carrier cell.
[0083] Among them, the main carrier cell is also commonly referred to as the primary cell (Primary Cell, PCell), and the auxiliary carrier cell is also commonly referred to as the secondary cell (Secondary Cell, SCell). The primary cell is a cell operating on the main frequency band. The UE performs the initial connection establishment process in this cell, or starts the connection re-establishment process. The secondary cell is a cell operating on the secondary frequency band. Once the RRC connection is established, the secondary cell may be configured to provide additional wireless resources. For a terminal device in the RRC CONNECTED state, if CA is not configured, there is only one serving cell (Serving Cell), namely PCell; if CA is configured, the serving cell is a set consisting of PCell and SCell.
[0084] In the above-mentioned manner, before the terminal device performs the above-mentioned step of determining whether the current state of the downlink resources of the current cell to which the terminal device is connected is congested or non-congested, it may also determine the current data transmission mode of the terminal device, and if the data transmission mode of the terminal device includes the mode of carrier aggregation, determine the current state of the downlink resources of the current cell to which the terminal device is connected. For example, when the terminal device is using an application, it is necessary to interact with the service data of the application through carrier aggregation. Then, when the terminal is in the target scenario, it determines that its own data transmission mode includes the mode of carrier aggregation, and performs the above-mentioned step 401 to determine whether the current state of the downlink resources of the current cell is congested or non-congested.
[0085] Then, in this step, the current cell is usually the target main carrier cell corresponding to the current position of the terminal device, the target cell is the auxiliary carrier cell corresponding to the current position, the target main carrier cell is one of the multiple preset main carrier cells, and the identification information of each preset main carrier cell in the multiple preset main carrier cells is the same. That is, under normal circumstances, the terminal device in the subway scene usually transmits data through the main carrier cell after establishing a wireless communication connection with the main carrier cell. When the terminal device determines that the current state of the downlink resources of the current cell is congested, it means that the current state of the downlink resources of the main carrier cell is congested, and it can switch to one of the auxiliary carrier cells, thereby providing data to the user in a timely manner.
[0086] For example, a subway line in a certain city has the same main carrier of the base station - 3 carrier time division duplex (TDD), that is, the same PCI and the same eNodeB ID. The 3-carrier time division duplex includes 38950 (B40 TDD), 39148 (B40TDD), and 39292 (B40 TDD). For example, a subway line in a certain city has auxiliary carriers - 1300 or 1400 (B3 frequency division duplex (FDD)), 36275 (B34 TDD), and 40936 (B41 TDD). If the current cell connected to the terminal device is 39148 (B40 TDD), if it is determined that the current state of the downlink resources of the current cell is congested, it can be switched from 39148 (B40 TDD) to 40936 (B41 TDD).
[0087] Optionally, the above information can be collected in advance through road testing and other means to collect the main carrier, auxiliary carrier and other cell information of the urban subway line (including frequency, PCI, cell unique identifier (E-UTRAN Cell Identifier, ECI), tracking area code (Trancking Area Code, TAC), etc.), and this part of information can be summarized and analyzed and deployed on the terminal device side or in the cloud.
[0088] Optionally, before the terminal device switches to a target cell different from the current cell, it is also necessary to set other preset main carrier cells to a disabled state, where the other preset main carrier cells are cells other than the target main carrier cell among multiple preset main carrier cells. That is, after the terminal device determines that the current state of the downlink resources of the current cell is congested, in order to avoid the terminal device being connected to other preset main carrier cells and there is still congestion, the other preset main carrier cells can be disabled first, and then the cell switching can be performed, so that the terminal device can switch to the auxiliary carrier cell.
[0089] Optionally, the terminal device may set other preset primary carrier cells to be disabled in the following manner: add other preset primary carrier cells to a blacklist, and the terminal device is prohibited from switching to any cell in the blacklist. Of course, the terminal device may also be prohibited from accessing these preset primary carrier cells in other ways, which are not limited here.
[0090] Optionally, since each CC corresponds to an independent Cell, for a terminal device configured with CA, it can be connected to 1 PCell and at most 4 SCells. The CCs aggregated by a terminal device usually come from the same eNodeB, and these CCs are synchronized. When a terminal device configured with CA can use the same C-RNTI in all Serving Cells, and CA is a characteristic of the terminal device, different terminal devices may have different PCells and Serving Cell sets. Then, in this case, when the current state of the downlink resources of the current cell is congested, after switching to a target cell different from the current cell, the terminal device is still connected to 1 PCell and at most 4 SCells. The meaning of switching is only for service data transmitted by carrier aggregation. The terminal device uses the transmission channel between the switched target cell to transmit the service data transmitted by carrier aggregation. That is, the step of switching to a target cell different from the current cell when the current state of the downlink resources of the current cell is congested includes: when the current state of the downlink resources of the current cell is congested, the service data transmitted by carrier aggregation is transmitted using the transmission channel between the target cell.
[0091] It should be noted that in the application of the above-mentioned carrier aggregation technology in the 5G new air interface, the main cell corresponds to MCG: Master Cell group, the main cell group; the secondary cell corresponds to SCG: Secondary Cell group, the secondary cell group. MCG and SCG are concepts under dual connectivity (DC), which can be simply understood as the group where the cell where the terminal device first initiates random access (Random Access Channel, RACH) is located is the MCG. The PCell under the MCG and the SCell under the MCG are combined through CA technology. This solution can also be applied in this scenario architecture, which will not be repeated here.
[0092] In summary, the terminal device can determine whether the current state of the downlink resources of the current cell to which the terminal device is connected is congested or non-congested when the terminal device is in a target scenario; the target scenario is a scenario in which the cell switching frequency of the terminal device is higher than a preset frequency; and when the current state of the downlink resources of the current cell is congested, switch to a target cell different from the current cell. The terminal device combines the current state of the downlink resources of the current cell to which it is connected to, whether it is congested or non-congested, and in the case of congestion, switches the current cell in time to a target cell different from the current cell, thereby preventing the terminal device from being connected to a cell with congested downlink resources for a long time, causing slow Internet access for the terminal device, reducing user service freezes, and improving data transmission efficiency.
[0093] In addition, by collecting the number of uplink PDUs sent by the terminal device within a preset time period and the number of downlink PDUs received as the basis for determining whether the current state of the downlink resources of the current cell is congested or non-congested, the accuracy of the terminal device in judging the current state of the downlink resources can be improved. After identifying that the downlink resources of the current cell are congested, the terminal will also set other preset main carrier cells to a disabled state, triggering the action of prohibiting the same PCI co-site cells (all main carrier cells), and quickly selecting the auxiliary carrier cell, thereby alleviating the cell congestion problem.
[0094] Please refer to Figure 5 , which shows a method flow chart of another cell switching method provided by an exemplary embodiment of the present application, and the cell switching method can be applied to a terminal device. Figure 5 As shown, the cell switching method may include the following steps:
[0095] Step 501, when the terminal device is in a subway scenario, obtain the uplink delay sent by the terminal device and determine whether the current state of the uplink resources of the current cell to which the terminal device is connected is congested or non-congested.
[0096] Optionally, the manner in which the terminal device detects whether it is in the target scene may refer to the description in the above step 301, which will not be repeated here.
[0097] The terminal device needs to determine the current state of the downlink resources of the current cell based on the uplink delay corresponding to the uplink PDU sent by itself and the current state of the uplink resources of the current cell to which the terminal device is connected. Therefore, when it is found that it is in the target scenario, it can trigger the acquisition of the uplink delay and the current state of the uplink resources.
[0098] Optionally, the uplink delay may be the round-trip delay RTT corresponding to the uplink PDU, and the terminal device may obtain the uplink delay by directly recording and measuring, for example, the total delay experienced from the time the terminal device starts recording and measuring each time it sends a PDU data packet until receiving an acknowledgment (ACK) fed back by the current cell. It should be noted that this solution does not limit the method for obtaining the uplink delay.
[0099] Optionally, the terminal device may determine the current status of the uplink resources of the current cell as follows: obtain the uplink transmission parameters of the terminal device, the uplink transmission parameters including at least one of an uplink buffer status report (Buffer Status reporting, BSR), an uplink authorization, and an uplink data throughput; and determine, based on the uplink transmission parameters of the terminal device, whether the current status of the uplink resources of the current cell is congested or non-congested.
[0100] For example, the uplink transmission parameter is the uplink BSR, and the terminal device can determine the current state of the uplink resources of the current cell based on the uplink BSR. For example, when the value of the uplink BSR is greater than or equal to the fourth threshold, it is determined that the current state of the uplink resources of the current cell is congested. Otherwise, it is determined that the current state of the uplink resources of the current cell is non-congested. Alternatively, the uplink transmission parameter is the uplink data throughput, and the terminal device can determine the current state of the uplink resources of the current cell based on the uplink data throughput. For example, when the value of the uplink data throughput is less than or equal to the fifth threshold, it is determined that the current state of the uplink resources of the current cell is congested. Otherwise, it is determined that the current state of the uplink resources of the current cell is non-congested. Among them, the fourth threshold and the fifth threshold can also be preset by the developer.
[0101] Among them, the base station can activate an uplink authorization to the terminal device once. If the terminal device does not receive deactivation, it will always use the resources specified by the first uplink authorization for uplink transmission. The uplink authorization can be configured through the GRANT command. When determining whether the current state of the uplink resources of the current cell is congested or non-congested, it can be detected whether the size of the transmission resources configured by the uplink authorization is less than the preset resource threshold. If the size of the transmission resources configured by the uplink authorization is less than the preset resource threshold, it is determined that the current state of the uplink resources of the current cell is congested. Otherwise, it is determined that the current state of the uplink resources of the current cell is non-congested.
[0102] Here, the terminal device can be determined based on one or more of the above-mentioned uplink transmission parameters, and examples are not given one by one here.
[0103] In the case where the above-mentioned uplink transmission parameters include three types of transmission parameters, namely, uplink BSR, uplink authorization, and uplink data throughput, the terminal device can determine the current state of the uplink resources of the current cell according to the uplink transmission parameters as follows: when the value of the uplink BSR is greater than or equal to the fourth threshold, and the size of the transmission resources configured by the uplink authorization is less than the preset resource threshold, and the uplink data throughput is less than or equal to the fifth threshold, it is determined that the current state of the uplink resources of the current cell is congested. Otherwise, it is determined that the current state of the uplink resources of the current cell is non-congested.
[0104] That is, for the three types of transmission parameters obtained, namely, uplink BSR, uplink authorization, and uplink data throughput, the terminal device uses the corresponding preset conditions to detect respectively, and when the above conditions are met, it is determined that the current state of the uplink resources of the current cell is congested. Otherwise, it is determined that the current state of the uplink resources of the current cell is non-congested.
[0105] Step 502: Determine whether the current state of the downlink resources of the current cell is congested or non-congested according to the uplink delay and the current state of the uplink resources of the current cell.
[0106] Optionally, after the uplink delay and the current state of the uplink resources of the current cell are acquired, the current state of the downlink resources of the current cell may be determined according to a pre-designed judgment logic.
[0107] In a possible implementation, the terminal device can further determine the current state of the downlink resource in the following manner: determine whether the uplink delay is greater than or equal to a third threshold; when the uplink delay is greater than or equal to the third threshold, and the current state of the uplink resource of the current cell is non-congested, determine that the current state of the downlink resource of the current cell is congested; when the uplink delay is less than the third threshold, or the current state of the uplink resource of the current cell is congested, determine that the current state of the downlink resource of the current cell is non-congested. The third threshold can also be preset by the developer.
[0108] That is to say, in this solution, when it is determined that the uplink delay is higher than the corresponding preset threshold (third threshold), and the current state of the downlink resources of the current cell is non-congested, it means that the current state of the downlink resources of the current cell is congested. For example, if the third threshold is 3ms, if the acquired uplink delay is 6ms, the uplink delay is greater than the third threshold, and the current state of the uplink resources determined based on the uplink transmission parameters is non-congested, then it is determined that the current state of the downlink resources of the current cell is congested. Otherwise, it can be determined that the current state of the downlink resources of the current cell is non-congested.
[0109] It should be noted that the method for determining the current state of the downlink resources of the current cell in this solution can be the same as the above Figure 4 The current state can also be determined by combining the two methods, further improving the accuracy of determining the current state of the downlink resources. Figure 4 The scheme shown determines that the current state of the downlink resources of the current cell is congested, and, through Figure 5 The scheme shown determines that the current state of the downlink resources of the current cell is also congested, and then determines that the current state of the downlink resources is congested. Otherwise, the current state of the downlink resources of the current cell determined by one of the methods is non-congested, and the final combined result is non-congested.
[0110] Step 503: When the current state of the downlink resources of the current cell is congested, switch to a target cell different from the current cell.
[0111] Optionally, the implementation details of switching the current cell to the target cell in step 503 may refer to the content in the above step 403, which will not be repeated here.
[0112] In summary, the terminal device can determine whether the current state of the downlink resources of the current cell to which the terminal device is connected is congested or non-congested when the terminal device is in a target scenario; the target scenario is a scenario in which the cell switching frequency of the terminal device is higher than a preset frequency; and when the current state of the downlink resources of the current cell is congested, switch to a target cell different from the current cell. The terminal device combines the current state of the downlink resources of the current cell to which it is connected to, whether it is congested or non-congested, and in the case of congestion, switches the current cell in time to a target cell different from the current cell, thereby preventing the terminal device from being connected to a cell with congested downlink resources for a long time, causing slow Internet access for the terminal device, reducing user service freezes, and improving data transmission efficiency.
[0113] In addition, this solution can solve the problem of LTE cell congestion in the target scenario of the subway scenario. Based on the 3GPP protocol, by identifying whether the downlink resources of the main carrier cell in the subway scenario are congested, the selection of target cells used by terminal devices is optimized, and the service jams of users using terminal devices are reduced as much as possible, which makes up for the shortcomings of the 3GPP protocol and improves the user data network experience.
[0114] 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.
[0115] Please refer to Figure 6, which shows a structural block diagram of a cell switching device provided by an exemplary embodiment of the present application. The cell switching device 600 can be used in a terminal device to execute all or part of the steps performed by the terminal device in the methods provided by the above-mentioned various embodiments. The cell switching device 600 includes:
[0116] A first determination module 601 is used to determine whether a current state of downlink resources of a current cell to which the terminal device is connected is congested or non-congested when the terminal device is in a target scenario; the target scenario is a scenario in which a cell switching frequency of the terminal device is higher than a preset frequency;
[0117] The first switching module 602 is configured to switch to a target cell different from the current cell when the current state of the downlink resources of the current cell is congested.
[0118] In summary, the terminal device can determine whether the current state of the downlink resources of the current cell to which the terminal device is connected is congested or non-congested when the terminal device is in a target scenario; the target scenario is a scenario in which the cell switching frequency of the terminal device is higher than a preset frequency; and when the current state of the downlink resources of the current cell is congested, switch to a target cell different from the current cell. The terminal device combines the current state of the downlink resources of the current cell to which it is connected to, whether it is congested or non-congested, and in the case of congestion, switches the current cell in time to a target cell different from the current cell, thereby preventing the terminal device from being connected to a cell with congested downlink resources for a long time, causing slow Internet access for the terminal device, reducing user service freezes, and improving data transmission efficiency.
[0119] Optionally, the first determining module 601 includes: a first acquiring unit, a first determining unit;
[0120] The first acquisition unit is used to acquire the number of uplink protocol data units PDU sent by the terminal device and the number of downlink PDUs received within a preset time period;
[0121] The first determination unit is used to determine whether the current state of the downlink resources of the current cell is congested or non-congested according to the number of uplink protocol data units PDU sent by the terminal device and the number of downlink PDUs received.
[0122] Optionally, the first determination unit includes: a first judgment subunit, a first determination subunit or a second determination subunit;
[0123] The first judging subunit is configured to judge whether the number of the downlink PDUs is less than or equal to a first threshold, and to judge whether the number of the uplink PDUs is greater than or equal to a second threshold;
[0124] The first determining subunit is configured to determine that the current state of the downlink resources of the current cell is the congestion when the number of the downlink PDUs is less than or equal to the first threshold and the number of the uplink PDUs is greater than or equal to the second threshold;
[0125] The second determining subunit is used to determine that the current state of the downlink resources of the current cell is the non-congested state when the number of the downlink PDUs is greater than the first threshold or the number of the uplink PDUs is less than the second threshold.
[0126] Optionally, the first determining module 601 includes: a second acquiring unit and a second determining unit;
[0127] The second acquisition unit is used to acquire the uplink delay of the uplink protocol data unit PDU sent by the terminal device and determine whether the current state of the uplink resources of the current cell to which the terminal device is connected is congested or non-congested;
[0128] The second determining unit is configured to determine a current state of the downlink resources of the current cell according to the uplink delay and a current state of the uplink resources of the current cell.
[0129] Optionally, the second determining unit includes: a second judging subunit, a third determining subunit or a fourth determining subunit;
[0130] The second judgment subunit is used to judge whether the uplink delay is greater than or equal to a third threshold;
[0131] The third determining subunit is configured to determine that the current state of the downlink resources of the current cell is the congestion when the uplink delay is greater than or equal to the third threshold and the current state of the uplink resources of the current cell is the non-congestion;
[0132] The fourth determining subunit is used to determine that the current state of the downlink resources of the current cell is the non-congested state when the uplink delay is less than the third threshold or the current state of the uplink resources of the current cell is the congested state.
[0133] Optionally, the second acquiring unit is further used to:
[0134] Acquire an uplink transmission parameter of the terminal device, where the uplink transmission parameter includes at least one of an uplink buffer status report BSR, an uplink authorization, and an uplink data throughput;
[0135] According to the uplink transmission parameters of the terminal device, it is determined whether the current state of the uplink resources of the current cell is congested or non-congested.
[0136] Optionally, the uplink transmission parameter includes an uplink buffer status report BSR, an uplink authorization, and an uplink data throughput, and determining the current state of the uplink resources of the current cell according to the uplink transmission parameter of the terminal device includes:
[0137] When the value of the uplink BSR is greater than or equal to the fourth threshold, the size of the transmission resources configured by the uplink authorization is less than the preset resource threshold, and the uplink data throughput is less than or equal to the fifth threshold, it is determined that the current state of the uplink resources of the current cell is the congestion; otherwise, it is determined that the current state of the uplink resources of the current cell is the non-congestion.
[0138] Optionally, the device further comprises:
[0139] A second determination module is used to determine the data transmission mode of the terminal device when the terminal device is in the target scenario before determining the current state of the downlink resources of the current cell to which the terminal device is connected;
[0140] The first execution module is used to execute the step of determining whether the current state of the downlink resources of the current cell to which the terminal device is connected is congested or non-congested if the data transmission mode of the terminal device includes a carrier aggregation mode.
[0141] Optionally, the current cell is a target primary carrier cell corresponding to the current position of the terminal device, the target cell is a secondary carrier cell corresponding to the current position, the target primary carrier cell is one of multiple preset primary carrier cells, and the identification information of each preset primary carrier cell in the multiple preset primary carrier cells is the same, and the device also includes:
[0142] The first setting module is used to set other preset primary carrier cells to a disabled state before switching to a target cell different from the current cell, wherein the other preset primary carrier cells are cells other than the target primary carrier cell among the multiple preset primary carrier cells.
[0143] Optionally, the first setting module is further used to:
[0144] The other preset main carrier cells are added to a blacklist, and the terminal device is prohibited from switching to any cell in the blacklist.
[0145] Optionally, the first switching module 602 is further configured to:
[0146] When the current state of the downlink resources of the current cell is congested, the service data transmitted by means of the carrier aggregation is transmitted using the transmission channel between the target cell.
[0147] Please refer to Figure 7 , which is a structural diagram of another example of a cell switching device provided in an embodiment of the present application. Among them, the cell switching device 700 can be a terminal device, and the terminal device includes a first battery and a second battery. A bidirectional converter is connected between the first battery and the second battery, and the functions in the method provided in an embodiment of the present application can be realized. Among them, the cell switching device 700 can be a chip system. In the embodiment of the present application, the chip system can be composed of chips, and can also include chips and other discrete devices.
[0148] In terms of hardware implementation, the above communication module may be a transceiver, and the transceiver is integrated in the cell switching device 700 to form a communication interface 703 .
[0149] The cell switching device 700 includes at least one processor 701, which is used to implement or support the cell switching device 700 to implement the functions of the terminal device in the method provided in the embodiment of the present application. Exemplarily, the processor 701 can determine the current state of the downlink resources of the current cell to which the terminal device is connected when it is in the target scenario; and when the current state of the downlink resources of the current cell is congested, switch to a target cell different from the current cell, etc. Please refer to the detailed description in the method example for details, which will not be repeated here.
[0150] The cell switching device 700 may also include at least one memory 702 for storing program instructions and / or data. The memory 702 is coupled to the processor 701. The coupling in the embodiment of the present application is an indirect coupling or communication connection between devices, units or modules, which may be electrical, mechanical or other forms, and is used for information exchange between devices, units or modules. The processor 701 may operate in coordination with the memory 702. The processor 701 may execute program instructions stored in the memory 702. At least one of the at least one memory may be included in the processor.
[0151] The cell switching device 700 may further include a communication interface 703, which is used to communicate with other devices through a transmission medium, so that the device in the cell switching device 700 can communicate with other devices. Exemplarily, the other device may be a network side device. The processor 701 may use the communication interface 703 to send and receive data. The communication interface 703 may specifically be a transceiver.
[0152] The specific connection medium between the communication interface 703, the processor 701 and the memory 702 is not limited in the embodiment of the present application. Figure 7 In the embodiment, the memory 702, the processor 701 and the communication interface 703 are connected via a bus 704. Figure 7The connections between other components are shown in bold lines, which are only for illustration and are not intended to be limiting. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0153] In the embodiment of the present application, the processor 701 can be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, and can implement or execute the methods, steps and logic block diagrams disclosed in the embodiment of the present application. The general-purpose processor can be a microprocessor or any conventional processor, etc. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware processor to be executed, or can be executed by a combination of hardware and software modules in the processor.
[0154] In an embodiment of the present application, the memory 702 may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), etc., or a volatile memory (volatile memory), such as a random access memory (RAM). The memory is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory in the embodiment of the present application may also be a circuit or any other device that can implement a storage function, for storing program instructions and / or data.
[0155] Optionally, an embodiment of the present application also provides a terminal device, the terminal device includes a memory and a processor, the memory stores a computer program that can be run on the processor, and the processor executes the computer program to implement all or part of the steps performed by the terminal device in the cell switching method of each of the above embodiments.
[0156] Optionally, an embodiment of the present application further provides a computer-readable medium on which a computer program is stored. When the computer program is executed by a processor, it implements all or part of the steps performed by the terminal device in the cell switching method of each of the above embodiments.
[0157] Optionally, an embodiment of the present application further provides a chip, which contains an executable computer program. When the chip executes the computer program, it implements all or part of the steps performed by the terminal device in the cell switching method of each of the above embodiments.
[0158] Optionally, an embodiment of the present application further provides a computer program product, which, when executed on a computer, enables the computer to execute all or part of the steps of the cell switching method in the above embodiments, which are executed by the terminal device.
[0159] Optionally, an embodiment of the present application further provides an application publishing platform, which is used to publish a computer program product, wherein when the computer program product runs on a computer, the computer executes the cell switching method of each of the above embodiments, all or part of the steps executed by the terminal device.
[0160] It should be noted that: when the device provided in the above embodiment performs the control of the terminal device, only the division of the above functional modules is used as an example. 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 the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0161] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0162] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0163] The above description is only an optional 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 cell switching method, characterized in that: Applied to a terminal device, the method comprises: When the terminal device is in a target scenario, determining whether a current state of downlink resources of a current cell to which the terminal device is connected is congested or non-congested; the target scenario is a scenario in which a cell switching frequency of the terminal device is higher than a preset frequency; When the current state of the downlink resources of the current cell is congested, switching to a target cell different from the current cell.
2. The method according to claim 1, characterized in that: The determining whether a current state of downlink resources of a current cell to which the terminal device is connected is congested or non-congested includes: Obtain the number of uplink protocol data units (PDUs) sent by the terminal device and the number of downlink PDUs received within a preset time period; According to the number of uplink protocol data units PDU sent by the terminal device and the number of downlink PDUs received, it is determined whether the current state of the downlink resources of the current cell is congested or non-congested.
3. The method according to claim 2, characterized in that The determining, according to the number of uplink protocol data units (PDUs) sent by the terminal device and the number of downlink PDUs received, whether the current state of the downlink resources of the current cell is congested or non-congested includes: Determine whether the number of the downlink PDUs is less than or equal to a first threshold, and determine whether the number of the uplink PDUs is greater than or equal to a second threshold; When the number of the downlink PDUs is less than or equal to the first threshold, and the number of the uplink PDUs is greater than or equal to the second threshold, determining that the current state of the downlink resources of the current cell is the congestion; or, When the number of the downlink PDUs is greater than a first threshold, or when the number of the uplink PDUs is less than a second threshold, it is determined that the current state of the downlink resources of the current cell is the non-congested state.
4. The method according to claim 1, characterized in that The determining whether a current state of downlink resources of a current cell to which the terminal device is connected is congested or non-congested includes: Obtaining an uplink delay of an uplink protocol data unit PDU sent by the terminal device and determining whether a current state of uplink resources of a current cell to which the terminal device is connected is congested or non-congested; According to the uplink delay and the current state of the uplink resources of the current cell, it is determined whether the current state of the downlink resources of the current cell is congested or non-congested.
5. The method according to claim 4, characterized in that The determining, according to the uplink delay and the current state of the uplink resources of the current cell, whether the current state of the downlink resources of the current cell is congested or non-congested includes: Determining whether the uplink delay is greater than or equal to a third threshold; When the uplink delay is greater than or equal to the third threshold and the current state of the uplink resources of the current cell is the non-congested state, determining that the current state of the downlink resources of the current cell is the congested state; or, When the uplink delay is less than the third threshold, or the current state of the uplink resources of the current cell is the congestion, it is determined that the current state of the downlink resources of the current cell is the non-congestion.
6. The method according to claim 4, characterized in that The determining whether a current state of uplink resources of a current cell to which the terminal device is connected is congested or non-congested includes: Acquire an uplink transmission parameter of the terminal device, where the uplink transmission parameter includes at least one of an uplink buffer status report BSR, an uplink authorization, and an uplink data throughput; According to the uplink transmission parameters of the terminal device, it is determined whether the current state of the uplink resources of the current cell is congested or non-congested.
7. The method according to claim 6, characterized in that The uplink transmission parameters include an uplink buffer status report BSR, an uplink authorization, and an uplink data throughput, and determining the current state of the uplink resources of the current cell according to the uplink transmission parameters of the terminal device includes: When the value of the uplink BSR is greater than or equal to the fourth threshold, the size of the transmission resources configured by the uplink authorization is less than the preset resource threshold, and the uplink data throughput is less than or equal to the fifth threshold, it is determined that the current state of the uplink resources of the current cell is the congestion; otherwise, it is determined that the current state of the uplink resources of the current cell is the non-congestion.
8. The method according to any one of claims 1 to 7, characterized in that Before determining whether the current state of the downlink resource of the current cell to which the terminal device is connected is congested or non-congested, the method further includes: When the terminal device is in the target scenario, determining a data transmission mode of the terminal device; If the data transmission method of the terminal device includes a method through carrier aggregation, the step of determining whether the current state of the downlink resources of the current cell to which the terminal device is connected is congested or non-congested is performed.
9. The method according to claim 8, characterized in that The current cell is a target primary carrier cell corresponding to the current position of the terminal device, the target cell is a secondary carrier cell corresponding to the current position, the target primary carrier cell is one of a plurality of preset primary carrier cells, and identification information of each preset primary carrier cell in the plurality of preset primary carrier cells is the same, and before switching to a target cell different from the current cell, the method further includes: The other preset primary carrier cells are set to a disabled state, where the other preset primary carrier cells are cells other than the target primary carrier cell among the multiple preset primary carrier cells.
10. The method according to claim 9, characterized in that The setting of other preset primary carrier cells to a disabled state includes: The other preset main carrier cells are added to a blacklist, and the terminal device is prohibited from switching to any cell in the blacklist.
11. The method according to claim 8, characterized in that The step of switching to a target cell different from the current cell when the current state of the downlink resources of the current cell is congested includes: When the current state of the downlink resources of the current cell is congested, the service data transmitted by means of the carrier aggregation is transmitted using the transmission channel between the target cell.
12. A cell switching device, characterized in that: Applied to a terminal device, the device comprises: A first determination module is used to determine whether a current state of downlink resources of a current cell to which the terminal device is connected is congested or non-congested when the terminal device is in a target scenario; the target scenario is a scenario in which a cell switching frequency of the terminal device is higher than a preset frequency; The first switching module is used to switch to a target cell different from the current cell when the current state of the downlink resources of the current cell is congested.
13. A terminal device, characterized in that: The terminal device includes a memory and a processor, the memory stores a computer program that can be run on the processor, and the processor implements the cell switching method described in any one of claims 1 to 11 when executing the computer program.
14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the cell switching method according to any one of claims 1 to 11 is implemented.