Communication method, electronic equipment and storage medium
By detecting and directly switching to the second network standard base station with better communication quality, the problem of multiple switching when the high network standard base station is abnormal is solved, and rapid communication recovery and stability improvement are achieved.
Patent Information
- Application Number
- CN202410372611.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-28
- Publication Date
- 2025-10-10
- Estimated Expiration
- 2044-03-28
AI Technical Summary
In an area covered by multiple base station signals, when a high-speed base station communication anomaly occurs, the user equipment needs to switch base stations multiple times to restore normal communication, resulting in slow communication service recovery and long anomaly time.
When the user equipment detects that the communication quality of the second network standard base station in the first area is better than that of the 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 through a single base station switch, reducing communication abnormality time and improving communication recovery speed and stability.
Smart Images

Figure CN120769320A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a communication method, electronic equipment, and storage medium. Background Art
[0002] At present, user equipment (UE) such as mobile phones, tablets, and smart watches can communicate by connecting to base stations, such as voice calls, Internet access, etc. In the case where a certain area is covered by the signals of multiple base stations, when the UE communicates through a base station with a high network standard (such as a 5G base station) and an abnormality occurs (for example, network freezes or voice call freezes, etc.), the UE will first try to switch to a base station with other high network standards to restore normal communication. If the UE cannot restore normal communication after switching to a base station with other high network standards once or multiple times, the UE will switch to a base station with a low network standard (such as a 4G base station) to restore normal communication. In this way, in some scenarios, such as when base stations with other high network standards cannot provide normal communication services to the UE, the UE needs to switch base stations multiple times to restore normal communication. Summary of the Invention
[0003] Some embodiments of the present application provide a communication method, an electronic device, and a computer-readable storage medium. The present application is introduced below from multiple aspects, and the embodiments and beneficial effects of the following aspects can be referenced to each other.
[0004] In the first aspect, the present 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 the communication services performed through the first base station; corresponding to the communication quality of the base station of the second network standard in the first area where the electronic device is located is better than the communication quality of the base station of the first network standard, switching to a second base station using the second network standard for communication services, wherein the first network standard is higher than the second network standard.
[0005] In the process of an electronic device being connected to a first base station of a first network standard and communicating through the first base station (that is, communicating through the first base station), when the electronic device detects that an abnormality occurs in the communication service through the first base station, if the communication quality of the base station of the second network standard in the first area where the electronic device is located is better than the communication quality of the base station of the first network standard, the electronic device directly switches to the second base station of the second network standard for communication. Since the communication quality of the second base station is better, after the electronic device switches to the second base station for communication, the communication service of the electronic device can be restored to normal. In this way, the electronic device only needs to switch the base station once to restore its communication service to normal, without having to switch the base station multiple times, which improves the recovery speed of the communication service of the electronic device and reduces the abnormal communication service time of the electronic device.
[0006] Optionally, the base station of the first network standard is an NR base station (specifically, an SA base station), and the base station of the second network standard is an LTE base station.
[0007] Optionally, the first area is greater than or equal to the signal coverage area of the first base station. For example, the first area where the UE is located may be a circular area with the UE's location as the center and the 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 may be 200 meters, 300 meters, 400 meters, etc.
[0008] In some embodiments, the communication quality of the base station of the second network standard in the first area where the electronic device is located is better than the communication quality of the 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] Because electronic devices typically prioritize connecting to base stations with higher network standards for communication, and the first network standard is higher than the second network standard, electronic devices will prioritize connecting to base stations with the first network standard for communication. Therefore, when the number of base stations with the first network standard within the first area where the electronic device is located is less than the number of base stations with the second network standard, the load on the base stations with the first network standard within the first area is greater than the load on the base stations with the second network standard, resulting in better communication quality for the base stations with the second network standard within the first area than for the base stations with the first network standard.
[0010] In some embodiments, the communication quality of the base station of the second network standard in the first area where the electronic device is located is better than the communication quality of the base station of the first network standard, and also includes: the first base station meets the communication abnormality condition, wherein the communication abnormality condition includes 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 of the first base station is less than the preset number of resource blocks; the reference signal reception power of the first base station is less than the preset reference signal reception power; the reference signal reception quality of the first base station is less than the preset reference signal reception quality.
[0011] Since electronic devices usually give priority to connecting to base stations with higher network standards for communication services, and the first network standard is higher than the second network standard, electronic devices will give priority to connecting to base stations with the first network standard for communication. Based on this, when the number of base stations with the first network standard in the first area is less than the number of base stations with the second network standard, it means that the abnormal communication service of the electronic device may be caused by insufficient network resources of the base stations with the first network standard in the first area. In this case, if the first base station meets the communication abnormality condition, it means that the network resources of the first base station are insufficient, which can be explained that the network resources of the base stations with the first network standard in the first area are insufficient, and its communication quality is poor, which can be explained that the communication quality of the base stations with the second network standard in the first area is due to the communication quality of the base stations with the first network standard.
[0012] In some embodiments, the communication service includes an Internet access service and / or a voice call service; and detecting that an abnormality occurs in the communication service through the first base station includes: detecting that a network freeze abnormality occurs in the Internet access service through the first base station; and / or detecting that a voice call freeze abnormality occurs in the voice call service through the first base station.
[0013] In some embodiments, the method further includes: corresponding to the communication quality of the base station of the first network standard in the first area being better than the communication quality of the base station of the second network standard, switching to a third base station of the first area using the first network standard for communication services.
[0014] The third base station may 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 of the first network standard within the first area where the electronic device is located returns to normal, for example, when the load of electronic devices on the third base station decreases, so that its network resources are sufficient, the electronic device can disconnect from the currently connected first base station, then connect to the third base station and conduct communication services through the third base station. Because the network standard of the third base station is higher than that of the first base station, the electronic device switches to the third base station with sufficient network resources for communication services, which can improve the smoothness of communication services.
[0016] In some embodiments, switching to a third base station in the first area that uses the first network standard to perform 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 switching to a third base station in the first area that uses the first network standard to perform communication services.
[0017] In a scenario where the position of the electronic device has not been updated (stationary) and is still at its original position in the first area, when the communication quality of the third base station of the first network standard in the first area where the electronic device is located returns to normal, if the electronic device identifies that the data transmission rate (network speed) of the foreground application currently accessing the Internet (such as video applications, conference applications, etc.) is less than or equal to the preset data transmission rate (for example, 3Mbps, 4Mbps, 5Mbps, etc., not limited to this), the electronic device switches to the third base station of the first network standard in the first area to access the Internet. If the electronic device identifies that the data transmission rate of the foreground application currently accessing the Internet is greater than the preset data transmission rate, the electronic device does not perform the action of switching the base station, that is, it does not switch to the third base station of the first network standard in the first area to access the Internet. In this way, the foreground application of the electronic device can be prevented from being stuck due to base station switching.
[0018] For example, when an electronic device uses a video application to play a video online, since the video application has a high requirement for network speed, if the electronic device switches the base station at this time, it will affect the video playback during the switching process, causing the video played by the video application to freeze. When the electronic device uses a chat application to send a chat message, since the chat application has a low requirement for network speed, if the electronic device switches the base station at this time, the impact on the chat application is small. In some embodiments, it is detected that the position of the electronic device is updated; the communication quality of the base station of the first network standard in the second area where the electronic device is located after the position update is better than the communication quality of the base station of the second network standard, and 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; the communication quality of the base station of the second network standard in the second area is better than the communication quality of the base station of the first network standard, and 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.
[0019] When an electronic device is in a mobile state, the electronic device needs to continuously switch base stations to ensure normal communication services. When the electronic device detects that the current location is updated, and the communication quality of the base station of the first network standard in the second area where the electronic device is located after the update is better than the communication quality of the base station of the second network standard, the electronic device can switch to the fourth base station of the first network standard in the second area for communication services. Alternatively, when the electronic device detects that the current location is updated, and the communication quality of the base station of the second network standard in the second area where the electronic device is located after the update is better than the communication quality of the base station of the first network standard, the electronic device can switch to the fifth base station of the second network standard in the second area for communication services to keep the communication services normal during the movement.
[0020] In a second aspect, embodiments of the present application provide an electronic device, comprising: a memory for storing instructions executed 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 the present application. The beneficial effects achieved by the second aspect can be referenced to the beneficial effects of the method provided in any embodiment of the first aspect and are not further elaborated here.
[0021] In a third aspect, embodiments of the present application provide a computer-readable storage medium having instructions stored thereon. When executed on a computer, the instructions cause the computer to perform the method described in any embodiment of the first aspect. The beneficial effects achieved in the third aspect can be referenced to the beneficial effects of the method described in any embodiment of the first aspect and are not further elaborated here.
[0022] In a fourth aspect, embodiments of the present application provide a computer program product, comprising computer program code. When the computer program code is executed on a computer, the computer implements the method described in any embodiment of the first aspect. The beneficial effects achieved in the fourth aspect can be referenced to the beneficial effects of the method provided in any embodiment of the first aspect and are not further elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figures 1A to 1C An exemplary application scenario of the present application is shown;
[0024] Figure 2 A schematic diagram of a base station switching process provided in some embodiments;
[0025] Figure 3A This is an example diagram of a communication scenario of a UE provided in an embodiment of the present application;
[0026] Figure 3B This is an example diagram of another UE communication scenario provided in an embodiment of the present application;
[0027] Figure 3C This is an example diagram of another UE communication scenario provided in an embodiment of the present application;
[0028] Figure 4 An example flow chart of a communication method provided in an embodiment of the present application;
[0029] Figure 5 An example flow chart of another communication method provided in an embodiment of the present application;
[0030] Figure 6 A scenario diagram of a UE switching base station provided in an embodiment of the present application;
[0031] Figure 7A diagram of another scenario of UE switching base stations provided in an embodiment of the present application;
[0032] Figure 8 A schematic diagram of a smooth switching of a UE back to an SA base station provided in this embodiment;
[0033] Figure 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0034] The embodiments of the present application are used to provide a communication method. The communication method provided by the embodiments of the present application is introduced below with reference to specific embodiments.
[0035] Explanation of terms:
[0036] (1) Network standard
[0037] The network standard refers to the type of network, such as 2G network, 3G network, 4G network, 5G network, etc.
[0038] High network standards refer to network types that use more advanced (higher communication performance) mobile communication technology standards, with faster data transmission speeds, lower network latency and larger network capacity, such as 5G networks.
[0039] Compared with high network standards, low network standards refer to network types that adopt mobile communication technology standards with relatively low communication performance, relatively slow data transmission rates, relatively high network latency, and relatively small network capacity, such as 4G networks.
[0040] It can be understood that for 2G network, 3G network, 4G network and 5G network, their network standards are from high to low: 5G network, 4G network, 3G network, 2G network.
[0041] (2) Base Station
[0042] The base stations in this application can be various types of base stations, such as 2G base stations, 3G base stations, 4G base stations, 5G base stations, base stations in transition networks between two generations of communication networks (such as base stations in 5.5G networks), base stations in the next generation or next generations of communication networks to be developed in the future (such as base stations in 6G networks), etc., without limitation.
[0043] The following describes 2G base stations, 3G base stations, 4G base stations, and 5G base stations:
[0044] 2G base station: A 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 in a long-term evolution (LTE) network (or "LTE base station"). 4G networks include LTE networks. This document 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) networks. This article refers to base stations in SA networks as "SA base stations."
[0048] Figures 1A to 1C This is an exemplary application scenario of this application.
[0049] refer to Figure 1A There are 3 SA base stations (including SA base stations 1 to 3) and 10 LTE base stations (including LTE base stations 1 to 10) in the P1 area where the UE 20 (such as a car computer, mobile phone, tablet, computer, smart watch, smart bracelet and other electronic devices) inside the vehicle S1 is located.
[0050] It can be understood that the network standard of the SA base station (5G) is higher than the network standard of the LTE base station (4G), and the UE in the P1 area will preferentially connect to the SA base station.
[0051] In some cases, due to the small 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 are overloaded, network resources are insufficient, and communication quality is poor. However, due to the large number of LTE base stations in the P1 area and the fact that the connection priority of LTE base stations is lower than that of SA base stations, the LTE base stations in the P1 area are underloaded, network resources are sufficient, and communication quality is good.
[0052] In this case, if Figure 1A As shown, when UE 20 is connected to SA base station 1 in area P1 and communicates through SA base station 1, due to the poor communication quality of SA base station 1, UE 20 may experience communication anomalies when communicating through SA base station 1, such as network lag and voice call lag. In this case, UE 20 needs to switch base stations to restore its communication to normal.
[0053] In some embodiments, UE 20 may preferentially switch to a base station with a higher network standard to restore normal communication. 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 and communicates through SA base station 2. However, since the communication quality of SA base station 2 is also poor, after UE 20 switches to SA base station 2 for communication, UE 20 still experiences communication anomalies. In this case, UE 20 needs to switch base stations again to restore its communication to normal.
[0054] In some embodiments, if UE 20 has switched to a base station of a higher network standard once but its communication has not been restored to normal, UE 20 may choose to switch to a base station of a lower network standard for communication. Figure 1C As shown, UE 20 is disconnected from SA base station 2, and then connected to LTE base station 1 and communicates through LTE base station 1. Since the communication quality of LTE base station 1 is good, after UE 20 switches to LTE base station 1 for communication, the communication of UE 20 can be restored to normal.
[0055] The following combination Figure 2 For the above Figures 1A to 1C The base station switching process shown is described in detail.
[0056] refer to Figure 2 The above base station switching 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 surfing the Internet and making voice calls. Due to the heavy load of SA base station 1 and insufficient network resources, communication anomalies are likely to occur during UE 20's communication through SA base station 1, such as network lag and voice call lag.
[0059] S2: UE 20 detects a communication anomaly.
[0060] For example, when application A of UE 20 is accessing the Internet through SA base station 1, when UE 20 detects that the network is stuck or there is no network service, it can be determined that the communication of UE 20 is abnormal.
[0061] For another example, when UE 20 is making a voice call through SA base station 1, when UE 20 detects that the voice call is stuck or disconnected, it can be determined that the communication of UE 20 is abnormal.
[0062] S3: UE 20 triggers the operation of handover to another SA base station.
[0063] After UE 20 detects a communication anomaly, UE 20 can obtain channel quality report (CHR) information during the communication process of UE 20 through SA base station 1 to determine whether the communication anomaly of UE 20 is caused by insufficient network resources of the base station (access layer) based on the CHR information.
[0064] The CHR information may include modulation and coding scheme (MCS) order, reference signal received power (RSRP), reference signal received quality (RSRQ), resource block (RB), bit error rate and other parameter information.
[0065] When UE 20 determines based on CHR information that the communication abnormality 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, or "disable SA cell operation", that is, switching to other SA base stations.
[0066] S4: UE 20 connects 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 detects a communication anomaly.
[0069] Refer to the above Figure 1C Since the load of SA base station 2 is also too large, SA base station 2 cannot provide sufficient network resources for UE 20, resulting in that after UE 20 is connected to SA base station 2 and UE 20 switches to SA base station 2, UE 20 still detects communication abnormalities.
[0070] S6: UE 20 triggers an operation of switching the LTE base station.
[0071] When the UE 20 detects that an abnormality occurs in the communication through the SA base station 2 , the UE 20 triggers an operation of switching to the LTE base station to switch to the LTE base station.
[0072] S7: UE 20 connects 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, then connects to the LTE base station 1, and communicates through the LTE base station 1.
[0074] S8: UE 20 detects that communication has returned to normal.
[0075] Since the communication quality of LTE base station 1 is good, it can provide sufficient network resources for UE 20. After UE 20 switches to LTE base station 1, UE 20 detects that the 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 again 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 longer abnormal communication time for UE 20.
[0077] In order to solve the above technical problems, an embodiment of the present application provides a communication method, in which, during the process of a UE connecting to a first base station of a first network standard and communicating through the first base station (for example, surfing the Internet, making voice calls, etc.), when the UE detects that an abnormality occurs in the communication through the first base station (for example, network freeze, voice call freeze, etc.), if the communication quality of the base station of the second network standard (for example, an LTE base station) in the first area where the UE is located is better than the communication quality of the base station of the first network standard (for example, an LTE base station), the UE switches to the second base station of the second network standard for communication. Among them, the first network standard is higher than the second network standard. Since the communication quality of the second base station is better, after the UE switches to the second base station for communication, the communication of the UE can be restored to normal. Based on this, the UE only needs to switch the base station once to restore its communication to normal, without having to switch the base station multiple times. In this way, the communication recovery speed of the UE is improved and the communication abnormality time of the UE is reduced.
[0078] In some embodiments, the first area where the UE is located may be a circular area with the UE's location as the center and the first distance as the radius. The first distance is the sum of the UE's signal transmission distance and the set distance. The set distance can be set according to actual scenario requirements and is not limited to this. For example, the set distance can be 200 meters, 300 meters, 400 meters, etc. In other embodiments, the first area where the UE is located may also be an area of other shapes (for example, a rectangle, an ellipse, an irregular shape, etc.) and sizes, and is not limited to this. It can be understood that the first area is greater than or equal to the UE's signal coverage area.
[0079] It should be noted that the embodiments of the present application do not limit the specific forms 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 may be an SA base station, and the base station of the second network standard may be an LTE base station. Alternatively, the base station of the first network standard may be an LTE base station, and the base station of the second network standard may be a 3G base station. Alternatively, the base station of the first network standard may be an SA base station, and the base station of the second network standard may be a 3G base station.
[0080] For example, refer to Figure 3A , in the P1 area where UE 20 is located, the communication quality of the LTE base station is better than the communication quality of the SA base station. When UE 20 is connected to SA base station 1 (as an example of the first base station) in the P1 area (as an example of the first area) and communicating through SA base station 1, when 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), rather than first switching to another SA base station (such as SA base station 2) and then switching to LTE base station 1. In this way, the number of base station switches is reduced, thereby improving the speed of communication recovery and shortening the duration of communication anomalies.
[0081] The technical solution of this application is described below with reference to specific embodiments.
[0082] Figure 4 This is an example flow chart of the communication method provided in an embodiment of the present application.
[0083] Step S101: UE is connected to a first base station.
[0084] It can be understood that UE can be a mobile phone, tablet, computer, smart watch, smart bracelet, vehicle-mounted equipment (such as car computer), etc., which communicates (such as surfing the Internet, voice calls) through the base station. Electronic devices.
[0085] It can be understood that the first base station is a base station of the first network standard.
[0086] In some embodiments, the UE may connect to a first base station and communicate through the first base station.
[0087] For example, referring to the above Figure 1A , UE 20 in the P1 area is connected to the SA base station 1 (as an example of the first base station) and communicates through the SA base station 1.
[0088] Step S102: The UE detects a communication anomaly.
[0089] In some embodiments, during the process of the UE communicating through the first base station, when the UE's network is disconnected, or the network has no service, or the voice call is stuck, or the voice call is dropped, the UE detects a communication abnormality.
[0090] For example, referring to the above Figure 1A When UE 20 currently runs application A (such as video application, conference application, etc.) to access the Internet through SA base station 1, if application A has a high demand for network speed, and the network resources of SA base station 1 are insufficient and cannot meet the network speed demand of application A, UE 20 network will be stuck, and UE 20 can detect communication abnormalities 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 the communication quality 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 can be understood that since the first network standard is higher than the second network standard, the UE in the first area will give priority to connecting to the base station of the first network standard. When the number of base stations of the first network standard in the first area is less than that of the base stations of the second network standard, since the UE in the first area will give priority to connecting to the base stations of the first network standard, the load of the base stations of the first network standard in the first area will be greater than the load of the base stations of the second network standard. When the load of the base stations of the first network standard is too large, its network resources will be insufficient, resulting in poor communication quality. In this case, the communication quality of the base stations of the second network standard in the first area will be better than the communication quality of the base stations of the first network standard.
[0093] It can be understood 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 to which the UE is currently connected 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 the communication anomaly, the UE can acquire and compare the number of base stations of the first network type and the second network type in the first area, when the number of base stations of the first network type is less than the number of base stations of the second network type, the UE can acquire the CHR information of the communication through the first base station, and determine whether the network resources of the first base station of the first network type are sufficient according to the CHR information. When the UE determines that the network resources of the first base station of the first network type are insufficient according to the CHR information, it can be determined that the network resources of the base station of the first network type in the first area are insufficient, so it can be determined that the communication quality of the base station of the second network type in the first area is better than that of the base station of the first network type. Then, the UE disconnects from the currently connected first base station for subsequent handover to other base stations to restore its communication to normal.
[0095] In some embodiments, the UE can acquire map data of the first area, which includes the position, number, network type, etc. of each base station in the first area. Then the UE can determine the number of base stations of the first network type and the second network type in the first area according to the map data.
[0096] It can be understood that the map data can be pre-stored in the UE, or acquired by the UE from a server (such as a server providing data service for map application) storing the map data, or acquired by other means, which are not limited.
[0097] In some embodiments, the CHR information can include network parameters such as MCS order, bit error rate, RSRP, RSRQ, RB number, etc. 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 RB number is less than a preset RB number (such as 4, 5, 6, etc., which are not limited), it can be determined that the network resources of the first base station are insufficient. The preset RB number can be the RB number of the UE in the current network environment without communication anomaly.
[0099] For example, when the RSRP is less than a 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 a SA base station, the preset RSRP can be -110 dBm (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 standard 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 according to the formula: network throughput weight = number of RBs × MCS order. Then, it is determined whether the network throughput weight of the first base station is less than a preset network throughput weight (e.g., 80, 90, 100, etc., which is not limited to this). 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 is connected to the second base station.
[0103] The second base station is a base station of the second network standard.
[0104] In some embodiments, after the UE is disconnected from the first base station of the first network standard to which it is currently connected, the UE may determine a second base station of the second network standard from multiple base stations of the second network standard within the first area, and then connect to the second base station. It is understood that the second base station may be the base station with the strongest signal among the multiple base stations of the second network standard, or the base station closest to the UE, or any one of the multiple base stations of the second network standard, without limitation.
[0105] For example, reference Figure 3A After UE 20 determines that the communication quality of the LTE base station in area P1 is better than that of the SA base station, UE 20 detects that the signal of LTE base station 1 is the strongest. UE 20 then 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 can be understood that since the network resources of the second base station are relatively sufficient and the communication quality is relatively good, after the UE switches to the second base station for communication, its communication can return to normal.
[0108] For example, reference Figure 3A Since the network resources of LTE base station 1 are sufficient and the communication quality is good, when UE 20 switches to LTE base station 1 for communication, the communication of UE 20 returns to normal.
[0109] In some embodiments, after the UE connects with the second base station of the second network standard, the UE can determine whether there is a base station of the first network standard with sufficient network resources in the first region at a set time interval (e.g., 5 minutes, 6 minutes, etc., which is not limited). When the UE detects that the third base station of the first network standard in the first region has sufficient network resources, the UE disconnects from the currently connected second base station of the second network standard, and then connects with the third base station of the second network standard, and communicates 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 region where the UE is located.
[0111] For example, referring to Figure 3B After the UE 20 connects with the LTE base station 1, when the UE 20 detects that the SA base station 3 (as an example of the third base station) in the P1 region has sufficient network resources, the UE 20 can disconnect from the LTE base station 1, and then connect with the SA base station 3, and communicate through the SA base station 3.
[0112] In some embodiments, when the data transmission rate of the electronic device with the second base station is less than or equal to a preset data transmission rate, the electronic device switches to the third base station of the first network standard in the first region for communication services.
[0113] In the scenario where the location of the electronic device is not updated (stationary) and still in the original location in the first region, when the communication quality of the third base station of the first network standard in the first region where the electronic device is located is restored to normal, if the electronic device identifies that the data transmission rate (network speed) of the foreground application (such as a video application, a conference application, etc.) currently connected for online is less than or equal to a preset data transmission rate (such as 3 Mbps, 4 Mbps, 5 Mbps, etc., which is not limited), the electronic device switches to the third base station of the first network standard in the first region for online. If the electronic device identifies that the data transmission rate of the foreground application currently connected for online is greater than the preset data transmission rate, the electronic device does not perform the action of switching the base station, that is, does not switch to the third base station of the first network standard in the first region for online. In this way, the foreground application of the electronic device can be prevented from being stuck due to the switching of the base station.
[0114] For example, when the electronic device uses a video application to play a video online, since the video application has a high requirement for network speed, if the electronic device performs the action of switching the base station, the playing of the video will be affected in the process of switching the base station, resulting in the video played by the video application being stuck. When the electronic device uses a chat application to send a chat message, since the chat application has a low requirement for network speed, if the electronic device performs the action of switching the base station, the chat application is less affected.
[0115] In other embodiments, after the UE is connected to a second base station of a second network standard, when the UE detects that its location has been updated 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 the communication quality 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 a fourth base station of the first network standard and communicates through the fourth base station. 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 is connected to LTE base station 1 at location A, when UE 20 detects that the current location has moved from location A to location B, and detects that there is an SA base station 4 (as an example of a fourth base station) with sufficient network resources outside the P1 area, 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 is connected to a second base station of a second network standard, when the UE detects that its location has been updated and the communication quality of the base station of the second network standard in the second area where the UE is currently located is better than the communication quality of the base station of the first network standard, the UE disconnects from the currently connected first base station of the second network standard and then connects to a fifth base station of the second network standard and communicates through the fifth base station. The fifth base station is located outside the first area and has sufficient network resources.
[0118] In an embodiment of the present application, when an abnormality occurs in the communication of the UE, the UE can restore its communication to normal by directly switching from the first base station of the first network standard to the second base station of the second network standard. It only needs to switch the base station once to restore its communication to normal, without switching the base station multiple times, thereby reducing the number of base station switches, 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 communication method provided in the embodiment of the present application is described below by taking UE 20 as UE, P1 area as the first area, SA base station 1 as an example of the first base station, and LTE base station 1 as an example of the second base station.
[0120] Figure 5 An example flow chart of another communication method provided in an embodiment of the present application.
[0121] refer to Figure 5 , the communication method comprises the following steps:
[0122] S201 : UE 20 connects to SA base station 1 .
[0123] In some embodiments, referring to the above Figure 3A , UE 20 is connected to SA base station 1 in area P1 and communicates through SA base station 1.
[0124] S202: UE 20 detects a communication anomaly.
[0125] In some embodiments, when the network of UE 20 is disconnected, or the network has no service, or the voice call is stuck, or the voice call is dropped, UE 20 detects a communication anomaly.
[0126] S203: UE 20 determines whether the number of SA base stations in area P1 is less than the number of LTE base stations.
[0127] If not, execute step S204. If yes, execute step S205.
[0128] In some embodiments, the UE 20 includes a self-healing module configured to determine whether to switch base stations and the network standard of the switched base stations when the UE 20 detects a communication anomaly.
[0129] In some embodiments, after UE 20 detects a communication anomaly, UE 20 can obtain map data of the P1 area through the self-healing module. The map data includes data such as the location, number, and network format of each base station in the P1 area. Then, UE 20 can determine the number of SA base stations and the number of LTE base stations in the P1 area based on the map data and compare them. When the number of SA base stations in the P1 area is less than the number of LTE base stations, UE 20 performs the following 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, UE 20 performs the following step S204.
[0130] In other embodiments, after obtaining map data of the P1 area through the self-healing module, UE 20 can also calculate the proportion of SA base stations and LTE base stations in the P1 area. When the proportion of SA base stations is greater than or equal to the proportion of LTE base stations, UE 20 performs the following step S204. When the proportion of SA base stations in the P1 area is less than the proportion of LTE base stations, UE 20 performs the following step S205.
[0131] S204 : UE 20 connects to SA base station 2 .
[0132] In some embodiments, when communication abnormality occurs with UE 20 and the number of SA base stations in area P1 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: The UE 20 determines whether the network throughput weight of the SA base station 1 is greater than a preset network throughput weight.
[0134] If not, step S206 is performed. If yes, step S207 is performed.
[0135] In some embodiments, when the communication of the UE 20 is abnormal and the number of SA base stations in the P1 area is less than the number of LTE base stations, the UE 20 can obtain the MCS order and the number of RBs of the SA base station 1, and then calculate the network throughput weight of the 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 (such as 80, 90, 100, etc.). When the network throughput weight is less than or equal to the preset network throughput weight, the UE 20 performs the following step S206. When the network throughput weight is greater than the preset network throughput weight, the UE 20 performs the following step S207.
[0136] S206: The UE 20 connects with the SA base station 2.
[0137] In some embodiments, when the UE 20 determines that the network throughput weight of the SA base station 1 is less than or equal to the preset network throughput weight, the UE 20 disconnects from the currently connected SA base station 1 and connects with the SA base station 2.
[0138] S207: The UE 20 connects with the LTE base station 1.
[0139] In some embodiments, referring to the above Figure 3A When the UE 20 determines that the network throughput weight of the SA base station 1 is greater than the preset network throughput weight, the UE 20 disconnects from the currently connected SA base station 1 and connects with the LTE base station 1.
[0140] S208: The UE 20 detects that the communication is back to normal.
[0141] It can be understood that since the load of the LTE base station 1 is small and the network resources are sufficient, the communication quality is good, after the UE 20 connects with the LTE base station 1, the communication of the UE 20 can return to normal.
[0142] S209: The UE 20 detects that the location is updated and there is an SA base station with sufficient network resources in the signal coverage range, disconnects from the LTE base station 1, and connects with the SA base station.
[0143] It is understandable that after UE 20 is connected to LTE base station 1, if UE 20 moves and moves away from LTE base station 1, when the distance between UE 20 and LTE base station 1 is far, the communication quality of UE 20 will deteriorate. At this time, UE 20 needs to re-switch the base station to ensure normal communication.
[0144] For example, reference Figure 6 When vehicle S1 moves away from LTE base station 1, UE 20 in 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 increases, 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 it detects that its location has been updated and that an SA base station with sufficient network resources is within its coverage area, it disconnects from LTE base station 1 and connects to the SA base station. This allows for early handover back to the SA base station, preventing communication anomalies with UE 20.
[0146] For example, reference Figure 6 When UE 20 moves from location A to location B, it detects that its location has been updated. At this point, UE 20 can detect whether there is an SA base station with sufficient network resources within its current signal coverage. If UE 20 detects an SA base station with sufficient network resources within its current signal coverage, such as SA base station 4, UE 20 disconnects from its currently connected LTE base station 1, then connects to SA base station 4 and communicates through SA base station 4.
[0147] In other embodiments, when UE 20 is communicating through LTE base station 1, if UE 20 detects a communication anomaly, detects a location update, and detects that an SA base station with sufficient network resources exists within the current signal coverage area, UE 20 disconnects from LTE base station 1 and connects to the SA base station. In this way, when a communication anomaly occurs in UE 20, UE 20 can be promptly switched back to the SA base station, thereby restoring normal communication with UE 20.
[0148] For example, reference Figure 6During communication between UE 20 and LTE base station 1, if UE 20 detects a communication anomaly, UE 20 may detect whether its own location has been updated. When UE 20 detects that its own location has been updated, UE 20 may 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 within the current signal coverage area, such as SA base station 4 (as an example of a fourth base station), UE 20 disconnects from the currently connected LTE base station 1, then connects to SA base station 4, and communicates through SA base station 4.
[0149] In some cases, reference Figure 7 When UE 20 detects that there is no SA base station with sufficient network resources within the current signal coverage range, 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 of the present application, 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 to which UE 20 is connected is large, this indicates that the network resources of the SA base stations in area P1 are insufficient and the communication quality is poor. In this case, if UE 20's communication becomes abnormal, UE 20 directly switches from SA base station 1 to LTE base station 1, which has better communication quality, allowing UE 20's communication 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, since UE 20 will give priority to connecting to the SA base station, the load of the SA base station is larger and the load of the LTE base station is smaller. At this time, the network resources of the SA base station are insufficient, and the network resources of the LTE base station are relatively sufficient. The communication quality of the LTE base station is better than the communication quality of the SA base station. UE 20 switches to the LTE base station in the P1 area for communication, and its communication can be restored to normal. Therefore, in the above step S203, when UE20 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, so that its communication can be restored to normal.
[0152] It is understood that when the UE 20 is in a mobile state, the UE 20 needs to continuously switch base stations to maintain communication. The following describes the process of switching from an LTE base station to an SA base station when the UE 20 is in a mobile state with reference to a specific embodiment.
[0153] Figure 8This is an example diagram of the process of UE 20 switching from an LTE base station to an SA base station provided in an embodiment of the present application.
[0154] refer to Figure 8 , the process includes the following steps:
[0155] S301 : UE 20 connects to LTE base station 1 .
[0156] Refer to the above Figure 3A When an abnormality occurs while UE 20 is communicating through SA base station 1 , UE 20 is disconnected from SA base station 1 and then connected to LTE base station 1 to communicate through LTE base station 1 .
[0157] S302: UE 20 determines whether it is in a moving state.
[0158] If not, execute step S303. If yes, execute step S304.
[0159] After UE 20 is connected to LTE base station 1, UE 20 detects whether it is currently in a mobile state. If not, UE 20 executes the following step S303; if so, UE 20 executes the following step S304.
[0160] S303 : UE 20 maintains connection with LTE base station 1 .
[0161] When the UE 20 is in a stationary state, since the network resources of the LTE base station 1 are sufficient and the communication quality is good, the UE 20 can maintain a connection with the LTE base station 1 .
[0162] S304: UE 20 detects that there is 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 range, and switch back to the SA base station when detecting that there is an SA base station with sufficient network resources within the current signal coverage range to ensure communication quality.
[0164] For example, referring to the above Figure 6 When UE 20 moves from location A to location B, UE 20 detects that the network resources of the SA base station 4 within the current signal coverage range are sufficient.
[0165] S305: UE 20 switches to the SA base station.
[0166] When UE 20 detects that there is an SA base station with sufficient network resources within the current signal coverage, 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] Exemplarily, referring to the above Figure 6 When the UE 20 detects the SA base station 4 with sufficient network resources at the site B, the UE 20 disconnects from the currently connected LTE base station 1 and then connects with the SA base station 4.
[0168] It can be understood that, since the communication quality of the SA base station is better than that of the LTE base station in the case of sufficient network resources, after the UE 20 is switched to be connected with the LTE base station 1 due to communication abnormality, if the location of the UE 20 is updated and the UE 20 detects a new SA base station with sufficient network resources, then the UE 20 is re-switched back to the SA base station, the communication quality of the UE 20 can be improved.
[0169] Figure 9 A structural schematic diagram of an electronic device 1000 is shown. The electronic device 1000 can be a user device mentioned in the present application, such as a mobile phone, a tablet, a computer, a smart watch, a smart bracelet, a vehicle-mounted device (such as a car machine), etc., which communicates (such as surfs the Internet, makes a voice call) through a base station.
[0170] The electronic device 1000 can include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a loudspeaker 170A, a receiver 170B, a microphone 170C, a headset interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 can include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light 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 be wirelessly connected with a base station of a first network standard or a base station of a second network standard mentioned in the present application through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, etc., so that the electronic device 1000 can communicate, such as surf the Internet, make a voice call, etc., through the base station of the first network standard or the base station of the second network standard.
[0172] In some embodiments, the internal memory 121 can 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 standard and the second network standard in the current area based on the map data.
[0173] It should be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 1000. In other embodiments of the present application, the electronic device 1000 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0174] The processor 110 may include one or more processing units, such as an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). In some embodiments, the processor 110 may include one or more interfaces, such as an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, and a subscriber identification module (SIM) interface.
[0175] The charging management module 140 is configured to receive charging input from a charger. The charger can be a wireless charger or a wired charger. In some embodiments of wired charging, the charging management module 140 can receive charging input from a wired charger through the USB interface 130. In some embodiments of wireless charging, the charging management module 140 can receive wireless charging input through a wireless charging coil of the electronic device 1000. The charging management module 140 can supply power to the electronic device while charging the battery 142.
[0176] The power management module 141 is configured to connect 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 to supply power to the processor 110, the internal memory 121, the display 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be configured to monitor parameters such as battery capacity, battery cycle count, battery health status (leakage, impedance), and the like. In some other embodiments, the power management module 141 can also be disposed in the processor 110. In some other embodiments, the power management module 141 and the charging management module 140 can also be disposed in the same device.
[0177] The wireless communication function of the electronic device 1000 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor, and the like.
[0178] The mobile communication module 150 can provide a solution for wireless communication including 2G / 3G / 4G / 5G and the like applied to the electronic device 1000. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter, amplify, and the like the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can also amplify signals modulated by the modem processor and radiate the signals as electromagnetic waves through the antenna 1. In some embodiments, at least part of the function modules of the mobile communication module 150 can be disposed in the processor 110. In some embodiments, at least part of the function modules of the mobile communication module 150 and at least part of the modules of the processor 110 can be disposed in the same device.
[0179] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 1000. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the 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 , so that electronic device 1000 can communicate with the network and other devices through wireless communication technology.
[0181] Electronic device 1000 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that 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 one.
[0183] The electronic device 1000 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
[0184] The external memory 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 via the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.
[0185] The internal memory 121 can be used to store computer executable program code, which includes instructions. The internal memory 121 may include a program storage area and a data storage area. The program storage area may store an operating system, an application required for at least one function (such as an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 1000 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, etc. The processor 110 executes various functional applications and data processing of the electronic device 1000 by running instructions stored in the internal memory 121 and / or instructions stored in a memory provided in the processor.
[0186] The electronic device 1000 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0187] The various embodiments disclosed in this application can be implemented in hardware, software, firmware, or a combination of these implementation methods. The embodiments of the present application can be implemented as a computer program or program code executed on a programmable system, which includes 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 perform the functions described herein and generate output information. The output information can be applied to one or more output devices in a known manner. For purposes of this application, a 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] Program code can be implemented with a high-level programming language or an object-oriented programming language to communicate with the processing system. Where necessary, program code can also be implemented in assembly language or machine language. In fact, the mechanism described in this application is not limited to the scope of 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 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, instructions may be distributed over a network or by other computer-readable media. Therefore, a machine-readable medium may include any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computer), including but not limited to a floppy disk, an optical disk, an optical disc, a read-only memory, a magneto-optical disk, a read-only memory, a random access memory, an erasable programmable read-only memory, an electrically erasable programmable read-only memory, a magnetic card or an optical card, a flash memory, or a tangible machine-readable memory for transmitting information (e.g., a carrier wave, an infrared signal, a digital signal, etc.) using the Internet in an electrical, optical, acoustic, or other form of propagation signal. Therefore, a machine-readable medium includes any type of machine-readable medium suitable for storing or transmitting electronic instructions or information in a form readable by a machine (e.g., a computer).
[0191] In the accompanying drawings, some structural or method features may be shown in a particular arrangement and / or order. However, it should be understood that such a particular arrangement and / or order may not be required. Rather, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the illustrative drawings. In addition, the inclusion of a structural or method feature in a particular figure does not imply that such feature is required in all embodiments, and in some embodiments, such features may not be included or may be combined with other features.
[0192] It should be noted that the units / modules mentioned in the various device embodiments of the present application are all logical units / modules. Physically, a logical unit / module can be a physical unit / module, or a part of a physical unit / module, or can be implemented as a combination of multiple physical units / modules. The physical implementation of these logical units / modules themselves is not the most important. The combination of functions implemented by these logical units / modules is the key to solving the technical problems raised by this application. In addition, in order to highlight the innovative part of this application, the above-mentioned device embodiments of this application do not introduce units / modules that are not closely related to solving the technical problems raised by this application. This does not mean that other units / modules do not exist in the above-mentioned device embodiments.
[0193] It should be noted that in the examples and description of the present application, relational terms such as first and second, etc. are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply the existence of any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a" does not exclude the presence of other identical elements in the process, method, article or device comprising the element.
[0194] While the present application has been shown and described with reference to certain preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the present application.
Claims
1. A communication method for an electronic device, characterized in that: The method comprises: Connecting to a first base station of a first network standard and performing communication services through the first base station; detecting that an abnormality occurs in the communication service performed through the first base station; The communication quality of the base station of the second network standard in the first area where the electronic device is located is better than the communication quality of the base station of the first network standard, and 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.
2. The method according to claim 1, characterized in that The communication quality of the base station of the second network standard in the first area where the electronic device is located is better than the communication quality of the 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.
3. The method according to claim 2, characterized in that The communication quality of the base station of the second network standard in the first area where the electronic device is located is better than the communication quality of the base station of the first network standard, further comprising: The first base station meets a communication abnormality condition, where the communication abnormality condition includes 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 a product of the number of resource blocks of the first base station and an order of a modulation and coding scheme; The number of resource blocks of the first base station is less than the preset number of resource blocks; The reference signal received power of the first base station is less than the preset reference signal received power; The reference signal reception quality of the first base station is less than the preset reference signal reception quality.
4. The method according to claim 1, wherein The communication service includes Internet access service and / or voice call service; Furthermore, the detecting that an abnormality occurs in the communication service performed through the first base station includes: detecting that a network freeze occurs during the Internet access service through the first base station; and / or, It is detected that a voice call freeze abnormality occurs during the voice call service conducted through the first base station.
5. The method according to claim 1, wherein The method further comprises: Corresponding to the communication quality of the base station of the first network standard in the first area being better than the communication quality of the base station of the second network standard, switching to the third base station of the first network standard in the first area to perform the communication service.
6. The method according to claim 5, characterized in that The switching to a third base station in the first area using the first network standard to perform the communication service includes: Determine 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 switch to a third base station in the first area that adopts the first network standard to perform the communication service.
7. The method according to claim 1 or 2 or 5 or 6, characterized in that The first area is larger than or equal to the signal coverage area of the first base station.
8. The method according to claim 1, characterized in that The method further comprises: detecting that the location of the electronic device is 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 is updated is better than the communication quality of the base station of the second network standard, switching to a fourth base station of the first network standard in the second area for the communication service, wherein the fourth base station is located outside the first area; The communication quality of the base station of the second network standard in the second area is better than the communication quality of the base station of the first network standard, and the communication service is switched to the fifth base station using the second network standard in the second area, wherein the fifth base station is located outside the first area.
9. The method according to claim 1, characterized in that The base station of the first network standard is an NR base station, and the base station of the second network standard is an LTE base station.
10. An electronic device, characterized in that: include: a memory for storing instructions to be executed by one or more processors of the electronic device; A processor, when the processor executes the instructions in the memory, causes the electronic device to execute the communication method according to any one of claims 1 to 9.
11. A computer-readable storage medium, characterized in that The computer-readable storage medium stores instructions, which, when executed on a computer, cause the computer to execute the communication method according to any one of claims 1 to 9.
12. A computer program product, characterized in that The invention comprises a computer program / instructions which, when executed, cause a computer to perform the communication method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Method and device for achieving network type switching
CN105873145A
Network switching method, device, mobile terminal and computer readable storage medium
CN107277872A
Network switching method, device, mobile terminal and computer readable storage medium
CN107277873A
Network type switching method and communication equipment
CN116056177A
Network switching method and device, electronic equipment and storage medium
CN116095779A