Call establishment method, device, electronic device and readable storage medium
By disconnecting the communication connection based on the first INVITE request during the VoLTE call and establishing a connection based on the second INVITE request, the problem of low success rate of VoLTE call is solved, and the user experience is improved.
Patent Information
- Application Number
- JP2023552515
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2021-03-03
- Filing Date
- 2022-02-25
- Publication Date
- 2025-02-06
- Estimated Expiration
- 2042-02-25
AI Technical Summary
In the prior art, VoLTE call establishment success rate is low, especially when a mobile terminal device receives two different INVITE requests from the same device, the synchronization of the network and terminal causes the call to fail and the video or audio connection cannot be established.
When the first INVITE request is received but no ACK message is received, the sending target message disconnects the communication connection based on the first INVITE request and establishes a communication connection based on the second INVITE request.
Improves the success rate of VoLTE calls and improves the user experience.
Smart Images

Figure 0007627778000001 
Figure 0007627778000002 
Figure 0007627778000003
Abstract
Description
[Technical field]
[0001] (CROSS REFERENCE TO RELATED APPLICATIONS) This application claims priority to Chinese Patent Application No. 202110236780.X, filed in China on March 3, 2021, the entire contents of which are incorporated herein by reference.
[0002] TECHNICAL FIELD The embodiments of the present application relate to the technical field of communications, and in particular to a call establishment method, device, electronic device, and readable storage medium. [Background technology]
[0003] With the development of electronic device technology, users are increasingly using electronic devices to make voice over long-term evolution (VoLTE) video or voice calls based on session initiation protocol (SIP).
[0004] In the related art, during the establishment of a VoLTE call between two electronic devices, the downlink (mobile terminated, MT) device does not respond to a new VoLTE call, and for a received request to establish a new VoLTE call, the MT device sends a 486 (user busy) error code.
[0005] However, when an MT device receives two different INVITE requests from the same uplink (mobile original, MO) device, both INVITE requests will fail due to asynchronous communication between the network and the terminal, resulting in failure to establish a video or voice call or a reduced success rate of establishing a VoLTE call. Summary of the Invention [Problem to be solved by the invention]
[0006] The objective of the embodiments of the present application is to provide a call establishment method, device, electronic device and readable storage medium that can solve the problem of low success rate of VoLTE call establishment in some scenarios. [Means for solving the problem]
[0007] In a first aspect, an embodiment of the present application provides a call establishment method, comprising: receiving a second INVITE request when a first INVITE request sent from a second electronic device is received and an INVITE ACK message sent from the second electronic device is not received; and when it is determined that both the second INVITE request and the first INVITE request are sent from the second electronic device, sending a target message to the second electronic device and establishing a communication connection based on the second INVITE request, wherein the target message is for disconnecting the communication connection established based on the first INVITE request.
[0008] In a second aspect, an embodiment of the present application further provides a call establishment device including a receiving module and an executing module, wherein the receiving module is for receiving a second INVITE request when a first INVITE request sent from a second electronic device is received and an INVITE ACK message sent from the second electronic device is not received, and the executing module is for sending a target message to the second electronic device and establishing a communication connection based on the second INVITE request when it is determined that both the second INVITE request and the first INVITE request received by the receiving module are sent from the second electronic device, and the target message is for disconnecting the communication connection established based on the first INVITE request.
[0009] In a third aspect, an embodiment of the present application provides an electronic device comprising a processor, a memory, and a program or command stored in the memory and executable on the processor, the program or command being executed by the processor to realise the steps of the call establishment method described in the first aspect.
[0010] In a fourth aspect, an embodiment of the present application provides a readable storage medium having stored thereon a program or instructions which, when executed by a processor, result in the steps of the method according to the first aspect.
[0011] In a fifth aspect, an embodiment of the present application provides a chip including a processor and a communication interface, the communication interface and the processor being coupled, the processor executing programs or commands to implement the method of the first aspect.
[0012] In a sixth aspect, embodiments of the present application provide a computer program product which, when executed by at least one processor, implements the method according to the first aspect. Effect of the Invention
[0013] In an embodiment of the present application, when a first INVITE request sent from a second electronic device is received and an INVITE ACK message sent from the second electronic device is not received, when a second INVITE message sent from the second electronic device is received, a target message is sent to the second electronic device to disconnect the communication connection established based on the first INVITE request and establish a communication connection based on the second INVITE request, thereby improving the success rate of VoLTE voice or video connection and improving user experience. [Brief description of the drawings]
[0014] [Figure 1] 1 is a flowchart of a SIP call establishment method provided in an embodiment of the present application; [Diagram 2] 2 is a flowchart of a SIP call establishment method provided in an embodiment of the present application; [Diagram 3] 3 is a flowchart 3 of a SIP call establishment method provided in an embodiment of the present application. [Figure 4] 1 is a flowchart of a call establishment method provided in an embodiment of the present application; [Diagram 5] FIG. 2 is a structural schematic diagram of a call establishment device provided in an embodiment of the present application; [Figure 6] FIG. 2 is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0015] Hereinafter, the technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is to be understood that the described embodiments are only a part of the embodiments of the present application, and are not all of the embodiments. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without any creative efforts are within the scope of protection of the present application.
[0016] The terms "first", "second", etc. in the specification and claims of the present application are not intended to describe a particular order or sequence, but are intended to distinguish between similar objects. It should be understood that the terms used in this manner may be substituted for each other where appropriate, so that the embodiments of the present application may be performed in an order other than that shown or described herein, and that the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited, for example, the first object may be one or more. In the specification and claims, "and / or" indicates at least one of the connected objects, and the symbol " / " generally indicates that the related objects before and after are in an "or" relationship.
[0017] The call establishment method provided in the embodiment of the present application is applicable to a scenario of establishing a call based on SIP.
[0018] Fig. 1 is a flowchart for establishing a call connection based on SIP between two electronic devices (MO and MT). As shown in Fig. 1, when the MO device and the MT device establish a call connection based on the SIP protocol, the process specifically includes the following steps 1 to 4.
[0019] In step 1, an MO device initiates a call request and sends an INVITE request to a network (NW) device, where the INVITE request includes a session type and call parameters (such as the network address of the MT device) for establishing a session between the MO device and the MT device. Exemplarily, the session type may be a voice session, a multimedia video session used for web conferencing, or a game session.
[0020] In step 2, after the NW device receives the INVITE request sent from the MO device, it inserts the network address of the NW device into the INVITE request and sends the INVITE request to the MT device specified in the INVITE request. After the MT device receives the INVITE request sent from the NW device, it sends response information 100Trying to the NW device. At this time, the MT device rings to alert the user to the incoming call, and then sends ringing information 180Ringing to the NW device. After the NW device receives the ringing information sent from the MT device, it sends the ringing information 180Ringing to the MO device.
[0021] Furthermore, after receiving the INVITE request transmitted from the MO device, the NW device transmits the INVITE request to the MT device and also transmits response information 100Trying to the MO device.
[0022] In step 3, after the user of the MT device goes off-hook, the NW device transmits a connection success response message 200OK to the NW device. After receiving the connection success response message transmitted from the MT device, the NW device transmits the connection success response message 200OK to the MO device.
[0023] In step 4, after the MO device receives the connection success response information sent from the NW device, it transmits acknowledge character (ACK) information to the NW device for confirmation. After the NW device receives the ACK information sent from the MO device, it transmits the ACK information to the MT device for confirmation. After the MO device and the MT device confirm, they establish a call connection and start the call.
[0024] Regarding the above scenarios for establishing a call based on SIP, there are some special scenarios in the related art, in which the establishment of a SIP call between electronic devices may fail. For example, in scenario 1 shown in Fig. 2, when the MO device fails to make VoLTE call 1, it falls back to the CS domain and starts a new VoLTE call 2. In scenario 2 shown in Fig. 3, the MO device starts VoLTE call 1, but for some reason, the NW device recognizes that there is an abnormality in the INVITE request for call 1, so the NW device sends an INVITE request to the MT device and then sends a new INVITE request again.
[0025] In the above two scenarios, the MT device receives two different INVITE requests, that is, the From header field numbers of the two INVITE requests are the same, the To header field numbers are the same, and the Call-id values are different. According to the RFC3261 protocol, the MT device returns a 486 (user busy) error code to the INVITE request of call 2, and the NW device also clears the INVITE transaction of call 1, so that the INVITE requests of both calls fail, and the MO device and the MT device cannot connect to a voice or video call.
[0026] In order to solve the above problems, the embodiments of the present application provide a call establishment method to solve the above problems. The call establishment method provided in the embodiments of the present application will be described in detail below with reference to the drawings according to specific embodiments and application scenarios.
[0027] As shown in FIG. 4, an embodiment of the present application provides a call establishment method, which may include the following steps 201 and 202.
[0028] In step 201, a first INVITE request sent from a second electronic device is received at the call establishment device, and if an INVITE ACK message sent from the second electronic device is not received, the call establishment device receives a second INVITE request.
[0029] 2 and 3, both of the above scenarios are scenarios in which the MO device initiates an INVITE request to establish a SIP call, and the SIP call is not successfully established, that is, the MT device does not receive the INVITE ACK message sent from the MO device, and when the SIP call is not successfully established, the MT device receives the INVITE request to establish a SIP call again.
[0030] Normally, the MT device returns a 486 error code and rejects the second INVITE request to establish a SIP call. However, in the scenarios shown in Figures 2 and 3, the MT device rejects the second INVITE request and the NW device clears the transaction of the first INVITE request, so both SIP calls fail to be established.
[0031] If it is determined in step 202 that both the second INVITE request and the first INVITE request are sent from the second electronic device, the call establishment device sends a target message to the second electronic device to establish a communication connection based on the second INVITE request.
[0032] Here, the target message is for disconnecting the communication connection established based on the first INVITE request.
[0033] 2 and 3, the second INVITE request may be sent from an MO device or a NW device, so the second electronic device may be an MO device or a NW device, and accordingly, the first electronic device may be a NW device or an MT device.
[0034] Exemplarily, after receiving the second INVITE request, the first electronic device sends a target message to the second electronic device to disconnect the communication connection established according to the first INVITE request, and establishes a communication connection according to the second INVITE request. In different scenarios, the first electronic device and the second electronic device may be different combinations of devices, so the target message is also different for different scenarios.
[0035] It can be understood that in the call establishment method provided in the embodiments of the present application, when the first electronic device receives two different INVITE requests sent from the same electronic device, it disconnects the communication connection established based on the first INVITE request and establishes a communication connection based on the second INVITE request by sending a target message to the electronic device.
[0036] It should be noted that if the second INVITE request and the first INVITE request are sent from different electronic devices, the first electronic device may directly reject the second INVITE request without affecting the establishment of a SIP call with the second electronic device based on the first INVITE request.
[0037] In this way, when the first INVITE request sent from the second electronic device is received and the INVITE ACK message sent from the second electronic device is not received, the communication connection established based on the first INVITE request is disconnected and a communication connection based on the second INVITE request is established in a manner of sending a target message to the second electronic device, thereby improving the success rate of the electronic device in establishing a SIP-based call in the above scenario.
[0038] Optionally, in the embodiments of the present application, the different scenarios correspond to different first and second electronic devices.
[0039] In the scenario shown in Figure 2, Exemplarily, the device that sends the second INVITE request is an MO device, so that when the second electronic device is an uplink MO device, the first electronic device is a network NW device.
[0040] In the scenario shown in Figure 3, Exemplarily, the device that sends the second INVITE request is a NW device, so when the second electronic device is a NW device, the first electronic device is a downlink MT device.
[0041] Further optionally, in an embodiment of the present application, for the scenario shown in FIG. 2, when the second electronic device is an MO device and the first electronic device is a NW device, the target message may be a CANCEL message.
[0042] Illustratively, when the second electronic device is an MO device, the above step 202 includes: The call establishment device may include step 202a of sending a CANCEL message to the second electronic device and sending a second INVITE request to the MT device.
[0043] For example, when the first electronic device is a NW device and the second electronic device is an MO device, after the first electronic device receives the second INVITE request sent from the second electronic device, the first electronic device may send a CANCEL message to the second electronic device to disconnect the communication connection established based on the first INVITE request, and the MT device also disconnects the communication connection established with the MO device based on the first INVITE request.
[0044] Exemplarily, after disconnecting the communication connection established based on the first INVITE request, the first electronic device needs to further send a second INVITE request to the MT device, so that the MO device and the MT device can establish a communication connection based on the second INVITE request.
[0045] In this way, when the second electronic device is an MO device and the first electronic device is a NW device, the first electronic device can ensure that the MO device and the MT device can successfully establish a SIP call by sending a CANCEL message to the second electronic device and sending a second INVITE request to the MT device.
[0046] Further optionally, in an embodiment of the present application, for the scenario shown in FIG. 3, when the second electronic device is a NW device and the first electronic device is an MT device, the target message may be a BYE message.
[0047] For example, when the second electronic device is a network device, the above step 202 is as follows: The call establishment device may include step 202b of sending a BYE message to the second electronic device and establishing a target communication connection with the second electronic device.
[0048] Here, the target communication connection is established based on the second INVITE request.
[0049] For example, when the first electronic device is an MT device and the second electronic device is a NW device, after the first electronic device receives the second INVITE request sent from the second electronic device, the first electronic device may send a BYE message to the second electronic device to disconnect the communication connection established based on the first INVITE request, and the BYE message is forwarded by the second electronic device to the MO device. At this time, the first electronic device disconnects the communication connection established with the MO device based on the first INVITE request.
[0050] Exemplarily, after sending the BYE message to the MO device, the first electronic device may send a connection success response information 200OK message to the MO device, as shown in step 3 of Fig. 1. The 200OK message is sent in response to the second INVITE request, for establishing a communication connection with the MO device based on the second INVITE message.
[0051] It should be noted that in the scenario shown in Figure 2, after the NW equipment receives the second INVITE request sent from the MO equipment, if the NW equipment does not send a CANCEL message to the MO equipment and sends the second INVITE request to the MT equipment, the MT equipment may process the first INVITE request and the second INVITE request by referring to the processing method by the first electronic equipment in the scenario shown in Figure 3.
[0052] In this way, when the second electronic device is a network device and the first electronic device is an MT device, the first electronic device can ensure that the MO device and the MT device can successfully establish a SIP call by sending a BYE message to the second electronic device and a 200OK message to the MO device.
[0053] Optionally, in an embodiment of the present application, the first electronic device may determine whether the first INVITE request and the second INVITE request are sent from the same electronic device based on information contained in the INVITE request.
[0054] Illustratively, step 202 includes the following steps: The method may include a step 202c of sending a target message to the second electronic device when the call establishment device determines based on the target information that both the second INVITE request and the first INVITE request are sent from the second electronic device.
[0055] Here, the target information includes at least one of a From header field, a To header field, and a Call-id value.
[0056] Exemplarily, a different first electronic device may determine whether the received first INVITE request and the received second INVITE request are sent from the same electronic device based on different information.
[0057] For example, if the first electronic device is an MT device, the first electronic device can receive an INVITE request only if the To header field of the INVITE request points to the first electronic device, so the first electronic device may determine whether the first INVITE request and the second INVITE request are sent from the same electronic device based only on the From header field of the INVITE request.
[0058] In this way, for different scenarios, the first electronic device can determine whether the first INVITE request and the second INVITE request are sent from the same electronic device based on different information.
[0059] In the call establishment method provided in the embodiments of the present application, when a first INVITE request sent from a second electronic device is received and an INVITE ACK message sent from the second electronic device is not received, when a second INVITE message sent from the second electronic device is received, the communication connection established based on the first INVITE request can be disconnected and a communication connection based on the second INVITE request can be established in a manner of sending different target messages to the second electronic device according to different application scenarios, thereby improving the success rate of the electronic device in establishing a SIP-based call in the above scenarios.
[0060] It should be noted that the call establishment method provided in the embodiment of the present application may be executed by a call establishment device or a control module for executing the call establishment method in the call establishment device. In the embodiment of the present application, the call establishment device is taken as an example to execute the call establishment method, and the call establishment device provided in the embodiment of the present application will be described.
[0061] It should be noted that in the embodiments of the present application, the call establishment methods shown in the drawings of each method above are illustrated by examples associated with one drawing in the embodiments of the present application. In concrete implementation, the call establishment methods shown in the drawings of each method above may be further implemented in association with any other relevant drawings shown in the embodiments, and detailed descriptions are omitted here.
[0062] FIG. 5 is a possible structural schematic diagram of a call establishment device provided in an embodiment of the present application. As shown in FIG. 5, the call establishment device 600 includes a receiving module 601 and an executing module 602, in which the receiving module 601 is for receiving a second INVITE request when a first INVITE request sent from a second electronic device is received and an INVITE ACK message sent from the second electronic device is not received; the executing module 602 is for sending a target message to the second electronic device to establish a communication connection based on the second INVITE request when it is determined that both the second INVITE request and the first INVITE request received by the receiving module 601 are sent from the second electronic device, where the target message is for disconnecting the communication connection established based on the first INVITE request.
[0063] Alternatively, when the second electronic device is an uplink MO device, the first electronic device is a network NW device, and when the second electronic device is a NW device, the first electronic device is a downlink MT device.
[0064] Optionally, the execution module 602 is specifically for sending a CANCEL message to the second electronic device, and sending a second INVITE request to the MT device.
[0065] Optionally, the execution module 602 is specifically for sending a BYE message to the second electronic device and establishing a target communication connection with the second electronic device, where the target communication connection is established based on the second INVITE request.
[0066] Optionally, the execution module 602 is specifically for sending a target message to the second electronic device when it is determined based on the target information that both the second INVITE request and the first INVITE request are sent from the second electronic device, where the target information includes at least one of a From header field, a To header field, and a Call-id value.
[0067] The call establishment device in the embodiment of the present application may be a device, a component in a terminal, an integrated circuit, or a chip. The device may be a portable electronic device or a non-portable electronic device. For example, the portable electronic device may be a mobile phone, a tablet computer, a notebook computer, a personal digital assistant, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), and the non-portable electronic device may be a network attached storage (NAS), a personal computer (PC), a television (TV), an automated teller machine or a kiosk, and the embodiments of the present application are not specifically limited.
[0068] The call establishment device in the embodiment of the present application may be a device having an operating system, which may be an Android operating system, an ios operating system, or other possible operating systems, and is not specifically limited in the embodiment of the present application.
[0069] The call establishment device provided in the embodiment of the present application can realize each process realized by the call establishment device in the method embodiment of FIGS. 1 to 4, and detailed description will be omitted here to avoid duplication.
[0070] For the specific beneficial effects of each embodiment in this embodiment, please refer to the beneficial effects of the corresponding embodiments in the above method embodiments, and detailed descriptions will be omitted here to avoid duplication.
[0071] In the call establishment device provided in the embodiments of the present application, when a first INVITE request sent from a second electronic device is received and an INVITE ACK message sent from the second electronic device is not received, the device can disconnect the communication connection established based on the first INVITE request and establish a communication connection based on the second INVITE request in a manner of sending different target messages to the second electronic device according to different application scenarios, thereby improving the success rate of the electronic device in establishing a SIP-based call in the above scenarios.
[0072] Optionally, the embodiments of the present application further provide an electronic device, which includes a processor 110, a memory 109, and a program or command stored in the memory 109 and executable on the processor 110, which, when executed by the processor 110, realizes each process of the above-mentioned embodiment of the call establishment method, and achieves similar technical effects, and detailed description thereof will be omitted here to avoid duplication.
[0073] It should be noted that the electronic devices in the embodiments of the present application include the portable electronic devices and non-portable electronic devices described above.
[0074] FIG. 6 is a schematic diagram of the hardware structure of an electronic device for implementing each embodiment of the present application.
[0075] The electronic device 100 includes components such as, but not limited to, a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
[0076] Those skilled in the art can understand that the electronic device 100 may further include a power source (e.g., a battery) that supplies power to each component, and the power source may be logically connected to the processor 110 by a power management system, and the power management system may further realize functions such as charge / discharge management and power consumption management. The structure of the electronic device shown in FIG. 6 does not limit the electronic device, and the electronic device may include more or fewer components than those shown, or a combination of some components, or a different component arrangement, and detailed description thereof will be omitted here.
[0077] Wherein, the high frequency unit 101 is for receiving a second INVITE request when a first INVITE request sent from the second electronic device is received and an INVITE ACK message sent from the second electronic device is not received; the high frequency unit 101 is for sending a target message to the second electronic device when it is determined that both the second INVITE request and the first INVITE request received by the high frequency unit 101 are sent from the second electronic device; and the processor 110 is for establishing a communication connection based on the second INVITE request, where the target message is for disconnecting the communication connection established based on the first INVITE request.
[0078] In this way, when the first INVITE request sent from the second electronic device is received and the INVITE ACK message sent from the second electronic device is not received, the communication connection established based on the first INVITE request is disconnected and a communication connection based on the second INVITE request is established in a manner of sending a target message to the second electronic device, thereby improving the success rate of the electronic device in establishing a SIP-based call in the above scenario.
[0079] Alternatively, when the second electronic device is an uplink MO device, the first electronic device is a network NW device, and when the second electronic device is a NW device, the first electronic device is a downlink MT device.
[0080] Optionally, the radio frequency unit 101 is specifically for sending a CANCEL message to the second electronic device, and sending a second INVITE request to the MT device.
[0081] In this way, when the second electronic device is an MO device and the first electronic device is a NW device, the first electronic device can ensure that the MO device and the MT device can successfully establish a SIP call by sending a CANCEL message to the second electronic device and sending a second INVITE request to the MT device.
[0082] Optionally, the radio frequency unit 101 is specifically for sending a BYE message to the second electronic device, and the processor 110 is for establishing a target communication connection with the second electronic device, where the target communication connection is established based on the second INVITE request.
[0083] In this way, when the second electronic device is a network device and the first electronic device is an MT device, the first electronic device can ensure that the MO device and the MT device can successfully establish a SIP call by sending a BYE message to the second electronic device and a 200OK message to the MO device.
[0084] Optionally, the processor 110 is for causing the radio frequency unit 101 to send a target message to the second electronic device when it is determined based on the target information that both the second INVITE request and the first INVITE request are sent from the second electronic device, where the target information includes at least one of a From header field, a To header field, and a Call-id value.
[0085] In this way, for different scenarios, the first electronic device can determine whether the first INVITE request and the second INVITE request are sent from the same electronic device based on different information.
[0086] In the electronic device provided in the embodiments of the present application, when a first INVITE request sent from a second electronic device is received and an INVITE ACK message sent from the second electronic device is not received, the electronic device can disconnect the communication connection established based on the first INVITE request and establish a communication connection based on the second INVITE request in a manner of sending different target messages to the second electronic device according to different application scenarios, thereby improving the success rate of the electronic device in establishing a SIP-based call in the above scenarios.
[0087] It should be understood that in the embodiment of the present application, the input unit 104 may include a graphics processing unit (GPU) 1041 for processing image data of static or video captured by an image capture device (e.g., a camera) in a video capture mode or an image capture mode, and a microphone 1042. The display unit 106 may include a display panel 1061, which may be arranged in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include two parts: a touch detection device and a touch controller. The other input devices 1072 may include, but are not limited to, a physical keyboard, a function button (e.g., a volume control button, a switch button, etc.), a trackball, a mouse, and a control lever, and a detailed description thereof is omitted here. The memory 109 may be used to store software programs and various data, including but not limited to applications and operating systems. The processor 110 may be integrated with an application processor that mainly processes an operating system, a user interface, applications, etc., and a modem processor that mainly processes wireless communication. It is understandable that the modem processor does not have to be integrated with the processor 110.
[0088] An embodiment of the present application further provides a readable storage medium, in which a program or command is stored, and when the program or command is executed by a processor, each process of the embodiment of the above-mentioned call establishment method is realized, and similar technical effects can be achieved. In order to avoid duplication, detailed descriptions are omitted here.
[0089] Here, the processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0090] An embodiment of the present application further provides a chip, the chip including a processor and a communication interface, the communication interface and the processor are coupled to each other, and the processor executes a program or command to realize each process of the embodiment of the above-mentioned call establishment method, and can achieve similar technical effects, and in order to avoid duplication, detailed description will be omitted here.
[0091] It should be understood that the chips referred to in the embodiments of this application may be referred to as system level chips, system chips, chip systems, system on chips, or the like.
[0092] It should be noted that in this specification, the terms "comprise", "consist of" or any other variations are intended to include a non-exclusive inclusion, whereby a process, method, article, or apparatus that includes a set of elements includes not only those elements, but also other elements not expressly stated or inherent to such process, method, article, or apparatus. Unless otherwise specified, an element limited by the phrase "comprises a" does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes the element. It should also be noted that the scope of the method and apparatus in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may include performing functions substantially simultaneously or in the reverse order depending on such functions, for example, the described method may be performed in a different order than described, and various steps may be added, omitted, or combined. Also, features described with reference to any example may be combined in other examples.
[0093] From the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be realized in the form of a combination of software and a necessary common hardware platform, and of course, they can also be realized by hardware, but in many cases the former is a more preferred embodiment. Based on this view, the technical solutions of the present application can be substantially or in part contributed to the prior art can be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM / RAM, magnetic disk, optical disk) and includes a number of commands that cause an electronic device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in the embodiments of the present application.
[0094] Although the examples of the present application have been described above with reference to the drawings, the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative and not limiting. Based on the suggestions of the present application, many forms that a person skilled in the art can make without departing from the spirit of the present application and the scope of protection of the claims are all within the scope of protection of the present application.
Claims
1. A method for establishing a call applied to a first electronic device, comprising: receiving a second INVITE request when a first INVITE request sent from a second electronic device is received and an INVITE ACK message sent from the second electronic device is not received; if it is determined that both the second INVITE request and the first INVITE request are sent from the second electronic device, sending a target message to the second electronic device to establish a communication connection based on the second INVITE request; the target message is for disconnecting a communication connection established based on the first INVITE request; The method, wherein when the second electronic device is an uplink MO device, the first electronic device is a network NW device, and when the second electronic device is a NW device, the first electronic device is a downlink MT device.
2. When the second electronic device is an MO device, the step of transmitting a target message to the second electronic device and establishing a communication connection based on the second INVITE request includes: The method of claim 1 , comprising the steps of: sending a CANCEL message to the second electronic device and sending the second INVITE request to an MT device.
3. When the second electronic device is a network device, the step of transmitting a target message to the second electronic device and establishing a communication connection based on the second INVITE request includes: sending a BYE message to the second electronic device to establish a target communication connection with the second electronic device; The method of claim 1 , wherein the target communication connection is established based on the second INVITE request.
4. When both the second INVITE request and the first INVITE request are sent from the second electronic device, the step of sending a targeted message to the second electronic device includes: sending a targeted message to the second electronic device when it is determined based on the target information that both the second INVITE request and the first INVITE request are sent from the second electronic device; The method of claim 1 , wherein the target information includes at least one of a From header field, a To header field, and a Call-id value.
5. A call establishment device for use in a first electronic device, comprising: a receiving module and an executing module; the receiving module is for receiving a second INVITE request when a first INVITE request sent from a second electronic device is received and an INVITE ACK message sent from the second electronic device is not received; the execution module is for, when it is determined that both the second INVITE request and the first INVITE request received by the receiving module are sent from the second electronic device, sending a target message to the second electronic device to establish a communication connection based on the second INVITE request; the target message is for disconnecting a communication connection established based on the first INVITE request; The device, wherein when the second electronic device is an uplink MO device, the first electronic device is a network NW device, and when the second electronic device is a NW device, the first electronic device is a downlink MT device.
6. The apparatus of claim 5 , wherein the execution module is specifically for sending a CANCEL message to the second electronic device and sending the second INVITE request to an MT device.
7. The execution module is specifically for sending a BYE message to the second electronic device to establish a target communication connection with the second electronic device; The apparatus of claim 5 , wherein the target communication connection is established based on the second INVITE request.
8. The execution module is specifically for sending a target message to the second electronic device when it is determined based on the target information that both the second INVITE request and the first INVITE request are sent from the second electronic device; The apparatus of claim 5 , wherein the target information includes at least one of a From header field, a To header field, and a Call-id value.
9. 5. An electronic device comprising a processor, a memory, and a program or command stored in the memory and executable on the processor, the program or command being executed by the processor to realize steps of the call establishment method according to any one of claims 1 to 4.
10. A readable storage medium having stored thereon a program or command that, when executed by a processor, implements the steps of the call establishment method according to any one of claims 1 to 4.
11. A chip comprising a processor and a communication interface, the communication interface and the processor being coupled together, the processor executing a program or command to implement the call establishment method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Last come, first served treatment of communication session requests
CN109804609A
Sip adaptation device
JP2012109654A
System and method for network selection to switch over speech communication session
JP2015228649A
Last come, first served treatment of communication session requests
US20180103497A1
Systems and methods for session initiation protocol communication
US20190081991A1