[go: up one dir, main page]

WO2022194212A1 - Calling method and apparatus and electronic device - Google Patents

Calling method and apparatus and electronic device Download PDF

Info

Publication number
WO2022194212A1
WO2022194212A1 PCT/CN2022/081209 CN2022081209W WO2022194212A1 WO 2022194212 A1 WO2022194212 A1 WO 2022194212A1 CN 2022081209 W CN2022081209 W CN 2022081209W WO 2022194212 A1 WO2022194212 A1 WO 2022194212A1
Authority
WO
WIPO (PCT)
Prior art keywords
sim card
network
call request
initiate
call
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.)
Ceased
Application number
PCT/CN2022/081209
Other languages
French (fr)
Chinese (zh)
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
Publication of WO2022194212A1 publication Critical patent/WO2022194212A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/60Subscription-based services using application servers or record carriers, e.g. SIM application toolkits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1016IP multimedia subsystem [IMS]
    • 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
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service

Definitions

  • the embodiments of the present application relate to the field of communication technologies, and in particular, to a calling method, an apparatus, and an electronic device.
  • the call may fail due to an abnormal connection between the SIM card used by the user and the network where the user is located, or the electronic device may switch networks autonomously during the call to ensure the continuity of the call (for example, Call interruption caused by switching the ongoing voice call service to 2G or 3G network).
  • the failure of the call connection or the interruption of the call may result in the user not being able to receive timely rescue and suffering security risks.
  • the purpose of the embodiments of the present application is to provide a calling method, device and electronic device, which can solve the problem that during an emergency call, the failure of the call connection or the interruption of the call may cause the user to not be rescued in time and suffer security risks.
  • an embodiment of the present application provides a calling method, the method includes: detecting a service state of a first SIM card in at least one SIM card; in the case that the first SIM card has an IMS service, using the first SIM card A SIM card initiates a call request through IMS; if the first SIM card has no IMS service, determine the target access network according to the wireless access type of the first SIM card, and use the first SIM card to pass the target access network into the network to initiate a call request.
  • an embodiment of the present application provides a calling device, which includes: a detection module and a processing module.
  • a detection module for detecting the service status of a first SIM card in at least one SIM card; a processing module for using the first SIM card to initiate a call request through IMS when the first SIM card has IMS services;
  • the processing module is further configured to determine a target access network according to the wireless access type of the first SIM card when the first SIM card does not have an IMS service, and use the first SIM card to initiate an access network through the target access network call request.
  • an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor.
  • the program or instruction is executed by the processor, the The steps of the method of the first aspect.
  • an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method of the first aspect are implemented.
  • an embodiment of the present application 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 run a program or an instruction to implement the method of the first aspect.
  • the electronic device can detect the service status of the first SIM card in the at least one SIM card; in the case that the first SIM card has the IMS service, use the first SIM card to initiate a call request through the IMS; In the case that the first SIM card has no IMS service, a target access network is determined according to the wireless access type of the first SIM card, and a call request is initiated through the target access network using the first SIM card.
  • the electronic device can detect the service status of the first SIM card in the at least one SIM card, and respectively initiate emergency call requests according to whether it has IMS services, that is, when there are IMS services, directly send the call requests through the IMS; When there is no IMS service, use the target access network determined by the wireless access type of the first SIM card to initiate a call request.
  • a SIM card can try to initiate a call request through multiple channels in turn, increasing the probability of establishing a call, thereby effectively avoiding the situation where the user cannot be rescued in time due to failure of the call connection or interruption of the call, and improving the probability of the user being rescued.
  • FIG. 1 is one of the schematic diagrams of a calling method provided by an embodiment of the present application
  • FIG. 2 is the second schematic diagram of a calling method provided by an embodiment of the present application.
  • FIG. 3 is a schematic diagram of the operation of an electronic device on the first prompt information provided by an embodiment of the present application
  • FIG. 4 is one of the schematic structural diagrams of a calling device according to an embodiment of the present application.
  • FIG. 5 is the second schematic structural diagram of a calling device provided by an embodiment of the present application.
  • FIG. 6 is one of the schematic hardware diagrams of the electronic device provided by the embodiment of the present application.
  • FIG. 7 is the second schematic diagram of the hardware of the electronic device provided by the embodiment of the present application.
  • first”, “second” and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that data so used may be interchanged under appropriate circumstances so that embodiments of the application can be practiced in sequences other than those illustrated or described herein.
  • the objects distinguished by “first”, “second”, etc. are usually one type, and the number of objects is not limited.
  • the first object may be one or more than one.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the associated objects are in an "or” relationship.
  • an embodiment of the present application provides a calling method, and the method may include the following steps 101 to 103 .
  • Step 101 The electronic device detects the service status of a first SIM card in at least one SIM card.
  • SIM subscriber identity module
  • GSM global system for mobile communications
  • CDMA code division multiple access
  • WCDMA wideband code division multiple access
  • an IP Multimedia Subsystem is a network architecture of a brand-new multimedia service form.
  • IMS IP Multimedia Subsystem
  • IMS can be used by a variety of networks based on registration.
  • the above-mentioned IMS registration information includes the SIM card having IMS capabilities and the services that are allowed to be used, and the like.
  • a voice service with long term evolution voice over long term evolution, VoLTE
  • a voice service based on a wireless local area network voice over wireless fidelity, VoWIFI
  • the electronic device can initiate an IMS network registration process.
  • the SIM card inserted in the electronic device is a SIM card with IMS capabilities (eg, VoLTE or VoWIFI)
  • the call module in the electronic device can initiate an IMS network attachment and registration process.
  • the embodiment of the present application detects the registration information of the IMS of the first SIM card, which is mainly used to determine whether the first SIM card is allowed to use the VoLTE or VoWIFI service.
  • the service status of a SIM card includes two statuses: with IMS service and without IMS service.
  • having an IMS service means that the SIM card can initiate a call request based on the IMS, for example, is allowed to initiate a call request by using the VoLTE or VoWIFI service.
  • No IMS service means that the SIM card cannot initiate a call request based on IMS.
  • VoLTE or VoWIFI can establish a call more quickly.
  • the above-mentioned at least one SIM card may also include other SIM cards other than the first SIM card, such as the third SIM card in the following steps.
  • the execution manner in the case where at least one SIM card is multi-card reference may be made to the following steps 112 to 114, which will not be repeated here.
  • Step 102 In the case that the first SIM card has the IMS service, use the first SIM card to initiate a call request through the IMS.
  • initiating a call request means that the electronic device can use the first SIM card to initiate a call request to the emergency call number through the IMS.
  • the emergency call number is the number of the called party, for example, numbers such as 110, 120, and 119 dialed for initiating an emergency call.
  • Step 103 In the case that the first SIM card has no IMS service, determine the target access network according to the wireless access type of the first SIM card, and use the first SIM card to initiate a call request through the target access network.
  • the above-mentioned target access network is a network associated with the wireless access type of the first SIM card.
  • the above-mentioned target access network is a network associated with the wireless access type of the first SIM card.
  • it includes the following two types: the first type, a network corresponding to the wireless access type of the first SIM card (ie, the following first network); the second type, the first SIM card other than the first network can access other network (ie, the second network described below).
  • the wireless access type of the SIM card can directly determine the corresponding first network. For example, if the SIM card is a mobile network, the first network can only be GSM.
  • the first SIM card is a mobile network
  • the first network is GSM
  • the second network is CDMA and WCDMA
  • these three networks are all target access networks.
  • the first SIM card is a China Unicom network
  • the first network is WCDMA
  • the second network is CDMA and GSM
  • these three networks are also target access networks.
  • the target access network when there are multiple access networks, the target access network may be determined according to a preset sequence.
  • the preset order can be any of the following: 1.
  • the first network has a higher priority than the second network and is used first; 2.
  • the multiple second networks can be sorted according to network signal strength, network signal stability, etc. Access in turn.
  • a possible way of determining the target access network is: determining the first network as the target access network, or determining the second network with the highest signal strength as the target access network.
  • step 104 in the case that the electronic device successfully initiates a call by performing the above step 102 or step 103, the following step 104 is performed.
  • Step 104 the electronic device establishes an emergency call.
  • the user can send rescue information, make a rescue call, etc. through the established emergency call channel.
  • the server may parse the economic call request of the electronic device to obtain the first sub-information and the second sub-information.
  • the first sub-information includes the number of the electronic device (ie, the calling number) and the instance identifier;
  • the second sub-information includes the emergency call number (ie, the called number) and the location information of the electronic device corresponding to the calling number. In this way, the location of the user can be quickly determined, which is convenient for rescue.
  • step 105 in the case that the electronic device fails to initiate a call by performing the above steps 102 and 103, the following step 105 may be performed.
  • Step 105 The electronic device dials the area code before the emergency call number, and re-initiates the call request.
  • the electronic device may use the target location information of the electronic device (refer to the specific steps in step 115 below), and combine the target location (indicated by the target location information) with the target location information according to the target location information.
  • the area code corresponding to the location) is determined as the area code to be dialed.
  • the electronic device may also determine the area code to be dialed according to the user's previous travel track. Specifically, the electronic device determines the current location (for example, determines the end of the track as the current location) according to the user's travel trajectory obtained before, and determines the area code to be dialed according to the area code corresponding to the current location.
  • an area code (eg, 010, 029, etc.) is added to the electronic device before the emergency call number (eg, 110, 120, etc.) call request. That is, the emergency call number added with the area code is replaced with the original emergency call number and the call operation is performed again, and the network and line used for the call operation continue to use the network and line of the original number. That is to say, after step 105 is performed, the electronic device returns to 101 for re-execution, that is, after step 105 , steps 101 to 103 are repeatedly performed.
  • step 102 or step 103 can be directly executed after step 105 (since the service status of the first SIM card has been judged, unnecessary steps can be omitted to improve execution speed).
  • the electronic device may add an area code before the emergency call number, and use the emergency call number with the dialed area code to re-initiate the call request. That is, the electronic device changes the default emergency call mode into a common call mode to initiate a call request again, thereby increasing the probability of a successful call, thereby increasing the rescue probability of the user, and reducing the risk to the user.
  • the embodiment of the present application provides a calling method, in which an electronic device can detect the service status of a first SIM card in at least one SIM card; when the first SIM card has an IMS service, use the first SIM card to initiate a call through IMS Call request; in the case that the first SIM card has no IMS service, determine the target access network according to the wireless access type of the first SIM card, and use the first SIM card to initiate a call request through the target access network.
  • the electronic device can detect the service status of the first SIM card in the at least one SIM card, and respectively initiate emergency call requests according to whether it has IMS services, that is, when there are IMS services, directly send the call requests through the IMS; When there is no IMS service, use the target access network determined by the wireless access type of the first SIM card to initiate a call request.
  • a SIM card can try to initiate a call request through multiple channels in turn, increasing the probability of establishing a call, thereby effectively avoiding the situation where the user cannot be rescued in time due to failure of the call connection or interruption of the call, and improving the probability of the user being rescued.
  • the above-mentioned target access network may be the first network corresponding to the wireless access type of the first SIM card.
  • the calling method provided by this embodiment of the present application may further include the following judgment step 106, and according to the judgment result of the step 106, the following step 107 or step 108 is performed.
  • Step 106 The electronic device determines the result of the call request initiated by the first SIM through the first network.
  • the result of the first SIM initiating the call request through the first network includes two types: call success and call failure.
  • the following step 107 is performed when the call succeeds, and the following step 108 is performed when the call fails.
  • Step 107 If the call request is successfully initiated through the first network using the first SIM card, the electronic device establishes the call through the first network.
  • the device can send rescue information, make a rescue call, etc. through the established emergency call channel.
  • the foregoing electronic device using the first SIM card to initiate a call request through the IMS means that the electronic device uses the first SIM card to initiate a call request through VoLTE or VoWIFI. As usual.
  • Step 108 If the first SIM card fails to initiate the call request through the first network, the electronic device switches the first network to the second network, and sends the call request through the second network.
  • the above-mentioned second network is a network associated with the wireless access type of the first SIM card and different from the first network.
  • the electronic device may perform the above step 105, and then perform step 108 again, that is, steps 106 to 106 Step 108 is described below. That is, after dialing the area code, use the second network to re-initiate the call request.
  • the SIM card 1 of the electronic device is a mobile card without IMS service (that is, the first network is GSM)
  • the electronic device if the electronic device fails to send a call request through the GSM network using the SIM card 1, the electronic device can After the network is switched, the call request is resent, that is, the GSM network is switched to the WCDMA network (ie, the second network), and the call request is sent through the WCDMA.
  • the electronic device fails to make a call request based on the first network through the first SIM card, the electronic device switches the first network to the second network in time, and continues to send through the first SIM card based on the second network. Therefore, by trying different networks, the probability of a successful call is increased, thereby increasing the probability of users being rescued and reducing user risks.
  • the calling method provided by the embodiment of the present application further includes the following steps 109 to 111 .
  • step 109 is performed after step 108 is performed, and in the case where the first SIM card fails to initiate a call through the above-mentioned first network and the above-mentioned second network.
  • Step 109 in the case where the first SIM card fails to initiate a call through the first network and the second network, display a first prompt message on the interface of the electronic device.
  • the above-mentioned first prompt message is used to prompt the user to replace the SIM card.
  • the display form of the first prompt message is not limited to text, pictures, videos, and combinations thereof.
  • the electronic device can display the first prompt message with other special effects or prompts, not limited to the vibration of the electronic device, the flickering of the breathing light, the display of special effects animations or pictures on the screen, etc., which can be determined according to the actual use requirements.
  • the application examples are not specifically limited.
  • the embodiment of the present application does not specifically limit the display position, display size, and specific display manner of the first prompt message, which may be determined according to actual usage requirements.
  • the failure to initiate a call through the first network and the second network by using the first SIM card means that within a threshold time period (for example, 20 seconds or 40 seconds), the call through the first network and the second network fails. Neither of the second networks has established an emergency call.
  • the above-mentioned replacing the SIM card refers to physically replacing the SIM card of the electronic device, or controlling the switching of the SIM card currently used by the electronic device.
  • the above-mentioned failure to initiate a call through the first network and the second network using the first SIM card means that the electronic device fails to initiate a call request through the first SIM card. It does not include the call method of using the first line to transfer to the second line in the following steps 115 to 118, and the call method of steps 115 to 118 is completed based on a dedicated line or a dedicated channel, and does not. Depends on what SIM card is used.
  • Step 110 Receive a first input.
  • the above-mentioned first input may be the input of the first prompt message.
  • the first input is used to trigger the electronic device to re-initiate the call request after replacing the first SIM card with the second SIM card.
  • the first input may be a touch input (eg, single-click, double-click, long-press, etc.) to the prompt message, a voice input to the electronic device, or a preset physical input to the electronic device key input.
  • touch input eg, single-click, double-click, long-press, etc.
  • Step 111 In response to the first input, re-initiate the call request through the second SIM card.
  • the above-mentioned second SIM card is a different SIM card from the first SIM card.
  • the steps of initiating a call request with reference to the first SIM card can be repeated, that is, the electronic device can use the first SIM card to initiate a call request repeatedly.
  • the operations in the foregoing steps 106 to 108 are performed in sequence.
  • the user can trigger the electronic device to repeatedly perform steps 109 to 111, Replacing the second SIM card with the fourth SIM card, the fifth SIM card, etc. in turn, initiates a call request again, until all the SIM cards without service are replaced in sequence. If the call fails after the execution is completed, the following steps 115 to 118 can be jumped to be executed.
  • FIG. 3 is a schematic diagram of the operation of the electronic device on the first prompt information.
  • the user uses the SIM card 1 of the electronic device to make a call to 120, and if the call is still not connected within 20 seconds (that is, the threshold duration), as shown in Figure 3, the call interface 001 of the electronic device displays prompt information 002 (that is, the first target Prompt message), the user can trigger the electronic device to replace the SIM card 1 with the SIM card 2 by clicking "OK" in the prompt message 002 to initiate dialing 120 again.
  • prompt information 002 that is, the first target Prompt message
  • the electronic device can display the first prompt information, and trigger the electronic device according to the user's operation on the first prompt information.
  • the device replaces the first SIM card with the second SIM card and re-initiates the call request. That is, the user can manually control the replacement of the SIM card to continue the call according to the call result feedback from the electronic device, thereby increasing the probability of a successful call by trying different SIM cards, thereby increasing the probability of the user being rescued and reducing the risk to the user.
  • the at least one SIM card includes a first SIM card and a third SIM card.
  • the calling method provided by this embodiment of the present application further includes the following step detection step 112, the electronic device may determine to execute the following step 113 according to the detection result (ie, the service status of the third SIM card), or, step 114a and step 114b, wherein , step 114a and step 114b may also be combined into step 114 for unified execution.
  • Step 112 After the first SIM card fails to initiate a call request through the IMS, the electronic device detects the service status of the third SIM card.
  • step 112 is directly executed, and when the third SIM card has the IMS service, step 113 is executed preferentially. That is, under the same conditions, the IMS can establish a call channel more quickly and stably (for example, when the network signal is good, a call can be established more quickly through VoLTE or VoWIFI), so it is preferred.
  • step of detecting the service state of the third SIM card is similar to the step of detecting the first SIM card, and reference may be made to the specific description in the above step 101, which will not be repeated here.
  • Step 113 In the case that the third SIM card has the IMS service, use the third SIM card to initiate a call request through the IMS.
  • IMS can be used with priority because it can establish a call channel more quickly and stably. Therefore, the electronic device can quickly traverse all the SIM cards in the electronic device, and use the SIM card with the SIM function to give priority to trying to initiate a call. Call request, so that an emergency call request can be established more quickly, thereby saving the user's time and improving the rescue probability of the user.
  • Step 114a in the case that the third SIM card does not have the IMS service, the electronic device determines the target SIM card.
  • the above-mentioned target SIM card is any one of the first SIM card and the third SIM card.
  • the above-mentioned determination of the target SIM card may adopt a random determination method. If there are multiple third SIM cards, the target SIM card is any one of the first SIM card and the multiple third SIM cards.
  • Step 114b the electronic device determines the target access network according to the wireless access type of the target SIM card, and uses the target SIM card to initiate a call request through the target access network.
  • the target access network may be determined with reference to the method in step 103 above.
  • the network corresponding to the wireless access type of the target SIM card ie, the first network
  • the target access network is preferentially determined as the target access network.
  • the electronic device has two SIM cards (eg, a first SIM card and a third SIM card)
  • SIM cards there are three groups of possible models according to whether the SIM cards have IMS services: the first group, both SIM cards There is IMS service; the second group, one SIM card has IMS service, the other has no IMS service; the third group, both SIM cards have no IMS service.
  • the execution process of the three groups of models is briefly described below:
  • Group 1 It is assumed that both the first SIM card and the third SIM card have IMS services.
  • step 101 and 102 perform steps 101 and 102, and use the first SIM card to initiate a call request through the IMS; if the execution result of step 102 fails, then perform steps 112 and 113, and use the third SIM card to initiate a call request through the IMS ; Next, in the case that the two SIM cards IMS fail to initiate the call request, step 114a and step 114b are executed.
  • the second group it is assumed that the first SIM card has IMS service, and the third SIM card has no IMS service.
  • step 101 and step 102 use the first SIM card to initiate a call request through the IMS; if the execution result of step 102 fails, then execute step 112 and step 114 (ie, step 114a and step 114b).
  • the third group it is assumed that neither the first SIM nor the third SIM has IMS service.
  • step 101 and step 103 are performed, and the first SIM card initiates a call request through the target access network; then step 112 and step 114 (ie, step 114a and step 114b) are performed, that is, after the target SIM card is determined, the target access is re-determined network and initiate a call request.
  • the electronic device can initiate a call request in multiple ways according to whether the first SIM card and the third SIM have IMS services.
  • the SIM card with the SIM function is preferentially used to initiate a call request, so that an emergency call request can be established more quickly, thereby saving the user's time and increasing the probability of the user being rescued.
  • a call request can be initiated through the target access network, thus ensuring that the call request is initiated through multiple channels, thereby increasing the probability of a successful call and improving the probability of a user being rescued.
  • the calling method further includes the following steps 115 to 118 .
  • Step 115 In the case that the call request initiated by using at least one SIM card through the IMS and/or the target access network fails, the electronic device acquires the target location information of the user.
  • the above method of acquiring the target position may be determined according to a built-in position sensor of the electronic device, or may be determined according to the signal position of the electronic device connected to the base station, or other positioning methods may be used.
  • the embodiments of the present application are not specifically limited, and reference may be made to related technologies.
  • Step 116 The electronic device initiates a call request through the first line, and sends target location information.
  • the above-mentioned first line is a line provided by an electronic equipment service provider.
  • the electronic device when the electronic device initiates a call request through the first line, the electronic device sends a message to a server (for example, a server of an electronic device service provider, or a server of an emergency call center entrusted by the service provider)
  • a server for example, a server of an electronic device service provider, or a server of an emergency call center entrusted by the service provider
  • the first target information where the first target information includes the position information (ie, target position information) of the electronic device corresponding to the called number and the calling number.
  • the above-mentioned first line is a dedicated line or dedicated channel, and is generally only used for emergency calls. Specifically, it may be a line provided by an electronic equipment service provider, or may be a dedicated network line or dedicated channel created by a network service provider entrusted by the electronic equipment service provider.
  • Step 117 the electronic device receives the first information.
  • the above-mentioned first information is used to indicate a second line, and the second line is an emergency call line at the location of the user determined according to the target location information.
  • the above-mentioned second line may be an emergency call line at the location of the user determined by the target location information.
  • the second line may be an emergency rescue phone in area A where the user is located, or may be a rescue service center in area A, or the like.
  • the server matches the emergency rescue organization with the nearest location indicated by the target location information, and compares the communication mode (which may include: network, line, etc.) of the emergency rescue organization. , and its code) are sent to the electronic device through the first information.
  • the electronic device may transfer to the second line based on the first information to continue to initiate the call, or abandon the use of the first line to directly make a call through the second line.
  • Step 118 The electronic device transfers to the second line through the first line according to the first information and continues to initiate the call request.
  • the server may directly transfer the call request of the electronic device to the second line without sending the first information, thereby improving efficiency.
  • the connection may be interrupted through direct transfer by a third party, and thus the first line cannot be called in.
  • it may be decided to directly transfer or to transfer the first information according to the actual use requirement, which is not specifically determined in this embodiment of the present application.
  • the electronic device can also obtain the user's target location information, and send the target location information together when using the first line to initiate a call request, and the server can issue instructions to the electronic device to indicate the second line according to the target location information. the first information, and then the electronic device can transfer to the second line according to the first information to continue to initiate the call request. That is, the way the emergency call center (ie, the server) forwards the call can accurately determine the user's location and the corresponding emergency call line (ie, the second line), thereby increasing the probability of a successful call, thereby reducing user risks.
  • the emergency call center ie, the server
  • the executing subject may be a calling device, or a control module in the calling device for executing the calling method.
  • the device provided by the embodiment of the present application is described by taking the calling device executing the calling method as an example.
  • an embodiment of the present application provides a calling apparatus 400 .
  • the calling device 400 includes: a detection module 401 and a processing module 402 .
  • the detection module 401 can be used to detect the service status of the first SIM card in the at least one SIM card.
  • the processing module 402 may be configured to use the first SIM card to initiate a call request through the IMS when the first SIM card has an IMS service.
  • the processing module 402 is further configured to determine a target access network according to the wireless access type of the first SIM card when the first SIM card has no IMS service, and use the first SIM card to access the network through the target Initiate a call request.
  • the target access network is the first network corresponding to the wireless access type of the first SIM card.
  • the processing module 402 can also be used to use the first SIM card to initiate a call request through the first network, if the first SIM card is used to initiate a call request through the first network successfully, then establish a call through the first network; If the first SIM card fails to initiate a call request through the first network, the first network is switched to the second network, and the call request is sent through the second network.
  • the second network is a network associated with the wireless access type of the first SIM card and different from the first network.
  • the calling apparatus 400 further includes: a display module 403 and a receiving module 404 .
  • the display module 403 can be configured to display a first prompt message on the interface of the electronic device when the first SIM card fails to initiate a call through the first network and the second network.
  • the prompt message is used to prompt the user to replace the SIM card.
  • the receiving module 404 may be configured to receive the first input.
  • the processing module 402 may also be configured to, in response to the first input received by the receiving module 404, re-initiate the call request through a second SIM card, where the second SIM card is a different SIM card from the first SIM card.
  • At least one SIM card includes a first SIM card and a third SIM card.
  • the detection module 401 may also be configured to detect the service status of the third SIM card after the first SIM card fails to initiate a call request through the IMS.
  • the processing module 402 may also be configured to initiate a call request through the IMS by using the third SIM card when the third SIM card has the IMS service.
  • the processing module 402 may also be configured to determine a target SIM card when the third SIM card does not have the IMS service, where the target SIM card is any one of the first SIM card and the third SIM card.
  • the processing module 402 may also be configured to determine the target access network according to the wireless access type of the target SIM card, and use the target SIM card to initiate a call request through the target access network.
  • the calling apparatus 400 further includes: an acquisition module 405 and a transceiver module 406 .
  • the obtaining module 405 may be configured to obtain the target location information of the user in the case that the at least one SIM card fails to initiate a call request through the IMS and/or the target access network.
  • the processing module 402 is configured to initiate a call request through a first line, and send the target location information, where the first line is a line provided by an electronic equipment service provider.
  • the transceiver module 406 may also be configured to receive first information, where the first information is used to indicate a second line, where the second line is an emergency call line at the location of the user determined according to the target location information.
  • the processing module 402 may also be configured to transfer to the second line through the first line according to the first information to continue initiating the call request.
  • the calling apparatus in this embodiment of the present application may be a functional entity and/or a functional module that executes a calling method in an electronic device, and may also be a component, an integrated circuit, or a chip in a terminal.
  • the apparatus may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
  • non-mobile electronic devices can be servers, network attached storage (NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • the calling device in this embodiment of the present application may be a device having an operating system.
  • the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
  • the calling device provided by the embodiment of the present application can implement each process implemented by the calling device in the method embodiments of FIG. 1 to FIG. 3 , and to avoid repetition, details are not described here.
  • An embodiment of the present application provides a calling device, which can detect the service status of a first SIM card in at least one SIM card; when the first SIM card has an IMS service, use the first SIM card to pass IMS initiates a call request; if the first SIM card has no IMS service, determine the target access network according to the wireless access type of the first SIM card, and use the first SIM card to initiate a call through the target access network ask.
  • the calling device can detect the service status of the first SIM card in the at least one SIM card, and respectively initiate emergency call requests according to whether it has IMS services, that is, when IMS services are available, directly send the call request through the IMS; When there is no IMS service, use the target access network determined by the wireless access type of the first SIM card to initiate a call request.
  • a SIM card can try to initiate a call request through multiple channels in turn, increasing the probability of establishing a call, thereby effectively avoiding the situation where the user cannot be rescued in time due to failure of the call connection or interruption of the call, and improving the probability of the user being rescued.
  • an embodiment of the present application further provides an electronic device 600, including a processor 601, a memory 602, a program or instruction stored in the memory 602 and executable on the processor 601,
  • an electronic device 600 including a processor 601, a memory 602, a program or instruction stored in the memory 602 and executable on the processor 601,
  • the program or instruction is executed by the processor 601
  • each process of the above-mentioned calling method embodiments can be implemented, and the same technical effect can be achieved. To avoid repetition, details are not described here.
  • the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
  • 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, etc. part.
  • the input unit 2004 may include a graphics 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
  • the memory 2009 may be used to store software programs (eg, operating system, applications required for at least one function) and various data.
  • the electronic device 2000 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 2010 through a power management system, so that the power management system can manage charging, discharging, and power functions. consumption management and other functions.
  • a power source such as a battery
  • the structure of the electronic device shown in FIG. 7 does not constitute a limitation on the electronic device.
  • the electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .
  • the sensor 2005 may be used to detect the service status of the first SIM card in the at least one SIM card.
  • the processor 2010 may be configured to use the first SIM card to initiate a call request through the IMS when the first SIM card has an IMS service.
  • the processor 2010 is further configured to determine a target access network according to the wireless access type of the first SIM card when the first SIM card has no IMS service, and use the first SIM card to access the network through the target Initiate a call request.
  • An embodiment of the present application provides an electronic device, which can detect the service status of a first SIM card in at least one SIM card; when the first SIM card has an IMS service, use the first SIM card to initiate an IMS service Call request; in the case that the first SIM card has no IMS service, determine the target access network according to the wireless access type of the first SIM card, and use the first SIM card to initiate a call request through the target access network.
  • the electronic device can detect the service status of the first SIM card in the at least one SIM card, and respectively initiate emergency call requests according to whether it has IMS services, that is, when there are IMS services, directly send the call requests through the IMS; When there is no IMS service, use the target access network determined by the wireless access type of the first SIM card to initiate a call request.
  • a SIM card can try to initiate a call request through multiple channels in turn, increasing the probability of establishing a call, thereby effectively avoiding the situation where the user cannot be rescued in time due to failure of the call connection or interruption of the call, and improving the probability of the user being rescued.
  • the target access network is the first network corresponding to the wireless access type of the first SIM card.
  • the processor 2010 can also be configured to use the first SIM card to initiate a call request through the first network, if the first SIM card is used to initiate a call request through the first network successfully, then establish a call through the first network; If the first SIM card fails to initiate a call request through the first network, the first network is switched to the second network, and the call request is sent through the second network.
  • the second network is a network associated with the wireless access type of the first SIM card and different from the first network.
  • the electronic device fails to make a call request based on the first network through the first SIM card, the electronic device switches the first network to the second network in time, and continues to send through the first SIM card based on the second network. Therefore, by trying different networks, the probability of a successful call is increased, thereby increasing the probability of users being rescued and reducing user risks.
  • the display unit 2006 may be configured to display a display on the interface of the electronic device in the case that the first SIM card fails to initiate a call through the first network and the second network.
  • a first prompt message is displayed, where the first prompt message is used to prompt the user to replace the SIM card.
  • the user input unit 2007 can be used to receive the first input.
  • the processor 2010 may also be configured to re-initiate the call request through the second SIM card in response to the first input received by the user input unit 2007, where the second SIM card is a different SIM card from the first SIM card.
  • the electronic device can display the first prompt information, and trigger the electronic device according to the user's operation on the first prompt information.
  • the device replaces the first SIM card with the second SIM card and re-initiates the call request. That is, the user can manually control the replacement of the SIM card to continue the call according to the call result feedback from the electronic device, thereby increasing the probability of a successful call by trying different SIM cards, thereby increasing the probability of the user being rescued and reducing the risk to the user.
  • At least one SIM card includes a first SIM card and a third SIM card.
  • the sensor 2005 can also be used to detect the service status of the third SIM card after the first SIM card fails to initiate a call request through the IMS.
  • the processor 2010 may also be configured to use the third SIM card to initiate a call request through the IMS when the third SIM card has the IMS service.
  • the processor 2010 may also be configured to determine a target SIM card when the third SIM card does not have the IMS service, where the target SIM card is any one of the first SIM card and the third SIM card.
  • the processor 2010 may also be configured to determine the target access network according to the wireless access type of the target SIM card, and use the target SIM card to initiate a call request through the target access network.
  • the electronic device can initiate a call request in multiple ways according to whether the first SIM card and the third SIM have IMS services.
  • the SIM card with the SIM function is preferentially used to initiate a call request, so that an emergency call request can be established more quickly, thereby saving the user's time and increasing the probability of the user being rescued.
  • a call request can be initiated through the target access network, thus ensuring that the call request is initiated through multiple channels, thereby increasing the probability of a successful call and improving the probability of a user being rescued.
  • the senor 2005 may be configured to acquire the user's target location information in the case that the at least one SIM card fails to initiate a call request through the IMS and/or the target access network.
  • the processor 2010 is configured to initiate a call request through a first line, and send the target location information, where the first line is a line provided by an electronic equipment service provider.
  • the radio frequency unit 2001 may also be configured to receive first information, where the first information is used to indicate a second line, where the second line is an emergency call line at the location of the user determined according to the target location information.
  • the processor 2010 may also be configured to transfer to the second line through the first line according to the first information to continue to initiate a call request.
  • the electronic device can also obtain the user's target location information, and send the target location information together when using the first line to initiate a call request, and the server can issue instructions to the electronic device to indicate the second line according to the target location information. the first information, and then the electronic device can transfer to the second line according to the first information to continue to initiate the call request. That is, the way the emergency call center (ie, the server) forwards the call can accurately determine the user's location and the corresponding emergency call line (ie, the second line), thereby increasing the probability of a successful call, thereby reducing user risks.
  • the emergency call center ie, the server

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • Health & Medical Sciences (AREA)
  • Emergency Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Public Health (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

The present application relates to the technical field of communications, and discloses a calling method and apparatus and an electronic device. The method comprises: detecting a service status of a first SIM card in at least one SIM card; when the first SIM card has an IMS service, using the first SIM card to initiate a call request by means of an IMS; and when the first SIM card does not have an IMS service, determining a target access network according to a wireless access type of the first SIM card, and using the first SIM card to initiate a call request by means of the target access network.

Description

呼叫方法、装置及电子设备Calling method, device and electronic equipment

相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS

本申请主张在2021年03月18日在中国提交的中国专利申请号202110293017.0的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202110293017.0 filed in China on March 18, 2021, the entire contents of which are hereby incorporated by reference.

技术领域technical field

本申请实施例涉及通信技术领域,尤其涉及一种呼叫方法、装置及电子设备。The embodiments of the present application relate to the field of communication technologies, and in particular, to a calling method, an apparatus, and an electronic device.

背景技术Background technique

随着电子技术的发展,电子设备成为人们生活不可或缺一部分,用户可以随身携带电子设备以便随时实用。例如,在遇到紧急情况时,用户可以通过随身携带的电子设备拨打紧急呼叫电话来寻求救援。With the development of electronic technology, electronic devices have become an indispensable part of people's lives, and users can carry electronic devices with them for practical use at any time. For example, in the event of an emergency, a user can make an emergency call to seek rescue through an electronic device carried with him.

目前,在用户通过电子设备拨打紧急呼叫电话时,可能由于用户使用的SIM卡与用户所在地网络连接异常导致通话失败,或者,在呼叫过程中电子设备为了保证呼叫的连续性自主切换网络(例如,将正在进行的语音呼叫业务切换至2G或3G网络)引起的通话中断。而这种通话连接失败或通话中断可能会导致用户不能得到及时的救援,遭受安全风险。At present, when a user makes an emergency call through an electronic device, the call may fail due to an abnormal connection between the SIM card used by the user and the network where the user is located, or the electronic device may switch networks autonomously during the call to ensure the continuity of the call (for example, Call interruption caused by switching the ongoing voice call service to 2G or 3G network). The failure of the call connection or the interruption of the call may result in the user not being able to receive timely rescue and suffering security risks.

发明内容SUMMARY OF THE INVENTION

本申请实施例的目的是提供一种呼叫方法、装置及电子设备,能够解决在紧急通话时,通话连接失败或通话中断可能会导致用户不能得到及时的救援,遭受安全风险的问题。The purpose of the embodiments of the present application is to provide a calling method, device and electronic device, which can solve the problem that during an emergency call, the failure of the call connection or the interruption of the call may cause the user to not be rescued in time and suffer security risks.

为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:

第一方面,本申请实施例提供了一种呼叫方法,该方法包括:检测至少一个SIM卡中的第一SIM卡的服务状态;在该第一SIM卡有IMS服务的情况下,使用该第一SIM卡通过IMS发起呼叫请求;在该第一SIM卡无IMS服务的情况下,根据该第一SIM卡的无线接入类型确定目标接入网络,并使用该第一SIM卡通过该目标接入网络发起呼叫请求。In a first aspect, an embodiment of the present application provides a calling method, the method includes: detecting a service state of a first SIM card in at least one SIM card; in the case that the first SIM card has an IMS service, using the first SIM card A SIM card initiates a call request through IMS; if the first SIM card has no IMS service, determine the target access network according to the wireless access type of the first SIM card, and use the first SIM card to pass the target access network into the network to initiate a call request.

第二方面,本申请实施例提供了一种呼叫装置,该装置包括:检测模块和处理模块。检测模块,用于检测至少一个SIM卡中的第一SIM卡的服务状态;处理模块,用于在该第一SIM卡有IMS服务的情况下,使用该第一SIM卡通过IMS发起呼叫请求;处理模块,还用于在该第一SIM卡无IMS服务的情况下,根据该第一SIM卡的无线接入类型确定目标接入网络,并使用该第一SIM卡通过该目标接入网络发起呼叫请求。In a second aspect, an embodiment of the present application provides a calling device, which includes: a detection module and a processing module. a detection module for detecting the service status of a first SIM card in at least one SIM card; a processing module for using the first SIM card to initiate a call request through IMS when the first SIM card has IMS services; The processing module is further configured to determine a target access network according to the wireless access type of the first SIM card when the first SIM card does not have an IMS service, and use the first SIM card to initiate an access network through the target access network call request.

第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在存储器上并可在处理器上运行的程序或指令,程序或指令被处理器执行时实 现如第一方面的方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor. When the program or instruction is executed by the processor, the The steps of the method of the first aspect.

第四方面,本申请实施例提供了一种可读存储介质,该可读存储介质上存储程序或指令,程序或指令被处理器执行时实现如第一方面的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method of the first aspect are implemented.

第五方面,本申请实施例提供了一种芯片,该芯片包括处理器和通信接口,通信接口和处理器耦合,该处理器用于运行程序或指令,实现如第一方面的方法。In a fifth aspect, an embodiment of the present application 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 run a program or an instruction to implement the method of the first aspect.

在本申请实施例中,电子设备可以检测至少一个SIM卡中的第一SIM卡的服务状态;在该第一SIM卡有IMS服务的情况下,使用该第一SIM卡通过IMS发起呼叫请求;在该第一SIM卡无IMS服务的情况下,根据该第一SIM卡的无线接入类型确定目标接入网络,并使用该第一SIM卡通过该目标接入网络发起呼叫请求。通过该方法,电子设备可以检测至少一个SIM卡中的第一SIM卡的服务状态,并根据其是否具有IMS服务分别发起紧急呼叫请求,即在有IMS服务时,直接通过IMS发送呼叫请求;在无IMS服务时,使用由该第一SIM卡的无线接入类型所确定目标接入网络,发起呼叫请求。如此,对于一个SIM卡可以通过多种途径依次尝试发起呼叫请求,提高建立呼叫的概率,从而可以有效避免通话连接失败或通话中断导致用户不能得到及时救援的情形,提高用户的获救概率。In the embodiment of the present application, the electronic device can detect the service status of the first SIM card in the at least one SIM card; in the case that the first SIM card has the IMS service, use the first SIM card to initiate a call request through the IMS; In the case that the first SIM card has no IMS service, a target access network is determined according to the wireless access type of the first SIM card, and a call request is initiated through the target access network using the first SIM card. Through this method, the electronic device can detect the service status of the first SIM card in the at least one SIM card, and respectively initiate emergency call requests according to whether it has IMS services, that is, when there are IMS services, directly send the call requests through the IMS; When there is no IMS service, use the target access network determined by the wireless access type of the first SIM card to initiate a call request. In this way, a SIM card can try to initiate a call request through multiple channels in turn, increasing the probability of establishing a call, thereby effectively avoiding the situation where the user cannot be rescued in time due to failure of the call connection or interruption of the call, and improving the probability of the user being rescued.

附图说明Description of drawings

图1为本申请实施例提供的一种呼叫方法的示意图之一;FIG. 1 is one of the schematic diagrams of a calling method provided by an embodiment of the present application;

图2为本申请实施例提供的一种呼叫方法的示意图之二;FIG. 2 is the second schematic diagram of a calling method provided by an embodiment of the present application;

图3为本申请实施例提供的一种电子设备对第一提示信息的操作示意图;FIG. 3 is a schematic diagram of the operation of an electronic device on the first prompt information provided by an embodiment of the present application;

图4为本申请实施例提供的一种呼叫装置的结构示意图之一;FIG. 4 is one of the schematic structural diagrams of a calling device according to an embodiment of the present application;

图5为本申请实施例提供的一种呼叫装置的结构示意图之二;FIG. 5 is the second schematic structural diagram of a calling device provided by an embodiment of the present application;

图6为本申请实施例提供的电子设备的硬件示意图之一;FIG. 6 is one of the schematic hardware diagrams of the electronic device provided by the embodiment of the present application;

图7为本申请实施例提供的电子设备的硬件示意图之二。FIG. 7 is the second schematic diagram of the hardware of the electronic device provided by the embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.

本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that data so used may be interchanged under appropriate circumstances so that embodiments of the application can be practiced in sequences other than those illustrated or described herein. In addition, the objects distinguished by "first", "second", etc. are usually one type, and the number of objects is not limited. For example, the first object may be one or more than one. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the associated objects are in an "or" relationship.

下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的呼叫方法 进行详细地说明。The calling method provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.

如图1所示,本申请实施例提供一种呼叫方法,该方法可以包括下述的步骤101至步骤103。As shown in FIG. 1 , an embodiment of the present application provides a calling method, and the method may include the following steps 101 to 103 .

步骤101、电子设备检测至少一个SIM卡中的第一SIM卡的服务状态。Step 101: The electronic device detects the service status of a first SIM card in at least one SIM card.

可选的,用户识别卡(subscriber identity module,SIM)为电子设备用户的入网凭证,简称SIM卡。网络系统(如,全球移动通信系统(global system for mobile communications,GSM)、码分多址(code division multiple access,CDMA)、宽带码分多址(wideband code division multiple access,WCDMA))通过SIM卡来识别用户身份,同一张SIM卡可在不同的电子设备中使用,一个电子设备在硬件功能具备的情况下可以使用多张SIM卡。Optionally, a subscriber identity module (SIM) is a network access credential of an electronic device user, referred to as a SIM card. Network systems (eg, global system for mobile communications (GSM), code division multiple access (CDMA), wideband code division multiple access (WCDMA)) through the SIM card To identify the user identity, the same SIM card can be used in different electronic devices, and an electronic device can use multiple SIM cards if the hardware functions are available.

可选的,本申请实施例中,IP多媒体系统(IP Multimedia Subsystem,IMS)是一种全新的多媒体业务形式的网络架构。简称,IMS。IMS能够被多种网络基于注册而使用。上述IMS的注册信息包括该SIM卡具有IMS能力和所被允许使用的业务等。例如,具有长期演进的语音业务(voice over long term evolution,VoLTE)、基于无线局域网的语音业务(voice over wireless fidelity,VoWIFI)等。而当电子设备中插入SIM卡,电子设备可以发起IMS网络注册流程。具体的,在电子设备中插入的SIM卡为具有IMS能力的SIM卡(例如,VoLTE或VoWIFI)的情况下,电子设备中的通话模块可以发起IMS网络附着和注册流程。Optionally, in this embodiment of the present application, an IP Multimedia Subsystem (IMS) is a network architecture of a brand-new multimedia service form. Abbreviation, IMS. IMS can be used by a variety of networks based on registration. The above-mentioned IMS registration information includes the SIM card having IMS capabilities and the services that are allowed to be used, and the like. For example, a voice service with long term evolution (voice over long term evolution, VoLTE), a voice service based on a wireless local area network (voice over wireless fidelity, VoWIFI), etc. When the SIM card is inserted into the electronic device, the electronic device can initiate an IMS network registration process. Specifically, when the SIM card inserted in the electronic device is a SIM card with IMS capabilities (eg, VoLTE or VoWIFI), the call module in the electronic device can initiate an IMS network attachment and registration process.

需要说明的是,本申请实施例检测第一SIM卡的IMS的注册信息,主要用于确定该第一SIM卡是否被允许使用VoLTE或VoWIFI业务。It should be noted that the embodiment of the present application detects the registration information of the IMS of the first SIM card, which is mainly used to determine whether the first SIM card is allowed to use the VoLTE or VoWIFI service.

需要说明的是,本身实施例中,一个SIM卡(如,第一SIM卡)的服务状态包括:有IMS服务和无IMS服务两种状态。具体的,有IMS服务表示该SIM卡能够基于IMS发起呼叫请求,例如,被允许使用VoLTE或VoWIFI业务发起呼叫请求。无IMS服务表示该SIM卡不能基于IMS发起呼叫请求。在网络信号良好的情况下,VoLTE或VoWIFI能够更加快速的建立呼叫。It should be noted that, in this embodiment, the service status of a SIM card (eg, the first SIM card) includes two statuses: with IMS service and without IMS service. Specifically, having an IMS service means that the SIM card can initiate a call request based on the IMS, for example, is allowed to initiate a call request by using the VoLTE or VoWIFI service. No IMS service means that the SIM card cannot initiate a call request based on IMS. When the network signal is good, VoLTE or VoWIFI can establish a call more quickly.

需要说明的是,上述检测SIM卡的服务状态的检测方法可以参考相关技术,本申请实施例不作具体限定。It should be noted that, for the above-mentioned detection method for detecting the service status of the SIM card, reference may be made to the related art, which is not specifically limited in the embodiment of the present application.

此外,本申请实施例中,上述至少一个SIM卡还可以包括除第一SIM卡之外的其他SIM卡,如下述步骤中的第三SIM卡。在至少一个SIM卡为多卡的情况下的执行方式可以参见下述步骤112至步骤114,此处不予赘述。In addition, in the embodiment of the present application, the above-mentioned at least one SIM card may also include other SIM cards other than the first SIM card, such as the third SIM card in the following steps. For the execution manner in the case where at least one SIM card is multi-card, reference may be made to the following steps 112 to 114, which will not be repeated here.

步骤102、在第一SIM卡有IMS服务的情况下,使用第一SIM卡通过IMS发起呼叫请求。Step 102: In the case that the first SIM card has the IMS service, use the first SIM card to initiate a call request through the IMS.

可选的,本申请实施例中,发起呼叫请求,是指电子设备可以通过IMS使用第一SIM卡对紧急呼叫号码发起呼叫请求。其中,该紧急呼叫号码为被呼叫方的号码,例如,发起紧急呼叫所拨打的110、120、119等号码。Optionally, in this embodiment of the present application, initiating a call request means that the electronic device can use the first SIM card to initiate a call request to the emergency call number through the IMS. The emergency call number is the number of the called party, for example, numbers such as 110, 120, and 119 dialed for initiating an emergency call.

需要说明的是,上述通过IMS使用第一SIM卡发起呼叫请求的具体过程参考相关技术,本申请实施例不作具体限定。It should be noted that, for the above-mentioned specific process of initiating a call request by using the first SIM card through the IMS, reference is made to the related art, which is not specifically limited in this embodiment of the present application.

步骤103、在第一SIM卡无IMS服务的情况下,根据第一SIM卡的无线接入类型确定目标接入网络,并使用第一SIM卡通过目标接入网络发起呼叫请求。Step 103: In the case that the first SIM card has no IMS service, determine the target access network according to the wireless access type of the first SIM card, and use the first SIM card to initiate a call request through the target access network.

其中,上述目标接入网络为与第一SIM卡的无线接入类型相关联的网络。Wherein, the above-mentioned target access network is a network associated with the wireless access type of the first SIM card.

可选的,本申请实施例中,上述目标接入网络为与第一SIM卡的无线接入类型相关联的网络。具体包括以下两种:第一种、与第一SIM卡无线接入类型对应的网络(即,下述第一网络);第二种、除第一网络之外的第一SIM卡能够接入的其他网络(即,下述第二网络)。其中,SIM卡无线接入类型直接可以决定其对应的第一网络,如,SIM卡为移动网络,那么第一网络只能为GSM。Optionally, in this embodiment of the present application, the above-mentioned target access network is a network associated with the wireless access type of the first SIM card. Specifically, it includes the following two types: the first type, a network corresponding to the wireless access type of the first SIM card (ie, the following first network); the second type, the first SIM card other than the first network can access other network (ie, the second network described below). The wireless access type of the SIM card can directly determine the corresponding first network. For example, if the SIM card is a mobile network, the first network can only be GSM.

示例性的,假设第一SIM卡为移动网络,那么该第一网络为GSM,第二网络为CDMA和WCDMA,这三个网络均为目标接入网络。假设第一SIM卡为联通网络,那么该第一网络为WCDMA,第二网络为CDMA和GSM,这三个网络也均为目标接入网络。Exemplarily, assuming that the first SIM card is a mobile network, the first network is GSM, the second network is CDMA and WCDMA, and these three networks are all target access networks. Assuming that the first SIM card is a China Unicom network, then the first network is WCDMA, the second network is CDMA and GSM, and these three networks are also target access networks.

可选的,本申请实施例中,在接入网络存在多个的情况下,可以按照预设顺序确定目标接入网络。其中,该预设顺序可以为以下任一种:1.第一网络优先级高于第二网络,优先使用;2.多个第二网络之间可以根据网络信号强度、网络信号稳定性等排序依次接入。示例性的,一种可能的确定目标接入网络的方式为:将第一网络确定为目标接入网络,或者,将信号强度最高的第二网络确定为目标接入网络。Optionally, in this embodiment of the present application, when there are multiple access networks, the target access network may be determined according to a preset sequence. The preset order can be any of the following: 1. The first network has a higher priority than the second network and is used first; 2. The multiple second networks can be sorted according to network signal strength, network signal stability, etc. Access in turn. Exemplarily, a possible way of determining the target access network is: determining the first network as the target access network, or determining the second network with the highest signal strength as the target access network.

可选的,本申请实施例中,在电子设备执行上述步骤102或步骤103发起呼叫成功的情况下,执行下述步骤104。Optionally, in this embodiment of the present application, in the case that the electronic device successfully initiates a call by performing the above step 102 or step 103, the following step 104 is performed.

步骤104、电子设备建立紧急呼叫。Step 104, the electronic device establishes an emergency call.

可选的,本申请实施例中,在电子设备基于本申请实施例中的任一种网络或线路建立紧急呼叫之后,用户可以通过已建立完成紧急呼叫信道发送救援信息、拨打救援电话等。Optionally, in the embodiment of the present application, after the electronic device establishes an emergency call based on any network or line in the embodiment of the present application, the user can send rescue information, make a rescue call, etc. through the established emergency call channel.

可选的,服务器可以解析电子设备的经济呼叫请求,得到第一子信息和第二子信息。其中,该第一子信息包含电子设备的号码(即,主叫号码)及实例标识;该第二子信息包含紧急呼叫号码(即被叫号码)及主叫号码对应的电子设备的位置信息。如此,可以快速确定用户的位置,方便救援。Optionally, the server may parse the economic call request of the electronic device to obtain the first sub-information and the second sub-information. The first sub-information includes the number of the electronic device (ie, the calling number) and the instance identifier; the second sub-information includes the emergency call number (ie, the called number) and the location information of the electronic device corresponding to the calling number. In this way, the location of the user can be quickly determined, which is convenient for rescue.

可选的,本申请实施例中,在电子设备执行上述步骤102和步骤103发起呼叫失败的情况下,可以执行下述步骤105。Optionally, in this embodiment of the present application, in the case that the electronic device fails to initiate a call by performing the above steps 102 and 103, the following step 105 may be performed.

步骤105、电子设备在紧急呼叫号码前加拨区号,并重新发起呼叫请求。Step 105: The electronic device dials the area code before the emergency call number, and re-initiates the call request.

可选的,本申请实施例中,电子设备可以电子设备的目标位置信息(可以参考下述步骤115中的具体步骤),并根据该目标位置信息将与该目标位置(目标位置信息所指示的位置)所对应的区号,确定为待加拨区号。Optionally, in this embodiment of the present application, the electronic device may use the target location information of the electronic device (refer to the specific steps in step 115 below), and combine the target location (indicated by the target location information) with the target location information according to the target location information. The area code corresponding to the location) is determined as the area code to be dialed.

可选的,本申请实施例中,电子设备也可以根据用户之前的行程轨迹确定待加拨区号。具体为:电子设备根据之前获取的用户行程轨迹,确定当前位置(例如,确定轨迹的结束端为当前位置),并根据当前位置的所对应的区号,确定为待加拨区号。Optionally, in this embodiment of the present application, the electronic device may also determine the area code to be dialed according to the user's previous travel track. Specifically, the electronic device determines the current location (for example, determines the end of the track as the current location) according to the user's travel trajectory obtained before, and determines the area code to be dialed according to the area code corresponding to the current location.

需要说明的是,本申请实施例中,在电子设备在紧急呼叫号码(如,110、120等)之前加拨区号(如,010、029等)将紧急呼叫方式转换为普通呼叫方式,重新发起呼叫请求。即,将添加区号后的紧急呼叫号码替换原紧急呼叫号码重新执行呼叫操作,该呼叫操作所使用的网络和线路继续使用原号码的网络和线路。也就是说,在执行完步骤105后电子设备返回101重新执行,即在步骤105之后,再重复执行一遍步骤101至步骤103。在具体执行过程中,为了简化执行步骤,可以在步骤105之后直接执行步骤102或步骤103(由于第一SIM卡的服务状态已经判断了,可以省去不必要的步骤,提高执行速度)。It should be noted that, in this embodiment of the present application, an area code (eg, 010, 029, etc.) is added to the electronic device before the emergency call number (eg, 110, 120, etc.) call request. That is, the emergency call number added with the area code is replaced with the original emergency call number and the call operation is performed again, and the network and line used for the call operation continue to use the network and line of the original number. That is to say, after step 105 is performed, the electronic device returns to 101 for re-execution, that is, after step 105 , steps 101 to 103 are repeatedly performed. In the specific execution process, in order to simplify the execution steps, step 102 or step 103 can be directly executed after step 105 (since the service status of the first SIM card has been judged, unnecessary steps can be omitted to improve execution speed).

可以理解的是,电子设备可以在紧急呼叫号码前加拨区号,并使用加拨区号的紧急呼叫号码重新发起呼叫请求。即,电子设备将默认的紧急呼叫方式转变为普通呼叫方式再次发起呼叫请求,从而增加了呼叫成功的概率,进而提升用户的获救概率,降低用户风险。It can be understood that, the electronic device may add an area code before the emergency call number, and use the emergency call number with the dialed area code to re-initiate the call request. That is, the electronic device changes the default emergency call mode into a common call mode to initiate a call request again, thereby increasing the probability of a successful call, thereby increasing the rescue probability of the user, and reducing the risk to the user.

本申请实施例提供一种呼叫方法,电子设备可以检测至少一个SIM卡中的第一SIM卡的服务状态;在该第一SIM卡有IMS服务的情况下,使用该第一SIM卡通过IMS发起呼叫请求;在该第一SIM卡无IMS服务的情况下,根据该第一SIM卡的无线接入类型确定目标接入网络,并使用该第一SIM卡通过该目标接入网络发起呼叫请求。通过该方法,电子设备可以检测至少一个SIM卡中的第一SIM卡的服务状态,并根据其是否具有IMS服务分别发起紧急呼叫请求,即在有IMS服务时,直接通过IMS发送呼叫请求;在无IMS服务时,使用由该第一SIM卡的无线接入类型所确定目标接入网络,发起呼叫请求。如此,对于一个SIM卡可以通过多种途径依次尝试发起呼叫请求,提高建立呼叫的概率,从而可以有效避免通话连接失败或通话中断导致用户不能得到及时救援的情形,提高用户的获救概率。The embodiment of the present application provides a calling method, in which an electronic device can detect the service status of a first SIM card in at least one SIM card; when the first SIM card has an IMS service, use the first SIM card to initiate a call through IMS Call request; in the case that the first SIM card has no IMS service, determine the target access network according to the wireless access type of the first SIM card, and use the first SIM card to initiate a call request through the target access network. Through this method, the electronic device can detect the service status of the first SIM card in the at least one SIM card, and respectively initiate emergency call requests according to whether it has IMS services, that is, when there are IMS services, directly send the call requests through the IMS; When there is no IMS service, use the target access network determined by the wireless access type of the first SIM card to initiate a call request. In this way, a SIM card can try to initiate a call request through multiple channels in turn, increasing the probability of establishing a call, thereby effectively avoiding the situation where the user cannot be rescued in time due to failure of the call connection or interruption of the call, and improving the probability of the user being rescued.

可选的,结合图1,如图2所示,上述目标接入网络可以为与第一SIM卡的无线接入类型对应的第一网络。在上述步骤103之后,本申请实施例所提供的呼叫方法还可以包括下述判断步骤106,根据步骤106的判断结果,执行下述步骤107或步骤108。Optionally, with reference to FIG. 1 , as shown in FIG. 2 , the above-mentioned target access network may be the first network corresponding to the wireless access type of the first SIM card. After the above step 103, the calling method provided by this embodiment of the present application may further include the following judgment step 106, and according to the judgment result of the step 106, the following step 107 or step 108 is performed.

步骤106、电子设备判断第一SIM通过第一网络发起呼叫请求的结果。Step 106: The electronic device determines the result of the call request initiated by the first SIM through the first network.

需要说明的是,第一SIM通过第一网络发起呼叫请求的结果包括:呼叫成功和呼叫失败两种,在呼叫成功时执行下述步骤107,在呼叫失败时执行下述步骤108。It should be noted that the result of the first SIM initiating the call request through the first network includes two types: call success and call failure. The following step 107 is performed when the call succeeds, and the following step 108 is performed when the call fails.

步骤107、若使用第一SIM卡通过第一网络发起呼叫请求成功,则电子设备通过第一网络建立呼叫。Step 107: If the call request is successfully initiated through the first network using the first SIM card, the electronic device establishes the call through the first network.

可选的,在通过第一网络成功建立呼叫之后,用于可以通过已建立完成紧急呼叫信道发送救援信息、拨打救援电话等。Optionally, after the call is successfully established through the first network, the device can send rescue information, make a rescue call, etc. through the established emergency call channel.

可选的,上述电子设备使用第一SIM卡通过IMS发起呼叫请求,是指,电子设备使用第一SIM卡通过VoLTE或VoWIFI发起呼叫请求。由于通常情况下。Optionally, the foregoing electronic device using the first SIM card to initiate a call request through the IMS means that the electronic device uses the first SIM card to initiate a call request through VoLTE or VoWIFI. As usual.

步骤108、若使用第一SIM卡通过第一网络发起呼叫请求失败,则电子设备将第一网络切换为第二网络,并通过第二网络发送呼叫请求。Step 108: If the first SIM card fails to initiate the call request through the first network, the electronic device switches the first network to the second network, and sends the call request through the second network.

其中,上述第二网络为与第一SIM卡的无线接入类型相关联,且与所述第一网络不同的网络。Wherein, the above-mentioned second network is a network associated with the wireless access type of the first SIM card and different from the first network.

需要说明的是,本身实施例中,关于第一网络的具体描述可以参考上述步骤103中的描述。It should be noted that, in this embodiment, for the specific description of the first network, reference may be made to the description in the foregoing step 103 .

需要说明的是,本身实施例中,通过第二网络发送呼叫请求的发送方式,可以参考上述第一网络的处理方式,此处仅为网络切换,呼叫方式未发生变化。It should be noted that, in the embodiment itself, for the sending method of sending the call request through the second network, reference may be made to the processing method of the first network. Here, it is only network switching, and the calling method has not changed.

优选的,本申请实施例中,在执行步骤108之后(即,通过第二网络发送呼叫请求也失败的情况下),电子设备可以执行上述步骤105,然后再重新执行步骤108,即步骤106至下述步骤108。即通过加拨区号之后再使用第二网络重新发起呼叫请求。Preferably, in this embodiment of the present application, after performing step 108 (that is, in the case where sending the call request through the second network also fails), the electronic device may perform the above step 105, and then perform step 108 again, that is, steps 106 to 106 Step 108 is described below. That is, after dialing the area code, use the second network to re-initiate the call request.

示例性的,假设电子设备的SIM卡1为无IMS服务的移动卡(即,第一网络为GSM),在电子设备使用该SIM卡1通过GSM网络发送呼叫请求失败的情况下,电子设备可以切换网络后重新发送呼叫请求,即,将GSM网络切换为WCDMA网络(即,第二网络),并通过该WCDMA发送呼叫请求。Exemplarily, assuming that the SIM card 1 of the electronic device is a mobile card without IMS service (that is, the first network is GSM), if the electronic device fails to send a call request through the GSM network using the SIM card 1, the electronic device can After the network is switched, the call request is resent, that is, the GSM network is switched to the WCDMA network (ie, the second network), and the call request is sent through the WCDMA.

可以理解的是,电子设备在通过第一SIM卡基于第一网络呼叫请求失败的情况下,电子设备及时将第一网络切换为第二网络,并基于该二网络通过该第一SIM卡继续发送呼叫请求,从而通过尝试不同的网络,增加了呼叫成功的概率,进而提升用户的获救概率,降低用户风险。It can be understood that, in the case that the electronic device fails to make a call request based on the first network through the first SIM card, the electronic device switches the first network to the second network in time, and continues to send through the first SIM card based on the second network. Therefore, by trying different networks, the probability of a successful call is increased, thereby increasing the probability of users being rescued and reducing user risks.

可选的,本申请实施例中,本申请实施例所提供的呼叫方法还包括下述步骤109至步骤111。其中,步骤109在执行完步骤108之后,且在使用第一SIM卡通过上述第一网络和上述第二网络发起呼叫均失败的情况下执行。Optionally, in the embodiment of the present application, the calling method provided by the embodiment of the present application further includes the following steps 109 to 111 . Wherein, step 109 is performed after step 108 is performed, and in the case where the first SIM card fails to initiate a call through the above-mentioned first network and the above-mentioned second network.

步骤109、在使用第一SIM卡通过第一网络和第二网络发起呼叫均失败的情况下,在电子设备的界面显示第一提示消息。Step 109 , in the case where the first SIM card fails to initiate a call through the first network and the second network, display a first prompt message on the interface of the electronic device.

其中,上述第一提示消息用于提示用户更换SIM卡。Wherein, the above-mentioned first prompt message is used to prompt the user to replace the SIM card.

可选的,本申请实施例中,该第一提示消息的显示形式不限于文字、图片、视频,及其组合。在实际使用过程中,电子设备在显示该第一提示信息的同时可以伴随其他特效或提示,不限于电子设备振动、呼吸灯闪烁、屏幕显示特效动画或图片等,可以根据实际使用需求确定,本申请实施例不作具体限定。Optionally, in this embodiment of the present application, the display form of the first prompt message is not limited to text, pictures, videos, and combinations thereof. In the actual use process, the electronic device can display the first prompt message with other special effects or prompts, not limited to the vibration of the electronic device, the flickering of the breathing light, the display of special effects animations or pictures on the screen, etc., which can be determined according to the actual use requirements. The application examples are not specifically limited.

此外,本申请实施例也不对该第一提示消息的显示位置、显示大小和具体显示方式具体限定,可以根据实际使用需求确定。In addition, the embodiment of the present application does not specifically limit the display position, display size, and specific display manner of the first prompt message, which may be determined according to actual usage requirements.

可选的,本申请实施例中,在使用第一SIM卡通过第一网络和第二网络发起呼叫均失败是指,在阈值时长内(如,20秒或40秒),通过第一网络和第二网络均未建 立紧急呼叫。Optionally, in this embodiment of the present application, the failure to initiate a call through the first network and the second network by using the first SIM card means that within a threshold time period (for example, 20 seconds or 40 seconds), the call through the first network and the second network fails. Neither of the second networks has established an emergency call.

可选的,本申请实施例中,上述更换SIM卡,是指物理更换电子设备的SIM卡,或者,控制切换电子设备当前使用的SIM卡。Optionally, in the embodiment of the present application, the above-mentioned replacing the SIM card refers to physically replacing the SIM card of the electronic device, or controlling the switching of the SIM card currently used by the electronic device.

需要说明的是,本申请实施例中,上述使用第一SIM卡通过第一网络和第二网络发起呼叫均失败,是指电子设备通过该第一SIM卡发起呼叫请求失败。其并不包括下述步骤115至步骤118中的使用第一线路转接至第二线路的呼叫方式,而步骤115至步骤118这种呼叫方式是基于专用线路或专用信道而完成的,并不依赖于使用何种SIM卡。It should be noted that, in the embodiment of the present application, the above-mentioned failure to initiate a call through the first network and the second network using the first SIM card means that the electronic device fails to initiate a call request through the first SIM card. It does not include the call method of using the first line to transfer to the second line in the following steps 115 to 118, and the call method of steps 115 to 118 is completed based on a dedicated line or a dedicated channel, and does not. Depends on what SIM card is used.

步骤110、接收第一输入。Step 110: Receive a first input.

可选的,本申请实施例中,上述第一输入可以为对该第一提示消息的输入。Optionally, in this embodiment of the present application, the above-mentioned first input may be the input of the first prompt message.

可选的,本申请实施例中,该第一输入用于触发电子设备将第一SIM卡更换为第二SIM卡后重新发起呼叫请求。具体的,该第一输入可以为对该提示消息的触控输入(如,单击、双击、长按等),也可以为对电子设备的语音输入,还可以为对电子设备的预设物理按键输入。具体可以根据实际使用需求进行确定,本申请不作具体限定。Optionally, in this embodiment of the present application, the first input is used to trigger the electronic device to re-initiate the call request after replacing the first SIM card with the second SIM card. Specifically, the first input may be a touch input (eg, single-click, double-click, long-press, etc.) to the prompt message, a voice input to the electronic device, or a preset physical input to the electronic device key input. Specifically, it can be determined according to actual use requirements, which is not specifically limited in this application.

步骤111、响应于第一输入,通过第二SIM卡重新发起呼叫请求。Step 111: In response to the first input, re-initiate the call request through the second SIM card.

其中,上述第二SIM卡为与第一SIM卡不同的SIM卡。Wherein, the above-mentioned second SIM card is a different SIM card from the first SIM card.

需要说明的是,本申请实施例中,在电子设备使用更换后的第二SIM卡重新发起呼叫请求时,可以参考上述第一SIM卡发起呼叫请求的步骤重复执行,即电子设备可以将第一SIM卡更换为第二SIM卡后再依次执行上述步骤106至步骤108中的操作。It should be noted that, in the embodiment of the present application, when the electronic device uses the replaced second SIM card to initiate a call request again, the steps of initiating a call request with reference to the first SIM card can be repeated, that is, the electronic device can use the first SIM card to initiate a call request repeatedly. After the SIM card is replaced with the second SIM card, the operations in the foregoing steps 106 to 108 are performed in sequence.

此外,本申请实施例中,与将第一SIM卡更换为第二SIM卡类似,在电子设备使用第二SIM卡仍呼叫失败的情况下,用户触发电子设备可以重复执行步骤109至步骤111,依次将第二SIM卡更换为第四SIM卡、第五SIM卡等重新发起呼叫请求,直至所有无服务的SIM卡均依次更换完毕。当执行完毕仍呼叫失败的情况下,可以跳转执行下述步骤115至步骤118。In addition, in the embodiment of the present application, similar to replacing the first SIM card with the second SIM card, in the case that the electronic device still fails to make calls using the second SIM card, the user can trigger the electronic device to repeatedly perform steps 109 to 111, Replacing the second SIM card with the fourth SIM card, the fifth SIM card, etc. in turn, initiates a call request again, until all the SIM cards without service are replaced in sequence. If the call fails after the execution is completed, the following steps 115 to 118 can be jumped to be executed.

示例性的,图3为电子设备对第一提示信息的操作示意图。用户使用电子设备的SIM卡1拨打120电话,在20秒内(即阈值时长)仍未接通的情况下,如图3,电子设备的通话界面001中显示提示信息002(即,第一目标提示消息),用户可以通过对该提示消息002中“确定”的单击输入,触发电子设备将SIM卡1更换至SIM卡2重新发起拨打120。Exemplarily, FIG. 3 is a schematic diagram of the operation of the electronic device on the first prompt information. The user uses the SIM card 1 of the electronic device to make a call to 120, and if the call is still not connected within 20 seconds (that is, the threshold duration), as shown in Figure 3, the call interface 001 of the electronic device displays prompt information 002 (that is, the first target Prompt message), the user can trigger the electronic device to replace the SIM card 1 with the SIM card 2 by clicking "OK" in the prompt message 002 to initiate dialing 120 again.

可以理解的是,在使用第一SIM卡通过第一网络和第二网络发起呼叫均失败的情况下,电子设备可以显示第一提示信息,并根据用户对该第一提示信息的操作,触发电子设备将第一SIM卡更换为第二SIM卡重新发起呼叫请求。即,用户可以根据电子设备的呼叫结果反馈,手动控制更换SIM卡继续进行呼叫,从而通过尝试不同SIM卡进行呼叫,增加了呼叫成功的概率,进而提升用户的获救概率,降低用户风险。It can be understood that, in the case where the first SIM card fails to initiate a call through the first network and the second network, the electronic device can display the first prompt information, and trigger the electronic device according to the user's operation on the first prompt information. The device replaces the first SIM card with the second SIM card and re-initiates the call request. That is, the user can manually control the replacement of the SIM card to continue the call according to the call result feedback from the electronic device, thereby increasing the probability of a successful call by trying different SIM cards, thereby increasing the probability of the user being rescued and reducing the risk to the user.

可选的,本申请实施例中,上述至少一个SIM卡包括第一SIM卡和第三SIM卡。 本申请实施例提供的呼叫方法还包括下述步骤检测步骤112,电子设备可以根据检测结果(即,第三SIM卡的服务状态)确定执行下述步骤113,或者,步骤114a和步骤114b,其中,步骤114a和步骤114b也可以合并为步骤114统一执行。Optionally, in this embodiment of the present application, the at least one SIM card includes a first SIM card and a third SIM card. The calling method provided by this embodiment of the present application further includes the following step detection step 112, the electronic device may determine to execute the following step 113 according to the detection result (ie, the service status of the third SIM card), or, step 114a and step 114b, wherein , step 114a and step 114b may also be combined into step 114 for unified execution.

步骤112、在使用第一SIM卡通过IMS发起呼叫请求失败之后,电子设备检测第三SIM卡的服务状态。Step 112: After the first SIM card fails to initiate a call request through the IMS, the electronic device detects the service status of the third SIM card.

需要说明的是,在上述步骤102执行结果为呼叫请求失败之后,直接执行步骤112,当第三SIM卡具有IMS服务的情况下,优先执行步骤113。即,由于同等条件下IMS能够更加快速、稳定地建立呼叫通道(例如,在网络信号良好的情况下,通过VoLTE或VoWIFI能够更加快速的建立呼叫),因此优先适用。It should be noted that, after the execution result of the above step 102 is that the call request fails, step 112 is directly executed, and when the third SIM card has the IMS service, step 113 is executed preferentially. That is, under the same conditions, the IMS can establish a call channel more quickly and stably (for example, when the network signal is good, a call can be established more quickly through VoLTE or VoWIFI), so it is preferred.

此外,上述检测第三SIM卡的服务状态与第一SIM卡的检测步骤类似,可以参考上述步骤101中的具体描述,此处不再赘述。In addition, the above step of detecting the service state of the third SIM card is similar to the step of detecting the first SIM card, and reference may be made to the specific description in the above step 101, which will not be repeated here.

步骤113、在第三SIM卡具有IMS服务的情况下,使用第三SIM卡通过IMS发起呼叫请求。Step 113: In the case that the third SIM card has the IMS service, use the third SIM card to initiate a call request through the IMS.

需要说明的是,上述通过IMS使用第一SIM卡发起呼叫请求的具体过程看一参考相关技术,本申请实施例不作具体限定。It should be noted that, for the above-mentioned specific process of initiating a call request by using the first SIM card through the IMS, please refer to the related art, which is not specifically limited in the embodiment of the present application.

可以理解的是,由于同等条件下IMS能够更加快速、稳定地建立呼叫通道而被优先适用,因此,电子设备可以快速的遍历电子设备中的所有SIM卡,使用具有SIM功能的SIM卡优先尝试发起呼叫请求,从而可以更加快速的建立紧急通话请求,进而节约用户时间,提升用户的获救概率。It can be understood that, under the same conditions, IMS can be used with priority because it can establish a call channel more quickly and stably. Therefore, the electronic device can quickly traverse all the SIM cards in the electronic device, and use the SIM card with the SIM function to give priority to trying to initiate a call. Call request, so that an emergency call request can be established more quickly, thereby saving the user's time and improving the rescue probability of the user.

步骤114a、在第三SIM卡不具有IMS服务的情况下,电子设备确定目标SIM卡。Step 114a, in the case that the third SIM card does not have the IMS service, the electronic device determines the target SIM card.

其中,上述目标SIM卡为第一SIM卡和第三SIM卡中的任一个。Wherein, the above-mentioned target SIM card is any one of the first SIM card and the third SIM card.

可选的,本申请实施例中,上述确定目标SIM卡可以采用随机确定的方式。若第三SIM卡为多个的情况下,该目标SIM卡为第一SIM卡和多个第三SIM卡中的任一个。Optionally, in this embodiment of the present application, the above-mentioned determination of the target SIM card may adopt a random determination method. If there are multiple third SIM cards, the target SIM card is any one of the first SIM card and the multiple third SIM cards.

步骤114b、电子设备根据目标SIM卡的无线接入类型确定目标接入网络,并使用目标SIM卡通过该目标接入网络发起呼叫请求。Step 114b, the electronic device determines the target access network according to the wireless access type of the target SIM card, and uses the target SIM card to initiate a call request through the target access network.

需要说明的是,在确定目标SIM卡之后,可以参考上述步骤103中的方式确定目标接入网络。It should be noted that, after the target SIM card is determined, the target access network may be determined with reference to the method in step 103 above.

可选的,目标SIM卡的无线接入类型对应的网络(即,第一网络)优先确定为目标接入网络。Optionally, the network corresponding to the wireless access type of the target SIM card (ie, the first network) is preferentially determined as the target access network.

示例性的,假设电子设备具有两个SIM卡(如,第一SIM卡和第三SIM卡),根据SIM卡是否具有IMS服务分为三组可能的模型:第一组、两个SIM卡均有IMS服务;第二组、一个SIM卡有IMS服务,另一个无IMS服务;第三组、两个SIM卡均无IMS服务。下面简述三组模型的执行过程:Exemplarily, assuming that the electronic device has two SIM cards (eg, a first SIM card and a third SIM card), there are three groups of possible models according to whether the SIM cards have IMS services: the first group, both SIM cards There is IMS service; the second group, one SIM card has IMS service, the other has no IMS service; the third group, both SIM cards have no IMS service. The execution process of the three groups of models is briefly described below:

第一组:假设第一SIM卡和第三SIM卡均有IMS服务。Group 1: It is assumed that both the first SIM card and the third SIM card have IMS services.

首先,执行步骤101和步骤102,使用第一SIM卡通过IMS发起呼叫请求;在步骤102执行结果为失败的情况下,然后,执行步骤112和步骤113,使用第三SIM卡通过IMS发起呼叫请求;接着,在上述两个SIM卡IMS发起呼叫请求均失败的情况下,执行步骤114a和步骤114b。First, perform steps 101 and 102, and use the first SIM card to initiate a call request through the IMS; if the execution result of step 102 fails, then perform steps 112 and 113, and use the third SIM card to initiate a call request through the IMS ; Next, in the case that the two SIM cards IMS fail to initiate the call request, step 114a and step 114b are executed.

第二组:假设第一SIM卡有IMS服务,第三SIM卡无IMS服务。The second group: it is assumed that the first SIM card has IMS service, and the third SIM card has no IMS service.

首先,执行步骤101和步骤102,使用第一SIM卡通过IMS发起呼叫请求;在步骤102执行结果为失败的情况下,然后,执行步骤112和步骤114(即,步骤114a和步骤114b)。First, execute step 101 and step 102, use the first SIM card to initiate a call request through the IMS; if the execution result of step 102 fails, then execute step 112 and step 114 (ie, step 114a and step 114b).

第三组:假设第一SIM和第三SIM卡均无IMS服务。The third group: it is assumed that neither the first SIM nor the third SIM has IMS service.

首先,执行步骤101和步骤103,第一SIM卡通过目标接入网络发起呼叫请求;再执行步骤112和步骤114(即,步骤114a和步骤114b),即确定目标SIM卡后重新确定目标接入网络,并发起呼叫请求。First, step 101 and step 103 are performed, and the first SIM card initiates a call request through the target access network; then step 112 and step 114 (ie, step 114a and step 114b) are performed, that is, after the target SIM card is determined, the target access is re-determined network and initiate a call request.

需要说明的是,在电子设备的SIM卡的数量大于等于2时,根据SIM卡的服务状态也是分为上述三组模型,具体执行过程参照上述描述的过程。It should be noted that when the number of SIM cards of the electronic device is greater than or equal to 2, it is also divided into the above three groups of models according to the service status of the SIM cards, and the specific execution process refers to the process described above.

可以理解的是,由于电子设备在多个SIM的情况下,可以分别根据第一SIM卡和第三SIM是否具有IMS服务以多种方式发起呼叫请求,因此,一方面、在均具有IMS服务的情况下,优先使用具有SIM功能的SIM卡发起呼叫请求,从而可以更加快速的建立紧急通话请求,进而节约用户时间,提升用户的获救概率。另一方面、在不具有IMS服务的情况下,又可以通过目标接入网络发起呼叫请求,从而保证了通过多种渠道发起呼叫请求,进而增加了呼叫成功的概率,提升用户的获救概率。It can be understood that, in the case of multiple SIMs, the electronic device can initiate a call request in multiple ways according to whether the first SIM card and the third SIM have IMS services. In this case, the SIM card with the SIM function is preferentially used to initiate a call request, so that an emergency call request can be established more quickly, thereby saving the user's time and increasing the probability of the user being rescued. On the other hand, in the case of no IMS service, a call request can be initiated through the target access network, thus ensuring that the call request is initiated through multiple channels, thereby increasing the probability of a successful call and improving the probability of a user being rescued.

可选的,本申请实施例中,该呼叫方法还包括下述步骤115至步骤118。Optionally, in this embodiment of the present application, the calling method further includes the following steps 115 to 118 .

步骤115、在使用至少一个SIM卡通过IMS和/或目标接入网络发起呼叫请求均失败的情况下,电子设备获取用户的目标位置信息。Step 115: In the case that the call request initiated by using at least one SIM card through the IMS and/or the target access network fails, the electronic device acquires the target location information of the user.

可选的,本申请实施例中,上述获取目标位置的方式可以根据电子设备内置的位置传感器进行确定,也可以根据电子设备与基站连接的信号位置进行确定,还可以采用其他的定位方式。本申请实施例不作具体限定,可以参考相关技术。Optionally, in this embodiment of the present application, the above method of acquiring the target position may be determined according to a built-in position sensor of the electronic device, or may be determined according to the signal position of the electronic device connected to the base station, or other positioning methods may be used. The embodiments of the present application are not specifically limited, and reference may be made to related technologies.

步骤116、电子设备通过第一线路发起呼叫请求,并发送目标位置信息。Step 116: The electronic device initiates a call request through the first line, and sends target location information.

其中,上述第一线路为电子设备服务商提供的线路。Wherein, the above-mentioned first line is a line provided by an electronic equipment service provider.

可选的,本申请实施例中,在电子设备通过该第一线路发起呼叫请求时,电子设备向服务器(如,电子设备服务商的服务器,或受服务商委托的紧急呼叫中心的服务器)发送第一目标信息,该第一目标信息包含被叫号码及主叫号码对应的电子设备的位置信息(即,目标位置信息)。Optionally, in this embodiment of the present application, when the electronic device initiates a call request through the first line, the electronic device sends a message to a server (for example, a server of an electronic device service provider, or a server of an emergency call center entrusted by the service provider) The first target information, where the first target information includes the position information (ie, target position information) of the electronic device corresponding to the called number and the calling number.

需要说明的是,上述第一线路为一种专用线路或专用信道,一般仅用于紧急呼叫。具体可以为电子设备服务商提供的线路,也可以为电子设备服务商委托网络服务商创设的专用网络线路或专用信道。It should be noted that the above-mentioned first line is a dedicated line or dedicated channel, and is generally only used for emergency calls. Specifically, it may be a line provided by an electronic equipment service provider, or may be a dedicated network line or dedicated channel created by a network service provider entrusted by the electronic equipment service provider.

步骤117、电子设备接收第一信息。Step 117, the electronic device receives the first information.

其中,上述第一信息用于指示第二线路,该第二线路为根据该目标位置信息确定的用户所在地的紧急呼叫线路。The above-mentioned first information is used to indicate a second line, and the second line is an emergency call line at the location of the user determined according to the target location information.

可选的,本申请实施例中,上述第二线路可以为目标位置信息确定的用户所在地的紧急呼叫线路。示例性的,第二线路可以为用户所在A区域的应急救援电话,可以为A区域的救援服务中心等。Optionally, in this embodiment of the present application, the above-mentioned second line may be an emergency call line at the location of the user determined by the target location information. Exemplarily, the second line may be an emergency rescue phone in area A where the user is located, or may be a rescue service center in area A, or the like.

可选的,本申请实施例中,服务器在接收到目标位置信息后,服务器匹配该目标位置信息所指示位置最近的应急救援机构,并将该应急救援机构的通信方式(可以包括:网络、线路,及其代码)通过第一信息下发至电子设备。电子设备可以基于该第一信息转接至第二线路继续发起呼叫,或者放弃使用第一线路直接通过第二线路进行呼叫。Optionally, in this embodiment of the present application, after the server receives the target location information, the server matches the emergency rescue organization with the nearest location indicated by the target location information, and compares the communication mode (which may include: network, line, etc.) of the emergency rescue organization. , and its code) are sent to the electronic device through the first information. The electronic device may transfer to the second line based on the first information to continue to initiate the call, or abandon the use of the first line to directly make a call through the second line.

步骤118、电子设备根据第一信息通过第一线路转接至第二线路继续发起呼叫请求。Step 118: The electronic device transfers to the second line through the first line according to the first information and continues to initiate the call request.

需要说明的是,通过第二线路发起呼叫请求的方式与本申请中的其他呼叫方式类似,具体可以参考上述实施例,此处不再赘述。It should be noted that the manner of initiating a call request through the second line is similar to other calling manners in this application, and for details, reference may be made to the foregoing embodiment, which will not be repeated here.

需要说明的是,在服务器接收到该目标位置信息之后,该服务器也可以不用下发第一信息,直接将电子设备的呼叫请求转接至第二线路,进而提高效率。但这种方式由于电子设备所在地的网络不稳定,直接通过第三方转接可能会造成连接中断,进而导致该第一线路也无法呼入。在实际使用过程中,可以根据实际使用需求决定直接转接或通过下发第一信息的方式进行转接,本申请实施例不作具体确定。It should be noted that, after the server receives the target location information, the server may directly transfer the call request of the electronic device to the second line without sending the first information, thereby improving efficiency. However, due to the instability of the network where the electronic device is located in this method, the connection may be interrupted through direct transfer by a third party, and thus the first line cannot be called in. In the actual use process, it may be decided to directly transfer or to transfer the first information according to the actual use requirement, which is not specifically determined in this embodiment of the present application.

可以理解的是,电子设备还可以获取用户的目标位置信息,并在使用第一线路发起呼叫请求时一并发送该目标位置信息,服务器可以根据该目标位置信息向电子设备下发指示第二线路的第一信息,进而电子设备可以根据该第一信息转接至第二线路继续发起呼叫请求。即,紧急呼叫中心(即,服务器)转呼叫的方式,能够准确确定用户的位置和对应的紧急呼叫线路(即,第二线路),从而增加了呼叫成功的概率,进而降低用户风险。It can be understood that the electronic device can also obtain the user's target location information, and send the target location information together when using the first line to initiate a call request, and the server can issue instructions to the electronic device to indicate the second line according to the target location information. the first information, and then the electronic device can transfer to the second line according to the first information to continue to initiate the call request. That is, the way the emergency call center (ie, the server) forwards the call can accurately determine the user's location and the corresponding emergency call line (ie, the second line), thereby increasing the probability of a successful call, thereby reducing user risks.

需要说明的是,本申请实施例提供的呼叫方法,执行主体可以为呼叫装置,或者该呼叫装置中的用于执行呼叫方法的控制模块。本申请实施例中以呼叫装置执行呼叫方法为例,说明本申请实施例提供的装置。It should be noted that, in the calling method provided by the embodiments of the present application, the executing 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, the device provided by the embodiment of the present application is described by taking the calling device executing the calling method as an example.

如图4所示,本申请实施例提供一种呼叫装置400。呼叫装置400包括:检测模块401和处理模块402。检测模块401,可以用于检测至少一个SIM卡中的第一SIM卡的服务状态。处理模块402,可以用于在该第一SIM卡有IMS服务的情况下,使用该第一SIM卡通过IMS发起呼叫请求。处理模块402,还用于在该第一SIM卡无IMS服务的情况下,根据该第一SIM卡的无线接入类型确定目标接入网络,并使用该第一SIM卡通过该目标接入网络发起呼叫请求。As shown in FIG. 4 , an embodiment of the present application provides a calling apparatus 400 . The calling device 400 includes: a detection module 401 and a processing module 402 . The detection module 401 can be used to detect the service status of the first SIM card in the at least one SIM card. The processing module 402 may be configured to use the first SIM card to initiate a call request through the IMS when the first SIM card has an IMS service. The processing module 402 is further configured to determine a target access network according to the wireless access type of the first SIM card when the first SIM card has no IMS service, and use the first SIM card to access the network through the target Initiate a call request.

可选的,本申请实施例中,目标接入网络为与第一SIM卡的无线接入类型对应的第一网络。处理模块402,还可以用于使用第一SIM卡通过第一网络发起呼叫请求之后,若使用该第一SIM卡通过该第一网络发起呼叫请求成功,则通过该第一网络建立呼叫;若使用该第一SIM卡通过该第一网络发起呼叫请求失败,则将该第一网络切换为第二网络,并通过该第二网络发送呼叫请求。其中,该第二网络为与该第一SIM卡的无线接入类型相关联,且与该第一网络不同的网络。Optionally, in this embodiment of the present application, the target access network is the first network corresponding to the wireless access type of the first SIM card. The processing module 402 can also be used to use the first SIM card to initiate a call request through the first network, if the first SIM card is used to initiate a call request through the first network successfully, then establish a call through the first network; If the first SIM card fails to initiate a call request through the first network, the first network is switched to the second network, and the call request is sent through the second network. Wherein, the second network is a network associated with the wireless access type of the first SIM card and different from the first network.

可选的,结合图4,如图5所示,该呼叫装置400还包括:显示模块403和接收模块404。显示模块403,可以用于在使用所述第一SIM卡通过所述第一网络和所述第二网络发起呼叫均失败的情况下,在电子设备的界面显示第一提示消息,所述第一提示消息用于提示用户更换SIM卡。接收模块404,可以用于接收第一输入。处理模块402,还可以用于响应于接收模块404接收的第一输入,通过第二SIM卡重新发起呼叫请求,该第二SIM卡为与第一SIM卡不同的SIM卡。Optionally, with reference to FIG. 4 , as shown in FIG. 5 , the calling apparatus 400 further includes: a display module 403 and a receiving module 404 . The display module 403 can be configured to display a first prompt message on the interface of the electronic device when the first SIM card fails to initiate a call through the first network and the second network. The prompt message is used to prompt the user to replace the SIM card. The receiving module 404 may be configured to receive the first input. The processing module 402 may also be configured to, in response to the first input received by the receiving module 404, re-initiate the call request through a second SIM card, where the second SIM card is a different SIM card from the first SIM card.

可选的,本申请实施例中,至少一个SIM卡包括第一SIM卡和第三SIM卡。检测模块401,还可以用于在使用该第一SIM卡通过IMS发起呼叫请求失败之后,检测该第三SIM卡的服务状态。处理模块402,还可以用于在该第三SIM卡具有IMS服务的情况下,使用该第三SIM卡通过IMS发起呼叫请求。处理模块402,还可以用于在该第三SIM卡不具有IMS服务的情况下,确定目标SIM卡,该目标SIM卡为该第一SIM卡和第三SIM卡中的任一个。处理模块402,还可以用于根据目标SIM卡的无线接入类型确定该目标接入网络,并使用该目标SIM卡通过该目标接入网络发起呼叫请求。Optionally, in this embodiment of the present application, at least one SIM card includes a first SIM card and a third SIM card. The detection module 401 may also be configured to detect the service status of the third SIM card after the first SIM card fails to initiate a call request through the IMS. The processing module 402 may also be configured to initiate a call request through the IMS by using the third SIM card when the third SIM card has the IMS service. The processing module 402 may also be configured to determine a target SIM card when the third SIM card does not have the IMS service, where the target SIM card is any one of the first SIM card and the third SIM card. The processing module 402 may also be configured to determine the target access network according to the wireless access type of the target SIM card, and use the target SIM card to initiate a call request through the target access network.

可选的,如图5所示,该呼叫装置400还包括:获取模块405和收发模块406。获取模块405,可以用于在使用该至少一个SIM卡通过IMS和/或目标接入网络发起呼叫请求均失败的情况下,获取用户的目标位置信息。处理模块402,用于通过第一线路发起呼叫请求,并发送该目标位置信息,该第一线路为电子设备服务商提供的线路。收发模块406,还可以用于接收第一信息,该第一信息用于指示第二线路,该第二线路为根据该目标位置信息确定的用户所在地的紧急呼叫线路。处理模块402,还可以用于根据该第一信息通过该第一线路转接至该第二线路继续发起呼叫请求。Optionally, as shown in FIG. 5 , the calling apparatus 400 further includes: an acquisition module 405 and a transceiver module 406 . The obtaining module 405 may be configured to obtain the target location information of the user in the case that the at least one SIM card fails to initiate a call request through the IMS and/or the target access network. The processing module 402 is configured to initiate a call request through a first line, and send the target location information, where the first line is a line provided by an electronic equipment service provider. The transceiver module 406 may also be configured to receive first information, where the first information is used to indicate a second line, where the second line is an emergency call line at the location of the user determined according to the target location information. The processing module 402 may also be configured to transfer to the second line through the first line according to the first information to continue initiating the call request.

本申请实施例中的呼叫装置可以是电子设备中执行呼叫方法的功能实体和/或功能模块,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(network attached storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The calling apparatus in this embodiment of the present application may be a functional entity and/or a functional module that executes a calling method in an electronic device, and may also be a component, an integrated circuit, or a chip in a terminal. The apparatus may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). assistant, PDA), etc., non-mobile electronic devices can be servers, network attached storage (NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.

本申请实施例中的呼叫装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The calling device in this embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.

本申请实施例提供的呼叫装置能够实现图1至图3的方法实施例中呼叫装置实现的各个过程,为避免重复,这里不再赘述。The calling device provided by the embodiment of the present application can implement each process implemented by the calling device in the method embodiments of FIG. 1 to FIG. 3 , and to avoid repetition, details are not described here.

在本申请实施例提供一种呼叫装置,该呼叫装置可以检测至少一个SIM卡中的第一SIM卡的服务状态;在该第一SIM卡有IMS服务的情况下,使用该第一SIM卡通过IMS发起呼叫请求;在该第一SIM卡无IMS服务的情况下,根据该第一SIM卡的无线接入类型确定目标接入网络,并使用该第一SIM卡通过该目标接入网络发起呼叫请求。通过该方法,呼叫装置可以检测至少一个SIM卡中的第一SIM卡的服务状态,并根据其是否具有IMS服务分别发起紧急呼叫请求,即在有IMS服务时,直接通过IMS发送呼叫请求;在无IMS服务时,使用由该第一SIM卡的无线接入类型所确定目标接入网络,发起呼叫请求。如此,对于一个SIM卡可以通过多种途径依次尝试发起呼叫请求,提高建立呼叫的概率,从而可以有效避免通话连接失败或通话中断导致用户不能得到及时救援的情形,提高用户的获救概率。An embodiment of the present application provides a calling device, which can detect the service status of a first SIM card in at least one SIM card; when the first SIM card has an IMS service, use the first SIM card to pass IMS initiates a call request; if the first SIM card has no IMS service, determine the target access network according to the wireless access type of the first SIM card, and use the first SIM card to initiate a call through the target access network ask. Through this method, the calling device can detect the service status of the first SIM card in the at least one SIM card, and respectively initiate emergency call requests according to whether it has IMS services, that is, when IMS services are available, directly send the call request through the IMS; When there is no IMS service, use the target access network determined by the wireless access type of the first SIM card to initiate a call request. In this way, a SIM card can try to initiate a call request through multiple channels in turn, increasing the probability of establishing a call, thereby effectively avoiding the situation where the user cannot be rescued in time due to failure of the call connection or interruption of the call, and improving the probability of the user being rescued.

可选的,如图6所示,本申请实施例还提供一种电子设备600,包括处理器601,存储器602,存储在存储器602上并可在所述处理器601上运行的程序或指令,该程序或指令被处理器601执行时实现上述呼叫方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 6 , an embodiment of the present application further provides an electronic device 600, including a processor 601, a memory 602, a program or instruction stored in the memory 602 and executable on the processor 601, When the program or instruction is executed by the processor 601, each process of the above-mentioned calling method embodiments can be implemented, and the same technical effect can be achieved. To avoid repetition, details are not described here.

需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.

图7为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.

该电子设备2000包括但不限于:射频单元2001、网络模块2002、音频输出单元2003、输入单元2004、传感器2005、显示单元2006、用户输入单元2007、接口单元2008、存储器2009、以及处理器2010等部件。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, etc. part.

其中,输入单元2004可以包括图形处理器20041和麦克风20042,显示单元2006可以包括显示面板20061,用户输入单元2007可以包括触控面板20071以及其他输入设备20072,存储器2009可用于存储软件程序(如,操作系统、至少一个功能所需的应用程序)以及各种数据。The input unit 2004 may include a graphics 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 (eg, operating system, applications required for at least one function) and various data.

本领域技术人员可以理解,电子设备2000还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器2010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图7中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 2000 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 2010 through a power management system, so that the power management system can manage charging, discharging, and power functions. consumption management and other functions. The structure of the electronic device shown in FIG. 7 does not constitute a limitation on the electronic device. The electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .

其中,传感器2005,可以用于检测至少一个SIM卡中的第一SIM卡的服务状态。 处理器2010,可以用于在该第一SIM卡有IMS服务的情况下,使用该第一SIM卡通过IMS发起呼叫请求。处理器2010,还用于在该第一SIM卡无IMS服务的情况下,根据该第一SIM卡的无线接入类型确定目标接入网络,并使用该第一SIM卡通过该目标接入网络发起呼叫请求。The sensor 2005 may be used to detect the service status of the first SIM card in the at least one SIM card. The processor 2010 may be configured to use the first SIM card to initiate a call request through the IMS when the first SIM card has an IMS service. The processor 2010 is further configured to determine a target access network according to the wireless access type of the first SIM card when the first SIM card has no IMS service, and use the first SIM card to access the network through the target Initiate a call request.

本申请实施例提供一种电子设备,电子设备可以检测至少一个SIM卡中的第一SIM卡的服务状态;在该第一SIM卡有IMS服务的情况下,使用该第一SIM卡通过IMS发起呼叫请求;在该第一SIM卡无IMS服务的情况下,根据该第一SIM卡的无线接入类型确定目标接入网络,并使用该第一SIM卡通过该目标接入网络发起呼叫请求。通过该方法,电子设备可以检测至少一个SIM卡中的第一SIM卡的服务状态,并根据其是否具有IMS服务分别发起紧急呼叫请求,即在有IMS服务时,直接通过IMS发送呼叫请求;在无IMS服务时,使用由该第一SIM卡的无线接入类型所确定目标接入网络,发起呼叫请求。如此,对于一个SIM卡可以通过多种途径依次尝试发起呼叫请求,提高建立呼叫的概率,从而可以有效避免通话连接失败或通话中断导致用户不能得到及时救援的情形,提高用户的获救概率。An embodiment of the present application provides an electronic device, which can detect the service status of a first SIM card in at least one SIM card; when the first SIM card has an IMS service, use the first SIM card to initiate an IMS service Call request; in the case that the first SIM card has no IMS service, determine the target access network according to the wireless access type of the first SIM card, and use the first SIM card to initiate a call request through the target access network. Through this method, the electronic device can detect the service status of the first SIM card in the at least one SIM card, and respectively initiate emergency call requests according to whether it has IMS services, that is, when there are IMS services, directly send the call requests through the IMS; When there is no IMS service, use the target access network determined by the wireless access type of the first SIM card to initiate a call request. In this way, a SIM card can try to initiate a call request through multiple channels in turn, increasing the probability of establishing a call, thereby effectively avoiding the situation where the user cannot be rescued in time due to failure of the call connection or interruption of the call, and improving the probability of the user being rescued.

可选的,本申请实施例中,目标接入网络为与第一SIM卡的无线接入类型对应的第一网络。处理器2010,还可以用于使用第一SIM卡通过第一网络发起呼叫请求之后,若使用该第一SIM卡通过该第一网络发起呼叫请求成功,则通过该第一网络建立呼叫;若使用该第一SIM卡通过该第一网络发起呼叫请求失败,则将该第一网络切换为第二网络,并通过该第二网络发送呼叫请求。其中,该第二网络为与该第一SIM卡的无线接入类型相关联,且与该第一网络不同的网络。Optionally, in this embodiment of the present application, the target access network is the first network corresponding to the wireless access type of the first SIM card. The processor 2010 can also be configured to use the first SIM card to initiate a call request through the first network, if the first SIM card is used to initiate a call request through the first network successfully, then establish a call through the first network; If the first SIM card fails to initiate a call request through the first network, the first network is switched to the second network, and the call request is sent through the second network. Wherein, the second network is a network associated with the wireless access type of the first SIM card and different from the first network.

可以理解的是,电子设备在通过第一SIM卡基于第一网络呼叫请求失败的情况下,电子设备及时将第一网络切换为第二网络,并基于该二网络通过该第一SIM卡继续发送呼叫请求,从而通过尝试不同的网络,增加了呼叫成功的概率,进而提升用户的获救概率,降低用户风险。It can be understood that, in the case that the electronic device fails to make a call request based on the first network through the first SIM card, the electronic device switches the first network to the second network in time, and continues to send through the first SIM card based on the second network. Therefore, by trying different networks, the probability of a successful call is increased, thereby increasing the probability of users being rescued and reducing user risks.

可选的,本申请实施例中,显示单元2006,可以用于在使用所述第一SIM卡通过所述第一网络和所述第二网络发起呼叫均失败的情况下,在电子设备的界面显示第一提示消息,所述第一提示消息用于提示用户更换SIM卡。用户输入单元2007,可以用于接收第一输入。处理器2010,还可以用于响应于用户输入单元2007接收的第一输入,通过第二SIM卡重新发起呼叫请求,该第二SIM卡为与第一SIM卡不同的SIM卡。Optionally, in this embodiment of the present application, the display unit 2006 may be configured to display a display on the interface of the electronic device in the case that the first SIM card fails to initiate a call through the first network and the second network. A first prompt message is displayed, where the first prompt message is used to prompt the user to replace the SIM card. The user input unit 2007 can be used to receive the first input. The processor 2010 may also be configured to re-initiate the call request through the second SIM card in response to the first input received by the user input unit 2007, where the second SIM card is a different SIM card from the first SIM card.

可以理解的是,在使用第一SIM卡通过第一网络和第二网络发起呼叫均失败的情况下,电子设备可以显示第一提示信息,并根据用户对该第一提示信息的操作,触发电子设备将第一SIM卡更换为第二SIM卡重新发起呼叫请求。即,用户可以根据电子设备的呼叫结果反馈,手动控制更换SIM卡继续进行呼叫,从而通过尝试不同SIM卡进行呼叫,增加了呼叫成功的概率,进而提升用户的获救概率,降低用户风险。It can be understood that, in the case where the first SIM card fails to initiate a call through the first network and the second network, the electronic device can display the first prompt information, and trigger the electronic device according to the user's operation on the first prompt information. The device replaces the first SIM card with the second SIM card and re-initiates the call request. That is, the user can manually control the replacement of the SIM card to continue the call according to the call result feedback from the electronic device, thereby increasing the probability of a successful call by trying different SIM cards, thereby increasing the probability of the user being rescued and reducing the risk to the user.

可选的,本申请实施例中,至少一个SIM卡包括第一SIM卡和第三SIM卡。传感器2005,还可以用于在使用该第一SIM卡通过IMS发起呼叫请求失败之后,检测该第三SIM卡的服务状态。处理器2010,还可以用于在该第三SIM卡具有IMS服务的情况下,使用该第三SIM卡通过IMS发起呼叫请求。处理器2010,还可以用于在该第三SIM卡不具有IMS服务的情况下,确定目标SIM卡,该目标SIM卡为该第一SIM卡和第三SIM卡中的任一个。处理器2010,还可以用于根据目标SIM卡的无线接入类型确定该目标接入网络,并使用该目标SIM卡通过该目标接入网络发起呼叫请求。Optionally, in this embodiment of the present application, at least one SIM card includes a first SIM card and a third SIM card. The sensor 2005 can also be used to detect the service status of the third SIM card after the first SIM card fails to initiate a call request through the IMS. The processor 2010 may also be configured to use the third SIM card to initiate a call request through the IMS when the third SIM card has the IMS service. The processor 2010 may also be configured to determine a target SIM card when the third SIM card does not have the IMS service, where the target SIM card is any one of the first SIM card and the third SIM card. The processor 2010 may also be configured to determine the target access network according to the wireless access type of the target SIM card, and use the target SIM card to initiate a call request through the target access network.

可以理解的是,由于电子设备在多个SIM的情况下,可以分别根据第一SIM卡和第三SIM是否具有IMS服务以多种方式发起呼叫请求,因此,一方面、在均具有IMS服务的情况下,优先使用具有SIM功能的SIM卡发起呼叫请求,从而可以更加快速的建立紧急通话请求,进而节约用户时间,提升用户的获救概率。另一方面、在不具有IMS服务的情况下,又可以通过目标接入网络发起呼叫请求,从而保证了通过多种渠道发起呼叫请求,进而增加了呼叫成功的概率,提升用户的获救概率。It can be understood that, in the case of multiple SIMs, the electronic device can initiate a call request in multiple ways according to whether the first SIM card and the third SIM have IMS services. In this case, the SIM card with the SIM function is preferentially used to initiate a call request, so that an emergency call request can be established more quickly, thereby saving the user's time and increasing the probability of the user being rescued. On the other hand, in the case of no IMS service, a call request can be initiated through the target access network, thus ensuring that the call request is initiated through multiple channels, thereby increasing the probability of a successful call and improving the probability of a user being rescued.

可选的,本申请实施例中,传感器2005,可以用于在使用该至少一个SIM卡通过IMS和/或目标接入网络发起呼叫请求均失败的情况下,获取用户的目标位置信息。处理器2010,用于通过第一线路发起呼叫请求,并发送该目标位置信息,该第一线路为电子设备服务商提供的线路。射频单元2001,还可以用于接收第一信息,该第一信息用于指示第二线路,该第二线路为根据该目标位置信息确定的用户所在地的紧急呼叫线路。处理器2010,还可以用于根据该第一信息通过该第一线路转接至该第二线路继续发起呼叫请求。Optionally, in this embodiment of the present application, the sensor 2005 may be configured to acquire the user's target location information in the case that the at least one SIM card fails to initiate a call request through the IMS and/or the target access network. The processor 2010 is configured to initiate a call request through a first line, and send the target location information, where the first line is a line provided by an electronic equipment service provider. The radio frequency unit 2001 may also be configured to receive first information, where the first information is used to indicate a second line, where the second line is an emergency call line at the location of the user determined according to the target location information. The processor 2010 may also be configured to transfer to the second line through the first line according to the first information to continue to initiate a call request.

可以理解的是,电子设备还可以获取用户的目标位置信息,并在使用第一线路发起呼叫请求时一并发送该目标位置信息,服务器可以根据该目标位置信息向电子设备下发指示第二线路的第一信息,进而电子设备可以根据该第一信息转接至第二线路继续发起呼叫请求。即,紧急呼叫中心(即,服务器)转呼叫的方式,能够准确确定用户的位置和对应的紧急呼叫线路(即,第二线路),从而增加了呼叫成功的概率,进而降低用户风险。It can be understood that the electronic device can also obtain the user's target location information, and send the target location information together when using the first line to initiate a call request, and the server can issue instructions to the electronic device to indicate the second line according to the target location information. the first information, and then the electronic device can transfer to the second line according to the first information to continue to initiate the call request. That is, the way the emergency call center (ie, the server) forwards the call can accurately determine the user's location and the corresponding emergency call line (ie, the second line), thereby increasing the probability of a successful call, thereby reducing user risks.

本实施例中各种实现方式具有的有益效果具体可以参见上述方法实施例中相应实现方式所具有的有益效果,为避免重复,此处不再赘述。For the beneficial effects of the various implementations in this embodiment, reference may be made to the beneficial effects of the corresponding implementations in the foregoing method embodiments, which are not repeated here to avoid repetition.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨 论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in the reverse order depending on the functions involved. To perform functions, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to some examples may be combined in other examples.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present application can be embodied in the form of computer software products that are essentially or contribute to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk , CD), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) execute the methods described in the various embodiments of the present application.

上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.

Claims (15)

一种呼叫方法,所述方法包括:A calling method, the method includes: 检测至少一个SIM卡中的第一SIM卡的服务状态;detecting the service status of the first SIM card in the at least one SIM card; 在所述第一SIM卡有IMS服务的情况下,使用所述第一SIM卡通过IMS发起呼叫请求;When the first SIM card has an IMS service, use the first SIM card to initiate a call request through the IMS; 在所述第一SIM卡无IMS服务的情况下,根据所述第一SIM卡的无线接入类型确定目标接入网络,并使用所述第一SIM卡通过所述目标接入网络发起呼叫请求。If the first SIM card has no IMS service, determine a target access network according to the wireless access type of the first SIM card, and use the first SIM card to initiate a call request through the target access network . 根据权利要求1所述的方法,其中,所述目标接入网络为与所述第一SIM卡的无线接入类型对应的第一网络;The method according to claim 1, wherein the target access network is a first network corresponding to a wireless access type of the first SIM card; 所述使用所述第一SIM卡通过所述目标接入网络发起呼叫请求之后,所述方法还包括:After using the first SIM card to initiate a call request through the target access network, the method further includes: 若使用所述第一SIM卡通过所述第一网络发起呼叫请求成功,则通过所述第一网络建立呼叫;If using the first SIM card to initiate a call request through the first network successfully, establish a call through the first network; 若使用所述第一SIM卡通过所述第一网络发起呼叫请求失败,则将所述第一网络切换为第二网络,并通过所述第二网络发送呼叫请求;If using the first SIM card to initiate a call request through the first network fails, switching the first network to a second network, and sending the call request through the second network; 其中,所述第二网络为与所述第一SIM卡的无线接入类型相关联,且与所述第一网络不同的网络。The second network is a network associated with the wireless access type of the first SIM card and different from the first network. 根据权利要求2所述的方法,其中,所述方法还包括:The method of claim 2, wherein the method further comprises: 在使用所述第一SIM卡通过所述第一网络和所述第二网络发起呼叫均失败的情况下,在电子设备的界面显示第一提示消息,所述第一提示消息用于提示用户更换SIM卡;In the case that the first SIM card fails to initiate a call through the first network and the second network, a first prompt message is displayed on the interface of the electronic device, and the first prompt message is used to prompt the user to replace SIM card; 接收第一输入;receive a first input; 响应于所述第一输入,通过第二SIM卡重新发起呼叫请求,所述第二SIM卡为与所述第一SIM卡不同的SIM卡。In response to the first input, the call request is re-initiated through a second SIM card, the second SIM card being a different SIM card from the first SIM card. 根据权利要求1所述的方法,其中,所述至少一个SIM卡包括所述第一SIM卡和第三SIM卡;在使用所述第一SIM卡通过IMS发起呼叫请求失败之后,所述方法还包括:The method of claim 1, wherein the at least one SIM card includes the first SIM card and a third SIM card; after the first SIM card fails to initiate a call request through the IMS, the method further include: 检测所述第三SIM卡的服务状态;detecting the service status of the third SIM card; 在所述第三SIM卡具有IMS服务的情况下,使用所述第三SIM卡通过IMS发起呼叫请求;In the case that the third SIM card has an IMS service, use the third SIM card to initiate a call request through the IMS; 在所述第三SIM卡不具有IMS服务的情况下,确定目标SIM卡,所述目标SIM卡为所述第一SIM卡和第三SIM卡中的任一个;In the case that the third SIM card does not have the IMS service, determine a target SIM card, and the target SIM card is any one of the first SIM card and the third SIM card; 根据所述目标SIM卡的无线接入类型确定所述目标接入网络,并使用所述目标SIM卡通过所述目标接入网络发起呼叫请求。The target access network is determined according to the wireless access type of the target SIM card, and a call request is initiated through the target access network by using the target SIM card. 根据权利要求1至4中的一项所述的方法,其中,所述方法还包括:The method of one of claims 1 to 4, wherein the method further comprises: 在使用所述至少一个SIM卡通过IMS和/或目标接入网络发起呼叫请求均失败的情况下,获取用户的目标位置信息;Obtain the target location information of the user in the case that the at least one SIM card fails to initiate a call request through the IMS and/or the target access network; 通过第一线路发起呼叫请求,并发送所述目标位置信息,所述第一线路为电子设备服务商提供的线路;Initiating a call request through a first line, and sending the target location information, where the first line is a line provided by an electronic equipment service provider; 接收第一信息,所述第一信息用于指示第二线路,所述第二线路为根据所述目标位置信息确定的用户所在地的紧急呼叫线路Receive first information, where the first information is used to indicate a second line, where the second line is an emergency call line at the location of the user determined according to the target location information 根据所述第一信息通过所述第一线路转接至所述第二线路继续发起呼叫请求。Transferring to the second line through the first line according to the first information to continue initiating the call request. 一种呼叫装置,所述装置包括:检测模块和处理模块;A calling device, the device includes: a detection module and a processing module; 所述检测模块,用于检测至少一个SIM卡中的第一SIM卡的服务状态;The detection module is used to detect the service status of the first SIM card in the at least one SIM card; 所述处理模块,用于在所述第一SIM卡有IMS服务的情况下,使用所述第一SIM卡通过IMS发起呼叫请求;The processing module is configured to use the first SIM card to initiate a call request through the IMS when the first SIM card has an IMS service; 所述处理模块,还用于在所述第一SIM卡无IMS服务的情况下,根据所述第一SIM卡的无线接入类型确定目标接入网络,并使用所述第一SIM卡通过所述目标接入网络发起呼叫请求。The processing module is further configured to determine a target access network according to the wireless access type of the first SIM card when the first SIM card has no IMS service, and use the first SIM card to pass the The target access network initiates a call request. 根据权利要求6所述的装置,其中,所述目标接入网络为与所述第一SIM卡的无线接入类型对应的第一网络;The apparatus according to claim 6, wherein the target access network is a first network corresponding to a wireless access type of the first SIM card; 所述处理模块,还用于使用所述第一SIM卡通过所述第一网络发起呼叫请求之后,若使用所述第一SIM卡通过所述第一网络发起呼叫请求成功,则通过所述第一网络建立呼叫;若使用所述第一SIM卡通过所述第一网络发起呼叫请求失败,则将所述第一网络切换为第二网络,并通过所述第二网络发送呼叫请求;The processing module is further configured to use the first SIM card to initiate a call request through the first network, if using the first SIM card to initiate a call request through the first network is successful, then use the first SIM card to initiate a call request through the first network. A network establishes a call; if the first SIM card fails to initiate a call request through the first network, the first network is switched to the second network, and the call request is sent through the second network; 其中,所述第二网络为与所述第一SIM卡的无线接入类型相关联,且与所述第一网络不同的网络。The second network is a network associated with the wireless access type of the first SIM card and different from the first network. 根据权利要求7所述的装置,其中,所述装置还包括:显示模块和接收模块;The device according to claim 7, wherein the device further comprises: a display module and a receiving module; 所述显示模块,用于在使用所述第一SIM卡通过所述第一网络和所述第二网络发起呼叫均失败的情况下,在电子设备的界面显示第一提示消息,所述第一提示消息用于提示用户更换SIM卡;The display module is configured to display a first prompt message on the interface of the electronic device when the first SIM card fails to initiate a call through the first network and the second network, and the first The prompt message is used to prompt the user to replace the SIM card; 所述接收模块,用于接收第一输入;the receiving module, for receiving the first input; 所述处理模块,还用于响应于接收模块接收的所述第一输入,通过第二SIM卡重新发起呼叫请求,所述第二SIM卡为与所述第一SIM卡不同的SIM卡。The processing module is further configured to re-initiate a call request through a second SIM card in response to the first input received by the receiving module, where the second SIM card is a different SIM card from the first SIM card. 根据权利要求6所述的装置,其中,所述至少一个SIM卡包括所述第一SIM卡和第三SIM卡;The apparatus of claim 6, wherein the at least one SIM card comprises the first SIM card and a third SIM card; 所述检测模块,还用于在使用所述第一SIM卡通过IMS发起呼叫请求失败之后,检测所述第三SIM卡的服务状态;The detection module is further configured to detect the service status of the third SIM card after the first SIM card fails to initiate a call request through the IMS; 所述处理模块,还用于在所述第三SIM卡具有IMS服务的情况下,使用所述第三SIM卡通过IMS发起呼叫请求;The processing module is further configured to use the third SIM card to initiate a call request through the IMS when the third SIM card has an IMS service; 所述处理模块,还用于在所述第三SIM卡不具有IMS服务的情况下,确定目标SIM卡,所述目标SIM卡为所述第一SIM卡和第三SIM卡中的任一个;The processing module is further configured to determine a target SIM card when the third SIM card does not have an IMS service, and the target SIM card is any one of the first SIM card and the third SIM card; 所述处理模块,还用于根据所述目标SIM卡的无线接入类型确定所述目标接入网络,并使用所述目标SIM卡通过所述目标接入网络发起呼叫请求。The processing module is further configured to determine the target access network according to the wireless access type of the target SIM card, and use the target SIM card to initiate a call request through the target access network. 根据权利要求6至9中的任一项所述的装置,其中,所述装置还包括:获取模块和收发模块;The apparatus according to any one of claims 6 to 9, wherein the apparatus further comprises: an acquisition module and a transceiver module; 所述获取模块,用于在使用所述至少一个SIM卡通过IMS和/或目标接入网络发起呼叫请求均失败的情况下,获取用户的目标位置信息;The obtaining module is configured to obtain the target location information of the user when the at least one SIM card fails to initiate a call request through the IMS and/or the target access network; 所述处理模块,用于通过第一线路发起呼叫请求,并发送所述目标位置信息,所述第一线路为电子设备服务商提供的线路;The processing module is configured to initiate a call request and send the target location information through a first line, where the first line is a line provided by an electronic equipment service provider; 所述收发模块,还用于接收第一信息,所述第一信息用于指示第二线路,所述第二线路为根据所述目标位置信息确定的用户所在地的紧急呼叫线路;The transceiver module is further configured to receive first information, where the first information is used to indicate a second line, and the second line is an emergency call line at the location of the user determined according to the target location information; 所述处理模块,还用于根据所述第一信息通过所述第一线路转接至所述第二线路继续发起呼叫请求。The processing module is further configured to transfer to the second line through the first line according to the first information and continue to initiate a call request. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至5中的任一项所述的呼叫方法的步骤。An electronic device, comprising a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being executed by the processor to achieve as claimed in claims 1 to 5 The steps of any one of the calling methods. 一种可读存储介质,所述可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述的呼叫方法的步骤。A readable storage medium on which a computer program is stored, the computer program implementing the steps of the calling method according to any one of claims 1 to 5 when the computer program is executed by a processor. 一种计算机软件产品,所述计算机软件产品被至少一个处理器执行以实现如权利要求1至5中任一项所述的呼叫方法。A computer software product executed by at least one processor to implement the calling method of any one of claims 1 to 5. 一种电子设备,包括电子设备被配置成用于执行如权利要求1至5中任一项所述的呼叫方法。An electronic device comprising the electronic device configured to perform the calling method of any one of claims 1 to 5. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至5中任一项所述的呼叫方法。A chip comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or an instruction to implement a call as claimed in any one of claims 1 to 5 method.
PCT/CN2022/081209 2021-03-18 2022-03-16 Calling method and apparatus and electronic device Ceased WO2022194212A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110293017.0A CN113163371A (en) 2021-03-18 2021-03-18 Calling method and device and electronic equipment
CN202110293017.0 2021-03-18

Publications (1)

Publication Number Publication Date
WO2022194212A1 true WO2022194212A1 (en) 2022-09-22

Family

ID=76887817

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/081209 Ceased WO2022194212A1 (en) 2021-03-18 2022-03-16 Calling method and apparatus and electronic device

Country Status (2)

Country Link
CN (1) CN113163371A (en)
WO (1) WO2022194212A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113163371A (en) * 2021-03-18 2021-07-23 维沃移动通信有限公司 Calling method and device and electronic equipment
CN119729436A (en) * 2023-09-28 2025-03-28 北京小米移动软件有限公司 Emergency rescue method, device, vehicle and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102356650A (en) * 2009-03-17 2012-02-15 阿尔卡特朗讯 Cellular wireless network and method of operation
CN104980905A (en) * 2014-04-01 2015-10-14 联发科技股份有限公司 Multiple subscriber identity module device and subscriber identity module selection method
CN110933657A (en) * 2019-11-04 2020-03-27 Oppo(重庆)智能科技有限公司 Dialing method and device in emergency state, storage medium and electronic equipment
CN113163371A (en) * 2021-03-18 2021-07-23 维沃移动通信有限公司 Calling method and device and electronic equipment
CN113365234A (en) * 2021-05-25 2021-09-07 维沃移动通信有限公司 Calling method and device and electronic equipment

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006191474A (en) * 2005-01-07 2006-07-20 Oki Electric Ind Co Ltd Emergency reporting system
CN100563373C (en) * 2006-08-25 2009-11-25 华为技术有限公司 Method and system for realizing emergency service
KR100799195B1 (en) * 2007-01-12 2008-01-29 삼성전자주식회사 Emergency call connection method and device in portable terminal
US9294618B2 (en) * 2012-04-03 2016-03-22 Telefonaktiebolaget L M Ericsson (Publ) Call-back to a UE that has made an emergency call via a visited IMS network
CN105992147A (en) * 2015-02-13 2016-10-05 中国移动通信集团北京有限公司 Emergency call realization method and apparatus
US9867217B1 (en) * 2016-12-30 2018-01-09 T-Mobile Usa, Inc. Emergency call setup in wireless networks
CN110167000B (en) * 2018-02-11 2021-05-18 维沃移动通信有限公司 Indication method, terminal equipment and network equipment for emergency services
CN109348057A (en) * 2018-10-25 2019-02-15 维沃移动通信有限公司 A calling method and mobile terminal
CN109819489B (en) * 2019-01-16 2021-03-23 维沃移动通信有限公司 A terminal calling method and terminal
CN112312324B (en) * 2020-10-29 2023-09-19 维沃移动通信有限公司 Location information sending device and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102356650A (en) * 2009-03-17 2012-02-15 阿尔卡特朗讯 Cellular wireless network and method of operation
CN104980905A (en) * 2014-04-01 2015-10-14 联发科技股份有限公司 Multiple subscriber identity module device and subscriber identity module selection method
CN110933657A (en) * 2019-11-04 2020-03-27 Oppo(重庆)智能科技有限公司 Dialing method and device in emergency state, storage medium and electronic equipment
CN113163371A (en) * 2021-03-18 2021-07-23 维沃移动通信有限公司 Calling method and device and electronic equipment
CN113365234A (en) * 2021-05-25 2021-09-07 维沃移动通信有限公司 Calling method and device and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
INTEL, QUALCOMM, LGE: "Use Case: Support of Emergency services for Multi-USIM Devices", 3GPP DRAFT; S1-191629-WASS1-191577-WASS1-191324-WASS1-191020-PCR-EMERGENCY-CALL-V5, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. SA WG1, no. Suzhou, China; 20190506 - 20190510, 13 May 2019 (2019-05-13), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , XP051743785 *

Also Published As

Publication number Publication date
CN113163371A (en) 2021-07-23

Similar Documents

Publication Publication Date Title
CN113543281B (en) Voice call method and voice call device
CN113365234B (en) Calling method and device and electronic equipment
US20210250383A1 (en) Method for internet protocol based multimedia subsystem registration and device, communication device, and storage medium
WO2021057526A1 (en) Disaster recovery method for gateway device, and communication device
WO2021238845A1 (en) Call control method and apparatus, and electronic device
CN106454968B (en) Calling method and device based on CSFB
US12149920B2 (en) Calling method, storage medium, and terminal
CN102710851B (en) Method and device for mode switching
WO2022089484A1 (en) Location information sending apparatus and method
WO2022194212A1 (en) Calling method and apparatus and electronic device
CN108934050A (en) A kind of voice call method, UE and network system
WO2022247781A1 (en) Call processing method, call processing apparatus, and electronic device and medium
US20230139150A1 (en) Method and apparatus for processing call initiation anomaly
EP2421218A1 (en) Session transfer method, apparatus and system thereof
CN111669818A (en) Wi-Fi control method, device and electronic device
US20170180512A1 (en) Method and apparatus for recovery in a communication system employing redundancy
CN113163462B (en) Cellular network switching method and device
WO2022194002A1 (en) Voice service handover method, device, and user equipment
US20240260101A1 (en) Call Processing Method and Apparatus, Electronic Device, and Storage Medium
CN113766630B (en) IMS network registration method, device and electronic device
CN111542080A (en) Mobile network recovery method and device of terminal, terminal and storage medium
WO2024061133A1 (en) Communication method, apparatus, ue, and readable storage medium
WO2023185929A1 (en) Resource control method and apparatus, terminal, and network side device
WO2022183982A1 (en) Call establishment method and apparatus, and electronic device and readable storage medium
WO2022166864A1 (en) Communication establishment method and device, and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22770565

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22770565

Country of ref document: EP

Kind code of ref document: A1