A method for reminding people of incoming calls and an electronic device
By determining the dual-SIM dual-pass capability in dual-SIM dual-pass devices, automatically rejecting calls and alerting users to incoming calls, the problem of missed calls in dual-SIM dual-pass devices is solved, improving user experience and the reliability of call log generation.
Patent Information
- Application Number
- CN202310485974.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-28
- Publication Date
- 2026-01-30
- Estimated Expiration
- 2043-04-28
AI Technical Summary
In dual-SIM dual-standby electronic devices, how can we automatically reject calls from the other SIM card when one SIM card is in a call, to prevent missing important calls and avoid missing missed call records?
By determining whether the electronic device has dual-pass capability, it automatically rejects incoming calls and provides call notifications, including displaying or voice prompts of incoming call information, generating missed call records, sending cancellation messages to the calling device, and using preset dual-pass policies and modem to determine network or frequency band combinations.
It enables automatic call rejection and timely reminders in dual-call scenarios, preventing important calls from being missed, ensuring the generation of missed call records, and improving user experience.
Smart Images

Figure CN118869863B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present application relate to the technical field of communication, and in particular, to a call reminding method and an electronic device BACKGROUND
[0002] With the development of technology, electronic devices (such as mobile phones) supporting dual SIM dual standby (DSDS) are more and more common, and some dual SIM dual standby mobile phones can also support dual SIM dual active (DSDA).
[0003] In some cases, when one of the SIM cards in the electronic device supporting dual SIM dual active is in a call state, if an incoming call of another SIM card is received, the electronic device needs to reject the incoming call of the other SIM card. Therefore, in the dual active scenario, how to reject the incoming call of the other SIM card becomes a problem to be solved. SUMMARY
[0004] Embodiments of the present application provide a call reminding method and an electronic device, which are used to realize the call rejection of a SIM card in a dual active scenario,
[0005] To achieve the above object, the technical scheme is adopted as follows:
[0006] In a first aspect, a call reminding method is provided, which is applied to an electronic device including at least two SIM cards. In a case where a first SIM card among the at least two SIM cards is in a call state, the electronic device receives an incoming call of a second SIM card. The call state can include a ringing state or a call-in-progress state, and the first SIM card and the second SIM card are two different SIM cards in the electronic device.
[0007] The electronic device can determine whether the electronic device can maintain a dual SIM dual active (DSDA) mode. The DSDA mode means that the electronic device has a dual active capability for voice services, that is, the electronic device has the capability of performing voice services through another SIM card in a case where the electronic device performs voice services through one SIM card.
[0008] In a case where the electronic device cannot maintain the DSDA mode, it is indicated that the electronic device does not have a dual active capability, and needs to automatically reject the incoming call of the second SIM card. The electronic device can perform a call rejection operation on the incoming call of the second SIM card, and can perform a call prompting operation. The call prompting operation can prompt the electronic device to receive the incoming call of the second SIM card.
[0009] In the present application, during the process that one SIM card (i.e. the first SIM card) in the electronic device is in the call state, if the incoming call of another SIM card (i.e. the second SIM card) in the electronic device is received, the electronic device can first determine whether the electronic device can maintain the DSDA mode, i.e. determine whether the electronic device has the dual-pass capability for voice service, that is, determine whether the electronic device has the capability of answering the incoming call of the second SIM card. In the case that the electronic device cannot maintain the DSDA mode, it indicates that the electronic device does not have the dual-pass capability, that is, does not have the capability of answering the incoming call of another SIM card, and needs to automatically reject the incoming call of the other SIM card. The electronic device can reject the incoming call of the second SIM card, realize the automatic rejection of the incoming call of the second SIM card, that is, realize the automatic rejection of the incoming call of the SIM card in the dual-pass scenario. Moreover, the electronic device can perform the incoming call prompt operation to prompt the user that the electronic device receives the incoming call of the second SIM card, realize that the user can timely know the incoming call of the second SIM card, realize the timely reminder of the automatic rejection of the incoming call in the dual-pass scenario, and prevent the user from missing important calls. At the same time, through the incoming call prompt operation, it can be avoided that after the electronic device hangs up the incoming call of the second SIM card, the user cannot find the incoming call of the second SIM card due to the fact that no missed call record corresponding to the incoming call of the second SIM card is generated, thereby preventing the situation of missing the incoming call, avoiding that the user misses important calls, and improving the user experience.
[0010] In a possible implementation manner of the first aspect, in the case that the electronic device can maintain the DSDA mode, it indicates that the electronic device has the dual-pass capability, the electronic device can continue to determine whether the electronic device can perform dual-pass, i.e. determine whether the electronic device can answer the incoming call of the second SIM card. The electronic device can determine whether to reject the incoming call of the second SIM card by using a preset dual-pass strategy. The preset dual-pass strategy indicates whether to reject the incoming call of another SIM card in the case that one SIM card in the electronic device is in the call state.
[0011] In the case that the preset dual-pass strategy indicates to reject the incoming call of another SIM card in the case that one SIM card is in the call state, the electronic device can perform the rejection operation and the incoming call prompt operation on the incoming call of the second SIM card.
[0012] For example, the preset dual-pass strategy can be pre-stored in the electronic device, such as being set in the electronic device before the electronic device is shipped.
[0013] In the present application, in the case that the electronic device can maintain the DSDA mode, the electronic device has the dual-pass capability, the electronic device can possibly answer the incoming call of the second SIM card, therefore, the electronic device can determine whether the electronic device itself can continue to maintain the dual-pass based on a preset dual-pass strategy. In the case that the preset dual-pass strategy indicates that in the case that one SIM card is in the call state, the electronic device indicates that the electronic device does not support answering the incoming call of the other SIM card (or described as itself cannot perform the dual-pass) in the case that one SIM card is in the call state, the electronic device can directly reject the incoming call of the second SIM card, and the electronic device can perform the incoming call prompt operation to prompt the user that the electronic device receives the incoming call of the second SIM card, so that the user can timely know the incoming call of the second SIM card, realize the timely reminding of the incoming call of the second SIM card in the dual-pass scenario, and prevent the user from missing important calls.
[0014] In a possible implementation of the first aspect, in the case that the preset dual-pass strategy indicates that in the case that one SIM card is in the call state, the electronic device can display the answering interface corresponding to the incoming call of the second SIM card, so that the electronic device can realize the answering or hanging up of the incoming call of the second SIM card through the operation of the user on the answering interface.
[0015] In a possible implementation of the first aspect, the rejecting operation can include sending a first cancel message to the calling device corresponding to the incoming call of the second SIM card. The first cancel message is used to trigger the calling device to output first prompt information, and the first prompt information is used to prompt the actual reason why the incoming call of the second SIM card is not answered, that is, to prompt that the other SIM card of the called device is in the call, so that the calling user can clearly know the actual reason why the incoming call of the second SIM card is not answered, and avoid the calling user from wondering why the other party does not answer the incoming call.
[0016] For example, the first cancel message can carry the first prompt information.
[0017] In a possible implementation of the first aspect, the electronic device uses the SIM card in the electronic device to make the outgoing call, and the process of rejecting the outgoing call can include:
[0018] The electronic device sends an outgoing call request to the target device based on a target SIM card in the at least two SIM cards, and the target SIM card is a SIM card in the at least two SIM cards in the idle state (such as the non-call state).
[0019] In the case that the target device rejects the call request of the target SIM card, the target device can send a first cancel message to the electronic device. In response to the first cancel message, the electronic device can output first prompt information for prompting that another SIM card of the called device (e.g., the target device) is in a call, so that the user of the electronic device can explicitly know the reason why the call request of the target SIM card is rejected.
[0020] In a possible implementation of the first aspect, in the case that the electronic device cannot maintain the DSDA mode, after the call of the second SIM card is hung up, the electronic device can generate a missed call record corresponding to the call of the second SIM card, so that the user can check the missed call of the second SIM card through the call record, and the missed call reminder is achieved through the call record, and the user can find the missed call due to the fact that the electronic device cannot generate the missed call record of the second SIM card due to some reasons (e.g., the call of the second SIM card cannot be sensed).
[0021] In a possible implementation of the first aspect, the electronic device can include a Modem. Correspondingly, in the case that the call of the second SIM card is received, the Modem can determine whether it can maintain the DSDA mode, i.e., whether the Modem has the dual-call capability.
[0022] In the case that the Modem cannot maintain the DSDA mode, the Modem performs the rejection operation on the call of the second SIM card and performs the call prompt operation, so as to achieve the rejection of the call of the second SIM card through the Modem.
[0023] The Modem can perform the call prompt operation through other modules (e.g., an application framework layer and an Incall module) of the electronic device. For example, in the case that the Modem cannot maintain the DSDA mode, the Modem can send a second call message to the application framework layer of the electronic device. The second call message can include a calling number. Of course, other types of information can also be included, such as a called number, a second SIM card identifier, a call time, etc. Then, the application framework layer can send the second call message to the IncallUI module of the electronic device. Then, the IncallUI module receives the second call message, and performs the call prompt operation based on the second call message, so as to achieve the timely reminder of the call of the second SIM card.
[0024] In another possible implementation of the first aspect, in the case that the Modem can maintain the DSDA mode, the Modem can send a first call message to a target software layer of the electronic device.
[0025] The target software layer receives the first incoming call message. In response to the first incoming call message, in a case that the preset double-pass strategy indicates to reject an incoming call of another SIM card in a case that one SIM card is in a call state, the target software layer can perform a rejection operation on the incoming call of the second SIM card, and can perform an incoming call prompting operation, so as to realize the rejection of the incoming call of the second SIM card through the target software layer.
[0026] The target software layer can perform the rejection operation through other modules (such as a Modem) of the electronic device.
[0027] For example, the target software layer can include an application framework layer or an Android runtime and system library layer. For example, the operation performed by the target software layer can be performed by a related module in the application framework layer or the Android runtime and system library. For example, the operation performed by the application framework layer can be performed by an IMS Common module in the application framework layer.
[0028] In a possible implementation of the first aspect, since the upper layer (such as the application framework layer or the application layer) cannot perceive the incoming call of the second SIM card when the Modem rejects the incoming call of the second SIM card, the upper layer cannot generate a missed call record corresponding to the incoming call of the second SIM card. However, through the incoming call prompting operation, the upper layer can perceive the incoming call of the second SIM card, so that the missed call record corresponding to the incoming call of the second SIM card can be generated after the incoming call of the second SIM card is hung up. Accordingly, after the incoming call of the second SIM card ends, the electronic device receives a first operation of a user to view a missed call. In response to the first operation, the electronic device displays a missed call record, and the missed call record includes a missed call record (or is described as a second SIM card call record) corresponding to the incoming call of the second SIM card.
[0029] In a possible implementation of the first aspect, the incoming call prompting operation includes at least one of the following operations: displaying second prompt information, playing the second prompt information by voice (that is, voice prompting), and vibration prompting. The second prompt information includes a calling number corresponding to the incoming call of the second SIM card and / or an identifier of the second SIM card, so as to realize timely prompting of automatic rejection of the incoming call in the double-pass scenario.
[0030] In a possible implementation of the first aspect, the incoming call prompting operation comprises displaying second prompt information. After receiving a second operation of the user on the second prompt information, the electronic device can hang up the call of the first SIM card in response to the second operation. Based on the first SIM card, the calling number corresponding to the incoming call of the second SIM card is redialed; or based on the second SIM card, the calling number corresponding to the incoming call of the second SIM card is redialed, so as to realize fast redialing of the incoming call of the second SIM card and avoid missing important matters by the user.
[0031] For example, before the calling number corresponding to the incoming call of the second SIM card is redialed based on the second SIM card, the incoming call of the second SIM card can be hung up first.
[0032] In a possible implementation of the first aspect, whether the electronic device (or the Modem in the electronic device) can maintain the DSDA mode can be determined by a mobile communication network and / or a frequency band corresponding to the mobile communication network.
[0033] In an example, the determination is performed by the mobile communication network. The electronic device (or the Modem) determines whether an actual network combination belongs to a preset network combination, where the actual network combination comprises a first network combination and / or a second network combination. The first network combination comprises a mobile communication network of the first SIM card and an initial mobile communication network of the second SIM card, and the second network combination comprises the mobile communication network of the first SIM card and a predicted mobile communication network of the second SIM card.
[0034] The mobile communication network of the first SIM card represents a mobile communication network used by the first SIM card for voice service at present, the initial mobile communication network of the second SIM card represents a mobile communication network used by the second SIM card when receiving an incoming call, and the predicted mobile communication network of the second SIM card represents a mobile communication network used by the second SIM card when continuing to process the incoming call of the second SIM card after receiving the incoming call of the second SIM card. The preset network combination represents the mobile communication networks of the first SIM card and the second SIM card when the electronic device has a dual-pass capability.
[0035] When the actual network combination belongs to the preset network combination, the electronic device (or the Modem) can maintain the DSDA mode. When the actual network combination does not belong to the preset network combination, the electronic device (or the Modem) cannot maintain the DSDA mode.
[0036] For example, taking the first network combination as an example, if the first network combination belongs to the preset network combination, the actual network combination belongs to the preset network combination; if the first network combination does not belong to the preset network combination, the actual network combination does not belong to the preset network combination.
[0037] For example, taking the second network combination as an example, if the second network combination belongs to the preset network combination, the actual network combination belongs to the preset network combination; if the second network combination does not belong to the preset network combination, the actual network combination does not belong to the preset network combination.
[0038] For example, taking the first network combination and the second network combination as an example, if the first network combination and the second network combination both belong to the preset network combination, the actual network combination belongs to the preset network combination; if the first network combination or the second network combination does not belong to the preset network combination, the actual network combination does not belong to the preset network combination.
[0039] In this application, the electronic device (or the Modem in the electronic device) can only have the capability of dual-pass for voice service under a specific mobile communication network combination, therefore, the electronic device can determine the mobile communication network used by the first SIM card for voice service (i.e., the mobile communication network of the first SIM card) and the mobile communication network used by the second SIM card for voice service (i.e., the mobile communication network of the second SIM card). Then, the electronic device can determine whether the electronic device has the capability of dual-pass for voice service by judging whether the actual network combination including the mobile communication network of the first SIM card and the mobile communication network of the second SIM card belongs to the preset network combination, and realize the judgment of whether to reject the incoming call of the second SIM card.
[0040] In another example, the judgment is performed through the frequency bands corresponding to the mobile communication networks. The electronic device (or the Modem) judges whether the actual frequency band combination belongs to the preset frequency band combination, the actual frequency band combination including a first frequency band combination and / or a second frequency band combination. The first frequency band combination includes the frequency band of the first SIM card and the initial frequency band of the second SIM card, and the second frequency band combination includes the frequency band of the first SIM card and the predicted frequency band of the second SIM card.
[0041] The frequency band of the first SIM card represents the network frequency band used by the first SIM card for voice service, the initial frequency band of the second SIM card represents the network frequency band used by the second SIM card when receiving the incoming call. The predicted frequency band of the second SIM card represents the network frequency band used for predicting the processing of the incoming call of the second SIM card after receiving the incoming call of the second SIM card. The preset frequency band combination represents the frequency bands of the first SIM card and the second SIM card when the electronic device has the capability of dual-pass.
[0042] In the case that the actual frequency band combination belongs to the preset frequency band combination, the electronic device (or modem) can maintain the DSDA mode. In the case that the actual frequency band combination does not belong to the preset frequency band combination, the electronic device (or modem) cannot maintain the DSDA mode.
[0043] For example, in the case that the actual frequency band combination includes the first frequency band combination, in the case that the first frequency band combination belongs to the preset frequency band combination, the actual frequency band combination belongs to the preset frequency band combination; in the case that the first frequency band combination does not belong to the preset frequency band combination, the actual frequency band combination does not belong to the preset frequency band combination.
[0044] For example, in the case that the actual frequency band combination includes the second frequency band combination, in the case that the second frequency band combination belongs to the preset frequency band combination, the actual frequency band combination belongs to the preset frequency band combination; in the case that the second frequency band combination does not belong to the preset frequency band combination, the actual frequency band combination does not belong to the preset frequency band combination.
[0045] For example, in the case that the actual frequency band combination includes the first frequency band combination and the second frequency band combination, in the case that the first frequency band combination and the second frequency band combination both belong to the preset frequency band combination, the actual frequency band combination belongs to the preset frequency band combination; in the case that the first frequency band combination or the second frequency band combination does not belong to the preset frequency band combination, the actual frequency band combination does not belong to the preset frequency band combination.
[0046] In another example, the judgment is made through the mobile communication network and the frequency band corresponding to the mobile communication network. In the case that the actual network combination belongs to the preset network combination and the actual frequency band combination belongs to the preset frequency band combination, the electronic device can maintain the DSDA mode. In the case that the actual network combination does not belong to the preset network combination or the actual frequency band combination does not belong to the preset frequency band combination, the electronic device cannot maintain the DSDA mode.
[0047] In this application, since one mobile communication network can include multiple frequency bands, the electronic device (or modem in the electronic device) can only be capable of voice service in a specific frequency band in the mobile communication network, that is, the electronic device can only have the capability of dual connectivity for voice service in a specific frequency band combination. Therefore, the electronic device can determine the specific frequency band used by the first SIM card for voice service (i.e., the frequency band of the first SIM card) and the specific frequency band used by the second SIM card for voice service (i.e., the frequency band of the second SIM card). Then, the electronic device can determine whether the electronic device has the capability of dual connectivity for voice service by judging whether the actual frequency band combination including the frequency band of the first SIM card and the frequency band of the second SIM card belongs to the preset frequency band combination, so as to accurately determine whether to reject the incoming call of the second SIM card.
[0048] In a second aspect, the present application provides a call reminding method applied to an electronic device including at least two SIM cards. In a case where a first SIM card among the at least two SIM cards is in a call state, the electronic device receives an incoming call of a second SIM card. The call state can include a ringing state or a call-in state, and the first SIM card and the second SIM card are two different SIM cards in the electronic device.
[0049] The electronic device can determine whether the electronic device can maintain a dual SIM dual active (DSDA) mode. The DSDA mode means that the electronic device has a dual active capability for voice services, that is, the electronic device has a capability of performing voice services through another SIM card in a case where the electronic device performs voice services through one SIM card.
[0050] In a case where the electronic device cannot maintain the DSDA mode, it is indicated that the electronic device does not have the dual active capability. The electronic device can perform a rejection operation on the incoming call of the second SIM card. The rejection operation includes sending a first cancel message to a calling device corresponding to the incoming call of the second SIM card. The first cancel message is used to trigger the calling device to output a first prompt information and to stop calling. The first prompt information is used to prompt that another SIM card of the called device is in a call.
[0051] For example, the first cancel message can carry the first prompt information.
[0052] In the present application, in a case where the first SIM card in the electronic device is in a call state, if an incoming call of a second SIM card in the electronic device is received, the electronic device can first determine whether the electronic device can maintain the DSDA mode, that is, whether the electronic device has a dual active capability for voice services. In a case where the electronic device cannot maintain the DSDA mode, it is indicated that the electronic device does not have the dual active capability, that is, does not have a capability of answering the incoming call of another SIM card, and needs to automatically reject the incoming call of the other SIM card. The electronic device can perform a rejection operation on the incoming call of the second SIM card, so as to automatically reject the incoming call of the second SIM card, that is, to reject the incoming call of the SIM card in the dual active scenario. By sending a first cancel message to a calling device corresponding to the incoming call of the second SIM card, the calling device is triggered to output a first prompt information, so that the calling user can clearly know the actual reason why the incoming call of the second SIM card is not answered, and the calling user can avoid wondering why the incoming call is not answered by the other party.
[0053] In a possible implementation of the second aspect, in the case that the electronic device cannot maintain the DSDA mode, the electronic device can not only perform the rejection operation, but also perform a call prompt operation, which can prompt the electronic device that a call of the second SIM card is received. Based on this, the user can be prompted by the call prompt operation that the call of the second SIM card is received, so that the user can be informed of the call of the second SIM card in time, the timely prompting of automatically rejecting the call in the dual-communication scenario is implemented, and the user can be prevented from missing important calls. Meanwhile, the call prompt operation can avoid the case that after the call of the second SIM card is hung up, the user cannot find the call of the second SIM card because no missed call record corresponding to the call of the second SIM card is generated, so that the user can be prevented from missing important calls, and the user experience is high.
[0054] In a third aspect, the present application provides an electronic device, which includes a display screen, a memory, a plurality of SIM card interfaces, and one or more processors; the display screen, the memory, the SIM card interfaces, and the processors are coupled; the SIM card interfaces are configured to connect SIM cards, the display screen is configured to display images generated by the processors, and the memory is configured to store computer program codes including computer instructions; when the processors execute the computer instructions, the electronic device performs the call prompting method as described above.
[0055] For example, the display screen can display interfaces related to calls, such as a call interface, an answer interface, and the like.
[0056] In another possible implementation of the third aspect, the electronic device can include a Modem, which can determine whether to reject a call.
[0057] In another possible implementation of the third aspect, the electronic device can further include one or more of a motor, a receiver, and a speaker, the motor can perform a vibration prompt for a call, and the receiver or the speaker can perform a voice prompt for a call.
[0058] In a fourth aspect, the present application provides a computer-readable storage medium, which includes computer instructions, when the computer instructions are run on an electronic device, the electronic device performs the method as described above.
[0059] In a fifth aspect, the present application provides a computer program product, when the computer program product is run on an electronic device, the electronic device performs the method as described above.
[0060] It can be understood that the call reminding method provided in the second aspect, the electronic device provided in the third aspect, the computer readable storage medium provided in the fourth aspect, and the computer program product provided in the fifth aspect can achieve the beneficial effects of the first aspect and any possible design of the first aspect, which will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS
[0061] Figure 1 A structural schematic diagram of an electronic device provided by an embodiment of the present application;
[0062] Figure 2 A structural block diagram of an electronic device provided by an embodiment of the present application;
[0063] Figure 3A A schematic diagram of a call interface provided by an embodiment of the present application Figure 1 ;
[0064] Figure 3B A schematic diagram of a call interface provided by an embodiment of the present application Figure 2 ;
[0065] Figure 4A A schematic diagram of a call interface provided by an embodiment of the present application
[0066] Figure 4B A schematic diagram of a call interface provided by an embodiment of the present application
[0067] Figure 5 A call rejection flow provided by an embodiment of the present application Figure 1 ;
[0068] Figure 6A A schematic diagram of a call interface provided by an embodiment of the present application Figure 5 ;
[0069] Figure 6B A schematic diagram of a call interface provided by an embodiment of the present application
[0070] Figure 6C A schematic diagram of a call interface provided by an embodiment of the present application Figure 7 ;
[0071] Figure 6D A schematic diagram of a call interface provided by an embodiment of the present application Figure 8 ;
[0072] Figure 7 A call rejection flow provided by an embodiment of the present application Figure 2 ;
[0073] Figure 8A flowchart of a call prompt method provided for an embodiment of the present application Figure 1 ;
[0074] Figure 9A An interface diagram of a call prompt provided for an embodiment of the present application Figure 1 ;
[0075] Figure 9B An interface diagram of a call prompt provided for an embodiment of the present application Figure 2 ;
[0076] Figure 9C A schematic diagram of a call interface provided for an embodiment of the present application
[0077] Figure 9D A schematic diagram of a call interface provided for an embodiment of the present application Figure 10 ;
[0078] Figure 9E An interface diagram of a call prompt provided for an embodiment of the present application
[0079] Figure 9F A schematic diagram of a call interface provided for an embodiment of the present application Figure 10 ;
[0080] Figure 9G A schematic diagram of a call interface provided for an embodiment of the present application Figure 10 ;
[0081] Figure 10 An interface diagram of a call prompt provided for an embodiment of the present application
[0082] Figure 11 A flowchart of a call prompt method provided for an embodiment of the present application Figure 2 ;
[0083] Figure 12 An interface diagram of a call prompt provided for an embodiment of the present application DETAILED DESCRIPTION
[0084] Hereinafter, the terms "first" and "second" are used only for the purpose of description and can not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined with "first" and "second" can explicitly or implicitly include one or more of the features. In the description of the embodiments, unless otherwise specified, the meaning of "a plurality of" is two or more.
[0085] Figure 1 A structural schematic diagram of an electronic device 100 is shown.
[0086] The electronic device 100 can include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headset interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
[0087] It can be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 can include more or fewer components than illustrated, or combine certain components, or split certain components, or different arrangement of components. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.
[0088] The processor 110 can include one or more processing units, for example: the processor 110 can include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units can be independent devices, or can be integrated in one or more processors.
[0089] Among them, the controller can be the nerve center and command center of the electronic device 100. The controller can generate operation control signals according to instruction operation codes and timing signals, and complete the control of fetching instructions and executing instructions.
[0090] The memory in the processor 110 can also be provided for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory can save instructions or data that the processor 110 has just used or repeatedly uses. If the processor 110 needs to use the instructions or data again, it can be directly called from the memory. This avoids repeated access and reduces the waiting time of the processor 110, thus improving the efficiency of the system.
[0091] In some embodiments, the processor 110 can include one or more interfaces. The interfaces can include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0092] It can be understood that the interface connection relationship between the modules shown in the embodiments of the present application is only illustrative and does not constitute a limitation on the structure of the electronic device 100. In some other embodiments of the present application, the electronic device 100 can also use different interface connection modes or a combination of multiple interface connection modes in the above embodiments.
[0093] The charging management module 140 is configured to receive charging input from a charger. The charging management module 140 can charge the battery 142 and also supply power to the electronic device through the power management module 141.
[0094] The power management module 141 is configured to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to supply power to the electronic device.
[0095] The wireless communication function of the electronic device 100 can be realized through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor, etc.
[0096] The antenna 1 and the antenna 2 are configured to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization rate of the antennas. For example, the antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In some other embodiments, the antennas can be used in combination with a tuning switch.
[0097] The mobile communication module 150 can provide a solution for wireless communication including 2G / 3G / 4G / 5G, etc. applied to the electronic device 100. The mobile communication module 150 can include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform filtering, amplification, etc. on the received electromagnetic waves, and transfer the same to a modem processor, which can also be referred to as a modem, to be demodulated. The mobile communication module 150 can also amplify signals modulated by the modem processor, and radiate the same as electromagnetic waves through the antenna 1. In some embodiments, at least part of the functional modules of the mobile communication module 150 can be provided in the processor 110. In some embodiments, at least part of the functional modules of the mobile communication module 150 can be provided in the same device as at least part of the modules of the processor 110.
[0098] The modem processor can include a modulator and a demodulator. The modulator is configured to modulate a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is configured to demodulate a received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. The low-frequency baseband signal processed by the baseband processor is transmitted to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the microphone 170B, etc.), or displays an image or a video through the display 194. In some embodiments, the modem processor can be a separate device. In other embodiments, the modem processor can be independent of the processor 110, and provided in the same device as the mobile communication module 150 or other functional modules.
[0099] The wireless communication module 160 can provide a solution for wireless communication including wireless local area networks (WLAN) (e.g., wireless fidelity (Wi-Fi) network), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) technology, etc. applied to the electronic device 100. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives an electromagnetic wave via the antenna 2, frequency-modulates and filters the electromagnetic wave signal, and transmits the processed signal to the processor 110. The wireless communication module 160 can also receive a signal to be transmitted from the processor 110, frequency-modulate it, amplify it, and radiate it as an electromagnetic wave via the antenna 2.
[0100] In some embodiments, the antenna 1 and the mobile communication module 150 of the electronic device 100 are coupled, and the antenna 2 and the wireless communication module 160 are coupled, so that the electronic device 100 can communicate with a network and other devices through wireless communication technology. The wireless communication technology can include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The GNSS can include a global positioning system (GPS), a global navigation satellite system (GLONASS), a beidu navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and / or a satellite based augmentation systems (SBAS).
[0101] The electronic device 100 implements a display function through a GPU, a display screen 194, and an application processor, etc. The GPU is a microprocessor for image processing, which is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 can include one or more GPUs, which execute program instructions to generate or change display information.
[0102] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. In some embodiments, the electronic device 100 can include 1 or N display screens 194, N being a positive integer greater than 1.
[0103] In some embodiments, the electronic device 100 can display a call prompt information on the display screen 194 to prompt the incoming call situation of the SIM card in the electronic device 100. For example, when one SIM card in the electronic device 100 is in a call state and receives an incoming call of the other SIM card, if the incoming call is rejected, the call prompt information can be displayed on the display screen 194 to prompt the incoming call situation of the other SIM card.
[0104] The electronic device 100 can implement the photographing function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, and the application processor, etc.
[0105] The ISP is used to process the data fed back by the camera 193.
[0106] The camera 193 is used to capture a still image or a video. In some embodiments, the electronic device 100 can include one or N cameras 193, and N is a positive integer greater than 1.
[0107] The digital signal processor is used to process digital signals, which can be digital image signals or other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy, etc.
[0108] The video codec is used to compress or decompress digital videos. The NPU is a neural-network (NN) calculation processor, which is used to quickly process the input information by referring to the biological neural network structure, such as the transmission mode between human brain neurons, and can also constantly self-learn.
[0109] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement the data storage function. For example, the music, video, and other files are saved in the external memory card.
[0110] The internal memory 121 can be used to store computer executable program codes including instructions. The processor 110 performs various functional applications and data processing of the electronic device 100 by executing the instructions stored in the internal memory 121. The internal memory 121 can include a program storage area and a data storage area. The program storage area can store an operating system, at least one application program (e.g., a sound play function, an image play function, etc.) required for at least one function, etc. The data storage area can store data (e.g., audio data, a phone book, etc.) created during the use of the electronic device 100, etc. In addition, the internal memory 121 can include a high-speed random access memory, and can further include a non-volatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0111] The electronic device 100 can implement an audio function through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor, etc. For example, music play, recording, etc.
[0112] The audio module 170 is used to convert digital audio information into an analog audio signal output, and is also used to convert an analog audio input into a digital audio signal.
[0113] The speaker 170A, also referred to as a "loudspeaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.
[0114] The receiver 170B, also referred to as a "earpiece", is used to convert an audio electrical signal into a sound signal. When the electronic device 100 answers a phone or a voice message, the voice can be heard by placing the receiver 170B close to the ear.
[0115] In some embodiments, the electronic device 100 can voice prompt the incoming call situation of the SIM card in the electronic device 100 through the receiver 170B. For example, if a SIM card in the electronic device 100 is in a call state, receives an incoming call of another SIM card, and refuses the incoming call, the voice can prompt the incoming call of the other SIM card.
[0116] The microphone 170C, also referred to as a "microphone", "sound transducer", is used to convert a sound signal into an electrical signal.
[0117] The earphone interface 170D is used to connect a wired earphone.
[0118] Exemplarily, the sensor module 180 can include a pressure sensor, a gyroscope sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor 180, an ambient light sensor, a bone conduction sensor, etc.
[0119] The keys 190 include a power key, a volume key, etc. The motor 191 can generate a vibration prompt. The motor 191 can be used for incoming call vibration prompt, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as photographing, audio playing, etc.) can correspond to different vibration feedback effects. Touch operations acting on different regions of the display screen 194 can also correspond to different vibration feedback effects of the motor 191. Different application scenarios (such as time reminders, receiving messages, alarms, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also be customized. For example, when a SIM card in the electronic device 100 is in a call state and receives an incoming call of another SIM card, if the incoming call is rejected, the other SIM card can be prompted by vibration.
[0120] The indicator 192 can be an indicator light, which can be used to indicate a charging state, a power change, and can also be used to indicate a message, a missed call, a notification, etc.
[0121] The SIM card interface 195 is used to connect a SIM card. The SIM card can be inserted into or pulled out of the SIM card interface 195 to realize contact and separation with the electronic device 100. The electronic device 100 can support one or N SIM card interfaces, and N is a positive integer greater than 1. The SIM card interface 195 can support a Nano SIM card, a Micro SIM card, a SIM card, etc. The same SIM card interface 195 can simultaneously insert multiple cards. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external storage cards. The electronic device 100 interacts with a network (or described as a mobile communication network) through a SIM card to realize functions such as call and data communication. In some embodiments, the electronic device 100 adopts an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
[0122] Exemplarily, the above-mentioned electronic device can be a mobile phone, a tablet computer, a wearable device (such as a smart watch), etc. with a SIM card, and the present application does not limit it.
[0123] The software system of the electronic device 100 can employ a layered architecture, an event-driven architecture, a microkernel architecture, a microservices architecture, or a cloud architecture. Embodiments of the present application take an Android system with a layered architecture as an example to illustrate the software structure of the electronic device 100.
[0124] Figure 2 is a structural block diagram of the electronic device 100 of embodiments of the present application.
[0125] A layered architecture divides software into several layers, each of which has a clear role and division of labor. Layers communicate with each other through software interfaces. In some embodiments, an Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Android runtime and system library, and a kernel layer. The application layer, the application framework layer, the Android runtime and system library, and the kernel layer all belong to software layers.
[0126] The application layer can include a series of application packages. As shown in Figure 2 , the application packages can include call interface, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, and the like.
[0127] Illustratively, the call interface application is responsible for managing interfaces related to calls, such as displaying a call-incoming interface, a call-answering interface, and a call-hanging-up interface. Moreover, the call interface application can display incoming call prompt information, such as the case where a SIM card in the electronic device 100 is in a call state and receives an incoming call of another SIM card. If the incoming call is rejected, the call interface application can display the incoming call prompt information on the interface currently displayed by the electronic device 100, which prompts the case of the incoming call of the other SIM card.
[0128] In some embodiments, the call interface application can be an IncallUI module, which is a native module of the Android system.
[0129] The application framework layer provides application programming interfaces (APIs) and programming frameworks for the applications of the application layer. The application framework layer includes some pre-defined functions.
[0130] As shown in Figure 2 , the application framework layer can include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, an IP multimedia subsystem (IMS) Common module, and the like.
[0131] The IMS Common module can determine whether to reject an incoming call of the SIM card based on a preset call strategy (e.g., a preset dual-call strategy). The IMS Common module is a native module of the Android system.
[0132] The window manager is used to manage window programs. The window manager can acquire a display screen size, determine whether there is a status bar, lock a screen, and capture a screen.
[0133] The content provider is used to store and acquire data, and make the data accessible to application programs. The data can include videos, images, audios, dialed and received calls, browsing history and bookmarks, phone books, and the like.
[0134] The view system includes visual controls, such as a control for displaying text and a control for displaying pictures. The view system can be used to build application programs. A display interface can be composed of one or more views. For example, a display interface including a short message notification icon can include a view for displaying text and a view for displaying pictures.
[0135] The phone manager is used to provide a communication function of the electronic device 100. For example, management of a call state (including call connection and call hang-up).
[0136] The resource manager provides various resources for application programs, such as localized strings, icons, pictures, layout files, video files, and the like.
[0137] The notification manager enables application programs to display notification information in a status bar. The notification manager can be used to convey a message of the notification type, which can automatically disappear after a short stay without user interaction.
[0138] The Android runtime includes a core library and a virtual machine. The Android runtime is responsible for scheduling and management of the Android system.
[0139] The core library includes two parts: one part is a function function that the java language needs to call, and the other part is the core library of Android.
[0140] The application program layer and the application program framework layer run in the virtual machine. The virtual machine executes the java files of the application program layer and the application program framework layer into binary files. The virtual machine is used to perform functions of management of an object life cycle, stack management, thread management, security and exception management, and garbage collection.
[0141] The system libraries can include a plurality of functional modules. For example, an IMS application (Android package, APK), a surface manager, media libraries, a three-dimensional graphics processing library (e.g., OpenGL ES), a 2D graphics engine (e.g., SGL), etc.
[0142] The IMS application can determine whether to reject an incoming call of a SIM card. In some embodiments, the IMS application can not be located in the Android runtime and the system libraries, but can be located in the application framework layer.
[0143] The surface manager is used to manage a display subsystem, and provides a plurality of applications with fusion of 2D and 3D layers.
[0144] The media libraries support playback and recording of a plurality of commonly used audio, video formats, and static image files, etc. The media libraries can support a plurality of audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0145] The three-dimensional graphics processing library is used to implement three-dimensional graphics drawing, image rendering, synthesis, and layer processing, etc.
[0146] The 2D graphics engine is a drawing engine for 2D drawing.
[0147] The kernel layer is a layer between hardware and software. The kernel layer at least includes display drivers, camera drivers, audio drivers, and sensor drivers.
[0148] In some embodiments, the software layer and the hardware layer can communicate with each other. For example, when a SIM card is in a call state and an incoming call of another SIM card is received, the Modem in the hardware layer can send an incoming call message to the software layer (e.g., the application framework layer) to continue determining whether to reject the incoming call of the other SIM card, in a case that the Modem determines that the DSDA mode can be maintained.
[0149] The above describes a possible hardware structure and software structure of an electronic device, and the following describes a technical solution of the present application by taking the electronic device as a mobile phone (or referred to as mobile phone 1).
[0150] In some embodiments, the mobile phone supports a dual SIM dual active mode. Generally, the dual SIM dual active mobile phone can perform voice service based on a first mobile communication network through a SIM card in the mobile phone, and can perform voice service based on a second mobile communication network through another SIM card. For example, when the first SIM card in the mobile phone 1 is in a call state (e.g., as shown in FIG. 1), after receiving an incoming call of the second SIM card, the mobile phone 1 can display, as shown in FIG. 2, a call interface 200 of the first SIM card, and an incoming call interface 210 of the second SIM card. Figure 3A As shown in FIG. 2, the call interface 200 of the first SIM card can include a call state 201, a call duration 202, a call type 203, a call number 204, and a call icon 205.Figure 3B The incoming call interface shown. Then, when the user wants to answer the incoming call of the second SIM card, the answer button on the incoming call interface shown can be clicked. The mobile phone 1 can answer the incoming call of the second SIM card in response to the click operation of the answer button, realizing the connection of the incoming call of the second SIM card. Wherein, the card 1 in the call interface shown above represents the SIM card in call with the device with the number 15XXX, the operator corresponding to the card 1 is the operator 1, and the region 1 is the home of 15XXX. The card 2 in the incoming call interface shown above represents the SIM card receiving the incoming call, the operator corresponding to the card 2 is the operator 2, and the calling number corresponding to the incoming call of the card 2 is 185XXX. Figure 3B Figure 3A The card 1 (here, the card 1 can represent the first SIM card) in the call interface shown above represents the SIM card in call with the device with the number 15XXX, the operator corresponding to the card 1 is the operator 1, and the region 1 is the home of 15XXX. The card 2 in the incoming call interface shown above represents the SIM card receiving the incoming call, the operator corresponding to the card 2 is the operator 2, and the calling number corresponding to the incoming call of the card 2 is 185XXX. Figure 3B
[0151] Wherein, the first mobile communication network can be a 2G / 3G / 4G / 5G mobile communication network. Similarly, the second mobile communication network can be a 2G / 3G / 4G / 5G mobile communication network. Generally speaking, in order to improve the call quality, the first mobile communication network can be a 4G or 5G network, and the second mobile communication network can be a 4G or 5G network. For example, the first mobile communication network is a 4G network, and the second mobile communication network is a 5G network; for another example, the first network is a 5G network, and the second mobile communication network is a 4G network; for another example, the first mobile communication network is a 5G network, and the second mobile communication network is a 5G network. That is, the mobile phone 1 can realize dual-card dual-communication through the combination of 4G+5G and 5G+4G, but cannot realize dual-card dual-communication through the combination of 4G+4G, in other words, when one of the first mobile communication network and the second mobile communication network is a 4G network, the other cannot be a 4G network.
[0152] In some embodiments, mobile phone 1 may not be able to maintain dual-SIM dual-standby mode. That is, when one SIM card (such as the first SIM card) in dual-SIM dual-standby mobile phone 1 is in a call state, the other SIM card (such as the second SIM card) in mobile phone 1 cannot conduct voice services, such as automatically rejecting voice call requests from the second SIM card (or incoming calls from the second SIM card). The calling device corresponding to the incoming call from the second SIM card may play a prompt message "The number you dialed is currently in a call". During the process of mobile phone 1 receiving an incoming call from the second SIM card, the user of mobile phone 1 cannot perceive the incoming call from the second SIM card, resulting in the user not being able to discover new incoming calls in time, which may lead to missed calls, and thus the user may miss important calls. The call state can include a call in progress state or a ringing state. The ringing state indicates the state of mobile phone 1 from the time it makes a voice call request (or describes it as a phone call) until the call is answered by the other party, such as when mobile phone 1 plays the other party's ringtone after making a call, and mobile phone 1 is in a ringing state. Alternatively, the ringing state indicates that mobile phone 1 has received an incoming call, but has not yet answered it. In other words, the ringing status indicates that the phone itself is ringing, or that the other party is ringing.
[0153] The call status indicates the state after the call is connected. In other words, from the moment the call on the SIM card is answered until the call on the SIM card ends (e.g., the user hangs up or the call is automatically disconnected), the SIM card is in a call state.
[0154] For example, when phone 1 receives a call from the first SIM card, the user can click as follows: Figure 4A The answer button on the incoming call screen is shown. In response to the user's tap on this answer button, mobile phone 1 answers the incoming call from the first SIM card and displays the following: Figure 4B The interface shown is for answering calls from the first SIM card. The status of the first SIM card in phone 1 changes from ringing to in-call. When the first SIM card in phone 1 is in a call, the calling and called users corresponding to the incoming call can speak. Here, "calling and called users corresponding to the first SIM card" refers to the user of the calling device and the user of the called device (such as phone 1) corresponding to the incoming call. When a user of phone 1 wants to hang up, they can click as described above. Figure 3A The hang-up button is shown. When this button is clicked, mobile phone 1 hangs up the call on the first SIM card. Similarly, the calling device corresponding to an incoming call on the first SIM card can also hang up the call on the first SIM card. The calling device can be a user equipment (UE), such as a mobile phone, tablet computer, or other device with calling capabilities.
[0155] The first SIM card in the mobile phone 1 is in a ringing state from the time the incoming call of the first SIM card is received by the mobile phone 1 to the time the incoming call of the first SIM card is answered by the mobile phone 1. The first SIM card in the mobile phone 1 is in a call state from the time the incoming call of the first SIM card is answered by the mobile phone 1 to the time the call of the first SIM card is hung up. The state of the first SIM card in the mobile phone 1 is switched to the call state when the incoming call of the first SIM card is answered by the mobile phone 1.
[0156] For another example, the user of the mobile phone 1 uses the first SIM card in the mobile phone 1 to make an outgoing call. During the process of waiting for the outgoing call of the first SIM card to be answered, the mobile phone 1 can play a ringtone. Here the mobile phone 1 is a called device, and the device receiving the outgoing call of the first SIM card is a calling device. Then, in the case that the user of the calling device answers the outgoing call of the first SIM card, such as clicking an answer button displayed on the calling device, the calling device can answer the outgoing call of the first SIM card in response to the clicking operation of the user on the answer button. The SIM card in the mobile phone 1 is in a ringing state from the time the outgoing call of the first SIM card is made in the mobile phone 1 or from the time the mobile phone 1 plays the ringtone to the time the outgoing call of the first SIM card is answered. The state of the first SIM card in the mobile phone 1 is switched to the call state when the outgoing call of the first SIM card is answered by the calling device.
[0157] For example, as shown in FIG. 8, the first SIM card in the mobile phone 1 is in a call state, and the mobile phone 1 receives an incoming call of a second SIM card. The process of rejecting the incoming call of the second SIM card can include the following steps. Figure 5 The mobile phone 1 receives the incoming call of the second SIM card (i.e., receives an invite message of the second SIM card) through a network (such as a core network) when the first SIM card in the mobile phone 1 is in a call state. The invite message can include a calling number and a called number (such as a telephone number corresponding to the second SIM card). Here the calling device of the second SIM card can be a mobile phone 2.
[0158] Then, an IMS in the mobile phone 1 receives the invite message. In response to the invite message, the IMS determines whether the mobile phone 1 can maintain a DSDA mode, i.e., whether a Modem in the mobile phone 1 has a double-pass capability. The IMS can be located on the Modem.
[0159] In the case that the DSDA mode cannot be maintained, it indicates that the modem in the mobile phone 1 does not support the dual-pass, i.e. the mobile phone 1 cannot make voice service through the second SIM card while the first SIM card is in the call state. The IMS can directly reject the incoming call of the second SIM card, such as sending a cancel message to the mobile phone 2 through the network. Then, the calling device receives the cancel message. In response to the cancel message, the voice plays the prompt information "the phone you dialed is in the call state", and the call is abandoned (or stopped).
[0160] In the case that the DSDA mode can be maintained, it indicates that the modem in the mobile phone 1 supports the dual-pass. The IMS can send an incoming message to the application framework layer in the mobile phone 1. The incoming message can include the calling number. Then, the application framework layer can determine whether to reject the incoming call of the second SIM card based on the preset dual-pass strategy in response to the incoming message. The preset dual-pass strategy indicates whether to automatically reject the incoming call of the other SIM card in the dual-pass scenario, i.e. in the case that one SIM card is in the call state and the incoming call of the other SIM card is received.
[0161] In the case that the incoming call of the second SIM card is rejected, it indicates that the preset dual-pass strategy indicates to reject the incoming call of the other SIM card in the case that one SIM card is in the call state and the incoming call of the other SIM card is received. The application framework layer can send a reject message to the IMS. Then, the IMS receives the reject message and can send a cancel message to the calling device corresponding to the incoming call of the second SIM card in response to the reject message. Then, the calling device receives the cancel message through the network and plays the prompt information "the phone you dialed is in the call state" in response to the cancel message.
[0162] In addition, as shown in the above Figure 5 , in the case that the incoming call of the second SIM card is rejected, the application framework layer can send an incoming message to the IncallUI module in the mobile phone 1. The incoming message is used for the IncallUI module to generate the missed call record corresponding to the incoming call of the second SIM card in the case that the incoming call of the second SIM card ends. Then, in the case that the incoming call of the second SIM card ends, the IncallUI module can generate the missed call record corresponding to the incoming call of the second SIM card based on the related information (such as the calling number) in the incoming message, and display the missed call record corresponding to the incoming call of the second SIM card.
[0163] In some embodiments, the operations performed by the application framework layer can be performed by the related modules in the application framework layer, such as the IMS Common module.
[0164] From the above Figure 5 It can be seen that the IMS (here or described as Modem) in the mobile phone 1 and the application framework layer can automatically reject the incoming call of the second SIM card. On the one hand, if the IMS directly rejects the incoming call of the second SIM card, the upper layer (such as the application framework layer and the IncallUI module) cannot perceive the incoming call of the second SIM card, and at this time the IncallUI module will not generate a missed call record, that is, the mobile phone 1 will not exist in the incoming call record of the second SIM card. The missed call record corresponding to the incoming call, the problem of missing incoming calls and not reminding, which leads to the user of the mobile phone 1 cannot know the incoming call of the second SIM card, which may cause the user to miss important calls.
[0165] For example, as shown in Figure 6A , in the case that the first SIM card (such as card 1) in the mobile phone 1 is in a ringing state, the mobile phone 1 receives an incoming call of the second SIM card (such as card 2) in the mobile phone 1, and the number corresponding to the second SIM card is 100XXX. Among them, the calling device of the incoming call of the second SIM card can be called mobile phone 2, and the calling number corresponding to the incoming call of the second SIM card is 185XXX. Then, the IMS in the mobile phone 1 can reject the incoming call of the second SIM card, and send a cancel message (such as Figure 6B ) to the mobile phone 2. Then, the calling device receives the cancel message, and in response to the cancel message, the voice plays the prompt information "the phone you dialed is in a call" (as shown in Figure 6B ).
[0166] When the user of the mobile phone 2 wants to stop calling, the user of the mobile phone 2 can click the hang-up button 11 as shown in Figure 6A or Figure 6B , and in response to the click operation of the user on the hang-up button 11, the mobile phone 2 can end the incoming call of the second SIM card. In the case that the incoming call of the second SIM card is ended, as shown in Figure 6C , the incoming call record in the mobile phone 1 does not exist the missed call record corresponding to the incoming call of the second SIM card, that is, there is no missed call record of the number 185XXX.
[0167] On the other hand, if the application framework layer rejects the incoming call of the second SIM card, the upper layer can perceive the incoming call of the second SIM card, but the IncallUI module generates the missed call record corresponding to the incoming call of the second SIM card (such as Figure 6DThe illustrated missed call record 20) causes the user to be unaware of the incoming call of the second SIM card during the incoming call process of the second SIM card, thereby causing the situation of not timely reminding the user of the incoming call, which can cause the user to miss important calls and reduce the user experience.
[0168] In some embodiments, not only the IMS (here or described as Modem) in the mobile phone 1 and the application framework layer can automatically reject the incoming call of the second SIM card, but also other modules / devices in the mobile phone 1 can reject the incoming call of the second SIM card. For example, Figure 7 As shown, the IMS application and the IncallUI module in the mobile phone 1 can also reject the incoming call of the second SIM card. Among them, the process of the IMS application rejecting the incoming call of the second SIM card is similar to the process of the application framework layer rejecting the incoming call of the second SIM card. For example, if the IMS can keep the DSDA mode, the IMS application can be sent an incoming call message, so that the IMS application judges whether to reject the incoming call of the second SIM card based on the relevant call strategy. If it is rejected, the IMS application can trigger the IMS to send a cancel message to the calling device. If it is not rejected, the IMS application can send an incoming call message to the IMS Common module, so that the IMS Common module continues to judge whether to reject the incoming call of the second SIM card.
[0169] The IMS Common module can send an incoming call message to the IncallUI module when it is determined not to reject the incoming call of the second SIM card. Based on the incoming call message, the IncallUI module can display the incoming call interface corresponding to the incoming call of the second SIM card (such as the incoming call interface shown in FIG. 2). Figure 3B After that, the user can choose to answer or hang up the incoming call of the second SIM card. In one case, in response to the answer operation of the incoming call of the second SIM card, the IncallUI module can answer the incoming call of the second SIM card and send an answer message to the calling device corresponding to the incoming call of the second SIM card through the IMS Common module, the IMS application and the Modem, so as to realize the connection of the incoming call of the second SIM card. In another case, in response to the hang-up operation of the incoming call of the second SIM card, the IncallUI module can reject the incoming call of the second SIM card and in turn send a rejection message to the Modem through the IMS Common module and the IMS application. After that, the Modem can send a cancel message to the calling device corresponding to the incoming call of the second SIM card in response to the rejection message.
[0170] It should be noted that even if the mobile phone 1 cannot perform dual access, such as in the case of automatically rejecting incoming calls of the second SIM card, the mobile phone 1 still meets the standard of a dual access device. Specifically, the device meets the standard of a dual access device in the case of meeting the use cases related to dual access incoming calls disclosed by the relevant departments as shown in Table 1.
[0171] Table 1
[0172]
[0173] As can be seen from the above Table 1, for a dual card dual access device, in a dual access scenario, it can be implemented in a manner similar to a single access device, such as in the case where one SIM card in the dual card dual access device is in a call state, when the other SIM card rings, the dual card dual access device can automatically reject the incoming call of the other SIM card.
[0174] It can be understood that although it is implemented in a manner similar to a single access device, it is different from an actual single access device. Assuming that the mobile phone 1 is a dual card single access device, in the case where one SIM card in the mobile phone 1 is in a call state, if the other device calls the other SIM card in the mobile phone 1, although the mobile phone 1 also automatically rejects the incoming call of the other SIM card, the Modem in the mobile phone 1 cannot sense the incoming call of the other SIM card. However, if the mobile phone 1 is a dual card dual access device, the Modem in the mobile phone 1 can sense the incoming call of the other SIM card.
[0175] To solve the above problem, the application provides a method for reminding incoming calls. In the case where the first SIM card in the mobile phone 1 is in a call state, if an incoming call of the second SIM card in the mobile phone 1 is received, the mobile phone 1 can determine whether the mobile phone 1 can support the DSDA mode, that is, whether it has dual access capability. In the case where the DSDA mode is not supported, it indicates that the mobile phone 1 does not have dual access capability, that is, the mobile phone 1 cannot perform dual access, and the mobile phone 1 needs to reject the incoming call of the second SIM card. In order to avoid the user not discovering the rejected incoming call of the second SIM card in time (i.e., missing the call), the mobile phone 1 can perform an incoming call prompting operation, the incoming call prompting operation is used to prompt the mobile phone 1 that the incoming call of the second SIM card is received, the incoming call prompting operation can include at least one operation of displaying incoming call prompt information, voice prompt and vibration prompt, realizing timely reminding of automatically rejecting the incoming call in a dual access scenario, so that the user can know the incoming call of the second SIM card in time, preventing the user from missing important calls. Moreover, by performing the incoming call prompting operation, after the incoming call of the second SIM card is hung up, since the mobile phone 1 does not generate a missed call record corresponding to the incoming call of the second SIM card, the user cannot discover the incoming call of the second SIM card, thereby preventing the situation of missing the incoming call, avoiding the user missing important calls, and improving user experience.
[0176] And / or, considering that the voice prompt of "the phone you dialed is in a call" corresponds to multiple scenarios, such as the second SIM card is in a call state, and the user actively hangs up the incoming call of the second SIM card, therefore, in the case of not supporting the DSDA mode, that is, in the case of the mobile phone 1 needing to reject the incoming call of the second SIM card, the mobile phone 1 can send a first cancel message to the calling device corresponding to the incoming call of the second SIM card. Wherein, the first cancel message is used to trigger the calling device to output a rejection prompt information (or called first prompt information) and give up the call, and the rejection prompt information is used to prompt that another SIM card of the called device (such as the mobile phone 1) is in a call state, that is, to prompt the actual reason why the mobile phone 1 does not answer the incoming call of the second SIM card, so that the user of the calling device clearly knows the reason why the other party cannot answer the phone, and avoids the doubt why the other party does not answer the incoming call.
[0177] The technical solutions provided by the embodiments of the present application are briefly summarized above, and the incoming call reminding method provided by the embodiments of the present application will be described in detail below. Figure 8 As shown in the figure, the incoming call reminding method can include S301-S306. Figure 8
[0178] S301, in the case that the first SIM card in the mobile phone 1 is in a call state, the mobile phone 1 receives the incoming call of the second SIM card in the mobile phone 1.
[0179] Wherein, the call state can be one of the ringing state and the call-in state. For the incoming call (i.e. the voice call request) of the second SIM card, the mobile phone 1 is the called device, and the device dialing the voice call request of the second SIM card is the calling device.
[0180] Wherein, the first SIM card can be any one of the SIM cards in the mobile phone 1. The second SIM card can be any one of the SIM cards in the mobile phone 1 except the first SIM card.
[0181] S302, the mobile phone 1 judges whether the mobile phone 1 can keep the DSDA mode.
[0182] Wherein, the DSDA mode means that the mobile phone 1 has the dual-pass capability, that is, the Modem in the mobile phone 1 has the dual-pass capability, that is, the mobile phone 1 has the capability of making voice calls through another SIM card in the case of making voice calls through one SIM card in the mobile phone 1. In other words, the DSDA mode means that the mobile phone 1 has the capability of answering the incoming call of the second SIM card in the case that the first SIM card is in a call state.
[0183] In some embodiments, the mobile phone 1 can determine whether the mobile phone 1 can keep the DSDA mode through the mobile communication networks of the first SIM card and the second SIM card. First, the mobile phone 1 can obtain the mobile communication network of the first SIM card and the mobile communication network of the second SIM card. The mobile communication network of the first SIM card represents the mobile communication network used by the first SIM card for the current voice service. The mobile communication network of the second SIM card represents the mobile communication network used by the second SIM card for the voice service. Then, the mobile phone 1 can determine whether the mobile communication network of the first SIM card and the mobile communication network of the second SIM card belong to a preset network combination. The preset network combination represents the mobile communication networks of the two SIM cards when the mobile phone 1 (e.g., the Modem in the mobile phone 1) has the dual-pass capability. The preset network combination is set according to the Modem in the mobile phone 1. For example, the Modem in the mobile phone 1 can only support the combination of 5G+5G, that is, when the mobile communication network used by one SIM card in the mobile phone 1 for the voice service is a 5G network and the mobile communication network used by the other SIM card for the voice service is also a 5G network, the mobile phone 1 (e.g., the Modem in the mobile phone 1) has the dual-pass capability. Accordingly, the preset network combination of the mobile phone 1 can include the combination of 5G+4G. For another example, the Modem in the mobile phone 1 can support the combination of 5G+5G and the combination of 5G+4G. The preset network combination of the mobile phone 1 can include the combination of 5G+5G and the combination of 5G+4G.
[0184] When the actual network combination of the mobile phone 1 (i.e., the network combination composed of the mobile communication network of the first SIM card and the mobile communication network of the second SIM card) belongs to the preset network combination, it indicates that the mobile phone 1 supports the actual network combination, that is, the mobile phone 1 has the capability of answering the incoming call of the second SIM card when the first SIM card is in the call state. In other words, the mobile phone 1 has the dual-pass capability, and the mobile phone 1 can determine that the mobile phone 1 can keep the DSDA mode.
[0185] When the actual network combination of the mobile phone 1 does not belong to the preset network combination, it indicates that the mobile phone 1 does not support the actual network combination, that is, the mobile phone 1 cannot answer the incoming call of the second SIM card when the first SIM card is in the call state. In other words, the mobile phone 1 does not have the dual-pass capability, and the mobile phone 1 (e.g., the Modem in the mobile phone 1) needs to reject the incoming call of the second SIM card. The mobile phone 1 can determine that the mobile phone 1 cannot keep the DSDA mode.
[0186] It can be understood that the type of mobile communication network used by the SIM card for voice service is related to the operator corresponding to the SIM card. For example, if the operator corresponding to the SIM card opens 5G VoNR, the mobile communication network used by the SIM card for voice service (or the mobile communication network used for processing the voice service of the SIM card) can be a 5G network. For example, the dual-card 5G switch of the mobile phone 1 is in an open state, and the first SIM card and the second SIM card in the mobile phone 1 both support using a 5G network for voice service. The operator corresponding to the first SIM card is operator A, and the operator corresponding to the second SIM card is operator B. Operator A opens VoNR, and the mobile communication network for voice service of the first SIM card can be a 5G network. Operator B does not open VoNR and opens VoLTE. The second SIM card can initially receive a 5G incoming call using a 5G network, that is, the initial mobile communication network of the second SIM card can be a 5G network. However, since the operator corresponding to the second SIM card does not open VoNR, it cannot continue to use the 5G network for voice service, and therefore, the mobile communication network used by the second SIM card for voice service will fall back from 5G to 4G, that is, the mobile communication network used by the second SIM card for voice service changes to a 4G network to ensure the continuity of voice service relying on VoLTE. Here, in the case where 5G does not have VoNR conditions, the process of falling back from 5G to 4G for voice service and relying on VoLTE to ensure the continuity of voice service can be referred to as EPSFB.
[0187] In addition, the type of mobile communication network used by the SIM card for voice service is not only related to the operator corresponding to the SIM card, but also related to the current region of the SIM card (i.e., the mobile phone 1). In the case where the current region of the SIM card belongs to a preset VoNR opening region, the mobile communication network used by the SIM card for voice service does not need to fall back from 5G to 4G. In the case where the current region of the SIM card does not belong to a preset VoNR opening region, the mobile communication network used by the SIM card for voice service needs to fall back from 5G to 4G.
[0188] In some embodiments, the above-mentioned mobile communication network of the second SIM card can include the initial mobile communication network of the second SIM card and / or the predicted mobile communication network of the second SIM card. The initial mobile communication network of the second SIM card represents the initial mobile communication network used by the second SIM card for voice service, that is, the mobile communication network used by the second SIM card for receiving an incoming call. For example, the second SIM card can initially receive a 5G incoming call using a 5G network, and the initial mobile communication network of the second SIM card is a 5G network.
[0189] The predicted mobile communication network of the second SIM card refers to the mobile communication network used by the second SIM card to continue processing the incoming call after receiving the incoming call of the second SIM card, that is, the mobile communication network used by the second SIM card to continue voice service. For example, the 5G switch corresponding to the second SIM card in the mobile phone 1 is in an open state, which can support voice service using a 5G network. The second SIM card initially receives an incoming call using a 5G network, and the initial mobile communication network of the second SIM card is a 5G network. However, since the second SIM card does not open VoNR, it cannot continue to process the incoming call using the 5G network, and needs to fall back to the 4G network to continue to process the incoming call. Therefore, the predicted mobile communication network of the second SIM card is a 4G network.
[0190] Taking the initial mobile communication network of the second SIM card as an example of the above-mentioned mobile communication network of the second SIM card, the actual network combination can include the mobile communication network of the first SIM card and the initial mobile communication network of the second SIM card.
[0191] Taking the predicted mobile communication network of the second SIM card as an example of the above-mentioned mobile communication network of the second SIM card, the actual network combination can include the mobile communication network of the first SIM card and the predicted mobile communication network of the second SIM card.
[0192] Taking the initial mobile communication network and the predicted mobile communication network of the second SIM card as an example of the above-mentioned mobile communication network of the second SIM card, the actual network combination can include a first network combination and a second network combination. The first network combination includes the mobile communication network of the first SIM card and the initial mobile communication network of the second SIM card. The second network combination includes the mobile communication network of the first SIM card and the predicted mobile communication network of the second SIM card. Correspondingly, in the case that the first network combination and the second network combination both belong to the preset network combination, the mobile phone 1 can maintain the DSDA mode without exiting the DSDA mode. In the case that the first network combination or the second network combination does not belong to the preset network combination, the mobile phone 1 cannot maintain the DSDA mode.
[0193] For example, the preset network combination of the mobile phone 1 includes a 5G+5G combination and a 5G+4G combination. The first SIM card in the mobile phone 1 is in a call state, and the mobile communication network used by the first SIM card is 4G, that is, the first SIM card in the mobile phone 1 is in a 4G call, and the mobile communication network of the first SIM card is 4G. The second SIM card in the mobile phone 1 receives an incoming call of the second SIM card using a 5G network, the incoming call of the second SIM card is a 5G incoming call, and the initial mobile communication network of the second SIM card is 5G. However, since the second SIM card does not open the VoNR, the voice service of the second SIM card will fall back from 5G to 4G, and the predicted mobile communication network of the second SIM card is 4G. Correspondingly, the first network combination is 5G+5G, and the second network combination is 5G+4G. Since the first network combination belongs to the preset network combination, and the second network combination does not belong to the preset network combination, the mobile phone 1 can determine that the mobile phone 1 cannot maintain the DSDA mode.
[0194] Optionally, in the case of receiving the incoming call of the second SIM card, the mobile phone 1 can first determine whether the first network combination belongs to the preset network combination. In the case of belonging to the preset network combination, the mobile phone 1 can continue to determine whether the second network combination belongs to the preset network combination. In the case of not belonging to the preset network combination, the mobile phone 1 can directly determine that the DSDA mode cannot be maintained, without the need to continue to determine whether the second network combination belongs to the preset network combination.
[0195] It should be understood that if the 5G switch of the SIM card in the mobile phone 1 is in the off state, the SIM card cannot use the 5G network for voice service such as receiving an incoming call, and the initial mobile communication network of the SIM card is a 4G network. In addition, when the mobile communication network of the SIM card needs to fall back, the frequency band of the fall back is informed.
[0196] In this application, the mobile phone 1 can only have the ability of dual access for voice service under a specific network combination, and therefore, the mobile phone 1 can determine the mobile communication network used by the first SIM card for the current voice service (i.e., the mobile communication network of the first SIM card), and the mobile communication network used by the second SIM card for the voice service (i.e., the mobile communication network of the second SIM card). Then, the mobile phone 1 can determine whether the mobile phone 1 has the ability of dual access for voice service by determining whether the actual network combination including the mobile communication network of the first SIM card and the mobile communication network of the second SIM card belongs to the preset network combination. When having the ability of dual access, it indicates that the mobile phone 1 has the ability to answer the incoming call of the second SIM card, and the mobile phone 1 can continue to determine whether the incoming call of the second SIM card can be answered. When not having the ability of dual access, it indicates that the mobile phone 1 cannot answer the incoming call of the second SIM card, and the incoming call of the second SIM card can be directly automatically rejected, thereby realizing the determination of whether the incoming call of the second SIM card is rejected.
[0197] In some embodiments, the mobile communication network (e.g., 4G, 5G, etc.) is divided into multiple bands, and each band corresponds to a band number. For example, a 4G network can include a band corresponding to band 1 (e.g., uplink 1920-1940 MHz, downlink 2110-2130 MHz), a band corresponding to band 2, a band corresponding to band 40, etc. A 5G network can include a band corresponding to n78, a band corresponding to n79. Accordingly, the phone 1 can determine whether the phone 1 can maintain the DSDA mode through the bands of the first SIM card and the second SIM card. For example, the phone 1 can obtain the band of the first SIM card and the band of the second SIM card. The band of the first SIM card represents the band used by the first SIM card for voice service at present. Similarly, the band of the second SIM card represents the band used by the second SIM card for voice service.
[0198] Then, the phone 1 can determine whether the band of the first SIM card and the band of the second SIM card belong to a preset band combination. The preset band combination represents the bands used by the two SIM cards when the phone 1 (e.g., the Modem in the phone 1) has dual connectivity capability. The preset band combination is set according to the Modem in the phone 1.
[0199] In the case that the actual band combination of the phone 1 (i.e., the band combination composed of the band of the first SIM card and the band of the second SIM card) belongs to the preset band combination, it indicates that the phone 1 supports the actual band combination, that is, the phone 1 has the ability to answer the incoming call of the second SIM card in the case that the first SIM card is in a call state. In other words, the phone 1 has dual connectivity capability, and the phone 1 can determine that the phone 1 can maintain the DSDA mode.
[0200] In the case that the actual band combination of the phone 1 does not belong to the preset band combination, it indicates that the phone 1 does not support the actual band combination, that is, the phone 1 cannot answer the incoming call of the second SIM card in the case that the first SIM card is in a call state. In other words, the phone 1 does not have dual connectivity capability, and the phone 1 can determine that the phone 1 cannot maintain the DSDA mode.
[0201] In some embodiments, the band of the second SIM card can include an initial band of the second SIM card and / or a predicted band of the second SIM card. The initial band of the second SIM card represents the band used by the second SIM card for voice service at the beginning, that is, the band used by the second SIM card for receiving an incoming call. For example, the second SIM card can initially use the band 1 in the 5G network to receive a 5G incoming call, and the initial band of the second SIM card is the band 1 in the 5G network.
[0202] The predicted frequency band of the second SIM card means the frequency band used by the second SIM card to continue processing the incoming call after receiving the incoming call of the second SIM card, that is, the frequency band used by the second SIM card to continue voice service. For example, the 5G switch corresponding to the second SIM card in the mobile phone 1 is in an open state, which can support voice service using the frequency band 1 in the 5G network. The second SIM card initially receives the incoming call using the frequency band 1 in the 5G network, and the initial frequency band of the second SIM card is the frequency band 1. However, since the second SIM card does not open the VoNR, it cannot continue to process the incoming call using the 5G network, and needs to fall back to the frequency band 2 in the 4G network to continue processing the incoming call. Therefore, the predicted frequency band of the second SIM card is the frequency band 2.
[0203] Taking the initial frequency band of the second SIM card as an example, the actual frequency band combination can include the frequency band of the first SIM card and the initial frequency band of the second SIM card.
[0204] Taking the predicted frequency band of the second SIM card as an example, the actual frequency band combination can include the frequency band of the first SIM card and the predicted frequency band of the second SIM card. For example, the frequency band can be represented by the frequency band number corresponding to the frequency band. The preset frequency band combination of the mobile phone 1 is n78+band40. The first SIM card in the mobile phone 1 is in a call state, and the frequency band of the first SIM card is n78, that is, the first SIM card in the mobile phone 1 processes voice service based on the frequency band corresponding to n78 in 5G. The mobile phone 1 receives the incoming call of the second SIM card, and the voice service of the second SIM card will fall back to the frequency band corresponding to band1 in the 4G network from the 5G network. The predicted frequency band of the second SIM card is band1. The actual frequency band combination of the mobile phone 1 is n78+band1. It can be seen that the actual frequency band combination does not belong to the preset frequency band combination, and the mobile phone 1 can determine that the mobile phone 1 cannot maintain the DSDA mode.
[0205] Taking the initial frequency band and the predicted frequency band of the second SIM card as an example, the actual frequency band combination can include a first frequency band combination and a second frequency band combination. The first frequency band combination includes the frequency band of the first SIM card and the initial frequency band of the second SIM card. The second frequency band combination includes the frequency band of the first SIM card and the predicted frequency band of the second SIM card. Correspondingly, in the case that the first frequency band combination and the second frequency band combination both belong to the preset frequency band combination, the mobile phone 1 can maintain the DSDA mode without exiting the DSDA mode. In the case that the first frequency band combination or the second frequency band combination does not belong to the preset frequency band combination, the mobile phone 1 cannot maintain the DSDA mode.
[0206] Optionally, in the case that the phone 1 receives an incoming call of the second SIM card, the phone 1 can first determine whether the first frequency band combination belongs to the preset frequency band combination. In the case that the first frequency band combination belongs to the preset frequency band combination, the phone 1 can continue to determine whether the second frequency band combination belongs to the preset frequency band combination. In the case that the first frequency band combination does not belong to the preset frequency band combination, the phone 1 can directly determine that the DSDA mode cannot be maintained without continuing to determine whether the second frequency band combination belongs to the preset frequency band combination.
[0207] In addition, the determination of whether the phone 1 can maintain the DSDA mode through the frequency bands of the first SIM card and the second SIM card can be performed after the determination of whether the phone 1 can maintain the DSDA mode through the mobile communication networks of the first SIM card and the second SIM card. For example, in the case that the actual network combination belongs to the preset network combination, the phone 1 can continue to determine whether the actual frequency band combination belongs to the preset frequency band combination, and in the case that the actual frequency band combination belongs to the preset frequency band combination, the phone 1 can maintain the DSDA mode. In the case that the actual network combination does not belong to the preset network combination, the phone 1 can directly determine that the DSDA mode cannot be maintained without continuing to determine whether the actual frequency band combination belongs to the preset frequency band combination. Of course, the determination of whether the phone 1 can maintain the DSDA mode through the frequency bands of the first SIM card and the second SIM card can also be performed simultaneously with the determination of whether the phone 1 can maintain the DSDA mode through the mobile communication networks of the first SIM card and the second SIM card, and the present application does not limit the order of the determinations.
[0208] It should be noted that since the phone 1 can receive the incoming call of the second SIM card, it means that the phone 1 initially has the dual connectivity capability, i.e., the first frequency band combination composed of the frequency band of the first SIM card and the initial frequency band of the second SIM card belongs to the preset frequency band combination. The phone 1 needs to determine whether the frequency band used by the second SIM card to continue to process the incoming call is supported, i.e., determine whether the phone 1 can maintain the dual connectivity capability, i.e., predict whether the phone 1 will have the dual connectivity capability in the future, or in other words, predict whether the phone 1 has the capability to answer the incoming call of the second SIM card. Therefore, the frequency band of the second SIM card can be the predicted frequency band of the second SIM card, and correspondingly, the actual frequency band combination can include the second frequency band combination. In the case that the second frequency band combination belongs to the preset frequency band combination, the phone 1 can maintain the DSDA mode; in the case that the second frequency band combination does not belong to the preset frequency band combination, the phone 1 cannot maintain the DSDA mode.
[0209] It should be understood that, in the case that the first SIM card in the mobile phone 1 is in the call state and the mobile phone 1 can receive the incoming call of the second SIM card, it means that the mobile phone 1 is currently in the DSDA mode. However, since the network of the second SIM card can fall back from the 5G network to the 4G network, the mobile phone 1 can not be able to continue to maintain the DSDA mode, so as to not be able to continue to process the voice service of the second SIM card, and need to reject the incoming call of the second SIM card.
[0210] In the present application, since one mobile communication network can include multiple frequency bands, the mobile phone 1 can only be able to perform voice service under a specific frequency band in the mobile communication network, that is, the mobile phone 1 can only have the capability of dual connectivity for voice service under a specific frequency band combination. Therefore, the mobile phone 1 can determine the specific frequency band currently used by the first SIM card for voice service (i.e., the frequency band of the first SIM card), and the specific frequency band used by the second SIM card for voice service (i.e., the frequency band of the second SIM card). Then, the mobile phone 1 can determine whether the mobile phone 1 has the capability of dual connectivity for voice service by judging whether the actual frequency band combination including the frequency band of the first SIM card and the frequency band of the second SIM card belongs to the preset frequency band combination. When having the capability of dual connectivity, it indicates that the mobile phone 1 has the capability of answering the incoming call of the second SIM card, and the mobile phone 1 can continue to determine whether the incoming call of the second SIM card can be answered. When not having the capability of dual connectivity, it indicates that the mobile phone 1 cannot answer the incoming call of the second SIM card, and the mobile phone 1 can directly and automatically reject the incoming call of the second SIM card, so as to accurately determine whether the incoming call of the second SIM card is rejected.
[0211] After S302, when the mobile phone 1 cannot maintain the DSDA mode, it indicates that the Modem in the mobile phone 1 does not have the capability of dual connectivity, that is, it indicates that the mobile phone 1 does not have the capability of answering the incoming call of the second SIM card, and it also indicates that the mobile phone 1 cannot perform voice service of another SIM card in the case that one SIM card is in the call state. Therefore, the mobile phone 1 needs to reject the incoming call of another SIM card, and the mobile phone 1 can perform S303. When the mobile phone 1 can maintain the DSDA mode, it indicates that the Modem in the mobile phone 1 has the capability of dual connectivity, and the mobile phone 1 can continue to determine whether the mobile phone 1 can perform dual connectivity, and the mobile phone 1 can continue to perform S304.
[0212] S303, the mobile phone 1 performs the rejection operation and the incoming call prompt operation on the incoming call of the second SIM card. The incoming call prompt operation is used to prompt the mobile phone 1 that the incoming call of the second SIM card is received.
[0213] For example, the incoming call notification operation may include at least one of the following: displaying incoming call notification information, voice prompts, and vibration alerts. In one implementation, taking the above-mentioned incoming call notification operation including displaying incoming call notification information (or second notification information) as an example, when the first SIM card in mobile phone 1 is in a call state and receives an incoming call from the second SIM card, if mobile phone 1 cannot maintain DSDA mode, it indicates that mobile phone 1 needs to reject the incoming call from the second SIM card. To promptly remind the user of the incoming call from the second SIM card, mobile phone 1 can display incoming call notification information. The incoming call notification information may include the caller ID corresponding to the incoming call from the second SIM card and / or the identifier of the second SIM card. In some embodiments, the incoming call notification information may be displayed in the form of a pop-up window. For example, mobile phone 1 may display the incoming call notification information in the form of a pop-up window on the displayed interface, such as... Figure 9A The mobile phone 1 shown displays incoming call notification information 40 on the call interface. "185XXX" in this notification is the caller ID, and "card 2" is the identifier of the SIM card (such as a second SIM card) from which the call was automatically rejected. This timely notification allows the user to intuitively and promptly know that the call is coming from another SIM card. On one hand, this avoids the situation where the user has to search through the call log after the call from the second SIM card has ended, preventing them from missing the call. It also avoids the situation where the large amount of information in the call log might prevent the user from missing the corresponding missed call record for the second SIM card, thus avoiding missed calls. On the other hand, it also prevents the situation where the mobile phone 1 fails to generate a missed call record for the second SIM card after the call ends, preventing the user from missing the call and ensuring a better user experience.
[0214] It should be noted that the above Figure 9A The content of the incoming call notification message 40 shown (i.e., SIM 2 received a call from the number "185XXX") is only an example. The specific content of the incoming call notification message can be other content, as long as it can indicate that another SIM card in mobile phone 1 has received an incoming call.
[0215] In another implementation, taking the aforementioned call notification operation including voice prompts as an example, when mobile phone 1 cannot maintain DSDA mode, mobile phone 1 can provide voice prompts, such as outputting the aforementioned call notification information. That is, the content of the voice prompt can include the caller ID corresponding to the call from the second SIM card and / or the identifier of the second SIM card. For example, mobile phone 1 can play the voice prompt message "SIM card 2 in mobile phone 1 has received a call from the number '185XXX'".
[0216] In another implementation, taking the above incoming call prompt operation as an example, in the case that the mobile phone 1 cannot maintain the DSDA mode, the mobile phone 1 can perform the vibration prompt in the first preset vibration mode, for example, the mobile phone 1 can vibrate periodically for a preset number of times, i.e., the mobile phone 1 can vibrate every few seconds, and stop vibrating after vibrating for the preset number of times; or for another example, the mobile phone 1 can vibrate continuously for a period of time.
[0217] The first preset vibration mode can be preset in the mobile phone 1. The mobile phone 1 can prompt the meaning represented by the first preset vibration mode, i.e., the first preset vibration mode represents that the mobile phone 1 receives an incoming call of another SIM card in the case that a SIM card is in a call state. The mobile phone 1 can prompt at the first boot, and can also prompt at other times, which is not limited in the present application.
[0218] In another implementation, taking the above incoming call prompt operation as an example, in the case that the mobile phone 1 cannot maintain the DSDA mode, the mobile phone 1 can perform the vibration prompt in the first preset vibration mode, for example, the mobile phone 1 can vibrate periodically for a preset number of times, i.e., the mobile phone 1 can vibrate every few seconds, and stop vibrating after vibrating for the preset number of times; or for another example, the mobile phone 1 can vibrate continuously for a period of time.
[0219] In another implementation, taking the above incoming call prompt operation as an example, in the case that the mobile phone 1 cannot maintain the DSDA mode, the mobile phone 1 can perform the vibration prompt in the first preset vibration mode, for example, the mobile phone 1 can vibrate periodically for a preset number of times, i.e., the mobile phone 1 can vibrate every few seconds, and stop vibrating after vibrating for the preset number of times; or for another example, the mobile phone 1 can vibrate continuously for a period of time.
[0220] In another implementation, taking the incoming call prompt operation including the voice prompt and the vibration prompt as an example, in the case that the DSDA mode cannot be maintained, the mobile phone 1 can perform the vibration prompt in the second preset vibration mode and can perform the voice prompt, thereby realizing the timely reminding of the incoming call of the second SIM card.
[0221] Optionally, generally, the user can know the incoming call of the other SIM card (e.g., the second SIM card) in the mobile phone 1 through the voice prompt, and the vibration prompt only makes the user perceive that the mobile phone 1 receives a new incoming call through the vibration, and cannot inform the user of the number of the new incoming call and other related information. For the user, the reminding effect realized by the voice prompt combined with the vibration prompt is not much different from the reminding effect realized by the voice prompt only, and thus, the voice prompt and the vibration prompt can not be combined when the incoming call prompt operation is set. That is, the mobile phone 1 can not perform the vibration prompt in the case of performing the voice prompt.
[0222] In another implementation, taking the incoming call prompt operation including the display of the incoming call prompt information, the voice prompt and the vibration prompt as an example, in the case that the DSDA mode cannot be maintained, the mobile phone 1 can perform the vibration prompt in the second preset vibration mode and can perform the voice prompt and display the incoming call prompt information, thereby realizing the timely reminding of the incoming call of the second SIM card.
[0223] It should be understood that the types of the incoming call prompt operation described above are only several examples, and the incoming call prompt operation can include other types of operations, such as the short message prompt, and the incoming call prompt operation only needs to be able to prompt the incoming call of the other SIM card, and the application does not limit the type of the incoming call prompt operation.
[0224] In the embodiments of the application, the type of the incoming call prompt operation can be set according to actual needs. For example, in order to avoid affecting the call of the first SIM card, the mobile phone 1 can not perform the voice prompt, but can display the incoming call prompt information and / or perform the vibration prompt. For another example, in order to enable the user to clearly obtain the number of the incoming call of the second SIM card, the mobile phone 1 can display the incoming call prompt information. For another example, in order to ensure that the user can clearly obtain the number of the incoming call of the second SIM card and other information in a timely manner without affecting the call of the first SIM card, the mobile phone 1 can display the incoming call prompt information and perform the vibration prompt.
[0225] In some embodiments, the user can utilize the incoming call prompt information (or second prompt information) displayed by the mobile phone 1 to quickly redial the incoming call of the second SIM card, so that the user can avoid missing important matters in the case that the incoming call of the second SIM card belongs to important calls. In an example, the mobile phone 1 can receive a second operation of the user on the second prompt information. In response to the second operation, the mobile phone 1 can hang up the call of the first SIM card. Then, the calling number corresponding to the incoming call of the second SIM card is dialed using the first SIM card, i.e., the calling number corresponding to the incoming call of the second SIM card is dialed to call back the user. For example, in response to the click operation (i.e., the second operation) of the user on the incoming call prompt information 40 shown in FIG. 4A, the mobile phone 1 hangs up the call of the first SIM card (e.g., card 1), and then uses the card 1 to dial the calling number corresponding to the incoming call of the second SIM card, and displays the outgoing call interface as shown in FIG. 4B. The mobile phone 2 can receive the call of the card 1, and if the call of the card 1 can be answered, the mobile phone 2 can display the incoming call interface as shown in FIG. 4C, so that the user can answer the call of the card 1 through the incoming call interface, and realize timely communication with the user of the second SIM card. In the outgoing call interface shown in FIG. 4B, 185XXX is the calling number corresponding to the incoming call of the second SIM card, and the card 1 indicates that the call is being made using the card 1. Figure 9B Figure 9C Figure 9D Figure 9C Figure 9D
[0226] In another example, in order to avoid the failure of redialing due to the fact that the SIM card in the mobile phone 2 cannot answer a new incoming call during the outgoing call, the mobile phone 1 can hang up the call of the first SIM card and the incoming call of the second SIM card. Then, the mobile phone can use the second SIM card to perform the redialing operation on the calling number corresponding to the incoming call of the second SIM card. For example, in response to the click operation (i.e., the second operation) of the user on the incoming call prompt information 40 shown in FIG. 4A, the mobile phone 1 hangs up the call of the first SIM card (e.g., card 1) and the call of the card 2, uses the card 2 to dial the calling number corresponding to the incoming call of the second SIM card, and displays the outgoing call interface as shown in FIG. 4D. The mobile phone 2 can receive the call of the card 2, and the mobile phone 2 can display the incoming call interface as shown in FIG. 4E, so that the user can answer the call of the card 2 through the incoming call interface, and realize timely communication with the user of the second SIM card. In the outgoing call interface shown in FIG. 4D, 100XX is the calling number corresponding to the incoming call of the card 2. Figure 9E Figure 9F Figure 9G Figure 9G
[0227] It should be understood that when the first SIM card is in a call, if the user wants to quickly call back the caller ID corresponding to the second SIM card, the user can inform the other party of the call on the first SIM card that the call needs to be disconnected, thus avoiding confusion for the other party regarding why the call was disconnected.
[0228] In addition, the users mentioned above... Figure 9B , Figure 9E The click operation shown for the incoming call notification information is only one example of the second operation. The second operation can also be other operations, such as the user clicking on the caller ID in the incoming call notification information. Optionally, in response to the user's click on the caller ID, mobile phone 1 can display a first option and a second option. The first option triggers mobile phone 1 to call back the caller ID via the first SIM card. The second option triggers mobile phone 1 to call back the caller ID via the second SIM card. Then, in response to the user's triggering of the first option, a callback is performed via the first SIM card. Alternatively, in response to the user's triggering of the second option, a callback is performed via the second SIM card.
[0229] In some embodiments, the above-mentioned rejection operation may include sending a first cancellation message to the calling device (or mobile phone 2) corresponding to the incoming call on the second SIM card. This first cancellation message can trigger mobile phone 2 to stop calling the second SIM card and trigger the mobile phone to output a rejection notification message. This rejection notification message is used to indicate that the first SIM card in mobile phone 1 is in a call state, meaning the other SIM card of the called device is in a call, thus indicating the actual reason why the incoming call on the second SIM card was not answered. This allows the user of the calling device (hereinafter referred to as the calling user) to know that the call cannot be connected because the other SIM card of the phone they are dialing is in a call state, thereby clearly informing the calling user of the actual reason why the other party cannot answer the call, preventing the calling user from wondering why the other party did not answer the call. For example, the calling device can output the rejection notification message via voice. For instance, after receiving the first cancellation message, the host device can respond to the first cancellation message by voice playing "The other SIM card of the phone you are dialing is in a call state." Alternatively, the calling device can display the rejection notification message. For instance, in response to the first cancellation message, the calling device can display something like... Figure 10 The rejected call message 50 is shown below. Of course, the calling device can also output this rejected call message in other ways, such as vibration alerts or SMS alerts. The vibration alert method is similar to the method described above for alerting incoming calls to the second SIM card via vibration, and will not be elaborated upon here.
[0230] Optionally, the first cancel message can directly carry the first prompt information, so that the mobile phone 2 can extract the first prompt information from the first cancel message and output the first prompt information after receiving the first cancel message. Of course, the first cancel message can also not carry the first prompt information, and the mobile phone 2 can trigger the output of the first prompt information based on the related field or identifier in the first cancel message.
[0231] It should be noted that the type of operation included in the above rejection operation is only an example of the operation performed by the calling device based on the first cancel message. The mobile phone 1 can not only send the first cancel message to the calling device corresponding to the incoming call of the second SIM card, but also perform other operations to reject the incoming call of the second SIM card. Similarly, the calling device can not only output the rejection prompt information based on the first cancel message, but also perform other operations, which are not limited by the present application.
[0232] S304, the mobile phone 1 determines whether to perform a rejection operation on the incoming call of the second SIM card based on a preset dual-pass strategy.
[0233] For example, in the case that the mobile phone 1 can maintain the DSDA mode, it indicates that the mobile phone 1 (such as the Modem in the mobile phone 1) has dual-pass capability, and the mobile phone 1 can perform dual-pass. Therefore, the mobile phone 1 can continue to determine whether to perform dual-pass, that is, whether to reject the incoming call of the second SIM card based on a preset dual-pass strategy. The preset dual-pass strategy indicates whether to reject the incoming call of another SIM card when one SIM card in the mobile phone 1 is in a call state. The preset dual-pass strategy can be pre-stored in the mobile phone 1, for example, before the mobile phone 1 is shipped, the preset dual-pass strategy has been set in the mobile phone 1.
[0234] In the case that the incoming call of the second SIM card needs to be rejected, it indicates that the preset dual-pass strategy indicates to reject the incoming call of another SIM card when one SIM card in the mobile phone 1 is in a call state, and the mobile phone 1 can perform S305. In the case that the incoming call of the second SIM card does not need to be rejected, it indicates that the preset dual-pass strategy indicates not to reject the incoming call of another SIM card when one SIM card in the mobile phone 1 is in a call state, and the mobile phone 1 can perform S306.
[0235] S305, the mobile phone 1 performs a rejection operation and an incoming call prompt operation on the incoming call of the second SIM card.
[0236] The implementation process of S305 is similar to that of S303 described above. For example, the incoming call prompt operation can include at least one of displaying incoming call prompt information, voice prompt, and vibration prompt, and the rejection operation can include sending a first cancel message to the calling device corresponding to the incoming call of the second SIM card, etc., which will not be described here.
[0237] In some embodiments, when performing S303 and S305, the phone 1 can not perform the incoming call prompting operation, but can only perform a rejection operation on the incoming call of the second SIM card. The rejection operation can include sending a first cancellation message to the calling device corresponding to the incoming call of the second SIM card, so that the calling user corresponding to the incoming call of the second SIM card can explicitly know the actual reason why the incoming call of the second SIM card is not answered. Of course, when performing S303 and S305, the phone 1 can perform a rejection operation including sending a first cancellation message to the calling device corresponding to the incoming call of the second SIM card, and can perform an incoming call prompting operation to timely remind the rejection of the incoming call of the second SIM card, and can make the calling user explicitly know the actual reason why the incoming call is not answered.
[0238] In this application, when the phone 1 can maintain the DSDA mode, it means that the phone 1 has dual-pass capability, and the electronic device can perform dual-pass. Therefore, the phone 1 can determine whether the phone 1 itself supports dual-pass based on a preset dual-pass strategy. If the preset dual-pass strategy indicates that the phone 1 itself does not support dual-pass when one SIM card is in a call state, the phone 1 can directly reject the incoming call of the second SIM card, and the phone 1 can perform an incoming call prompting operation to prompt the user that the phone 1 has received the incoming call of the second SIM card, so that the user can know the incoming call of the second SIM card in time, and the phone 1 can timely remind the automatic rejection of the incoming call in the dual-pass scenario, and prevent the user from missing important calls.
[0239] S306, the phone 1 displays an answering interface corresponding to the incoming call of the second SIM card.
[0240] For example, when the phone 1 determines not to perform a rejection operation on the incoming call of the second SIM card, it means that the phone 1 can answer the incoming call of the second SIM card. The phone 1 can display an answering interface corresponding to the incoming call of the second SIM card as shown in the above Figure 3B The answering interface can include information of the calling number corresponding to the incoming call of the second SIM card (such as the calling number, the home location, the operator, etc.), the identification of the second SIM card (such as the card 2 in the above Figure 3B The answering interface), an answering button, a rejection button, etc. The answering button can trigger the phone 1 to answer the incoming call of the second SIM card, and the rejection button can trigger the phone 1 to reject the incoming call of the second SIM card.
[0241] In some embodiments, when the phone 1 rejects the incoming call of the second SIM card due to the user triggering the reject button on the answering interface corresponding to the incoming call of the second SIM card, the phone 1 can send a cancel message to the calling device corresponding to the incoming call of the second SIM card. Accordingly, the calling device can play a prompt information "the phone you dialed is in a call" in voice in response to the cancel message. In this case, since the incoming call of the second SIM card has been prompted through the incoming call interface, the phone 1 does not need to perform the incoming call prompt operation, avoiding unnecessary prompt.
[0242] In some embodiments, after the incoming call of the second SIM card is hung up, the phone 1 can generate and display a missed call record corresponding to the incoming call of the second SIM card, such as the missed call record 20 shown in the above Figure 6D Since the phone 1 needs to perform the incoming call prompt operation when rejecting the incoming call of the second SIM card, the phone 1 can be aware of the incoming call of the second SIM card, and thus the phone 1 can generate the missed call record corresponding to the incoming call of the second SIM card, so that the user can know the missed call of the phone 1 through the missed call record, avoiding the situation that the Modem in the phone 1 automatically rejects the incoming call of the second SIM card, so that the phone 1 cannot generate the missed call record corresponding to the incoming call of the second SIM card, resulting in that the user cannot know the missed call of the phone 1, and improving the user experience.
[0243] Optionally, after the incoming call of the second SIM card ends, the phone 1 receives a first operation of the user on the phone 1 (such as a click operation of the user on the phone application in the phone 1). In response to the first operation, the phone can display a call record, wherein the call record includes a missed call record corresponding to the incoming call of the second SIM card.
[0244] In some embodiments, after receiving the incoming call of the second SIM card in the phone 1, the phone 1 can first determine whether the calling number corresponding to the incoming call of the second SIM card belongs to a malicious number. The malicious number represents a number corresponding to a specific label (such as a harassment label or a fraud label). In the case that the calling number belongs to a malicious number, the phone 1 can directly reject the incoming call of the second SIM card, and does not need to prompt the user of the incoming call of the second SIM card (such as does not need to perform the incoming call prompt operation), thereby avoiding unnecessary incoming call prompt.
[0245] In the case that the calling number does not belong to a malicious number, the phone 1 can continue to determine whether the phone 1 can maintain the DSDA mode, or determine whether to reject the incoming call of the second SIM card based on a preset dual-call strategy. That is, the operation of determining whether to reject the incoming call of the second SIM card based on whether the calling number belongs to a malicious number can be performed before S302 and S304.
[0246] In some embodiments, when the user makes a call through the SIM card in the mobile phone 1, for example, the mobile phone 1 uses the SIM card in the mobile phone 1 to send a call request to the mobile phone 3, the mobile phone 3 is a dual-SIM dual-active device, one of the SIM cards in the mobile phone 3 is in a call state, and the other SIM card receives the call request. Since the mobile phone 3 determines that it cannot perform dual-active (for example, it cannot maintain the DSDA mode, and the preset dual-active strategy indicates that one SIM card is in a call state, and the other SIM card rejects the incoming call), the mobile phone 3 can send a first cancellation message to the mobile phone 1, and the mobile phone 1 displays a first prompt information after receiving the first cancellation message, to prompt the user of the mobile phone 1 that the other SIM card of the phone call he dialed is in a call.
[0247] For example, the above-mentioned SIM card can be the above-mentioned first SIM card, which is in a ringing state and makes a call. Or the SIM card can be a SIM card in the mobile phone 1 in an idle state (for example, in an uncall state), for example, after the call of the above-mentioned first SIM card ends, it is in an idle state, and a call can be made through the first SIM card.
[0248] In some embodiments, when the first SIM card in the mobile phone 1 is in a call state, the mobile phone 1 receives an incoming call of the second SIM card. The Modem in the mobile phone 1 can determine whether it can maintain the DSDA mode, that is, the Modem determines whether it has dual-active capability. In the case of not being able to maintain the DSDA mode, it indicates that the Modem does not have dual-active capability, and the Modem can directly reject the incoming call of the second SIM card. In the case of being able to maintain the DSDA mode, it indicates that the Modem has dual-active capability, and the application framework layer in the mobile phone 1 can use the preset dual-active strategy to determine whether the mobile phone 1 rejects the incoming call of the second SIM card, so that the application framework layer in the mobile phone 1 also has the ability to reject the incoming call. Of course, the mobile phone 1 can not only automatically reject the incoming call of the second SIM card, but also can answer the incoming call of the second SIM card.
[0249] The above-mentioned Figure 2 structures will be described in detail. The related process of the Modem rejecting the incoming call can include S401-S407 as shown in Figure 11 , the related process of the application layer rejecting the incoming call can include S408-S414 as shown in Figure 11 , and the related process of the mobile phone 1 answering the incoming call of the second SIM card can include S415-S416 as shown in Figure 11 .
[0250] S401、In the case that the first SIM card in the mobile phone 1 is in the call state, the Modem in the mobile phone 1 receives the invitation message of the second SIM card sent by the calling device.
[0251] For example, the invitation message can include the calling number. Of course, the invitation message can also include other types of information, such as at least one of the called number, the second SIM card identifier, and the call time, and the present application does not limit the information included in the invitation message.
[0252] Wherein, the Modem receiving the invitation message of the second SIM card means that the Modem receives the call of the second SIM card. The calling device corresponding to the call of the second SIM card can also be referred to as the mobile phone 2.
[0253] S402、In response to the invitation message, the Modem determines whether the Modem can maintain the DSDA mode.
[0254] After S402, in the case that the Modem cannot maintain the DSDA mode, it indicates that the Modem does not have the dual call capability, i.e. does not have the ability to answer the call of the second SIM card, and the mobile phone 1 needs to reject the call of the second SIM card, then the mobile phone 1 can perform S403. In the case that the Modem can maintain the DSDA mode, it indicates that the Modem has the dual call capability, and the mobile phone 1 can be able to answer the call of the second SIM card to realize the dual call, therefore, the mobile phone 1 can continue to determine whether the mobile phone 1 can perform the dual call, and the mobile phone 1 can continue to perform S408.
[0255] For example, the Modem can determine whether it can maintain the DSDA mode through the mobile communication network of the first SIM card and the mobile communication network of the second SIM card. Wherein, the mobile communication network of the second SIM card can include the initial mobile communication network of the second SIM card and / or the predicted mobile communication network. The initial mobile communication network of the second SIM card means the mobile communication network used by the Modem to receive the invitation message. The predicted mobile communication network means the mobile communication network used to continue the voice service of the second SIM card, such as the mobile communication network predicted to be used by the Modem to send the ringing message (180 ringing message) and then interact with the calling device.
[0256] And / or, the Modem can determine whether it can maintain the DSDA mode through the frequency band of the first SIM card and the frequency band of the second SIM card. Here, the Modem determines whether it can maintain the DSDA mode through the mobile communication network and the frequency band can refer to the process of determining whether it can maintain the DSDA mode through the mobile communication network and the frequency band introduced above, which will not be repeated here.
[0257] S403、The Modem sends a first cancel message to the calling device, and sends a second incoming call message to the application framework layer of the mobile phone 1.
[0258] The second incoming call message can include the calling number. Of course, it can also include other types of information, such as the called number, the second SIM card identifier, the incoming call time, etc.
[0259] The first cancel message can include a rejection prompt information (also referred to as the first prompt information), which is used to prompt the actual reason for the missed call of the second SIM card.
[0260] S404、The calling device receives the first cancel message, and in response to the first cancel message, outputs the rejection prompt information and stops the call.
[0261] For example, the calling device can output the rejection prompt information in voice or display the rejection prompt information in the form of a pop-up box.
[0262] S405、The application framework layer receives the second incoming call message.
[0263] S406、The application framework layer sends the second incoming call message to the IncallUI module of the mobile phone 1.
[0264] S407、The IncallUI module receives the second incoming call message, and performs an incoming call prompt operation based on the second incoming call message. The incoming call prompt operation is used to prompt the mobile phone 1 to receive the incoming call of the second SIM card.
[0265] For example, the incoming call prompt operation can include at least one of displaying an incoming call prompt information, voice prompt (i.e., playing the incoming call prompt information in voice), and vibration prompt. In some embodiments, the IncallUI module can display the incoming call prompt information, and the voice prompt and the vibration prompt can be triggered by the application framework layer to relevant devices, such as the application framework layer can trigger the receiver and the speaker to output the incoming call prompt information in voice, and trigger the motor to perform the vibration prompt. Of course, the voice prompt and / or the vibration prompt can also be triggered by other modules of the mobile phone 1 to relevant devices, which are not limited in the present application.
[0266] In some embodiments, the Modem can reject the incoming call of the second SIM card in the case that the DSDA mode cannot be maintained, send a first cancel message to a calling device corresponding to the incoming call of the second SIM card through a network, trigger the calling device to give up calling the second SIM card, and enable the calling user to know the actual reason why the mobile phone 1 cannot answer the incoming call. After the Modem rejects the incoming call of the second SIM card, the upper layer (such as the application framework layer or the IncallUI module) can perceive the incoming call of the second SIM card through a relevant incoming call message (such as a second incoming call message), so that the IncallUI module can generate a missed call record corresponding to the incoming call of the second SIM card after the incoming call of the second SIM card is hung up, realize missed call reminding, and avoid the case that the upper layer cannot perceive the incoming call after the Modem rejects the incoming call, so that the missed call record corresponding to the incoming call cannot be generated. When the user wants to check the call situation later, the call situation of the mobile phone 1 can be checked through the call record (such as the missed call record).
[0267] S408. The Modem sends a first incoming call message to the application framework layer.
[0268] The first incoming call message can trigger the application framework layer to determine whether to reject the incoming call of the second SIM card. For example, the first incoming call message includes a call number. Of course, the first incoming call message can also include other types of information, such as at least one of a second SIM card identifier or a call time, and the application does not limit the information included in the first incoming call message.
[0269] S409. The application framework layer receives the first incoming call message. In response to the first incoming call message, whether to reject the incoming call of the second SIM card is determined based on a preset dual-pass strategy.
[0270] After S409, in the case that the preset dual-pass strategy indicates that one of the SIM cards in the mobile phone 1 is in a call state, the incoming call of the other SIM card is rejected, the application framework layer can perform S410. In the case that the preset dual-pass strategy indicates that one of the SIM cards in the mobile phone 1 is in a call state, the incoming call of the other SIM card is answered, the application framework layer can perform S415.
[0271] S410. The application framework layer sends a rejection message to the Modem and sends a second incoming call message to the IncallUI module.
[0272] S411. The Modem receives the rejection message.
[0273] S412. The Modem sends a first cancel message to the calling device in response to the rejection message.
[0274] S413, the calling device receives the first cancel message, in response to the first cancel message, outputs the rejection prompt information, and stops the call.
[0275] S414, the IncallUI module receives the second incoming call message, and performs the incoming call prompt operation based on the second incoming call message. The incoming call prompt operation is used to prompt the mobile phone 1 to receive the incoming call of the second SIM card.
[0276] S415, the application framework layer sends the first incoming call message to the IncallUI module.
[0277] S416, the IncallUI module receives the first incoming call message, and displays the answer interface corresponding to the incoming call of the second SIM card in response to the first incoming call message.
[0278] It should be noted that the second incoming call message and the first incoming call message can be the same message or different messages, and the present application does not limit them.
[0279] For example, the communication between the mobile phone 1 and the mobile phone 2 is through a network, for example, the mobile phone 1 sends the first cancel message to the mobile phone 2 through the network, and the mobile phone 1 receives the invitation message through the network.
[0280] In some embodiments, after the Modem in the hardware layer of the mobile phone 1 has the dual-pass capability, it indicates that the mobile phone 1 has the capability to answer the incoming call of the second SIM card. The application framework layer in the mobile phone 1 can continue to determine whether the mobile phone 1 can dual-pass, that is, whether to answer the incoming call of the second SIM card. In the case of not being able to dual-pass, the application framework layer can reject the incoming call of the second SIM card. After the incoming call of the second SIM card is hung up, the related module (such as the IncallUI module) in the mobile phone 1 can generate the missed call record corresponding to the incoming call of the second SIM card, so that the user can see the missed call situation of the mobile phone 1 through the call record, and realize the missed call reminding.
[0281] In this embodiment, in a dual-SIM scenario, to prevent the user from being promptly notified of incoming calls from the second SIM card automatically rejected by the hardware or software layer of mobile phone 1, mobile phone 1 can perform a call notification operation after the call is rejected to inform the user that there is an incoming call from another SIM card, thus achieving timely notification and preventing the user of mobile phone 1 from missing or ignoring important calls. Furthermore, regardless of whether the incoming call from the second SIM card is rejected by the hardware or software layer, the user of the calling device corresponding to the second SIM card's call will not know the actual reason why mobile phone 1 rejected the call. Therefore, mobile phone 1 can send a first cancellation message carrying rejection notification information to the calling device, so that the calling device outputs the rejection notification information, informing the user of the calling device of the actual reason why mobile phone 1 rejected the call.
[0282] In some embodiments, such as Figure 12 As shown, after receiving the invitation message, the modem can send a 100trying message to the calling device via the network to inform the calling device that it has received a call from the second SIM card.
[0283] If the modem can maintain DSDA mode, that is, if the modem does not reject calls from the second SIM card, the modem can send a 180 ringing message to the calling device via the network to notify the calling device to ring.
[0284] Among them, the optional ones are as described above. Figure 12 As shown, before the modem sends a 180 ringing message to the calling device via the network, it can send a session progress message (183 sessionprogress message) to the calling device via the network to notify the calling device, mobile phone 1, that it is processing the incoming call.
[0285] Therefore, if the modem in phone 1 rejects the call from the second SIM card, phone 1 will not send the aforementioned 180 ringing message and 183 session progress message to the calling device, and the calling device will receive the 100 trying message. However, if the application framework layer in phone 1 rejects the call from the second SIM card, the calling device will receive not only the 100 trying message but also the 180 ringing message and 183 session progress message sent by phone 1.
[0286] In addition, if the second SIM card does not support VoNR, the initial mobile communication network of the second SIM card is 5G, and the mobile communication network used by the Modem to send the 100 trying message can be a 5G network; the mobile communication network used to send the 183 session progress message can be a 5G network or a 4G network, which is related to the network; and the mobile communication network used to send the 180 ringing message is a 4G network.
[0287] In some embodiments, the operations performed by the Modem can be performed by the IMS on the Modem. The operations performed by the application framework layer can be performed by the IMS Common module in the application framework layer.
[0288] In some embodiments, other software layers in the electronic device can also reject incoming calls of the second SIM card, such as the Android runtime and system library (or the IMS application in the Android runtime and system library). The process of rejecting incoming calls by other software layers is similar to the process of rejecting incoming calls by the application framework layer, such as determining whether to reject the incoming call of the second SIM card based on the relevant dual-pass strategy.
[0289] In some embodiments, the above-mentioned maintaining the DSDA mode can be replaced by describing as supporting the DSDA mode. That is, in the case that the first SIM card in the mobile phone 1 is in a call state and receives an incoming call of the second SIM card, the mobile phone can not be in the DSDA mode. The mobile phone determines whether to switch to the DSDA mode by determining whether to support the DSDA mode.
[0290] In some embodiments, the above is to apply the technical solutions of the present application in the dual-card dual-pass scenario. The technical solutions of the present application can also be applied in other multi-card multi-pass scenarios, such as a three-card dual-pass scenario and a three-card triple-pass scenario. The present application does not limit the number of SIM cards supported by the mobile phone 1.
[0291] The embodiments of the present application also provide a computer readable storage medium, which includes computer instructions. When the computer instructions are run on the electronic device, the electronic device performs each function or step in the method embodiments.
[0292] The embodiments of the present application also provide a computer program product, which includes a computer program. When the computer program is run on the electronic device, the electronic device performs each function or step in the above embodiments.
[0293] Through the description of the above embodiments, those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above functional modules is exemplified, and in actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
[0294] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative, for example, the division of the modules or units is only a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another device, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed units can be indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0295] The units described as separate components can or can not be physically separated, and the components shown as units can be one physical unit or multiple physical units, that is, they can be located in one place or distributed to multiple different places. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment scheme.
[0296] In addition, the functional units in each embodiment of the present application can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.
[0297] The integrated unit, if realized in the form of a software functional unit and sold or used as an independent product, can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application essentially or the parts that make contributions to the prior art or all or part of the technical solutions can be embodied in the form of a software product, which is stored in a storage medium and includes a plurality of instructions for causing an apparatus (which can be a single-chip microcomputer, a chip, etc.) or a processor to execute all or part of the steps of the method described in the embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various storage medium that can store program codes.
[0298] The above merely provides the specific implementation of the present application, but the protection scope of the present application is not limited to this. Any change or replacement within the technical scope disclosed by the present application should be covered in the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A call- in reminder method, characterized by, The method is applied to an electronic device, wherein the electronic device comprises at least two subscriber identity module (SIM) cards; and the method comprises the following steps. When a first SIM card among the at least two SIM cards is in a call state, the electronic device receives an incoming call of a second SIM card among the at least two SIM cards, wherein the second SIM card is different from the first SIM card, and the call state comprises a ringing state or a call-in-progress state. When a modem in the electronic device cannot maintain a dual SIM dual active (DSDA) mode, the modem automatically performs a rejection operation on the incoming call of the second SIM card, and sends a second incoming call message to an IncallUI module in the electronic device, and the IncallUI module performs an incoming call prompt based on the second incoming call message. When the modem can maintain the DSDA mode, the modem sends a first incoming call message to a target software layer, wherein the target software layer comprises an application framework layer or an Android runtime and system library layer; in response to the first incoming call message, when a preset DSDA strategy indicates that an incoming call of one SIM card is rejected when the one SIM card is in a call state, the target software layer automatically performs a rejection operation through the modem; and the target software layer sends the second incoming call message to the IncallUI module, and the IncallUI module performs an incoming call prompt based on the second incoming call message. The incoming call prompt is used to prompt that the electronic device receives the incoming call of the second SIM card.
2. The method of claim 1, wherein, The method further comprises the following steps. The electronic device receives a first operation of a user viewing a missed call. In response to the first operation, the electronic device displays a missed call record, and the missed call record comprises an incoming call record of the second SIM card.
3. The method of claim 1, wherein The first incoming call message comprises a calling number corresponding to the incoming call of the second SIM card.
4. The method according to any one of claims 1 to 3, characterized in that, The rejection operation comprises sending a first cancel message to a calling device corresponding to the incoming call of the second SIM card, and the first cancel message is used to trigger the calling device to output first prompt information and stop calling, and the first prompt information is used to prompt that another SIM card of a called device is in a call state.
5. The method according to any one of claims 1 to 4, characterized in that, The method further comprises the following steps. The electronic device sends a call request to a target device based on a target SIM card among the at least two SIM cards, wherein the target SIM card is a SIM card in an idle state among the at least two SIM cards. The electronic device receives a first cancel message sent by the target device. In response to the first cancel message, the electronic device outputs first prompt information, and the first prompt information is used to prompt that another SIM card of a called device is in a call state.
6. The method according to any one of claims 1 to 5, characterized in that, When an actual network combination of the electronic device does not belong to a preset network combination, or an actual frequency band combination of the electronic device does not belong to a preset frequency band combination, the electronic device cannot maintain a DSDA mode. The actual network combination includes a first network combination and / or a second network combination, the first network combination includes a mobile communication network of the first SIM card and an initial mobile communication network of the second SIM card, and the second network combination includes a mobile communication network of the first SIM card and a predicted mobile communication network of the second SIM card; the mobile communication network of the first SIM card represents a mobile communication network currently used by the first SIM card for voice service, the initial mobile communication network of the second SIM card represents a mobile communication network used when receiving an incoming call of the second SIM card, and the predicted mobile communication network of the second SIM card represents a mobile communication network used when predicting the incoming call of the second SIM card; and the preset network combination represents mobile communication networks of the two SIM cards when the electronic device has a dual-pass capability. The actual frequency band combination includes a first frequency band combination and / or a second frequency band combination, the first frequency band combination includes a frequency band of the first SIM card and an initial frequency band of the second SIM card, and the second frequency band combination includes a frequency band of the first SIM card and a predicted frequency band of the second SIM card; the frequency band of the first SIM card represents a network frequency band currently used by the first SIM card for voice service, the initial frequency band of the second SIM card represents a network frequency band used when receiving an incoming call of the second SIM card, and the predicted frequency band of the second SIM card represents a network frequency band used when predicting the incoming call of the second SIM card; and the preset frequency band combination represents frequency bands of the two SIM cards when the electronic device has a dual-pass capability.
7. The method according to any one of claims 1 to 6, characterized in that, The incoming call prompting includes at least one of the following operations: displaying second prompt information, voice playing the second prompt information, and vibration prompting. The second prompt information includes a calling number corresponding to the incoming call of the second SIM card and / or an identifier of the second SIM card.
8. The method of claim 7, wherein, The incoming call prompting includes displaying second prompt information; and the method further includes: The electronic device receives a second operation of a user on the second prompt information; In response to the second operation, the electronic device hangs up the call of the first SIM card; Based on the first SIM card, the electronic device redials a calling number corresponding to the incoming call of the second SIM card; or, based on the second SIM card, the electronic device redials the calling number corresponding to the incoming call of the second SIM card.
9. An electronic device, comprising: The electronic device includes a display screen, a memory, a plurality of SIM card interfaces, and one or more processors; the display screen, the memory, the SIM card interfaces, and the processors are coupled; the SIM card interfaces are used to connect SIM cards, the display screen is used to display images generated by the processors, and the memory is used to store computer program codes including computer instructions; when the processors execute the computer instructions, the electronic device performs the incoming call prompting method according to any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that, Computer program product comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the incoming call alerting method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Double-card double-system terminal and incoming call processing method and apparatus thereof
CN105072257A
Method, apparatus, system and device for incoming call alerting and storage medium
CN109246320A