Frequency band switching method and device, electronic equipment and readable storage medium
By adding a buffering stage and merging downlink layers before the terminal switches the frequency band, the network lag and network access rate drops when the terminal switches from the high-layer frequency band to the low-layer frequency band is solved, and the network experience is improved.
Patent Information
- Application Number
- CN202510357795.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-25
- Publication Date
- 2025-06-20
AI Technical Summary
When a terminal switches from a higher-level frequency band to a lower-level frequency band, due to the decrease in data flow that can be transmitted simultaneously, the Internet access rate decreases and network lags, affecting the terminal's network experience.
Before the terminal switches from the current resident frequency band to the pre-switching frequency band, the number of resident lower line layers in the current resident frequency band is compared with the number of pre-switching down line layers in the pre-switching frequency band, and different buffering stages are added according to the comparison results. When the number of pre-switched downlink layers is greater than or equal to the number of resident lower row layers, the terminal switches to the pre-switched frequency band and loads network data through some of its downlink layers; when the number of pre-switched downlink layers is less than the number of resident lower row layers, the network data is loaded together through the current resident frequency band and the pre-switched frequency band to increase the overall downlink number of the frequency band.
By adding buffering stage and merging downlink layers, the resource waste or power consumption caused by excessive network performance is avoided, the continuity of transmission data flow is ensured, the problems of network lag and network access rate are solved, and the network experience of the terminal is improved.
Smart Images

Figure CN120186697A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of communication technologies, and particularly relates to a frequency band switching method, apparatus, electronic device, and readable storage medium. Background Art
[0002] The logic of mobile network frequency band switching is mainly to ensure that the user equipment can continuously maintain the best network connection state when moving. The mobile terminal will continuously monitor the signal strength and quality of the currently connected frequency band to consider switching to other frequency bands.
[0003] In the related art, the mobile terminal continuously monitors the strength of the current signal. When the signal strength is lower than a certain threshold, the need for switching is triggered. If the terminal switches from a frequency band with 4 layers to a frequency band with 2 layers, the number of layers of the switched frequency band is lower than that of the current frequency band. During the switching process, since the number of data streams that can be transmitted simultaneously decreases, there may also be network lag problems, resulting in a decrease in the Internet access rate and network lag, thus affecting the terminal network experience. Summary of the Invention
[0004] The objective of the embodiments of this application is to provide a frequency band switching method, apparatus, electronic device, and readable storage medium, which solve the problems of decreased Internet access rate and network lag caused by the reduction of the number of data streams that can be transmitted simultaneously during the process of the electronic device switching from a frequency band with a higher number of layers to a frequency band with a lower number of layers.
[0005] In a first aspect, the embodiments of this application provide a frequency band switching method, which is executed by a terminal. The frequency band switching method includes: when the terminal meets the frequency band switching condition, the terminal obtains the number of downlink layers of the currently resident frequency band and the number of pre-switching downlink layers of the pre-switching frequency band; when the number of pre-switching downlink layers is less than the number of resident downlink layers, within a first preset time period, the terminal loads network data through the resident downlink layer of the currently resident frequency band and the pre-switching downlink layer of the pre-switching frequency band; when the number of pre-switching downlink layers is greater than the number of resident downlink layers, the terminal switches to the pre-switching frequency band, and within a second preset time period, the terminal loads network data through some of the downlink layers of the pre-switching frequency band, and the number of layers of some of the downlink layers is the same as the number of resident downlink layers.
[0006] Second aspect, an embodiment of the present application provides a frequency band switching device, which is applied to a terminal. The frequency band switching device includes: an acquisition module, configured to acquire the number of downlink layers of the currently camped frequency band and the number of pre-switching downlink layers of the pre-switching frequency band when the terminal meets the frequency band switching condition; a loading module, configured to, when the number of pre-switching downlink layers is less than the number of downlink layers of the currently camped frequency band, load network data through the downlink layers of the currently camped frequency band and the downlink layers of the pre-switching frequency band within a first preset time period; the loading module is further configured to, when the number of pre-switching downlink layers is greater than the number of downlink layers of the currently camped frequency band, switch to the pre-switching frequency band, and load network data through some of the downlink layers of the pre-switching frequency band within a second preset time period, and the number of layers of some of the downlink layers is the same as the number of layers of the downlink layers of the currently camped frequency band.
[0007] Third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory. The memory stores a program or instruction that can run on the processor. When the program or instruction is executed by the processor, the steps of the method in the first aspect are implemented.
[0008] Fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method in the first aspect are implemented.
[0009] Fifth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor, and the processor is configured to run a program or instruction to implement the steps of the method in the first aspect.
[0010] Sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method in the first aspect.
[0011] In the embodiment of the present application, before the terminal switches from the currently camped frequency band to the pre-switching frequency band, the number of downlink layers of the currently camped frequency band is compared with the number of pre-switching downlink layers of the pre-switching frequency band, and different buffering stages are added based on the comparison result. When the number of pre-switching downlink layers is greater than or equal to the number of downlink layers of the currently camped frequency band, the terminal switches to the pre-switching frequency band and loads network data through some of the downlink layers in the pre-switching frequency band, which can avoid resource waste or power consumption increase caused by excessive network performance. When the number of pre-switching downlink layers is less than the number of downlink layers of the currently camped frequency band, network data is loaded through the currently camped frequency band and the pre-switching frequency band together. By combining the downlink layers of the currently camped frequency band and the downlink layers of the pre-switching frequency band, the total number of downlink layers of the frequency band is increased, ensuring that the transmission data stream does not suddenly decrease. At the same time, the network quality of the pre-switching frequency band detected and searched during this stage solves the problem of the decrease in the Internet access rate and network lag caused by the reduction of the data stream that can be transmitted simultaneously during the process of the terminal switching from a frequency band with a higher number of layers to a frequency band with a lower number of layers. Description of the Drawings
[0012] Figure 1 FIG. 1 shows one of the schematic flowcharts of the frequency band switching method provided in some embodiments of the present application;
[0013] Figure 2 FIG. 2 shows another schematic flowchart of the frequency band switching method provided in some embodiments of the present application;
[0014] Figure 3 FIG. 3 shows a schematic block diagram of the frequency band switching device provided in some embodiments of the present application;
[0015] Figure 4 FIG. 4 shows a schematic block diagram of an electronic device in some embodiments of the present application;
[0016] Figure 5 FIG. 5 shows a schematic diagram of the hardware structure of the electronic device provided in some embodiments of the present application. Detailed Description of the Embodiments
[0017] Next, the technical solutions in the embodiments of the present application will be clearly described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application belong to the scope of protection of the present application.
[0018] The terms "first", "second", etc. in the specification of the present application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that such terms can be interchanged under appropriate circumstances so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are usually of the same type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification means at least one of the connected objects, and the character " / " generally means an "or" relationship between the associated objects before and after.
[0019] Next, in conjunction with the attached Figures 1 to 5 drawings, the frequency band switching method, device, electronic device, and readable storage medium provided in the embodiments of the present application will be described in detail through specific embodiments and their application scenarios.
[0020] In some embodiments of the present application, a frequency band switching method is provided. Figure 1 FIG. 1 shows one of the schematic flowcharts of the frequency band switching method provided in some embodiments of the present application. As Figure 1 shown, the frequency band switching method includes:
[0021] Step 102: When the terminal meets the frequency band switching condition, the terminal obtains the number of downlink layers of the currently resident frequency band and the number of pre-switching downlink layers of the pre-switching frequency band.
[0022] It should be noted that the terminal is a terminal applying MIMO (Multiple Input Multiple Output) communication technology. The MIMO system improves the performance of the communication system by equipping multiple radio frequency channels and multiple antennas at the transmitting end and the receiving end. The MIMO system can transmit data simultaneously through multiple spatial channels, thereby significantly improving the throughput of wireless communication. Under ideal conditions, the capacity of the MIMO system can increase almost linearly with the increase in the number of antennas. By using spatial diversity technology, more reliable data transmission can be achieved in a multipath fading environment. By transmitting the same data stream to multiple receiving antennas, the receiving end can select a path with better signal for decoding, thereby reducing data loss and errors. The MIMO technology improves the communication performance by using multiple transmitting antennas at the transmitting end and multiple receiving antennas at the receiving end, and utilizes spatial multiplexing and spatial diversity. By receiving / sending different data streams simultaneously through multiple antennas, the data transmission rate is increased. For example, if 4 antennas are used and there are 4 channels, it is defined as 4 layers, and 4 data streams can be transmitted simultaneously, thereby improving the transmission rate. Due to network limitations or terminal radio frequency front-end architecture design reasons, the number of MIMO layers of the mobile terminal may be different in different network frequency bands. For example: 4 layers or 2 layers.
[0023] In the embodiments of the present application, the currently resident frequency band is the communication frequency band where the terminal is located before triggering the frequency band switching. When the terminal communicates in the currently resident frequency band, the terminal continuously detects the network quality of the currently resident frequency band. When the network quality of the currently resident frequency band is poor, it is determined that the terminal meets the frequency band switching condition. At this time, the terminal starts to search for a communication frequency band.
[0024] Specifically, when the terminal detects abnormal network signals or a decline in network performance, such as network lag, lag in playing online videos, network request timeouts, slow data upload or download speeds, etc., it is determined that the current network quality is poor. At this time, the terminal judges whether the terminal reaches the frequency band switching threshold according to the network protocol and the frequency band switching algorithm. If the frequency band switching threshold is reached, the terminal starts to search for a communication frequency band. If the terminal does not reach the frequency band switching threshold, it is determined that the current network quality is good, and the terminal remains in the currently resident frequency band and optimizes the network by switching cells or other methods to optimize network performance.
[0025] Exemplarily, the frequency band switching threshold is related to the signal strength parameter of the current frequency band signal. The signal strength parameter includes, but is not limited to, RSRP (Reference Signal Receiving Power) and RSRQ (Reference Signal Receiving Quality).
[0026] It should be noted that the serving base station of the current resident frequency band sends measurement configuration information to the terminal through Radio Resource Control (RRC) signaling, including the frequency bands to be measured, cell lists, measurement events, and related thresholds, where the measurement times are, for example, A3, A4, A5, etc. When the triggering condition of the measurement event is met, that is, the terminal detects that the frequency band switching condition is satisfied, the terminal sends a measurement report to the serving base station of the current resident frequency band. The measurement report contains the signal quality information of the serving cell and neighboring cells, indicating that the terminal of the serving base station of the current resident frequency band needs to switch the signal frequency band.
[0027] In the embodiment of the present application, the pre-switching frequency band is the signal frequency band searched by the terminal, that is, the terminal can switch from the current resident frequency band to the pre-switching frequency band for network communication. After searching for the pre-switching frequency band, the terminal actively detects the pre-switching downlink layers of the pre-switching frequency band, that is, the number of layers (layer) of the pre-switching frequency band, and obtains the resident downlink layers of the current resident frequency band, that is, the number of layers (layer) of the current resident frequency band.
[0028] It should be noted that the detection method for detecting the number of layers (layer) of the pre-switching frequency band can be added and embedded into the existing protocol switching algorithm.
[0029] Step 104, when the pre-switching downlink layers are less than the resident downlink layers, within the first preset time period, the terminal loads network data through the resident downlink layers of the current resident frequency band and the pre-switching downlink layers of the pre-switching frequency band;
[0030] In the embodiment of the present application, when it is detected that the pre-switching downlink layers are less than the resident downlink layers, it is determined that the number of data streams supported by the searched pre-switching frequency band is less than the number of data streams supported by the current resident frequency band, that is, there is a possibility that the network quality of the terminal further deteriorates during the process of the terminal switching from the current resident frequency band to the pre-switching frequency band and after switching to the pre-switching frequency band. At this time, the network data is loaded jointly through the resident downlink layers of the current resident frequency band and the pre-switching downlink layers of the pre-switching frequency band, that is, the number of frequency band downlink layers is increased.
[0031] Specifically, after the pre-switching frequency band is searched and the number of pre-switching downlink layers is less than the number of resident downlink layers, before switching to the pre-switching frequency band, the network data is first loaded through the combination of the pre-switching downlink layer and the resident downlink layer to ensure good network quality in the pre-switching stage before the frequency band is switched. That is, during the frequency band switching process, a buffered data signal transmission stage is added. During this data signal transmission stage, all downlink layers in the current resident frequency band and the pre-switching frequency band participate in loading the network data, which can ensure better terminal network performance before and after the frequency band switching, reduce the network latency and the duration of signal drop during the frequency band switching process, improve the network performance, and thus improve the terminal user network experience.
[0032] Exemplarily, if the number of resident downlink layers of the current resident frequency band is 4 layers and the number of pre-switching downlink layers of the pre-switching frequency band is 2 layers, the network data is loaded in the way of 4 layers + 2 layers.
[0033] Step 106, when the number of pre-switching downlink layers is greater than the number of resident downlink layers, the terminal switches to the pre-switching frequency band, and within the second preset time period, the terminal loads the network data through some downlink layers of the pre-switching frequency band, and the number of some downlink layers is the same as the number of resident downlink layers.
[0034] In the embodiment of the present application, when the number of pre-switching downlink layers of the searched pre-switching frequency band is higher than the number of resident downlink layers, it is determined that the power consumption when the terminal communicates through the pre-switching frequency band is higher than the power consumption when the terminal communicates through the current resident frequency band. At this time, the terminal directly switches to the pre-switching frequency band and loads the network data through some downlink layers in the pre-switching frequency band, and the number of some downlink layers is the same as the number of resident downlink layers.
[0035] Specifically, when the number of pre-switching layers of the searched pre-switching frequency band is greater than the number of resident layers of the current resident frequency band, the terminal uses the pre-switching frequency band for network communication and only loads the network data through some downlink layers in the pre-switching frequency band that are the same as the current resident layers. That is, during the frequency band switching process, a buffered data signal transmission stage is added. During this stage, only some downlink layers in the pre-switching frequency band are used to load the network data, which can avoid resource waste or power consumption increase caused by excessive network performance.
[0036] In the embodiments of the present application, before the terminal switches from the current resident frequency band to the pre-switching frequency band, the number of downlink layers of the current resident frequency band is compared with the number of pre-switching downlink layers of the pre-switching frequency band, and different buffering stages are added based on the comparison result. When the number of pre-switching downlink layers is greater than or equal to the number of downlink layers of the resident frequency band, the terminal switches to the pre-switching frequency band and loads network data through some downlink layers in the pre-switching frequency band, which can avoid resource waste or power consumption increase caused by excessive network performance. When the number of pre-switching downlink layers is less than the number of downlink layers of the resident frequency band, network data is loaded through both the current resident frequency band and the pre-switching frequency band. By combining the downlink layers of the current resident frequency band and the downlink layers of the pre-switching frequency band, the total number of downlink layers of the frequency band is increased, ensuring that the transmission data stream does not suddenly decrease. At the same time, the network quality of the detected pre-switching frequency band is detected during this stage, solving the problem of the decrease in the Internet access rate and network lag caused by the reduction of the data stream that can be transmitted simultaneously during the process of the terminal switching from a frequency band with a higher number of layers to a frequency band with a lower number of layers.
[0037] In some embodiments of the present application, during the first preset time period, the terminal loads network data through the downlink layer of the current resident frequency band and the pre-switching downlink layer of the pre-switching frequency band, including:
[0038] The terminal sends a combined request message to the base station of the pre-switching frequency band; in response to the combined response message sent back by the base station of the pre-switching frequency band, the terminal loads network data based on the combined downlink layer during the first preset time period; wherein, the number of layers of the combined downlink layer is the sum of the number of layers of the downlink layer of the resident frequency band and the number of layers of the pre-switching downlink layer.
[0039] In the embodiments of the present application, during the process of loading network data through the downlink layer of the resident frequency band and the pre-switching downlink layer, the terminal needs to send a combined request message to the base station of the pre-switching frequency band. After receiving the combined request message, the base station of the pre-switching frequency band can send back a combined response message corresponding to the combined request message, and the combined response message is used to prompt the terminal that it can load network data by combining the downlink layers of the frequency bands before and after the switch.
[0040] Exemplarily, the combined request message is the Combo Request (combined request) field information actively sent by the terminal to the base station of the pre-switching frequency band, and the combined response message is the corresponding Combo Response (combined response) field information sent down by the base station of the pre-switching frequency band.
[0041] In the embodiments of the present application, after receiving the combined response information, the terminal can enter the buffer state in the handover decision process. During the handover decision process, the downlink layer of the current resident frequency band before handover is combined with the pre-handover downlink layer of the pre-handover frequency band after handover to obtain a combined downlink layer. The number of layers of the combined downlink layer is the sum of the number of layers of the pre-handover downlink layer and the number of layers of the resident downlink layer, and network data is loaded through the combined downlink layer. It should be noted that loading network data through the downlink layers of multiple frequency bands for a long time will increase power consumption. By setting a first time period, the terminal can determine whether the network quality of the pre-handover frequency band is higher than that of the current resident frequency band within the first time period.
[0042] Exemplarily, the value range of the first time period is from 1 second to 5 seconds.
[0043] Exemplarily, if the number of resident downlink layers is 4 layers and the number of pre-handover downlink layers is 2 layers, then the combined downlink layer obtained by combination is 4 layers + 2 layers, with a total of 6 downlink layers.
[0044] In the embodiments of the present application, before the terminal switches from the current resident frequency band to the pre-handover frequency band, loading network data through the resident downlink layer and the pre-handover downlink layer in the current resident frequency band and the pre-handover frequency band can avoid suddenly switching from a downlink layer with a higher number of layers to a downlink layer with a lower number of layers, which affects the Internet access experience of the terminal.
[0045] In some embodiments of the present application, when the number of pre-handover downlink layers is less than the number of resident downlink layers, after the terminal loads network data through the resident downlink layer of the current resident frequency band and the pre-handover downlink layer of the pre-handover frequency band within the first preset time period, the frequency band switching method further includes: when the network quality of the pre-handover frequency band is higher than that of the current resident frequency band, the terminal switches from the current resident frequency band to the pre-handover frequency band; when the network quality of the pre-handover frequency band is lower than or equal to that of the current resident frequency band, the terminal searches and updates the pre-handover frequency band, and returns to execute the step of obtaining the number of pre-handover downlink layers of the pre-handover frequency band.
[0046] In the embodiments of the present application, when the terminal loads network data through the resident downlink layer and the pre-handover downlink layer, the terminal can obtain the network quality of the pre-handover frequency band. Specifically, when the terminal loads network data through the pre-handover frequency band and the current resident frequency band together, the terminal can detect the network quality of the pre-handover frequency band. Specifically, after the terminal detects the network quality of the pre-handover frequency band, it can compare the network quality of the pre-handover frequency band with the network quality of the current resident frequency band. When the network quality of the pre-handover frequency band is higher than that of the current resident frequency band, it is determined that the network performance of the terminal can be improved after the terminal switches to the pre-handover frequency band. At this time, the terminal switches from the current resident frequency band to the pre-handover frequency band for network communication.
[0047] When the network quality of the pre-switching frequency band is lower than or equal to that of the currently camped frequency band, it is determined that the network performance of the terminal will not improve after the terminal switches to the pre-switching frequency band, and there may be a risk of network performance degradation. At this time, the terminal re-searches the pre-switching frequency band, obtains a new pre-switching frequency band, and then continues to execute the steps of obtaining the pre-switching downlink layer number of the pre-switching frequency band, comparing the pre-switching downlink layer number with the camped downlink layer number, and entering different buffering stages according to the comparison result.
[0048] In the embodiments of the present application, after the terminal loads network data through the currently camped downlink layer and the pre-switching downlink layer, the terminal can compare the network quality of the pre-switching frequency band with that of the currently camped frequency band. When it is determined that the network quality of the pre-switching frequency band is higher, the terminal switches to the pre-switching frequency band for network communication. When it is determined that the network quality of the pre-switching frequency band is lower, the terminal re-searches the pre-switching frequency band during the buffering stage of loading network data through both frequency bands, and returns to execute the process of comparing the pre-switching downlink layer number and the camped downlink layer number, and searches for a suitable pre-switching frequency band during the buffering stage, so as to avoid the situation that the terminal switches to a pre-switching frequency band with worse network quality, resulting in a deterioration of the terminal's network communication effect after switching the frequency band.
[0049] In some embodiments of the present application, when the number of times the terminal searches and updates the pre-switching frequency band is less than the number threshold, the steps of obtaining the pre-switching downlink layer number of the pre-switching frequency band are returned for execution;
[0050] When the number of times the terminal searches and updates the pre-switching frequency band reaches the number threshold, the terminal camps on the currently camped frequency band.
[0051] In the embodiments of the present application, when the terminal executes the search and update of the pre-switching frequency band, it can count the number of times of searching and updating the pre-switching frequency band, and judge the numerical relationship between the number of times of searching and updating the pre-switching frequency band and the number threshold before loading network data through all downlink layers in the currently camped frequency band and the pre-switching frequency band. And according to the numerical relationship, select whether to continue to execute the action of searching and updating the pre-switching frequency band, as follows:
[0052] If the number of times of searching and updating the pre-switching frequency band is greater than the number threshold, it is determined that a pre-switching frequency band with network quality higher than that of the currently camped frequency band cannot be quickly found, then the terminal camps on the currently camped frequency band to avoid further degradation of the terminal's network performance caused by switching the frequency band. If the number of times of searching and updating the pre-switching frequency band is less than the number threshold, the steps of the terminal searching and updating the pre-switching frequency band are returned for execution until a pre-switching frequency band with network quality higher than that of the currently camped frequency band is found, or the search stops when the number threshold is reached. When a pre-switching frequency band with network quality higher than that of the currently camped frequency band is found, the terminal switches to the pre-switching frequency band with higher network quality.
[0053] Exemplarily, the value range of the number threshold is from 4 to 10 times.
[0054] In the embodiments of the present application, when the network quality of the pre-switching frequency band searched is low, the terminal can return to re-perform the process of searching for the pre-switching frequency band, so that the terminal can find a pre-switching frequency band with higher network quality for network communication, and can also count the number of times of searching and updating the pre-switching frequency band. When the number of times of searching and updating the pre-switching frequency band reaches the number threshold, it is determined that a pre-switching frequency band with higher network quality cannot be found in a short time, and the terminal stays in the current resident frequency band to avoid further deterioration of the terminal network performance caused by channel switching.
[0055] In some embodiments of the present application, when the number of pre-switching downlink layers is greater than the number of resident downlink layers, the terminal switches to the pre-switching frequency band, and within a second preset time period, the terminal loads network data through some downlink layers of the pre-switching frequency band, including: when the data transmission performance of some downlink layers meets the current network performance requirements of the terminal, the terminal loads network data through some downlink layers within the second preset time period. When the data transmission performance of some downlink layers does not meet the current network performance requirements of the terminal, the terminal loads network data through all downlink layers of the pre-switching frequency band.
[0056] In the embodiments of the present application, when the number of pre-switching downlink layers of the searched pre-switching frequency band is higher than the number of resident downlink layers, it is determined that the power consumption when the terminal performs network communication through the pre-switching frequency band is higher than the power consumption when the terminal performs network communication through the current resident frequency band. At this time, the terminal obtains the data transmission performance of some downlink layers in the pre-switching frequency band, and the number of some downlink layers is the same as the number of resident downlink layers. If the data transmission performance of some downlink layers can meet the current network performance requirements of the terminal, the terminal loads network data through some downlink layers in the pre-switching frequency band that are the same as the current resident layer number within the second preset time period. If the data transmission performance of some downlink layers cannot meet the current network performance requirements of the terminal, the terminal loads network data through all downlink layers in the pre-switching frequency band.
[0057] Exemplarily, when the number of pre-switching layers of the pre-switching frequency band is greater than the number of resident layers of the current resident frequency band, the terminal sends Detect (detection) information to the base station of the pre-switching frequency band, and the detection information is used to detect the data transmission performance of the pre-switching downlink layer in the pre-switching frequency band. The base station of the pre-switching frequency band responds to the Detect information and sends a RevDetect (detection response) information to the terminal, and the terminal can determine the data transmission performance of all or some downlink layers in the pre-switching frequency band through the RevDetect information.
[0058] Exemplarily, when the number of pre-switching downlink layers in the pre-switching frequency band is 4 layers, and the number of resident downlink layers in the current resident frequency band is 2 layers, and 2 layers in the pre-switching frequency band can meet the current network performance requirements of the terminal, the network data is loaded through the pre-switching frequency band, and only 2 layers of the partial downlink layers in the pre-switching frequency band are used to load the network data.
[0059] Exemplarily, when the number of pre-switching downlink layers in the pre-switching frequency band is 4 layers, and the number of resident downlink layers in the current resident frequency band is 2 layers, and 2 layers in the pre-switching frequency band cannot meet the current network performance requirements of the terminal, the network data is loaded through the pre-switching frequency band, and 4 layers of the downlink layers in the pre-switching frequency band are used to load the network data.
[0060] In the embodiments of the present application, when the number of pre-switching layers in the searched pre-switching frequency band is greater than the number of resident layers in the current resident frequency band, the terminal uses the pre-switching frequency band for network communication. When it is determined that the data transmission performance of the partial downlink layers in the pre-switching frequency band that are the same as the current resident layer meets the current network performance requirements of the terminal, only partial downlink layers in the pre-switching frequency band are used for network communication, which can avoid resource waste or power consumption increase caused by excessive network performance.
[0061] In some embodiments of the present application, in the case where the number of pre-switching downlink layers is greater than the number of resident downlink layers, the terminal switches to the pre-switching frequency band. After the terminal loads network data through partial downlink layers of the pre-switching frequency band within the second preset time period, the frequency band switching method further includes the terminal obtaining the network quality of the partial downlink layers within the second preset time period; in the case where the network quality of the partial downlink layers is higher than or equal to the quality threshold, the terminal maintains loading network data through the partial downlink layers; in the case where the network quality of the partial downlink layers is lower than the quality threshold, the terminal loads network data through all downlink layers of the pre-switching frequency band.
[0062] In the embodiments of the present application, within the second preset time period when starting to load network data through partial downlink layers of the pre-switching frequency band, the network quality of the partial downlink layers is continuously obtained, that is, the network quality of the terminal loading network data through the pre-switching frequency band is monitored. When the network quality of loading network data through partial downlink layers in the pre-switching frequency band is higher than or equal to the quality threshold, it is determined that the partial downlink layers can meet the network communication requirements of the terminal, and then continue to use partial downlink layers in the pre-switching frequency band to load network data, so as to ensure loading network data with lower power consumption. When the network quality of loading network data through partial downlink layers in the pre-switching frequency band is lower than the quality threshold, it is determined that loading network data through partial downlink layers in the pre-switching frequency band cannot meet the network communication requirements of the terminal, and then the terminal loads network data through all downlink layers of the pre-switching frequency band to improve the network performance of the terminal.
[0063] It should be noted that the second preset time period is the buffer stage for the terminal to perform band switching. By designing the duration of the second preset time period, the terminal has sufficient time to detect whether the network quality of some downlink layers in the pre-switched band can meet the network communication requirements. Exemplarily, the value range of the second preset time period is from 1 second to 5 seconds.
[0064] Exemplarily, the parameters of network quality include but are not limited to: RSRP, RSRQ, network latency, data upload speed, data loading speed, etc.
[0065] Figure 2 FIG. 2 shows the second schematic flowchart of the band switching method provided in some embodiments of the present application. As Figure 2 shown, the band switching method includes:
[0066] Step 201, detecting that the terminal network signal is abnormal or the network performance has decreased;
[0067] Step 202, determining whether the band switching condition is satisfied. If it is determined to be yes, execute Step 203; if it is determined to be no, execute Step 211;
[0068] Step 203, searching for communication bands;
[0069] Step 204, determining whether the number of pre-switched downlink layers is less than the number of resident downlink layers. If it is determined to be yes, execute Step 205; if it is determined to be no, execute Step 210;
[0070] Step 205, jointly loading network data by combining the resident downlink layer and the pre-switched downlink layer for a first duration;
[0071] Step 206, determining whether the network quality of the pre-switched band is higher than the network quality of the current resident band. If it is determined to be yes, execute Step 210; if it is determined to be no, execute Step 207;
[0072] Step 207, searching for a new pre-switched band and counting the number of search times;
[0073] Step 208, determining whether the number of search times is greater than the number threshold. If it is determined to be yes, execute Step 211; if it is determined to be no, execute Step 209;
[0074] Step 209, determining whether a new pre-switched band is detected. If it is determined to be yes, return to execute Step 204; if it is determined to be no, execute Step 205;
[0075] Step 210, switching to the pre-switched band and resident in the new band;
[0076] Step 211, remaining in the current resident band and performing operations such as switching cells or other means to optimize network performance.
[0077] The frequency band switching method provided by the embodiments of the present application may be executed by a frequency band switching device. In the embodiments of the present application, taking the frequency band switching device executing the frequency band switching method as an example, the frequency band switching method provided by the embodiments of the present application is described.
[0078] In some embodiments of the present application, a frequency band switching device is provided. Figure 3 The schematic block diagram of the frequency band switching device provided in some embodiments of the present application is shown. As Figure 3 shown, the frequency band switching device 300 includes:
[0079] An acquisition module 302, configured to acquire the number of downlink layers of the currently resident frequency band and the number of pre-switching downlink layers of the pre-switching frequency band when the terminal meets the frequency band switching condition;
[0080] A loading module 304, configured to load network data through the downlink layer of the currently resident frequency band and the downlink layer of the pre-switching frequency band within a first preset time period when the number of pre-switching downlink layers is less than the number of downlink layers of the resident frequency band;
[0081] The loading module 304 is further configured to switch to the pre-switching frequency band when the number of pre-switching downlink layers is greater than the number of downlink layers of the resident frequency band, and load network data through some downlink layers of the pre-switching frequency band within a second preset time period, and the number of layers of some downlink layers is the same as the number of layers of the downlink layer of the resident frequency band.
[0082] In the embodiments of the present application, before the terminal switches from the currently resident frequency band to the pre-switching frequency band, the number of downlink layers of the currently resident frequency band is compared with the number of pre-switching downlink layers of the pre-switching frequency band, and different buffering stages are added based on the comparison result. When the number of pre-switching downlink layers is greater than or equal to the number of downlink layers of the resident frequency band, the terminal switches to the pre-switching frequency band and loads network data through some downlink layers in the pre-switching frequency band, which can avoid resource waste or power consumption increase caused by excessive network performance. When the number of pre-switching downlink layers is less than the number of downlink layers of the resident frequency band, network data is loaded jointly through the currently resident frequency band and the pre-switching frequency band, and the downlink layer of the currently resident frequency band is combined with the downlink layer of the pre-switching frequency band to increase the overall number of downlink layers of the frequency band, ensuring that the transmission data stream does not suddenly decrease. At the same time, the network quality of the detected pre-switching frequency band is detected during this stage, solving the problem of the decrease in the Internet access rate and network lag caused by the reduction of the data stream that can be transmitted simultaneously during the process of the terminal switching from a frequency band with a higher number of layers to a frequency band with a lower number of layers.
[0083] In some embodiments of the present application, the frequency band switching device 300 further includes:
[0084] A sending module, configured to send combined request information to the base station of the pre-switching frequency band;
[0085] The loading module 304 is further configured to, in response to the combined response information sent back by the base station in the pre-switching frequency band, load network data based on the combined downlink layer within the first preset time period;
[0086] Wherein, the number of layers of the combined downlink layer is the sum of the number of layers of the resident downlink layer and the number of layers of the pre-switching downlink layer.
[0087] In the embodiments of the present application, before the terminal switches from the current resident frequency band to the pre-switching frequency band, loading network data through the resident downlink layer and the pre-switching downlink layer in the current resident frequency band and the pre-switching frequency band can avoid affecting the network performance of the terminal due to a sudden switch from a downlink layer with a higher number of layers to a downlink layer with a lower number of layers.
[0088] In some embodiments of the present application, the frequency band switching device 300 further includes:
[0089] A switching module, configured to switch from the current resident frequency band to the pre-switching frequency band when the network quality of the pre-switching frequency band is higher than that of the current resident frequency band;
[0090] An execution module, configured to search for and update the pre-switching frequency band when the network quality of the pre-switching frequency band is lower than or equal to that of the current resident frequency band, and return to execute the step of obtaining the number of pre-switching downlink layers of the pre-switching frequency band.
[0091] In the embodiments of the present application, after the terminal loads network data through the current resident downlink layer and the pre-switching downlink layer, the terminal can compare the network quality of the pre-switching frequency band with that of the current resident frequency band. When it is determined that the network quality of the pre-switching frequency band is higher, switch to the pre-switching frequency band for network communication. When it is determined that the network quality of the pre-switching frequency band is lower, re-search for the pre-switching frequency band during the buffering stage of loading network data through both frequency bands, and return to execute the process of comparing the number of pre-switching downlink layers and the number of resident downlink layers, and find a suitable pre-switching frequency band during the buffering stage to avoid the situation that the terminal switches to a pre-switching frequency band with worse network quality, resulting in a deterioration of the terminal's network communication effect after switching the frequency band.
[0092] In some embodiments of the present application, the switching module is further configured to return to execute the step of obtaining the number of pre-switching downlink layers of the pre-switching frequency band when the number of times of searching for and updating the pre-switching frequency band is less than the number threshold;
[0093] The frequency band switching device 300 further includes:
[0094] A resident module, configured to reside in the current resident frequency band when the number of times the terminal searches for and updates the pre-switching frequency band reaches the number threshold.
[0095] In the embodiments of the present application, when the network quality of the pre-switching frequency band found is low, the terminal can return to re-perform the process of searching for the pre-switching frequency band, enabling the terminal to find a pre-switching frequency band with higher network quality for network communication. Moreover, the number of times of searching and updating the pre-switching frequency band can be counted. When the number of times of searching and updating the pre-switching frequency band reaches the number threshold, it is determined that a pre-switching frequency band with higher network quality cannot be found in a short time, and then the terminal stays in the current resident frequency band to avoid further degradation of the terminal network performance caused by channel switching.
[0096] In some embodiments of the present application, the loading module 304 is further configured to load network data through a partial downlink layer within a second preset time period when the data transmission performance of the partial downlink layer meets the current network performance requirements of the terminal.
[0097] In the embodiments of the present application, when the number of pre-switching layers of the found pre-switching frequency band is greater than or equal to the number of resident frequency band layers of the current resident frequency band, the terminal uses the pre-switching frequency band for network communication. And when it is determined that the data transmission performance of the partial downlink layer in the pre-switching frequency band that is the same as the current resident layer meets the current network performance requirements of the terminal, only the network communication is performed through the partial downlink layer in the pre-switching frequency band, which can avoid resource waste or power consumption increase caused by excessive network performance.
[0098] In some embodiments of the present application, the obtaining module 302 is further configured to obtain the network quality of the partial downlink layer within a second preset time period.
[0099] The loading module 304 is further configured to maintain loading network data through the partial downlink layer when the network quality of the partial downlink layer is higher than or equal to the quality threshold.
[0100] The loading module 304 is further configured to load network data through all downlink layers of the pre-switching frequency band when the network quality of the partial downlink layer is lower than the quality threshold.
[0101] In the embodiments of the present application, within the second preset time period when starting to load network data through the partial downlink layer of the pre-switching frequency band, continuously obtain the network quality of the partial downlink layer, that is, monitor the network quality of the terminal loading network data through the pre-switching frequency band. When the network quality of loading network data through the partial downlink layer in the pre-switching frequency band is higher than or equal to the quality threshold, it is determined that the partial downlink layer can meet the network communication requirements of the terminal, and then continue to use the partial downlink layer in the pre-switching frequency band to load network data, so as to ensure loading network data with lower power consumption. When the network quality of loading network data through the partial downlink layer in the pre-switching frequency band is lower than the quality threshold, it is determined that loading network data through the partial downlink layer in the pre-switching frequency band cannot meet the network communication requirements of the terminal, and then the terminal loads network data through all downlink layers of the pre-switching frequency band to improve the network performance of the terminal.
[0102] The frequency band switching device in the embodiments of the present application may be an electronic device or a component in an electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal or other devices other than terminals. Exemplarily, the electronic device may be a mobile phone, a tablet computer, a laptop computer, a handheld computer, a vehicle-mounted electronic device, a Mobile Internet Device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. It may also be a server, a Network Attached Storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc. The embodiments of the present application do not make specific limitations.
[0103] The frequency band switching device in the embodiments of the present application may be a device with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems. The embodiments of the present application do not make specific limitations.
[0104] The frequency band switching device provided in the embodiments of the present application can implement each process implemented by the above method embodiments. To avoid repetition, it will not be elaborated here.
[0105] Optionally, the embodiments of the present application further provide an electronic device. Figure 4 The block diagram of the electronic device in some embodiments of the present application is shown. As Figure 4 shown, the electronic device 400 includes a processor 402, a memory 404, a program or instruction stored on the memory 404 and executable on the processor 402. When the program or instruction is executed by the processor 402, it implements each process of the above frequency band switching method embodiments and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.
[0106] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
[0107] Figure 5 The schematic diagram of the hardware structure of an electronic device for implementing the embodiments of the present application.
[0108] The electronic device 500 includes, but is not limited to, components such as a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, and a processor 510.
[0109] Those skilled in the art can understand that the electronic device 500 may further include a power source (such as a battery) for supplying power to each component. The power source can be logically connected to the processor 510 through a power management system, so as to implement functions such as management of charging, discharging, and power consumption management through the power management system. Figure 5 The structure of the electronic device shown does not limit the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0110] Among them, the processor 510 is used to obtain the number of downlink layers of the currently resident frequency band and the number of pre-switching downlink layers of the pre-switching frequency band when the terminal meets the frequency band switching condition;
[0111] The processor 510 is used to load network data through the downlink layer of the currently resident frequency band and the pre-switching downlink layer of the pre-switching frequency band within a first preset time period when the number of pre-switching downlink layers is less than the number of downlink layers of the currently resident frequency band;
[0112] The processor 510 is used to switch to the pre-switching frequency band when the number of pre-switching downlink layers is greater than the number of downlink layers of the currently resident frequency band, and load network data through some downlink layers of the pre-switching frequency band within a second preset time period, and the number of layers of some downlink layers is the same as the number of layers of the downlink layer of the currently resident frequency band.
[0113] In the embodiments of the present application, before the terminal switches from the currently resident frequency band to the pre-switching frequency band, the number of downlink layers of the currently resident frequency band is compared with the number of pre-switching downlink layers of the pre-switching frequency band, and different buffering stages are added based on the comparison result. When the number of pre-switching downlink layers is greater than or equal to the number of downlink layers of the currently resident frequency band, the terminal switches to the pre-switching frequency band and loads network data through some downlink layers in the pre-switching frequency band, which can avoid resource waste or power consumption increase caused by excessive network performance. When the number of pre-switching downlink layers is less than the number of downlink layers of the currently resident frequency band, network data is loaded jointly through the currently resident frequency band and the pre-switching frequency band, and the downlink layer of the currently resident frequency band is combined with the downlink layer of the pre-switching frequency band to increase the overall number of downlink layers of the frequency band, ensuring that the transmission data stream does not suddenly decrease. At the same time, the network quality of the detected and searched pre-switching frequency band is detected during this stage, solving the problem of the decrease in the Internet access rate and network lag caused by the reduction in the number of data streams that can be transmitted simultaneously during the process of the terminal switching from a frequency band with a higher number of layers to a frequency band with a lower number of layers.
[0114] Further, the radio frequency unit 501 is configured to send combined request information to the base station in the pre-switching frequency band;
[0115] The processor 510 is configured to, in response to the combined response information returned by the base station in the pre-switching frequency band, load network data based on the combined downlink layer within a first preset time period;
[0116] Wherein, the number of layers of the combined downlink layer is the sum of the number of layers of the resident downlink layer and the number of layers of the pre-switching downlink layer.
[0117] In the embodiment of the present application, before the terminal switches from the current resident frequency band to the pre-switching frequency band, by loading network data through the resident downlink layer and the pre-switching downlink layer in the current resident frequency band and the pre-switching frequency band, it is possible to avoid the sudden switch from a downlink layer with a higher number of layers to a downlink layer with a lower number of layers, which affects the network performance of the terminal.
[0118] Further, the processor 510 is configured to switch from the current resident frequency band to the pre-switching frequency band when the network quality of the pre-switching frequency band is higher than that of the current resident frequency band;
[0119] The processor 510 is configured to search for and update the pre-switching frequency band when the network quality of the pre-switching frequency band is lower than or equal to that of the current resident frequency band, and return to execute the step of obtaining the number of pre-switching downlink layers of the pre-switching frequency band.
[0120] In the embodiment of the present application, after the terminal loads network data through the current resident downlink layer and the pre-switching downlink layer, the terminal can compare the network quality of the pre-switching frequency band with that of the current resident frequency band. When it is determined that the network quality of the pre-switching frequency band is higher, switch to the pre-switching frequency band for network communication. When it is determined that the network quality of the pre-switching frequency band is lower, re-search for the pre-switching frequency band during the buffering stage of loading network data through the two frequency bands, and return to execute the process of comparing the number of pre-switching downlink layers and the number of resident downlink layers, and find a suitable pre-switching frequency band during the buffering stage to avoid the situation that the terminal switches to a pre-switching frequency band with worse network quality, resulting in a deterioration of the terminal's network communication effect after switching frequency bands.
[0121] Further, the processor 510 is configured to return to execute the step of obtaining the number of pre-switching downlink layers of the pre-switching frequency band when the number of times of searching for and updating the pre-switching frequency band is less than the number threshold;
[0122] The processor 510 is configured to remain resident in the current resident frequency band when the number of times the terminal searches for and updates the pre-switching frequency band reaches the number threshold.
[0123] In an embodiment of the present application, when the network quality of the pre-switching frequency band found is low, the terminal can return to re-perform the process of searching for the pre-switching frequency band, enabling the terminal to find a pre-switching frequency band with higher network quality for network communication. Moreover, it can also count the number of times of searching and updating the pre-switching frequency band. When the number of times of searching and updating the pre-switching frequency band reaches the threshold number of times, it is determined that a pre-switching frequency band with higher network quality cannot be found in a short time, and then the terminal stays in the current resident frequency band to avoid further degradation of the terminal network performance caused by channel switching.
[0124] Further, the processor 510 is configured to load network data through a partial downlink layer within a second preset time period when the data transmission performance of the partial downlink layer meets the current network performance requirements of the terminal.
[0125] In an embodiment of the present application, when the number of pre-switching layers of the found pre-switching frequency band is greater than or equal to the number of resident layers of the current resident frequency band, the terminal uses the pre-switching frequency band for network communication. And when it is determined that the data transmission performance of the partial downlink layer in the pre-switching frequency band that is the same as the current resident layer meets the current network performance requirements of the terminal, only the partial downlink layer in the pre-switching frequency band is used for network communication, which can avoid resource waste or power consumption increase caused by excessive network performance.
[0126] Further, the processor 510 is configured to obtain the network quality of the partial downlink layer within a second preset time period;
[0127] The processor 510 is configured to maintain loading network data through the partial downlink layer when the network quality of the partial downlink layer is higher than or equal to the quality threshold;
[0128] The processor 510 is configured to load network data through all downlink layers of the pre-switching frequency band when the network quality of the partial downlink layer is lower than the quality threshold.
[0129] In an embodiment of the present application, within the second preset time period when starting to load network data through the partial downlink layer of the pre-switching frequency band, continuously obtain the network quality of the partial downlink layer, that is, monitor the network quality of the terminal loading network data through the pre-switching frequency band. When the network quality of loading network data through the partial downlink layer in the pre-switching frequency band is higher than or equal to the quality threshold, it is determined that the partial downlink layer can meet the network communication requirements of the terminal, and then continue to use the partial downlink layer in the pre-switching frequency band to load network data, so as to ensure loading network data with lower power consumption. When the network quality of loading network data through the partial downlink layer in the pre-switching frequency band is lower than the quality threshold, it is determined that loading network data through the partial downlink layer in the pre-switching frequency band cannot meet the network communication requirements of the terminal, and then the terminal loads network data through all downlink layers of the pre-switching frequency band to improve the network performance of the terminal.
[0130] It should be understood that in the embodiments of the present application, the input unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042. The graphics processor 5041 processes the image data of the static pictures or action files obtained by an image capturing device (such as a camera) in the action file capturing mode or the image capturing mode. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of, for example, a liquid crystal display, an organic light emitting diode, etc. The user input unit 507 includes at least one of a touch panel 5071 and other input devices 5072. The touch panel 5071 is also referred to as a touch screen. The touch panel 5071 may include two parts: a touch detection device and a touch controller. The other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, which will not be elaborated herein.
[0131] The memory 509 can be used to store software programs and various data. The memory 509 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data. Among them, the first storage area may store an operating system, application programs or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 509 may include a volatile memory or a non-volatile memory, or the memory 509 may include both a volatile and a non-volatile memory. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDR SDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synch link dynamic random access memory (SLDRAM), and a direct rambus random access memory (DRRAM). The memory 509 in the embodiments of the present application includes but is not limited to these and any other suitable types of memories.
[0132] The processor 510 may include one or more processing units; optionally, the processor 510 integrates an application processor and a modem processor. Among them, the application processor mainly processes operations related to the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communication signals, such as a baseband processor. It can be understood that the above-mentioned modem processor may not be integrated into the processor 510 either.
[0133] The embodiments of the present application further provide a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, it implements each process of the above method embodiments and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.
[0134] Among them, the processor is the processor in the electronic device in the above-mentioned embodiment. The readable storage medium includes computer-readable storage media, such as computer read-only memory ROM, random access memory RAM, magnetic disk or optical disc, etc.
[0135] Another embodiment of the present application provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement each process of the above-mentioned embodiment of the frequency band switching method, and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.
[0136] It should be understood that the chip mentioned in the embodiment of the present application may also be referred to as a system-on-chip, system chip, chip system, or system-on-chip, etc.
[0137] The embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement each process of the above-mentioned embodiment of the frequency band switching method, and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.
[0138] It should be noted that in this article, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, device, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, device, article or device. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of another identical element in the process, device, article or device including the element. In addition, it should be pointed out that the devices and the scope of the devices in the embodiments of the present application are not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in a reverse order according to the functions involved. For example, the described devices may be executed in a different order than described, and various steps may be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0139] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment devices can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. The computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disc), and includes several instructions to enable a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the devices of the various embodiments of the present application.
[0140] The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not restrictive. Under the inspiration of the present application, those of ordinary skill in the art can also make many forms without departing from the purpose of the present application and the scope protected by the claims, and all of them fall within the protection scope of the present application.
Claims
1. A frequency band switching method, performed by a terminal, characterized in that: The frequency band switching method comprises: When the terminal meets the frequency band switching condition, the terminal obtains the number of resident downlink layers of the current resident frequency band and the number of pre-switching downlink layers of the pre-switching frequency band; In a case where the number of pre-switching downlink layers is less than the number of resident downlink layers, the terminal loads network data through the resident downlink layer of the current resident frequency band and the pre-switching downlink layer of the pre-switching frequency band within a first preset time period; When the number of pre-switching downlink layers is greater than the number of resident downlink layers, the terminal switches to the pre-switching frequency band, and within a second preset time period, the terminal loads network data through part of the downlink layers of the pre-switching frequency band, and the number of the part of the downlink layers is the same as the number of the resident downlink layers.
2. The frequency band switching method according to claim 1, characterized in that: The terminal loading network data through the resident downlink layer of the current resident frequency band and the pre-switching downlink layer of the pre-switching frequency band within the first preset time period includes: The terminal sends combination request information to the base station of the pre-switching frequency band; The terminal loads network data based on the combined downlink layer within the first preset time period in response to the combined response information returned by the base station of the pre-switching frequency band; The number of layers of the combined downlink layer is the sum of the number of layers of the resident downlink layer and the number of layers of the pre-switching downlink layer.
3. The frequency band switching method according to claim 1, characterized in that: In the case where the number of pre-switching downlink layers is less than the number of resident downlink layers, after the terminal loads network data through the resident downlink layer of the current resident frequency band and the pre-switching downlink layer of the pre-switching frequency band within a first preset time period, the frequency band switching method further includes: When the network quality of the pre-switching frequency band is higher than the network quality of the current resident frequency band, the terminal switches from the current resident frequency band to the pre-switching frequency band; When the network quality of the pre-switching frequency band is lower than or equal to the network quality of the currently resident frequency band, the terminal searches for and updates the pre-switching frequency band, and returns to execute the step of acquiring the number of pre-switching downlink layers of the pre-switching frequency band.
4. The frequency band switching method according to claim 3, characterized in that: When the number of times the terminal searches and updates the pre-switching frequency band is less than the number threshold, returning to the step of acquiring the number of pre-switching downlink layers of the pre-switching frequency band; When the number of times that the terminal searches and updates the pre-switching frequency band reaches the number threshold, the terminal resides in the current resident frequency band.
5. The frequency band switching method according to claim 1, characterized in that: In a case where the number of pre-switching downlink layers is greater than the number of resident downlink layers, the terminal switches to the pre-switching frequency band, and within a second preset time period, the terminal loads network data through part of the downlink layers of the pre-switching frequency band, including: In a case where the data transmission performance of the partial downlink layer meets the current network performance requirement of the terminal, the terminal loads network data through the partial downlink layer within the second preset time period.
6. The frequency band switching method according to claim 1, characterized in that: In the case where the number of pre-switching downlink layers is greater than the number of resident downlink layers, the terminal switches to the pre-switching frequency band, and after the terminal loads network data through part of the downlink layers of the pre-switching frequency band within a second preset time period, the method further includes: The terminal obtains the network quality of the part of the downlink layer within the second preset time period; When the network quality of the part of the downlink layer is higher than or equal to the quality threshold, the terminal continues to load network data through the part of the downlink layer; When the network quality of the partial downlink layer is lower than the quality threshold, the terminal loads network data through all downlink layers of the pre-switching frequency band.
7. A frequency band switching device, applied to a terminal, characterized in that: The frequency band switching device comprises: An acquisition module, configured to acquire, when the terminal meets the frequency band switching condition, the number of resident downlink layers of the current resident frequency band and the number of pre-switching downlink layers of the pre-switching frequency band; A loading module, configured to load network data through the resident downstream layer of the current resident frequency band and the pre-switching downlink layer of the pre-switching frequency band within a first preset time period when the number of pre-switching downlink layers is less than the number of resident downlink layers; The loading module is also used to switch to the pre-switching frequency band when the number of pre-switching downlink layers is greater than the number of resident downlink layers, and load network data through part of the downlink layers of the pre-switching frequency band within a second preset time period, and the number of layers of the part of the downlink layers is the same as the number of layers of the resident downlink layers.
8. The frequency band switching device according to claim 7, characterized in that: Also includes: A sending module, used to send combination request information to the base station of the pre-switching frequency band; The loading module is further configured to load network data based on the combined downlink layer within the first preset time period in response to the combined response information returned by the base station of the pre-switching frequency band; The number of layers of the combined downlink layer is the sum of the number of layers of the resident downlink layer and the number of layers of the pre-switching downlink layer.
9. The frequency band switching device according to claim 7, characterized in that: Also includes: A switching module, configured to switch from the current resident frequency band to the pre-switching frequency band when the network quality of the pre-switching frequency band is higher than the network quality of the current resident frequency band; The execution module is used to search and update the pre-switching frequency band when the network quality of the pre-switching frequency band is lower than or equal to the network quality of the current resident frequency band, and return to execute the step of obtaining the number of pre-switching downlink layers of the pre-switching frequency band.
10. The frequency band switching device according to claim 9, characterized in that: The switching module is further configured to return to the step of obtaining the number of pre-switching downlink layers of the pre-switching frequency band when the number of times of searching and updating the pre-switching frequency band is less than the number threshold; The frequency band switching device further includes: The resident module is configured to reside in the current resident frequency band when the number of times the terminal searches and updates the pre-switching frequency band reaches the number threshold.
11. The frequency band switching device according to claim 7, characterized in that: The loading module is further configured to load network data through the partial downlink layer within the second preset time period when the data transmission performance of the partial downlink layer meets the current network performance requirement of the terminal.
12. The frequency band switching device according to claim 7, characterized in that: The acquisition module is further used to acquire the network quality of the part of the downlink layer within the second preset time period; The loading module is further configured to maintain loading of network data through the part of the downlink layer when the network quality of the part of the downlink layer is higher than or equal to the quality threshold; The loading module is further configured to load network data through all downlink layers of the pre-switching frequency band when the network quality of the partial downlink layers is lower than the quality threshold.
13. An electronic device, characterized in that: include: A processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method according to any one of claims 1 to 6 are implemented.
14. A readable storage medium, characterized in that: The readable storage medium stores a program or an instruction, and when the program or the instruction is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.