Call method and device, equipment and storage medium

By switching to Bluetooth network calls when the cellular network is in poor condition, and switching again when the network condition or distance changes, the antenna mode is optimized, which solves the call problem in the case of weak or no cellular network and achieves a stable communication experience.

CN121968218APending Publication Date: 2026-05-01BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
BEIJING XIAOMI MOBILE SOFTWARE CO LTD
Filing Date
2024-10-29
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

When the cellular network is weak or nonexistent, the user's call quality cannot be guaranteed, and calls cannot be made.

Method used

By acquiring the network status of the cellular network, the system switches to the Bluetooth network for calls in weak or no network conditions, and switches the network when the cellular network quality improves or the distance changes, optimizing the antenna mode to improve data reception performance.

Benefits of technology

Even when cellular network quality is poor or unavailable, calls can still be made, improving call quality and stability and ensuring a smooth communication experience for users under various network conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121968218A_ABST
    Figure CN121968218A_ABST
Patent Text Reader

Abstract

The invention discloses a call method and device, equipment and a storage medium, and belongs to the technical field of wireless communication. The method comprises the following steps: a first electronic device obtains a network state of a cellular network, wherein the network state is used for indicating whether the first electronic device accesses the cellular network and indicating the quality of the cellular network; and under the condition that the network state meets a first condition, communicating with second electronic equipment through a Bluetooth network. Through the method, the first electronic equipment and the second electronic equipment can realize communication through the Bluetooth network, so that the first electronic equipment can also realize communication with the second electronic equipment when the quality of the cellular network is poor or the first electronic equipment cannot access the cellular network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of wireless communication technology, and in particular to a call method, apparatus, device, and storage medium. Background Technology

[0002] With the application of fifth-generation mobile communication technology, users have increasingly higher demands for call quality.

[0003] In related technologies, users can make calls via cellular networks, and the data generated during a call between two users is forwarded by network devices on the cellular network.

[0004] However, when the cellular network is weak, the user's call quality is difficult to guarantee, and when the cellular network is offline, it is impossible to make a call through the cellular network. Summary of the Invention

[0005] This application provides a call method, apparatus, device, and storage medium. The technical solution is as follows:

[0006] Firstly, a method for making a call is provided, the method comprising:

[0007] Obtain the network status of the cellular network, which indicates whether to access the cellular network and the quality of the cellular network;

[0008] If the network condition meets the first condition, a call is made to the second electronic device via Bluetooth.

[0009] In one possible implementation, the first condition includes: the network state is a weak network state or a no-network state, the weak network state means that the cellular network is accessed but the cellular network does not meet the quality conditions, and the no-network state means that the cellular network is not accessed, and the quality conditions are used to evaluate the communication quality of the cellular network.

[0010] In one possible implementation, the method further includes:

[0011] Obtain the distance to the second electronic device;

[0012] If the network is in a weak network state and the distance is less than or equal to a first distance threshold, the step of communicating with the second electronic device via the Bluetooth network is performed.

[0013] In one possible implementation, the method further includes:

[0014] When the network is in the weak network state and the distance is greater than the first distance threshold, the second electronic device is communicated through the cellular network.

[0015] In one possible implementation, prior to communicating with the second electronic device via the cellular network, the method further includes:

[0016] The antenna mode is switched from the first mode to the second mode, wherein the antenna mode is divided based on the frequency band coverage of the antenna, and the data reception performance of the second mode is better than that of the first mode.

[0017] In one possible implementation, in the second mode, the number of receiving frequency bands covered by the antenna is greater than the number of receiving frequency bands covered by the antenna in the first mode.

[0018] or,

[0019] In the second mode, the number of antennas covering the receiving frequency band is greater than the number of antennas covering the receiving frequency band in the first mode;

[0020] The receiving frequency band refers to the frequency band used to receive signals from network devices in the cellular network.

[0021] In one possible implementation, obtaining the distance to the second electronic device includes:

[0022] The distance to the second electronic device is obtained through network devices in the cellular network;

[0023] or,

[0024] The distance between the device and the second electronic device is determined based on Bluetooth information, which is used to communicate with the second electronic device via the Bluetooth network.

[0025] In one possible implementation, the network-free state includes at least one of the following:

[0026] No SIM (Subscriber Identity Module) card;

[0027] In flight mode;

[0028] The cellular network signal cannot be received.

[0029] In one possible implementation, the communication with the second electronic device via Bluetooth network includes:

[0030] Obtain Bluetooth information of the second electronic device, the Bluetooth information being used for communication with the second electronic device via the Bluetooth network;

[0031] A Bluetooth connection is established with the second electronic device based on the Bluetooth information;

[0032] The second electronic device can make a call based on the Bluetooth connection.

[0033] In one possible implementation, obtaining the Bluetooth information of the second electronic device includes:

[0034] Receive the Bluetooth information broadcast by the second electronic device; or,

[0035] The Bluetooth information of the second electronic device is obtained through network devices in the cellular network.

[0036] In one possible implementation, the method further includes:

[0037] If the network condition does not meet the first condition, the second electronic device is communicated via the cellular network.

[0038] In one possible implementation, the method further includes:

[0039] During a call with the second electronic device via the Bluetooth network, if the network status meets a second condition, the call is switched to be made via the cellular network. The second condition includes any one of the following: the network status changes from no network to a non-weak network state; the network status is a weak network state and the distance to the second electronic device increases to a level greater than a first distance threshold; the network status changes from a weak network state to a non-weak network state; the network status changes from no network to a weak network state and the distance to the second electronic device is greater than a first distance threshold; and / or,

[0040] During a call with the second electronic device via the cellular network, if the network status meets a third condition, the call is switched to be made via the Bluetooth network. The third condition includes any one of the following: the network status changes from a non-weak network status to a weak network status; the network status changes from a non-weak network status to a weak network status, and the distance between the network and the second electronic device is less than or equal to a first distance threshold; the network device is in a weak network status, and the distance between the network and the second electronic device is shortened to less than or equal to the first distance threshold; the network status changes from a non-weak network status to a no-network status; or the network status changes from a weak network status to a no-network status.

[0041] Secondly, a communication device is provided, the device comprising:

[0042] The acquisition module is configured to acquire the network status of a cellular network, the network status being used to indicate whether the cellular network is accessed and the quality of the cellular network.

[0043] The call module is configured to make a call with a second electronic device via a Bluetooth network when the network status meets a first condition.

[0044] In one possible implementation, the first condition includes: the network state is a weak network state or a no-network state, the weak network state means that the cellular network is accessed but the cellular network does not meet the quality conditions, and the no-network state means that the cellular network is not accessed, and the quality conditions are used to evaluate the communication quality of the cellular network.

[0045] In one possible implementation, the acquisition module is further configured to acquire the distance between itself and the second electronic device;

[0046] The device also includes an execution module;

[0047] The execution module is configured to perform the step of communicating with the second electronic device via Bluetooth network when the network state is the weak network state and the distance is less than or equal to a first distance threshold.

[0048] In one possible implementation, the call module is further configured to communicate with the second electronic device via the cellular network when the network state is the weak network state and the distance is greater than the first distance threshold.

[0049] In one possible implementation, the device further includes a switching module;

[0050] The switching module is configured to switch the antenna mode from a first mode to a second mode, wherein the antenna mode is based on the frequency band coverage of the antenna, and the data reception performance of the second mode is better than that of the first mode.

[0051] In one possible implementation, in the second mode, the number of receiving frequency bands covered by the antenna is greater than the number of receiving frequency bands covered by the antenna in the first mode.

[0052] or,

[0053] In the second mode, the number of antennas covering the receiving frequency band is greater than the number of antennas covering the receiving frequency band in the first mode;

[0054] The receiving frequency band refers to the frequency band used to receive signals from network devices in the cellular network.

[0055] In one possible implementation, the acquisition module is configured to acquire the distance between itself and the second electronic device via a network device in the cellular network;

[0056] or,

[0057] The acquisition module is configured to determine the distance between itself and the second electronic device based on Bluetooth information, which is used to communicate with the second electronic device via the Bluetooth network.

[0058] In one possible implementation, the network-free state includes at least one of the following:

[0059] SIM card without user identity module;

[0060] In flight mode;

[0061] The cellular network signal cannot be received.

[0062] In one possible implementation, the call module is configured to acquire Bluetooth information of the second electronic device, the Bluetooth information being used to make a call with the second electronic device via the Bluetooth network; establish a Bluetooth connection with the second electronic device based on the Bluetooth information; and make a call with the second electronic device based on the Bluetooth connection.

[0063] In one possible implementation, the call module is configured to receive the Bluetooth information broadcast by the second electronic device; or...

[0064] The call module is configured to obtain the Bluetooth information of the second electronic device through a network device in the cellular network.

[0065] In one possible implementation, the call module is further configured to communicate with the second electronic device via the cellular network if the network state does not meet the first condition.

[0066] In one possible implementation, the switching module is further configured to, during a call with the second electronic device via the Bluetooth network, switch to calling the second electronic device via the cellular network if the network state meets a second condition, wherein the second condition includes any one of the following: the network state changes from no network to a non-weak network state; the network state is a weak network state and the distance between the network and the second electronic device increases to a level greater than a first distance threshold; the network state changes from a weak network state to a non-weak network state; the network state changes from no network to a weak network state and the distance between the network and the second electronic device is greater than a first distance threshold; and / or,

[0067] The switching module is further configured to, during a call with the second electronic device via the cellular network, if the network status meets a third condition, switch to calling the second electronic device via the Bluetooth network. The third condition includes any one of the following: the network status changes from a non-weak network state to a weak network state; the network status changes from a non-weak network state to a weak network state, and the distance between the network and the second electronic device is less than or equal to a first distance threshold; the network device is in a weak network state, and the distance between the network and the second electronic device is shortened to less than or equal to the first distance threshold; the network status changes from a non-weak network state to a no-network state; or the network status changes from a weak network state to a no-network state.

[0068] Thirdly, an electronic device is also provided, comprising:

[0069] Processor; memory used to store processor-executable instructions;

[0070] The processor is configured as follows:

[0071] Obtain the network status of the cellular network, which indicates whether to access the cellular network and the quality of the cellular network;

[0072] If the network condition meets the first condition, a call is made to the second electronic device via Bluetooth.

[0073] Fourthly, a computer-readable storage medium is also provided, wherein a computer program is stored therein, the computer program being loaded and executed by a processor to enable a computer to implement the call method described in any of the preceding claims.

[0074] Fifthly, a computer program product is also provided, the computer program product comprising a computer program stored in a computer-readable storage medium. A processor of a computer device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, causing the computer device to perform any of the aforementioned call methods.

[0075] The technical solutions provided in this application embodiment may have the following beneficial effects:

[0076] The first electronic device and the second electronic device can communicate via Bluetooth. This allows the first electronic device to communicate with the second electronic device even when the cellular network quality is poor or the first electronic device cannot access the cellular network. Attached Figure Description

[0077] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0078] Figure 1 This is a schematic diagram of the implementation environment of a call method provided in an embodiment of this application;

[0079] Figure 2 This is an interactive schematic diagram of a call method provided in an embodiment of this application;

[0080] Figure 3 This is an interactive schematic diagram of another call method provided in an embodiment of this application;

[0081] Figure 4 This is an interactive schematic diagram of another call method provided in an embodiment of this application;

[0082] Figure 5 This is a schematic diagram of a call method provided in an embodiment of this application;

[0083] Figure 6 This is a block diagram of a communication device provided in an embodiment of this application;

[0084] Figure 7 This is a block diagram of an electronic device provided in an embodiment of this application. Detailed Implementation

[0085] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0086] The technical solutions provided in this application are applicable to electronic devices employing one or more of the following communication technologies: Bluetooth (BT) communication technology, Global Positioning System (GPS) communication technology, Wireless Fidelity (WiFi) communication technology, Global System for Mobile Communications (GSM) communication technology, Wideband Code Division Multiple Access (WCDMA) communication technology, Long Term Evolution (LTE) communication technology, 5G communication technology, satellite communication technology, and other future communication technologies.

[0087] The electronic devices in this application embodiment can be mobile phones, tablet computers (portable Android devices, PADs), laptops, smart bracelets, smartwatches, smart helmets, smart glasses, etc.

[0088] Electronic devices can also be cellular phones, cordless phones, Session Initiation Protocol (SIP) phones, Wireless Local Loop (WLL) stations, Personal Digital Assistants (PDAs), handheld devices with wireless communication capabilities, computing devices or other processing devices connected to a wireless modem, in-vehicle devices, electronic devices in 5G networks, or electronic devices in future evolved Public Land Mobile Networks (PLMNs), as well as virtual reality (VR) terminal devices, augmented reality (AR) terminal devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical care, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, and other mobile or fixed terminals. The embodiments of this application do not specifically limit the form of the electronic devices.

[0089] In some cases, electronic devices can perform multiple functions (e.g., playing music, displaying videos, storing pictures, etc.).

[0090] In this embodiment, the electronic device has a calling function, enabling it to communicate with other electronic devices via a cellular network or Bluetooth network. For example, as shown... Figure 1 As shown, the first electronic device 10 communicates with the second electronic device 20 via cellular network 200, or the first electronic device 10 communicates with the second electronic device 20 via Bluetooth network 300.

[0091] With the application of 5G mobile communication technology, users have increasingly higher demands for communication quality. In areas with network connectivity, users expect lower latency and higher call quality; in areas with weak network connectivity, users still want to be able to access the internet or make calls. This application proposes a call method optimized for weak network conditions and compatible with offline calls. This method presents a complete calling logic for both network-connected and offline call modes, innovatively introducing an offline call function. This function can seamlessly switch between network-connected and weak network call modes, ensuring that users can maintain contact with the outside world regardless of whether they have a network connection or not. Simultaneously, the calling logic in weak network conditions is optimized. When the user's communication distance is within Bluetooth range, Bluetooth network priority is selected over cellular network priority in weak network conditions, thereby further improving communication quality.

[0092] Please refer to Figure 2 This illustration shows an interactive diagram of a call method provided in an embodiment of this application. This method can be applied to the above-mentioned... Figure 1 In the implementation environment shown, the method is executed by a first electronic device. (As shown...) Figure 2 As shown, the method includes, but is not limited to, the following steps 210 to 220.

[0093] Step 210: The first electronic device obtains the network status of the cellular network, which is used to indicate whether the first electronic device is connected to the cellular network and the quality of the cellular network.

[0094] In some embodiments, the first electronic device and the second electronic device operate within a cellular network. For example, the first electronic device establishes a communication connection with a network device within the cellular network, and the second electronic device also establishes a communication connection with a network device within the cellular network. The first electronic device and the second electronic device can communicate via the network device within the cellular network.

[0095] In some embodiments, the first electronic device establishes a communication connection with a network device in a cellular network. However, due to various reasons, such as the first electronic device being far from the network device in the cellular network or the first electronic device not being connected to the cellular network, the first electronic device may be unable to communicate normally with the second electronic device.

[0096] In some embodiments, the network status of a cellular network may include the following:

[0097] Scenario 1: The network status is a weak network status, which means that the first electronic device is connected to the cellular network and the cellular network does not meet the quality conditions.

[0098] In some embodiments, quality conditions are used to evaluate the communication quality of a cellular network. In some embodiments, quality conditions may be configured by the network device, or may be predefined or pre-configured, or may be determined by the first electronic device based on its own implementation; this application does not limit this.

[0099] In one example, the quality condition is that the channel quality between the first electronic device and the network device exceeds a first quality threshold. In some embodiments, the first quality threshold may be configured by the network device, predefined or pre-configured, or determined by the first electronic device based on its own implementation; this application does not limit this. In some embodiments, the aforementioned channel quality is obtained by measuring the channel quality between the first electronic device and the network device. In some embodiments, the aforementioned channel quality may be RSRQ, RSRP, SINR, etc.; this application does not limit this.

[0100] In one example, the quality condition is that the data transmission latency between the first electronic device and the network device exceeds a first latency threshold. In some embodiments, the first latency threshold may be configured by the network device, or it may be predefined or preconfigured, or it may be determined by the first electronic device based on its own implementation; this application does not limit this. As a real-time dialogue service, voice call services have high latency requirements; therefore, data transmission latency can be used as a standard to measure the quality of a cellular network.

[0101] In some embodiments, the quality conditions may also be determined based on the data transmission rate between the first electronic device and the network device, the distance between the first electronic device and the network device, or a combination of two or more of the above examples. This application does not limit this.

[0102] Scenario 2: The network status is not weak. A non-weak network status means that the first electronic device is connected to the cellular network and the cellular network meets the quality conditions.

[0103] For cases where the cellular network meets the quality requirements, please refer to the description of cases where the cellular network does not meet the quality requirements in section 2 above. This application will not repeat the details here.

[0104] Scenario 3: The network status is no network. No network means that the first electronic device is not connected to the cellular network.

[0105] In some embodiments, the no-network state includes at least one of the following:

[0106] The first electronic device does not have a SIM card;

[0107] The first electronic device is in flight mode;

[0108] The first electronic device cannot receive signals from the cellular network.

[0109] A SIM card is a smart card used for identity authentication and storing user information. It is widely used in cellular mobile communication systems such as GSM, UMTS, LTE, and 5G networks. Through a SIM card, users can access mobile network services, make voice calls, send text messages, and use data services.

[0110] Flight Mode is a feature available on mobile devices such as smartphones and tablets that allows users to disable all wireless communication functions to meet safety requirements for air travel. In Flight Mode, all wireless communication functions of the device, including cellular networks, Wi-Fi, and GPS, are disabled.

[0111] In some embodiments, the first electronic device may be unable to receive signals from the cellular network because the distance between the first electronic device and the network device is too far, the first electronic device is not within the service area of ​​the cellular network, or the first electronic device is unable to resolve the signals of the cellular network.

[0112] Step 220: If the network condition meets the first condition, the first electronic device communicates with the second electronic device via Bluetooth network.

[0113] In some embodiments, the first condition includes: the network status is a weak network status or a no network status.

[0114] In some embodiments, when the network is in a strong network condition, the first electronic device and the second electronic device can communicate via a cellular network. When the network is in a weak network condition, the call quality between the first electronic device and the second electronic device via the cellular network is relatively poor, so they can communicate via Bluetooth. When there is no network, the first electronic device and the second electronic device cannot communicate via the cellular network, so they can also communicate via Bluetooth.

[0115] The technical solution provided in this application embodiment enables the first electronic device and the second electronic device to make calls via Bluetooth network. This allows the first electronic device to make calls with the second electronic device even when the quality of the cellular network is poor or the first electronic device cannot access the cellular network.

[0116] I. Weak Network Status

[0117] In some embodiments, when the network is in a weak network state, the first electronic device communicates with the second electronic device via a Bluetooth network.

[0118] In some embodiments, a call between a first electronic device and a second electronic device can be initiated by either the first electronic device or the second electronic device; this application does not limit this. For example, the first electronic device dials the SIM card number of the second electronic device to initiate a call. For example, the first electronic device answers a call request initiated by the second electronic device.

[0119] The call will be determined based on distance, either via Bluetooth or cellular network.

[0120] In some embodiments, since Bluetooth communication is limited by distance, the distance between the first electronic device and the second electronic device must also be considered when making a call with the second electronic device via the Bluetooth network.

[0121] In one example, such as Figure 3 As shown, before step 220, the method further includes step 230.

[0122] Step 230: The first electronic device obtains the distance between the first electronic device and the second electronic device.

[0123] In some embodiments, the distance between the first electronic device and the second electronic device may be obtained by the first electronic device through a cellular network.

[0124] For example, the first electronic device obtains the distance between the first electronic device and the second electronic device through a network device in the cellular network.

[0125] 1. The first electronic device determines the distance between the first electronic device and the second electronic device.

[0126] In some embodiments, a first electronic device sends a first request to a network device, the first request requesting location information of a second electronic device. Upon receiving the first request, the network device acquires the location information of the second electronic device. In one example, the network device instructs the second electronic device to report its location information. In another example, the network device measures the location of the second electronic device to obtain its location information. In yet another example, the network device stores the location information of the second electronic device. In some embodiments, after acquiring the location information of the second electronic device, the network device sends a first response to the first electronic device, the first response including the location information of the second electronic device. Based on the location information of both the first and second electronic devices, the first electronic device determines the distance between itself and the second electronic device.

[0127] 2. The network device determines the distance between the first electronic device and the second electronic device.

[0128] In some embodiments, a first electronic device sends a second request to a network device, the second request being for requesting the distance between the first electronic device and a second electronic device. After receiving the first request, the network device obtains the location information of the first electronic device and the location information of the second electronic device, and determines the distance between the two electronic devices based on the location information of the first and second electronic devices. After determining the distance between the two electronic devices, the network device sends a second response to the first electronic device, the second response including the distance between the two electronic devices. Regarding the network device obtaining the location information of the second electronic device, please refer to the description in the above embodiments; this application will not repeat it here. In one example, the second request carries the location information of the first electronic device. In another example, the network device measures the location of the first electronic device to obtain the location information of the second electronic device. In yet another example, the network device stores the location information of the first electronic device.

[0129] For example, the first electronic device obtains the distance between the first electronic device and the second electronic device via a Bluetooth network.

[0130] In some embodiments, a first electronic device determines the distance between itself and a second electronic device based on Bluetooth information, which is used for communication between the two devices via a Bluetooth network. In some embodiments, the first electronic device receives Bluetooth information broadcast by the second electronic device. In some embodiments, the Bluetooth information carries relevant information about the second electronic device. For example, the relevant information about the second electronic device includes at least one of the following: identification information of the second electronic device, and location information of the second electronic device.

[0131] In some embodiments, after receiving Bluetooth information from the second electronic device, the first electronic device determines the distance between the two electronic devices based on the location information of the second electronic device carried in the Bluetooth information. In some embodiments, if the first electronic device fails to receive Bluetooth information from the second electronic device, it indicates that the distance between the first electronic device and the second electronic device is too far.

[0132] In some embodiments, when the network is in a weak state and the distance is less than or equal to a first distance threshold, the first electronic device performs step 220 as described above.

[0133] In some embodiments, when the network is in a weak state and the distance is greater than a first distance threshold, the first electronic device communicates with the second electronic device via a cellular network.

[0134] In some embodiments, the first distance threshold may be configured by the network device, or it may be predefined or preconfigured, or it may be determined based on the Bluetooth capability of the first electronic device. This application does not limit this.

[0135] How to optimize cellular calls

[0136] In some embodiments, if the network is in a weak state and the distance is greater than a first distance threshold, the first electronic device can still communicate with the second electronic device through the cellular network. In this case, the embodiments of this application also provide an optimization method.

[0137] In some embodiments, the first electronic device switches its antenna mode from a first mode to a second mode, wherein the antenna mode is divided based on the frequency band coverage of the antenna of the first electronic device, and the data reception performance of the second mode is better than that of the first mode.

[0138] In some embodiments, in the second mode, the number of receiving frequency bands covered by the antenna of the first electronic device is greater than the number of receiving frequency bands covered by the antenna of the first electronic device in the first mode.

[0139] In some embodiments, in the second mode, the range of the receiving frequency band covered by the antenna of the first electronic device is greater than the range of the receiving frequency band covered by the antenna of the first electronic device in the first mode.

[0140] In some embodiments, in the second mode, the number of antennas covering the receiving frequency band of the first electronic device is greater than the number of antennas covering the receiving frequency band of the first electronic device in the first mode.

[0141] In some embodiments, the receiving frequency band refers to the frequency band in which the first electronic device receives signals from network devices in the cellular network.

[0142] In some embodiments, the implementation of the first mode and the second mode may depend on the capabilities of the first electronic device. For example, if the first electronic device supports switching between the first mode and the second mode, then the aforementioned capabilities can be implemented.

[0143] In some embodiments, if both the first electronic device and the second electronic device are in a weak network state, carrier aggregation is used to transmit call data during a call via the cellular network. For example, the first electronic device sends call data to the second electronic device using carrier aggregation. For example, the call data is multiplexed on multiple orthogonal carriers and sent to the second electronic device, which receives the call data forwarded by the network device. In a weak network state, the second electronic device can improve the accuracy of call data reception and thus improve call stability by receiving call data multiplexed on multiple orthogonal carriers.

[0144] In some embodiments, if both the first electronic device and the second electronic device are in a weak network state, call data is transmitted using a repeated transmission method during a call via the cellular network. For example, the first electronic device sends call data to the second electronic device using a repeated transmission method. Specifically, the first electronic device repeatedly transmits call data to the second electronic device within a first time period, the start time of which is the initial transmission time of the call data. The second electronic device receives call data within a second time period, the start time of which is also the initial transmission time of the call data. After the second time period ends, the second electronic device decodes the call data and sends it back to the user of the second electronic device. This multiple transmission of call data improves the accuracy of call data reception. In some embodiments, the duration of the first and second time periods can be configured by the network device, predefined or pre-configured, or determined through negotiation between the first and second electronic devices; this application does not limit this. In some embodiments, the call data can be periodically or non-periodically repeated within the first time period; this application does not limit this.

[0145] It should be noted that the above example is based on the first electronic device sending call data to the second electronic device, but it can also be applied to scenarios where the second electronic device sends call data to the first electronic device.

[0146] Using the above method, when the cellular network is in a weak state, if the distance is less than the first distance threshold, a call can be made with the second electronic device via Bluetooth. If the distance is greater than the first distance threshold, the call quality under the cellular network can be optimized by switching the antenna mode of the first electronic device, thus maximizing the call quality between the first and second electronic devices.

[0147] II. No network connection

[0148] In some embodiments, if the network status is offline, the first electronic device communicates with the second electronic device via Bluetooth.

[0149] This application also provides exemplary embodiments regarding how the first electronic device can communicate with the second electronic device via a Bluetooth network. Please refer to... Figure 4 The diagram illustrates an interactive schematic of a call method provided in an embodiment of this application. This method includes, but is not limited to, the following steps 410-430.

[0150] Step 410: The first electronic device obtains the Bluetooth information of the second electronic device. The Bluetooth information is used for communication between the first electronic device and the second electronic device via the Bluetooth network.

[0151] In some embodiments, the first electronic device receives Bluetooth information broadcast by the second electronic device. In some embodiments, the Bluetooth information of the second electronic device includes at least one of the following: identification information of the second electronic device and location information of the second electronic device.

[0152] Step 420: The first electronic device establishes a Bluetooth connection with the second electronic device based on Bluetooth information.

[0153] In some embodiments, the first electronic device establishes a Bluetooth connection with the second electronic device based on the identification information of the second electronic device.

[0154] In some embodiments, after acquiring Bluetooth information, the first electronic device sends a connection request to the second electronic device. The connection request is used to request the establishment of a Bluetooth connection with the second electronic device. In some embodiments, the connection request includes at least one of the following: identification information of the first electronic device, identification information of the second electronic device, a connection request frame, and location information of the first electronic device. The connection request frame is used to request the establishment of a Bluetooth connection with the second electronic device. In some embodiments, upon receiving a connection response from the second electronic device, it is considered that a Bluetooth connection has been established with the second electronic device.

[0155] Step 430: The first electronic device makes a call with the second electronic device via Bluetooth connection.

[0156] In some embodiments, call data between the first electronic device and the second electronic device is transmitted via Bluetooth connection.

[0157] In some embodiments, when the network condition is weak, the process of making a call between the first electronic device and the second electronic device via Bluetooth network can also be referred to Figure 4 The interactive diagram shown is not repeated here.

[0158] In some embodiments, when the network is in a weak network state, the first electronic device can also obtain the Bluetooth information of the second electronic device through a network device in the cellular network. In some embodiments, the second electronic device sends the Bluetooth information to the network device, which then forwards it to the first electronic device. For example, the first electronic device sends a Bluetooth request message to the network device, which requests to obtain the Bluetooth information of the second electronic device. After receiving the Bluetooth request message, the network device instructs the second electronic device to report its Bluetooth information and then sends the reported Bluetooth information to the first electronic device.

[0159] A method for making calls using a Bluetooth network is provided, enabling a first electronic device to make calls with a second electronic device even when there is no network connection.

[0160] III. Switching between non-weak network states and states

[0161] Non-weak network state

[0162] In some embodiments, if the network condition does not meet the first condition, the first electronic device communicates with the second electronic device via a cellular network. In some embodiments, the network condition not meeting the first condition means that the network condition is not a weak network condition. Regarding the non-weak network condition, please refer to the description in the above embodiments; this application will not repeat it here.

[0163] In some embodiments, if the network status changes during a call between the first electronic device and the second electronic device, the network used for the call can be switched.

[0164] Switching between states

[0165] In one example, while talking to a second electronic device via Bluetooth, if the network status meets a second condition, the call is switched to talking to the second electronic device via cellular network.

[0166] In some embodiments, the second condition includes any one of the following: the network state changes from no network state to a non-weak network state, the network state is a weak network state, and the distance between the first electronic device and the second electronic device increases to a level greater than a first distance threshold, the network state changes from a weak network state to a non-weak network state, the network state changes from no network state to a weak network state, and the distance between the first electronic device and the second electronic device is greater than a first distance threshold.

[0167] In another example, while talking to a second electronic device via a cellular network, if the network status meets a third condition, the conversation switches to talking to the second electronic device via a Bluetooth network.

[0168] In some embodiments, the third condition includes any one of the following: the network state changes from a non-weak network state to a weak network state; the network state changes from a non-weak network state to a weak network state, and the distance between the first electronic device and the second electronic device is less than or equal to a first distance threshold; the network device is in a weak network state, and the distance between the first electronic device and the second electronic device is shortened to less than or equal to the first distance threshold; the network state changes from a non-weak network state to a no-network state; or the network state changes from a weak network state to a no-network state.

[0169] Exemplary model using a mobile phone as an example

[0170] Please refer to Figure 5 The diagram illustrates a call method provided in this application.

[0171] 1. In weak network conditions, the caller determines whether to prioritize cellular or Bluetooth networks based on the distance between the two parties.

[0172] 2. In weak network conditions, when cellular priority is enabled, the RX mode is optimized by switching the antenna mode from the first mode to the second mode via a Qualcomm switch, sacrificing some TX performance to improve the weak network experience.

[0173] 3. In the absence of network access, calls can be made via Bluetooth network priority.

[0174] like Figure 5 As shown, when a mobile phone can connect to a cellular network and is in a non-weak network state, it can use the cellular network function to make calls normally. This scenario is mostly in urban or rural areas that are not suburban, where the base station (network equipment) signal is strong, and users can obtain a good signal and achieve high-quality call function.

[0175] When a user is in a weak network situation, there are two states. If the distance between the user and the other user is within Bluetooth communication range, the T1S (Tracking Area 1 Second) switch switches to Bluetooth network priority mode. In this mode, Bluetooth intercom functionality is used for communication, and the call quality is higher than in weak network conditions. Therefore, Bluetooth intercom is preferred. However, if the communication distance exceeds Bluetooth communication range, the Bluetooth call quality deteriorates, and the T1S switch switches to cellular network priority mode, using the cellular network for communication to ensure communication quality for the user in weak network conditions.

[0176] This application addresses the problem of cellular communication in weak network conditions. It also proposes a method to optimize call quality in weak network conditions. Generally, the antenna's RX (Receive) band is the performance bottleneck, while the TX (Transmit) band performs better than the RX band. However, by switching the antenna mode from the first mode to the second mode using a Qualcomm switch, the antenna coverage frequency band can be adjusted from being biased towards TX to RX, thereby optimizing the RX band performance and achieving a good communication experience in weak network conditions. Therefore, in the antenna design, a state is reserved in the Qualcomm switch for optimizing weak networks. When a user needs to use the phone in a weak network condition, they can directly call the configured weak network state.

[0177] When no cellular network is detected, the T1S switches to Bluetooth network priority mode. No network status typically occurs in scenarios such as no SIM card, airplane mode, or no signal. In these scenarios, users cannot make calls using traditional methods and can only rely on the Bluetooth walkie-talkie function.

[0178] The above method implements a complete call logic for both online and offline calling. This logic ensures a smooth switching between online and offline calling, thus significantly improving the user experience.

[0179] See Figure 6 This application provides a communication device, which includes:

[0180] The acquisition module 610 is configured to acquire the network status of a cellular network, the network status being used to indicate whether the cellular network is accessed and the quality of the cellular network.

[0181] The call module 620 is configured to make a call with a second electronic device via a Bluetooth network when the network status meets a first condition.

[0182] In one possible implementation, the first condition includes: the network state is a weak network state or a no-network state, the weak network state means that the cellular network is accessed but the cellular network does not meet the quality conditions, and the no-network state means that the cellular network is not accessed, and the quality conditions are used to evaluate the communication quality of the cellular network.

[0183] In one possible implementation, the acquisition module 610 is further configured to acquire the distance between itself and the second electronic device;

[0184] The device also includes an execution module (not shown in the figure);

[0185] The execution module is configured to perform the step of communicating with the second electronic device via Bluetooth network when the network state is the weak network state and the distance is less than or equal to a first distance threshold.

[0186] In one possible implementation, the call module 620 is further configured to communicate with the second electronic device via the cellular network when the network state is the weak network state and the distance is greater than the first distance threshold.

[0187] In one possible implementation, the device further includes a switching module (not shown in the figure);

[0188] The switching module is configured to switch the antenna mode from a first mode to a second mode, wherein the antenna mode is based on the frequency band coverage of the antenna, and the data reception performance of the second mode is better than that of the first mode.

[0189] In one possible implementation, in the second mode, the number of receiving frequency bands covered by the antenna is greater than the number of receiving frequency bands covered by the antenna in the first mode.

[0190] or,

[0191] In the second mode, the number of antennas covering the receiving frequency band is greater than the number of antennas covering the receiving frequency band in the first mode;

[0192] The receiving frequency band refers to the frequency band used to receive signals from network devices in the cellular network.

[0193] In one possible implementation, the acquisition module 610 is configured to acquire the distance to the second electronic device via a network device in the cellular network;

[0194] or,

[0195] The acquisition module 610 is configured to determine the distance between itself and the second electronic device based on Bluetooth information, which is used to communicate with the second electronic device via the Bluetooth network.

[0196] In one possible implementation, the network-free state includes at least one of the following:

[0197] SIM card without user identity module;

[0198] In flight mode;

[0199] The cellular network signal cannot be received.

[0200] In one possible implementation, the call module 620 is configured to acquire Bluetooth information of the second electronic device, the Bluetooth information being used to make a call with the second electronic device via the Bluetooth network; establish a Bluetooth connection with the second electronic device based on the Bluetooth information; and make a call with the second electronic device based on the Bluetooth connection.

[0201] In one possible implementation, the call module 620 is configured to receive the Bluetooth information broadcast by the second electronic device; or,

[0202] The call module 620 is configured to obtain the Bluetooth information of the second electronic device through a network device in the cellular network.

[0203] In one possible implementation, the call module 620 is further configured to communicate with the second electronic device via the cellular network if the network state does not meet the first condition.

[0204] In one possible implementation, the switching module is further configured to, during a call with the second electronic device via the Bluetooth network, switch to calling the second electronic device via the cellular network if the network state meets a second condition, wherein the second condition includes any one of the following: the network state changes from no network to a non-weak network state; the network state is a weak network state and the distance between the network and the second electronic device increases to a level greater than a first distance threshold; the network state changes from a weak network state to a non-weak network state; the network state changes from no network to a weak network state and the distance between the network and the second electronic device is greater than a first distance threshold; and / or,

[0205] The switching module is further configured to, during a call with the second electronic device via the cellular network, if the network status meets a third condition, switch to calling the second electronic device via the Bluetooth network. The third condition includes any one of the following: the network status changes from a non-weak network state to a weak network state; the network status changes from a non-weak network state to a weak network state, and the distance between the network and the second electronic device is less than or equal to a first distance threshold; the network device is in a weak network state, and the distance between the network and the second electronic device is shortened to less than or equal to the first distance threshold; the network status changes from a non-weak network state to a no-network state; or the network status changes from a weak network state to a no-network state.

[0206] The technical solution provided in this application embodiment enables the first electronic device and the second electronic device to make calls via Bluetooth network. This allows the first electronic device to make calls with the second electronic device even when the quality of the cellular network is poor or the first electronic device cannot access the cellular network.

[0207] Figure 7 This is a block diagram illustrating an electronic device 700 according to an exemplary embodiment. For example, the electronic device 700 may be a mobile phone, tablet computer, e-book reader, multimedia playback device, wearable device, laptop computer, or other electronic devices. The electronic device may be either the first electronic device described above or the second electronic device described above.

[0208] Reference Figure 7 The electronic device 700 may include one or more of the following components: processing component 702, memory 704, power supply component 706, multimedia component 708, audio component 710, input / output (I / O) interface 712, sensor component 714, and communication component 716.

[0209] Processing component 702 typically controls the overall operation of electronic device 700, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the methods described above. Furthermore, processing component 702 may include one or more modules to facilitate interaction between processing component 702 and other components. For example, processing component 702 may include a multimedia module to facilitate interaction between multimedia component 708 and processing component 702.

[0210] Memory 704 is configured to store various types of data to support the operation of electronic device 700. Examples of this data include instructions for any application or method operating on electronic device 700, contact data, phonebook data, messages, pictures, videos, etc. Memory 704 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0211] Power supply component 706 provides power to various components of electronic device 700. Power supply component 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 700.

[0212] Multimedia component 708 includes a screen that provides an output interface between the electronic device 700 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 708 includes a front-facing camera and / or a rear-facing camera. When the electronic device 700 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0213] Audio component 710 is configured to output and / or input audio signals. For example, audio component 710 includes a microphone (MIC) configured to receive external audio signals when electronic device 700 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 704 or transmitted via communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.

[0214] I / O interface 712 provides an interface between processing component 702 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0215] Sensor assembly 714 includes one or more sensors for providing state assessments of various aspects of electronic device 700. For example, sensor assembly 714 can detect the on / off state of electronic device 700, the relative positioning of components such as the display and keypad of electronic device 700, changes in position of electronic device 700 or a component of electronic device 700, the presence or absence of user contact with electronic device 700, orientation or acceleration / deceleration of electronic device 700, and temperature changes of electronic device 700. Sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 714 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.

[0216] Communication component 716 is configured to facilitate wired or wireless communication between electronic device 700 and other devices. Electronic device 700 can access wireless networks based on communication standards, such as Wi-Fi, 2G, 3G, 4G, 5G, or subsequent evolution systems, or combinations thereof. In one exemplary embodiment, communication component 716 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 716 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0217] In an exemplary embodiment, the electronic device 700 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above-described call method.

[0218] In an exemplary embodiment, a non-transitory computer-readable storage medium is also provided, on which a computer program is stored, which can be executed by a processor 720 of an electronic device 700 to perform the aforementioned call method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0219] Those skilled in the art will understand that Figure 7 The structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or use different component arrangements.

[0220] In an exemplary embodiment, an electronic device is also provided, comprising a processor and a memory storing a computer program. The computer program is loaded and executed by one or more processors to enable the electronic device to implement any of the aforementioned communication methods.

[0221] Optionally, the aforementioned computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, floppy disk, and optical data storage device, etc.

[0222] In an exemplary embodiment, a computer program product is also provided, comprising a computer program stored in a computer-readable storage medium. A processor of a computer device reads the computer program from the computer-readable storage medium and executes the computer program, causing the computer device to perform any of the aforementioned call methods.

[0223] The terms "first," "second," "third," and "fourth," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or apparatuses.

[0224] The above description is merely an optional embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the principles of this application should be included within the protection scope of this application.

Claims

1. A method for making a call, characterized in that, The method includes: Obtain the network status of the cellular network, which indicates whether to access the cellular network and the quality of the cellular network; If the network condition meets the first condition, a call is made to the second electronic device via Bluetooth.

2. The method according to claim 1, characterized in that, The first condition includes: the network status is a weak network status or a no network status. The weak network status means that the cellular network is connected but the cellular network does not meet the quality conditions. The no network status means that the cellular network is not connected. The quality conditions are used to evaluate the communication quality of the cellular network.

3. The method according to claim 2, characterized in that, The method further includes: Obtain the distance to the second electronic device; If the network is in a weak network state and the distance is less than or equal to a first distance threshold, the step of communicating with the second electronic device via the Bluetooth network is performed.

4. The method according to claim 3, characterized in that, The method further includes: When the network is in the weak network state and the distance is greater than the first distance threshold, the second electronic device is communicated through the cellular network.

5. The method according to claim 4, characterized in that, Before communicating with the second electronic device via the cellular network, the method further includes: The antenna mode is switched from the first mode to the second mode, wherein the antenna mode is divided based on the frequency band coverage of the antenna, and the data reception performance of the second mode is better than that of the first mode.

6. The method according to claim 5, characterized in that, In the second mode, the number of receiving frequency bands covered by the antenna is greater than the number of receiving frequency bands covered by the antenna in the first mode; or, In the second mode, the number of antennas covering the receiving frequency band is greater than the number of antennas covering the receiving frequency band in the first mode; The receiving frequency band refers to the frequency band used to receive signals from network devices in the cellular network.

7. The method according to claim 3, characterized in that, The process of obtaining the distance between the device and the second electronic device includes: The distance to the second electronic device is obtained through network devices in the cellular network; or, The distance between the device and the second electronic device is determined based on Bluetooth information, which is used to communicate with the second electronic device via the Bluetooth network.

8. The method according to claim 2, characterized in that, The offline state includes at least one of the following: SIM card without user identity module; In flight mode; The cellular network signal cannot be received.

9. The method according to claim 1, characterized in that, The method of communicating with a second electronic device via Bluetooth includes: Obtain Bluetooth information of the second electronic device, the Bluetooth information being used for communication with the second electronic device via the Bluetooth network; A Bluetooth connection is established with the second electronic device based on the Bluetooth information; The second electronic device can make a call based on the Bluetooth connection.

10. The method according to claim 9, characterized in that, The step of obtaining the Bluetooth information of the second electronic device includes: Receive the Bluetooth information broadcast by the second electronic device; or, The Bluetooth information of the second electronic device is obtained through network devices in the cellular network.

11. The method according to claim 1, characterized in that, The method further includes: If the network condition does not meet the first condition, the second electronic device is communicated via the cellular network.

12. The method according to claim 1, characterized in that, The method further includes: During a call with the second electronic device via the Bluetooth network, if the network status meets a second condition, the call is switched to be made via the cellular network. The second condition includes any one of the following: the network status changes from no network to a non-weak network state; the network status is a weak network state and the distance to the second electronic device increases to a level greater than a first distance threshold; the network status changes from a weak network state to a non-weak network state; the network status changes from no network to a weak network state and the distance to the second electronic device is greater than a first distance threshold; and / or, During a call with the second electronic device via the cellular network, if the network status meets a third condition, the call is switched to be made via the Bluetooth network. The third condition includes any one of the following: the network status changes from a non-weak network status to a weak network status; the network status changes from a non-weak network status to a weak network status, and the distance between the network and the second electronic device is less than or equal to a first distance threshold; the network device is in a weak network status, and the distance between the network and the second electronic device is shortened to less than or equal to the first distance threshold; the network status changes from a non-weak network status to a no-network status; or the network status changes from a weak network status to a no-network status.

13. A communication device, characterized in that, The device includes: The acquisition module is configured to acquire the network status of a cellular network, the network status being used to indicate whether the cellular network is accessed and the quality of the cellular network. The call module is configured to make a call with a second electronic device via a Bluetooth network when the network status meets a first condition.

14. An electronic device, characterized in that, include: Processor; memory used to store processor-executable instructions; The processor is configured as follows: The network status of the cellular network is obtained, and the network status is used to indicate whether the first electronic device is connected to the cellular network and the quality of the cellular network. If the network condition meets the first condition, a call is made to the second electronic device via Bluetooth.

15. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, which is loaded and executed by a processor to enable the computer to perform the method as described in any one of claims 1 to 12.

16. A computer program product, characterized in that, The computer program product includes computer instructions stored in a computer-readable storage medium, wherein a processor retrieves the computer instructions from the computer-readable storage medium and executes the computer instructions to implement the method as described in any one of claims 1 to 12.