Distributed call conflict processing method, system, electronic device and storage medium
By utilizing SIM cards and device status identifiers in a distributed call system, the problem of incoming call conflicts among multiple devices is solved, effective incoming call conflict prompts and outgoing call failure processing are implemented, and the user experience is optimized.
Patent Information
- Application Number
- CN202111492320.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-08
- Publication Date
- 2025-09-05
- Estimated Expiration
- 2041-12-08
AI Technical Summary
In a distributed call scenario, call conflicts caused by multiple electronic devices receiving incoming calls at the same time affect the user experience.
By establishing a near field connection between the first electronic device and the second electronic device, and utilizing the SIM card status identifier and the device status identifier, prompts for incoming call conflicts and outgoing call failures are provided, thereby avoiding unnecessary simultaneous ringing of incoming calls and optimizing the user experience.
Effectively remind users of call conflicts, reduce the impact on the use of other devices, improve user experience, and meet users' call needs.
Smart Images

Figure CN116249081B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic technology, and in particular to a distributed call conflict handling method, system, electronic device, and storage medium. Background Art
[0002] With the continuous development of communication technology, more and more electronic devices other than mobile phones can be added to the communication chain, such as tablets, smart watches, and car-mounted equipment.
[0003] In the context of distributed calls, that is, the called party can be multiple electronic devices associated based on a trust ring. When the caller sends an incoming call event to the called party, multiple electronic devices can receive the incoming call event at the same time, resulting in call resonance. This allows users to transfer operator calls across different devices within the near field based on the trust ring. However, when operator calls flow across different devices, various call conflict scenarios may occur for the electronic devices on the called party's side, affecting the user experience. Summary of the Invention
[0004] In view of this, the present application provides a distributed call conflict handling method, system, electronic device and storage medium for solving the problem of call conflicts in distributed call scenarios and improving user experience.
[0005] Some embodiments of the present application provide a distributed call conflict handling method. The following describes the present application from multiple aspects, and the embodiments and beneficial effects of the following aspects can be referenced to each other.
[0006] In a first aspect, the present application provides a distributed call conflict handling method, which is applied to a system including a first electronic device and a second electronic device, wherein the first electronic device and the second electronic device are in a near-field connection, the first electronic device is a device with a telephone call function, and the first electronic device has a first SIM card. The method includes: the first electronic device receives an incoming call event from a caller and obtains an incoming call SIM card identifier in the incoming call event; if the SIM card indicated by the incoming call SIM card identifier is a first SIM card, and the status identifier of the first SIM card indicates that the first SIM card is occupied, and the status identifier of the second electronic device indicates that the second electronic device is occupied, then the first electronic device sends the incoming call event to the second electronic device; and the second electronic device outputs a prompt of an incoming call conflict.
[0007] The distributed call conflict handling method of the embodiment of the present application can realize that when a tablet computer answers an incoming call, it indicates that the user's attention is concentrated on the tablet computer. The tablet computer outputs a prompt of the incoming call conflict without notifying the PC, which can effectively remind the user of the incoming call conflict, reduce the impact on the use of the PC, and improve the user experience.
[0008] In a possible implementation of the first aspect above, the method further includes: if the SIM card indicated by the incoming call SIM card identifier is a first SIM card, and the status identifier of the first SIM card indicates that the first SIM card is occupied, and the status identifier of the first electronic device indicates that the first electronic device is occupied, then the first electronic device outputs a prompt of an incoming call conflict.
[0009] The distributed call conflict handling method of the embodiment of the present application can realize that when a mobile phone answers a call, it indicates that the user's attention is concentrated on the mobile phone. The call conflict prompt is output through the mobile phone without notifying the tablet computer. It can effectively remind the user of the call conflict, reduce the impact on the use of the tablet computer, and improve the user experience.
[0010] In a possible implementation of the first aspect above, the system also includes a third electronic device, the third electronic device is a device having a modulation and demodulation function, and the first electronic device also has a second SIM card. The method further includes: if the SIM card indicated by the incoming call SIM card identifier is the second SIM card, and the status identifier of the first SIM card indicates that the first SIM card is occupied, and the status identifier of the second electronic device indicates that the second electronic device is occupied, the first electronic device sends the data of the second SIM card to the third electronic device and sends the incoming call event to the third electronic device; the third electronic device uses the data of the second SIM card to output an incoming call prompt.
[0011] The distributed call conflict handling method of the present embodiment can achieve this by outputting a call conflict notification on the PC if a tablet computer has already answered a call, indicating that the user is concentrating on the tablet computer. Furthermore, while no notification is displayed on the phone's call interface, a new call notification is displayed in the status bar, generating a missed call log and allowing the user to promptly identify any conflicting calls, thus improving the user experience.
[0012] In a possible implementation of the first aspect above, the first electronic device further has a second SIM card, and the method further includes: if the SIM card indicated by the incoming call SIM card identifier is the second SIM card, and the status identifier of the first SIM card indicates that the first SIM card is occupied, and the status identifier of the first electronic device indicates that the first electronic device is occupied, then the first electronic device outputs a prompt of an incoming call conflict.
[0013] The distributed call conflict handling method of the embodiment of the present application can realize that when a mobile phone answers a call, it indicates that the user's attention is concentrated on the mobile phone. The call conflict prompt is output through the mobile phone without notifying the tablet computer. It can effectively remind the user of the call conflict, reduce the impact on the use of the tablet computer, and improve the user experience.
[0014] In a possible implementation of the first aspect above, the second electronic device is a device having a modem function, and the first electronic device further has a second SIM card. The method further includes: if the SIM card indicated by the incoming call SIM card identifier is the second SIM card, and the status identifier of the first SIM card indicates that the first SIM card is occupied, and the status identifier of the first electronic device indicates that the first electronic device is occupied, the first electronic device sends data of the second SIM card to the second electronic device and sends the incoming call event to the second electronic device; and the second electronic device outputs an incoming call prompt using the data of the second SIM card.
[0015] The distributed call conflict handling method of the embodiment of the present application can achieve a situation where a mobile phone has answered a call, indicating that the user's attention is focused on the mobile phone, but the mobile phone does not support the dual-call function. In this case, the tablet computer outputs a call conflict prompt to notify the user. In addition, there is no prompt on the mobile phone's call interface, but the user is notified of the new call in the status bar and a missed call record is generated, allowing the user to promptly discover the call conflict and improving the user experience.
[0016] In a possible implementation of the first aspect above, the method further includes: if the SIM card indicated by the incoming call SIM card identifier is a second SIM card, and the status identifier of the first SIM card indicates that the first SIM card is occupied, the first electronic device displays a new incoming call notification in the status bar and generates an unanswered call record for the incoming call event.
[0017] In a possible implementation of the first aspect above, the method further includes: the second electronic device sending an outgoing call event to the first electronic device; the first electronic device receiving the outgoing call event and obtaining an outgoing SIM card identifier in the outgoing call event; if the SIM card indicated by the outgoing SIM card identifier is a first SIM card, and the status identifier of the first SIM card indicates that the first SIM card is occupied, the first electronic device sending status information to the second electronic device, wherein the status information includes that the first SIM card is in a call state; and the second electronic device outputs a prompt of failed outgoing call based on the status information.
[0018] The distributed call conflict handling method of the embodiment of the present application can achieve the problem of call conflict when a mobile phone or tablet computer answers an incoming call and another second electronic device makes a call. The other second electronic device outputs a prompt that the outgoing call is invalid, avoiding the users of the other second electronic devices from waiting in vain and also avoiding the impact on the call on the mobile phone, thereby improving the user experience.
[0019] In a possible implementation of the first aspect, the second electronic device is an electronic device having a modem function, and the first electronic device further has a second SIM card. The method further includes: the first electronic device sending data from the second SIM card to the second electronic device; and the second electronic device using the data from the second SIM card to send an outgoing call event to another device.
[0020] The distributed call conflict handling method of the embodiment of the present application can realize that when a mobile phone or tablet computer answers a call through one SIM card, the data of the other SIM card can be sent to another second electronic device (such as a PC), thereby enabling the user to use the other SIM card to talk with the remote device, thereby maximizing the user's call needs and improving the user experience.
[0021] In a possible implementation of the first aspect above, the method further includes: the second electronic device sending outgoing call information of the outgoing call event to the first electronic device; and the first electronic device generating a call record for the second SIM card based on the outgoing call information.
[0022] In a possible implementation of the first aspect above, the first electronic device includes a first distributed framework, and the second electronic device includes a second distributed framework; the first electronic device communicates with the second distributed framework of the second electronic device through the first distributed framework, so that the first electronic device and the second electronic device synchronously receive the incoming call event of the caller.
[0023] In a second aspect, the present application provides a distributed call conflict handling method, which is applied to a first electronic device, where the first electronic device and the second electronic device belong to the same system, the first electronic device is a device with a telephone call function, and the first electronic device has a first SIM card. The method includes: the first electronic device receives an incoming call event from a caller, and obtains an incoming call SIM card identifier in the incoming call event; if the SIM card indicated by the incoming call SIM card identifier is a first SIM card, and the status identifier of the first SIM card indicates that the first SIM card is occupied, and the status identifier of the second electronic device indicates that the second electronic device is occupied, then the first electronic device sends the incoming call event to the second electronic device, so that the second electronic device outputs a prompt of an incoming call conflict.
[0024] The distributed call conflict handling method of the embodiment of the present application can realize that when a tablet computer answers an incoming call, it indicates that the user's attention is concentrated on the tablet computer. The tablet computer outputs a prompt of the incoming call conflict without notifying the PC, which can effectively remind the user of the incoming call conflict, reduce the impact on the use of the PC, and improve the user experience.
[0025] In a possible implementation of the second aspect above, the method further includes: if the SIM card indicated by the incoming call SIM card identifier is a first SIM card, and the status identifier of the first SIM card indicates that the first SIM card is occupied, and the status identifier of the first electronic device indicates that the first electronic device is occupied, then the first electronic device outputs a prompt of an incoming call conflict.
[0026] The distributed call conflict handling method of the embodiment of the present application can realize that when a mobile phone answers a call, it indicates that the user's attention is concentrated on the mobile phone. The call conflict prompt is output through the mobile phone without notifying the tablet computer. It can effectively remind the user of the call conflict, reduce the impact on the use of the tablet computer, and improve the user experience.
[0027] In a possible implementation of the second aspect above, the system also includes a third electronic device, the third electronic device is a device having a modulation and demodulation function, and the first electronic device also has a second SIM card. The method further includes: if the SIM card indicated by the incoming call SIM card identifier is the second SIM card, and the status identifier of the first SIM card indicates that the first SIM card is occupied, and the status identifier of the second electronic device indicates that the second electronic device is occupied, the first electronic device sends the data of the second SIM card to the third electronic device, and sends the incoming call event to the third electronic device, so that the third electronic device uses the data of the second SIM card to output an incoming call prompt.
[0028] The distributed call conflict handling method of the present embodiment can achieve this by outputting a call conflict notification on the PC if a tablet computer has already answered a call, indicating that the user is concentrating on the tablet computer. Furthermore, while no notification is displayed on the phone's call interface, a new call notification is displayed in the status bar, generating a missed call log and allowing the user to promptly identify any conflicting calls, thus improving the user experience.
[0029] In a possible implementation of the second aspect above, the first electronic device further has a second SIM card, and the method further includes: if the SIM card indicated by the incoming call SIM card identifier is the second SIM card, and the status identifier of the first SIM card indicates that the first SIM card is occupied, and the status identifier of the first electronic device indicates that the first electronic device is occupied, then the first electronic device outputs a prompt of an incoming call conflict.
[0030] The distributed call conflict handling method of the embodiment of the present application can realize that when a mobile phone answers a call, it indicates that the user's attention is concentrated on the mobile phone. The call conflict prompt is output through the mobile phone without notifying the tablet computer. It can effectively remind the user of the call conflict, reduce the impact on the use of the tablet computer, and improve the user experience.
[0031] In a possible implementation of the second aspect above, the second electronic device is a device having a modem function, and the first electronic device further has a second SIM card. The method further includes: if the SIM card indicated by the incoming call SIM card identifier is the second SIM card, and the status identifier of the first SIM card indicates that the first SIM card is occupied, and the status identifier of the first electronic device indicates that the first electronic device is occupied, the first electronic device sends the data of the second SIM card to the second electronic device, and sends the incoming call event to the second electronic device, so that the second electronic device uses the data of the second SIM card to output an incoming call prompt.
[0032] The distributed call conflict handling method of the embodiment of the present application can achieve a situation where a mobile phone has answered a call, indicating that the user's attention is focused on the mobile phone, but the mobile phone does not support the dual-call function. In this case, the tablet computer outputs a call conflict prompt to notify the user. In addition, there is no prompt on the mobile phone's call interface, but the user is notified of the new call in the status bar and a missed call record is generated, allowing the user to promptly discover the call conflict and improving the user experience.
[0033] In a possible implementation of the second aspect above, the method further includes: if the SIM card indicated by the incoming call SIM card identifier is a second SIM card, and the status identifier of the first SIM card indicates that the first SIM card is occupied, the first electronic device displays a new incoming call notification in the status bar and generates an unanswered call record for the incoming call event.
[0034] In a possible implementation of the second aspect above, the method further includes: the first electronic device receiving an outgoing call event sent by the second electronic device, and obtaining an outgoing SIM card identifier in the outgoing call event; if the SIM card indicated by the outgoing SIM card identifier is a first SIM card, and the status identifier of the first SIM card indicates that the first SIM card is occupied, the first electronic device sending status information to the second electronic device, wherein the status information includes that the first SIM card is in a call state, so that the second electronic device outputs a prompt of failed outgoing call based on the status information.
[0035] The distributed call conflict handling method of the embodiment of the present application can achieve the problem of call conflict when a mobile phone or tablet computer answers an incoming call and another second electronic device makes a call. The other second electronic device outputs a prompt that the outgoing call is invalid, avoiding the users of the other second electronic devices from waiting in vain and also avoiding the impact on the call on the mobile phone, thereby improving the user experience.
[0036] In a possible implementation of the second aspect, the second electronic device is an electronic device having a modulation and demodulation function, and the first electronic device further has a second SIM card. The method further includes: the first electronic device sending data from the second SIM card to the second electronic device, so that the second electronic device uses the data from the second SIM card to send an outgoing call event to another device.
[0037] The distributed call conflict handling method of the embodiment of the present application can realize that when a mobile phone or tablet computer answers a call through one SIM card, the data of the other SIM card can be sent to another second electronic device (such as a PC), thereby enabling the user to use the other SIM card to talk with the remote device, thereby maximizing the user's call needs and improving the user experience.
[0038] In a possible implementation of the second aspect above, the method further includes: the first electronic device receiving outgoing call information of the outgoing call event sent by the second electronic device; and the first electronic device generating a call record for the second SIM card based on the outgoing call information.
[0039] In a possible implementation of the second aspect above, the first electronic device includes a first distributed framework, and the second electronic device includes a second distributed framework; the first electronic device communicates with the second distributed framework of the second electronic device through the first distributed framework, so that the first electronic device and the second electronic device synchronously receive the incoming call event of the caller.
[0040] In a third aspect, the present application provides a distributed call conflict handling method, which is applied to a second electronic device, where the second electronic device and the first electronic device belong to the same system, the first electronic device is a device with a telephone call function, and the first electronic device has a first SIM card. The method includes: the second electronic device receives an incoming call event sent by the first electronic device, the incoming call event is an incoming call event received by the first electronic device from the caller, and the SIM card indicated by the incoming call SIM card identifier in the incoming call event is the first SIM card, the status identifier of the first SIM card indicates that the first SIM card is occupied, and the status identifier of the second electronic device indicates that the second electronic device is occupied; the second electronic device outputs a prompt of an incoming call conflict.
[0041] The distributed call conflict handling method of the embodiment of the present application can realize that when a tablet computer answers an incoming call, it indicates that the user's attention is concentrated on the tablet computer. The tablet computer outputs a prompt of the incoming call conflict without notifying the PC, which can effectively remind the user of the incoming call conflict, reduce the impact on the use of the PC, and improve the user experience.
[0042] In a possible implementation of the third aspect above, the second electronic device is a device having a modulation and demodulation function, and the first electronic device further has a second SIM card. The method further includes: the second electronic device receiving data of the second SIM card sent by the first electronic device, and receiving the incoming call event sent by the first electronic device, the incoming call event being an incoming call event received by the first electronic device from a caller, and the SIM card indicated by the incoming call SIM card identifier in the incoming call event being the second SIM card, the status identifier of the first SIM card indicating that the first SIM card is occupied, and the status identifier of the first electronic device indicating that the first electronic device is occupied; and the second electronic device outputting an incoming call prompt using the data of the second SIM card.
[0043] The distributed call conflict handling method of the embodiment of the present application can achieve a situation where a mobile phone has answered a call, indicating that the user's attention is focused on the mobile phone, but the mobile phone does not support the dual-call function. In this case, the tablet computer outputs a call conflict prompt to notify the user. In addition, there is no prompt on the mobile phone's call interface, but the user is notified of the new call in the status bar and a missed call record is generated, allowing the user to promptly discover the call conflict and improving the user experience.
[0044] In a possible implementation of the third aspect above, the method further includes: the second electronic device sending an outgoing call event to the first electronic device, so that when the SIM card indicated by the outgoing SIM card identifier in the outgoing call event is the first SIM card and the status identifier of the first SIM card indicates that the first SIM card is occupied, the first electronic device sends status information to the second electronic device, wherein the status information includes that the first SIM card is in a call state; and the second electronic device outputs a prompt of failed outgoing call based on the status information.
[0045] The distributed call conflict handling method of the embodiment of the present application can achieve the problem of call conflict when a mobile phone or tablet computer answers an incoming call and another second electronic device makes a call. The other second electronic device outputs a prompt that the outgoing call is invalid, avoiding the users of the other second electronic devices from waiting in vain and also avoiding the impact on the call on the mobile phone, thereby improving the user experience.
[0046] In a possible implementation of the third aspect, the second electronic device is an electronic device having a modulation and demodulation function, and the first electronic device further has a second SIM card. The method further includes: the second electronic device receiving data from the second SIM card sent by the first electronic device; and the second electronic device sending an outgoing call event to another device using the data from the second SIM card.
[0047] The distributed call conflict handling method of the embodiment of the present application can realize that when a mobile phone or tablet computer answers a call through one SIM card, the data of the other SIM card can be sent to another second electronic device (such as a PC), thereby enabling the user to use the other SIM card to talk with the remote device, thereby maximizing the user's call needs and improving the user experience.
[0048] In a possible implementation of the third aspect above, the method further includes: the second electronic device sending outgoing call information of the outgoing call event to the first electronic device, so that the first electronic device generates a call record for the second SIM card based on the outgoing call information.
[0049] In a fourth aspect, the present application provides a distributed call conflict handling system, including:
[0050] A first electronic device, configured to execute any one of the methods in the embodiments of the second aspect above;
[0051] The second electronic device is used to execute any method in the above-mentioned third aspect embodiment.
[0052] In a fifth aspect, the present application provides an electronic device, including:
[0053] a memory for storing instructions to be executed by one or more processors of the device;
[0054] A processor is used to execute instructions so that the electronic device executes any method in the above-mentioned second aspect embodiment or any method in the above-mentioned third aspect embodiment.
[0055] In a sixth aspect, the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by an electronic device, the electronic device executes any method in the above-mentioned second aspect embodiment or any method in the above-mentioned third aspect embodiment.
[0056] In a seventh aspect, the present application provides a computer program product comprising instructions, which, when run on an electronic device, enables the electronic device to execute any method in the above-mentioned second aspect embodiment or any method in the above-mentioned third aspect embodiment. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] Figure 1a A scenario diagram of a distributed architecture of a call system according to an embodiment of the present application;
[0058] Figure 1b This is another scenario diagram of the distributed architecture of the call system according to one embodiment of the present application;
[0059] Figure 2a This is a schematic structural diagram of an electronic device according to an embodiment of the present application;
[0060] Figure 2b A software structure block diagram of an electronic device according to an embodiment of the present application;
[0061] Figure 3 A scenario diagram of a trust ring according to an embodiment of the present application;
[0062] Figure 4a1 This is an interactive flow chart of a distributed call conflict handling method in a scenario according to an embodiment of the present application;
[0063] Figure 4a2 for Figure 4a1A detailed interaction flow chart for the scenario shown;
[0064] Figure 4b- Figure 4e Based on Figure 4a1 and Figure 4a2 Schematic diagram of the interface for handling call conflicts on mobile phones, tablet computers, and PCs in the interactive flow chart shown;
[0065] Figure 5a1 This is an interactive flow chart of a distributed call conflict handling method in another scenario according to an embodiment of the present application;
[0066] Figure 5a2 for Figure 5a1 A detailed interaction flow chart for the scenario shown;
[0067] Figure 5b- Figure 5e Based on Figure 5a1 and Figure 5a2 Schematic diagram of the interface for handling call conflicts on mobile phones, tablet computers, and PCs in the interactive flow chart shown;
[0068] Figure 6 A schematic diagram of a process for a second electronic device to obtain data from a second SIM card according to an embodiment of the present application;
[0069] Figure 7 A schematic structural diagram of an electronic device according to an embodiment of the present application;
[0070] Figure 8 This is a structural diagram of a distributed call conflict handling system according to an embodiment of the present application;
[0071] Figure 9 This is a schematic diagram of the structure of a system on a chip according to an embodiment of the present application. DETAILED DESCRIPTION
[0072] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application.
[0073] refer to Figure 1a , Figure 1a The following is an exemplary scenario diagram of a distributed architecture of a call system according to an embodiment of the present application. The scenario diagram includes a calling device 101 and a called device, wherein the called device may include at least one first electronic device capable of implementing mobile data call capabilities with the calling device 101 and at least one second electronic device.
[0074] In the embodiment of the present application, the first electronic device is an electronic device with a telephone call function. For example, it can be a mobile data call capability implemented through a base station, such as making and receiving calls, or an IP call capability implemented through a cellular network, such as WeChat voice. Figure 1aIn the illustrated example, mobile phone 102 and tablet computer 103 are connected in a near-field manner. For example, mobile phone 102 and tablet computer 103 are in a trusted ring, where the near-field connection can be a network connection within the same local area network, or a Bluetooth connection. Mobile phone 102 and tablet computer 103 in the trusted ring can be devices with the same account to enhance call security.
[0075] When the calling device 101 initiates a phone call to multiple called devices, the mobile phone 102 in the called devices detects whether there is a call conflict. If there is no call conflict, the mobile phone 102 and the tablet computer 103 can simultaneously output prompts of the incoming call event (i.e., achieve incoming call resonance).
[0076] In the embodiments of the present application, the mobile phone can be a single Subscriber Identity Module (SIM) card phone or a dual-SIM card phone. A dual-SIM card phone can support dual-call or not. Supporting dual-call means that making or receiving calls using one SIM card does not affect calls connected to the other SIM card. Based on this, call conflicts include the various scenarios shown in Table 1.
[0077] Table 1
[0078]
[0079] The mobile phone 102 that receives the incoming call signal determines whether any of the above call conflict scenarios exists, and performs corresponding call conflict processing if any of the above call conflict scenarios exists.
[0080] For example, if the above scenario 1 or scenario 3 occurs, the mobile phone 102 outputs a call conflict prompt, such as ringing, vibration, interface prompt, etc. The interface prompt may include displaying the incoming call number, the incoming caller name, the answer button, and / or the hang-up button on the interface. Based on the call conflict prompt, the user can understand the relevant information of the call conflict and then perform relevant operations. For example, the user can click the answer button to answer the new call on the mobile phone 102, or the user can click the hang-up button to hang up the new call on the mobile phone 102. When the mobile phone 102 answers the new call, the old call can be hung up or put on hold, without limitation.
[0081] In the embodiment of the present application, the mobile phone 102 answers the call to indicate that the mobile phone 102 is communicating with the caller, and the mobile phone 102 hangs up the call to indicate that the mobile phone 102 cuts off the communication with the caller. After the mobile phone 102 answers the new call, the old caller can keep the call or hang up the call.
[0082] In the above scenario 1 or scenario 3, the mobile phone 102 will not send incoming call events to the tablet computer 103 and other devices connected in the near field, that is, the tablet computer 103 and other devices will not vibrate simultaneously with the mobile phone 102 for incoming calls, so as to reduce the impact on the normal use of the tablet computer 103 and other devices connected in the near field.
[0083] If the above scenario 2 exists, that is, the user makes a call on the tablet computer 103, the tablet computer 103 generates an outgoing call event, starts the outgoing call interface, and sends the outgoing call event to the mobile phone 102, then the mobile phone 102 obtains the call status of the SIM card and sends the call status of the SIM card to the tablet computer 103; based on the received information, the tablet computer 103 determines that the SIM card is in a call state, closes the outgoing call interface, and outputs a prompt that the outgoing call is invalid, such as ringing, vibration, interface prompt, etc., to remind the user that a new call cannot be started and the outgoing call is invalid.
[0084] The outgoing call interface is an interface for calling a remote device, and can display the dialed number, the user name of the caller, and / or an hang-up button. When a user makes a call on the tablet computer 103, the tablet computer 103 and the mobile phone 102 act as the calling devices, and the remote device acts as the called device. For the called device, the outgoing call event is an incoming call event.
[0085] If the above scenario 4 occurs, for mobile phones that support dual calling, mobile phone 102 will output a call conflict prompt. In scenario 4, mobile phone 102 will not send the incoming call event to tablet computer 103 and other devices connected in the near field. In other words, tablet computer 103 and other devices will not vibrate simultaneously with mobile phone 102 for incoming calls, thereby reducing the impact on the normal use of tablet computer 103 and other devices connected in the near field.
[0086] If the above scenario 4 occurs, for a mobile phone that does not support dual calling, mobile phone 102 sends an incoming call event to tablet computer 103 and passes the data of the new incoming SIM card to tablet computer 103, that is, the new incoming SIM card is virtualized to tablet computer 103. At this time, tablet computer 103 uses the idle SIM card slot (actually uses idle modem and radio frequency resources) based on the data of the new incoming SIM card to register with the operator network, so that tablet computer 103 has the calling capability of the new incoming SIM card. Tablet computer 103 with the calling capability of the new incoming SIM card outputs an incoming call prompt based on the incoming call event, such as ringing, vibration, interface prompt, pop-up window, etc.
[0087] In addition, in the case of the above scenario 4, the mobile phone 102 that does not support dual calling can also display a new incoming call notification in the status bar and generate a missed call record for the incoming call event.
[0088] If the above scenario 5 occurs, mobile phone 102 transmits the data from the incoming SIM card to tablet computer 103. Tablet computer 103 then registers with the carrier network using the available SIM card slot based on the incoming SIM card data, enabling tablet computer 103 to have the call capability of the incoming SIM card. Tablet computer 103, having the call capability of the incoming SIM card, uses the incoming SIM card by default to directly send the outgoing call event to the remote called device and initiate the call with the remote called device.
[0089] If the aforementioned scenario 6 or 8 occurs, mobile phone 102 sends an incoming call event to tablet computer 103, causing both phone 102 and tablet computer 103 to vibrate simultaneously. Here, mobile phone 102 does not send the incoming call event to other devices connected in the near field. That is, other devices do not vibrate simultaneously with the phone 102 to avoid affecting the normal use of other devices connected in the near field. Upon receiving the incoming call event, tablet computer 103 determines that scenario 6 or 8 exists and outputs a call conflict notification, such as a ringing sound, vibration, or interface prompt.
[0090] If the above scenario 7 exists, that is, other devices connected in the near field send an outgoing call event to the mobile phone 102, the mobile phone 102 obtains the call status of the SIM card and sends the call status of the SIM card to the other device; based on the received information, the other device determines that the SIM card is in a call state, closes the outgoing call interface, and outputs a prompt that the outgoing call is invalid, such as ringing, vibration, interface prompt, etc., to prompt the user that a new call cannot be started and the outgoing call is invalid.
[0091] If the above scenario 9 occurs, the mobile phone 102 sends an incoming call event to the other device connected in the near field, and passes the data of the SIM card of the new incoming call to the other device, that is, the SIM card of the new incoming call is virtualized to the other device. At this time, the other device uses the idle SIM card slot (actually uses the idle modem and radio frequency resources) based on the data of the SIM card of the new incoming call to register with the operator network, so that the other device has the call capability of the SIM card of the new incoming call. The other device with the call capability of the SIM card of the new incoming call outputs an incoming call prompt based on the incoming call event, such as ringing, vibration, pop-up window, etc., to inform the user of the new incoming call.
[0092] In addition, in the case of the above scenario 9, the mobile phone 102 that does not support dual calling can also display a new incoming call notification in the status bar and generate a missed call record for the incoming call event.
[0093] If the above scenario 10 occurs, the mobile phone 102 transmits the data from the incoming call's SIM card to the other device connected in the near field. Based on the data from the incoming call's SIM card, the other device uses an available SIM card slot to register with the carrier network, allowing the other device to have the call capability of the incoming call's SIM card. The other device, having the call capability of the incoming call's SIM card, uses the incoming call's SIM card by default to directly send the outgoing call event to the remote called device, and the remote called device conducts the call.
[0094] For the case where the mobile phone does not support dual calling in the above scenario 4, as well as scenarios 5, 9 and 10, in order to implement the above embodiment, the device that uses the idle SIM card slot to register the operator network is required to have modem functionality.
[0095] In an embodiment of the present application, the mobile phone 102 may record the status identifier of the SIM card, the status identifier of the mobile phone 102, and the status identifier of the tablet computer 103. The tablet computer 103 may record the status identifier of the SIM card and the status identifier of the tablet computer 103. The above-mentioned status identifiers indicate whether the corresponding device is occupied, thereby determining the device that establishes a call connection with the remote calling device. For example, the status identifier of SIM card 1 indicates that SIM card 1 is occupied, and the status identifier of mobile phone 102 indicates that mobile phone 102 is occupied, which means that mobile phone 102 establishes a call connection with the remote calling device through SIM card 1. For another example, the status identifier of SIM card 1 indicates that SIM card 1 is occupied, and the status identifier of tablet computer 103 indicates that tablet computer 103 is occupied, which means that tablet computer 103 establishes a call connection with the remote calling device through SIM card 1.
[0096] In the embodiment of the present application, the call conflict scenario can be understood as when the mobile phone 102 or tablet computer 103 establishes a call connection with a remote calling device through a SIM card, and then receives a new incoming call event or generates a new outgoing call event.
[0097] In the above embodiments, a mobile phone is used as the first electronic device and a tablet computer is used as the second electronic device. In some embodiments of the present application, the first electronic device may also be a tablet computer with mobile data call capabilities, a laptop computer, or a wearable electronic device such as a watch. The second electronic device may also be an electronic device with mobile data call capabilities, or an electronic device without mobile data call capabilities but capable of communicating with the first electronic device via network data, such as a mobile phone, a tablet computer, a laptop computer, a super mobile personal computer, a personal digital assistant (PDA), a television, or a wearable electronic device such as a watch or a bracelet.
[0098] In another scenario of the present application, the server can send the incoming call signal to the mobile phone and tablet computer at the same time to achieve incoming call resonance between the mobile phone and tablet computer. Figure 1b , Figure 1b Another scenario diagram of the distributed architecture of the call system according to an embodiment of the present application is shown. In this scenario, a server 106 can send an incoming call signal to a mobile phone 104. The mobile phone 104 and the watch 105 can be connected wirelessly, such as via Bluetooth. The mobile phone 104 can send the incoming call signal to the watch 105 via Bluetooth, so that the mobile phone 104 and the watch 105 can achieve call resonance. The process of handling call conflicts between the mobile phone and the watch is as described above and will not be described here.
[0099] The distributed call conflict handling method of the embodiment of the present application is described below in conjunction with the specific structures of the first electronic device and the second electronic device.
[0100] refer to Figure 2a , Figure 2a A schematic structural diagram of an electronic device according to an embodiment of the present application is shown. Figure 2a The electronic device shown can serve as a first electronic device or a second electronic device. Figure 2a The electronic device shown may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) connector 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, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a Subscriber Identity Module (SIM) card interface 195, etc. Among them, the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, and a bone conduction sensor 180M, etc.
[0101] It is understood that the structures illustrated in the embodiments of the present application do not constitute specific limitations on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown, or combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0102] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.
[0103] The processor 110 can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and execution.
[0104] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.
[0105] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may 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, and a Subscriber Identity Module (SIM) interface.
[0106] The I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple I2C bus lines. The processor 110 may be coupled to the touch sensor 180K, charger, flash, camera 193, etc. through different I2C bus interfaces. For example, the processor 110 may be coupled to the touch sensor 180K through the I2C interface, allowing the processor 110 and touch sensor 180K to communicate through the I2C bus interface, thereby realizing the touch function of the electronic device.
[0107] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the I2S interface, enabling the function of answering calls through a Bluetooth headset.
[0108] The PCM interface can also be used for audio communication, sampling, quantizing, and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. The audio module 170 can transmit the acquired downlink audio stream data and uplink audio stream data to an electronic device wirelessly connected to the electronic device via the wireless communication module 160.
[0109] In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface to implement the function of answering calls through a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
[0110] The UART interface is a universal serial data bus used for asynchronous communication. This bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is typically used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 via the UART interface to implement Bluetooth functionality. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the UART interface, enabling the electronic device connected via Bluetooth to obtain a downstream audio stream.
[0111] The MIPI interface can be used to connect the processor 110 to peripheral devices such as the display 194 and the camera 193. MIPI interfaces include the Camera Serial Interface (CSI) and the Display Serial Interface (DSI). In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to implement the camera function of the electronic device 100. The processor 110 and the display 194 communicate via the DSI interface to implement the display function of the electronic device.
[0112] It is understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is only for illustrative purposes and does not constitute a structural limitation on the electronic device. In other embodiments of the present application, the electronic device may also adopt different interface connection methods from the above embodiments, or a combination of multiple interface connection methods.
[0113] The wireless communication function of the electronic device can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
[0114] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in an electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.
[0115] The mobile communication module 150 can provide wireless communication solutions, including 2G / 3G / 4G / 5G, for use on the first electronic device. In some embodiments, the mobile communication module 150 can be used to transmit call data between two electronic devices. For example, when acting as the called device, the downlink audio stream data from the calling device can be obtained, and uplink audio stream data can be transmitted to the calling device.
[0116] The wireless communication module 160 can provide wireless communication solutions for electronic devices, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared technology (IR).
[0117] In some embodiments, the antenna 1 of the electronic device is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device can communicate with the network and other devices through wireless communication technology. In one embodiment of the present application, the electronic device can achieve local area network connection with another electronic device through the wireless communication module 160. Wireless communication technology may 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-Synchronous Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the Beidou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or the Satellite Based Augmentation System (SBAS), etc.
[0118] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), organic light-emitting diode (OLED), active-matrix organic light-emitting diode or active-matrix organic light-emitting diode (AMOLED), flexible light-emitting diode (FLED), miniLED, microLED, micro-OLED, and quantum dot light-emitting diode (QLED). In some embodiments, the electronic device can include one or N display screens 194, where N is a positive integer greater than 1.
[0119] In some embodiments, the display screen 194 can display an incoming call prompt interface, an incoming call conflict prompt interface, an outgoing call failure prompt interface, and an outgoing call interface, so that the user can understand the status information of the call conflict based on the interface content displayed on the display screen.
[0120] 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. The external memory card communicates with the processor 110 via the external memory interface 120 to implement data storage. For example, files such as music, videos, and audio files can be stored on the external memory card.
[0121] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, and at least one application required for a function (such as a sound playback function, an image playback function, and a recording function, etc.). The data storage area may store data created during the use of the electronic device (such as uplink audio data, downlink audio data, and a phone book, etc.). In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash memory (Universal Flash Storage, UFS), etc. The processor 110 executes various functional applications and data processing of the electronic device by running instructions stored in the internal memory 121 and / or instructions stored in a memory provided in the processor 110.
[0122] The electronic device can implement a call conflict handling function, etc., through the audio module 170 , the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor.
[0123] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be provided in the processor 110, or some functional modules of the audio module 170 can be provided in the processor 110.
[0124] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals. When the electronic device receives a call or voice message, the voice transmitted by the calling device can be heard through the receiver 170B.
[0125] Microphone 170C, also known as a "microphone" or "speaker," converts sound signals into electrical signals. When making a call or sending a voice message, a user can place their mouth close to microphone 170C and speak. This inputs the sound signal into microphone 170C, capturing the uplink audio stream.
[0126] Pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 180A can be located on display screen 194. In some embodiments, when a user presses the answer button on display screen 194, a manual call answer function can be implemented. When a user presses the hang-up button on display screen 194, a manual call hang-up function can be implemented.
[0127] The touch sensor 180K is also referred to as a "touch-sensitive device." The touch sensor 180K can be disposed on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also referred to as a "touch screen." The touch sensor 180K is used to detect touch operations applied thereto or in the vicinity thereof. The touch sensor 180K can transmit the detected touch operations to an application processor to determine the type of touch event. Visual output related to the touch operations can be provided via the display screen 194. In other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device, at a location different from that of the display screen 194.
[0128] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, after receiving an incoming call signal, motor 191 generates vibrations to prompt the user that there is a call to be answered.
[0129] refer to Figure 2b , Figure 2b The software structure block diagram of the electronic device according to the embodiment of the present application is shown.
[0130] The layered architecture divides software into several layers, each with clear roles and divisions of labor. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers: the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer. In other embodiments, the Android system is divided into five layers: the application layer, the application framework layer, the Android runtime and system libraries, the hardware abstraction layer, and the kernel layer. Figure 2b The layered architecture including the application layer, the application framework layer, the hardware abstraction layer, and the kernel layer is only used as an example for illustration and is not intended to be limiting.
[0131] The application layer can include a series of application packages.
[0132] like Figure 2b As shown, the application layer may include a call application, etc. In addition, in some embodiments, it may also include applications such as a camera, a gallery, a calendar, a call, a map, a navigation, a WLAN, a Bluetooth, music, a video, a short message, and a recording.
[0133] In some embodiments, the user can obtain a call interface during a call through a call application and implement logical operations during the call process.
[0134] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.
[0135] like Figure 2b As shown, the application framework layer may include a communication protocol framework, a drawing and rendering module, a distributed framework, an audio framework, and a file management framework, etc.
[0136] The communication protocol framework is part of the phone manager and is used to provide communication functions for electronic devices, such as call status management (including answering and hanging up, etc.).
[0137] The drawing and rendering module is part of the video system and includes visual controls, such as those for displaying text and images. The view system is used to build applications. A display interface can consist of one or more views. For example, a call conflict notification interface during a call might include a view that displays text and a view that displays images.
[0138] The distributed framework is used to synchronize data between devices within a local area network. For example, it can synchronize incoming call signals, resonate incoming calls between two devices within the local area network, and synchronize recording files.
[0139] The audio framework can be a content provider that stores and retrieves data and makes it accessible to applications. The data can include video, images, audio, and calls made and received.
[0140] The file management framework is part of the resource manager and is used to provide various resources for applications, such as localized strings, icons, images, layout files, audio files, video files, and so on.
[0141] Android Runtime includes core libraries and a virtual machine. Android Runtime is responsible for scheduling and management of the Android system.
[0142] The core library consists of two parts: one is the function that needs to be called by the Java language, and the other is the Android core library.
[0143] The application layer and application framework layer run in a virtual machine. The virtual machine executes Java files in the application layer and application framework layer as binary files. The virtual machine performs functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
[0144] The hardware abstraction layer is an interface layer located between the operating system kernel and the hardware circuit. It is used to abstract the hardware and provide a virtual hardware platform for the operating system.
[0145] like Figure 2b As shown, the hardware abstraction layer may include a transmission channel module, a display processing module, a trust ring, an audio stream processing module, an external storage module, and the like.
[0146] The system's security, memory management, process management, network protocol stack, and driver model all rely on the kernel layer. The kernel layer may at least include Inter Process Communication (IPC), display drivers, soft bus, audio drivers, and storage drivers.
[0147] The following combination Figure 2b The call scenario illustrates the workflow of electronic device software and hardware.
[0148] When the mobile communication module 150 receives an incoming call signal, the kernel layer processes the signal into an incoming call event, the application framework layer obtains the incoming call event through the transmission channel module of the hardware layer, the application layer calls the communication protocol framework to obtain the incoming call event, and starts the phone application. At the same time, the kernel layer starts the display screen 194 through the display driver to display the call interface corresponding to the phone application layer program on the display screen 194. The user can answer or hang up the call through the answer or hang up button on the call interface.
[0149] In one embodiment of the present application, the electronic device can communicate with electronic device A through a local area network. After receiving a call, the incoming call event is synchronized to the electronic device connected to it, such as electronic device A, through a distributed framework, and the two electronic devices achieve incoming call resonance.
[0150] In the embodiment of the present application, a mobile phone, a tablet computer and a PC may be three electronic devices associated based on a trust ring, such as Figure 3 As shown, for example, you can log in to your mobile phone, tablet computer, and PC through your Honor account, establish a trust relationship based on the Honor account, and then consider executing a distributed call conflict handling method based on the established trust relationship to improve the security of user calls.
[0151] In the embodiments of the present application, from the perspective of call conflict, two major scenarios can be considered: a scenario in which a call conflict occurs when a mobile phone answers a call, and a scenario in which a call conflict occurs when a tablet computer answers a call. The scenario in which a call conflict occurs when a mobile phone answers a call further includes scenarios 1-5 as shown in Table 1, and the scenario in which a call conflict occurs when a tablet computer answers a call further includes scenarios 6-10 as shown in Table 1.
[0152] The following describes in detail the distributed call conflict handling method of an embodiment of the present application in combination with two scenarios.
[0153] Scenario 1: A call conflict occurs when a mobile phone receives an incoming call.
[0154] refer to Figure 4a1 and Figure 4a2 , Figure 4a1 and Figure 4a2 The interactive flow chart of the distributed call conflict handling method in a scenario of an embodiment of the present application is shown. The method is applied to a system composed of a mobile phone, a tablet computer and a PC. Taking a mobile phone and a tablet computer as an example, Figure 4a1 and Figure 4a2As shown, it includes a mobile phone, a tablet computer and a PC (not shown), wherein the mobile phone includes a display screen 41, a native call service module 42, a distributed framework 43 and a near field service module 44. The tablet computer includes a near field service module 51, a distributed framework 52 and a display screen 53. Among them, the distributed framework can also be called a distributed call service module. Figure 4a1 and Figure 4a2 As shown, the flow chart includes S401-S412.
[0155] S401, the mobile phone, tablet computer and PC are in near field connection.
[0156] Mobile phones, tablets, and PCs are connected to the same Wi-Fi. Take mobile phones and tablets as an example. Figure 4a1 and Figure 4a2 As shown, the mobile phone and the tablet computer respectively establish a near field connection through the near field service module 44 and the near field service module 51, using the near field service discovery protocol. Similarly, the mobile phone and the PC, and the PC and the tablet computer establish a near field connection.
[0157] In the embodiments of the present application, the mobile phone, tablet computer, and PC can be in a trust loop to improve information security. In the embodiments of the present application, the mobile phone, tablet computer, and PC can also use the same account to access the same Wi-Fi, and establish a near-field connection when the distance is less than a set distance. This is not limited.
[0158] In the embodiment of the present application, the mobile phone can Figure 2a The SIM card interface 195 in the embodiment is connected to one or N SIM cards, for example, SIM card 1 is connected via the SIM card interface 195. The remote device sends an incoming call signal for SIM card 1, and the mobile phone can receive the incoming call signal through the following methods: Figure 2a The mobile communication module 150 receives the incoming call signal for SIM card 1, and the native call service module 42 (e.g., the kernel layer) generates an incoming call event for SIM card 1, which is then received by the distributed framework 43. The distributed framework 43 synchronizes the incoming call event to the distributed framework 52 of the tablet computer through the near field service module 44 and the near field service module 51, so that the mobile phone and the tablet computer can simultaneously provide notifications of the incoming call event, such as ringing, vibration, and interface prompts.
[0159] After both the mobile phone and tablet computer are able to simultaneously receive notifications of incoming call events, the mobile phone answers the incoming call, enabling a call between the mobile phone and the remote device via SIM card 1. At this point, the mobile phone records the status identifier of SIM card 1 as a first identifier and the status identifier of the mobile phone as a second identifier. The first identifier indicates that SIM card 1 is occupied, and the second identifier indicates that the mobile phone is occupied. When the status identifier of SIM card 1 is the first identifier, SIM card 1 is in a call state.
[0160] S402: Other remote devices send an incoming call signal to SIM card 1, and the mobile phone receives the incoming call signal. The remote device may be a server or a mobile phone.
[0161] In the embodiments of the present application, such as the above-mentioned scenarios 1 and 3, the mobile phone can Figure 2a The mobile communication module 150 obtains the incoming call signal for SIM card 1, and the native call service module 42 generates an incoming call event for SIM card 1.
[0162] S403, the mobile phone outputs a call conflict prompt.
[0163] The native call service module 42 of the mobile phone detects that the status identifier of the SIM card 1 is the first identifier, and the status identifier of the mobile phone is the second identifier, that is, the mobile phone establishes a call connection with other remote devices through the SIM card 1, and it can be determined that there is a call conflict. A prompt of the incoming call conflict is output through the display screen 41, such as starting the incoming call interface, ringing, etc., without notifying the distributed framework 43, that is, not notifying the tablet computer or PC. At this time, the tablet computer and PC have no incoming call reminder.
[0164] refer to Figure 4b1 , Figure 4b1 The example shows the incoming call conflict prompt interface of the mobile phone. Figure 4b1 (1) is the call interface of the mobile phone. At this time, the mobile phone receives another call, and a call conflict occurs. Figure 4b1 (2) is the call conflict prompt interface of the mobile phone. The output process of the call conflict prompt can refer to the description of S402-S403. Figure 4b1 Output call conflict prompt, the user can answer or hang up the new call, if the user answers the new call, the old call is kept on hold, the phone's call interface can be seen Figure 4b2 shown.
[0165] When a mobile phone answers a call, it means that the user is focused on the mobile phone. Outputting the call conflict prompt through the mobile phone without notifying the tablet can effectively remind the user of the call conflict, reduce the impact on the use of the tablet, and improve the user experience.
[0166] S404: The tablet computer sends an outgoing call event for SIM card 1 to the mobile phone.
[0167] As in Scenario 2 above, a user enters a phone number on the tablet and makes a call using SIM card 1. Based on the user's call-making action, the tablet's distributed framework 52 generates an outgoing call event for SIM card 1 and displays an outgoing call interface on display 53, notifying the user that the call is a distributed outgoing call. Furthermore, distributed framework 52 transmits the outgoing call event to distributed framework 43 via near-field service module 51 and near-field service module 44.
[0168] S405 , the mobile phone obtains the status information of SIM card 1 and feeds the status information of SIM card 1 back to the tablet computer.
[0169] The distributed framework 43 sends the outgoing call event to the native call service module 42, calls the native call service module 42 to obtain the status information of SIM card 1 (such as the first identifier mentioned above, SIM card 1 is in a call state), and feeds back the status information of SIM card 1 to the distributed framework 52 through the near-field service module 51 and the near-field service module 44.
[0170] S406: The tablet computer closes the outgoing call interface and outputs a prompt indicating that the outgoing call is unsuccessful.
[0171] The distributed framework 52 closes the outgoing call interface displayed on the display screen 53 and controls the display screen 53 to output a prompt interface indicating that the outgoing call is invalid.
[0172] refer to Figure 4c , Figure 4c The power failure prompt interface of a tablet computer is shown as an example. Figure 4c (1) is the call interface of the mobile phone. At this time, the tablet makes a call, and the outgoing call interface of the tablet is as follows Figure 4c As shown in (2), when it is determined that there is a call conflict, the tablet computer closes the call interface and displays the call failure prompt interface, such as Figure 4c As shown in (3), the output process of the call conflict prompt can refer to the description of S403-S406.
[0173] When a mobile phone receives an incoming call and a tablet makes a call, there will be a call conflict. The tablet will output a prompt indicating that the outgoing call is invalid, which prevents the user on the tablet from waiting in vain and avoids affecting the call on the mobile phone, thereby improving the user experience.
[0174] S407, the other remote device sends the incoming call signal for SIM card 2, and the mobile phone receives the incoming call signal. Afterwards, if the mobile phone supports the dual-talk function, S408 is executed, and if the mobile phone does not support the dual-talk function, S409 is executed.
[0175] In the embodiment of the present application, the mobile phone can Figure 2aThe SIM card interface 195 is connected to one or N SIM cards. For example, SIM card 1 and SIM card 2 are connected via the SIM card interface 195 .
[0176] As in scenario 4, the mobile phone can Figure 2a The mobile communication module 150 obtains the incoming call signal for the SIM card 2, and the native call service module 42 generates an incoming call event for the SIM card 2.
[0177] S408, the mobile phone outputs a call conflict prompt.
[0178] The mobile phone's native call service module 42 detects that the mobile phone has established a call connection with another remote device via SIM card 1 and determines that a call conflict exists. It then displays a call conflict notification on display 41, such as by activating the incoming call interface or ringing a ring. However, it does not notify the distributed framework 43, i.e., the tablet computer or PC. Consequently, the tablet computer or PC receives no incoming call notification. For example, as shown in FIG4b .
[0179] When a mobile phone answers a call, it means that the user is focused on the mobile phone. Outputting the call conflict prompt through the mobile phone without notifying the tablet can effectively remind the user of the call conflict, reduce the impact on the use of the tablet, and improve the user experience.
[0180] S409: The mobile phone sends the data of SIM card 2 to the tablet computer, and sends an incoming call event for SIM card 2 to the tablet computer. The tablet computer has a modulation and demodulation function.
[0181] Since the mobile phone does not support the dual-call function, the mobile phone cannot implement the call conflict prompt function. The native call service module 42 of the mobile phone detects that the mobile phone establishes a call connection with other remote devices through SIM card 1, and can determine that there is a call conflict. The data of SIM card 2 is sent to the distributed framework 43. The distributed framework 43 feeds back the data of SIM card 2 and the incoming call event for SIM card 2 to the distributed framework 52 of the tablet computer through the near-field service module 51 and the near-field service module 44.
[0182] At this time, the distributed framework 52 uses the idle SIM card slot based on the data of SIM card 2 to register with the operator network, so that the tablet computer has the call capability of SIM card 2.
[0183] In addition, the display screen 41 of the mobile phone does not start the incoming call interface, that is, there is no prompt in the call interface, and the user is notified of a new incoming call in the status bar, and a missed call record is generated at the same time.
[0184] S410: The tablet computer outputs a notification indicating a call conflict.
[0185] The distributed framework 52 of the tablet computer controls the display screen 53 to output a prompt interface of incoming call conflict.
[0186] refer to Figure 4d1 , Figure 4d1 The example shows an incoming call conflict prompt interface of a tablet computer, such as outputting a pop-up window message of a new incoming call. Figure 4d1 (1) and (2) are the call interface of the mobile phone and the original interface of the tablet computer respectively. At this time, the mobile phone receives another incoming call. After the call conflict is handled, the interface of the mobile phone and tablet computer are displayed as follows Figure 4d1 In the embodiment of the present application, after the call conflict is processed, the interface of the tablet computer can also output a reminder of the call conflict in the form of a pop-up message, such as Figure 4d2 The output process of the incoming call conflict prompt can refer to the description of S407, S409-S410.
[0187] If a phone already answers a call, the user's attention is focused on the phone. However, the phone doesn't support dual-calling. In this case, the tablet displays a call conflict notification to alert the user. Additionally, while there's no notification on the phone's call screen, a new call notification appears in the status bar, creating a missed call log. This allows users to identify conflicting calls promptly, improving their user experience.
[0188] S411, the mobile phone sends the data of SIM card 2 to the tablet computer. The tablet computer has a modulation and demodulation function.
[0189] In the embodiment of the present application, the mobile phone can execute step S411 to send the data of SIM card 2 to the tablet computer after answering a call through SIM card 1, or it can send the data of SIM card 2 to the tablet computer after the tablet computer makes a call, which is not limited to this.
[0190] S412: The tablet computer sends an outgoing call event for SIM card 2 to the remote device.
[0191] As in Scenario 5 above, the tablet registers with the carrier network based on the data from SIM card 2. This can be considered as a native call service module generated on the tablet. The tablet's native call service module directly sends an outgoing call event for SIM card 2 to the remote device and launches the outgoing call interface to notify the user of the outgoing call. This outgoing call is not a distributed call.
[0192] refer to Figure 4e , Figure 4e The outgoing call interface of a tablet computer is exemplarily shown. Figure 4e(1) and (2) are the call interface of the mobile phone and the original interface of the tablet computer respectively. At this time, the tablet computer makes a call, and the mobile phone interface remains unchanged after the call conflict is handled, such as Figure 4e As shown in (1) in the figure, after the call conflict is resolved, the interface of the tablet computer is displayed as follows Figure 4e The output process of the incoming call conflict prompt can refer to the description of S411-412.
[0193] When a mobile phone receives a call through one SIM card, the data of the other SIM card can be sent to the tablet computer, so that the user can use the other SIM card to talk to the remote device, thereby maximizing the user's call needs and improving the user experience.
[0194] Scenario 2: A call conflict occurs when a tablet computer answers an incoming call.
[0195] refer to Figure 5a1 and Figure 5a2 , Figure 5a1 and Figure 5a2 The following is an interactive flow chart illustrating a distributed call conflict handling method in a scenario according to an embodiment of the present application. This method is applied to a system consisting of a mobile phone, a tablet computer, and a PC, as shown in FIG5a . The system includes a mobile phone and a tablet computer, wherein the mobile phone includes a display screen 41, a native call service module 42, a distributed framework 43, and a near-field service module 44. The tablet computer includes a near-field service module 51, a distributed framework 52, and a display screen 53. The distributed framework can also be referred to as a distributed call service module. As shown in FIG5a , the flow chart includes steps S501-S512.
[0196] S501, the mobile phone, tablet computer and PC are in near field connection.
[0197] A mobile phone, tablet computer, and PC are connected to the same Wi-Fi network. Taking a mobile phone and a tablet computer as an example, as shown in FIG5a , the mobile phone and tablet computer establish a near-field connection through near-field service module 44 and near-field service module 51, respectively, using the near-field service discovery protocol. Similarly, a mobile phone and PC, and a PC and tablet computer establish near-field connections.
[0198] In an embodiment of the present application, after the mobile phone and tablet computer are able to simultaneously provide prompts for incoming call events related to SIM card 1, the tablet computer answers the incoming call event, enabling the tablet computer to communicate with the remote device via SIM card 1. At this time, the tablet computer sends event information regarding the incoming call answering event to the mobile phone. Based on the received event information, the mobile phone records the status identifier of SIM card 1 as a first identifier and the status identifier of the tablet computer as a third identifier. The first identifier indicates that SIM card 1 is occupied, and the third identifier indicates that the tablet computer is occupied.
[0199] S502: Other remote devices send an incoming call signal to SIM card 1, and the mobile phone receives the incoming call signal. The remote device may be a server or a mobile phone.
[0200] In the embodiments of the present application, such as the above-mentioned scenarios 6 and 8, the mobile phone can Figure 2a The mobile communication module 150 obtains the incoming call signal for SIM card 1, and the native call service module 42 generates an incoming call event for SIM card 1.
[0201] S503: The mobile phone sends an incoming call event for SIM card 1 to the tablet computer.
[0202] Optionally, the native call service module 42 of the mobile phone does not detect that the mobile phone has established a call connection with another remote device through SIM card 1, and sends the incoming call event for SIM card 1 to the distributed framework 43 without launching the incoming call interface. Distributed framework 43 detects that the status identifier of SIM card 1 is the first identifier and the status identifier of the tablet is the third identifier, that is, the tablet has established a call connection with another remote device through SIM card 1. In this case, the incoming call event is synchronized to the distributed framework 52 of the tablet through the near-field service module 44 and the near-field service module 51, and the PC is not notified of the incoming call event.
[0203] Optionally, the phone's native call service module 42 detects that the status identifier of SIM card 1 is the first identifier and the tablet's status identifier is the third identifier. This means that the tablet establishes a call connection with the other remote device via SIM card 1 and sends the incoming call event for SIM card 1 to the distributed framework 43 without launching the incoming call interface. Distributed framework 43 synchronizes the incoming call event to the tablet's distributed framework 52 via near-field service modules 44 and 51, without notifying the PC of the incoming call event.
[0204] S504: The tablet computer outputs a call conflict notification.
[0205] The distributed framework 52 of the tablet computer detects that the tablet computer establishes a call connection with other remote devices through the SIM card 1, and can determine that there is a call conflict. It outputs a call conflict prompt through the display screen 53, such as starting the incoming call interface, ringing, etc., to remind the user of the distributed call conflict.
[0206] refer to Figure 5b1 , Figure 5b1 The following example shows an incoming call conflict prompt interface of a tablet computer. Figure 5b1 (1) is the call interface of the tablet computer. At this time, the mobile phone receives another call, and a call conflict occurs. Figure 5b1(2) is the call conflict prompt interface of the tablet computer. The output process of the call conflict prompt can refer to the description of S502-S504. Figure 5b1 Output call conflict prompt, the user can answer or hang up the new call, if the user answers the new call, the old call is kept on hold, the tablet's call interface can be seen Figure 5b2 shown.
[0207] When a tablet computer answers a call, it means that the user is focused on the tablet computer. Outputting a call conflict prompt through the tablet computer without notifying the PC can effectively remind the user of the call conflict, reduce the impact on the use of the PC, and improve the user experience.
[0208] S505: The PC sends an outgoing call event for SIM card 1 to the mobile phone.
[0209] As in Scenario 7 above, the user enters a phone number on the PC and makes a call using SIM card 1. Based on the user's call, the PC's distributed framework generates an outgoing call event for SIM card 1 and displays an outgoing call interface on the PC's display. Furthermore, the PC's distributed framework transmits the outgoing call event to the mobile phone's distributed framework 43 via the PC's near-field service module and near-field service module 44. For details, please refer to the description of step S404 above.
[0210] S506: The mobile phone obtains the status information of the SIM card 1 and feeds the status information of the SIM card 1 back to the PC.
[0211] The distributed framework 43 sends the outgoing call event to the native call service module 42, calls the native call service module 42 to obtain the status information of SIM card 1 (such as the first identifier mentioned above, SIM card 1 is in a call state), and feeds back the status information of SIM card 1 to the distributed framework of the PC through the PC's near-field service module and the near-field service module 44.
[0212] S507: The PC closes the outgoing call interface and outputs a prompt indicating that the outgoing call is unsuccessful.
[0213] The distributed framework of the PC turns off the outgoing call interface displayed on the display screen of the PC, and controls the display screen of the PC to output a prompt interface indicating that the outgoing call is invalid.
[0214] refer to Figure 5c , Figure 5c The power failure prompt interface of the PC is exemplarily shown. Figure 5c (1) is the call interface of the tablet computer. At this time, the PC makes a call, and the outgoing call interface of the PC is as follows Figure 5c As shown in (2), when it is determined that there is a call conflict, the PC closes the call interface and displays the call failure prompt interface, such as Figure 5c As shown in (3), the output process of the call conflict prompt can refer to the description of S505-S507.
[0215] When a tablet computer receives an incoming call and the PC makes a call, there will be a call conflict. The PC will output a prompt indicating that the outgoing call failed, which prevents the PC user from waiting in vain and avoids affecting the call on the tablet computer, thereby improving the user experience.
[0216] S508: The other remote device sends an incoming call signal for SIM card 2, and the mobile phone receives the incoming call signal.
[0217] In the embodiment of the present application, the mobile phone can Figure 2a The SIM card interface 195 is connected to one or N SIM cards. For example, SIM card 1 and SIM card 2 are connected via the SIM card interface 195 .
[0218] As in scenario 9, the mobile phone can Figure 2a The mobile communication module 150 obtains the incoming call signal for the SIM card 2, and the native call service module 42 generates an incoming call event for the SIM card 2.
[0219] S509: The mobile phone sends the data of SIM card 2 to the PC, and sends an incoming call event for SIM card 2 to the PC. The PC has a modem function.
[0220] Optionally, the native call service module 42 of the mobile phone does not detect that the mobile phone has established a call connection with other remote devices, and sends the incoming call event for SIM card 2 to the distributed framework 43. The distributed framework 43 detects that the tablet computer has established a call connection with the remote device through SIM card 1, obtains the data of SIM card 2, and feeds back the data of SIM card 2 and the incoming call event for SIM card 2 to the distributed framework of the PC through the near-field service module of the PC and the near-field service module 44.
[0221] Optionally, the native call service module 42 of the mobile phone detects that the tablet computer establishes a call connection with the remote device through SIM card 1, and sends the incoming call event for SIM card 2 to the distributed framework 43. The distributed framework 43 obtains the data of SIM card 2 and feeds back the data of SIM card 2 and the incoming call event for SIM card 2 to the distributed framework of the PC.
[0222] In an embodiment of the present application, the distributed framework 43 can obtain the data of SIM card 2 directly from SIM card 2, or the native call service module 42 can obtain the data of SIM card 2 from SIM card 2 and send the obtained data of SIM card 2 to the distributed framework 43, without limitation.
[0223] At this time, the distributed framework of the PC uses the idle SIM card slot based on the data of SIM card 2 to register with the operator network, so that the PC has the calling capability of SIM card 2.
[0224] In addition, the display screen 41 of the mobile phone does not start the incoming call interface, that is, there is no prompt in the call interface, and the user is notified of a new incoming call in the status bar, and a missed call record is generated at the same time.
[0225] S510, the PC outputs a notification of incoming call conflict.
[0226] The distributed framework of the PC controls the display screen of the PC to output a prompt interface of the incoming call conflict.
[0227] refer to Figure 5d1 , Figure 5d1 The following example shows the call conflict prompt interface of the PC. Figure 5d1 (1), (2) and (3) are the tablet's call interface, PC's original interface and the phone's original interface respectively. At this time, the phone receives another incoming call. After the call conflict is resolved, the phone and PC interfaces are displayed as follows Figure 5d1 In the embodiment of the present application, after the call conflict is processed, the interface of the tablet computer can also output a reminder of the call conflict in the form of a pop-up message, such as Figure 5d2 The output process of the incoming call conflict prompt can refer to the description of S508-S510.
[0228] If a tablet already answers a call, the user's attention is focused on the tablet. In this case, the PC displays a call conflict notification to alert the user. Additionally, while no notification appears on the phone's call screen, a new call notification appears in the status bar, creating a missed call log and allowing the user to promptly identify any conflicting calls, improving the user experience.
[0229] S511: The mobile phone sends the data of SIM card 2 to the PC, wherein the PC has a modem function.
[0230] In the embodiment of the present application, the mobile phone can execute step S511 to send the data of SIM card 2 to the PC after answering a call through SIM card 1, or it can send the data of SIM card 2 to the PC after the PC makes a call, which is not limited to this.
[0231] S512: The PC sends an outgoing call event for SIM card 2 to the remote device.
[0232] As in scenario 10 above, the PC registers with the carrier network based on the data from SIM card 2. This can be considered as generating a native call service module on the PC. The PC's native call service module directly sends an outgoing call event for SIM card 2 to the remote device, establishing a call connection with the remote device.
[0233] refer to Figure 5e , Figure 5e The outgoing call interface of the PC is exemplarily shown. Figure 5e (1) and (2) are the tablet's call interface and the PC's original interface, respectively. At this time, the PC makes a call, and the phone's interface remains unchanged after the call conflict is resolved. Figure 5e As shown in (1), after the call conflict is resolved, the PC interface is displayed as follows Figure 5e The output process of the incoming call conflict prompt can refer to the description of S511-512.
[0234] When the tablet computer receives a call through one SIM card, the data of the other SIM card can be sent to the PC, so that the user can use the other SIM card to talk to the remote device, thereby maximizing the user's call needs and improving the user experience.
[0235] In some embodiments, the present application also provides a flowchart of a second electronic device (such as a tablet computer) obtaining data from a second SIM card (SIM card 2), as shown in FIG. Figure 6 As shown, the flow chart includes S601-S606.
[0236] S601: The mobile phone sends a first request to the tablet computer, where the first request is used to obtain a modem function status.
[0237] In the embodiment of the present application, after a mobile phone or PC establishes a call connection with a remote device through the SIM card 1, the mobile phone sends a request to the tablet computer to obtain the modem function status.
[0238] S602: The tablet computer detects that the modem function is available and sends a second request to the mobile phone. The second request is used to obtain data from SIM card 2.
[0239] S603: The mobile phone sends the data of SIM card 2 to the tablet computer based on the second request.
[0240] The tablet computer uses the data of SIM card 2 and the free SIM card slot to register the operator network, so that the tablet computer has the call capability of SIM card 2. In this case, the tablet computer can use the call capability of SIM card 2.
[0241] S604: The tablet computer uses the capability of SIM card 2 to make a call.
[0242] The tablet computer can use the call capability of SIM card 2 to establish a call connection with the remote device and then conduct a call.
[0243] S605: The tablet computer synchronizes the outgoing call information of SIM card 2 with the mobile phone.
[0244] S606: The mobile phone generates a call record of SIM card 2 based on the outgoing call information.
[0245] In the embodiment of the present application, users use mobile phones more frequently than tablet computers. The outgoing call information of SIM card 2 is synchronized to the mobile phone to generate call records, which is convenient for timely reminding users of outgoing call information and improving the user experience.
[0246] The process of obtaining data from the SIM card 2 provided in the embodiment of the present application is applicable to the acquisition of data from the SIM card 2 in the above-mentioned scenarios 4, 5, 9 and 10, and will not be described in detail here.
[0247] refer to Figure 7 , an embodiment of the present application further provides an electronic device, including:
[0248] Memory 701, for storing instructions executed by one or more processors of the device, and
[0249] Processor 702, used to execute the above embodiment combined with Figure 4a1 、 Figure 4a2 、 Figure 5a1 and Figure 5a2 The method explained.
[0250] The embodiment of the present application further provides a computer-readable storage medium storing a computer program. When the computer program is executed by an electronic device, the processor executes the above embodiment. Figure 4a1 、 Figure 4a2 、 Figure 5a1 and Figure 5a2 The method explained.
[0251] The present application also provides a computer program product including instructions. When the computer program product is run on an electronic device, the processor executes the above-mentioned embodiment. Figure 4a1 、 Figure 4a2 、 Figure 5a1 and Figure 5a2 The method shown.
[0252] The embodiment of the present application also provides a distributed call conflict handling system, such as Figure 8 As shown, including;
[0253] The first electronic device 801 is used to execute the above embodiment Figure 4a1 、 Figure 4a2 、 Figure 5a1 and Figure 5a2 A method performed by a first electronic device;
[0254] The second electronic device 802 is used to execute the above embodiment Figure 4a1 、 Figure 4a2 、 Figure 5a1 and Figure 5a2 The method is performed by a second electronic device.
[0255] Figure 9 FIG2 is a block diagram of a SoC (System on Chip) according to an embodiment of the present application. Figure 9 In FIG, similar components have the same reference numerals. In addition, the dashed boxes are optional features of more advanced SoCs. Figure 9 In the embodiment, the SoC includes: an interconnect unit 905 coupled to an application processor 901; a system agent unit 907; a bus controller unit 908; an integrated memory controller unit 904; a set of one or more coprocessors 902, which may include integrated graphics logic, an image processor, an audio processor, and a video processor; a static random access memory (SRAM) unit 903; and a direct memory access (DMA) unit 906. In one embodiment, the coprocessors 902 include specialized processors, such as, for example, a network or communication processor, a compression engine, a GPGPU, a high-throughput MIC processor, or an embedded processor.
[0256] The SRAM unit 903 may include one or more computer-readable media for storing data and / or instructions. The computer-readable storage medium may store instructions, specifically, temporary and permanent copies of the instructions. The instructions may include: when executed by at least one unit in the processor, causing Soc1 to execute the distributed call conflict handling method according to the above embodiment, for details, refer to the above embodiment. Figure 4a1 、 Figure 4a2 、 Figure 5a1 and Figure 5a2 The methods explained will not be repeated here.
[0257] The various embodiments of the mechanisms disclosed in this application can be implemented in hardware, software, firmware, or a combination of these implementation methods. The embodiments of the present application can be implemented as a computer program or program code executed on a programmable system, which includes at least one processor, a storage system (including volatile and non-volatile memory and / or storage elements), at least one input device, and at least one output device.
[0258] Program code can be applied to input instructions to perform the functions described herein and generate output information. The output information can be applied to one or more output devices in a known manner. For the purposes of this application, a processing system includes any system having a processor such as, for example, a digital signal processor (DSP), a microcontroller, an application specific integrated circuit (ASIC), or a microprocessor.
[0259] Program code can be implemented with a high-level programming language or an object-oriented programming language to communicate with the processing system. Where necessary, program code can also be implemented in assembly language or machine language. In fact, the mechanism described in this application is not limited to the scope of any particular programming language. In either case, the language can be a compiled language or an interpreted language.
[0260] In some cases, the disclosed embodiments can be implemented in hardware, firmware, software or any combination thereof. The disclosed embodiments can also be implemented as instructions carried or stored on one or more temporary or non-temporary machine-readable (e.g., computer-readable) storage media, which can be read and executed by one or more processors. For example, instructions can be distributed over a network or by other computer-readable media. Therefore, machine-readable media can include any mechanism for storing or transmitting information in a machine (e.g., computer) readable form, including but not limited to, floppy disks, optical disks, optical disks, compact disc read-only memories (Compact Disc Read Only Memory, CD-ROMs), magneto-optical disks, read-only memories (ROM), random access memories (RAM), erasable programmable read-only memories (EPROM), electrically erasable programmable read-only memories (EEPROM), magnetic cards or optical cards, flash memory, or tangible machine-readable memories for transmitting information (e.g., carrier waves, infrared signal digital signals, etc.) using the Internet in electrical, optical, acoustic or other forms of propagation signals. Accordingly, machine-readable media includes any type of machine-readable media suitable for storing or transmitting electronic instructions or information in a form readable by a machine (eg, a computer).
[0261] In the accompanying drawings, some structural or method features may be shown in a particular arrangement and / or order. However, it should be understood that such a particular arrangement and / or order may not be required. Rather, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the accompanying drawings. In addition, the inclusion of a structural or method feature in a particular figure does not imply that such a feature is required in all embodiments, and in some embodiments, such features may not be included or may be combined with other features.
[0262] It should be noted that the units / modules mentioned in the various device embodiments of the present application are all logical units / modules. Physically, a logical unit / module can be a physical unit / module, or a part of a physical unit / module, or can be implemented as a combination of multiple physical units / modules. The physical implementation of these logical units / modules themselves is not the most important. The combination of functions implemented by these logical units / modules is the key to solving the technical problems raised by this application. In addition, in order to highlight the innovative part of this application, the above-mentioned device embodiments of this application do not introduce units / modules that are not closely related to solving the technical problems raised by this application. This does not mean that other units / modules do not exist in the above-mentioned device embodiments.
[0263] It should be noted that in the examples and description of this patent, relational terms such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "including a" does not exclude the presence of other identical elements in the process, method, article or device that includes the element.
[0264] Although the present application has been shown and described with reference to certain preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the application.
Claims
1. A distributed call conflict handling method, applied to a system including a first electronic device and a second electronic device, wherein: The first electronic device and the second electronic device are in near-field connection, the first electronic device is a device with a phone call function, and the first electronic device has a first SIM card. A call conflict scenario occurs when the electronic device establishes a call connection with a remote calling device and then receives a new incoming call event or generates a new outgoing call event. The method includes: The first electronic device receives an incoming call event from a caller, and obtains an incoming call SIM card identifier in the incoming call event; If the SIM card indicated by the incoming call SIM card identifier is a first SIM card, and the status identifier of the first SIM card indicates that the first SIM card is occupied, and the status identifier of the second electronic device indicates that the second electronic device is occupied, the first electronic device sends the incoming call event to the second electronic device, wherein the status identifier of the first SIM card indicates that the first SIM card is occupied, and the status identifier of the second electronic device indicates that the second electronic device is occupied, indicating that the second electronic device establishes a call connection with the remote calling device through the first SIM card; The second electronic device outputs a prompt of incoming call conflict.
2. The method according to claim 1, characterized in that The method further comprises: If the SIM card indicated by the incoming call SIM card identifier is the first SIM card, and the status identifier of the first SIM card indicates that the first SIM card is occupied, and the status identifier of the first electronic device indicates that the first electronic device is occupied, the first electronic device outputs a prompt of incoming call conflict.
3. The method according to claim 1, characterized in that The system further includes a third electronic device, the third electronic device being a device having a modulation and demodulation function, the first electronic device further including a second SIM card, and the method further including: If the SIM card indicated by the incoming call SIM card identifier is the second SIM card, and the status identifier of the first SIM card indicates that the first SIM card is occupied, and the status identifier of the second electronic device indicates that the second electronic device is occupied, the first electronic device sends the data of the second SIM card to a third electronic device, and sends the incoming call event to the third electronic device; The third electronic device outputs an incoming call prompt using the data of the second SIM card.
4. The method according to claim 1, wherein The first electronic device further comprises a second SIM card, and the method further comprises: If the SIM card indicated by the incoming call SIM card identifier is the second SIM card, and the status identifier of the first SIM card indicates that the first SIM card is occupied, and the status identifier of the first electronic device indicates that the first electronic device is occupied, the first electronic device outputs a prompt of incoming call conflict.
5. The method according to claim 1, wherein The second electronic device is a device having a modulation and demodulation function, the first electronic device further has a second SIM card, and the method further includes: If the SIM card indicated by the incoming call SIM card identifier is a second SIM card, and the status identifier of the first SIM card indicates that the first SIM card is occupied, and the status identifier of the first electronic device indicates that the first electronic device is occupied, the first electronic device sends the data of the second SIM card to the second electronic device, and sends the incoming call event to the second electronic device; The second electronic device outputs an incoming call prompt using the data of the second SIM card.
6. The method according to claim 3 or 5, characterized in that The method further comprises: If the SIM card indicated by the incoming call SIM card identifier is the second SIM card, and the status identifier of the first SIM card indicates that the first SIM card is occupied, the first electronic device displays a new incoming call notification in the status bar and generates a missed call record for the incoming call event.
7. The method according to any one of claims 1 to 5, characterized in that The method further comprises: The second electronic device sends an outgoing call event to the first electronic device; The first electronic device receives the outgoing call event and obtains the outgoing SIM card identifier in the outgoing call event; If the SIM card indicated by the outgoing SIM card identifier is a first SIM card, and the state identifier of the first SIM card indicates that the first SIM card is occupied, the first electronic device sends state information to the second electronic device, wherein the state information includes that the first SIM card is in a call state; The second electronic device outputs a prompt indicating power failure based on the status information.
8. The method according to any one of claims 1 to 5, characterized in that The second electronic device is an electronic device having a modulation and demodulation function, the first electronic device further has a second SIM card, and the method further includes: The first electronic device sends the data of the second SIM card to the second electronic device; The second electronic device sends an outgoing call event to another device using the data of the second SIM card.
9. The method according to claim 8, characterized in that The method further comprises: The second electronic device sends outgoing call information of the outgoing call event to the first electronic device; The first electronic device generates a call record for the second SIM card based on the outgoing call information.
10. The method according to any one of claims 1 to 5, characterized in that The first electronic device includes a first distributed framework, and the second electronic device includes a second distributed framework; The first electronic device communicates with the second distributed framework of the second electronic device through the first distributed framework, so that the first electronic device and the second electronic device synchronously receive the incoming call event of the caller.
11. A distributed call conflict handling method, applied to a first electronic device, wherein the first electronic device and a second electronic device belong to the same system, the first electronic device is a device with a phone call function, and the first electronic device has a first SIM card. The call conflict scenario occurs when the electronic device establishes a call connection with a remote calling device and then receives a new incoming call event or generates a new outgoing call event, characterized in that: The method comprises: The first electronic device receives an incoming call event from a caller, and obtains an incoming call SIM card identifier in the incoming call event; If the SIM card indicated by the incoming call SIM card identifier is a first SIM card, and the status identifier of the first SIM card indicates that the first SIM card is occupied, and the status identifier of the second electronic device indicates that the second electronic device is occupied, the first electronic device sends the incoming call event to the second electronic device, so that the second electronic device outputs a prompt of the incoming call conflict, wherein the status identifier of the first SIM card indicates that the first SIM card is occupied, and the status identifier of the second electronic device indicates that the second electronic device is occupied, indicating that the second electronic device establishes a call connection with the remote calling device through the first SIM card.
12. The method according to claim 11, characterized in that The method further comprises: If the SIM card indicated by the incoming call SIM card identifier is the first SIM card, and the status identifier of the first SIM card indicates that the first SIM card is occupied, and the status identifier of the first electronic device indicates that the first electronic device is occupied, the first electronic device outputs a prompt of incoming call conflict.
13. The method according to claim 11, characterized in that The system further includes a third electronic device, the third electronic device being a device having a modulation and demodulation function, the first electronic device further including a second SIM card, and the method further including: If the SIM card indicated by the incoming call SIM card identifier is the second SIM card, and the status identifier of the first SIM card indicates that the first SIM card is occupied, and the status identifier of the second electronic device indicates that the second electronic device is occupied, the first electronic device sends the data of the second SIM card to the third electronic device and sends the incoming call event to the third electronic device, so that the third electronic device uses the data of the second SIM card to output an incoming call prompt.
14. The method according to claim 11, characterized in that The first electronic device further comprises a second SIM card, and the method further comprises: If the SIM card indicated by the incoming call SIM card identifier is the second SIM card, and the status identifier of the first SIM card indicates that the first SIM card is occupied, and the status identifier of the first electronic device indicates that the first electronic device is occupied, the first electronic device outputs a prompt of incoming call conflict.
15. The method according to claim 11, characterized in that The second electronic device is a device having a modulation and demodulation function, the first electronic device further has a second SIM card, and the method further includes: If the SIM card indicated by the incoming call SIM card identifier is a second SIM card, and the status identifier of the first SIM card indicates that the first SIM card is occupied, and the status identifier of the first electronic device indicates that the first electronic device is occupied, the first electronic device sends the data of the second SIM card to the second electronic device and sends the incoming call event to the second electronic device, so that the second electronic device uses the data of the second SIM card to output an incoming call prompt.
16. The method according to claim 13 or 15, characterized in that The method further comprises: If the SIM card indicated by the incoming call SIM card identifier is the second SIM card, and the status identifier of the first SIM card indicates that the first SIM card is occupied, the first electronic device displays a new incoming call notification in the status bar and generates a missed call record for the incoming call event.
17. The method according to any one of claims 11 to 15, characterized in that The method further comprises: The first electronic device receives the outgoing call event sent by the second electronic device, and obtains the outgoing SIM card identifier in the outgoing call event; If the SIM card indicated by the outgoing call SIM card identifier is a first SIM card, and the status identifier of the first SIM card indicates that the first SIM card is occupied, the first electronic device sends status information to the second electronic device, wherein the status information includes that the first SIM card is in a call state, so that the second electronic device outputs a prompt indicating that the outgoing call is invalid based on the status information.
18. The method according to any one of claims 11 to 15, characterized in that: The second electronic device is an electronic device having a modulation and demodulation function, the first electronic device further has a second SIM card, and the method further includes: The first electronic device sends the data of the second SIM card to the second electronic device, so that the second electronic device uses the data of the second SIM card to send an outgoing call event to another device.
19. The method according to claim 18, characterized in that The method further comprises: The first electronic device receives the outgoing call information of the outgoing call event sent by the second electronic device; The first electronic device generates a call record for the second SIM card based on the outgoing call information.
20. A distributed call conflict handling method, applied to a second electronic device, the second electronic device and a first electronic device belonging to the same system, the first electronic device being a device with a phone call function and having a first SIM card, wherein a call conflict scenario occurs when the electronic device establishes a call connection with a remote calling device and then receives a new incoming call event or generates a new outgoing call event, characterized in that: The method comprises: The second electronic device receives an incoming call event sent by the first electronic device, where the incoming call event is an incoming call event received by the first electronic device from a caller, and the SIM card indicated by the incoming call SIM card identifier in the incoming call event is a first SIM card, the status identifier of the first SIM card indicates that the first SIM card is occupied, and the status identifier of the second electronic device indicates that the second electronic device is occupied, wherein the status identifier of the first SIM card indicates that the first SIM card is occupied, and the status identifier of the second electronic device indicates that the second electronic device is occupied, indicating that the second electronic device establishes a call connection with a remote calling device through the first SIM card; The second electronic device outputs a prompt of incoming call conflict.
21. The method according to claim 20, characterized in that The second electronic device is a device having a modulation and demodulation function, the first electronic device further has a second SIM card, and the method further includes: The second electronic device receives the data of the second SIM card sent by the first electronic device, and receives the incoming call event sent by the first electronic device, wherein the incoming call event is an incoming call event received by the first electronic device from a caller, and the SIM card indicated by the incoming call SIM card identifier in the incoming call event is the second SIM card, the status identifier of the first SIM card indicates that the first SIM card is occupied, and the status identifier of the first electronic device indicates that the first electronic device is occupied; The second electronic device outputs an incoming call prompt using the data of the second SIM card.
22. The method according to claim 20 or 21, characterized in that The method further comprises: The second electronic device sends an outgoing call event to the first electronic device, so that the first electronic device sends status information to the second electronic device when the SIM card indicated by the outgoing SIM card identifier in the outgoing call event is the first SIM card and the status identifier of the first SIM card indicates that the first SIM card is occupied, wherein the status information includes that the first SIM card is in a call state; The second electronic device outputs a prompt indicating power failure based on the status information.
23. The method according to claim 20 or 21, characterized in that The second electronic device is an electronic device having a modulation and demodulation function, the first electronic device further has a second SIM card, and the method further includes: The second electronic device receives the data of the second SIM card sent by the first electronic device; The second electronic device sends an outgoing call event to another device using the data of the second SIM card.
24. The method according to claim 23, wherein The method further comprises: The second electronic device sends the outgoing call information of the outgoing call event to the first electronic device, so that the first electronic device generates a call record for the second SIM card based on the outgoing call information.
25. An electronic device, characterized in that: include: a memory for storing instructions to be executed by one or more processors of the device, and A processor is used to execute the instructions so that the electronic device executes the method described in any one of claims 11-19, or so that the electronic device executes the method described in any one of claims 20-24.
26. A distributed call conflict handling system, characterized in that: include; A first electronic device, configured to execute the method according to any one of claims 11 to 19; The second electronic device is configured to execute the method according to any one of claims 20 to 24.
27. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by an electronic device, the electronic device executes the method according to any one of claims 11 to 19 or the method according to any one of claims 20 to 24.
28. A computer program product comprising instructions, characterized in that When the computer program product is run on an electronic device, the electronic device executes the method according to any one of claims 11 to 19 or the method according to any one of claims 20 to 24.
Citation Information
Patent Citations
User reminding method and system
CN105554291A
Voice communication method and related device
CN110191241A