Communication method, electronic device, and storage medium
By detecting and directly switching to a second network standard base station with better communication quality, the problem of multiple handovers when high network standard base stations experience communication anomalies was solved, and normal communication was quickly restored.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HONOR DEVICE CO LTD
- Filing Date
- 2024-03-28
- Publication Date
- 2026-08-04
AI Technical Summary
In areas covered by multiple base station signals, when user equipment experiences communication anomalies at high-network-standard base stations, it needs to switch base stations multiple times to restore normal communication, resulting in slow communication recovery and long anomaly times.
When a user equipment detects that the communication quality of a second network standard base station in the first area is better than that of a first network standard base station, it directly switches to the second network standard base station for communication, and the second network standard base station has better communication quality.
Normal communication can be restored with a single base station switch, reducing communication downtime and improving communication recovery speed and stability.
Smart Images

Figure CN120769320B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a communication method, electronic device, and storage medium. Background Technology
[0002] Currently, user equipment (UE) such as mobile phones, tablets, and smartwatches can communicate by connecting to base stations, for example, for voice calls and internet access. In areas covered by multiple base stations, when a UE communicates through a high-network-standard base station (such as a 5G base station) and encounters an anomaly (e.g., network lag or voice call interruptions), the UE will first attempt to switch to another high-network-standard base station to restore normal communication. If the UE fails to restore normal communication after one or more switches to other high-network-standard base stations, it will then switch to a low-network-standard base station (such as a 4G base station) to restore normal communication. Thus, in some scenarios, such as when other high-network-standard base stations cannot provide normal communication services to the UE, the UE may need to switch base stations multiple times to restore normal communication. Summary of the Invention
[0003] Some embodiments of this application provide a communication method, an electronic device, and a computer-readable storage medium. The following describes this application from multiple aspects, and the embodiments and beneficial effects of the following aspects can be referred to each other.
[0004] In a first aspect, this application provides a communication method for an electronic device, the method comprising: connecting to a first base station of a first network standard and performing communication services through the first base station; detecting an abnormality in performing communication services through the first base station; and switching to a second base station using the second network standard for performing communication services when the communication quality of a base station of a second network standard in a first area where the electronic device is located is better than the communication quality of a base station of the first network standard, wherein the first network standard is superior to the second network standard.
[0005] During the process of an electronic device connecting to a first base station of a first network standard and communicating through the first base station, if the electronic device detects an anomaly in the communication service through the first base station, and if the communication quality of a second network standard base station within the first area where the electronic device is located is better than that of the first network standard base station, the electronic device directly switches to the second base station of the second network standard for communication. Because the communication quality of the second base station is better, the electronic device's communication service can be restored to normal after switching to the second base station. Thus, the electronic device only needs to switch base stations once to restore its communication service, eliminating the need for multiple base station switches, improving the speed of communication service recovery and reducing the duration of communication service anomalies.
[0006] Optionally, the base station for the first network standard is an NR base station (specifically, for example, an SA base station), and the base station for the second network standard is an LTE base station.
[0007] Optionally, the first region is greater than or equal to the signal coverage area of the first base station. For example, the first region where the UE is located can be a circular region with the UE's location as the center and a first distance as the radius. The first distance is the sum of the UE's signal transmission distance and a set distance. The set distance can be 200 meters, 300 meters, 400 meters, etc.
[0008] In some implementations, the communication quality of a base station of the second network standard in a first area where the electronic device is located is better than that of a base station of the first network standard, including: the number of base stations of the first network standard in the first area is less than the number of base stations of the second network standard.
[0009] Since electronic devices typically prioritize connecting to base stations using higher network standards for communication, and the first network standard is superior to the second, electronic devices will preferentially connect to base stations using the first network standard. Therefore, when the number of base stations using the first network standard in a first area is less than the number of base stations using the second network standard, the load on the base stations using the first network standard in the first area is greater than the load on the base stations using the second network standard, resulting in better communication quality for base stations using the second network standard in the first area compared to base stations using the first network standard.
[0010] In some embodiments, the communication quality of a base station of a second network standard in a first area where the electronic device is located is better than that of a base station of a first network standard. This further includes: the first base station meeting communication anomaly conditions, wherein the communication anomaly conditions include at least one of the following: the network throughput weight of the first base station is less than a preset network throughput weight, wherein the network throughput weight is the product of the number of resource blocks of the first base station and the order of the modulation and coding scheme; the number of resource blocks of the first base station is less than a preset number of resource blocks; the reference signal received power of the first base station is less than a preset reference signal received power; and the reference signal received quality of the first base station is less than a preset reference signal received quality.
[0011] Since electronic devices typically prioritize connecting to base stations using higher network standards for communication, and the first network standard is superior to the second, electronic devices will preferentially connect to base stations using the first network standard. Therefore, when the number of base stations using the first network standard in a first area is less than the number of base stations using the second network standard, it indicates that the communication service anomaly of the electronic device may be due to insufficient network resources of the first network standard base stations in the first area. In this case, if the first base station meets the communication anomaly conditions, it indicates insufficient network resources of the first base station, thus suggesting insufficient network resources and poor communication quality of the first network standard base stations in the first area. Furthermore, it suggests that the communication quality of the second network standard base stations in the first area is inferior to that of the first network standard base stations.
[0012] In some implementations, the communication services include internet access and / or voice call services; and, detecting an anomaly in the communication services conducted through the first base station includes: detecting network lag anomalies in the internet access services conducted through the first base station; and / or detecting voice call lag anomalies in the voice call services conducted through the first base station.
[0013] In some embodiments, the method further includes: if the communication quality of a base station corresponding to a first network standard in the first area is better than that of a base station corresponding to a second network standard, then switching to a third base station in the first area using the first network standard for communication services.
[0014] The third base station can be any base station of the first network standard with sufficient network resources in the first area where the electronic device is located.
[0015] When the communication quality of the third base station (using the first network standard) in the first area where the electronic device is located returns to normal—for example, when the number of electronic devices loaded on the third base station decreases, making its network resources sufficient—the electronic device can disconnect from the currently connected first base station and then connect to the third base station to conduct communication services. Since the network standard of the third base station is higher than that of the first base station, switching to the third base station with sufficient network resources can improve the smoothness of communication services.
[0016] In some implementations, switching to a third base station using a first network standard within a first area for communication services includes: determining that the data transmission rate between the electronic device and the second base station is less than or equal to a preset data transmission rate, and then switching to a third base station using a first network standard within the first area for communication services.
[0017] In a scenario where the electronic device's location remains unchanged (static) and it is still in its original position within the first area, when the communication quality of the third base station using the first network standard within the first area where the electronic device is located returns to normal, if the electronic device detects that the data transmission rate (network speed) of the currently accessing foreground application (such as video applications, conferencing applications, etc.) is less than or equal to a preset data transmission rate (e.g., 3Mbps, 4Mbps, 5Mbps, etc., without limitation), then the electronic device switches to the third base station using the first network standard within the first area for internet access. If the electronic device detects that the data transmission rate of the currently accessing foreground application is greater than the preset data transmission rate, then the electronic device does not perform the base station switching action, that is, it does not switch to the third base station using the first network standard within the first area for internet access. This avoids lag in the electronic device's foreground applications due to base station switching.
[0018] For example, when an electronic device plays videos online using a video application, the application requires high network speed. If the device switches base stations during this process, it will affect video playback, causing stuttering. However, when an electronic device sends chat messages using a chat application, the application requires lower network speed, so switching base stations has less impact. In some implementations, an update to the electronic device's location is detected. If the communication quality of a base station using the first network standard in the second area where the updated device is located is better than that of a base station using the second network standard, the device switches to a fourth base station using the first network standard in the second area, located outside the first area. If the communication quality of a base station using the second network standard in the second area is better than that of a base station using the first network standard, the device switches to a fifth base station using the second network standard in the second area, also located outside the first area.
[0019] When an electronic device is in motion, it needs to continuously switch base stations to ensure normal communication services. When the electronic device detects an update to its current location, and the communication quality of a base station using the first network standard in the updated second area where the electronic device is located is better than that of a base station using the second network standard, the electronic device can switch to a fourth base station using the first network standard in the second area for communication services. Alternatively, when the electronic device detects an update to its current location, and the communication quality of a base station using the second network standard in the updated second area where the electronic device is located is better than that of a base station using the first network standard, the electronic device can switch to a fifth base station using the second network standard in the second area for communication services, thus maintaining normal communication services during movement.
[0020] Secondly, embodiments of this application provide an electronic device, including: a memory for storing instructions executable by one or more processors of the electronic device; and a processor, which, when executing the instructions in the memory, causes the electronic device to perform the method described in the first aspect of this application. The beneficial effects achievable in the second aspect can be found in the beneficial effects of the method provided in any embodiment of the first aspect, and will not be repeated here.
[0021] Thirdly, embodiments of this application provide a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the method described in any embodiment of the first aspect. The beneficial effects achievable through this third aspect are similar to those of the method provided in any embodiment of the first aspect, and will not be repeated here.
[0022] Fourthly, embodiments of this application provide a computer program product including computer program code. When the computer program code is run on a computer, it causes the computer to implement the method described in any embodiment of the first aspect. The beneficial effects achievable in this fourth aspect can be found in the beneficial effects of the method provided in any embodiment of the first aspect, and will not be repeated here. Attached Figure Description
[0023] Figures 1A to 1C Exemplary application scenarios of this application are illustrated;
[0024] Figure 2 A schematic diagram of the base station handover process provided for some embodiments;
[0025] Figure 3A This is an example diagram of a communication scenario for a UE provided in an embodiment of this application;
[0026] Figure 3B This is an example diagram of another communication scenario for a UE provided in an embodiment of this application;
[0027] Figure 3C This is an example diagram of another communication scenario for a UE provided in an embodiment of this application;
[0028] Figure 4 A flowchart illustrating a communication method provided in an embodiment of this application;
[0029] Figure 5 A flowchart illustrating another communication method provided in an embodiment of this application;
[0030] Figure 6 This is a scenario diagram of a UE handover base station provided in an embodiment of this application;
[0031] Figure 7This is a scenario diagram of another UE handover base station provided in an embodiment of this application;
[0032] Figure 8 This is a schematic diagram illustrating a smooth UE handover back to an SA base station as provided in this embodiment.
[0033] Figure 9 A schematic diagram of the structure of an electronic device provided in an embodiment of this application is shown. Detailed Implementation
[0034] This application provides a communication method. The communication method provided by this application is described below with reference to specific embodiments.
[0035] Terminology Explanation:
[0036] (1) Network standards
[0037] Network standard refers to the type of network, such as 2G network, 3G network, 4G network, 5G network, etc.
[0038] High-speed network standards refer to network types that adopt more advanced (higher communication performance) mobile communication technology standards, with faster data transmission speeds, lower network latency, and greater network capacity, such as 5G networks.
[0039] Compared to high network standards, low network standards refer to mobile communication technology standards with relatively low communication performance, such as 4G networks, which have relatively slow data transmission rates, relatively high network latency, and relatively small network capacity.
[0040] It is understandable that the network standards of 2G, 3G, 4G, and 5G networks, from highest to lowest, are: 5G, 4G, 3G, and 2G.
[0041] (2) Base station
[0042] The base station in this application can be any type of base station, such as a 2G base station, a 3G base station, a 4G base station, a 5G base station, a base station in a transitional network between two generations of communication networks (such as a base station in a 5.5G network), a base station in the next generation or several generations of communication networks to be developed in the future (such as a base station in a 6G network), etc., and there is no limitation on this.
[0043] The following explains 2G base stations, 3G base stations, 4G base stations, and 5G base stations:
[0044] 2G base station: Base transceiver station (BTS) in a 2G network.
[0045] 3G base station: A base station (NodeB) in a 3G network.
[0046] 4G base station: An evolved Node B (eNB) in a 4G network, specifically an eNB (or "LTE base station") in a Long Term Evolution (LTE) network. 4G networks include LTE networks. This article refers to base stations in LTE networks as "LTE base stations".
[0047] 5G base stations, also known as new radio (NR) base stations, are base stations (next generation NodeB, gNB) in 5G networks. 5G networks include standalone (SA) and non-standalone (NSA) architectures. This article refers to base stations in SA networks as "SA base stations".
[0048] Figures 1A-1C This is an exemplary application scenario for this application.
[0049] refer to Figure 1A The P1 area where the UE 20 (such as vehicle infotainment system, mobile phone, tablet, computer, smartwatch, smart bracelet and other electronic devices) inside vehicle S1 is located contains 3 SA base stations (including SA base station 1 to 3) and 10 LTE base stations (including LTE base station 1 to 10).
[0050] It is understandable that the network standard (5G) of SA base stations is higher than that of LTE base stations (4G), and UEs in the P1 area will preferentially connect to SA base stations.
[0051] In some situations, due to the limited number of SA base stations in the P1 area, and the fact that UEs in the P1 area prioritize connecting to SA base stations, the SA base stations in the P1 area experience excessive load, insufficient network resources, and poor communication quality. Conversely, because the P1 area has a large number of LTE base stations, and the connection priority of LTE base stations is lower than that of SA base stations, the LTE base stations in the P1 area experience less load, sufficient network resources, and better communication quality.
[0052] In this case, such as Figure 1A As shown, when UE 20 connects to SA base station 1 in area P1 and communicates through SA base station 1, communication anomalies may occur due to the poor communication quality of SA base station 1, such as network lag or voice call interruptions. In this case, UE 20 needs to switch base stations to restore normal communication.
[0053] In some embodiments, UE 20 will preferentially switch to a base station with a higher network standard to restore normal communication. For example, such as Figure 1B As shown, UE 20 disconnects from the current SA base station 1 and then connects to SA base station 2 in area P1, communicating through SA base station 2. However, due to the poor communication quality of SA base station 2, UE 20's communication still becomes abnormal after switching to SA base station 2. At this time, UE 20 needs to switch base stations again to restore normal communication.
[0054] In some embodiments, if UE 20 has already switched to a base station with a higher network standard but its communication has not returned to normal, UE 20 may choose to switch to a base station with a lower network standard for communication. For example, Figure 1C As shown, UE20 disconnects from SA base station 2 and then connects to LTE base station 1 for communication. Because LTE base station 1 has better communication quality, UE20's communication returns to normal after switching to LTE base station 1.
[0055] The following is combined with Figure 2 Regarding the above Figures 1A to 1C The base station handover process shown will be described in detail.
[0056] refer to Figure 2 The above-mentioned base station handover process includes the following steps:
[0057] S1: UE 20 is connected to SA base station 1.
[0058] Refer to the above Figure 1A UE 20 in area P1 is connected to SA base station 1, and UE 20 communicates through SA base station 1, such as for internet access and voice calls. Due to the excessive load on SA base station 1 and insufficient network resources, communication anomalies, such as network lag and voice call interruptions, are likely to occur during UE 20's communication through SA base station 1.
[0059] S2: UE 20 detected a communication anomaly.
[0060] For example, when UE 20's application A accesses the Internet through SA base station 1, if UE 20 detects network lag or no service, it can be determined that UE 20's communication is abnormal.
[0061] For example, during a voice call conducted by UE 20 through SA base station 1, if UE 20 detects a pause or drop in the voice call, it can be determined that there is an abnormality in the communication of UE 20.
[0062] S3: UE 20 triggers the operation of switching to another SA base station.
[0063] After UE 20 detects a communication anomaly, UE 20 can obtain the channel quality report (CHR) information during the communication process of UE 20 through SA base station 1, so as to determine whether the communication anomaly of UE 20 is caused by insufficient network resources of base station (access layer) based on the CHR information.
[0064] The CHR information may include parameters such as the modulation and coding scheme (MCS) order, reference signal received power (RSRP), reference signal received quality (RSRQ), resource block (RB), and bit error rate.
[0065] If UE 20 determines from the CHR information that the communication anomaly of UE 20 is caused by insufficient network resources of SA base station 1 (such as a small number of RBs), UE 20 triggers barSA cell operation, also known as "disable SA cell operation", which is to switch to other SA base stations.
[0066] S4: UE 20 is connected to SA base station 2.
[0067] Refer to the above Figure 1B After UE 20 triggers the operation of switching to another SA base station, UE 20 disconnects from SA base station 1 and then connects to SA base station 2.
[0068] S5: UE 20 detected a communication anomaly.
[0069] Refer to the above Figure 1C Because the load on SA base station 2 is also too high, SA base station 2 cannot provide sufficient network resources for UE 20. As a result, after UE 20 connects to SA base station 2 and switches to SA base station 2, UE 20 still detects communication abnormalities.
[0070] S6: UE 20 triggers the operation of switching LTE base stations.
[0071] When UE 20 detects an anomaly in communication via SA base station 2, UE 20 triggers a switchover operation to the LTE base station.
[0072] S7: UE 20 is connected to LTE base station 1.
[0073] refer to Figure 1C After UE 20 triggers the operation of switching to the LTE base station, UE 20 disconnects from the currently connected SA base station 2, and then connects to the LTE base station 1 and communicates through the LTE base station 1.
[0074] S8: UE 20 detected that communication has returned to normal.
[0075] Because LTE base station 1 has good communication quality, it can provide sufficient network resources for UE 20. After UE 20 switches to LTE base station 1, UE 20 detects that communication has returned to normal.
[0076] In the above Figure 2 During the process, UE 20 switched base stations twice (once from SA base station 1 to SA base station 2, and once from SA base station 2 to LTE base station 1) before its communication was restored to normal. The recovery speed was slow, resulting in a long period of communication abnormality for UE 20.
[0077] To address the aforementioned technical problems, this application provides a communication method. In this method, during a UE's connection to and communication (e.g., internet access, voice calls) with a first base station of a first network standard, when the UE detects an anomaly in communication via the first base station (e.g., network lag, voice call interruption), if the communication quality of a second network standard base station (e.g., an LTE base station) within the first area where the UE is located is superior to that of the first network standard base station (e.g., an LTE base station), the UE switches to a second base station of the second network standard for communication. The first network standard is superior to the second network standard. Because the second base station has better communication quality, the UE's communication can return to normal after switching to it. Therefore, the UE only needs to switch base stations once to restore normal communication, eliminating the need for multiple base station switching. This improves the UE's communication recovery speed and reduces the duration of communication anomalies.
[0078] In some embodiments, the first region where the UE is located can be a circular region with the UE's location as the center and a first distance as the radius. The first distance is the sum of the UE's signal transmission distance and a set distance. The set distance can be set according to actual scenario requirements and is not limited thereto; for example, the set distance can be 200 meters, 300 meters, 400 meters, etc. In other embodiments, the first region where the UE is located can also be a region of other shapes (e.g., rectangular, elliptical, irregular shapes, etc.) and sizes, and is not limited thereto. It is understood that the first region is greater than or equal to the UE's signal coverage area.
[0079] It should be noted that the embodiments of this application do not limit the specific form of the base station of the first network standard and the base station of the second network standard. For example, the base station of the first network standard can be an SA base station, and the base station of the second network standard can be an LTE base station. Alternatively, the base station of the first network standard can be an LTE base station, and the base station of the second network standard can be a 3G base station. Or, the base station of the first network standard can be an SA base station, and the base station of the second network standard can be a 3G base station.
[0080] For example, refer to Figure 3A Within the P1 area where UE 20 is located, the communication quality of the LTE base station is superior to that of the SA base station. When UE 20 is connected to SA base station 1 (as an example of the first base station) within the P1 area (as an example of the first area) and communicating through SA base station 1, if UE 20 detects a communication anomaly, UE 20 directly switches from the currently connected SA base station 1 to LTE base station 1 (as an example of the second base station), instead of first switching to another SA base station (such as SA base station 2) and then to LTE base station 1. This reduces the number of base station handovers, thereby improving the speed of communication recovery and shortening the duration of communication anomalies.
[0081] The technical solution of this application will be described below with reference to specific embodiments.
[0082] Figure 4 A flowchart illustrating the communication method provided in an embodiment of this application.
[0083] Step S101: The UE connects to the first base station.
[0084] It is understandable that UE can be an electronic device that communicates (such as accessing the Internet or making voice calls) through a base station, such as a mobile phone, tablet, computer, smartwatch, smart bracelet, or in-vehicle device (such as a car infotainment system).
[0085] It is understandable that the first base station is the base station of the first network standard.
[0086] In some embodiments, the UE may connect to and communicate with a first base station.
[0087] For example, refer to the above Figure 1A UE 20 in the P1 area is connected to SA base station 1 (as an example of the first base station) and communicates through SA base station 1.
[0088] Step S102: The UE detects a communication anomaly.
[0089] In some embodiments, when the UE is communicating through the first base station, if the UE experiences network interruption, no network service, voice call interruption, or voice call drop, the UE detects a communication abnormality.
[0090] For example, refer to the above Figure 1A When UE 20 is currently running application A (such as video application, conferencing application, etc.) to access the Internet through SA base station 1, if application A has a high demand for network speed, but the network resources of SA base station 1 are insufficient to meet the network speed demand of application A, the network of UE 20 will be slowed down, and UE 20 can detect communication abnormality at this time.
[0091] Step S103: The UE determines that the communication quality of the base station of the second network standard in the first area is better than that of the base station of the first network standard, and disconnects from the first base station, wherein the first network standard is higher than the second network standard.
[0092] It's understandable that, because the first network standard is superior to the second, UEs within the first area will prioritize connecting to base stations using the first network standard. When the number of base stations using the first network standard in the first area is less than that using the second network standard, the load on these base stations will be greater than that on the second network standard. When the load on the first network standard base stations is too high, their network resources will be insufficient, leading to poor communication quality. In this situation, the communication quality of base stations using the second network standard within the first area will be better than that of base stations using the first network standard.
[0093] It is understandable that when the number of base stations of the first network standard in the first area where the UE is located is less than the number of base stations of the second network standard, and the network resources of the first base station of the first network standard that the UE is currently connected to are insufficient, it can be said that the network resources of the base stations of the first network standard in the first area are insufficient. However, since the number of base stations of the second network standard in the first area is high and the network resources are sufficient, it can be said that the communication quality of the base stations of the second network standard in the first area is better than the communication quality of the base stations of the first network standard.
[0094] In some embodiments, when the UE detects a communication anomaly, the UE can obtain and compare the number of base stations of the first network standard and the second network standard within a first area. When the number of base stations of the first network standard is less than the number of base stations of the second network standard, the UE can obtain CHR information for communication via the first base station and determine whether the network resources of the first base station of the first network standard are sufficient based on the CHR information. When the UE determines that the network resources of the first base station of the first network standard are insufficient based on the CHR information, it can determine that the network resources of the base stations of the first network standard within the first area are insufficient, thereby determining that the communication quality of the base stations of the second network standard within the first area is better than that of the base stations of the first network standard. Then, the UE disconnects from the currently connected first base station and subsequently switches to other base stations to restore its communication to normal.
[0095] In some embodiments, the UE can acquire map data of a first area, which includes data such as the location, number, and network type of each base station within the first area. The UE can then determine the number of base stations of the first network type and the number of base stations of the second network type within the first area based on the map data.
[0096] It is understood that map data can be pre-stored in the UE, or obtained by the UE from a server that stores the map data (such as a server that provides data services for map applications), or obtained through other means, without any limitation.
[0097] In some embodiments, the CHR information may include network parameters such as MCS order, bit error rate, RSRP, RSRQ, and number of RBs. The UE can determine whether the network resources of the first base station are sufficient based on one or more network parameters in the CHR information.
[0098] For example, when the number of RBs is less than the preset number of RBs (such as 4, 5, 6, etc., without limitation), it can be determined that the network resources of the first base station are insufficient. The preset number of RBs can be the number of RBs that the UE has in the current network environment without communication abnormalities.
[0099] For example, when the RSRP is less than the preset RSRP, it can be determined that the network resources of the first base station are insufficient. The preset RSRP is determined according to the network type of the first base station. For example, when the first base station is an SA base station, the preset RSRP can be -110dBm (or other values, which are not limited here).
[0100] For example, when the RSRQ is less than the preset RSRQ, it can be determined that the network resources of the first base station are insufficient. The preset RSRQ is determined according to the network type of the first base station. For example, when the first base station is an SA base station, the preset RSRQ can be -15dB (or other values, which are not limited here).
[0101] For example, the network throughput weight of the first base station can be calculated using the formula: Network Throughput Weight = Number of Base Stations (RBs) × MCS Order. Then, it is determined whether the network throughput weight of the first base station is less than the preset network throughput weight (e.g., 80, 90, 100, etc., without limitation). If so, it is determined that the network resources of the first base station are insufficient; if not, it is determined that the network resources of the first base station are sufficient.
[0102] Step S104: The UE connects to the second base station.
[0103] The second base station is a base station for the second network standard.
[0104] In some embodiments, after the UE disconnects from the first base station of the currently connected first network type, the UE can determine the second base station of the second network type from among a plurality of base stations of the second network type in the first area, and then connect to the second base station. It is understood that the second base station can be the base station with the strongest signal among the plurality of base stations of the second network type, the base station closest to the UE, or any one of the plurality of base stations of the second network type, and there is no limitation thereto.
[0105] For example, refer to Figure 3A After determining that the communication quality of the LTE base station in the P1 area is better than that of the SA base station, UE 20 detects that the signal of LTE base station 1 is the strongest. Then UE 20 connects to LTE base station 1 (as an example of a second base station) and communicates through LTE base station 1.
[0106] Step S105: The UE detects that communication has returned to normal.
[0107] It is understandable that, since the second base station has sufficient network resources and good communication quality, the UE's communication can return to normal after switching to the second base station.
[0108] For example, refer to Figure 3A Because LTE base station 1 has sufficient network resources and good communication quality, when UE 20 switches to LTE base station 1 for communication, UE 20's communication returns to normal.
[0109] In some embodiments, after the UE connects to the second base station of the second network standard, the UE can check at set time intervals (e.g., 5 minutes, 6 minutes, etc., without limitation) whether there is a base station of the first network standard with sufficient network resources in the first area. When the UE detects that the network resources of the third base station of the first network standard in the first area are sufficient, the UE disconnects from the currently connected second base station of the second network standard, and then connects to the third base station of the second network standard to communicate through the third base station.
[0110] It should be noted that the third base station can be any base station of the first network standard with sufficient network resources in the first area where the UE is located.
[0111] For example, refer to Figure 3B After UE 20 connects to LTE base station 1, when UE 20 detects that the network resources of SA base station 3 (as an example of a third base station) in the P1 area are sufficient, UE 20 can disconnect from LTE base station 1 and then connect to SA base station 3 and communicate through SA base station 3.
[0112] In some embodiments, when the data transmission rate between the electronic device and the second base station is less than or equal to a preset data transmission rate, the electronic device switches to a third base station in the first area that uses the first network standard for communication services.
[0113] In a scenario where the electronic device's location remains unchanged (static) and it is still in its original position within the first area, when the communication quality of the third base station using the first network standard within the first area where the electronic device is located returns to normal, if the electronic device detects that the data transmission rate (network speed) of the currently accessing foreground application (such as video applications, conferencing applications, etc.) is less than or equal to a preset data transmission rate (e.g., 3Mbps, 4Mbps, 5Mbps, etc., without limitation), then the electronic device switches to the third base station using the first network standard within the first area for internet access. If the electronic device detects that the data transmission rate of the currently accessing foreground application is greater than the preset data transmission rate, then the electronic device does not perform the base station switching action, that is, it does not switch to the third base station using the first network standard within the first area for internet access. This avoids lag in the electronic device's foreground applications due to base station switching.
[0114] For example, when an electronic device is playing videos online using a video application, because video applications have high network speed requirements, if the electronic device switches base stations during this process, it will affect video playback, causing the video to stutter. However, when an electronic device is sending chat messages using a chat application, because chat applications have lower network speed requirements, the impact of the electronic device switching base stations on the chat application is minimal.
[0115] In other embodiments, after the UE connects to the second base station of the second network standard, if the UE detects a location update and the communication quality of the base station of the first network standard in the second area where the UE is currently located is better than that of the base station of the second network standard, the UE disconnects from the currently connected first base station of the second network standard and then connects to the fourth base station of the first network standard for communication. The fourth base station is located outside the first area and has sufficient network resources.
[0116] For example, refer to Figure 3C After UE 20 connects to LTE base station 1 at location A, when UE 20 detects that its current location has moved from location A to location B, and detects that there is an SA base station 4 with sufficient network resources outside the P1 area (as an example of the fourth base station), UE 20 can disconnect from the currently connected LTE base station 1, and then connect to SA base station 4 and communicate through SA base station 4.
[0117] In other embodiments, after the UE connects to the second base station of the second network standard, if the UE detects a location update and the communication quality of the second network standard base station in the second area where the UE is currently located is better than that of the first network standard base station, the UE disconnects from the currently connected first base station of the second network standard and then connects to the fifth base station of the second network standard for communication. The fifth base station is located outside the first area and has sufficient network resources.
[0118] In this embodiment, when the UE's communication is abnormal, the UE can directly switch from the first base station of the first network standard to the second base station of the second network standard to restore its communication to normal. It only needs to switch base stations once to restore its communication to normal, instead of switching base stations multiple times. This reduces the number of base station switching, thereby improving the speed of communication recovery, reducing the time of communication abnormality, and improving the communication stability of the UE.
[0119] For ease of understanding, the following will use UE 20 as an example, P1 area as an example, SA base station 1 as an example of a first base station, and LTE base station 1 as an example of a second base station to illustrate the communication method provided in the embodiments of this application.
[0120] Figure 5 A flowchart illustrating another communication method provided in an embodiment of this application.
[0121] refer to Figure 5 The communication method includes the following steps:
[0122] S201: UE 20 is connected to SA base station 1.
[0123] In some embodiments, refer to the above Figure 3A UE 20 connects to SA base station 1 in the P1 area and communicates through SA base station 1.
[0124] S202: UE 20 detected a communication anomaly.
[0125] In some embodiments, when the network of UE 20 is interrupted, or there is no network service, or the voice call is interrupted, or the voice call is dropped, UE 20 detects a communication abnormality.
[0126] S203: UE 20 determines whether the number of SA base stations in the P1 area is less than the number of LTE base stations.
[0127] If not, proceed to step S204. If yes, proceed to step S205.
[0128] In some embodiments, UE 20 includes a self-healing module. This self-healing module is used to decide whether to switch base stations and the network standard of the switched base station when UE 20 detects a communication anomaly.
[0129] In some embodiments, after the UE 20 detects a communication anomaly, the UE 20 can obtain map data of the P1 area through the self-healing module. This map data includes the location, number, network type, and other data of each base station within the P1 area. Then, the UE 20 can determine and compare the number of SA base stations and LTE base stations in the P1 area based on this map data. When the number of SA base stations in the P1 area is less than the number of LTE base stations, the UE 20 executes step S205. When the number of SA base stations in the P1 area is greater than or equal to the number of LTE base stations, the UE 20 executes step S204.
[0130] In other embodiments, after obtaining the map data of the P1 area through the self-healing module, the UE 20 can also calculate the proportions of SA base stations and LTE base stations in the P1 area separately. When the proportion of SA base stations is greater than or equal to the proportion of LTE base stations, the UE 20 executes the following step S204. When the proportion of SA base stations in the P1 area is less than the proportion of LTE base stations, the UE 20 executes the following step S205.
[0131] S204: UE 20 is connected to SA base station 2.
[0132] In some embodiments, when the communication of UE 20 is abnormal and the number of SA base stations in the P1 area is greater than or equal to the number of LTE base stations, UE 20 may disconnect from SA base station 1 and then connect to SA base station 2.
[0133] S205: UE 20 determines whether the network throughput weight of SA base station 1 is greater than the preset network throughput weight.
[0134] If not, proceed to step S206. If yes, proceed to step S207.
[0135] In some embodiments, when the communication of UE 20 is abnormal and the number of SA base stations in area P1 is less than the number of LTE base stations, UE 20 can obtain the MCS order and RB number of SA base station 1, and then calculate the network throughput weight of SA base station 1 according to the formula: Network Throughput Weight = Number of RBs * MCS Order, and determine whether the calculated network throughput weight is greater than a preset network throughput weight (e.g., 80, 90, 100, etc.). When the network throughput weight is less than or equal to the preset network throughput weight, UE 20 executes the following step S206. When the network throughput weight is greater than the preset network throughput weight, UE 20 executes the following step S207.
[0136] S206: UE 20 is connected to SA base station 2.
[0137] In some embodiments, when UE 20 determines that the network throughput weight of SA base station 1 is less than or equal to the preset network throughput weight, UE 20 disconnects from the currently connected SA base station 1 and connects to SA base station 2.
[0138] S207: UE 20 is connected to LTE base station 1.
[0139] In some embodiments, refer to the above Figure 3A When UE 20 determines that the network throughput weight of SA base station 1 is greater than the preset network throughput weight, UE 20 disconnects from the currently connected SA base station 1 and connects to LTE base station 1.
[0140] S208: UE 20 detected that communication has returned to normal.
[0141] It is understandable that, due to the low load and sufficient network resources of LTE base station 1, its communication quality is good. After UE 20 connects to LTE base station 1, the communication of UE 20 can return to normal.
[0142] S209: UE 20 detects a location update and the presence of an SA base station with sufficient network resources within the signal coverage area. It disconnects from LTE base station 1 and connects to the SA base station.
[0143] It is understandable that after UE 20 connects to LTE base station 1, if UE 20 moves and moves away from LTE base station 1, the communication quality of UE 20 will deteriorate when the distance between UE 20 and LTE base station 1 is large. At this time, UE 20 needs to switch base stations again to ensure normal communication.
[0144] For example, refer to Figure 6 When vehicle S1 moves away from LTE base station 1, UE 20 inside vehicle S1 also moves away from LTE base station 1. When UE 20 moves from location A to location B, the distance between UE 20 and LTE base station 1 is greater, and the communication quality between UE 20 and LTE base station 1 deteriorates. At this time, UE 20 needs to switch base stations again to improve communication quality.
[0145] In some embodiments, when UE 20 is communicating through LTE base station 1, if UE 20 detects a location update and an SA base station with sufficient network resources is present within its signal coverage area, it disconnects from LTE base station 1 and connects to the SA base station. This allows for early switching back to the SA base station, preventing communication anomalies for UE 20.
[0146] For example, refer to Figure 6 When UE 20 moves from location A to location B, UE 20 detects a location update. At this time, UE 20 can detect whether there is an SA base station with sufficient network resources within the current signal coverage area. When UE 20 detects that there is an SA base station with sufficient network resources, such as SA base station 4, within the current signal coverage area, UE 20 disconnects from the currently connected LTE base station 1, and then connects to SA base station 4 to communicate.
[0147] In other embodiments, when UE 20 is communicating through LTE base station 1, if UE 20 detects a communication anomaly, and detects a location update and the presence of an SA base station with sufficient network resources within the current signal coverage area, it disconnects from LTE base station 1 and connects to the SA base station. This allows for timely switching back to the SA base station when communication anomalies occur, thus restoring normal communication for UE 20 in a timely manner.
[0148] For example, refer to Figure 6During communication between UE 20 and LTE base station 1, if UE 20 detects a communication anomaly, it can check if its own location has been updated. When UE 20 detects a location update, it can check if there is an SA base station with sufficient network resources within its current signal coverage area. If UE 20 detects an SA base station with sufficient network resources, such as SA base station 4 (as an example of a fourth base station), it disconnects from the currently connected LTE base station 1 and then connects to SA base station 4 for communication.
[0149] In some cases, refer to Figure 7 When UE 20 detects that there is no SA base station with sufficient network resources within the current signal coverage area, but there is an LTE base station with sufficient network resources, such as LTE base station 12 (as an example of the fifth base station), UE 20 can disconnect from the currently connected LTE base station 1 and then connect to the LTE base station 12 with sufficient network resources.
[0150] In this embodiment, when the number of SA base stations in area P1 is less than the number of LTE base stations, and the network throughput weight of SA base station 1 connected to UE 20 is large, it indicates that the network resources of SA base stations in area P1 are insufficient and the communication quality is poor. In this case, when the communication of UE 20 is abnormal, UE 20 can directly switch from SA base station 1 to LTE base station 1 with better communication quality, which can enable the communication of UE 20 to quickly return to normal.
[0151] In other embodiments, when the number of SA base stations is less than the number of LTE base stations, UE 20 will prioritize connecting to SA base stations, resulting in a higher load on SA base stations and a lower load on LTE base stations. At this time, the network resources of SA base stations are insufficient, while the network resources of LTE base stations are relatively abundant. The communication quality of LTE base stations is superior to that of SA base stations. UE 20 can switch to an LTE base station in the P1 area for communication, restoring normal communication. Therefore, in step S203 above, when UE 20 determines that the number of SA base stations in the P1 area is less than the number of LTE base stations, UE 20 can also directly disconnect from the currently connected SA base station 1, switch to connecting to LTE base station 1, and communicate through LTE base station 1, restoring normal communication.
[0152] It is understandable that when UE 20 is in a mobile state, UE 20 needs to constantly switch base stations to maintain communication. The following describes the process of UE 20 switching from an LTE base station back to an SA base station when in a mobile state, using a specific embodiment.
[0153] Figure 8This is a flowchart illustrating the process of UE 20 switching from an LTE base station to an SA base station, as provided in an embodiment of this application.
[0154] refer to Figure 8 The process includes the following steps:
[0155] S301: UE 20 is connected to LTE base station 1.
[0156] Refer to the above Figure 3A When UE 20 encounters an anomaly while communicating through SA base station 1, UE 20 disconnects from SA base station 1 and then connects to LTE base station 1 to communicate through LTE base station 1.
[0157] S302: UE 20 determines whether it is in a mobile state.
[0158] If not, proceed to step S303. If yes, proceed to step S304.
[0159] After UE 20 connects to LTE base station 1, UE 20 detects whether it is currently in a mobile state. If not, UE 20 performs the following step S303; if yes, UE 20 performs the following step S304.
[0160] S303: UE 20 maintains connection with LTE base station 1.
[0161] When UE 20 is stationary, it can maintain a connection with LTE base station 1 due to the sufficient network resources and good communication quality of LTE base station 1.
[0162] S304: UE 20 has detected an SA base station with sufficient network resources within the current signal coverage area.
[0163] When UE 20 is in a mobile state, UE 20 can detect whether there is an SA base station with sufficient network resources within the current signal coverage area, and switch back to the SA base station when an SA base station with sufficient network resources is detected within the current signal coverage area to ensure communication quality.
[0164] For example, refer to the above Figure 6 When UE 20 moves from location A to location B, UE 20 detects that the network resources of SA base station 4 within the current signal coverage area are sufficient.
[0165] S305: UE 20 switches to SA base station.
[0166] When UE 20 detects that there is an SA base station with sufficient network resources within the current signal coverage area, UE 20 can disconnect from the currently connected LTE base station 1 and then connect to the SA base station with sufficient network resources.
[0167] For example, refer to the above Figure 6 When UE 20 detects SA base station 4 with sufficient network resources at location B, UE 20 disconnects from the currently connected LTE base station 1 and then connects to SA base station 4.
[0168] It is understandable that, given sufficient network resources, the communication quality of an SA base station is superior to that of an LTE base station. If UE 20 switches to a connection with LTE base station 1 due to a communication anomaly, and if UE 20's location is updated and UE 20 detects a new SA base station with sufficient network resources, then switches back to the SA base station, the communication quality of UE 20 can be improved.
[0169] Figure 9 A schematic diagram of the structure of electronic device 1000 is shown. Electronic device 1000 can be a user device that communicates (e.g., access the Internet, make voice calls) through a base station, such as a mobile phone, tablet, computer, smartwatch, smart bracelet, or in-vehicle device (e.g., vehicle infotainment system) mentioned in this application.
[0170] Electronic device 1000 may include processor 110, external memory interface 120, internal memory 121, universal serial bus (USB) interface 130, charging management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0171] In some embodiments, the electronic device 1000 can wirelessly connect with a base station of the first network standard or the second network standard mentioned in this application through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor, and baseband processor, so that the electronic device 1000 can communicate through the base station of the first network standard or the base station of the second network standard, such as accessing the Internet or making voice calls.
[0172] In some embodiments, the internal memory 121 may store the map data mentioned in this application, so that the electronic device 1000 can read the map data of the current area from the internal memory 121 and determine the number of base stations of the first network type and the second network type in the current area based on the map data.
[0173] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 1000. In other embodiments of this application, the electronic device 1000 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0174] Processor 110 may include one or more processing units, such as: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU). In some embodiments, processor 110 may include one or more interfaces. Interfaces may include inter-integrated circuit (I2C) interfaces, inter-integrated circuit sound (I2S) interfaces, pulse code modulation (PCM) interfaces, universal asynchronous receiver / transmitter (UART) interfaces, mobile industry processor interfaces (MIPI), general-purpose input / output (GPIO) interfaces, and subscriber identification module (SIM) interfaces.
[0175] The charging management module 140 receives charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 receives charging input from the wired charger via a USB interface 130. In some wireless charging embodiments, the charging management module 140 receives wireless charging input via the wireless charging coil of the electronic device 1000. While charging the battery 142, the charging management module 140 can also supply power to the electronic device via the power management module 141.
[0176] The power management module 141 connects the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, providing power to the processor 110, internal memory 121, display screen 194, camera 193, and wireless communication module 160, etc. The power management module 141 can also monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage current, impedance). In some other embodiments, the power management module 141 may also be located within the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be located in the same device.
[0177] The wireless communication function of the electronic device 1000 can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor, and baseband processor.
[0178] The mobile communication module 150 can provide wireless communication solutions, including 2G / 3G / 4G / 5G, for use on the electronic device 1000. The mobile communication module 150 can receive electromagnetic waves via the antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to the modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via the antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 can be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 can be housed in the same device.
[0179] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 1000, 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), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.
[0180] In some embodiments, antenna 1 of electronic device 1000 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, enabling electronic device 1000 to communicate with networks and other devices via wireless communication technology.
[0181] Electronic device 1000 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0182] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. In some embodiments, the electronic device 1000 may include one or N display screens 194, where N is a positive integer greater than 1.
[0183] Electronic device 1000 can achieve shooting function through ISP, camera 193, video codec, GPU, display 194 and application processor.
[0184] The external storage interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 1000. The external memory card communicates with the processor 110 through the external storage interface 120 to perform data storage functions. For example, music, video, and other files can be saved on the external memory card.
[0185] Internal memory 121 can be used to store computer executable program code, which includes instructions. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as image playback function), etc. The data storage area may store data created during the use of electronic device 1000 (such as audio data, phone book, etc.). Furthermore, internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, etc. Processor 110 executes various functional applications and data processing of electronic device 1000 by running instructions stored in internal memory 121 and / or instructions stored in memory located in the processor.
[0186] Electronic device 1000 can implement audio functions, such as music playback and recording, through audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor.
[0187] The embodiments disclosed in this application can be implemented in hardware, software, firmware, or a combination of these implementation methods. Embodiments of this application can be implemented as computer programs or program code executable on a programmable system, the programmable system including at least one processor, a storage system (including volatile and non-volatile memory and / or storage elements), at least one input device, and at least one output device.
[0188] Program code can be applied to input instructions to execute the functions described in this application and generate output information. The output information can be applied to one or more output devices in a known manner. For the purposes of this application, the processing system includes any system having a processor such as, for example, a digital signal processor, a microcontroller, an application-specific integrated circuit, or a microprocessor.
[0189] The program code can be implemented using a high-level procedural language or an object-oriented programming language to communicate with the processing system. Assembly language or machine language can also be used when needed. In fact, the mechanisms described in this application are not limited to any particular programming language. In either case, the language can be a compiled language or an interpreted language.
[0190] In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried or stored thereon on one or more temporary or non-temporary machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, the instructions may be distributed via a network or through other computer-readable media. Therefore, machine-readable media may include any mechanism for storing or transmitting information in a machine-readable (e.g., computer-readable) form, including but not limited to floppy disks, optical disks, optical discs, read-only memory, magneto-optical disks, random access memory, erasable programmable read-only memory, electrically erasable programmable read-only memory, magnetic cards or optical cards, flash memory, or tangible machine-readable storage for transmitting information (e.g., carrier waves, infrared signals, digital signals, etc.) using the Internet in the form of electrical, optical, acoustic, or other propagation signals. Therefore, machine-readable media include any type of machine-readable medium suitable for storing or transmitting electronic instructions or information in a machine-readable (e.g., computer-readable) form.
[0191] In the accompanying drawings, some structural or methodological features may be shown in a specific arrangement and / or order. However, it should be understood that such a specific arrangement and / or order may not be necessary. Rather, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the illustrative drawings. Furthermore, the inclusion of structural or methodological features in a particular figure does not imply that such features are required in all embodiments, and in some embodiments, these features may be omitted or may be combined with other features.
[0192] It should be noted that all units / modules mentioned in the device embodiments of this application are logical units / modules. Physically, a logical unit / module can be a physical unit / module, a part of a physical unit / module, or a combination of multiple physical units / modules. The physical implementation of these logical units / modules themselves is not the most important factor; the combination of functions implemented by these logical units / modules is the key to solving the technical problems proposed in this application. Furthermore, to highlight the innovative aspects of this application, the above-described device embodiments of this application have not introduced units / modules that are not closely related to solving the technical problems proposed in this application. This does not mean that the above-described device embodiments do not contain other units / modules.
[0193] It should be noted that in the examples and description of this application, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one" does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0194] Although this application has been illustrated and described with reference to certain preferred embodiments thereof, those skilled in the art will understand that various changes in form and detail may be made thereto without departing from the scope of this application.
Claims
1. A communication method for an electronic device, characterized in that, The method includes: It connects to a first base station of a first network standard and conducts communication services through the first base station; An anomaly was detected in the communication service conducted through the first base station; If the number of base stations of the first network standard in the first area where the electronic device is located is less than the number of base stations of the second network standard, the communication service is switched to the second base station using the second network standard, wherein the first network standard is higher than the second network standard; The location of the electronic device has been updated; If the communication quality of the base station of the first network standard in the second area where the electronic device is located after the location update is better than that of the base station of the second network standard, the communication service is switched to the fourth base station of the first network standard in the second area, wherein the fourth base station is located outside the first area; If the communication quality of the base station of the second network standard in the second area is better than that of the base station of the first network standard, the communication service is switched to the fifth base station of the second network standard in the second area, wherein the fifth base station is located outside the first area; The first base station meets the communication anomaly conditions, wherein the communication anomaly conditions include at least one of the following: The network throughput weight of the first base station is less than the preset network throughput weight, wherein the network throughput weight is the product of the number of resource blocks of the first base station and the order of the modulation and coding scheme; The number of resource blocks in the first base station is less than the preset number of resource blocks; The reference signal receiving power of the first base station is less than the preset reference signal receiving power; The reference signal reception quality of the first base station is lower than the preset reference signal reception quality.
2. The method according to claim 1, characterized in that, The communication services include Internet access and / or voice call services; Furthermore, the detection of an anomaly in the communication service conducted through the first base station includes: A network lag issue was detected when accessing the internet via the first base station. And / or, An abnormal voice call interruption was detected during the voice call service conducted through the first base station.
3. The method according to claim 1, characterized in that, The method further includes: If the communication quality of the base station using the first network standard in the first area is better than that of the base station using the second network standard, the communication service is switched to the third base station using the first network standard in the first area.
4. The method according to claim 3, characterized in that, The switching to a third base station in the first area using the first network standard for the communication service includes: If the data transmission rate between the electronic device and the second base station is determined to be less than or equal to a preset data transmission rate, the communication service is switched to a third base station in the first area that uses the first network standard.
5. The method according to claim 1, 3, or 4, characterized in that, The first area is greater than or equal to the signal coverage area of the first base station.
6. The method according to claim 1, characterized in that, The base station for the first network standard is an NR base station, and the base station for the second network standard is an LTE base station.
7. An electronic device, characterized in that, include: A memory for storing instructions executed by one or more processors of the electronic device; A processor, when executing the instructions in the memory, causes the electronic device to perform the communication method of any one of claims 1 to 6.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed on a computer, cause the computer to perform the communication method according to any one of claims 1 to 6.
9. A computer program product, characterized in that, Includes a computer program / instruction, which, when executed, causes the computer to perform the communication method according to any one of claims 1 to 6.