Communication method, device, equipment and storage medium

By actively measuring signal quality in the 5G network and sending target information to the base station, it is possible to switch to the 4G network for calls when the 5G network signal is weak, solving the problem of low call quality caused by weak 5G signals and improving call quality and user experience.

CN116723552BActive Publication Date: 2024-09-06HONOR DEVICE CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202211343715.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-31
Publication Date
2024-09-06
Estimated Expiration
2042-10-31

AI Technical Summary

Technical Problem

When the 5G network signal is weak, the mobile phone cannot effectively switch to the 4G network, resulting in low call quality and poor experience. This is mainly due to the unreasonable threshold value configured on the network side, which prevents the B1 event or B2 event from being triggered.

Method used

When the electronic device resides on the 5G network, it actively measures the signal quality. If the call quality on the 5G network is found to be poor, it sends target information to the base station, triggering the base station to instruct the base station to switch to the 4G network for calls during the call establishment phase. This is achieved using EPSFB or CSFB technology. Network switching.

Benefits of technology

By proactively switching networks based on air interface signal quality, the call quality is improved, the user experience is improved, and the problem of low call quality caused by weak signals is avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116723552B
    Figure CN116723552B
Patent Text Reader

Abstract

The present application discloses a communication method, apparatus, device and storage medium, which belongs to the field of communication technology. In this method, the electronic device obtains the first air interface signal quality while residing in the first network, and the first air interface is the air interface of the first network. If it is determined that the preset condition is met according to the first air interface signal quality, it means that the call quality of the first network is not good. In this case, the electronic device sends target information to the base station to trigger the base station to instruct the electronic device to make a call through the second network during the call establishment phase. In this way, when the call quality of the first network is poor, the electronic device can actively report the target information to the base station, so that the base station can switch the network used by the electronic device during the call to the second network during the call establishment phase. In this way, the electronic device selects a better network during the call based on the air interface signal quality, thereby improving the call quality of the electronic device and improving the user's call experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a communication method, apparatus, device and storage medium. Background Art

[0002] In the case where the mobile phone can support up to the fifth generation (5th generation, 5G) mobile communication technology standard, in order to ensure a high residence ratio of the 5G network, when the mobile phone is in idle state, even if the air interface signal of the 5G network is weak, the mobile phone will still stay on the 5G network. When the mobile phone returns to the connected state, it is expected that the network side will issue an instruction to switch the mobile phone to the fourth generation (4th generation, 4G) network through the mobile phone reporting B1 event or B2 event. Among them, the B1 event is used to indicate that the signal of the neighboring cell of the different system is higher than the threshold value. The B2 event is used to indicate that the signal of the serving cell is weaker than the threshold value 1, and the signal of the neighboring cell of the different system is stronger than the threshold value 2. The threshold values ​​in the B1 event and the B2 event are all configured on the network side.

[0003] However, in the related art, the threshold value of the B1 event or B2 event configured on the network side may be unreasonable, resulting in the failure to trigger the B1 event or B2 event when the air interface signal of the 5G network is weak. As a result, when the mobile phone needs to make a call, when the air interface signal of the 5G network is weak, it does not switch to the 4G network as expected, but still makes a call through the 5G network, resulting in low call quality and poor call experience. Summary of the invention

[0004] The present application provides a communication method, apparatus, device and storage medium, which can improve the call quality of electronic devices. The technical solution is as follows:

[0005] In a first aspect, a communication method is provided, the method being applied to an electronic device, the electronic device supporting a first mobile communication technical standard and a second mobile communication technical standard, the first mobile communication technical standard being higher than the second mobile communication technical standard. In this application, a network based on the first mobile communication technical standard is referred to as a first network, and an air interface of the first network is referred to as a first air interface; a network based on the second mobile communication technical standard is referred to as a second network, and an air interface of the second network is referred to as a second air interface.

[0006] The first mobile communication technology standard may be the highest mobile communication technology standard among multiple mobile communication technology standards that the electronic device can support. In this case, the electronic device should normally stay in the first network as much as possible to ensure a high stay ratio of the first network.

[0007] For example, electronic devices can support up to 5G mobile communication technology standards. In this case, the 5G mobile communication technology standard is the first mobile communication technology standard, the 5G network is the first network, and the new radio (NR) is the first air interface; the 4G mobile communication technology standard is the second mobile communication technology standard, the 4G network is the second network, and the long term evolution (LTE) air interface is the second air interface. In this case, electronic devices should stay in the 5G network as much as possible under normal circumstances.

[0008] For another example, an electronic device can support up to the 4G mobile communication technology standard. In this case, the 4G mobile communication technology standard is the first mobile communication technology standard, the 4G network is the first network, and the LTE air interface is the first air interface; the third generation (3G) mobile communication technology standard is the second mobile communication technology standard, the 3G network is the second network, and the code division multiple access (CDMA) air interface is the second air interface. In this case, the electronic device should stay in the 4G network as much as possible under normal circumstances.

[0009] In the method, the first air interface signal quality is obtained while the electronic device resides in the first network. If the preset condition is determined to be met according to the first air interface signal quality, target information is sent to the base station, and the target information is used to trigger the base station to instruct the electronic device to make a call through the second network during the call establishment phase.

[0010] The preset condition is used to indicate that the call quality of the first network is poor. That is, if it is determined that the preset condition is met according to the quality of the first air interface signal, it indicates that the call quality of the first network is poor, so the electronic device can send target information to the base station to trigger the base station to instruct the electronic device to make a call through the second network during the call establishment phase. In this way, when the call quality of the first network is poor, the electronic device can make a call by falling back from the first network to the second network when a call is needed. For example, when the first network is a 5G network and the second network is a 4G network, the electronic device can use the evolved packet system fallback (EPSFB) technology to fall back from the 5G network to the 4G network to use the long-term evolution voice bearer (VOLTE) call when a call is needed. Alternatively, when the first network is a 4G network and the second network is a 3G network, the electronic device can use the circuit switched fallback (CSFB) technology to fall back from the 4G network to the 3G network to use the 3G call when a call is needed.

[0011] In this application, when the call quality of the first network is poor, the electronic device can actively report the target information to the base station, so that the base station can switch the network used by the electronic device during the call to the second network during the call establishment phase. In this way, the electronic device selects a better network during the call based on the air interface signal quality, thereby improving the call quality of the electronic device and the user's call experience.

[0012] It is worth noting that after the base station instructs the electronic device to make a call through the second network during the call establishment phase, the electronic device can fall back from the first network to the second network when it needs to make a call, that is, the electronic device is connected to the second network when making a call. When the electronic device ends the call, it can return to the first network from the second network. For example, when the electronic device ends the call, it can return from the second network to the first network based on the FastReturn mechanism, that is, the electronic device is connected to the first network when not making a call. In this way, it can be ensured that the electronic device stays in the first network as much as possible under normal circumstances, without affecting the user experience.

[0013] Optionally, if it is determined according to the first air interface signal quality that a preset condition is met, the operation of sending the target information to the base station may be implemented in the following two possible ways:

[0014] The first possible method is: if the first air interface signal quality is lower than the first signal quality threshold when a call request message is received or a call request message is sent, the electronic device obtains the second air interface signal quality; if the second air interface signal quality is higher than the fourth signal quality threshold, or if the second air interface signal quality is higher than the first air interface signal quality, a target event is sent to the base station.

[0015] In this case, the preset condition is: when a call request message is received or a call request message is sent, the first air interface signal quality is lower than the first signal quality threshold and the second air interface signal quality is higher than the fourth signal quality threshold; or, when a call request message is received or a call request message is sent, the first air interface signal quality is lower than the first signal quality threshold and the second air interface signal quality is higher than the first air interface signal quality. The target information is a target event.

[0016] The target event is used to indicate that the signal of the neighboring cell of the heterogeneous system is higher than the threshold value. For example, the target time can be a B event, such as a B1 event or a B2 event. The B1 event is used to indicate that the signal of the neighboring cell of the heterogeneous system is higher than the threshold value. The B2 event is used to indicate that the signal of the serving cell is weaker than the threshold value 1, while the signal of the neighboring cell of the heterogeneous system is stronger than the threshold value 2. The threshold value 1 and the threshold value 2 can be the same or different. Optionally, the threshold values ​​in the B1 event and the B2 event are both configured on the network side.

[0017] If an electronic device receives a call request message, it means that another device, as a calling device, requests to talk to the electronic device. If an electronic device sends a call request message, it means that the electronic device, as a calling device, requests to talk to another device. In both cases, the electronic device is about to make a call.

[0018] When an electronic device is about to make a call, if the first air interface signal quality is lower than the first signal quality threshold and the second air interface signal quality is higher than the fourth signal quality threshold, it means that the first air interface signal quality is poor and the second air interface signal quality is good, so the electronic device can send a target event to the base station. After the base station receives the target event and learns that the signal of the neighboring cell of the different system is higher than the threshold value, it will instruct the electronic device to access the neighboring cell of the different system (i.e., the cell of the second network) during the call establishment phase. In other words, during the call establishment phase, the electronic device is instructed to switch the network used during the call to the second network, that is, during the call establishment phase, the electronic device is instructed to make a call through the second network, thereby improving the call quality of the electronic device.

[0019] Alternatively, when the electronic device is about to make a call, if the first air interface signal quality is lower than the first signal quality threshold and the second air interface signal quality is higher than the first air interface signal quality, it means that the first air interface signal quality is poor and the second air interface signal quality is better than the first air interface signal quality, so the electronic device can send a target event to the base station. After the base station receives the target event and learns that the signal of the neighboring cell of the different system is higher than the threshold value, it will instruct the electronic device to access the neighboring cell of the different system (i.e., the cell of the second network) during the call establishment phase. In other words, during the call establishment phase, the electronic device is instructed to switch the network used during the call to the second network, that is, during the call establishment phase, the electronic device is instructed to make a call through the second network, thereby improving the call quality of the electronic device.

[0020] It is understandable that in this application, the triggering of the target event has the following two situations:

[0021] The first scenario is that the target event is triggered normally according to the heterogeneous system neighboring cell signal and its threshold value. That is, the electronic device normally triggers the B1 event when it detects that the heterogeneous system neighboring cell signal is higher than the threshold value, and reports the B1 event to the base station; or, the electronic device normally triggers the B2 event when it detects that the service cell signal is weaker than the threshold value 1 and the heterogeneous system neighboring cell signal is stronger than the threshold value 2, and reports the B2 event to the base station.

[0022] The second situation is to trigger the target event in the first possible way mentioned above. That is, when a call request message is received or a call request message is issued, if it is determined that the first air interface signal quality is lower than the first signal quality threshold and the second air interface signal quality is higher than the fourth signal quality threshold, or if it is determined that the first air interface signal quality is lower than the first signal quality threshold and the second air interface signal quality is higher than the first air interface signal quality, then regardless of the size relationship between the current heterosystem neighboring cell signal and its threshold value, the B1 event or B2 event is directly triggered, and the B1 event or B2 event is reported to the base station. In this way, even if the threshold value in the B1 event or B2 event configured on the network side is unreasonable and the B1 event or B2 event cannot be triggered according to the first situation when the first air interface signal is weak, the present application can also trigger the B1 event or B2 event in the case of a weak first air interface signal through the first possible way mentioned above, thereby ensuring that the electronic device can switch to the second network for a call when the first air interface signal is weak, thereby ensuring the call quality of the electronic device.

[0023] A second possible manner: if the first air interface signal quality is continuously lower than the first signal quality threshold within a first preset time period, the electronic device sends the first information to the base station.

[0024] In this case, the preset condition is: the first air interface signal quality is continuously lower than the first signal quality threshold within a first preset time period. The target information is the first information.

[0025] The first information is used to indicate that the electronic device does not support calls through the first network.

[0026] For example, when the first network is a 5G network and the second network is a 4G network, the electronic device can report user equipment (UE) capability information to the base station. The UE capability information includes a VONR support field. The VONR support field is used to indicate whether the electronic device supports VONR calls, that is, whether it supports calls through the 5G network. For example, if the value of the VONR support field is false, it indicates that the electronic device does not support VONR calls, that is, it does not support calls through the 5G network. In this case, the first information may be UE capability information, and the value of the VONR support field in the UE capability information is false.

[0027] For example, when the first network is a 4G network and the second network is a 3G network, the electronic device can report an attach message or a tracking area update (TAU) message to the base station. The attach message or TAU message contains a voice domain preference field. The voice domain preference field is used to indicate whether the electronic device supports VOLTE calls, that is, whether it supports calls through the 4G network. For example, if the value of the voicedomain preference field is 00, it indicates "CS Voice only", that is, the electronic device only supports CSFB, but not VOLTE calls, that is, it does not support calls through the 4G network. In this case, the first information can be an attach message or a TAU message, and the value of the voice domain preference field in the attach message or the TAU message is 00.

[0028] If the quality of the first air interface signal is continuously lower than the first signal quality threshold within the first preset time period, it means that the quality of the first air interface signal is in a relatively poor state for a long time. In this case, the call quality of the first network is likely to be relatively poor, so the electronic device can send a first message to the base station. Since the first information indicates that the electronic device does not support calls through the first network, after receiving the first information, the base station learns that the electronic device does not support calls through the first network, and then instructs the electronic device to switch the network used for the call during the call establishment phase, that is, instructs the electronic device to make a call through the second network during the call establishment phase. In this way, when the quality of the first air interface signal is relatively poor for a long time, the electronic device can trigger the base station to instruct the electronic device to switch the network used for the call during the call establishment phase by sending the first information to the base station, thereby improving the call quality of the electronic device.

[0029] Furthermore, the electronic device may also adjust the first preset duration in some specific situations. This is explained below:

[0030] Optionally, the electronic device obtains the second air interface signal quality while residing in the first network; if the first air interface signal quality is lower than the first signal quality threshold and the second air interface signal quality is higher than the fourth signal quality threshold, the first preset time length is reduced; if the first air interface signal quality is higher than or equal to the first signal quality threshold, the first preset time length is set as the initial value.

[0031] If the first air interface signal quality is lower than the first signal quality threshold and the second air interface signal quality is higher than the fourth signal quality threshold, it means that the current first air interface signal quality is poor and the second air interface signal quality is good. Then the preset condition to be met for sending the first information can be lowered, that is, the duration for which the first air interface signal quality is lower than the first signal quality threshold can be reduced, that is, the first preset duration can be reduced, so that the first information can be sent to the base station as soon as possible to trigger the base station to instruct the electronic device to make a call through the second network during the call establishment phase.

[0032] In this case, since the first preset time length is reduced to send the first information to the base station when it is determined that the first air interface signal quality is poor and the second air interface signal quality is good, after the base station instructs the electronic device to switch the network used during the call to the second network during the call establishment phase, it can be guaranteed to a certain extent that the electronic device will not need to trigger the base station to instruct the electronic device to switch the network used during the call back to the first network during the call establishment phase due to the poor quality of the second air interface signal. In this way, it can be avoided that the electronic device switches the network used during the call back and forth between the first network and the second network, avoiding the ping-pong effect.

[0033] If the first air interface signal quality is higher than or equal to the first signal quality threshold, it means that the current first air interface signal quality is good, so the preset condition to be met for sending the first information can be maintained, that is, the duration required to maintain the first air interface signal quality below the first signal quality threshold, that is, the first preset duration can be set as the initial value to ensure that the first information is sent to the base station when the first air interface signal quality is poor for a long time, so as to trigger the base station to instruct the electronic device to make a call through the second network during the call establishment phase. The initial value is a pre-set value, such as can be set by a technician according to actual needs.

[0034] Furthermore, after the electronic device sends the first information to the base station, it may also send second information to the base station under certain circumstances to trigger the base station to instruct the electronic device to make a call through the first network during the call establishment phase.

[0035] The second information is used to indicate that the electronic device supports calls through the first network.

[0036] For example, when the first network is a 5G network and the second network is a 4G network, the electronic device can report UE capability information to the base station. The UE capability information includes a VONR support field. The VONR support field is used to indicate whether the electronic device supports VONR calls, that is, whether it supports calls through the 5G network. For example, if the value of the VONR support field is true, it indicates that the electronic device supports VONR calls, that is, it supports calls through the 5G network. In this case, the second information can be UE capability information, and the value of the VONR support field in the UE capability information is true.

[0037] For example, when the first network is a 4G network and the second network is a 3G network, the electronic device can report an attach message or a TAU message to the base station. The attach message or the TAU message includes a voice domain preference field. The voice domain preference field is used to indicate whether the electronic device supports VOLTE calls, that is, whether it supports calls through the 4G network. For example, if the value of the voice domain preference field is 11, it indicates "IMS PS Voice preferred, CS Voice as secondary", that is, the electronic device supports both CSFB and VOLTE calls, but prefers VOLTE calls, that is, the electronic device supports calls through the 4G network. In this case, the second information can be an attach message or a TAU message, and the value of the voice domain preference field in the attach message or the TAU message is 11.

[0038] Since the second information indicates that the electronic device supports calls through the first network, after receiving the second information, the base station learns that the electronic device supports calls through the first network, and will instruct the electronic device to make calls through the first network during the call establishment phase.

[0039] Four possible situations in which the electronic device sends the second information to the base station after sending the first information to the base station are described below:

[0040] In the first case, the electronic device sends the second information to the base station after a second preset time period after sending the first information to the base station.

[0041] The electronic device sends the first information to the base station. After a long period of time (i.e., the second preset time), the signal quality of the first air interface is likely to have returned to normal. Therefore, the electronic device can send the second information to the base station to trigger the base station to instruct the electronic device to make a call through the first network during the call establishment phase. In this way, it can be ensured that the electronic device will make a call through the first network as much as possible under normal circumstances.

[0042] In the second case, the electronic device obtains the second air interface signal quality after sending the first information to the base station; if the second air interface signal quality is lower than the second signal quality threshold and the second air interface signal quality is lower than the first air interface signal quality, the second information is sent to the base station.

[0043] If the second air interface signal quality is lower than the second signal quality threshold and the second air interface signal quality is lower than the first air interface signal quality, it means that the second air interface signal quality is poor and worse than the first air interface signal quality, then the call quality of the second network will be worse than the call quality of the first network. In this case, it is not appropriate to use the second network for calls. Therefore, the electronic device can send second information to the base station to trigger the base station to instruct the electronic device to make a call through the first network during the call establishment phase, so as to ensure the call quality of the electronic device as much as possible.

[0044] In a third case, after the electronic device sends the first information to the base station, if the first air interface signal quality is continuously higher than the third signal quality threshold within a first preset time period, the electronic device sends the second information to the base station.

[0045] If the first air interface signal quality is continuously higher than the third signal quality threshold within the first preset time period, it means that the first air interface signal quality is in a relatively good state for a long time. In this case, the call quality of the first network is relatively good, so the electronic device can send the second information to the base station to trigger the base station to instruct the electronic device to make a call through the first network during the call establishment phase. In this way, it can be ensured that the electronic device will make a call through the first network as much as possible under normal circumstances.

[0046] In the fourth case, the electronic device obtains the second air interface signal quality after sending the first information to the base station; within the second preset time after sending the first information to the base station, if the second air interface signal quality is lower than the second signal quality threshold and the second air interface signal quality is lower than the first air interface signal quality, or if the first air interface signal quality is continuously higher than the third signal quality threshold within the first preset time, then the second information is sent to the base station; if the second information is not sent to the base station within the second preset time after sending the first information to the base station, then the second information is sent to the base station after the second preset time after sending the first information to the base station.

[0047] In the present application, within the second preset time period after sending the first information to the base station, if the second air interface signal quality is lower than the second signal quality threshold and the second air interface signal quality is lower than the first air interface signal quality, it means that the second air interface signal quality is poor and worse than the first air interface signal quality, then the call quality of the second network will be worse than the call quality of the first network. In this case, it is not appropriate to use the second network for calls. Therefore, the electronic device can send a second information to the base station to trigger the base station to instruct the electronic device to make a call through the first network during the call establishment phase, so as to ensure the call quality of the electronic device as much as possible.

[0048] Furthermore, within the second preset time after sending the first information to the base station, if the first air interface signal quality is continuously higher than the third signal quality threshold within the first preset time, it means that the first air interface signal quality is in a relatively good state for a long time. In this case, the call quality of the first network is relatively good, so the electronic device can send the second information to the base station to trigger the base station to instruct the electronic device to make a call through the first network during the call establishment phase. In this way, it can be ensured that the electronic device will make a call through the first network as much as possible under normal circumstances.

[0049] It can be understood that in the present application, within the second preset time period after sending the first information to the base station, if any one of the two conditions of "the second air interface signal quality is lower than the second signal quality threshold and the second air interface signal quality is lower than the first air interface signal quality" and "the first air interface signal quality is continuously higher than the third signal quality threshold within the first preset time period" is met, the electronic device can send the second information to the base station.

[0050] If, within the second preset time period after the first information is sent to the base station, the condition that "the second air interface signal quality is lower than the second signal quality threshold and the second air interface signal quality is lower than the first air interface signal quality" is not met, and the condition that "the first air interface signal quality is continuously higher than the third signal quality threshold within the first preset time period" is not met, then the electronic device will not send the second information to the base station within the second preset time period after the first information is sent to the base station. In this case, the electronic device can send the second information to the base station after the second preset time period after sending the first information to the base station. This is because after the electronic device sends the first information to the base station, after a long time (i.e., the second preset time period), the first air interface signal quality is likely to have returned to normal, so the electronic device can send the second information to the base station to trigger the base station to instruct the electronic device to make a call through the first network during the call establishment phase. In this way, it can be ensured that the electronic device will make calls through the first network as much as possible under normal circumstances.

[0051] In a second aspect, a communication device is provided, wherein the communication device has the function of implementing the communication method in the first aspect. The communication device includes at least one module, and the at least one module is used to implement the communication method provided in the first aspect.

[0052] In a third aspect, a communication device is provided, wherein the structure of the communication device includes a processor and a memory, wherein the memory is used to store a program that supports the communication device to execute the communication method provided in the first aspect, and to store data involved in implementing the communication method described in the first aspect. The processor is configured to execute the program stored in the memory. The communication device may also include a communication bus, wherein the communication bus is used to establish a connection between the processor and the memory.

[0053] In a fourth aspect, a computer-readable storage medium is provided, wherein instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is executed on a computer, the computer executes the communication method described in the first aspect.

[0054] In a fifth aspect, a computer program product comprising instructions is provided, which, when executed on a computer, enables the computer to execute the communication method described in the first aspect.

[0055] The technical effects obtained by the above-mentioned second, third, fourth and fifth aspects are similar to the technical effects obtained by the corresponding technical means in the above-mentioned first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] Figure 1 is a schematic diagram of a communication system provided in an embodiment of the present application;

[0057] Figure 2 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application;

[0058] Figure 3 is a block diagram of a software system of an electronic device provided in an embodiment of the present application;

[0059] Figure 4 This is a schematic diagram of a VONR call provided in an embodiment of the present application;

[0060] Figure 5 is a flow chart of a communication method provided by an embodiment of the present application;

[0061] Figure 6 is a schematic diagram of a first communication method provided in an embodiment of the present application;

[0062] Figure 7 is a schematic diagram of a second communication method provided in an embodiment of the present application;

[0063] Figure 8 is a schematic diagram of a third communication method provided in an embodiment of the present application;

[0064] Fig. 9 It is a structural diagram of a communication device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0065] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0066] It should be understood that the "multiple" mentioned in this application refers to two or more. In the description of this application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in order to facilitate the clear description of the technical solution of this application, the words "first" and "second" are used to distinguish between the same items or similar items with basically the same functions and effects. Those skilled in the art can understand that the words "first" and "second" do not limit the quantity and execution order, and the words "first" and "second" do not limit them to be different.

[0067] The phrases such as "one embodiment" or "some embodiments" described in the present application mean that the specific features, structures or characteristics described in the embodiment are included in one or more embodiments of the present application. Therefore, the phrases such as "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments" that appear in the differences in the present application do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. In addition, the terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0068] Before explaining the embodiments of the present application in detail, the system architecture involved in the embodiments of the present application is explained.

[0069] Figure 1 is a schematic diagram of a communication system provided in an embodiment of the present application. Figure 1 , the communication system includes an electronic device 100 and a base station 200. The electronic device 100 and the base station 200 can communicate with each other through a wireless connection.

[0070] The base station 200 may also be referred to as an access network device. Optionally, the base station 200 may be a base station under a stand-alone (SA) network, or a base station under a non-stand-alone (NSA) network, which is not limited in the embodiments of the present application. For example, the base station 200 may be a base transceiver station (BTS) in a 2G network based on the second generation (2G) mobile communication technology standard, or the base station 200 may be a base station (node ​​B, NB) in a 3G network based on the 3G mobile communication technology standard, or the base station 200 may be an evolutionary base station (eNB) in a 4G network based on the 4G mobile communication technology standard, or the base station 200 may be a next generation base station (next generation node B, gNB) in a 5G network based on the 5G mobile communication technology standard, and of course, the base station 200 may also be a base station in a network based on other mobile communication technology standards, which is not limited in the embodiments of the present application. Among them, the 4G network may also be referred to as an LTE network.

[0071] The electronic device 100 may also be referred to as a UE. The electronic device 100 may support a variety of mobile communication technology standards, for example, it may support 2G mobile communication technology standards, 3G mobile communication technology standards, 4G mobile communication technology standards, 5G mobile communication technology standards, etc. For example, the electronic device 100 may be a mobile device, a mobile station, a mobile unit, a wireless unit, a remote unit, a user agent, a mobile client, etc. Specifically, the electronic device 100 may be a portable electronic device such as a mobile phone, a tablet computer, a digital camera, a personal digital assistant (PDA), a wearable device, a laptop computer, etc.

[0072] Optionally, when the electronic device 100 accesses a certain network, the electronic device 100 communicates with the base station 200 in the network. For example, when the electronic device 100 accesses a 3G network, the electronic device 100 communicates with the NB in ​​the 3G network; when the electronic device 100 accesses a 4G network, the electronic device 100 communicates with the eNB in ​​the 4G network; when the electronic device 100 accesses a 5G network, the electronic device 100 communicates with the gNB in ​​the 5G network.

[0073] The electronic device 100 involved in the embodiment of the present application is described below.

[0074] Figure 21 is a schematic diagram of the structure of an electronic device 100 provided in an embodiment of the present application. Figure 2 The electronic device 100 may 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 speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a SIM card interface 195, etc. Among them, the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air 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.

[0075] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0076] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0077] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0078] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0079] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device 100 through the power management module 141.

[0080] The power management module 141 is used 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, and provides power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193 and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0081] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0082] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0083] 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 100. 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 the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0084] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0085] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0086] 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 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.

[0087] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created by the electronic device 100 during use (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, a universal flash storage (UFS), etc.

[0088] The electronic device 100 can implement audio functions, such as music playback, recording, etc., through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D and the application processor.

[0089] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.

[0090] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is an integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.

[0091] Next, the software system of the electronic device 100 will be described.

[0092] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software system of the electronic device 100.

[0093] Figure 3 1 is a block diagram of a software system of an electronic device 100 provided in an embodiment of the present application. Figure 3 The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system includes an application layer, an application framework layer, an Android runtime (Android runtime) and a system layer, as well as a kernel layer.

[0094] The application layer can include a series of applications. Figure 2 As shown, the application may include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, short message and other applications.

[0095] The application framework layer provides application programming interface (API) and programming framework for the applications in the application layer. The application framework layer includes some predefined functions. Figure 2As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, etc. The window manager is used to manage window programs. The window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc. The content provider is used to store and obtain data and make these data accessible to applications. These data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc. The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, etc. The view system can be used to build the display interface of the application, and the display interface can be composed of one or more views, for example, including a view for displaying a text message notification icon, including a view for displaying text, and including a view for displaying pictures. The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.). The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, etc. The notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of an icon or scroll bar text, such as a notification of an application running in the background. The notification manager can also be a notification that appears on the screen in the form of a dialog window, such as a text message in the status bar, a reminder sound, an electronic device vibrating, an indicator light flashing, etc.

[0096] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system. The core library consists of two parts: one is the function that the Java language needs to call, and the other is the Android core library. The application layer and the application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0097] The system library can include multiple functional modules, such as: surface manager, media library, 3D graphics processing library (such as: OpenGL ES), 2D graphics engine (such as: SGL), etc. The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications. The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc. The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing, etc. The 2D graphics engine is a drawing engine for 2D drawing.

[0098] The kernel layer is the layer between hardware and software. The kernel layer includes display driver, camera driver, audio driver, sensor driver, etc.

[0099] The application scenarios involved in the embodiments of the present application are described below.

[0100] In the case where the mobile phone can support up to 5G mobile communication technology standards, in order to ensure a high residence ratio of the 5G network, when the mobile phone is in an idle (IDLE) state, or when the data service throughput of the mobile phone is relatively low, even if the air interface (ie NR) signal of the 5G network is already weak, such as the reference signal receiving power (RSRP) of the NR signal is already -115dbm (decibel milliwatts), the mobile phone will still stay in the 5G network. When the mobile phone returns to the connected state, it is expected that the network side will issue an instruction to switch the mobile phone to the 4G network through the mobile phone's B1 event or B2 event. Among them, the B1 event is used to indicate that the signal of the neighboring cell of the heterogeneous system is higher than the threshold value. The B2 event is used to indicate that the signal of the serving cell is weaker than the threshold value 1, and the signal of the neighboring cell of the heterogeneous system is stronger than the threshold value 2. The threshold value 1 and the threshold value 2 can be the same or different. The threshold values ​​in the B1 event and the B2 event are all configured on the network side.

[0101] However, when a call is needed, the mobile phone does not switch to the 4G network as expected when the NR signal is weak. Instead, it still uses the 5G network, that is, it still uses the new air interface voice bearer (voice over new radio, VONR) to make calls, resulting in low call quality and poor call experience. This problem may be caused by the following reasons:

[0102] 1. The threshold value of the B1 event or B2 event configured on the network side is unreasonable, resulting in the failure to trigger the B1 event or B2 event when the NR signal is weak.

[0103] 2. The RSRP of the NR signal is good but the reference signal received quality (RSRQ) is poor. For example, the RSRP of the NR signal is -100dbm and the RSRQ is -15db. In this case, since the RSRP of the NR signal is good, the mobile phone will use VONR calls, but since the RSRQ of the NR signal is poor, the call quality of the VONR call is very poor and intermittent.

[0104] 3. The RSRP of the NR signal is poor, such as -120dbm. In this case, during the call phase of the VONR call, the session initiation protocol (SIP) signaling and non-access stratum (NAS) information are difficult to send, resulting in a long call establishment time. In addition, after the call is established, it is difficult to send uplink and downlink data, resulting in poor call quality.

[0105] For the above-mentioned scenario where the NR signal is weak, in the related technology, the mobile phone can disable the 5G SA capability, so that when a call is needed, the EPSFB technology can be used to fall back from the 5G network to the 4G network to use VOLTE calls. However, with the popularization of 5G SA networks, 5G NSA networks are becoming less and less. After the mobile phone disables the 5G SA capability, it may not be able to access the 5G NSA network and can only stay on the 4G network when there is no need for calls. Users are generally unwilling to accept mobile phones that can support 5G networks to stay on the 4G network for a long time, which will seriously affect the user experience.

[0106] For example, a mobile phone can support both 4G mobile communication technology standards and 5G mobile communication technology standards. The air interface of the 4G network can be the LTE air interface, and the air interface of the 5G network can be the NR. Among them, the base station using the LTE air interface is the eNB of the 4G network, and the base station using the NR is the gNB of the 5G network.

[0107] like Figure 4As shown, the mobile phone normally resides in the 5G network, and VONR calls can be supported at this time. When the NR signal is normal, the mobile phone can make calls through NR, that is, make VONR calls, and the call quality is good at this time. However, in some cases, when the mobile phone is in an idle state, even if the NR signal becomes weak, for example, the RSRP of the NR signal is normal but the RSRQ is poor, the mobile phone will still reside in the 5G network. In this case, the mobile phone still makes VONR calls, but the call establishment time is long and the call quality is poor. In other cases, when the mobile phone is in an idle state, even if the NR signal becomes weak, for example, the RSRP of the NR signal becomes poor, the mobile phone will still reside in the 5G network. In this case, the mobile phone still makes VONR calls, but the call establishment time is long and the call quality is poor. In some other cases, when the threshold value configuration in the B1 event or B2 event is unreasonable on the network side, the mobile phone cannot trigger the B1 event or B2 event when the NR signal is weak, so it will still reside in the 5G network. In this case, the mobile phone still makes VONR calls, but the call establishment time is long and the call quality is poor.

[0108] To this end, an embodiment of the present application provides a communication method, in which an electronic device can actively measure the NR signal quality while residing in a 5G network. When it is determined that the call quality of the 5G network is poor based on the NR signal quality, target information can be sent to the base station to trigger the base station to instruct the electronic device to make a call through the 4G network during the call establishment phase. In this way, when the call quality of the 5G network is poor, the electronic device can actively report to the base station so that the base station can switch the network used by the electronic device during the call establishment phase. That is, the embodiment of the present application can enable the electronic device to select a better network during a call based on the air interface signal quality, thereby improving the call quality of the electronic device and improving the user's call experience.

[0109] The communication method provided in the embodiment of the present application is explained in detail below.

[0110] The communication method provided in the embodiment of the present application is applied to an electronic device. The electronic device may support a first mobile communication technical standard and a second mobile communication technical standard, and the first mobile communication technical standard is higher than the second mobile communication technical standard. In the embodiment of the present application, a network based on the first mobile communication technical standard is referred to as a first network, and an air interface of the first network is referred to as a first air interface; a network based on the second mobile communication technical standard is referred to as a second network, and an air interface of the second network is referred to as a second air interface.

[0111] The first mobile communication technology standard may be the highest mobile communication technology standard among multiple mobile communication technology standards that the electronic device can support. In this case, the electronic device should normally stay in the first network as much as possible to ensure a high stay ratio of the first network.

[0112] For example, electronic devices can support up to 5G mobile communication technology standards. In this case, the 5G mobile communication technology standard is the first mobile communication technology standard, the 5G network is the first network, and the NR is the first air interface; the 4G mobile communication technology standard is the second mobile communication technology standard, the 4G network is the second network, and the LTE air interface is the second air interface. In this case, electronic devices should stay on the 5G network as much as possible under normal circumstances.

[0113] For another example, an electronic device can support up to the 4G mobile communication technology standard. In this case, the 4G mobile communication technology standard is the first mobile communication technology standard, the 4G network is the first network, and the LTE air interface is the first air interface; the 3G mobile communication technology standard is the second mobile communication technology standard, the 3G network is the second network, and the CDMA air interface is the second air interface. In this case, the electronic device should stay on the 4G network as much as possible under normal circumstances.

[0114] Figure 5 is a flow chart of a communication method provided by an embodiment of the present application. Figure 5 , the method comprises the following steps:

[0115] Step 501: The electronic device obtains a first air interface signal quality while residing in a first network.

[0116] The first air interface signal quality is used to reflect the strength of the first air interface signal. That is, the better the first air interface signal quality is, the stronger the first air interface signal is; the worse the first air interface signal quality is, the weaker the first air interface signal is.

[0117] Since the communication of the first network is realized through the first air interface, the signal quality of the first air interface can reflect the quality of the call through the first network to a certain extent. That is, when the signal quality of the first air interface is relatively good, the call quality of the electronic device through the first network is relatively good; and when the signal quality of the first air interface is relatively poor, the call quality of the electronic device through the first network is not good.

[0118] It should be noted that the electronic device may continuously obtain the first air interface signal quality while residing in the first network, such as periodically obtaining the first air interface signal quality, so as to timely monitor the strength of the current first air interface signal.

[0119] Optionally, the electronic device may directly detect the first air interface signal quality when residing in the first network.

[0120] Optionally, the first air interface signal quality may be characterized by one or more characteristics of the first air interface signal. For example, the first air interface signal quality may be the RSRP of the first air interface signal, or the first air interface signal quality may be the RSRQ of the first air interface signal, or the first air interface signal quality may be the signal to interference plus noise ratio (SINR) of the first air interface signal, or the first air interface signal quality may be the received signal strength indication (RSSI) of the first air interface signal. Of course, the first air interface signal quality may also be jointly characterized by two or more of the RSRP, RSRQ, SINR, and RSSI of the first air interface signal, which is not limited in the embodiments of the present application.

[0121] Step 502: If it is determined according to the first air interface signal quality that the preset condition is met, the electronic device sends target information to the base station, and the target information is used to trigger the base station to instruct the electronic device to make a call through the second network during the call establishment phase.

[0122] The preset condition is used to indicate that the call quality of the first network is poor. That is, if it is determined based on the quality of the first air interface signal that the preset condition is met, it indicates that the call quality of the first network is poor, and thus the electronic device can send target information to the base station to trigger the base station to instruct the electronic device to make a call through the second network during the call establishment phase. In this way, when the call quality of the first network is poor, the electronic device can make a call by falling back from the first network to the second network when a call is needed. For example, when the first network is a 5G network and the second network is a 4G network, the electronic device can use EPSFB technology to fall back from the 5G network to the 4G network to use VOLTE calls when a call is needed. Alternatively, when the first network is a 4G network and the second network is a 3G network, the electronic device can use circuit domain fallback (circuitswitched fallback, CSFB) technology to fall back from the 4G network to the 3G network to use 3G calls when a call is needed.

[0123] In the embodiment of the present application, when the call quality of the electronic device on the first network is poor, the electronic device can actively report the target information to the base station, so that the base station can switch the network used by the electronic device during the call to the second network during the call establishment phase. In this way, the electronic device selects a better network during the call based on the air interface signal quality, thereby improving the call quality of the electronic device and the user's call experience.

[0124] It is worth noting that after the base station instructs the electronic device to make a call through the second network during the call establishment phase, the electronic device can fall back from the first network to the second network when it needs to make a call, that is, the electronic device is connected to the second network when making a call. When the electronic device ends the call, it can return to the first network from the second network. For example, when the electronic device ends the call, it can return from the second network to the first network based on the FastReturn mechanism, that is, the electronic device is connected to the first network when not making a call. In this way, it can be ensured that the electronic device stays in the first network as much as possible under normal circumstances, without affecting the user experience.

[0125] The preset conditions can be set in advance, such as the preset conditions can be set by the technicians according to actual needs, as long as they are conditions that can reflect the poor call quality of the first network. The target information can also be set in advance, such as the target information can be set by the technicians according to actual needs, as long as it can be used to trigger the base station to switch the network used by the electronic device during the call establishment phase.

[0126] Optionally, the operation of step 502 may be implemented in the following two possible ways:

[0127] The first possible method is: if the first air interface signal quality is lower than the first signal quality threshold when a call request message is received or a call request message is sent, the electronic device obtains the second air interface signal quality; if the second air interface signal quality is higher than the fourth signal quality threshold, or if the second air interface signal quality is higher than the first air interface signal quality, a target event is sent to the base station.

[0128] In this case, the preset condition is: when a call request message is received or a call request message is sent, the first air interface signal quality is lower than the first signal quality threshold and the second air interface signal quality is higher than the fourth signal quality threshold; or, when a call request message is received or a call request message is sent, the first air interface signal quality is lower than the first signal quality threshold and the second air interface signal quality is higher than the first air interface signal quality. The target information is a target event.

[0129] The target event is used to indicate that the signal of the neighboring cell of the heterogeneous system is higher than the threshold value. For example, the target time can be a B event, such as a B1 event or a B2 event. The B1 event is used to indicate that the signal of the neighboring cell of the heterogeneous system is higher than the threshold value. The B2 event is used to indicate that the signal of the serving cell is weaker than the threshold value 1, while the signal of the neighboring cell of the heterogeneous system is stronger than the threshold value 2. The threshold value 1 and the threshold value 2 can be the same or different. Optionally, the threshold values ​​in the B1 event and the B2 event are both configured on the network side.

[0130] The second air interface signal quality is used to reflect the strength of the second air interface signal. That is, the better the second air interface signal quality is, the stronger the second air interface signal is; the worse the second air interface signal quality is, the weaker the second air interface signal is.

[0131] Since the communication of the second network is realized through the second air interface, the signal quality of the second air interface can reflect the quality of the call through the second network to a certain extent. That is, when the signal quality of the second air interface is relatively good, the call quality of the electronic device through the second network is relatively good; and when the signal quality of the second air interface is relatively poor, the call quality of the electronic device through the second network is not good.

[0132] Optionally, the electronic device may directly detect the second air interface signal quality.

[0133] Optionally, the second air interface signal quality may be characterized by one or more characteristics of the second air interface signal. For example, the second air interface signal quality may be the RSRP of the second air interface signal, or the second air interface signal quality may be the RSRQ of the second air interface signal, or the second air interface signal quality may be the SINR of the second air interface signal, or the second air interface signal quality may be the RSSI of the second air interface signal. Of course, the second air interface signal quality may also be jointly characterized by two or more of the RSRP, RSRQ, SINR, and RSSI of the second air interface signal, which is not limited in the embodiments of the present application.

[0134] The characteristics of the first air interface signal used to characterize the quality of the first air interface signal and the characteristics of the second air interface signal used to characterize the quality of the second air interface signal may be the same or different. For example, the quality of the first air interface signal may be the RSRP of the first air interface signal, and the quality of the second air interface signal may be the RSRP of the second air interface signal. In this case, the characteristics of the first air interface signal used to characterize the quality of the first air interface signal and the characteristics of the second air interface signal used to characterize the quality of the second air interface signal are the same. Alternatively, the quality of the first air interface signal may be the RSRP of the first air interface signal, and the quality of the second air interface signal may be the RSRQ of the second air interface signal. In this case, the characteristics of the first air interface signal used to characterize the quality of the first air interface signal and the characteristics of the second air interface signal used to characterize the quality of the second air interface signal are different.

[0135] The first signal quality threshold may be set in advance, such as the first signal quality threshold may be set by a technician according to actual needs. The first signal quality threshold may be set to be smaller. In this case, if the first air interface signal quality is lower than the first signal quality threshold, it indicates that the first air interface signal quality is poor.

[0136] The fourth signal quality threshold may be set in advance, such as the fourth signal quality threshold may be set by a technician according to actual needs. The fourth signal quality threshold may be set larger. In this case, if the second air interface signal quality is higher than the fourth signal quality threshold, it indicates that the second air interface signal quality is better. Optionally, the fourth signal quality threshold may be greater than the first signal quality threshold.

[0137] If an electronic device receives a call request message, it means that another device, as a calling device, requests to talk to the electronic device. If an electronic device sends a call request message, it means that the electronic device, as a calling device, requests to talk to another device. In both cases, the electronic device is about to make a call.

[0138] When an electronic device is about to make a call, if the first air interface signal quality is lower than the first signal quality threshold and the second air interface signal quality is higher than the fourth signal quality threshold, it means that the first air interface signal quality is poor and the second air interface signal quality is good, so the electronic device can send a target event to the base station. After the base station receives the target event and learns that the signal of the neighboring cell of the different system is higher than the threshold value, it will instruct the electronic device to access the neighboring cell of the different system (i.e., the cell of the second network) during the call establishment phase. In other words, during the call establishment phase, the electronic device is instructed to switch the network used during the call to the second network, that is, during the call establishment phase, the electronic device is instructed to make a call through the second network, thereby improving the call quality of the electronic device.

[0139] Alternatively, when the electronic device is about to make a call, if the first air interface signal quality is lower than the first signal quality threshold and the second air interface signal quality is higher than the first air interface signal quality, it means that the first air interface signal quality is poor and the second air interface signal quality is better than the first air interface signal quality, so the electronic device can send a target event to the base station. After the base station receives the target event and learns that the signal of the neighboring cell of the different system is higher than the threshold value, it will instruct the electronic device to access the neighboring cell of the different system (i.e., the cell of the second network) during the call establishment phase. In other words, during the call establishment phase, the electronic device is instructed to switch the network used during the call to the second network, that is, during the call establishment phase, the electronic device is instructed to make a call through the second network, thereby improving the call quality of the electronic device.

[0140] It can be understood that in the embodiment of the present application, the triggering of the target event has the following two situations:

[0141] The first scenario is that the target event is triggered normally according to the heterogeneous system neighboring cell signal and its threshold value. That is, the electronic device normally triggers the B1 event when it detects that the heterogeneous system neighboring cell signal is higher than the threshold value, and reports the B1 event to the base station; or, the electronic device normally triggers the B2 event when it detects that the service cell signal is weaker than the threshold value 1 and the heterogeneous system neighboring cell signal is stronger than the threshold value 2, and reports the B2 event to the base station.

[0142] The second situation is to trigger the target event in the first possible way mentioned above. That is, when a call request message is received or a call request message is issued, if it is determined that the first air interface signal quality is lower than the first signal quality threshold and the second air interface signal quality is higher than the fourth signal quality threshold, or if it is determined that the first air interface signal quality is lower than the first signal quality threshold and the second air interface signal quality is higher than the first air interface signal quality, then regardless of the size relationship between the current heterosystem neighboring cell signal and its threshold value, the B1 event or B2 event is directly triggered, and the B1 event or B2 event is reported to the base station. In this way, even if the threshold value in the B1 event or B2 event configured on the network side is unreasonable and the B1 event or B2 event cannot be triggered according to the first situation when the first air interface signal is weak, the embodiment of the present application can also trigger the B1 event or B2 event in the case of a weak first air interface signal through the first possible way mentioned above, thereby ensuring that the electronic device can switch to the second network for a call when the first air interface signal is weak, thereby ensuring the call quality of the electronic device.

[0143] A second possible manner: if the first air interface signal quality is continuously lower than the first signal quality threshold within a first preset time period, the electronic device sends the first information to the base station.

[0144] In this case, the preset condition is: the first air interface signal quality is continuously lower than the first signal quality threshold within a first preset time period. The target information is the first information.

[0145] The first information is used to indicate that the electronic device does not support calls through the first network.

[0146] For example, when the first network is a 5G network and the second network is a 4G network, the electronic device can report UE capability information to the base station. The UE capability information includes a VONR support field. The VONR support field is used to indicate whether the electronic device supports VONR calls, that is, whether it supports calls through the 5G network. For example, if the value of the VONR support field is false, it indicates that the electronic device does not support VONR calls, that is, it does not support calls through the 5G network. In this case, the first information may be UE capability information, and the value of the VONR support field in the UE capability information is false.

[0147] For example, when the first network is a 4G network and the second network is a 3G network, the electronic device can report an attach message or a TAU message to the base station. The attach message or the TAU message includes a voice domain preference field. The voice domain preference field is used to indicate whether the electronic device supports VOLTE calls, that is, whether it supports calls through the 4G network. For example, if the value of the voice domain preference field is 00, it indicates "CS Voiceonly", that is, the electronic device only supports CSFB but not VOLTE calls, that is, it does not support calls through the 4G network. In this case, the first information can be an attach message or a TAU message, and the value of the voicedomain preference field in the attach message or the TAU message is 00.

[0148] The first preset duration can be set in advance, for example, the first preset duration can be set by a technician according to actual needs. The first preset duration can be set longer.

[0149] If the quality of the first air interface signal is continuously lower than the first signal quality threshold within the first preset time period, it means that the quality of the first air interface signal is in a relatively poor state for a long time. In this case, the call quality of the first network is likely to be relatively poor, so the electronic device can send a first message to the base station. Since the first information indicates that the electronic device does not support calls through the first network, after receiving the first information, the base station learns that the electronic device does not support calls through the first network, and then instructs the electronic device to switch the network used for the call during the call establishment phase, that is, instructs the electronic device to make a call through the second network during the call establishment phase. In this way, when the quality of the first air interface signal is relatively poor for a long time, the electronic device can trigger the base station to instruct the electronic device to switch the network used for the call during the call establishment phase by sending the first information to the base station, thereby improving the call quality of the electronic device.

[0150] It should be noted that if the first air interface signal quality is not continuously lower than the first signal quality threshold within the first preset time period, the electronic device does not send the first information to the base station. At this time, the electronic device supports calls through the first network.

[0151] If the first air interface signal quality does not continue to be lower than the first signal quality threshold within the first preset time period, it means that the first air interface signal quality is relatively normal. In this case, the call quality of the first network should be better, so the electronic device can make calls through the first network. At this time, the call quality of the electronic device is better.

[0152] Furthermore, the electronic device may also adjust the first preset duration in some specific situations. This is explained below:

[0153] Optionally, the electronic device obtains the second air interface signal quality while residing in the first network; if the first air interface signal quality is lower than the first signal quality threshold and the second air interface signal quality is higher than the fourth signal quality threshold, the first preset time length is reduced; if the first air interface signal quality is higher than or equal to the first signal quality threshold, the first preset time length is set as the initial value.

[0154] It should be noted that the electronic device can continuously obtain the first air interface signal quality during use, such as periodically obtaining the first air interface signal quality, so as to timely know the strength of the current first air interface signal. The electronic device can also continuously obtain the second air interface signal quality during use, such as periodically obtaining the second air interface signal quality, so as to timely know the strength of the current second air interface signal.

[0155] If the first air interface signal quality is lower than the first signal quality threshold and the second air interface signal quality is higher than the fourth signal quality threshold, it means that the current first air interface signal quality is poor and the second air interface signal quality is good. Then the preset condition to be met for sending the first information can be lowered, that is, the duration for which the first air interface signal quality is lower than the first signal quality threshold can be reduced, that is, the first preset duration can be reduced, so that the first information can be sent to the base station as soon as possible to trigger the base station to instruct the electronic device to make a call through the second network during the call establishment phase.

[0156] In this case, since the first preset time length is reduced to send the first information to the base station when it is determined that the first air interface signal quality is poor and the second air interface signal quality is good, after the base station instructs the electronic device to switch the network used during the call to the second network during the call establishment phase, it can be guaranteed to a certain extent that the electronic device will not need to trigger the base station to instruct the electronic device to switch the network used during the call back to the first network during the call establishment phase due to the poor quality of the second air interface signal. In this way, it can be avoided that the electronic device switches the network used during the call back and forth between the first network and the second network, avoiding the ping-pong effect.

[0157] If the first air interface signal quality is higher than or equal to the first signal quality threshold, it means that the current first air interface signal quality is good, so the preset condition to be met for sending the first information can be maintained, that is, the duration required to maintain the first air interface signal quality below the first signal quality threshold, that is, the first preset duration can be set as the initial value to ensure that the first information is sent to the base station when the first air interface signal quality is poor for a long time, so as to trigger the base station to instruct the electronic device to make a call through the second network during the call establishment phase. The initial value is a pre-set value, such as can be set by a technician according to actual needs.

[0158] Furthermore, after the electronic device sends the first information to the base station, it may also send second information to the base station under certain circumstances to trigger the base station to instruct the electronic device to make a call through the first network during the call establishment phase.

[0159] The second information is used to indicate that the electronic device supports making calls through the first network.

[0160] For example, when the first network is a 5G network and the second network is a 4G network, the electronic device can report UE capability information to the base station. The UE capability information includes a VONR support field. The VONR support field is used to indicate whether the electronic device supports VONR calls, that is, whether it supports calls through the 5G network. For example, if the value of the VONR support field is true, it indicates that the electronic device supports VONR calls, that is, it supports calls through the 5G network. In this case, the second information can be UE capability information, and the value of the VONR support field in the UE capability information is true.

[0161] For example, when the first network is a 4G network and the second network is a 3G network, the electronic device can report an attach message or a TAU message to the base station. The attach message or the TAU message includes a voice domain preference field. The voice domain preference field is used to indicate whether the electronic device supports VOLTE calls, that is, whether it supports calls through the 4G network. For example, if the value of the voice domain preference field is 11, it indicates "IMS PS Voice preferred, CS Voice as secondary", that is, the electronic device supports both CSFB and VOLTE calls, but prefers VOLTE calls, that is, the electronic device supports calls through the 4G network. In this case, the second information can be an attach message or a TAU message, and the value of the voice domain preference field in the attach message or the TAU message is 11.

[0162] Since the second information indicates that the electronic device supports calls through the first network, after receiving the second information, the base station learns that the electronic device supports calls through the first network, and will instruct the electronic device to make calls through the first network during the call establishment phase.

[0163] Four possible situations in which the electronic device sends the second information to the base station after sending the first information to the base station are described below:

[0164] In the first case, the electronic device sends the second information to the base station after a second preset time period after sending the first information to the base station.

[0165] The second preset duration can be set in advance, such as the second preset duration can be set by a technician according to actual needs. The second preset duration can be set longer. The first preset duration and the second preset duration can be the same or different, and the embodiment of the present application does not limit this.

[0166] For example, the electronic device may start a timer after sending the first information to the base station, and may send the second information to the base station after the timer times out. The duration of the timer may be a second preset duration.

[0167] The electronic device sends the first information to the base station. After a long period of time (i.e., the second preset time), the signal quality of the first air interface is likely to have returned to normal. Therefore, the electronic device can send the second information to the base station to trigger the base station to instruct the electronic device to make a call through the first network during the call establishment phase. In this way, it can be ensured that the electronic device will make a call through the first network as much as possible under normal circumstances.

[0168] In the second case, the electronic device obtains the second air interface signal quality after sending the first information to the base station; if the second air interface signal quality is lower than the second signal quality threshold and the second air interface signal quality is lower than the first air interface signal quality, the second information is sent to the base station.

[0169] It should be noted that the electronic device can continuously obtain the first air interface signal quality during use, such as periodically obtaining the first air interface signal quality, so as to timely know the strength of the current first air interface signal. After sending the first information to the base station, the electronic device can also continuously obtain the second air interface signal quality, such as periodically obtaining the second air interface signal quality, so as to timely know the strength of the current second air interface signal.

[0170] The second signal quality threshold can be set in advance, such as the second signal quality threshold can be set by a technician according to actual needs. The second signal quality threshold can be set smaller. In this case, if the second air interface signal quality is lower than the second signal quality threshold, it means that the second air interface signal quality is poor. The first signal quality threshold and the second signal quality threshold can be the same or different, and the embodiment of the present application is not limited to this. Optionally, the first signal quality threshold is close to the second signal quality threshold.

[0171] If the second air interface signal quality is lower than the second signal quality threshold and the second air interface signal quality is lower than the first air interface signal quality, it means that the second air interface signal quality is poor and worse than the first air interface signal quality, then the call quality of the second network will be worse than the call quality of the first network. In this case, it is not appropriate to use the second network for calls. Therefore, the electronic device can send second information to the base station to trigger the base station to instruct the electronic device to make a call through the first network during the call establishment phase, so as to ensure the call quality of the electronic device as much as possible.

[0172] For example, when the signal quality of the first air interface is poor for a long time, the electronic device sends the first information to the base station to trigger the base station to instruct the electronic device to make a call through the second network during the call establishment phase. After that, the signal quality of the first air interface has not improved, but the electronic device detects that the signal quality of the second air interface is poor and worse than the signal quality of the first air interface. In this case, the call quality of the second network will be worse than the call quality of the first network, so it is necessary to switch back to the first network for the call. Therefore, the electronic device sends the second information to the base station to trigger the base station to instruct the electronic device to make a call through the first network during the call establishment phase.

[0173] For another example, when the signal quality of the first air interface is poor for a long time, the electronic device sends the first information to the base station to trigger the base station to instruct the electronic device to make a call through the second network during the call establishment phase. However, thereafter, the signal quality of the first air interface begins to improve, and the electronic device detects that the signal quality of the second air interface is poor and worse than the first air interface signal quality that has improved. In this case, the call quality of the first network is better than the call quality of the second network, so it can switch back to the first network for the call. Therefore, the electronic device sends the second information to the base station to trigger the base station to instruct the electronic device to make a call through the first network during the call establishment phase.

[0174] In a third case, after the electronic device sends the first information to the base station, if the first air interface signal quality is continuously higher than the third signal quality threshold within a first preset time period, the electronic device sends the second information to the base station.

[0175] The third signal quality threshold can be set in advance, such as the third signal quality threshold can be set by a technician according to actual needs. The third signal quality threshold can be set larger. In this case, if the first air interface signal quality is higher than the third signal quality threshold, it means that the first air interface signal quality is better. Optionally, the third signal quality threshold can be greater than the first signal quality threshold, and can be greater than the second signal quality threshold. The third signal quality threshold and the fourth signal quality threshold can be the same or different, and optionally, the third signal quality threshold and the fourth signal quality threshold can be close.

[0176] If the first air interface signal quality is continuously higher than the third signal quality threshold within the first preset time period, it means that the first air interface signal quality is in a relatively good state for a long time. In this case, the call quality of the first network is relatively good, so the electronic device can send the second information to the base station to trigger the base station to instruct the electronic device to make a call through the first network during the call establishment phase. In this way, it can be ensured that the electronic device will make a call through the first network as much as possible under normal circumstances.

[0177] In the fourth case, the electronic device obtains the second air interface signal quality after sending the first information to the base station; within the second preset time after sending the first information to the base station, if the second air interface signal quality is lower than the second signal quality threshold and the second air interface signal quality is lower than the first air interface signal quality, or if the first air interface signal quality is continuously higher than the third signal quality threshold within the first preset time, then the second information is sent to the base station; if the second information is not sent to the base station within the second preset time after sending the first information to the base station, then the second information is sent to the base station after the second preset time after sending the first information to the base station.

[0178] It should be noted that the electronic device can continuously obtain the first air interface signal quality during use, such as periodically obtaining the first air interface signal quality, so as to timely know the strength of the current first air interface signal. After sending the first information to the base station, the electronic device can also continuously obtain the second air interface signal quality, such as periodically obtaining the second air interface signal quality, so as to timely know the strength of the current second air interface signal.

[0179] In an embodiment of the present application, within a second preset time period after sending the first information to the base station, if the second air interface signal quality is lower than the second signal quality threshold and the second air interface signal quality is lower than the first air interface signal quality, it means that the second air interface signal quality is poor and worse than the first air interface signal quality, then the call quality of the second network will be worse than the call quality of the first network. In this case, it is not appropriate to use the second network for calls. Therefore, the electronic device can send a second information to the base station to trigger the base station to instruct the electronic device to make a call through the first network during the call establishment phase, so as to ensure the call quality of the electronic device as much as possible.

[0180] Furthermore, within the second preset time after sending the first information to the base station, if the first air interface signal quality is continuously higher than the third signal quality threshold within the first preset time, it means that the first air interface signal quality is in a relatively good state for a long time. In this case, the call quality of the first network is relatively good, so the electronic device can send the second information to the base station to trigger the base station to instruct the electronic device to make a call through the first network during the call establishment phase. In this way, it can be ensured that the electronic device will make a call through the first network as much as possible under normal circumstances.

[0181] It can be understood that in an embodiment of the present application, within the second preset time period after sending the first information to the base station, if any one of the two conditions of "the second air interface signal quality is lower than the second signal quality threshold and the second air interface signal quality is lower than the first air interface signal quality" and "the first air interface signal quality is continuously higher than the third signal quality threshold within the first preset time period" is met, the electronic device can send the second information to the base station.

[0182] If, within the second preset time period after the first information is sent to the base station, the condition that "the second air interface signal quality is lower than the second signal quality threshold and the second air interface signal quality is lower than the first air interface signal quality" is not met, and the condition that "the first air interface signal quality is continuously higher than the third signal quality threshold within the first preset time period" is not met, then the electronic device will not send the second information to the base station within the second preset time period after the first information is sent to the base station. In this case, the electronic device can send the second information to the base station after the second preset time period after sending the first information to the base station. This is because after the electronic device sends the first information to the base station, after a long time (i.e., the second preset time period), the first air interface signal quality is likely to have returned to normal, so the electronic device can send the second information to the base station to trigger the base station to instruct the electronic device to make a call through the first network during the call establishment phase. In this way, it can be ensured that the electronic device will make calls through the first network as much as possible under normal circumstances.

[0183] It should be noted that after the electronic device sends the second information to the base station in the above four situations, it can continue to obtain the first air interface signal quality, so as to send the first information to the base station again when the first air interface signal quality is continuously lower than the first signal quality threshold within the first preset time period, and after sending the first information to the base station, the second information can be sent to the base station according to the above four situations. In this way, the base station can be selectively triggered according to the air interface signal quality to instruct the electronic device to make a call through the first network or the second network during the call establishment phase, thereby ensuring the call quality of the electronic device during the entire use process.

[0184] In an embodiment of the present application, the electronic device obtains the first air interface signal quality while residing in the first network. If it is determined that the preset condition is met based on the first air interface signal quality, it means that the call quality of the first network is poor. In this case, the electronic device sends target information to the base station to trigger the base station to instruct the electronic device to make a call through the second network during the call establishment phase. In this way, when the call quality of the first network is poor, the electronic device can actively report the target information to the base station so that the base station can switch the network used by the electronic device during the call to the second network during the call establishment phase. In this way, the electronic device selects a better network during the call based on the air interface signal quality, thereby improving the call quality of the electronic device and the user's call experience.

[0185] The following takes the first mobile communication technology standard as the 5G mobile communication technology standard, the first network as the 5G network, the first air interface as the NR, the second mobile communication technology standard as the 4G mobile communication technology standard, the second network as the 4G network, and the second air interface as the LTE air interface as an example to illustrate the above communication method. In this case, the first air interface signal quality is the NR signal quality, and the second air interface signal quality is the LTE signal quality.

[0186] Optionally, the electronic device includes an application processor (AP) and a modem (MD). For example, the MD may serve as part or all of a baseband processor (BP).

[0187] In some embodiments, in combination Figure 6 The above communication method is exemplified.

[0188] Figure 6 is a schematic diagram of a communication method provided in an embodiment of the present application. Figure 6 , the method comprises the following steps:

[0189] Step 601: The electronic device normally resides in the 5G network.

[0190] In this case, the VONR capability of the electronic device is turned on, and the electronic device supports VONR calls, that is, supports calls through the NR of the 5G network. In this case, the value of the VONRsupport field in the UE capability information reported by the electronic device to the base station is true, indicating that the electronic device supports VONR calls.

[0191] Step 602: The electronic device makes a VONR call.

[0192] When an electronic device resides on a 5G network, the electronic device can make VONR calls, that is, make calls through NR.

[0193] Step 603: The electronic device measures the NR signal quality.

[0194] For example, the NR signal quality may be measured by the MD and notified to the AP.

[0195] Step 604: The electronic device determines whether the NR signal quality continues to be in a relatively poor state; if not, it continues to monitor the NR signal quality; if so, executes the following step 605.

[0196] For example, the AP may determine whether the NR signal quality is continuously low (e.g., lower than a first signal quality threshold) for a certain period of time (e.g., a first preset period of time). If the NR signal quality is not continuously low for a certain period of time, the NR signal quality continues to be monitored. If the NR signal quality is continuously low for a certain period of time, the following step 605 is performed.

[0197] Step 605: The electronic device turns off the VONR capability.

[0198] For example, the AP may notify the MD to disable the VONR capability.

[0199] In an optional manner, after the electronic device turns off the VONR capability, it can also start a timer, such as the AP can start the timer. The duration of the timer can be a preset duration, such as a second preset duration.

[0200] Step 606: The electronic device reports UE capability information to the base station. The value of the VONR support field in the UE capability information is false, indicating that the electronic device does not support VONR calls.

[0201] For example, the MD may report UE capability information to the base station, and the value of the VONR support field in the UE capability information is false.

[0202] After receiving the UE capability information, the base station learns that the electronic device does not support VONR calls. It will instruct the electronic device to use VOLTE calls during the call establishment phase, that is, it will instruct the electronic device to make calls through the LTE air interface of the 4G network during the call establishment phase.

[0203] Step 607: The electronic device uses EPSFB technology to fall back from the 5G network to the 4G network to use VOLTE calls.

[0204] For example, when a call is needed, the MD can use EPSFB technology to fall back from the 5G network to the 4G network, and then the electronic device can use VOLTE for the call.

[0205] Step 608: The electronic device determines whether the LTE signal quality is poor; if so, execute the following step 609; if not, execute the following step 610.

[0206] For example, the AP may determine whether the LTE signal quality is lower than the second signal quality threshold; if so, execute the following step 609; if not, execute the following step 610.

[0207] Step 609: The electronic device determines whether the LTE signal quality is better than the NR signal quality; if so, continue to monitor the LTE signal quality and the NR signal quality; if not, execute the following step 612.

[0208] For example, the AP may determine whether the LTE signal quality is better than the NR signal quality.

[0209] Step 610: The electronic device determines whether the NR signal quality is restored; if not, execute the following step 611; if so, execute the following step 612.

[0210] For example, the AP may determine whether the NR signal quality remains high (eg, higher than a third signal quality threshold) for a certain period of time (eg, a first preset period of time).

[0211] If the NR signal quality does not remain high for a certain period of time, as an example, when the timer is started in the above step 605, the following step 611 can be continued to be executed. As another example, when the timer is not started in the above step 605, step 611 may not be executed, but the LTE signal quality and NR signal quality may continue to be monitored.

[0212] If the NR signal quality remains high for a certain period of time, as an example, the following step 612 may be directly executed. As another example, the following step 612 may be executed after the current call ends.

[0213] Step 611: The electronic device determines whether the timer has timed out; if not, it continues to monitor the LTE signal quality and the NR signal quality; if so, executes the following step 612.

[0214] For example, the AP may determine whether the timer has timed out. If not, the LTE signal quality and the NR signal quality continue to be monitored; if yes, as an example, the following step 612 may be directly executed, and as another example, the following step 612 may be executed after the current call ends.

[0215] Step 612: The electronic device turns on the VONR capability.

[0216] For example, the AP may notify the MD to enable the VONR capability.

[0217] Step 613: The electronic device reports UE capability information to the base station. The value of the VONR support field in the UE capability information is true, indicating that the electronic device supports VONR calls.

[0218] For example, the MD may report UE capability information to the base station, and the value of the VONR support field in the UE capability information is true.

[0219] After receiving the UE capability information, the base station learns that the electronic device supports VONR calls, and will instruct the electronic device to use VONR calls during the call establishment phase, that is, instruct the electronic device to make calls through NR during the call establishment phase.

[0220] Step 614: The electronic device makes a VONR call.

[0221] Optionally, in the above Figure 6 In the embodiment, the first preset time length (hereinafter referred to as T) can also be adjusted. Figure 7 Let's illustrate this process with an example.

[0222] Figure 7 is a schematic diagram of a communication method provided in an embodiment of the present application. Figure 7 , the method comprises the following steps:

[0223] Step 701: The electronic device normally resides in the 5G network.

[0224] In this case, the VONR capability of the electronic device is turned on, and the electronic device supports VONR calls, that is, supports calls through the NR of the 5G network. In this case, the value of the VONRsupport field in the UE capability information reported by the electronic device to the base station is true, indicating that the electronic device supports VONR calls.

[0225] Step 702: The electronic device makes a VONR call.

[0226] When an electronic device resides on a 5G network, the electronic device can make VONR calls, that is, make calls through NR.

[0227] Step 703: The electronic device measures the NR signal quality.

[0228] For example, the NR signal quality may be measured by the MD and notified to the AP.

[0229] In this case, the electronic device determines whether the NR signal quality continues to be in a relatively poor state, specifically, whether the NR signal quality continues to be low (such as lower than the first signal quality threshold) within a first preset time period. If not, continue to monitor the NR signal quality; if so, turn off the VONR capability.

[0230] Specifically, each time the electronic device obtains the latest measured NR signal quality, it can determine whether the target tag value is the first tag value or the second tag value.

[0231] If the target tag value is the first tag value and the NR signal quality is higher than or equal to the first signal quality threshold, the NR signal quality continues to be monitored. If the target tag value is the first tag value and the NR signal quality is lower than the first signal quality threshold, the target tag value is updated to the second tag value, and the current moment is recorded as the first moment; the LTE signal quality is obtained; if the LTE signal quality is higher than the fourth signal quality threshold, the first preset duration is reduced, and the current moment is recorded as the second moment; if the LTE signal quality is lower than or equal to the fourth signal quality threshold, the first preset duration is not adjusted, and the current moment is recorded as the second moment.

[0232] If the target tag value is the second tag value and the NR signal quality is higher than or equal to the first signal quality threshold, the target tag value is updated to the first tag value, and the recorded first and second moments are deleted, and the first preset duration is set as the initial value. If the target tag value is the second tag value and the NR signal quality is lower than the first signal quality threshold, the LTE signal quality is obtained; if the LTE signal quality is higher than the fourth signal quality threshold, the first preset duration is reduced, and the current moment is recorded as the second moment; if the LTE signal quality is lower than or equal to the fourth signal quality threshold, the first preset duration is not adjusted, and the current moment is recorded as the second moment.

[0233] Afterwards, if the duration difference between the second moment of the latest record and the first moment of the record is greater than the first preset duration, the VONR capability is turned off.

[0234] Among them, the target mark value is a predefined value used to indicate the quality of the NR signal measured last time. If the target mark value is a first mark value, it means that the quality of the NR signal measured last time is relatively good (such as higher than or equal to the first signal quality threshold); if the target mark value is a second mark value, it means that the quality of the NR signal measured last time is relatively poor (such as lower than the first signal quality threshold). Optionally, the target mark value can be represented by sflag, in which case the first mark value can be false and the second mark value can be true.

[0235] If the target mark value is the first mark value, it means that the NR signal quality measured last time is relatively good. In this case, if the NR signal quality is higher than or equal to the first signal quality threshold, it means that the NR signal quality measured this time is also relatively good, which means that the NR signal quality is currently in a relatively good state. Then, no other operations are required, and you can continue to monitor the NR signal quality.

[0236] If the target mark value is the first mark value, it means that the NR signal quality measured last time is relatively good. In this case, if the NR signal quality is lower than the first signal quality threshold, it means that the NR signal quality measured this time is relatively poor, and the NR signal quality has deteriorated since this time, so the target mark value can be updated to the second mark value, and the current moment is recorded as the first moment, which is the moment when the NR signal quality begins to deteriorate. In addition, in this case, the LTE signal quality can also be obtained. If the LTE signal quality is higher than the fourth signal quality threshold, it means that the LTE signal quality is better when the current NR signal quality is poor, then the preset conditions to be met for closing the VONR capability can be reduced, that is, the duration required to be met when the NR signal quality is in a relatively poor state can be reduced, that is, the first preset duration can be reduced, so that the VONR capability can be closed as soon as possible. If the LTE signal quality is lower than or equal to the fourth signal quality threshold, it means that the LTE signal quality is also relatively poor when the current NR signal quality is poor, then the preset conditions can be adjusted without adjusting the first preset duration. Afterwards, the current moment can be recorded as the second moment, and the duration difference between the second moment and the first moment is the duration that the NR signal quality is currently in a relatively poor state.

[0237] If the target tag value is the second tag value, it means that the NR signal quality measured last time is relatively poor. In this case, if the NR signal quality is higher than or equal to the first signal quality threshold, it means that the NR signal quality measured this time is relatively good, and the NR signal quality has improved since this time, which means that the NR signal quality has improved again after a short period of deterioration. Therefore, the target tag value can be updated to the first tag value, and the recorded first and second moments can be deleted. Moreover, in this case, the preset conditions to be met for shutting down the VONR capability can be maintained, that is, the duration required to maintain the NR signal quality in a relatively poor state, that is, the first preset duration can be set as the initial value to ensure that the VONR capability is shut down when the NR signal quality is poor for a long time.

[0238] If the target mark value is the second mark value, it means that the NR signal quality measured last time is relatively poor. In this case, if the NR signal quality is lower than the first signal quality threshold, it means that the NR signal quality measured this time is relatively poor, which means that the NR signal quality is currently in a relatively poor state, so the LTE signal quality can be obtained at this time. If the LTE signal quality is higher than the fourth signal quality threshold, it means that the LTE signal quality is better when the current NR signal quality is poor, then the preset conditions to be met for closing the VONR capability can be reduced, that is, the duration required to be met when the NR signal quality is in a relatively poor state can be reduced, that is, the first preset duration can be reduced, in order to close the VONR capability as soon as possible. If the LTE signal quality is lower than or equal to the fourth signal quality threshold, it means that the LTE signal quality is also relatively poor when the current NR signal quality is poor, then the preset conditions can be adjusted, that is, the first preset duration can be adjusted. Afterwards, the current moment can be recorded as the second moment, and the duration difference between the second moment and the first moment is the duration of the NR signal quality currently in a relatively poor state.

[0239] In the above case, if the difference in duration between the second moment of the latest record and the first moment of the record is greater than the first preset duration, it means that the NR signal quality has been in a relatively poor state for a long time, that is, the NR signal quality has been in a relatively poor state for a long time, then the VONR capability can be turned off.

[0240] It is worth noting that in the embodiment of the present application, the first preset duration can be reduced to turn off the VONR capability when it is determined that the NR signal quality is poor and the LTE signal quality is good. Therefore, after the base station instructs the electronic device to switch the network used for the call to the 4G network during the call establishment phase, it can be guaranteed to a certain extent that the electronic device will not trigger the base station to instruct the electronic device to switch the network used for the call back to the 5G network during the call establishment phase due to the poor LTE signal quality. In this way, it can be avoided that the electronic device switches the network used for the call back and forth between the 5G network and the 4G network, avoiding the ping-pong effect.

[0241] The above process of disabling the VONR capability can be specifically implemented through the following steps 704 to 712.

[0242] Step 704: Each time the electronic device obtains the latest measured NR signal quality, it determines whether the target mark value is the second mark value; if so, execute step 705; if not, execute step 707.

[0243] For example, the AP may determine whether the target mark value is the second mark value each time after acquiring the latest measured NR signal quality.

[0244] If the target mark value is the second mark value, it means that the quality of the NR signal measured last time is relatively poor. If the target mark value is the first mark value, it means that the quality of the NR signal measured last time is relatively good.

[0245] Step 705: The electronic device determines whether the NR signal quality is good; if so, execute step 706; if not, execute step 709.

[0246] For example, the AP may determine whether the NR signal quality is good. If yes, step 706 is performed; if no, as an example, step 709 may be continued to be performed, as another example, step 709 may not be performed, but step 711 may be continued to be performed.

[0247] When the NR signal quality measured last time is relatively poor, the electronic device determines whether the NR signal quality measured this time is good. That is, the electronic device determines whether the NR signal quality measured this time is higher than or equal to the first signal quality threshold.

[0248] Step 706: The electronic device sets the target tag value to the first tag value and continues to monitor the NR signal quality.

[0249] For example, the AP may set the target tag value to a first tag value and continue to monitor the NR signal quality.

[0250] In the case where the NR signal quality measured last time is relatively poor, if the NR signal quality measured this time is relatively good, the target mark value is set to the first mark value, and the recorded first moment and second moment are deleted, and T is set to the initial value. After that, the NR signal quality continues to be monitored.

[0251] Step 707: The electronic device determines whether the NR signal quality is poor; if so, execute step 708; if not, continue to monitor the NR signal quality.

[0252] For example, the AP may determine whether the NR signal quality is poor.

[0253] When the NR signal quality measured last time is relatively good, the electronic device determines whether the NR signal quality measured this time is poor. That is, the electronic device determines whether the NR signal quality measured this time is lower than the first signal quality threshold.

[0254] If the NR signal quality measured last time was relatively good and if the NR signal quality measured this time is also relatively good, the NR signal quality will continue to be monitored.

[0255] Step 708 : The electronic device sets the target tag value to the second tag value, and records the current moment as the first moment, and executes step 709 .

[0256] For example, the AP may set the target tag value to the second tag value, and record the current time as the first time. Afterwards, as an example, step 709 may be continued to be performed, and as another example, step 709 may not be performed, but step 711 may be continued to be performed.

[0257] In the case that the NR signal quality measured last time was relatively good, if the NR signal quality measured this time is relatively poor, it is necessary to modify the target mark value to the second mark value and record the first moment, which is the moment when the NR signal quality begins to deteriorate.

[0258] Step 709: The electronic device determines whether the LTE signal quality is good; if so, execute steps 710 and 711; if not, execute step 711.

[0259] For example, the AP may determine whether the LTE signal quality is good.

[0260] When the NR signal quality measured this time is relatively poor, the LTE signal quality can be obtained, and it can be determined whether the LTE signal quality is good, that is, it can be determined whether the LTE signal quality is higher than the fourth signal quality threshold.

[0261] Step 710: The electronic device shortens the T value.

[0262] For example, the T value may be shortened by the AP.

[0263] In the case that the NR signal quality measured this time is relatively poor, if the LTE signal quality is relatively good, the T value can be shortened.

[0264] In the case where the NR signal quality measured this time is relatively poor, if the LTE signal quality is relatively poor, the T value is not adjusted.

[0265] Step 711: The electronic device records the current moment as the second moment, and executes step 712.

[0266] For example, the AP may record the current time as the second time.

[0267] The duration difference between the second moment and the first moment is the duration that the NR signal quality is currently in a relatively poor state.

[0268] Step 712: The electronic device determines whether the duration difference between the second moment and the first moment is greater than or equal to T; if so, execute step 713; if not, continue to monitor the NR signal quality.

[0269] For example, the AP may determine whether the duration difference between the second moment and the first moment is greater than or equal to T.

[0270] If the time difference between the second moment and the first moment is greater than or equal to T, it means that the NR signal quality has been in a relatively poor state for a long time. If the time difference between the second moment and the first moment is less than T, it means that the NR signal quality is only in a relatively poor state for a short time, so the NR signal quality can continue to be monitored.

[0271] Step 713: The electronic device turns off the VONR capability.

[0272] For example, the AP may notify the MD to disable the VONR capability.

[0273] In an optional manner, after the electronic device turns off the VONR capability, it can also start a timer, such as the AP can start the timer. The duration of the timer can be a preset duration, such as a second preset duration.

[0274] Step 714: The electronic device reports UE capability information to the base station. The value of the VONR support field in the UE capability information is false, indicating that the electronic device does not support VONR calls.

[0275] For example, the MD may report UE capability information to the base station, and the value of the VONR support field in the UE capability information is false.

[0276] After receiving the UE capability information, the base station learns that the electronic device does not support VONR calls. It will instruct the electronic device to use VOLTE calls during the call establishment phase, that is, it will instruct the electronic device to make calls through the LTE air interface of the 4G network during the call establishment phase.

[0277] Step 715: The electronic device uses EPSFB technology to fall back from the 5G network to the 4G network to use VOLTE calls.

[0278] For example, when a call is needed, the MD can use EPSFB technology to fall back from the 5G network to the 4G network, and then the electronic device can use VOLTE for the call.

[0279] Step 716: The electronic device determines whether the LTE signal quality is poor; if so, execute the following step 717; if not, execute the following step 718.

[0280] For example, the AP may determine whether the LTE signal quality is lower than the second signal quality threshold; if so, execute the following step 717; if not, execute the following step 718.

[0281] Step 717: The electronic device determines whether the LTE signal quality is better than the NR signal quality; if so, continues to monitor the LTE signal quality and the NR signal quality; if not, executes the following step 720.

[0282] For example, the AP may determine whether the LTE signal quality is better than the NR signal quality.

[0283] Step 718: The electronic device determines whether the NR signal quality is restored; if not, execute the following step 719; if so, execute the following step 720.

[0284] For example, the AP may determine whether the NR signal quality remains high (eg, higher than a third signal quality threshold) for a certain period of time (eg, a first preset period of time).

[0285] If the NR signal quality does not remain high for a certain period of time, as an example, when the timer is started in the above step 713, the following step 719 can be continued to be executed. As another example, when the timer is not started in the above step 713, step 719 may not be executed, but the LTE signal quality and NR signal quality may continue to be monitored.

[0286] If the NR signal quality remains high for a certain period of time, as an example, the following step 720 may be directly executed. As another example, the following step 720 may be executed after the current call ends.

[0287] Step 719: The electronic device determines whether the timer has timed out; if not, it continues to monitor the LTE signal quality and the NR signal quality; if so, it executes the following step 720.

[0288] For example, the AP may determine whether the timer has timed out. If not, the LTE signal quality and the NR signal quality continue to be monitored; if yes, as an example, the following step 720 may be directly executed, and as another example, the following step 720 may be executed after the current call ends.

[0289] Step 720: The electronic device turns on the VONR capability.

[0290] For example, the AP may notify the MD to enable the VONR capability.

[0291] Step 721: The electronic device reports UE capability information to the base station. The value of the VONR support field in the UE capability information is true, indicating that the electronic device supports VONR calls.

[0292] For example, the MD may report UE capability information to the base station, and the value of the VONR support field in the UE capability information is true.

[0293] After receiving the UE capability information, the base station learns that the electronic device supports VONR calls, and will instruct the electronic device to use VONR calls during the call establishment phase, that is, instruct the electronic device to make calls through NR during the call establishment phase.

[0294] Step 722: The electronic device makes a VONR call.

[0295] In other embodiments, in combination Figure 8 The above communication method is exemplified.

[0296] Figure 8 is a schematic diagram of a communication method provided in an embodiment of the present application. Figure 8 , the method comprises the following steps:

[0297] Step 801: The electronic device normally resides in the 5G network.

[0298] Step 802: The electronic device makes a VONR call.

[0299] When an electronic device resides on a 5G network, the electronic device can make VONR calls, that is, make calls through NR.

[0300] Step 803: The electronic device measures the NR signal quality.

[0301] For example, the NR signal quality may be measured by the MD.

[0302] The electronic device may continuously measure the NR signal quality, such as periodically measuring the NR signal quality.

[0303] Step 804: The electronic device receives a call request message.

[0304] Optionally, the call request message may be an INVITE message.

[0305] Step 805: If the NR signal quality is good, the electronic device performs a VONR call.

[0306] For example, after the electronic device receives the call request message, the MD can determine the current NR signal quality, such as whether the NR signal quality is lower than the first signal quality threshold. If the NR signal quality is good (such as higher than or equal to the first signal quality threshold), it means that the call quality of the current call through NR is good, and the electronic device can make a VONR call.

[0307] Optionally, after receiving the call request message, the electronic device can send a 100Trying message to the base station to indicate that the INVITE message has been received. Afterwards, the electronic device can send a session progress message (such as a 183SessionProgress message) to the base station to prompt the progress of establishing the session. Afterwards, a packet data unit (PDU) session modification (Session Modify) signaling interaction can be performed between the electronic device and the base station to establish a session. After the session is successfully established, the electronic device can make a VONR call.

[0308] Step 806: The electronic device receives a call request message.

[0309] Step 807: If the NR signal quality is poor, the electronic device measures the LTE signal quality.

[0310] For example, after the electronic device receives the call request message, the MD can determine the current NR signal quality, such as whether the NR signal quality is lower than the first signal quality threshold. If the NR signal quality is poor (such as lower than the first signal quality threshold), it means that the call quality during the current call via NR is poor, and the MD can measure the LTE signal quality.

[0311] Step 808: The electronic device determines whether the LTE signal quality is good; if so, execute step 809.

[0312] For example, the MD may determine whether the LTE signal quality is good.

[0313] Optionally, if the LTE signal quality is higher than the fourth quality threshold and / or higher than the NR signal quality, it can be determined that the LTE signal quality is good. If the LTE signal quality is lower than or equal to the fourth quality threshold and lower than or equal to the NR signal quality, it can be determined that the LTE signal quality is poor.

[0314] If the LTE signal quality is poor, it means that the call quality through the LTE air interface is worse than the call quality through NR, then the call should still be made through NR, that is, the electronic device still makes a VONR call. For example, in this case, after the electronic device receives the call request message, it can send a 100Trying message to the base station, indicating that the INVITE message has been received. Afterwards, the electronic device can send a session progress message to the base station to prompt the progress of establishing the session. Afterwards, PDU Session Modify signaling interaction can be performed between the electronic device and the base station to establish a session. After the session is successfully established, the electronic device can make a VONR call.

[0315] Step 809: The electronic device sends event B to the base station.

[0316] For example, the B event may be sent by the MD to the base station.

[0317] If the LTE signal quality is good, it means that the call quality through the LTE air interface is better than the call quality through the NR, so at this time, you should choose to make a call through the LTE air interface. Therefore, the electronic device can send a B event to the base station. After the base station receives the B event, it knows that the signal of the neighboring cell of the different system is higher than the threshold value, and it will instruct the electronic device to access the neighboring cell of the different system (that is, the cell of the 4G network) during the call establishment stage. In other words, in the call establishment stage, the electronic device is instructed to switch the network used during the call to the 4G network, that is, instruct the electronic device to make a call through the 4G network during the call establishment stage, thereby improving the call quality of the electronic device.

[0318] Step 810: The electronic device uses EPSFB technology to fall back from the 5G network to the 4G network to use VOLTE calls.

[0319] For example, when a call is needed, the MD can use EPSFB technology to fall back from the 5G network to the 4G network, and then the electronic device can use VOLTE for the call.

[0320] For example, after receiving the call request message, the electronic device can send a 100Trying message to the base station (this is the base station of the 5G network) to indicate that the INVITE message has been received. When the NR signal quality is poor and the LTE signal quality is good, a B event can also be sent to the base station (the base station of the 5G network) before or after sending the 100Trying message to the base station (the base station of the 5G network). After receiving the B event, the base station (the base station of the 5G network) instructs the electronic device to redirect or switch to a neighboring area of ​​a different system (ie, a cell of the 4G network), so that the electronic device can reside in the 4G network. Afterwards, the electronic device can send a session progress message to the base station (this is the base station of the 4G network) to prompt the progress of establishing the session, and then establish a dedicated bearer between the electronic device and the base station (the base station of the 4G network). After that, the electronic device can make a VOLTE call.

[0321] Fig. 9 is a schematic diagram of the structure of a communication device provided in an embodiment of the present application. The device can be implemented by software, hardware or a combination of both to become part or all of a computer device. The computer device can be the above Figure 2-Figure 3 The electronic device 100 described in the embodiment. The device is applied to an electronic device, and the electronic device supports a first mobile communication technology standard and a second mobile communication technology standard, and the first mobile communication technology standard is higher than the second mobile communication technology standard.

[0322] See also Fig. 9The device includes: a first acquisition module 901 and a first sending module 902.

[0323] A first acquisition module 901 is used to acquire a first air interface signal quality when the electronic device resides in a first network, where the first network is a network based on a first mobile communication technical standard, and the first air interface is an air interface of the first network;

[0324] The first sending module 902 is used to send target information to the base station if it is determined that the preset condition is met based on the first air interface signal quality. The target information is used to trigger the base station to instruct the electronic device to make a call through the second network during the call establishment phase. The second network is a network based on the second mobile communication technology standard. The preset condition is used to indicate that the call quality of the first network is poor.

[0325] Optionally, the first sending module 902 is used to:

[0326] If the first air interface signal quality is continuously lower than the first signal quality threshold within a first preset time period, first information is sent to the base station, where the first information is target information and is used to indicate that the electronic device does not support calls through the first network.

[0327] Optionally, the device further comprises:

[0328] The second sending module is used to send second information to the base station after a second preset time period after the first information is sent to the base station, where the second information is used to indicate that the electronic device supports calls through the first network.

[0329] Optionally, the device further comprises:

[0330] A second acquisition module, configured to acquire a second air interface signal quality after sending the first information to the base station, where the second air interface is an air interface of the second network;

[0331] The second sending module is used to send second information to the base station if the second air interface signal quality is lower than the second signal quality threshold and the second air interface signal quality is lower than the first air interface signal quality, wherein the second information is used to indicate that the electronic device supports calls through the first network.

[0332] Optionally, the device further comprises:

[0333] The second sending module is used to send second information to the base station after sending the first information to the base station, if the first air interface signal quality is continuously higher than the third signal quality threshold within a first preset time period, wherein the second information is used to indicate that the electronic device supports calls through the first network.

[0334] Optionally, the device further comprises:

[0335] A second acquisition module, configured to acquire a second air interface signal quality after sending the first information to the base station, where the second air interface is an air interface of the second network;

[0336] a second sending module, configured to send second information to the base station within a second preset time after sending the first information to the base station, if the second air interface signal quality is lower than the second signal quality threshold and the second air interface signal quality is lower than the first air interface signal quality, or if the first air interface signal quality is continuously higher than the third signal quality threshold within the first preset time, wherein the second information is used to indicate that the electronic device supports calls through the first network;

[0337] The second sending module is further used to send the second information to the base station after the second preset time after sending the first information to the base station, if the second information is not sent to the base station within the second preset time after sending the first information to the base station.

[0338] Optionally, the device further comprises:

[0339] A second acquisition module, configured to acquire a second air interface signal quality when the electronic device resides in the first network, the second air interface being an air interface of the second network;

[0340] The setting module is used to reduce the first preset duration if the first air interface signal quality is lower than the first signal quality threshold and the second air interface signal quality is higher than the fourth signal quality threshold; if the first air interface signal quality is higher than or equal to the first signal quality threshold, set the first preset duration to an initial value.

[0341] Optionally, the first sending module 902 is used to:

[0342] If the first air interface signal quality is lower than the first signal quality threshold when the call request message is received or the call request message is sent, obtaining the second air interface signal quality, where the second air interface is the air interface of the second network;

[0343] If the second air interface signal quality is higher than the fourth signal quality threshold, or if the second air interface signal quality is higher than the first air interface signal quality, a target event is sent to the base station, the target event is target information, and the target event is used to indicate that the heterosystem neighboring cell signal is higher than the threshold value.

[0344] Optionally, the target event is a B event, and the B event is a B1 event or a B2 event.

[0345] In an embodiment of the present application, the electronic device obtains the first air interface signal quality while residing in the first network. If it is determined that the preset condition is met based on the first air interface signal quality, it means that the call quality of the first network is poor. In this case, the electronic device sends target information to the base station to trigger the base station to instruct the electronic device to make a call through the second network during the call establishment phase. In this way, when the call quality of the first network is poor, the electronic device can actively report the target information to the base station so that the base station can switch the network used by the electronic device during the call to the second network during the call establishment phase. In this way, the electronic device selects a better network during the call based on the air interface signal quality, thereby improving the call quality of the electronic device and the user's call experience.

[0346] It should be noted that: when the communication device provided in the above embodiment communicates, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0347] The functional units and modules in the above embodiments may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit, and the above integrated units may be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present application.

[0348] The communication device and communication method embodiments provided in the above embodiments belong to the same concept. The specific working process of the units and modules in the above embodiments and the technical effects brought about can be found in the method embodiment part and will not be repeated here.

[0349] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (such as: coaxial cable, optical fiber, data subscriber line (Digital Subscriber Line, DSL)) or wireless (such as: infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access, or a data storage device such as a server or data center that includes one or more available media integrations. The available medium may be a magnetic medium (such as a floppy disk, a hard disk, a magnetic tape), an optical medium (such as a digital versatile disc (DVD)), or a semiconductor medium (such as a solid state disk (SSD)).

[0350] The above are optional embodiments provided for the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the technical scope disclosed in the present application shall be included in the protection scope of the present application.

Claims

1. A communication method, It is characterized in that Applied to an electronic device, the electronic device supports a first mobile communication technology standard and a second mobile communication technology standard, the first mobile communication technology standard being higher than the second mobile communication technology standard, the method comprising: Acquiring a first air interface signal quality during the process in which the electronic device resides in a first network, where the first network is a network based on the first mobile communication technology standard, and the first air interface is an air interface of the first network; If it is determined according to the first air interface signal quality that a preset condition is met, target information is sent to a base station, where the target information is used to trigger the base station to instruct the electronic device to make a call through a second network during a call establishment phase, where the second network is a network based on the second mobile communication technology standard, and the preset condition is used to indicate that the call quality of the first network is poor; If it is determined according to the first air interface signal quality that a preset condition is met, sending target information to a base station includes: If the first air interface signal quality continues to be lower than a first signal quality threshold within a first preset time period, first information is sent to the base station, where the first information is the target information and is used to indicate that the electronic device does not support calls through the first network.

2. The method according to claim 1, It is characterized in that The method further comprises: After a second preset time period after the first information is sent to the base station, second information is sent to the base station, where the second information is used to indicate that the electronic device supports calls through the first network.

3. The method according to claim 1, It is characterized in that The method further comprises: After sending the first information to the base station, obtaining a second air interface signal quality, where the second air interface is an air interface of the second network; If the second air interface signal quality is lower than a second signal quality threshold and the second air interface signal quality is lower than the first air interface signal quality, second information is sent to the base station, where the second information is used to indicate that the electronic device supports calls through the first network.

4. The method according to claim 1, It is characterized in that The method further comprises: After sending the first information to the base station, if the first air interface signal quality continues to be higher than the third signal quality threshold within the first preset time period, second information is sent to the base station, and the second information is used to indicate that the electronic device supports calls through the first network.

5. The method according to claim 1, It is characterized in that The method further comprises: After sending the first information to the base station, obtaining a second air interface signal quality, where the second air interface is an air interface of the second network; Within a second preset time period after sending the first information to the base station, if the second air interface signal quality is lower than a second signal quality threshold and the second air interface signal quality is lower than the first air interface signal quality, or if the first air interface signal quality is continuously higher than a third signal quality threshold within the first preset time period, sending second information to the base station, where the second information is used to indicate that the electronic device supports calls through the first network; If the second information is not sent to the base station within a second preset time period after the first information is sent to the base station, the second information is sent to the base station after the second preset time period after the first information is sent to the base station.

6. The method according to any one of claims 1 to 5, It is characterized in that The method further comprises: Acquiring a second air interface signal quality during the process in which the electronic device resides in the first network, where the second air interface is an air interface of the second network; If the first air interface signal quality is lower than the first signal quality threshold and the second air interface signal quality is higher than a fourth signal quality threshold, reducing the first preset duration; If the first air interface signal quality is higher than or equal to the first signal quality threshold, the first preset duration is set as an initial value.

7. The method according to claim 1, It is characterized in that If it is determined according to the first air interface signal quality that a preset condition is met, sending target information to a base station also includes: If the first air interface signal quality is lower than the first signal quality threshold when the call request message is received or the call request message is sent, obtaining the second air interface signal quality, where the second air interface is the air interface of the second network; If the second air interface signal quality is higher than the fourth signal quality threshold, or if the second air interface signal quality is higher than the first air interface signal quality, a target event is sent to the base station, the target event is the target information, and the target event is used to indicate that the heterosystem neighboring cell signal is higher than the threshold value.

8. The method according to claim 7, It is characterized in that The target event is a B event, and the B event is a B1 event or a B2 event.

9. A communication device, It is characterized in that Applied to an electronic device, the electronic device supports a first mobile communication technology standard and a second mobile communication technology standard, the first mobile communication technology standard is higher than the second mobile communication technology standard, the device comprises: A first acquisition module, configured to acquire a first air interface signal quality during the process in which the electronic device resides in a first network, wherein the first network is a network based on the first mobile communication technical standard, and the first air interface is an air interface of the first network; a first sending module, configured to send target information to a base station if it is determined that a preset condition is met according to the first air interface signal quality, wherein the target information is used to trigger the base station to instruct the electronic device to make a call through a second network during a call establishment phase, wherein the second network is a network based on the second mobile communication technical standard, and the preset condition is used to indicate that the call quality of the first network is poor; Wherein, the first sending module is specifically used for: If the first air interface signal quality continues to be lower than a first signal quality threshold within a first preset time period, first information is sent to the base station, where the first information is the target information and is used to indicate that the electronic device does not support calls through the first network.

10. A computer device, It is characterized in that The computer device comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the method according to any one of claims 1 to 8 when executed by the processor.

11. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Network switching method and apparatus, and equipment

    CN107770793A

  • Call completing rate improving method and base station

    CN111629384A

  • Network switching method and device and electronic equipment

    CN113596947A

  • Data processing method and device, terminal equipment and storage medium

    CN113873597A

  • Network switching method and device, electronic equipment and storage medium

    CN114125739A