Call setup method and electronic device

By receiving failure type information, the calling device determines the network standard for redialing, solving the problem of low call establishment efficiency in existing technologies and achieving more efficient call establishment.

CN118450544BActive Publication Date: 2025-12-19HONOR DEVICE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202311285277.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-28
Publication Date
2025-12-19
Estimated Expiration
2043-09-28

AI Technical Summary

Technical Problem

In existing technologies, electronic devices are inefficient at establishing calls, often requiring attempts at multiple network standards, which increases the number of requests.

Method used

When the calling device establishes a call with the called device through the first network device, it receives failure type information and determines the network standard to be used when redialing based on this information. This avoids trying networks from high to low in sequence and directly initiates a call establishment request to the corresponding network device.

Benefits of technology

This reduces the number of call setup requests and improves call setup efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118450544B_ABST
    Figure CN118450544B_ABST
Patent Text Reader

Abstract

The embodiment of the application is suitable for the field of communication technology, and provides a call establishing method and an electronic device. A calling device sends a first request for establishing a call with a called device to a first network device, and then the called device returns first information indicating a call establishing state between the calling device and the called device based on the first request. In the case that the call establishing between the calling device and the called device fails, the first information is also used for indicating a first failure type of the call establishing failure between the calling device and the called device. The calling device can determine a corresponding first network type based on the first failure type carried in the first information, and then send a call establishing request to a second network device corresponding to the first network type when redialing. In this way, the calling device can avoid sequentially using different networks to request to establish a call according to the order of the networks from high to low, and the efficiency of establishing a call is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of communication, and more particularly, to a call establishment method and an electronic device. BACKGROUND

[0002] With the development of communication technology, an electronic device can support calls of multiple networks.

[0003] For example, a mobile phone can support calls of the 5th Generation Mobile Communication Technology (5G), Long Term Evolution (LTE) and 2nd Generation (2G) at the same time. Generally, when a calling device requests a call to a called device, the calling device usually first requests a call of the 5G standard, and if the call of the 5G standard cannot be successfully established, the calling device successively requests to establish a connection in the order of the LTE standard and the 2G standard. That is to say, the efficiency of establishing a call in the traditional method is low.

[0004] Therefore, how to improve the efficiency of establishing a call has become a problem to be solved. SUMMARY

[0005] The present application provides a call establishment method, which can improve the efficiency of call establishment.

[0006] In a first aspect, a call establishment method is provided, applied to a calling device, and comprising:

[0007] sending a first request to a first network device, the first request being used to request to establish a call between the calling device and a called device through the first network device;

[0008] receiving first information returned by the first network device based on the first request, the first information being used to indicate a call establishment state between the calling device and the called device, the call establishment state comprising call establishment success and call establishment failure, and if the first information indicates that the call establishment between the calling device and the called device fails, the first information is further used to indicate a first failure type of the call establishment failure between the calling device and the called device;

[0009] when the call establishment between the calling device and the called device fails, determining a first network standard to be used when redialing based on the first failure type;

[0010] initiating a call establishment request to a second network device based on the first network standard, the second network device being a network device corresponding to the first network standard.

[0011] The call establishment method provided in the embodiments of the present application comprises the following steps: a calling device sends a first request for establishing a call with a called device through a first network device to a first network device; the first network device sends the first request to the called device; then the first network device returns first information indicating a call establishment state between the calling device and the called device to the calling device; in the case that the call establishment between the calling device and the called device fails, the first information is also used to indicate a first failure type of the call establishment failure between the calling device and the called device; the first network device sends the first information to the calling device after receiving the first information, so that the calling device determines whether the call establishment between the calling device and the called device fails based on the first information, and in the case that the call establishment between the calling device and the called device fails, determines a first network standard corresponding to the first failure type based on the first failure type carried in the first information, and then initiates a call establishment request to a second network device corresponding to the first network standard when redialing, so that the calling device can avoid sequentially using different networks to request to establish a call in the order from high to low, which is equivalent to reducing the number of request to establish a call and improving the efficiency of establishing a call.

[0012] In combination with the first aspect, in some embodiments of the first aspect, the method further comprises: obtaining second information sent by the cloud server, and determining the first network standard used when redialing based on the first failure type and a correspondence between the failure type and the network standard, wherein the second information comprises the correspondence between the failure type and the network standard.

[0013] The correspondence between the failure type and the network standard can be obtained by counting the successful request call connection corresponding to each failure type. For example, the second information can be as shown in Table 2 or Table 3.

[0014] The call establishment method provided in the embodiments of the present application comprises the following steps: a calling device sends a first request for establishing a call with a called device through a first network device to a first network device; the first network device sends the first request to the called device; then the first network device returns first information indicating a call establishment state between the calling device and the called device to the calling device; in the case that the call establishment between the calling device and the called device fails, the first information is also used to indicate a first failure type of the call establishment failure between the calling device and the called device; the first network device sends the first information to the calling device after receiving the first information, so that the calling device determines whether the call establishment between the calling device and the called device fails based on the first information, and in the case that the call establishment between the calling device and the called device fails, determines a first network standard corresponding to the first failure type based on the first failure type carried in the first information, and then initiates a call establishment request to a second network device corresponding to the first network standard when redialing, so that the calling device can avoid sequentially using different networks to request to establish a call in the order from high to low, which is equivalent to reducing the number of request to establish a call and improving the efficiency of establishing a call.

[0015] In combination with the first aspect, in some embodiments of the first aspect, the calling device comprises a first chip, and the second information is stored in the first chip.

[0016] With reference to the first aspect, in some embodiments of the first aspect, the obtaining the second information sent by the cloud server comprises: obtaining the second information sent by the cloud server at a preset time.

[0017] The preset time can be a fixed time of each day, for example, 2 a.m. each day.

[0018] The call establishment method provided in the embodiments of the present application is that the cloud server sends the second information comprising the correspondence between the failure type and the network mode to the calling device at a preset time, the calling device determines the first network mode to be used for redialing based on the first failure type of the call establishment failure and the correspondence between the failure type and the network mode when the calling establishment fails between the calling device and the called device through the first network device, so that the calling device sends a call establishment request to the second network device based on the first network mode, which makes the calling device not need to frequently obtain the second information from the cloud server, and avoids frequent data interaction between the calling device and the cloud server. In addition, the calling device usually needs to perform a large amount of data interaction when establishing a communication connection with the cloud server. If the calling device obtains the second information immediately when establishing a communication connection with the cloud server, the data interaction amount between the calling device and the cloud server may be increased. Sending the second information to the calling device at a preset time can avoid the increase of the data interaction amount between the calling device and the cloud server, and further avoid the call establishment failure caused by the large data interaction amount.

[0019] With reference to the first aspect, in some embodiments of the first aspect, after the call establishment request is initiated to the second network device based on the first network mode, the method further comprises: if the call establishment is successful, updating the second information based on the first failure type and the first network mode.

[0020] The call establishment method provided in the embodiments of the present application is that after the call establishment between the calling device and the called device through the first network device fails, the first network mode to be used for redialing is determined based on the first failure type between the calling device and the called device, then a call establishment request is initiated to the second network device based on the first network mode, and in the case that the call establishment is successful, the second information comprising the correspondence between the failure type and the network mode is updated, so that the updated second information can be used when the network mode corresponding to the failure type is determined next time. Compared with the initial second information, the sample amount of the updated second information is more, and therefore the correspondence between the failure type and the network mode in the updated second information is more accurate, the first network mode corresponding to the first failure type obtained by using the updated second information is more accurate, and the efficiency of establishing a call is further improved.

[0021] With reference to the first aspect, in some embodiments of the first aspect, the method further comprises: sending the updated second information to the cloud server.

[0022] The call establishment method provided by the embodiments of the present application can further send the updated second information to the cloud server after the calling device obtains the updated second information, so that the cloud server stores the updated second information. Since the updated second information has a larger sample quantity, the accuracy of the correspondence between the failure type and the network type in the updated second information is higher. Therefore, the cloud server can send the calling device second information with higher accuracy, and the calling device can determine the first network type used when redialing according to the second information with higher accuracy, thereby improving the accuracy of establishing a call.

[0023] In a second aspect, a call establishment method is provided, including:

[0024] The calling device sends a first request to a first network device, the first request being used to request to establish a call with a called device through the first network device. The first network device sends the first request to the called device. The called device returns first information to the first network device based on the first request. The first information is used to indicate a call establishment state between the calling device and the called device. The call establishment state includes call establishment success and call establishment failure. If the first information indicates that the calling device and the called device fail to establish a call, the first information is further used to indicate a first failure type of the calling device and the called device failing to establish a call. The first network device sends the first information to the calling device. The calling device determines whether the calling device and the called device fail to establish a call based on the first information. If the calling device and the called device fail to establish a call, the calling device determines a first failure type of the calling device and the called device failing to establish a call based on the first information, and determines a first network type used when redialing based on the first failure type. The calling device initiates a call establishment request to a second network device based on the first network type. The second network device is a network device corresponding to the first network type.

[0025] In a third aspect, a call establishment apparatus is provided, including units for performing any method in the first aspect or the second aspect. The apparatus can be a server, a terminal device, or a chip in a terminal device. The apparatus can include an input unit and a processing unit.

[0026] When the apparatus is a terminal device, the processing unit can be a processor, and the input unit can be a communication interface. The terminal device can further include a memory for storing computer program code. When the processor executes the computer program code stored in the memory, the terminal device performs any method in the first aspect or the second aspect.

[0027] When the apparatus is a chip in a terminal device, the processing unit can be a processing unit inside the chip, and the input unit can be an output interface, a pin, a circuit, or the like; the chip can further include a memory, which can be a memory (for example, a register, a cache, or the like) inside the chip, or a memory (for example, a read-only memory, a random access memory, or the like) outside the chip; the memory is configured to store computer program code, and when the processor executes the computer program code stored in the memory, the chip is caused to execute any one of the methods in the first aspect or the second aspect.

[0028] In a possible implementation, the memory is configured to store computer program code; and the processor is configured to execute the computer program code stored in the memory, and when the computer program code stored in the memory is executed, the processor is configured to perform the following: sending a first request to a first network device, the first request being used to request to establish a call with a called device through the first network device; receiving first information returned by the first network device based on the first request, the first information being used to indicate a call establishment state between a calling device and the called device, the call establishment state including call establishment success and call establishment failure, and if the first information indicates that the call establishment between the calling device and the called device fails, the first information is further used to indicate a first failure type of the call establishment failure between the calling device and the called device; and based on the first failure type, determining a first network standard to be used when redialing when the call establishment between the calling device and the called device fails; and based on the first network standard, initiating a call establishment request to a second network device, the second network device being a network device corresponding to the first network standard.

[0029] In a fourth aspect, a computer readable storage medium is provided, and the computer readable storage medium stores computer program code, and when the computer program code is run by a call establishment apparatus, the call establishment apparatus is caused to execute any one of the call establishment methods in the first aspect or the second aspect.

[0030] In a fifth aspect, a computer program product is provided, and the computer program product includes computer program code, and when the computer program code is run by a call establishment apparatus, the call establishment apparatus is caused to execute any one of the apparatus methods in the first aspect or the second aspect.

[0031] The call establishment method and the electronic device provided by the embodiments of the present application, the calling device sends a first request for establishing a call with a called device through a first network device to a first network device, the first network device sends the first request to the called device, and then the first network device can return first information indicating a call establishment state between the calling device and the called device to the calling device, wherein in the case that the call establishment between the calling device and the called device fails, the first information is also used to indicate a first failure type of the call establishment failure between the calling device and the called device, the first network device can send the first information to the calling device after receiving the first information, so that the calling device determines whether the call establishment between the calling device and the called device fails based on the first information, and in the case that the call establishment between the calling device and the called device fails, determines a corresponding first network standard based on the first failure type carried in the first information, and then sends a call establishment request to a second network device corresponding to the first network standard when redialing, so that the calling device can avoid sequentially using different networks to request to establish a call in the order from high to low, which is equivalent to reducing the number of request to establish a call, and improving the efficiency of establishing a call. BRIEF DESCRIPTION OF DRAWINGS

[0032] Figure 1 FIG. 1 is a schematic diagram of signaling interaction between a calling device and a called device;

[0033] Figure 2 FIG. 2 is a schematic diagram of a process in which a calling device selects a network device to establish a call;

[0034] Figure 3 FIG. 3 is a schematic diagram of a hardware system of an electronic device suitable for the present application;

[0035] Figure 4 FIG. 4 is a schematic diagram of an application scenario provided by the embodiments of the present application;

[0036] Figure 5 FIG. 5 is a schematic diagram of a process of a call establishment method provided by the embodiments of the present application;

[0037] Figure 6 FIG. 6 is a schematic diagram of a process of another call establishment method provided by the embodiments of the present application;

[0038] Figure 7 FIG. 7 is a schematic diagram of a process of another call establishment method provided by the embodiments of the present application;

[0039] Figure 8 FIG. 8 is a schematic diagram of a process of another call establishment method provided by the embodiments of the present application;

[0040] Figure 9 FIG. 9 is a schematic diagram of a call establishment apparatus provided by the present application. DETAILED DESCRIPTION

[0041] The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application. In the description of the embodiments of the present application, unless otherwise specified, " / " represents the meaning of or, for example, A / B can represent A or B; "and / or" herein only describes the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B, which can represent: A exists alone, A and B exist together, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0042] Hereinafter, the terms "first", "second", "third" are only used for description purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with "first", "second", "third" can explicitly or implicitly include one or more of the features.

[0043] At present, with the development of communication technology, an electronic device can usually support calls of multiple networks. For example, a mobile phone can simultaneously support calls of the fifth generation mobile communication technology (5th Generation Mobile Communication Technology, 5G), long term evolution technology (Long Term Evolution, LTE) and second generation mobile communication technology (2nd Generation, 2G) mode. When the calling device requests a call to the called device, it usually first requests a call of the 5G mode, and if the call of the 5G mode cannot be successfully established, it sequentially requests to establish a connection in the order of the LTE mode and the 2G mode.

[0044] For example, the process of the calling device requesting to establish a connection with the called device can be as follows Figure 1As shown, the calling device sends an INVITE to the network device, where the INVITE is used to request to establish a call with the called device. Based on the INVITE sent by the calling device, the network device sends an INVITE to the called device and replies 100 Trying to the calling device. If a session can be established between the network device and the called device, the called device replies 100 Trying to the network device based on the INVITE sent by the network device. After the called device replies 100 Trying to the network device, the called device can send 183 Session Progress to the network device, where the 183 Session Progress is generally used to indicate the progress of the call establishment. For example, the SIP message carries information "484", which indicates that the address of the call establishment request sent by the calling device is incomplete, and thus, the calling device and the called device cannot successfully establish a connection. At this time, the network device sends "503 Service Unavailable" to the calling device, and sends "Cancel" to the called device, which means to cancel the voice call establishment. The "503 Service Unavailable" indicates that the connection with the called device cannot be successfully established, and the "Cancel" indicates to cancel the connection with the called device.

[0045] It should be understood that the calling device generally establishes a call with the called device through a high-level network first. For example, as shown in FIG. 1, the calling device 101 is connected to the network device 102 through a high-level network 100, and the network device 102 is connected to the called device 103 through a low-level network 104. Figure 2As shown, the calling device first requests to establish a call connection with the called device through the 5G network. At this time, the calling device needs to send a call establishment request to the called device through the network device corresponding to the 5G network, that is, the New Radio (NR). It can be understood that the calling device sends a call establishment request to the called device through the 5G network, and the called device can receive the call establishment request on the 4G network. The embodiments of the present application do not limit this. If the calling device and the called device cannot successfully establish a call, the NR returns a call establishment failure information to the calling device. The calling device requests to establish a call connection with the called device through the 4G network based on the call establishment failure information sent by the NR. At this time, the calling device needs to send a call establishment request to the called device through the network device corresponding to the 4G network, that is, the long-term evolution (LTE). If the connection cannot be successfully established, the LTE returns a call establishment failure information to the calling device. Then, the calling device sends a call establishment request to the called device through the 2G network again based on the call establishment failure information sent by the LTE. At this time, the calling device needs to send a call establishment request to the called device through the network device corresponding to the 2G network, that is, the Circuit Switched Domain (CS). If the connection cannot be successfully established, the calling device stops initiating a call establishment request. It can be understood that in some cases, the calling device can send a call establishment request to the called device through the 3G network again based on the call establishment failure information sent by the LTE. If the call establishment fails through the 3G network, the calling device sends a call establishment request to the called device through the 2G network again. The embodiments of the present application do not limit this. That is, the calling device can request to send a call establishment request to the called device through different networks in a predetermined order. However, the efficiency of establishing a call by using the traditional method is low.

[0046] Therefore, the embodiment of the present application provides a call establishment method. A calling device sends a first request to a first network device, the first request being a request for establishing a call with a called device through the first network device. The first network device sends the first request to the called device. Then, the first network device can return first information to the calling device, the first information indicating a call establishment state between the calling device and the called device. In the case that the call establishment between the calling device and the called device fails, the first information is also used to indicate a first failure type of the call establishment failure between the calling device and the called device. After receiving the first information, the first network device can send the first information to the calling device, so that the calling device determines whether the call establishment between the calling device and the called device fails based on the first information. In the case that the call establishment between the calling device and the called device fails, the calling device determines a first network standard corresponding to the first failure type carried in the first information, and then sends a call establishment request to a second network device corresponding to the first network standard when redialing. In this way, the calling device can avoid sequentially using different networks to request to establish a call in the order from high to low, which is equivalent to reducing the number of requests for establishing a call and improving the efficiency of establishing a call.

[0047] The call establishment method provided by the embodiment of the present application can be applied to an electronic device. Optionally, the electronic device includes a terminal device, which can also be referred to as a terminal, a user equipment (UE), a mobile station (MS), a mobile terminal (MT), etc. The terminal device can be a mobile phone, a smart television, a wearable device, a tablet computer (Pad), a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, etc. The embodiment of the present application does not limit the specific technology and specific device form of the terminal device.

[0048] An exemplary, Figure 3A structural diagram of the electronic device 100 is shown. The electronic device 100 can include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headset interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 can include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0049] It can be understood that the structure shown in the embodiments 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 can include more or fewer components than shown, or combine certain components, or split certain components, or different component arrangements. The components shown can be implemented in hardware, software, or a combination of software and hardware.

[0050] The processor 110 can include one or more processing units, for example: the processor 110 can include an application processor (AP), a modem processor, a graphics processing unit (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 can be independent devices, or can be integrated in one or more processors.

[0051] The controller can be the nerve center and command center of the electronic device 100. The controller can generate operation control signals according to instruction operation codes and timing signals, and complete the control of fetching instructions and executing instructions.

[0052] The processor 110 can also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory can hold instructions or data that the processor 110 has just used or is using in a loop. If the processor 110 needs to use the instructions or data again, it can call them directly from the memory. This avoids repeated access and reduces the latency of the processor 110, thus improving the efficiency of the system.

[0053] In some embodiments, the processor 110 can include one or more interfaces. The interfaces can include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0054] 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, etc.

[0055] The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization rate of the antennas. For example: the antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In some other embodiments, the antennas can be used in combination with a tuning switch.

[0056] The mobile communication module 150 can provide a solution for wireless communication including 2G / 3G / 4G / 5G, etc. applied to the electronic device 100. The mobile communication module 150 can 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 by the antenna 1, and perform filtering, amplification, etc. on the received electromagnetic waves, and transfer the same to the modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor, and radiate the same as electromagnetic waves through the antenna 1. In some embodiments, at least part of the functional modules of the mobile communication module 150 can be disposed in the processor 110. In some embodiments, at least part of the functional modules of the mobile communication module 150 can be disposed in the same device as at least part of the modules of the processor 110.

[0057] The modem processor can include a modulator and a demodulator. The modulator is configured to modulate a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is configured to demodulate a received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. The low-frequency baseband signal processed by the baseband processor is transmitted to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the microphone 170B, etc.), or displays an image or a video through the display screen 194. In some embodiments, the modem processor can be a separate device. In other embodiments, the modem processor can be independent of the processor 110, and disposed in the same device as the mobile communication module 150 or other functional modules.

[0058] The wireless communication module 160 can provide a solution for wireless communication including wireless local area networks (WLAN) (e.g., wireless fidelity (Wi-Fi) network), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) technology, etc. applied to the electronic device 100. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives an electromagnetic wave via the antenna 2, frequency-modulates and filters the electromagnetic wave signal, and transmits the processed signal to the processor 110. The wireless communication module 160 can also receive a signal to be transmitted from the processor 110, frequency-modulate it, amplify it, and radiate it as an electromagnetic wave via the antenna 2.

[0059] In some embodiments, the antenna 1 and the mobile communication module 150 of the electronic device 100 are coupled, and the antenna 2 and the wireless communication module 160 are coupled, so that the electronic device 100 can communicate with a network and other devices through wireless communication technology. The wireless communication technology can include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), the 5th generation of wireless communication system (5G), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The GNSS can include global positioning system (GPS), global navigation satellite system (GLONASS), beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS), and / or satellite based augmentation systems (SBAS).

[0060] The electronic device 100 can implement a photographing function through an ISP, a camera 193, a video codec, a GPU, a display 194, and an application processor, etc.

[0061] The electronic device 100 can implement an audio function through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, and an application processor, etc. For example, music play, recording, etc.

[0062] The SIM card interface 195 is configured to connect a SIM card. The SIM card can be connected to or disconnected from the electronic device 100 by being inserted into or pulled out of the SIM card interface 195. The electronic device 100 can support one or N SIM card interfaces, where N is a positive 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 be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external storage cards. The electronic device 100 interacts with a network through a SIM card to implement functions such as call and data communication. In some embodiments, the electronic device 100 uses an eSIM, that is, an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.

[0063] It should be noted that any electronic device mentioned in the embodiments of the present application can include more or fewer modules in the electronic device 100.

[0064] The application scenarios provided by the embodiments of the present application will be described below with reference to the accompanying drawings.

[0065] Figure 4 The application scenario of the call establishment method provided by the embodiments of the present application is shown in FIG. 1. The call establishment method is applied in the process in which a calling device initiates a call establishment request to a called device. As shown in FIG. 1, the calling device can send a request for establishing a call to the called device through a network device. For example, the calling device can send a request for establishing a call to the called device through a network device corresponding to an initial network standard (a first network device). If the call establishment fails, a corresponding network device can be selected from other network devices, and a call establishment request for establishing a call to the called device can be sent again through the corresponding network device (equivalent to redialing). Figure 4

[0066] It should be noted that the call in the embodiments of the present application refers to a cellular call, including a voice call and a video call.

[0067] The failure types of the call establishment failure between the calling device and the called device can be as shown in Table 1. It should be understood that the failure types of the call establishment failure can be represented by a number. For example, as shown in Table 1, if the number carried in the first information is 484, the reason why the calling device and the called device cannot establish a call is that the address in the call establishment request sent by the calling device is incomplete, so the called device cannot establish a call connection with the calling device based on the address in the call establishment request.

[0068] Table 1

[0069]

[0070] It should be understood that the above is an example of application scenarios, and does not limit the application scenarios of the present application.

[0071] The following will be described in detail Figure 5 to Figure 8 The call establishment method provided by the embodiment of the present application is described in detail.

[0072] Figure 5 The flowchart of the call establishment method provided by the embodiment of the present application is shown in Figure 5 The method comprises the following steps:

[0073] S101, the calling device sends a first request to the first network device.

[0074] The first request is used to request the establishment of a call between the calling device and the called device through the first network device. For example, the first request can be an "INVITE" as shown in Figure 1

[0075] It should be understood that in the process of establishing a call by the calling device, the call is usually established from a high-level network. Among them, the common network is arranged from high to low according to the level, including 5G network, 4G network, 3G network and 2G network. In the case that the calling device supports 5G network, 4G network, 3G network and 2G network, the calling device usually preferentially selects to start establishing a call through 5G network. Therefore, the calling device sends the first request to the first network device, which usually means that the calling device uses the initial network standard, that is, the network standard of 5G, to send the first request to the network device of 5G network, that is, NR network.

[0076] S102, the first network device sends the first request to the called device.

[0077] The first network device can send the first request to the called device after receiving the first request sent by the calling device, and the first request is used to request the establishment of a call between the called device and the calling device. For example, the first network device can send an "INVITE" as shown in Figure 1

[0078] It should be understood that in one possible case, the communication between the first network device and the called device fails, or the first network device itself fails, and the first network device cannot send the first request to the called device, and can directly return the first information to the calling device. The first information indicates the type of failure between the calling device and the called device, for example, the first information indicates the type of communication failure between the first network device and the called device, or indicates the type of failure of the first network device. In this case, S102 and S103 are optional steps.

[0079] ​​S103, the called device returns first information to the first network device based on the first request.

[0080] The first information is used to indicate a call establishment state between the calling device and the called device, and the call establishment state includes call establishment success and call establishment failure. If the first information indicates that the call establishment between the calling device and the called device fails, the first information is also used to indicate a first failure type of the call establishment failure between the calling device and the called device.

[0081] For example, the first information can be a SIP message as shown in the following table 1, which carries a call establishment failure reason. Figure 1 For example, the SIP message carries a digital code as shown in the table 1. For example, the SIP message carries the digital code "402".

[0082] It should be noted that the call establishment failure between the calling device and the called device can also be caused by a connection failure between the first network device and the calling device. Therefore, when returning the first information to the calling device, the first network device can also return the first information to the calling device. That is, S103 "the called device returns first information to the first network device based on the first request" is an optional step.

[0083] S104, the first network device sends the first information to the calling device.

[0084] It should be noted that the first network device can also directly return the first information after receiving the first request sent by the calling device.

[0085] S105, the calling device determines whether the call establishment between the calling device and the called device fails based on the first information.

[0086] The first message can indicate the call establishment state between the calling device and the called device. If the call establishment between the calling device and the called device fails, S106 is executed.

[0087] S106, the calling device determines a first failure type of the call establishment failure between the calling device and the called device based on the first information, and determines a first network standard used when redialing based on the first failure type.

[0088] The calling device can determine the first network standard used when redialing according to the failure type (i.e. the first failure type) carried in the first information. The failure type can be represented by the digital code in the table 1.

[0089] The first failure type can include the failure types shown in Table 1. For example, the digital code carried in the first information is 402, that is, the failure type of the call establishment failure between the calling device and the called device is "need to pay". That is, the calling device or the called device has insufficient balance, and the operator does not provide communication services to the calling device or the called device. Therefore, no matter what network the calling device uses, it cannot establish a call connection with the called device. The calling device directly stops initiating a call request to the called device based on the first failure reason being insufficient balance, that is, the digital code 402.

[0090] For another example, the digital code carried in the first information is 480, that is, the failure type of the call establishment failure between the calling device and the called device is "interval too short". The calling device switches from the 5G network to the 4G network to request the establishment of a call connection according to the correspondence between the digital code 480 and the 4G network.

[0091] For another example, the digital code carried in the first information is 415, that is, the media type is not supported, which means that the calling device or the called device does not support the current media type. The calling device switches from the 5G network to the 2G network to request the establishment of a call connection directly according to the correspondence between the digital code 415 and the 2G network, without requesting the establishment of a call connection through the 4G network.

[0092] It should be understood that when the calling device initiates a call establishment request to the called device, different networks are usually used to initiate the call establishment request. For example, the calling device initiates a call establishment request through the 5G network, and the call establishment fails. The calling device can also initiate a call establishment request through the 2G network again, which means that the calling device redials. The calling device initiates a call establishment request through the 5G network and initiates a call establishment request through the 2G network again belong to the same call establishment process.

[0093] S107, the calling device initiates a call establishment request to the second network device based on the first network standard.

[0094] The second network device is a network device corresponding to the first network standard.

[0095] For example, the network device corresponding to the 5G network is the NR NW, the network device corresponding to the 4G network is the LTE NW, and the network device corresponding to the 2G network is the CS NW. After determining the first network standard based on the first failure type, the calling device can determine the corresponding second network device according to the first network standard, and then send a call establishment request to the second network device.

[0096] The call establishment method provided by the embodiments of the present application comprises: a calling device sending a first request for establishing a call with a called device through a first network device to a first network device, the first network device sending the first request to the called device, and then the first network device returning first information indicating a call establishment state between the calling device and the called device to the calling device, wherein, in the case that the call establishment between the calling device and the called device fails, the first information is also used to indicate a first failure type of the call establishment failure between the calling device and the called device, the first network device can send the first information to the calling device after receiving the first information, so that the calling device determines whether the call establishment between the calling device and the called device fails based on the first information, and in the case that the call establishment between the calling device and the called device fails, determines a corresponding first network standard based on the first failure type carried in the first information, and then sends a call establishment request to a second network device corresponding to the first network standard when redialing, so that the calling device can avoid sequentially using different networks to request to establish a call in the order from high to low, which is equivalent to reducing the number of request to establish a call, and improving the efficiency of establishing a call.

[0097] In a possible case, the calling device determines the network standard corresponding to the current call failure at the time of redialing according to the correspondence between the failure type and the network standard. The correspondence between the failure type and the network standard can be obtained by the cloud server according to historical data. The cloud server can send the correspondence between the failure type and the network standard to the calling device at the time when the calling device and the cloud server establish a connection, or send the correspondence between the failure type and the network standard to the calling device at a preset time. The embodiments of the present application do not limit this. The following will be described in detail by taking the embodiment shown in Figure 6

[0098] Figure 6 The flowchart of another call establishment method provided by the embodiments of the present application is shown in Figure 6 The method comprises the following steps.

[0099] S201, the calling device acquires second information.

[0100] The second information comprises the correspondence between the failure type and the network standard.

[0101] The correspondence between the failure type and the network standard can be obtained by statistically analyzing the successful request to establish a call corresponding to each failure type. For example, the failure type of the digital code is 407, and through statistical analysis, it is obtained that the probability of successfully establishing a call by using the network standard of 4G is 37%, and the probability of successfully establishing a call by using the network standard of 2G is 92%. Therefore, the network standard corresponding to the failure type of the digital code is 2G network standard. ​

[0102] It should be understood that the second information can only include the failure type and the corresponding network mode, or can include the success probability of each network mode corresponding to the failure type, and the embodiments of the present application do not limit this.

[0103] For example, the second information can be as shown in Table 2, and only includes the digital code of each failure type and the corresponding network mode.

[0104] Table 2

[0105] Failure type Network mode 400 4G 401 2G 402 403 4G 404 4G 405 4G 406 2G 407 2G 408 2G 410 4G 413 2G 414 4G 415 2G 416 4G 420 2G 421 4G 480 4G 481 4G 482 2G 483 2G 484 2G

[0106] In a possible case, the network mode corresponding to the failure type can also be empty, that is, the calling device stops requesting to establish a call. For example, as shown in Table 2, the network mode corresponding to the failure type 402 is empty, and the calling device can stop requesting to establish a call based on this.

[0107] For another example, the second information can be as shown in Table 3, and includes the digital code of each failure type and the success probability of each network mode corresponding to each failure type.

[0108] Table 3

[0109]

[0110] In a possible case, the calling device can select the network mode with a success probability higher than a preset threshold as the first network mode corresponding to the first failure type, and if the success rates of the network modes corresponding to the first failure type are all less than the preset threshold, the calling device can set the first network mode corresponding to the first failure type as empty, that is, the calling device stops requesting to establish a call.

[0111] For example, as shown in Table 3, the success probability of the 4G network mode corresponding to the failure type 402 is 1%, the success probability of the 2G network mode is 1%, and the preset threshold is 50%, that is, the success rates of the network modes corresponding to the first failure type 402 are all less than the preset threshold 50%, and the calling device can stop requesting to establish a call based on this.

[0112] It should be understood that the cloud server can obtain the network mode with which the call is successfully established corresponding to the failure type from a plurality of calling devices, and then statistically process the data to obtain the correspondence between the failure type and the network mode, or the cloud server can also machine learn the data after obtaining the network mode with which the call is successfully established corresponding to the failure type from the calling device to obtain the correspondence between the failure type and the network mode, and the embodiments of the present application do not limit this.

[0113] In a possible case, the cloud server can also respectively classify the states of different calling devices before determining the correspondence between the failure types and the network modes, and determine the correspondence between the failure types and the network modes by referring to the states of the different calling devices.

[0114] For example, before the network modes corresponding to the failure types obtained from the plurality of calling devices are counted, the data is grouped according to the operators of the calling devices, to obtain data of calling devices using operator A, data of calling devices using operator B, and data of calling devices using operator C, and then the correspondence between the first group of failure types and network modes is obtained according to the data of calling devices using operator A; the correspondence between the second group of failure types and network modes is obtained according to the data of calling devices using operator B; and the correspondence between the third group of failure types and network modes is obtained according to the data of calling devices using operator C. The correspondence between the failure types and the network modes in the three groups belongs to the second information.

[0115] For another example, before the network modes corresponding to the failure types obtained from the plurality of calling devices are counted, the data is grouped according to the environments in which the calling devices are located, to obtain data of calling devices in environment 1 and data of calling devices in environment 1, and then the correspondence between the first group of failure types and network modes is obtained according to the data of calling devices in environment 1; and the correspondence between the second group of failure types and network modes is obtained according to the data of calling devices in environment 1. The correspondence between the failure types and the network modes in the two groups belongs to the second information. The environment 1 can refer to a situation in which the calling device is in a mountainous area, which is an open environment but the network devices are sparse; and the environment 2 can refer to a situation in which the calling device is in a city, which is an environment with more shielding and more dense network devices.

[0116] The cloud server can send the second information to the calling device when a communication connection is established between the cloud server and the calling device, or at a preset time, or when a request for obtaining is received from the calling device, and the embodiments of the present application do not limit this.

[0117] If the cloud server sends the second information to the calling device when a communication connection is established between the cloud server and the calling device, the situation in which the calling device does not have the correspondence between the failure types and the network modes can be avoided to the greatest extent, and thus the situation in which the first network mode corresponding to the first failure type cannot be determined according to the correspondence between the failure types and the network devices can be avoided.

[0118] Optionally, the cloud server sends the second information to the calling device at a preset time.

[0119] The preset time can be a fixed time of each day, for example, 2 a.m. each day.

[0120] The call establishment method provided by the embodiments of the present application can enable the calling device to send a call establishment request to the second network device based on the first network standard, so that the calling device does not need to frequently acquire the second information from the cloud server, and the frequent data interaction between the calling device and the cloud server is avoided. In addition, the calling device usually needs to frequently perform data interaction when establishing a communication connection with the cloud server. If the calling device acquires the second information immediately when establishing the communication connection with the cloud server, the amount of data interaction between the calling device and the cloud server can increase. Sending the second information to the calling device at the preset time can avoid the increase of the amount of data interaction between the calling device and the cloud server, and further avoid the communication call establishment failure caused by the increase of the amount of data interaction.

[0121] S202, the calling device sends a first request to the first network device.

[0122] The first request is used to request to establish a call with the called device through the first network device. For example, the first request can be an "INVITE" as shown in Figure 1

[0123] S203, the first network device sends the first request to the called device.

[0124] The first network device can send the first request to the called device after receiving the first request sent by the calling device, and the first request is used to request to establish a call with the called device. For example, the first network device can send an "INVITE" as shown in Figure 1

[0125] S204, the called device returns first information to the first network device based on the first request.

[0126] The first information is used to indicate the call establishment state between the calling device and the called device, and the call establishment state includes call establishment success and call establishment failure. If the first information indicates that the call establishment between the calling device and the called device fails, the first information is further used to indicate a first failure type of the call establishment failure between the calling device and the called device.

[0127] For example, the first information can be an "SIP / 2.0 488 Not Figure 1 ​​The SIP message shown carries a call setup failure reason.

[0128] S205, the first network device sends the first information to the calling device.

[0129] S206, the calling device determines whether the calling device and the called device fail to establish a call based on the first information.

[0130] The first message can indicate the call establishment state between the calling device and the called device. If the calling device and the called device fail to establish a call, S207 is executed.

[0131] S207, the calling device determines the first network standard to be used when redialing based on the first failure type of the calling device and the called device failing to establish a call and the correspondence between the failure type and the network standard.

[0132] The calling device can determine the first network standard to be used when redialing according to the failure type (i.e., the first failure type) carried in the first information.

[0133] The calling device can find the first network standard corresponding to the first failure type as the network standard to be used when redialing by searching the correspondence between the failure type and the network indication included in the second information.

[0134] For example, the second information can be as shown in Table 2, and thus the calling device can directly search the table to find the first network standard corresponding to the first failure type.

[0135] For another example, the second information can be as shown in Table 3, and the calling device can search the table to find the request call establishment success rate of each network standard of the first failure type, and take the network standard with the highest success rate as the first network standard corresponding to the first failure type.

[0136] The call establishment method provided by the embodiments of the present application enables the calling device to determine the first network standard to be used when redialing based on the first failure type of the calling device and the called device failing to establish a call and the correspondence between the failure type and the network standard when the calling device fails to establish a call through the first network device and the called device, so that the calling device sends a call establishment request to the second network device based on the first network standard. Since the calling device finds the first network standard corresponding to the first failure type from the correspondence between the failure type and the network standard, the process of determining the first network standard is relatively simple, and the convenience of determining the first network standard is improved.

[0137] S208, the calling device initiates a call establishment request to the second network device based on the first network standard.

[0138] In a possible case, the calling device can also update the correspondence between the failure type and the network type based on the first failure type and the first network type after the call is successfully established. The following is described in detail with reference to the embodiment shown in Figure 7 .

[0139] Figure 7 The flowchart of another call establishment method provided in the embodiments of the present application is shown in Figure 7 , and the method comprises the following steps.

[0140] S301, the calling device acquires second information.

[0141] The second information comprises the correspondence between the failure type and the network type. The second information can be shown in Table 2 or Table 3, and the embodiments of the present application do not limit this.

[0142] S302, the calling device sends a first request to the first network device.

[0143] The first request is used to request the establishment of a call between the calling device and the called device through the first network device. For example, the first request can be an “INVITE” as shown in Figure 1 .

[0144] S303, the first network device sends the first request to the called device.

[0145] The first network device can send the first request to the called device after receiving the first request sent by the calling device, and the first request is used to request the establishment of a call between the calling device and the called device. For example, the first network device can send an “INVITE” as shown in Figure 1 to the called device.

[0146] S304, the called device returns first information to the first network device based on the first request.

[0147] The first information is used to indicate the call establishment state between the calling device and the called device, and the call establishment state comprises call establishment success and call establishment failure. If the first information indicates that the call establishment between the calling device and the called device fails, the first information is also used to indicate the first failure type of the call establishment failure between the calling device and the called device.

[0148] For example, the first information can be a SIP message as shown in Figure 1 , and the SIP message carries the call establishment failure reason of the call establishment. For example, the SIP message carries the digital code as shown in Table 1. For example, the SIP message carries the digital code “402”.

[0149] S305, the first network device sends the first information to the calling device.

[0150] S306, the calling device determines whether the calling device and the called device fail to establish a call based on the first information.

[0151] The first message can indicate the call establishment status between the calling device and the called device. If the calling device and the called device fail to establish a call, S307 is performed.

[0152] S307, the calling device determines the first network standard to be used for redialing based on the first failure type of the call establishment failure between the calling device and the called device and the correspondence between the failure type and the network standard.

[0153] The calling device can determine the first network standard to be used for redialing according to the failure type (i.e., the first failure type) carried in the first information.

[0154] S308, the calling device initiates a call establishment request to the second network device based on the first network standard.

[0155] S309, the calling device determines whether the call between the calling device and the called device is successfully established.

[0156] If the call between the calling device and the called device is successfully established, S310 is performed.

[0157] If the call between the calling device and the called device is not successfully established, S311 is performed.

[0158] S310, the calling device updates the second information based on the first failure type and the first network standard.

[0159] It can be understood that the second information is obtained by data statistics on a plurality of failure types and the network standards in which the calls are successfully established. Therefore, after the calling device fails to establish a call for the first time and determines that the failure type is the first failure type and the network standard corresponding to the first failure type is the first network standard, the calling device initiates a call establishment request to the second network device based on the first network standard, and the call is successfully established. The first failure type and the first network standard can be used as sample data for determining the second information, and the second information is updated.

[0160] For example, as shown in Table 3, the digital code of the first failure type is 421, the call establishment success rate of the 4G network mode is 87%, and the call establishment success rate of the 2G network mode is 32%. The first network mode determined by the calling device based on Table 3 is the 4G network mode. When the calling device sends a call establishment request to the LTE based on the 4G network mode and successfully establishes a call, the calling device can update the success rate of the 4G network mode corresponding to the failure type 421, for example, the success rate of the corresponding 4G network mode is updated to 88%, and the updated second information is shown in Table 4.

[0161] Table 4

[0162]

[0163] Optionally, the calling device can store the second information in the first chip. When the calling device needs to determine the first network mode according to the second information and the first failure type, the calling device can obtain the second information from the first chip.

[0164] The call establishment method provided by the embodiments of the present application, after the calling device fails to establish a call between the calling device and the called device through the first network device, determines the first network mode used to re-establish a call connection based on the first failure type between the calling device and the called device, and then updates the second information including the corresponding relationship between the failure type and the network mode in the case that the call establishment request sent to the second network device based on the first network mode is successful, so that the updated second information can be used to determine the network mode corresponding to the failure type next time, and compared with the initial second information, the sample quantity of the updated second information is more, and therefore the corresponding relationship between the failure type and the network mode in the updated second information is more accurate, the first network mode corresponding to the first failure type obtained by using the updated second information is more accurate, and the efficiency of establishing a call is further improved.

[0165] Optionally, after obtaining the updated second information, the calling device can also perform S312, that is, sending the updated second information to the cloud server.

[0166] The updated second information can be stored in the first chip in the calling device.

[0167] S311, the calling device determines the second network mode used when redialing again based on the second failure type and the corresponding relationship between the failure type and the network mode.

[0168] The second failure type can be a failure type indicated in information returned by the called device to the calling device after the calling device fails to initiate a call establishment request to the second network device using the first network type. The calling device can determine a second network type to be used in the next call re-dialing by searching for a network type corresponding to the second failure type in the correspondence between failure types and network types. It should be understood that if the success rates of the network types corresponding to the second failure type are all low, the calling device can also actively end the call establishment.

[0169] It can be understood that if the calling device succeeds in establishing a voice call using the second network type determined based on the second failure type, the second failure type and the second network type can also be used as sample data to update the second information to obtain updated second information.

[0170] S312, the calling device sends the updated second information to the cloud server.

[0171] The calling device can send the updated second information to the cloud server when the updated second information is obtained, or can send the updated second information to the cloud server at a preset time, or can send the updated second information to the cloud server in response to a request for obtaining the second information sent by the cloud server, and the embodiments of the present application do not limit this.

[0172] The calling device can send the updated second information to the cloud server when the updated second information is obtained, or can send the updated second information to the cloud server at a preset time, or can send the updated second information to the cloud server in response to a request for obtaining the second information sent by the cloud server, and the embodiments of the present application do not limit this.

[0173] Figure 8 A flowchart of a call establishment method provided by an embodiment of the present application is shown in FIG. 4. The method is applied to a calling device and includes the following steps. Figure 8

[0174] S401, a first request is sent to a first network device, and the first request is used to request to establish a call with a called device through the first network device.

[0175] ​S402, receive first information returned by the first network device based on the first request, the first information being used to indicate a call establishment state between the calling device and the called device, the call establishment state including call establishment success and call establishment failure, and the first information being further used to indicate a first failure type of the call establishment failure between the calling device and the called device if the first information indicates the call establishment failure between the calling device and the called device.

[0176] S403, determine a first network standard to be used when redialing based on the first failure type if the call establishment between the calling device and the called device fails.

[0177] S404, initiate a call establishment request based on the first network standard to a second network device, the second network device being a network device corresponding to the first network standard.

[0178] The call establishment method provided by the embodiments of the present application has the advantages of Figure 5 to Figure 7 The implementation principle and advantages of the call establishment method provided by the embodiments are similar, and details are not described herein.

[0179] It should be understood that, although each step in the flowchart in the above embodiments is displayed in sequence according to the arrow, these steps are not necessarily executed in sequence according to the arrow. Unless otherwise specified herein, the execution of these steps has no strict sequence limitation, and these steps can be executed in other sequences. Moreover, at least part of the steps in the flowchart can include multiple sub-steps or multiple stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution sequence of these sub-steps or stages is not necessarily sequential, but can be executed in rotation or alternation with other steps or sub-steps or stages of other steps.

[0180] It can be understood that, in order to implement the above functions, the electronic device contains hardware and / or software modules corresponding to each function. The algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is implemented in hardware or computer software driven hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered beyond the scope of the present application.

[0181] The embodiments of the present application can divide the function modules of the electronic device according to the above method examples. For example, each function module can be divided according to each function, or two or more functions can be integrated in one module. It should be noted that the division of the modules in the embodiments of the present application is illustrative, and is only a logical function division. In actual implementation, another division manner can be used. It should be noted that the names of the modules in the embodiments of the present application are illustrative, and the names of the modules are not limited in actual implementation.

[0182] Figure 9 A structural schematic diagram of a call establishment device provided by the embodiments of the present application is shown.

[0183] It should be understood that the call establishment device 600 can perform the call establishment method shown in the above method examples. Figure 5 to Figure 8 The call establishment device 600 includes an input unit 610 and a processing unit 620.

[0184] The processing unit 620 is configured to send a first request to a first network device, the first request being used to request to establish a call with a called device through the first network device; receive first information returned by the first network device based on the first request, the first information being used to indicate a call establishment state between a calling device and the called device, the call establishment state including a call establishment success and a call establishment failure, and if the first information indicates that the call establishment between the calling device and the called device fails, the first information is further used to indicate a first failure type of the call establishment failure between the calling device and the called device; when the call establishment between the calling device and the called device fails, determine a first network standard used when redialing based on the first failure type; and initiate a call establishment request to a second network device based on the first network standard, the second network device being a network device corresponding to the first network standard.

[0185] In one embodiment, the processing unit 620 is further configured to acquire second information sent by a cloud server, the second information including a correspondence between a failure type and a network standard; and determine the first network standard used when redialing based on the first failure type and the correspondence between the failure type and the network standard.

[0186] In one embodiment, the calling device includes a first chip, and the second information is stored in the first chip.

[0187] In one embodiment, the processing unit 620 is configured to acquire the second information sent by the cloud server at a preset time.

[0188] In one embodiment, the processing unit 620 is further configured to update the second information based on the first failure type and the first network standard if the call establishment succeeds, the second information including the correspondence between the failure type and the network standard.

[0189] In an embodiment, the processing unit 620 is further configured to send the updated second information to a cloud server.

[0190] The call establishment apparatus provided in the embodiment is used to execute the call establishment method in the above embodiment, and has similar technical principles and technical effects, which are not described here again.

[0191] It should be noted that the call establishment apparatus 600 is embodied in the form of functional units. The term "unit" herein can be implemented in the form of software and / or hardware, which is not specifically limited.

[0192] For example, the "unit" can be a software program, a hardware circuit, or a combination of both, which realizes the above functions. The hardware circuit can include an application specific integrated circuit (ASIC), an electronic circuit, a processor (such as a shared processor, a dedicated processor, or a group processor, etc.) and a memory for executing one or more software or firmware programs, a combination logic circuit, and / or other suitable components supporting the described functions.

[0193] Therefore, the units of each example described in the embodiments of the present application can be realized in electronic hardware, or a combination of computer software and electronic hardware. Whether the functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. A person skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.

[0194] The present application also provides a computer program product, which, when executed by a processor, implements the call establishment method described in any method embodiment of the present application.

[0195] The computer program product can be stored in a memory, for example, a program, which is finally converted into an executable object file that can be executed by a processor through preprocessing, compiling, assembling, and linking, etc.

[0196] The present application also provides a computer readable storage medium, which stores a computer program, and the computer program, when executed by a computer, implements the call establishment method described in any method embodiment of the present application. The computer program can be a high-level language program or an executable object program.

[0197] The computer readable storage medium is, for example, a memory. The memory can be a volatile memory or a non-volatile memory, or the memory can include both volatile and non-volatile memory. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically EPROM (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM) used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchlink DRAM (SLDRAM), and direct rambus RAM (DR RAM).

[0198] In this application, "at least one" means one or more, and "multiple" means two or more. "At least one of the following" or the like means any combination of these items, including any combination of single or multiple items. For example, at least one of a, b, or c can mean a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, and c can be single or multiple.

[0199] It should be understood that the size of the sequence number of the above-mentioned processes in various embodiments of the present application does not mean the order of execution, and the execution order of the processes should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0200] Those skilled in the art can clearly understand that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be realized by electronic hardware or a combination of computer software and electronic hardware. Whether the functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.

[0201] Those skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working processes of the above-described system, device and unit can refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.

[0202] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic; for example, the division of the units is only a logical function division, and actual implementation can have another division manner; for example, a plurality of units or components can be combined or integrated into another system, or some features can be omitted or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interface, device or unit, and can be electrical, mechanical or other forms.

[0203] The units described as separate components can or can not be physically separated, and the components shown as units can or can not be physical units, i.e. they can be located in one place or distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.

[0204] In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically, or two or more units can be integrated into one unit.

[0205] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A call setup method, characterized by, The method is applied to a calling device including a first chip, and the method comprises: obtaining second information sent by a cloud server and storing the second information in the first chip, wherein the second information comprises a correspondence between a failure type and a network standard; receiving first information sent by a first network device, obtaining the second information from the first chip, and determining whether to re-establish a connection between the calling device and a called device based on a first failure type and the second information, wherein the first information is used to indicate that a call establishment between the calling device and the called device through the first network device fails, and the first information is also used to indicate the first failure type of the call establishment between the calling device and the called device; wherein, based on the first failure type and the second information, determining whether to re-establish a connection between the calling device and the called device comprises: if the second information indicates that a success probability of each network standard corresponding to the first failure type is lower than a preset threshold, stopping requesting to establish a connection; if the second information indicates that there is a first network standard corresponding to the first failure type, wherein a call success probability of the first network standard is higher than the preset threshold, initiating a call establishment request to the called device based on the first network standard, and in a case that a call between the calling device and the called device is successfully established, updating the second information to obtain updated second information, and storing the updated second information in the first chip; sending the updated second information to the cloud server.

2. The method of claim 1, wherein, The receiving first information sent by the first network device comprises: sending a first request to the first network device, wherein the first request is used to request to establish a call between the calling device and the called device through the first network device; receiving the first information returned by the first network device based on the first request.

3. The method according to claim 1 or 2, characterized in that, The method further comprises: if the second information indicates that a success probability of at least one network standard corresponding to the first failure type is greater than or equal to the preset threshold, determining a first network standard to be used when redialing based on the first failure type and the second information; initiating a call establishment request to a second network device based on the first network standard, wherein the second network device is a network device corresponding to the first network standard.

4. The method of claim 3, wherein, The second information is determined based on a type of the calling device, wherein the type of the calling device comprises operator information to which the calling device belongs and environment information in which the calling device is located, and the second information is obtained through machine learning.

5. The method according to claim 1 or 2, characterized in that, The obtaining second information sent by the cloud server comprises: obtaining the second information sent by the cloud server at a preset time.

6. The method of claim 3, wherein, After the initiating a call establishment request to the second network device based on the first network standard, the method further comprises: if the call is successfully established, updating the second information based on the first failure type and the first network standard.

7. A calling device, characterized by The calling device comprises a first chip, second information is stored in the first chip, the second information comprises a correspondence between a failure type and a network type, and the calling device is configured to perform the method according to any one of claims 1 to 6.

8. An electronic device, comprising: comprise: one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory and, when the computer programs are executed by the one or more processors, cause the electronic device to perform the method according to any one of claims 1 to 6.

9. A chip system, characterized by The chip system comprises a processor configured to call and run a computer program from a memory, so that an electronic device installed with the chip system performs the method according to any one of claims 1 to 6.

10. A computer readable storage medium comprising a computer program, characterized in that, When the computer program is run on an electronic device, the electronic device is caused to perform the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Telecommunications network non-establishment response

    CN106717106A

  • Calling method, electronic equipment and system based on 5G SA network

    CN111372327A

  • System and method for expedited call retry handling due to voice over 4G call failure

    US8718636B1