CN113365234A - Calling method and device and electronic equipment - Google Patents

Calling method and device and electronic equipment Download PDF

Info

Publication number
CN113365234A
CN113365234A CN202110570791.1A CN202110570791A CN113365234A CN 113365234 A CN113365234 A CN 113365234A CN 202110570791 A CN202110570791 A CN 202110570791A CN 113365234 A CN113365234 A CN 113365234A
Authority
CN
China
Prior art keywords
sim card
electronic device
call request
data service
short message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110570791.1A
Other languages
Chinese (zh)
Other versions
CN113365234B (en
Inventor
陈锐敏
付磊磊
黄亮鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202110570791.1A priority Critical patent/CN113365234B/en
Publication of CN113365234A publication Critical patent/CN113365234A/en
Application granted granted Critical
Publication of CN113365234B publication Critical patent/CN113365234B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • H04W36/0066Transmission or use of information for re-establishing the radio link of control information between different types of networks in order to establish a new radio link in the target network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • H04W36/0085Hand-off measurements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/90Services for handling of emergency or hazardous situations, e.g. earthquake and tsunami warning systems [ETWS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/50Connection management for emergency connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Abstract

The application discloses a calling method, a calling device and electronic equipment, and belongs to the technical field of communication. The method comprises the following steps: under the condition that a first electronic device establishes connection with a second electronic device through a device-to-device D2D technology, detecting the service state of a first SIM card in the first electronic device based on the IMS of a network of the second electronic device; under the condition that the first SIM card has IMS service, initiating a call request through the second electronic equipment by using the first SIM card; and under the condition that the first SIM card does not have the IMS service or the first SIM card with the IMS service fails to initiate the call request, detecting the service state of the data service of the second electronic equipment, and initiating the call request or sending a short message through the second electronic equipment.

Description

Calling method and device and electronic equipment
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to a calling method, a calling device and electronic equipment.
Background
With the development of electronic technology, electronic devices become an indispensable part of people's life, and users can carry the electronic devices with them so as to be practical at any time. For example, in case of an emergency, the user may make an emergency call to seek assistance through the electronic device carried around.
At present, when a user makes an emergency call through an electronic device, a call may fail due to abnormal network connection because a signal in an area where the user is located is weak or a server in the area where the user is located fails. And the failure of the call connection may cause the user to be unable to get timely rescue, and suffer from safety risk.
Disclosure of Invention
The embodiment of the application aims to provide a calling method, a calling device and electronic equipment, which can solve the problem that a user cannot be rescued in time due to call failure caused by network abnormity in emergency call.
In a first aspect, an embodiment of the present application provides a calling method, where the method includes: under the condition that a first electronic device establishes connection with a second electronic device through a device-to-device D2D technology, detecting the service state of a first SIM card in the first electronic device based on the IMS of a network of the second electronic device; under the condition that the first SIM card has IMS service, initiating a call request through the second electronic equipment by using the first SIM card; and under the condition that the first SIM card does not have the IMS service or the first SIM card with the IMS service fails to initiate the call request, detecting the service state of the data service of the second electronic equipment, and initiating the call request or sending a short message through the second electronic equipment.
In a second aspect, an embodiment of the present application provides a calling device, including: the device comprises a detection module and a processing module. The device comprises a detection module, a processing module and a processing module, wherein the detection module is used for detecting the service state of a first SIM card in a first electronic device based on the IMS of a network of a second electronic device under the condition that the first electronic device establishes connection with the second electronic device through a device-to-device D2D technology; the processing module is used for initiating a call request through the second electronic equipment by using the first SIM card under the condition that the first SIM card has the IMS service; the processing module is further configured to detect a service state of the data service of the second electronic device and initiate a call request or send a short message through the second electronic device when the first SIM card does not have the IMS service or the first SIM card with the IMS service fails to initiate the call request.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium on which a program or instructions are stored, which when executed by a processor, implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, and the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, in the case that a first electronic device establishes a connection with a second electronic device through a device-to-device D2D technology, a service state of a first SIM card in the first electronic device based on an IMS of a network of the second electronic device is detected; under the condition that the first SIM card has IMS service, initiating a call request through the second electronic equipment by using the first SIM card; and under the condition that the first SIM card does not have the IMS service or the first SIM card with the IMS service fails to initiate the call request, detecting the service state of the data service of the second electronic equipment, and initiating the call request or sending a short message through the second electronic equipment. By the method, the first electronic equipment can establish connection with the second electronic equipment through the D2D technology, and when the first SIM card has the IMS service, a call request is initiated through the second electronic equipment by using the first SIM card; and when the first SIM card does not have the IMS service or the first SIM card with the IMS service fails to initiate the call request, initiating the call request or sending a short message through the network of the second electronic equipment. That is, when the first electronic device cannot be connected to the network, the second electronic device may be connected through D2D and the call request or the short message may be indirectly transmitted using the second electronic device as an intermediate route. Therefore, the phenomenon that the user cannot be rescued in time due to the call failure caused by network abnormity can be effectively avoided, and the rescue probability of the user is improved.
Drawings
Fig. 1 is a schematic diagram of a calling method according to an embodiment of the present application;
fig. 2 is a second schematic diagram of a paging method according to an embodiment of the present application;
fig. 3 is a third schematic diagram of a paging method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a calling device according to an embodiment of the present application;
fig. 5 is a second schematic structural diagram of a calling device according to an embodiment of the present application;
fig. 6 is a hardware schematic diagram of an electronic device according to an embodiment of the present disclosure;
fig. 7 is a second hardware schematic diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. The objects distinguished by "first", "second", and the like are usually a class, and the number of the objects is not limited, and for example, the first object may be one or a plurality of objects. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes the call method provided by the embodiment of the present application in detail through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
As shown in fig. 1, an embodiment of the present application provides a calling method, which may include steps 101 to 103 described below. Wherein, step 102 and step 103 are alternatively executed.
Step 101, in the case that the first electronic device establishes a connection with the second electronic device through a device-to-device D2D technology, the first electronic device detects a service state of a first SIM card in the first electronic device based on an IMS of a network of the second electronic device.
The D2D technology (device to device communication technology, referred to as D2D communication technology, or D2D technology) refers to a communication method for directly communicating between two peer user nodes. In the distributed network consisting of D2D communication users, each user node can send and receive signals and has the function of automatic routing (forwarding messages). Participants of the network share a portion of the hardware resources they own, including information processing, storage, and network connectivity capabilities. These shared resources provide services and resources to the network that can be accessed directly by other users without going through intermediate entities. In a D2D communication network, user nodes play the role of both server and client.
Specifically, the following D2D communication scenario may be applied in the embodiment of the present application. Assuming that a user needs to use the first electronic device and the third electronic device for communication, and the first electronic device and the second electronic device can neither establish a connection directly nor establish a connection based on the base station, the user may establish a connection between the first electronic device and the second electronic device based on the D2D technology, and then the user may use the first electronic device to initiate a call or send a short message to the third electronic device through the second electronic device. Wherein the second electronic device functions as a router and the user transfers calls or forwards messages.
It should be noted that, in the embodiment of the present application, reference may be made to related technologies for implementing connection establishment between the first electronic device and the second electronic device based on the D2D technology, which is not described herein again.
Optionally, a Subscriber Identity Module (SIM) is a network access certificate, abbreviated as a SIM card, of a user of the electronic device. A network system (e.g., global system for mobile communications (GSM), Code Division Multiple Access (CDMA), and Wideband Code Division Multiple Access (WCDMA)) identifies a subscriber identity through a SIM card, the same SIM card can be used in different electronic devices, and one electronic device can use multiple SIM cards if a hardware function is provided.
Optionally, in this embodiment of the present application, an IP Multimedia System (IMS) is a network architecture in a new multimedia service form. Abbreviated IMS. IMS can be used by a variety of networks based on registration. The registration information of the IMS includes IMS capability of the SIM card, services allowed to be used, and the like. For example, voice over long term evolution (VoLTE), voice over wireless local area network (VoWiFi), and the like. When the SIM card is inserted into the electronic device, the electronic device may initiate an IMS network registration procedure. Specifically, in the case that the SIM card inserted into the electronic device is an IMS-capable SIM card (e.g., VoLTE or VoWiFi), the call module in the electronic device may initiate an IMS network attach and registration procedure.
It should be noted that, in the embodiment of the present application, the detecting the registration information of the IMS of the first SIM card is mainly used to detect whether the first SIM card is allowed to use the VoLTE or VoWiFi service based on the network of the second electronic device. That is, the network of the second electronic device is the network on which the second electronic device originally resides before the first electronic device establishes the D2D connection with the second electronic device. The selection of the network is determined by the protocol and network selection means of the second electronic device.
For example, assuming that the network on which the second electronic device resides is GSM before the first electronic device establishes D2D connection with the second electronic device, when the first electronic device establishes D2D connection with the second electronic device, the first electronic device directly detects whether the first SIM card can perform IMS registration based on the network on which the second electronic device resides GSM, that is, detects whether the network on which the GSM resides can use the VoLTE or VoWiFi service.
It should be noted that, in the present embodiment, the service status of one SIM card (e.g., the first SIM card) includes: there are two states, IMS service and no IMS service. Specifically, IMS services indicate that the SIM card is capable of initiating a call request based on IMS, e.g., allowed to initiate a call request using VoLTE or VoWiFi services. No IMS service means that the SIM card cannot initiate a call request based on IMS. In the case of good network signal, VoLTE or VoWiFi can set up a call more quickly.
It should be noted that, reference may be made to related technologies for the above-mentioned method for detecting the service state of the first SIM card by the first electronic device, and the embodiment of the present application is not limited in particular.
In addition, in this embodiment of the application, the first SIM card is a SIM card used by the current first electronic device and the current second electronic device to establish a connection based on D2D.
And 102, under the condition that the first SIM card has the IMS service, the first electronic equipment uses the first SIM card to initiate a call request through the second electronic equipment.
Optionally, in this embodiment of the present application, the initiating of the call request means that the first electronic device may initiate a call to the third electronic device by using the first SIM card through the IMS. Wherein the calling number of the third electronic device is an emergency calling number, for example, 110, 120, 119, etc. The user may seek assistance by calling the emergency number.
It should be noted that, the above-mentioned that the first electronic device initiates the call request through the second electronic device by using the first SIM card means that since the first electronic device and the second electronic device establish a connection based on D2D, the call information of the first SIM card of the first electronic device can be forwarded through the second electronic device. That is, the second electronic device acts as an intermediate route for forwarding the call information of the first SIM card to the third electronic device through the communication network of the second electronic device.
Step 103, under the condition that the first SIM card does not have the IMS service or the first SIM card with the IMS service fails to initiate the call request, the first electronic device detects the service state of the data service of the second electronic device, and initiates the call request or sends a short message through the second electronic device.
Optionally, in this embodiment of the present application, one possible implementation manner is: under the condition that the second electronic equipment establishes the data service, the first electronic equipment initiates a call request and/or sends information (the information is sent based on the data service) by using the data service of the second electronic equipment; and under the condition that the second electronic equipment does not establish the data service, the first electronic equipment uses the first SIM card to send a short message (the short message is sent based on the non-data service) through the second electronic equipment. Another possible implementation is: under the condition that the second electronic equipment establishes the data service, the first electronic equipment initiates a call request by using the data service of the second electronic equipment; and under the condition that the second electronic equipment does not establish the data service, the first electronic equipment uses the first SIM card to send a short message (the short message is sent based on the non-data service) through the second electronic equipment.
The following examples are specifically described by taking the second embodiment as an example.
Optionally, in this embodiment of the application, "initiate a call request or send a short message through the second electronic device" in step 103 may be specifically implemented through step 103a and step 103b described below.
Step 103a, if the second electronic device has established the data service, the first electronic device initiates a call request using the data service of the second electronic device.
It should be noted that, in this embodiment of the application, if the second electronic device already establishes the data service, it is indicated that the second electronic device can access the internet, so that the second electronic device can use the internet for communication.
Optionally, in this embodiment of the application, the second electronic device may initiate the call request based on a voice over IP transmission technology. Among them, voice over internet protocol (VoIP) is a voice call technology, and a voice call and a multimedia conference are achieved through Internet Protocol (IP), that is, communication is performed through the internet. VoIP can be used in many internet access devices including VoIP phones, smart phones, personal computers, and to communicate and send messages via cellular networks and WiFi.
It should be noted that, when the first electronic device initiates a call by using the data service of the second electronic device, the first electronic device accesses the network based on the IP address of the second electronic device, so that the third electronic device receives a call request of the second electronic device, that is, the call request of the first electronic device is transferred to the call by the fact that the data service of the second electronic device is used.
Optionally, in this embodiment of the application, when the second electronic device has established the data service, the second electronic device may further send a short message to the third electronic device based on the VoIP, where the short message may include address information of the first electronic device, address information of the second electronic device, help-seeking information of the user, and the like.
And 103b, if the second electronic equipment does not establish the data service or the second electronic equipment using the established data service fails to initiate the call request, the first electronic equipment uses the first SIM card to send the short message through the second electronic equipment.
It should be noted that, the step 103a and the step 103b are alternatively executed, and the determination is specifically performed according to whether the second electronic device establishes the data service.
Optionally, in this embodiment of the application, because the second electronic device does not establish the data service, the second electronic device detects another short message channel (for example, a short message channel provided by an operator corresponding to the SIM card of the second electronic device, that is, a network where the second electronic device resides), and when the other short message channel is allowed to be used, the first electronic device uses the first SIM card to send the short message through the network where the second electronic device resides.
It can be understood that, in the case that the second electronic device has established the data service, the first electronic device may initiate a call request through the data service; in the case that the second electronic device does not establish the data service, or the second electronic device using the established data service fails to initiate the call request, the first electronic device may use the first SIM card to send the short message through the second electronic device. Therefore, the first electronic equipment can flexibly select to initiate a call request through the Internet or send a short message through a short message channel according to whether the second electronic equipment establishes a data service. Therefore, the help seeking modes are enriched, the probability of successful calling is increased, the rescue probability of the user is further improved, and the risk of the user is reduced.
It should be noted that the short message channel for sending the short message in step 103b is a channel of a non-data service, that is, the short message in step 103b is sent in a non-internet manner.
The embodiment of the application provides a calling method, wherein under the condition that a first electronic device establishes connection with a second electronic device through a device-to-device D2D technology, a service state of an IMS (IP multimedia subsystem) of a first SIM card in the first electronic device based on a network of the second electronic device is detected; under the condition that the first SIM card has IMS service, initiating a call request through the second electronic equipment by using the first SIM card; and under the condition that the first SIM card does not have the IMS service or the first SIM card with the IMS service fails to initiate the call request, detecting the service state of the data service of the second electronic equipment, and initiating the call request or sending a short message through the second electronic equipment. By the method, the first electronic equipment can establish connection with the second electronic equipment through the D2D technology, and when the first SIM card has the IMS service, a call request is initiated through the second electronic equipment by using the first SIM card; and when the first SIM card does not have the IMS service or the first SIM card with the IMS service fails to initiate the call request, initiating the call request or sending a short message through the network of the second electronic equipment. That is, when the first electronic device cannot be connected to the network, the second electronic device may be connected through D2D and the call request or the short message may be indirectly transmitted using the second electronic device as an intermediate route. Therefore, the phenomenon that the user cannot be rescued in time due to the call failure caused by network abnormity can be effectively avoided, and the rescue probability of the user is improved.
Optionally, with reference to fig. 1, as shown in fig. 2, the first electronic device may further include: a second SIM card, the second SIM card different from the first SIM card. After step 103, the calling method provided in the embodiment of the present application further includes the following steps 104 to 106.
And 104, under the condition that the first SIM card fails to initiate a call and send a short message through the second electronic equipment, displaying first prompt information on an interface of the first electronic equipment.
The first prompt message is used for prompting the user to switch the first SIM card into the second SIM card.
Optionally, in this embodiment of the application, the first prompt message is used to prompt the user to switch the first SIM card to the second SIM card. The first prompting message is not limited to text, pictures, video, and combinations thereof. In an actual use process, the electronic device may display the first prompt information while accompanying other special effects or prompts, and is not limited to vibration of the electronic device, flashing of a breathing light, display of special-effect animation or pictures on a screen, and the like, and may be determined according to actual use requirements, and the embodiment of the present application is not particularly limited.
It should be noted that, in the case that the first electronic device includes multiple SIM cards, the first prompt message is used to prompt the user to determine a second SIM card among the multiple SIM cards, and switch the current first SIM card to the second SIM card.
In addition, the display position, the display size and the specific display mode of the first prompt message are not specifically limited in the embodiment of the application, and can be determined according to actual use requirements.
Optionally, in this embodiment of the application, the difference between the first SIM card and the second SIM card means that operators of the first SIM card and the second SIM card are different. Therefore, when the call request of the first electronic device fails due to the fact that the network coverage of one operator is not enough, the user can trigger the first electronic device to switch the networks of other operators different from the operator to perform the call attempt again, and the rescue probability of the user is improved.
Optionally, in this embodiment of the application, that initiating a call and sending a short message by using the first SIM card through the second electronic device both fail means that, within the target threshold duration, the second electronic device does not establish an emergency call through the IMS service, the data service, and the short message channel. The target threshold duration may be set according to actual usage requirements, such as 20 seconds, 30 seconds, 40 seconds, and the like.
Step 105, the first electronic device receives a first input of the first prompt message.
Optionally, in this embodiment of the application, the first input is used to trigger the first electronic device to re-establish the D2D connection between the second SIM card after the first SIM card is replaced by the second SIM card and the second electronic device. Specifically, the first input may be a touch input (e.g., a single click, a double click, a long press, a drag along a preset trajectory, etc.) to the prompt message, a voice input to the electronic device, or a preset physical key input to the electronic device. The determination may be specifically performed according to actual use requirements, and the present application is not particularly limited.
And 106, the first electronic equipment responds to the first input, reestablishes the D2D connection with the second electronic equipment through the switched second SIM card, and reinitiates a call request or sends a short message through the second electronic equipment.
It should be noted that, in the case that the first electronic device reestablishes the D2D connection with the second electronic device using the switched second SIM card, the first electronic device may replace the first SIM card with the second SIM card, and repeatedly perform the above step 102 and step 103 (including step 103a and step 103 b). That is, the step of initiating a call after the first electronic device reestablishes the D2D connection with the second electronic device through the second SIM card is the same as the case of reestablishing the D2D connection between the first SIM card and the second electronic device.
Optionally, in this embodiment of the application, in an actual use process, the step 104 and the step 105 may also be omitted, so that user input is not required, and the electronic device may automatically switch the first SIM card to the second SIM card and call again (i.e., directly execute the step 106) when directly determining that all the SIM cards fail. The specific implementation mode is as follows: under the condition that the first SIM card fails to initiate a call and send a short message through the second electronic equipment, the first electronic equipment can reestablish the D2D connection with the second electronic equipment through the second SIM card, and reinitiate a call request or send a short message through the second electronic equipment.
For example, assuming that the user establishes a D2D connection with the second electronic device using the first SIM card of the first electronic device, the user makes 120 a call with the first SIM card through the second electronic device. If the call is not connected within 40 seconds (i.e., the target threshold duration), a first prompt message "please confirm that the first SIM card is switched to the second SIM card and continue to call" may be displayed in the call interface of the first electronic device. The user may click the "confirm" virtual key in the first prompt message, and then trigger the first electronic device to establish a D2D connection with the second electronic device again through the switched second SIM card, and initiate a call request or send a short message through the IMS service, data service, and the like of the second electronic device.
It can be understood that, in the case that the second electronic device fails to initiate a call or send a short message by using the first SIM card, the electronic device may display the first prompt information, and according to the operation of the user on the first prompt information, trigger the electronic device to switch the first SIM card of the first electronic device to the second SIM card, and re-establish a connection with the second electronic device based on D2D, and initiate a call request or send a short message by using an IMS service, a data service, and the like of the second electronic device through the newly established D2D connection. Therefore, the user can manually control the switching of the SIM cards to continue calling according to the calling result feedback of the first electronic device, so that the probability of successful calling is increased by trying different SIM cards to call, the rescue probability of the user is further improved, and the risk of the user is reduced.
Optionally, in conjunction with fig. 1, as shown in fig. 3, the second electronic device includes a third SIM card; the first SIM card establishes a connection D2D with the third SIM card. Before the step 103 of "detecting the service state of the data service of the second electronic device", the calling method provided in the embodiment of the present application further includes the following step 107, and accordingly, the step 103 of "detecting the service state of the data service of the second electronic device, and initiating a call request or sending a short message through the second electronic device" may be specifically implemented through the following steps 103c to 103e, where the step 103d and the step 103e are selected to be executed.
And step 107, under the condition that the first SIM card does not have the IMS service, the first electronic equipment determines a first access network according to the wireless access type of the third SIM card, and initiates a call request through the first access network by using the first SIM card.
Optionally, in this embodiment of the application, the first access network is a network corresponding to a wireless access type of the third SIM card. That is, the first electronic device may fall back to the 2G or 3G network for calling when the first SIM card does not have the IMS service.
For example, assuming that the third SIM card is a mobile network, the first access network is GSM. Assuming that the third SIM card is a connected network, the first access network is WCDMA.
Step 103c, the second electronic device detects the service state of the data service of the third SIM card in case of failure of initiating the call request through the first access network.
Optionally, in this embodiment of the application, the specific matter manner for detecting the service state of the data service of the third SIM card may be: under the condition that the call requests initiated through the first access network fail, the first electronic equipment sends first information (the first information is used for indicating the second electronic equipment to detect the service state of the data service of the SIM card) to the second electronic equipment, the second electronic equipment receives the first information, self-checks the service state of the data service of the third SIM card according to the target information, and sends the detection result to the first electronic equipment in the form of second information. Wherein the first information and the second information are both sent over the D2D connection. The second information includes: the third SIM card establishes data service and the third SIM card does not establish data service.
Step 103d, if the data service is established by the third SIM card, the first electronic device initiates a call request through the data service of the third SIM card.
It should be noted that, the "data service call initiation request through the third SIM card" in step 103d may specifically refer to the specific description in step 103a, for example, the call initiation request is based on VoIP
Optionally, in this embodiment of the application, the first electronic device initiates the call request through the data service of the third SIM card by using a VoIP phone, where the VoIP phone may be implemented based on a cellular network of the third SIM card.
It should be noted that, when the first electronic device initiates a call by using the data service of the third SIM card, the call is accessed based on the address (i.e., IP address) of the third SIM card, so that the third electronic device receives a call request of the third SIM card of the second electronic device, that is, the call request of the first electronic device is forwarded to the call by using the data service fact of the third SIM card.
And 103e, if the second electronic device does not establish the data service or the call request initiated based on the data service of the third SIM card fails, the first electronic device sends the short message through the third SIM card.
It should be noted that, in this embodiment of the application, reference may be made to the specific description in the step 103b for the specific implementation process of the first electronic device sending the short message through the third SIM card, which is not described herein again.
In addition, the step 103d and the step 103e are alternatively executed, and the determination is specifically performed according to whether the third SIM card establishes the data service.
Optionally, in this embodiment of the application, the third SIM card may send a short message to a third electronic device through a short message channel corresponding to the third SIM card. The determination of the short message channel may refer to the specific description in step 103b, which is not described herein again.
It should be noted that the short message channel for sending the short message in step 103b is a channel of a non-data service, that is, the short message in step 103b is sent in a non-internet manner.
It can be understood that, in the case that the first SIM card does not have the IMS service, the first electronic device determines the first access network according to the wireless access type of the third SIM card, and initiates a call request through the first access network using the first SIM card; then, under the condition that the call request initiated through the first access network fails, the first electronic device determines to initiate the call request by using the data service of the third SIM card or send a short message through a short message channel of the third SIM card according to the service state of the data service of the third SIM card and the call request initiated based on the data service of the third SIM card. Therefore, the first electronic device can flexibly select to initiate a call request through the internet or send a short message through a short message channel according to whether the third SIM card establishes a data service. Therefore, the help seeking mode is enriched, the situation that the calling is stopped after the calling request initiated by the first SIM card through the first access network fails is avoided, the successful calling probability is increased, the rescue probability of the user is improved, and the risk of the user is reduced.
Optionally, in this embodiment of the application, the second electronic device may further include a fourth SIM card. In the case that both initiating a call and sending a short message through the third SIM card fail, the call method provided in the embodiment of the present application may further include the following step 108.
And step 108, the first electronic device controls the first SIM card to reestablish the D2D connection with the fourth SIM card, and reinitiates the call request or sends the short message through the fourth SIM card.
Optionally, in this embodiment of the application, the second electronic device may also include a third SIM card and a fourth SIM card, and in a case that the first SIM card of the first electronic device is connected to the third SIM card D2D of the second electronic device, and the call initiation or the short message sending through the third SIM card fails, the first electronic device may control the first SIM card to disconnect from the D2D of the third SIM card, and reestablish the D2D connection with the fourth SIM card. Then, the first SIM card may reinitiate the call request or send the short message through the fourth SIM card that reestablishes the connection.
It should be noted that, in this embodiment of the application, the specific step of reinitiating the call request or sending the short message through the fourth SIM card may refer to the specific implementation of initiating the call request or sending the short message through the first SIM card, that is, refer to the steps 103c to 103 e.
It is understood that, in the case that the second electronic device includes a plurality of SIM cards, when the SIM card connected to the first electronic device D2D of the second electronic device fails to initiate a call and send a short message, the first electronic device may reestablish a D2D connection with another SIM card of the second electronic device, and reinitiate a call request or send a short message through the other SIM card. Therefore, the SIM card in the second electronic equipment connected with the D2D is changed in an attempt, so that the call channel is changed, the success probability of the call is increased, the rescue probability of the user is improved, and the risk of the user is reduced.
It should be noted that, in the calling method provided in the embodiment of the present application, the execution subject may be a calling device, or a control module in the calling device for executing the calling method. In the embodiment of the present application, a method for a calling device to execute a call is taken as an example, and the device provided in the embodiment of the present application is described.
As shown in fig. 4, the present embodiment provides a calling device 400. The calling device 400 may include: a detection module 401 and a processing module 402. The detecting module 401 may be configured to detect, when a first electronic device establishes a connection with a second electronic device through a device-to-device D2D technology, a service state of a first SIM card in the first electronic device based on an IMS of a network of the second electronic device. The processing module 402 may be configured to initiate a call request by using the first SIM card through the second electronic device in a case where the first SIM card has an IMS service. The processing module 402 may be further configured to detect a service state of the data service of the second electronic device and initiate a call request or send a short message through the second electronic device when the first SIM card does not have the IMS service or the first SIM card with the IMS service fails to initiate the call request.
Optionally, in this embodiment of the application, the processing module 402 may be specifically configured to initiate a call request by using a data service of the second electronic device if the second electronic device has established the data service; and if the second electronic equipment does not establish the data service or the second electronic equipment using the established data service fails to initiate the call request, the first SIM card is used for sending the short message through the second electronic equipment.
Optionally, with reference to fig. 4, as shown in fig. 5, the first electronic device further includes a second SIM card, where the second SIM card is different from the first SIM card; the calling device 400 further includes: a display module 403 and a receiving module 404. The display module 403 may be configured to display first prompt information on an interface of the first electronic device when the first SIM card fails to initiate a call and send a short message through the second electronic device, where the first prompt information is used to prompt a user to switch the first SIM card to the second SIM card. The receiving module 404 may be configured to receive a first input of first prompt information. The processing module 402 may be further configured to, in response to the first input, reestablish the D2D connection with the second electronic device through the switched second SIM card, and reinitiate the call request or send the short message through the second electronic device.
Optionally, in this embodiment of the application, the second electronic device includes a third SIM card; the first SIM card establishes a connection D2D with the third SIM card. The processing module 402 may be further configured to determine a first access network according to the wireless access type of the third SIM card before detecting the service status of the data service of the second electronic device, and initiate a call request through the first access network using the first SIM card. The detecting module 401 may be specifically configured to detect a service state of the data service of the third SIM card when the call request initiated by the first access network fails. The processing module 402 may be specifically configured to initiate a call request through the data service of the third SIM card if the data service is already established by the third SIM card; and if the third SIM card does not establish the data service or the call request initiated based on the data service of the third SIM card fails, sending the short message through the third SIM card.
Optionally, in this embodiment of the application, the second electronic device further includes a fourth SIM card. The processing module 402 may be further configured to, when initiating a call and sending a short message through the third SIM card both fail, control the first SIM card and the fourth SIM card to reestablish the D2D connection, and reinitiate a call request or send a short message through the fourth SIM card.
The calling device in the embodiment of the present application may be a functional entity and/or a functional module in an electronic device, which executes a calling method, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The calling device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The calling device provided in the embodiment of the present application can implement each process implemented by the calling device in the method embodiments of fig. 1 to fig. 5, and is not described herein again to avoid repetition.
The embodiment of the application provides a calling device, which detects the service state of an IMS (IP multimedia subsystem) of a first SIM card in first electronic equipment based on a network of second electronic equipment under the condition that the first electronic equipment establishes connection with the second electronic equipment through a device-to-device D2D technology; under the condition that the first SIM card has IMS service, initiating a call request through the second electronic equipment by using the first SIM card; and under the condition that the first SIM card does not have the IMS service or the first SIM card with the IMS service fails to initiate the call request, detecting the service state of the data service of the second electronic equipment, and initiating the call request or sending a short message through the second electronic equipment. By the method, the first electronic equipment can establish connection with the second electronic equipment through the D2D technology, and when the first SIM card has the IMS service, a call request is initiated through the second electronic equipment by using the first SIM card; and when the first SIM card does not have the IMS service or the first SIM card with the IMS service fails to initiate the call request, initiating the call request or sending a short message through the network of the second electronic equipment. That is, when the calling device cannot be connected to the network, the second electronic device may be connected through D2D, and the call request or the short message may be indirectly transmitted using the second electronic device as an intermediate route. Therefore, the phenomenon that the user cannot be rescued in time due to the call failure caused by network abnormity can be effectively avoided, and the rescue probability of the user is improved.
Optionally, as shown in fig. 6, an electronic device 600 is further provided in this embodiment of the present application, and includes a processor 601, a memory 602, and a program or an instruction stored in the memory 602 and executable on the processor 601, where the program or the instruction is executed by the processor 601 to implement each process of the foregoing calling method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 2000 includes, but is not limited to: a radio frequency unit 2001, a network module 2002, an audio output unit 2003, an input unit 2004, a sensor 2005, a display unit 2006, a user input unit 2007, an interface unit 2008, a memory 2009, and a processor 2010.
Among other things, the input unit 2004 may include a graphic processor 20041 and a microphone 20042, the display unit 2006 may include a display panel 20061, the user input unit 2007 may include a touch panel 20071 and other input devices 20072, and the memory 2009 may be used to store software programs (e.g., an operating system, an application program required for at least one function), and various data.
Those skilled in the art will appreciate that the electronic device 2000 may further include a power supply (e.g., a battery) for supplying power to various components, and the power supply may be logically connected to the processor 2010 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The radio frequency unit 2001 may be configured to detect a service state of the first SIM card in the first electronic device based on the IMS of the network of the second electronic device when the first electronic device establishes a connection with the second electronic device through a device-to-device D2D technology. The processor 2010 may be configured to initiate a call request using the first SIM card through the second electronic device in a case where the first SIM card has the IMS service. The processor 2010 may be further configured to detect a service state of the data service of the second electronic device and initiate a call request or send a short message through the second electronic device when the first SIM card does not have the IMS service or the first SIM card with the IMS service fails to initiate the call request.
The embodiment of the application provides an electronic device, which detects a service state of a first SIM card in a first electronic device based on an IMS of a network of a second electronic device when the first electronic device establishes a connection with the second electronic device through a device-to-device D2D technology; under the condition that the first SIM card has IMS service, initiating a call request through the second electronic equipment by using the first SIM card; and under the condition that the first SIM card does not have the IMS service or the first SIM card with the IMS service fails to initiate the call request, detecting the service state of the data service of the second electronic equipment, and initiating the call request or sending a short message through the second electronic equipment. By the method, the first electronic equipment can establish connection with the second electronic equipment through the D2D technology, and when the first SIM card has the IMS service, a call request is initiated through the second electronic equipment by using the first SIM card; and when the first SIM card does not have the IMS service or the first SIM card with the IMS service fails to initiate the call request, initiating the call request or sending a short message through the network of the second electronic equipment. That is, when the first electronic device cannot be connected to the network, the second electronic device may be connected through D2D and the call request or the short message may be indirectly transmitted using the second electronic device as an intermediate route. Therefore, the phenomenon that the user cannot be rescued in time due to the call failure caused by network abnormity can be effectively avoided, and the rescue probability of the user is improved.
Optionally, in this embodiment of the application, the processor 2010 may be specifically configured to, if the second electronic device has established the data service, initiate a call request using the data service of the second electronic device; and if the second electronic equipment does not establish the data service, the first SIM card is used for sending the short message through the second electronic equipment.
It can be understood that, in the case that the second electronic device has established the data service, the first electronic device may initiate a call request through the data service; in the case that the second electronic device does not establish the data service, or the second electronic device using the established data service fails to initiate the call request, the first electronic device may use the first SIM card to send the short message through the second electronic device. Therefore, the first electronic equipment can flexibly select to initiate a call request through the Internet or send a short message through a short message channel according to whether the second electronic equipment establishes a data service. Therefore, the help seeking modes are enriched, the probability of successful calling is increased, the rescue probability of the user is further improved, and the risk of the user is reduced.
Optionally, in this embodiment of the application, the first electronic device further includes a second SIM card, where the second SIM card is different from the first SIM card. The display unit 2006 is configured to display first prompt information on an interface of the first electronic device when the first SIM card fails to initiate a call and send a short message through the second electronic device, where the first prompt information is used to prompt a user to switch the first SIM card to the second SIM card. The user input unit 2007 may be used to receive a first input of the first prompt information. The processor 2010 may be further configured to, in response to the first input, reestablish the D2D connection with the second electronic device through the switched second SIM card, and reinitiate the call request or send the short message through the second electronic device.
It can be understood that, in the case that the second electronic device fails to initiate a call or send a short message by using the first SIM card, the electronic device may display the first prompt information, and according to the operation of the user on the first prompt information, trigger the electronic device to switch the first SIM card of the first electronic device to the second SIM card, and re-establish a connection with the second electronic device based on D2D, and initiate a call request or send a short message by using an IMS service, a data service, and the like of the second electronic device through the newly established D2D connection. Therefore, the user can manually control the switching of the SIM cards to continue calling according to the calling result feedback of the first electronic device, so that the probability of successful calling is increased by trying different SIM cards to call, the rescue probability of the user is further improved, and the risk of the user is reduced.
Optionally, in this embodiment of the application, the second electronic device includes a third SIM card; the first SIM card establishes a connection D2D with the third SIM card. The processor 2010 may be further configured to determine a first access network according to the wireless access type of the third SIM card before detecting the service status of the data service of the second electronic device, and initiate a call request through the first access network using the first SIM card. The radio frequency unit 2001 may be specifically configured to detect a service state of the data service of the third SIM card when the call request initiated by the first access network fails. The processor 2010 may be specifically configured to initiate a call request through the data service of the third SIM card if the data service is already established by the third SIM card; and if the third SIM card does not establish the data service or the call request initiated based on the data service of the third SIM card fails, sending the short message through the third SIM card.
It can be understood that, in the case that the first SIM card does not have the IMS service, the first electronic device determines the first access network according to the wireless access type of the third SIM card, and initiates a call request through the first access network using the first SIM card; then, under the condition that the call request initiated through the first access network fails, the first electronic device determines to initiate the call request by using the data service of the third SIM card or send a short message through a short message channel of the third SIM card according to the service state of the data service of the third SIM card and the call request initiated based on the data service of the third SIM card. Therefore, the first electronic device can flexibly select to initiate a call request through the internet or send a short message through a short message channel according to whether the third SIM card establishes a data service. Therefore, the help seeking mode is enriched, the situation that the calling is stopped after the calling request initiated by the first SIM card through the first access network fails is avoided, the successful calling probability is increased, the rescue probability of the user is improved, and the risk of the user is reduced.
Optionally, in this embodiment of the application, the second electronic device further includes a fourth SIM card. The processor 2010 may be further configured to, in a case that initiating a call and sending a short message through the third SIM card both fail, control the first SIM card and the fourth SIM card to reestablish the D2D connection, and reinitiate a call request or send a short message through the fourth SIM card.
It is understood that, in the case that the second electronic device includes a plurality of SIM cards, when the SIM card connected to the first electronic device D2D of the second electronic device fails to initiate a call and send a short message, the first electronic device may reestablish a D2D connection with another SIM card of the second electronic device, and reinitiate a call request or send a short message through the other SIM card. Therefore, the SIM card in the second electronic equipment connected with the D2D is changed in an attempt, so that the call channel is changed, the success probability of the call is increased, the rescue probability of the user is improved, and the risk of the user is reduced.
The beneficial effects of the various implementation manners in this embodiment may specifically refer to the beneficial effects of the corresponding implementation manners in the above method embodiments, and are not described herein again to avoid repetition.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned calling method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above-mentioned call method embodiment, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (11)

1. A method for calling, the method comprising:
detecting a service state of a first SIM card in a first electronic device based on an IMS of a network of a second electronic device, in a case where the first electronic device establishes a connection with the second electronic device through a device-to-device D2D technology;
initiating a call request through the second electronic equipment by using the first SIM card under the condition that the first SIM card has an IMS service;
and under the condition that the first SIM card does not have IMS service or the first SIM card with the IMS service fails to initiate the call request, detecting the service state of the data service of the second electronic equipment, and initiating the call request or sending a short message through the second electronic equipment.
2. The method of claim 1, wherein the initiating a call request or sending a short message by the second electronic device comprises:
if the second electronic equipment establishes the data service, initiating a call request by using the data service of the second electronic equipment;
and if the second electronic equipment does not establish the data service or the second electronic equipment using the established data service fails to initiate the call request, using the first SIM card to send the short message through the second electronic equipment.
3. The method of claim 1, wherein the first electronic device further comprises a second SIM card, the second SIM card being different from the first SIM card;
under the condition that the first SIM card fails to initiate a call and send a short message through the second electronic equipment, displaying first prompt information on an interface of the first electronic equipment, wherein the first prompt information is used for prompting a user to switch the first SIM card into the second SIM card;
receiving a first input of the first prompt message;
responding to the first input, reestablishing the D2D connection with the second electronic equipment through the switched second SIM card, and reinitiating a call request or sending a short message through the second electronic equipment.
4. The method of claim 1, wherein the second electronic device comprises a third SIM card; the first SIM card establishes a connection D2D connection with the third SIM card;
before the detecting the service state of the data traffic of the second electronic device, the method further includes:
determining a first access network according to the wireless access type of the third SIM card, and initiating a call request through the first access network by using the first SIM card;
the detecting the service state of the data service of the second electronic device and initiating a call request or sending a short message through the second electronic device includes:
detecting a service state of a data service of the third SIM card under the condition that the call request initiated by the first access network fails;
if the third SIM card establishes the data service, initiating a call request through the data service of the third SIM card;
and if the third SIM card does not establish the data service or the call request initiated based on the data service of the third SIM card fails, sending the short message through the third SIM card.
5. The method of claim 4, wherein the second electronic device further comprises a fourth SIM card; under the condition that the call initiation and the short message sending through the third SIM card both fail, the method further comprises the following steps:
and controlling the first SIM card and the fourth SIM card to reestablish the D2D connection, and reinitiating a call request or sending a short message through the fourth SIM card.
6. A calling device, the device comprising: the device comprises a detection module and a processing module;
the detection module is used for detecting the service state of the first SIM card in the first electronic equipment based on the IMS of the network of the second electronic equipment under the condition that the first electronic equipment establishes connection with the second electronic equipment through a device-to-device D2D technology;
the processing module is configured to initiate a call request through the second electronic device by using the first SIM card when the first SIM card has an IMS service;
the processing module is further configured to detect a service state of a data service of the second electronic device and initiate a call request or send a short message through the second electronic device when the first SIM card does not have an IMS service or the first SIM card with an IMS service fails to initiate a call request.
7. The apparatus according to claim 6, wherein the processing module is specifically configured to initiate a call request using the data service of the second electronic device if the data service has been established by the second electronic device; and if the second electronic equipment does not establish the data service or the second electronic equipment using the established data service fails to initiate the call request, using the first SIM card to send the short message through the second electronic equipment.
8. The apparatus of claim 6, wherein the first electronic device further comprises a second SIM card, the second SIM card different from the first SIM card; the calling device further comprises: a display module and a receiving module;
the display module is configured to display first prompt information on an interface of the first electronic device when the first SIM card fails to initiate a call and send a short message through the second electronic device, where the first prompt information is used to prompt a user to switch the first SIM card to the second SIM card;
the receiving module is used for receiving a first input of the first prompt message;
the processing module is further configured to, in response to the first input, reestablish a D2D connection with the second electronic device through the switched second SIM card, and reinitiate a call request or send a short message through the second electronic device.
9. The apparatus of claim 6, wherein the second electronic device comprises a third SIM card; the first SIM card establishes a connection D2D connection with the third SIM card;
the processing module is further configured to determine a first access network according to the wireless access type of the third SIM card before detecting the service state of the data service of the second electronic device, and initiate a call request through the first access network using the first SIM card;
the detection module is specifically configured to detect a service state of a data service of the third SIM card in a case where the call request initiated through the first access network fails;
the processing module is specifically configured to initiate a call request through the data service of the third SIM card if the data service has been established by the third SIM card; and if the third SIM card does not establish the data service or the call request initiated based on the data service of the third SIM card fails, sending the short message through the third SIM card.
10. The apparatus of claim 9, wherein the second electronic device further comprises a fourth SIM card;
the processing module is further configured to control the first SIM card and the fourth SIM card to reestablish the D2D connection, and reinitiate a call request or send a short message through the fourth SIM card, when both initiating a call and sending a short message through the third SIM card fail.
11. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the calling method according to any one of claims 1 to 5.
CN202110570791.1A 2021-05-25 2021-05-25 Calling method and device and electronic equipment Active CN113365234B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110570791.1A CN113365234B (en) 2021-05-25 2021-05-25 Calling method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110570791.1A CN113365234B (en) 2021-05-25 2021-05-25 Calling method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN113365234A true CN113365234A (en) 2021-09-07
CN113365234B CN113365234B (en) 2022-12-13

Family

ID=77527376

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110570791.1A Active CN113365234B (en) 2021-05-25 2021-05-25 Calling method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113365234B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022194212A1 (en) * 2021-03-18 2022-09-22 维沃移动通信有限公司 Calling method and apparatus and electronic device
CN115190468A (en) * 2022-09-09 2022-10-14 荣耀终端有限公司 Redialing method and terminal equipment
WO2023241613A1 (en) * 2022-06-16 2023-12-21 维沃移动通信有限公司 Call establishment method, device and system, terminal, and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110933657A (en) * 2019-11-04 2020-03-27 Oppo(重庆)智能科技有限公司 Dialing method and device in emergency state, storage medium and electronic equipment
CN111010677A (en) * 2019-12-20 2020-04-14 展讯通信(上海)有限公司 Callback method, callback device, electronic equipment and storage medium
CN111052780A (en) * 2018-03-29 2020-04-21 华为技术有限公司 SIM card authentication method and terminal
WO2020155013A1 (en) * 2019-01-31 2020-08-06 华为技术有限公司 Emergency calling method and user terminal
US20210153087A1 (en) * 2019-11-19 2021-05-20 Qualcomm Incorporated Techniques for radio access technology (rat) fallback in wireless communications

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111052780A (en) * 2018-03-29 2020-04-21 华为技术有限公司 SIM card authentication method and terminal
WO2020155013A1 (en) * 2019-01-31 2020-08-06 华为技术有限公司 Emergency calling method and user terminal
CN110933657A (en) * 2019-11-04 2020-03-27 Oppo(重庆)智能科技有限公司 Dialing method and device in emergency state, storage medium and electronic equipment
US20210153087A1 (en) * 2019-11-19 2021-05-20 Qualcomm Incorporated Techniques for radio access technology (rat) fallback in wireless communications
CN111010677A (en) * 2019-12-20 2020-04-14 展讯通信(上海)有限公司 Callback method, callback device, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
朱剑驰等: "物联网无线接入技术研究", 《物联网学报》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022194212A1 (en) * 2021-03-18 2022-09-22 维沃移动通信有限公司 Calling method and apparatus and electronic device
WO2023241613A1 (en) * 2022-06-16 2023-12-21 维沃移动通信有限公司 Call establishment method, device and system, terminal, and readable storage medium
CN115190468A (en) * 2022-09-09 2022-10-14 荣耀终端有限公司 Redialing method and terminal equipment
CN115190468B (en) * 2022-09-09 2023-02-21 荣耀终端有限公司 Redialing method and terminal equipment

Also Published As

Publication number Publication date
CN113365234B (en) 2022-12-13

Similar Documents

Publication Publication Date Title
US11843721B2 (en) Method and terminal for supporting voice service and data service simultaneously
CN113365234B (en) Calling method and device and electronic equipment
EP3337245B1 (en) Method and apparatus for handling abnormality of network communication function and storage medium
WO2021057526A1 (en) Disaster recovery method for gateway device, and communication device
US9609497B2 (en) Intelligent emergency session handling
EP3399801B1 (en) Voice call processing method and terminal device
CN113543281B (en) Voice communication method and voice communication device
WO2023125142A1 (en) Voice access method and terminal device
WO2022194002A1 (en) Voice service handover method, device, and user equipment
CN110337826B (en) Network switching resource determining method and network switching resource configuration method
CN109743760B (en) Game interference processing method and device and mobile terminal
WO2022194212A1 (en) Calling method and apparatus and electronic device
WO2023030384A1 (en) Ims network registration method and apparatus, and electronic device
CN114980066B (en) Voice call method and device and electronic equipment
US11082826B2 (en) Emergency communication method and apparatus
CN108476465B (en) CSFB network holding method and user terminal
CN111669818B (en) Wi-Fi control method and device and electronic equipment
US20220225473A1 (en) Network switching resource determining method and network switching resource configuration method
WO2024078493A1 (en) Paging method and apparatus, and electronic device and storage medium
WO2023174321A1 (en) Voice service implementation method, apparatus, and terminal
WO2022268012A1 (en) Resource processing method and apparatus, electronic device, and storage medium
WO2023185929A1 (en) Resource control method and apparatus, terminal, and network side device
WO2024022389A1 (en) Cell connection method and apparatus, and related device
WO2022198417A1 (en) Information sending method and apparatus, and information receiving method and apparatus
WO2023241614A1 (en) Ims service acquisition method and terminal, network device and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant