WO2023103462A1 - 分布式通话冲突处理方法、系统、电子设备及存储介质 - Google Patents

分布式通话冲突处理方法、系统、电子设备及存储介质 Download PDF

Info

Publication number
WO2023103462A1
WO2023103462A1 PCT/CN2022/114933 CN2022114933W WO2023103462A1 WO 2023103462 A1 WO2023103462 A1 WO 2023103462A1 CN 2022114933 W CN2022114933 W CN 2022114933W WO 2023103462 A1 WO2023103462 A1 WO 2023103462A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
sim card
incoming call
call
occupied
Prior art date
Application number
PCT/CN2022/114933
Other languages
English (en)
French (fr)
Inventor
孙慧平
张鑫
Original Assignee
荣耀终端有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 荣耀终端有限公司 filed Critical 荣耀终端有限公司
Priority to EP22902895.6A priority Critical patent/EP4346245A1/en
Publication of WO2023103462A1 publication Critical patent/WO2023103462A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/16Communication-related supplementary services, e.g. call-transfer or call-hold
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/006Call diverting means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M19/00Current supply arrangements for telephone systems
    • H04M19/02Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
    • H04M19/04Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/2749Automatic dialling or redialling systems, e.g. on off-hook or redial on busy
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/02Details of telephonic subscriber devices including a Bluetooth interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/04Details of telephonic subscriber devices including near field communication means, e.g. RFID
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/06Details of telephonic subscriber devices including a wireless LAN interface

Definitions

  • the present application relates to the field of electronic technology, and in particular to a distributed call conflict processing method, system, electronic equipment and storage medium.
  • the called party can be multiple electronic devices associated based on a trust ring.
  • the calling party sends an incoming call event to the called party
  • multiple electronic devices can receive the incoming call event at the same time, and an incoming call resonance occurs.
  • users can transfer operator calls between different devices within the near-field range based on the trust ring.
  • an operator's call is transferred between different devices, there will be various call conflict scenarios for the electronic device on the side of the called party, which will affect the user's experience.
  • the present application provides a distributed call conflict handling method, system, electronic device and storage medium, which are used to solve the problem of call conflicts in a distributed call scenario and improve user experience.
  • Some implementations of the present application provide a distributed call conflict handling method.
  • the following describes the present application from various aspects, and the implementation manners and beneficial effects of the following aspects can be referred to each other.
  • 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 phone call function, the first electronic device has a first SIM card, and the method includes: the first electronic device receives an incoming call event from a calling party, and obtains the The incoming call SIM card identification in the incoming call event; if the SIM card indicated by the incoming call SIM card identification is the first SIM card, and the status identification of the first SIM card indicates that the first SIM card is occupied, the second If the state identifier of the electronic device indicates that the second electronic device is occupied, the first electronic device sends the incoming call event to the second electronic device; the second electronic device outputs a prompt of incoming call conflict.
  • the tablet computer when the tablet computer answers an incoming call, it shows that the user's energy is concentrated on the tablet computer, and the tablet computer outputs the prompt of the call conflict without notifying the PC, which can effectively To remind the user of incoming call conflicts, reduce the impact on the use of the PC, and improve the user experience.
  • the method further includes: 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 the second SIM card A SIM card is occupied, and the state identifier of the first electronic device indicates that the first electronic device is occupied, and the first electronic device outputs a prompt of incoming call conflict.
  • the distributed call conflict handling method of the embodiment of the present application in the case that the mobile phone answers an incoming call, shows that the user's energy is concentrated on the mobile phone end, and the reminder of the incoming call conflict is output through the mobile phone without notifying the tablet computer, which can effectively serve as a reminder
  • the purpose of the user's incoming call conflict and reduce the impact on the use of the tablet computer, and improve the user experience.
  • the system further includes a third electronic device, the third electronic device is a device with a modem 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 identification is a second SIM card, and the status identification of the first SIM card indicates that the first SIM card is occupied, the second electronic device The status identifier of the second electronic device indicates that the second electronic device is occupied, then 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 reminder.
  • the tablet computer when the tablet computer answers an incoming call, it shows that the user's energy is concentrated on the tablet computer.
  • the PC outputs a call conflict prompt to remind the user. Purpose.
  • there is no prompt in the call interface of the mobile phone and the notification of the user's new incoming call is displayed in the status bar, and the call record of the missed call is generated, so that the user can find the incoming call of call conflict in time, and improve the user experience.
  • 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 identification 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 for call conflict .
  • the distributed call conflict handling method of the embodiment of the present application in the case that the mobile phone answers an incoming call, shows that the user's energy is concentrated on the mobile phone end, and the reminder of the incoming call conflict is output through the mobile phone without notifying the tablet computer, which can effectively serve as a reminder
  • the purpose of the user's incoming call conflict and reduce the impact on the use of the tablet computer, and improve the user experience.
  • the second electronic device is a device with a modem function
  • the first electronic device also has a second SIM card
  • the method further includes: if the The SIM card indicated by the incoming call SIM card identification is a second SIM card, and the status identification of the first SIM card indicates that the first SIM card is occupied, and the status identification 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 uses the Describe the data of the second SIM card, and output an incoming call reminder.
  • the tablet computer outputs the incoming call conflict Prompt, in order to achieve the purpose of prompting the user.
  • the notification of the user's new incoming call is displayed in the status bar, and the call record of the missed call is generated, so that the user can find the incoming call of the call conflict in time, and improve the user experience.
  • 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 the second SIM card
  • the first electronic device displays a new incoming call notification on the status bar, and generates a missed call record for the incoming call event.
  • 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 obtain the outgoing call SIM card identification in the outgoing call event; if the SIM card indicated by the outgoing call SIM card identification is the first SIM card, and the state identification of the first SIM card indicates 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; the second electronic device based on the status information, Output the prompt that the outgoing call fails.
  • the second electronic device when the mobile phone or tablet computer answers an incoming call, if the second electronic device makes a call, there is a problem of outgoing call conflict, and the second electronic device outputs an outgoing call invalidation
  • the reminder prevents the user of the second electronic device from doing invalid waiting, and also avoids the impact on the call on the mobile phone, thereby improving the user experience.
  • the second electronic device is an electronic device with a modulation and demodulation function
  • the first electronic device also has a second SIM card
  • the method further includes: the The first electronic device sends the data of the second SIM card to the second electronic device; the second electronic device uses the data of the second SIM card to send an outgoing call event to other devices.
  • the data of another SIM card can be sent to a second electronic device (such as a PC), Furthermore, it is realized that the user can use another SIM card to communicate with the remote device, so as to satisfy the user's communication needs to the greatest extent and improve the user's experience.
  • the method further includes: the second electronic device sending the outgoing call information of the outgoing call event to the first electronic device; the first electronic device based on The outgoing call information generates a call record for the second SIM card.
  • the first electronic device includes a first distributed framework
  • the second electronic device includes a second distributed framework
  • the first electronic device uses the first The distributed framework communicates with the second distributed framework of the second electronic device, so that the first electronic device and the second electronic device receive the incoming call event of the calling party synchronously.
  • the present application provides a distributed call conflict handling method, which is applied to a first electronic device, the first electronic device and the second electronic device belong to the same system, and the first electronic device is a phone call function device, the first electronic device has a first SIM card, and the method includes: the first electronic device receives an incoming call event from a calling party, and acquires an incoming call SIM card identifier in the incoming call event; if the incoming call The SIM card indicated by the 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. 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 incoming call conflict.
  • the tablet computer when the tablet computer answers an incoming call, it shows that the user's energy is concentrated on the tablet computer, and the tablet computer outputs the prompt of the call conflict without notifying the PC, which can effectively To remind the user of incoming call conflicts, reduce the impact on the use of the PC, and improve the user experience.
  • the method further includes: if the SIM card indicated by the SIM card identification of the incoming call is the first SIM card, and the status identification of the first SIM card indicates the first SIM card A SIM card is occupied, and the state identifier of the first electronic device indicates that the first electronic device is occupied, and the first electronic device outputs a prompt of incoming call conflict.
  • the distributed call conflict handling method of the embodiment of the present application in the case that the mobile phone answers an incoming call, shows that the user's energy is concentrated on the mobile phone end, and the reminder of the incoming call conflict is output through the mobile phone without notifying the tablet computer, which can effectively serve as a reminder
  • the purpose of the user's incoming call conflict and reduce the impact on the use of the tablet computer, and improve the user experience.
  • the system further includes a third electronic device, the third electronic device is a device with a modem 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 identification is a second SIM card, and the status identification of the first SIM card indicates that the first SIM card is occupied, 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 reminder.
  • the tablet computer when the tablet computer answers an incoming call, it shows that the user's energy is concentrated on the tablet computer.
  • the PC outputs a call conflict prompt to remind the user. Purpose.
  • there is no prompt in the call interface of the mobile phone and the notification of the user's new incoming call is displayed in the status bar, and the call record of the missed call is generated, so that the user can find the incoming call of the call conflict in time, and improve the user experience.
  • 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 identification 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 for call conflict .
  • the distributed call conflict handling method of the embodiment of the present application in the case that the mobile phone answers an incoming call, shows that the user's energy is concentrated on the mobile phone end, and the reminder of the incoming call conflict is output through the mobile phone without notifying the tablet computer, which can effectively serve as a reminder
  • the purpose of the user's incoming call conflict and reduce the impact on the use of the tablet computer, and improve the user experience.
  • the second electronic device is a device with a modem function
  • the first electronic device also has a second SIM card
  • the method further includes: if the The SIM card indicated by the incoming call SIM card identification is a second SIM card, and the status identification of the first SIM card indicates that the first SIM card is occupied, and the status identification 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 Using the data of the second SIM card, an incoming call prompt is output.
  • the tablet computer outputs the incoming call conflict Prompt, in order to achieve the purpose of prompting the user.
  • the notification of the user's new incoming call is displayed in the status bar, and the call record of the missed call is generated, so that the user can find the incoming call of the call conflict in time, and improve the user experience.
  • the method further includes: if the SIM card indicated by the SIM card identification of the incoming call is a second SIM card, and the status identification of the first SIM card indicates the second SIM card When a SIM card is occupied, the first electronic device displays a new incoming call notification on the status bar, and generates a missed call record for the incoming call event.
  • the method further includes: the first electronic device receiving the outgoing call event sent by the second electronic device, and obtaining the outgoing call SIM in the outgoing call event card identification; if the SIM card indicated by the outgoing SIM card identification is the first SIM card, and the status identification of the first SIM card indicates that the first SIM card is occupied, then the first electronic device sends The second electronic device sends state information, wherein the state information includes that the first SIM card is in a call state, so that the second electronic device outputs a reminder that outgoing calls fail based on the state information.
  • the distributed call conflict handling method of the embodiment of the present application when a mobile phone or a tablet computer answers an incoming call, if another second electronic device makes a call, there will be an outgoing call conflict, and the outgoing call output of the second electronic device will fail.
  • the prompt can prevent the user of the second electronic device from doing invalid waiting, and also avoids the impact on the call on the mobile phone terminal, thereby improving the user experience.
  • the second electronic device is an electronic device with a modulation and demodulation function
  • the first electronic device also has a second SIM card
  • the method further includes: the 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 other devices.
  • the data of another SIM card can be sent to a second electronic device (such as a PC), Furthermore, it is realized that the user can use another SIM card to communicate with the remote device, so as to satisfy the user's communication needs to the greatest extent and improve the user's experience.
  • the method further includes: the first electronic device receiving the outgoing call information of the outgoing call event sent by the second electronic device; the first electronic device Based on the outgoing call information, generate a call record for the second SIM card.
  • the first electronic device includes a first distributed framework
  • the second electronic device includes a second distributed framework
  • the first electronic device uses the first The distributed framework communicates with the second distributed framework of the second electronic device, so that the first electronic device and the second electronic device receive the incoming call event of the calling party synchronously.
  • the present application provides a distributed call conflict handling method, which is applied to a second electronic device, the second electronic device belongs to the same system as the first electronic device, and the first electronic device is a phone call function device, the first electronic device has a first SIM card, and the method includes: the second electronic device receives an incoming call event sent by the first electronic device, and the incoming call event is received by the first electronic device An incoming call event from a calling party, and the SIM card indicated by the incoming call SIM card identifier in the incoming call event is a first SIM card, and the status identifier of the first SIM card indicates that the first SIM card is occupied, and the second SIM card is occupied. The status identifier of the second electronic device indicates that the second electronic device is occupied; the second electronic device outputs a prompt of incoming call conflict.
  • the tablet computer when the tablet computer answers an incoming call, it shows that the user's energy is concentrated on the tablet computer, and the tablet computer outputs the prompt of the call conflict without notifying the PC, which can effectively To remind the user of incoming call conflicts, reduce the impact on the use of the PC, and improve the user experience.
  • the second electronic device is a device with a modem function
  • the first electronic device also has a second SIM card
  • the method further includes: the first 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, and the incoming call event is received by the first electronic device from An incoming call event of the calling party, and the SIM card indicated by the incoming call SIM card identifier in the incoming call event is a second SIM card, the status identifier of the first SIM card indicates that the first SIM card is occupied, and the first SIM card is occupied. The status identifier of the electronic device indicates that the first electronic device is occupied; the second electronic device uses the data of the second SIM card to output an incoming call prompt.
  • the tablet computer outputs the incoming call conflict Prompt, in order to achieve the purpose of prompting the user.
  • the notification of the user's new incoming call is displayed in the status bar, and the call record of the missed call is generated, so that the user can find the incoming call of the call conflict in time, and improve the user experience.
  • the method further includes: the second electronic device sending an outgoing call event to the first electronic device, so that the first electronic device If the SIM card indicated by the outgoing SIM card identifier in the event is the first SIM card, and the status identifier of the first SIM card indicates that the first SIM card is occupied, send the status to the second electronic device information, wherein the state information includes that the first SIM card is in a call state; and the second electronic device outputs a reminder that outgoing calls fail based on the state information.
  • the mobile phone or tablet computer answers an incoming call
  • the second electronic device makes a call
  • there will be an outgoing call conflict and other second electronic devices will fail to output outgoing calls
  • the prompt can prevent the user of the second electronic device from doing invalid waiting, and also avoids the impact on the call on the mobile phone terminal, thereby improving the user experience.
  • the second electronic device is an electronic device with a modulation and demodulation function
  • the first electronic device also has a second SIM card
  • the method further includes: the The second electronic device receives the data of the second SIM card sent by the first electronic device; the second electronic device uses the data of the second SIM card to send an outgoing call event to other devices.
  • the data of another SIM card can be sent to a second electronic device (such as a PC), Furthermore, it is realized that the user can use another SIM card to communicate with the remote device, so as to satisfy the user's communication needs to the greatest extent and improve the user's experience.
  • the method further includes: the second electronic device sending the outgoing call information of the outgoing call event to the first electronic device, so that the first electronic device The device generates a call record for the second SIM card based on the outgoing call information.
  • the present application provides a distributed call conflict handling system, including;
  • a first electronic device configured to execute any one of the methods in the embodiments of the second aspect above;
  • the second electronic device is configured to execute any method in the embodiments of the third aspect above.
  • the present application provides an electronic device, including:
  • memory to store instructions for execution by one or more processors of the device
  • the processor is configured to execute an instruction, so that the electronic device executes any method in the embodiments of the second aspect above or any method in the embodiments of the third aspect above.
  • the present application provides a computer-readable storage medium.
  • the computer-readable storage medium stores a computer program.
  • the computer program When the computer program is run by an electronic device, the electronic device executes any method in the embodiment of the second aspect above or the above-mentioned Any method in the embodiment of the third aspect.
  • the present application provides a computer program product containing instructions, when the computer program product is run on an electronic device, the electronic device is made to execute any method in the above-mentioned embodiments of the second aspect or the above-mentioned embodiments of the third aspect any of the methods.
  • FIG. 1a is a scene diagram of a distributed architecture of a calling system according to an embodiment of the present application
  • FIG. 1b is another scene diagram of the distributed architecture of the calling system according to an embodiment of the present application.
  • Figure 2a is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • Fig. 2b is a software structural block diagram of an electronic device according to an embodiment of the present application.
  • FIG. 3 is a scene diagram of a trust ring in an embodiment of the present application.
  • FIG. 4a1 is an interactive flowchart of a distributed call conflict handling method in a scenario according to an embodiment of the present application
  • Fig. 4a2 is a detailed interaction flowchart in the scenario shown in Fig. 4a1;
  • Fig. 4b1-Fig. 4e are the interface schematic diagrams of call conflict handling of mobile phone, tablet computer and PC based on the interactive flowchart shown in Fig. 4a1 and Fig. 4a2;
  • FIG. 5a1 is an interaction flowchart of a distributed call conflict handling method in another scenario of an embodiment of the present application.
  • Fig. 5a2 is a detailed interaction flowchart in the scenario shown in Fig. 5a1;
  • Fig. 5b1-Fig. 5e are the interface diagrams of the call conflict processing of mobile phone, tablet computer and PC based on the interaction flowchart shown in Fig. 5a1 and Fig. 5a2;
  • FIG. 6 is a schematic flow diagram of a second electronic device obtaining data of a second SIM card according to an embodiment of the present application
  • FIG. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a distributed call conflict handling system according to an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of a system on chip according to an embodiment of the present application.
  • FIG. 1a schematically shows a scene diagram of a distributed architecture of a calling system according to an embodiment of the present application.
  • the scene diagram includes a calling device 101 and a called device, wherein the called device may include at least one first electronic device and at least one second electronic device capable of implementing mobile data communication with the calling device 101 .
  • the first electronic device is an electronic device with a telephone call function.
  • the telephone call function may be a mobile data call capability realized through a base station, such as making and receiving calls, or an IP call realized through a cellular network Capabilities, such as WeChat voice, etc.
  • the mobile phone 102 and the tablet computer 103 shown in Figure 1a, the mobile phone 102 and the tablet computer 103 are near-field connections, for example, the mobile phone 102 and the tablet computer 103 are in a trust ring, wherein the near-field connection can be a network connection in the same local area network , or a Bluetooth connection, etc.
  • the mobile phone 102 and the tablet computer 103 may be devices with the same account, so as to improve the security of the call.
  • the mobile phone 102 in the called party device detects whether there is a call conflict, and if there is no call conflict, the mobile phone 102 and the tablet computer 103 can simultaneously output incoming calls The prompt of the event (that is, to realize the resonance of the incoming call).
  • the mobile phone can be a single subscriber identity module (Subscriber Identity Module, SIM) card mobile phone or a dual SIM card mobile phone
  • the dual SIM card mobile phone can be a mobile phone that supports dual calls, or a mobile phone that does not support dual calls.
  • Supporting dual calls means that when the mobile phone makes a call through one SIM card, it will not affect the call connection of the other SIM card. Based on this, the call conflict may include various scenarios as shown in Table 1.
  • the mobile phone 102 receiving the incoming call signal determines whether any of the above-mentioned call conflict scenarios exists, and if any of the above-mentioned call conflict scenarios exists, executes corresponding call conflict processing.
  • the mobile phone 102 outputs prompts for call conflicts, such as ringing, vibration, interface prompts, etc.
  • the interface prompts may include displaying the caller number, caller name, answer button, and/or hang up button etc.
  • the user can understand the relevant information of the call conflict, and then perform related operations. For example, the user can click the answer button, and the mobile phone 102 answers the new incoming call, or the user can click the hang up button, and the mobile phone 102 hangs up the new incoming call.
  • incoming calls When the mobile phone 102 answers a new incoming call, the old incoming call can be hung up or kept on hold, which is not limited.
  • answering an incoming call by the mobile phone 102 is used to indicate that the mobile phone 102 communicates with the calling party, and hanging up the incoming call by the mobile phone 102 is used to indicate that the mobile phone 102 has cut off the communication with the calling party.
  • the old incoming call can keep the call or hang up the call.
  • the mobile phone 102 will not send an incoming call event to the tablet computer 103 and other devices connected in the near field, that is, the tablet computer 103 and other devices do not perform incoming call resonance with the mobile phone 102, so as to reduce the impact on the tablet computer 103. Influence on the normal use of other devices connected with the near field.
  • the tablet computer 103 If there is the above scenario 2, that is, the user dials 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 send the call state of the SIM card to the tablet computer 103; the tablet computer 103 determines that the SIM card is in the call state based on the received information, closes the outgoing call interface, and outputs a prompt for outgoing call failure, such as ringing, vibration, interface Prompt, etc., to remind the user that the new call cannot be opened, and the outgoing call is invalid.
  • a prompt for outgoing call failure such as ringing, vibration, interface Prompt, etc.
  • the call-out interface is an interface for making a call to call a remote device, and the call-out interface may display a number for making a call, a user name for making a call, and/or an end button.
  • the tablet computer 103 and the mobile phone 102 are used as calling devices, and the remote device is used as a called device.
  • the above outgoing call event is an incoming call event.
  • scenario 4 If the above-mentioned scenario 4 exists, then for a mobile phone that supports dual-talk, the mobile phone 102 outputs a prompt of incoming call conflict. In the case of scenario 4, 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 and the mobile phone 102 do not perform incoming call resonance, so as to reduce the impact on the tablet computer 103 and the near field connection. impact on the normal use of other equipment.
  • Tablet PC 103 is based on the data of the SIM card of new incoming call, utilizes idle SIM card slot (actually utilizes idle modulation and demodulation and radio frequency resource), registers operator's network, makes Tablet PC 103 have new The call capability of the SIM card of the incoming call.
  • the tablet computer 103 with the call capability of the SIM card of the new incoming call outputs incoming call prompts, such as ringing, vibration, interface prompts, pop-up windows, etc., based on the incoming call event.
  • 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.
  • the mobile phone 102 transmits the data of the SIM card of the new incoming call to the tablet computer 103, and the tablet computer 103 utilizes the idle SIM card slot based on the data of the SIM card of the new incoming call to register with the carrier network, so that The tablet computer 103 has the call capability of the SIM card of the new incoming call.
  • the tablet computer 103 with the call capability of the SIM card of the new incoming call uses the SIM card of the new incoming call by default to directly send an outgoing call event to the remote called device, and communicate with the remote called device.
  • the mobile phone 102 sends an incoming call event to the tablet computer 103 to realize the resonance of the incoming call between the mobile phone 102 and the tablet computer 103 .
  • the mobile phone 102 will not send incoming call events to other devices connected in the near field, that is, other devices and the mobile phone 102 will not resonate for incoming calls, so as to avoid affecting the normal use of other devices connected in the near field.
  • the tablet computer 103 receives an incoming call event, determines that the above-mentioned scene 6 or scene 8 exists, and outputs prompts of incoming call conflicts, such as ringing, vibration, and interface prompts.
  • 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; the other device is based on The received information determines that the SIM card is in a call state, closes the outgoing call interface, and outputs an outgoing call failure prompt, such as ringing, vibration, interface prompts, etc., to remind the user that a new call cannot be opened and the outgoing call is invalid.
  • an outgoing call failure prompt such as ringing, vibration, interface prompts, etc.
  • the mobile phone 102 sends an incoming call event to other devices connected in the near field, and transfers the data of the SIM card of the new incoming call to the other device, that is, virtualizes the SIM card of the new incoming call to the other device.
  • the other device uses the idle SIM card slot (actually uses idle modem and radio frequency resources) to register with the operator network, so that the other device has the SIM card information of the new incoming call. call ability.
  • the other device having 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, vibrating, popping up a window, etc., to inform the user that there is a new incoming call.
  • the mobile phone 102 may also display a new incoming call notification on the status bar, and generate a missed call record for the incoming call event.
  • the mobile phone 102 transmits the data of the SIM card of the new incoming call to other devices connected in the near field. Based on the data of the SIM card of the new incoming call, the other device uses the free SIM card slot to register the operator network, so that the other device has the call capability of the SIM card of the new incoming call.
  • This other device with the call capability of the SIM card of the new incoming call utilizes the SIM card of the new incoming call by default to directly send an outgoing call event to the remote called device, and the remote called device communicates.
  • the equipment registered with the carrier network with a free SIM card slot has a modem function.
  • the status identifier of the SIM card, the status identifier of the mobile phone 102 and the status identifier of the tablet computer 103 may be recorded in the mobile phone 102 .
  • the status identifier of the SIM card and the status identifier of the tablet computer 103 can be recorded in the tablet computer 103 .
  • the above status identifier indicates whether the corresponding device is occupied, and then determines the device that establishes a call connection with the remote calling device.
  • the status identifier of the SIM card 1 indicates that the SIM card 1 is occupied
  • the status identifier of the mobile phone 102 indicates that the mobile phone 102 is occupied, which means that the mobile phone 102 establishes a call connection with the remote calling device through the SIM card 1
  • the status identifier of the SIM card 1 indicates that the SIM card 1 is occupied
  • the status identifier of the tablet computer 103 indicates that the tablet computer 103 is occupied, which means that the tablet computer 103 establishes a call connection with the remote calling device through the SIM card 1 .
  • the call conflict scenario can be understood as, when the mobile phone 102 or the tablet computer 103 establishes a call connection with the remote calling device through the SIM card, a new incoming call event is received, or a new outgoing call event is generated .
  • the mobile phone is used as the first electronic device
  • the tablet computer is used as the second electronic device for illustration.
  • the first electronic device may also be a tablet computer, a notebook computer, or a wearable electronic device, such as a wristwatch, with mobile data call capabilities.
  • the second electronic device may also be an electronic device with mobile data call capability, or an electronic device without mobile data call capability, but capable of communicating with the first electronic device through network data, for example, a mobile phone, a tablet computer, a notebook computer, Super mobile personal computer, personal digital assistant (Personal Digital Assistant, PDA), TV, or wearable electronic devices, such as watches, wristbands, etc.
  • PDA Personal Digital Assistant
  • the incoming call resonance can be sent by the server to the mobile phone and the tablet computer at the same time to realize the incoming call resonance of the mobile phone and the tablet computer.
  • FIG. 1b schematically shows another scene diagram of the distributed architecture of the calling system according to the embodiment of the present application.
  • the server 106 can send an incoming call signal to the mobile phone 104, and the mobile phone 104 and the watch 105 can be connected wirelessly, such as Bluetooth. .
  • the process of handling the call conflict between the mobile phone and the watch is as described above, and will not be described here.
  • the distributed call conflict handling method according to the embodiment of the present application will be described below in conjunction with the specific structures of the first electronic device and the second electronic device.
  • FIG. 2a shows a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • the electronic device shown in FIG. 2a can be used as a first electronic device or as a second electronic device.
  • the electronic equipment shown in Figure 2a can include processor 110, external memory interface 120, internal memory 121, universal serial bus (Universal Serial Bus, USB) interface 130, charging management module 140, power management module 141, battery 142, antenna 1.
  • processor 110 external memory interface 120
  • internal memory 121 internal memory 121
  • USB Universal Serial Bus
  • Antenna 2 mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone interface 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, A display screen 194, and a Subscriber Identity Module (Subscriber Identity Module, SIM) card interface 195, etc.
  • SIM Subscriber Identity Module
  • 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 environmental An optical sensor 180L, a bone conduction sensor 180M, and the like.
  • the structure shown in the embodiment of the present application does not constitute a specific limitation on the electronic device.
  • the electronic device may include more or fewer components than shown in the illustrations, or combine certain components, or separate certain components, or arrange different components.
  • the illustrated components may be realized in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (Application Processor, AP), a modem processor (modem), a graphics processing unit (Graphics Processing Unit, GPU), an image Signal processor (Image Signal Processor, ISP), controller, video codec, digital signal processor (Digital Signal Processor, DSP), baseband processor, and/or neural network processor (Neural-network Processing Unit, NPU )wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor Application Processor, AP
  • modem modem
  • GPU Graphics Processing Unit
  • ISP image Signal Processor
  • controller video codec
  • digital signal processor Digital Signal Processor
  • baseband processor baseband processor
  • neural network processor Neural-network Processing Unit, NPU )wait.
  • different processing units may be independent devices, or may be integrated in one or more processors.
  • the processor 110 can generate an operation control signal according to the instruction opcode and the timing signal, and complete the control of fetching and executing the instruction.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is a cache memory.
  • the memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be called directly from the memory, avoiding repeated access, reducing the waiting time of the processor 110, and thus improving the efficiency of the system.
  • processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit (Inter-Integrated Circuit, I2C) interface, an integrated circuit built-in audio (Inter-Integrated Circuit Sound, I2S) interface, a pulse code modulation (Pulse Code Modulation, PCM) interface, a universal asynchronous transmitter (Universal Asynchronous Receiver/Transmitter, UART) interface, Mobile Industry Processor Interface (MIPI), General-Purpose Input/Output (GPIO) interface, and Subscriber Identity Module (SIM) interface.
  • I2C Inter-Integrated Circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM Pulse Code Modulation
  • UART Universal Asynchronous Receiver/Transmitter
  • MIPI Mobile Industry Processor Interface
  • GPIO General-Purpose Input/Output
  • SIM Subscriber Identity Module
  • the I2C interface is a bidirectional synchronous serial bus, including a serial data line (Serial Data Line, SDA) and a serial clock line (Derail Clock Line, SCL).
  • processor 110 may include multiple sets of I2C interfaces.
  • the processor 110 may be respectively coupled to the touch sensor 180K, the charger, the flashlight, the camera 193 and the like through different I2C interfaces.
  • the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 and the touch sensor 180K communicate through the I2C interface to realize the touch function of the electronic device.
  • the I2S interface can be used for audio communication.
  • processor 110 may include multiple sets of I2S interfaces.
  • the processor 110 may be coupled to the audio module 170 through an I2S interface to implement communication between the processor 110 and the audio module 170 .
  • the audio module 170 can transmit audio signals to the wireless communication module 160 through the I2S interface, so as to realize the function of answering calls through the Bluetooth headset.
  • the PCM interface can also be used for audio communication, sampling, quantizing and encoding the analog signal.
  • the audio module 170 and the wireless communication module 160 may be coupled through a PCM 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 through the wireless communication module 160 .
  • the audio module 170 can also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
  • the UART interface is a universal serial data bus used for asynchronous communication.
  • the bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication.
  • a UART interface is generally used to connect the processor 110 and the wireless communication module 160 .
  • the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to realize the Bluetooth function.
  • the audio module 170 can transmit audio signals to the wireless communication module 160 through the UART interface, so as to realize the function of obtaining downstream audio stream data through the electronic device connected with Bluetooth.
  • the MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193 .
  • the MIPI interface includes the camera serial interface (Camera Serial Interface, CSI), and the display serial interface (Display Serial Interface, DSI).
  • the processor 110 communicates with the camera 193 through the CSI interface to realize the shooting function of the electronic device 100 .
  • the processor 110 communicates with the display screen 194 through the DSI interface to realize the display function of the electronic device.
  • the interface connection relationship between the modules shown in the embodiment of the present application is only a schematic illustration, and does not constitute a structural limitation of the electronic device.
  • the electronic device may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
  • the wireless communication function of the electronic device can be realized by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
  • 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 multiplexed to improve the utilization of the antennas.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 may provide a wireless communication solution including 2G/3G/4G/5G applied on the first electronic device. In some embodiments, the mobile communication module 150 can be used to realize the transmission of call data between two electronic devices. The party device transmits uplink audio stream data.
  • the wireless communication module 160 can provide wireless local area network (Wireless Local Area Networks, WLAN) (such as wireless fidelity (Wireless Fidelity, Wi-Fi) network), bluetooth (Bluetooth, BT), global navigation satellite system, etc. (Global Navigation Satellite System, GNSS), frequency modulation (Frequency Modulation, FM), near field communication technology (Near Field Communication, NFC), and infrared technology (infrared, IR) and other wireless communication solutions.
  • WLAN wireless Local Area Networks
  • WLAN wireless Local Area Networks
  • WLAN wireless local Area Networks
  • WLAN wireless local area network
  • WLAN such as wireless fidelity (Wireless Fidelity, Wi-Fi) network
  • Bluetooth Bluetooth, BT
  • global navigation satellite system etc.
  • GNSS Global Navigation Satellite System, GNSS
  • frequency modulation Frequency Modulation, FM
  • NFC Near Field Communication
  • infrared technology infrared, IR
  • 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.
  • the electronic device can realize a local area network connection with another electronic device through the wireless communication module 160 .
  • Wireless communication technologies can include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), broadband 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, etc.
  • GNSS can include Global Positioning System (Global Positioning System, GPS), Global Navigation Satellite System (Global Navigation Satellite System, GLONASS), Beidou Navigation Satellite System (Beidou Navigation Satellite System, BDS), Quasi-Zenith Satellite System (Quasi-Zenith) Satellite System, QZSS), and/or Satellite Based Augmentation System (Satellite Based Augmentation System, SBAS), etc.
  • Global Positioning System Global Positioning System, GPS
  • Global Navigation Satellite System Global Navigation Satellite System
  • GLONASS Global Navigation Satellite System
  • Beidou Navigation Satellite System Beidou Navigation Satellite System
  • BDS Beidou Navigation Satellite System
  • Quasi-Zenith Satellite System Quasi-Zenith Satellite System
  • QZSS Satellite Based Augmentation System
  • SBAS Satellite Based Augmentation System
  • the display screen 194 is used to display images, videos and the like.
  • the display screen 194 includes a display panel.
  • the display panel can adopt liquid crystal display (Liquid Crystal Display, LCD), organic light-emitting diode (Organic Light-Emitting Diode, OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (Active-Matrix Organic Light Emitting Diode, AMOLED), flexible light-emitting diode (Flex Light-Emitting Diode, FLED), MiniLED, MicroLED, Micro-OLED, and quantum dot light-emitting diode (Quantum dot Light Emitting Diode, QLED), etc.
  • the electronic device may include 1 or N display screens 194, where N is a positive integer greater than 1.
  • 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 according to the interface content displayed on the display screen. .
  • the external memory interface 120 can be used to connect an external memory card, such as a Micro secure digital (Secure Digital Memory, SD) card, to realize the expansion of the storage capacity of the electronic device.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, save files such as music, video, recording files, etc. in the external memory card.
  • the internal memory 121 may be used to store computer-executable program codes including instructions.
  • the internal memory 121 may include an area for storing programs and an area for storing data.
  • the storage program area can store the operating system, and at least one application required by the function (such as sound playing function, image playing function and recording function, etc.) and the like.
  • the storage data area can store data created during use of the electronic device (such as uplink audio data, downlink audio data, and phonebook, etc.).
  • 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 magnetic disk storage device, a flash memory device, a universal flash memory (Universal Flash Storage, UFS), and the like.
  • the processor 110 executes various functional applications and data processing of the electronic device by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor 110 .
  • the electronic device can implement call conflict handling functions and the like through the audio module 170 , the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor.
  • the audio module 170 is used for converting digital audio information into an analog audio signal for output, and also for converting an analog audio signal into a digital audio signal for input.
  • the audio module 170 may also be used to encode and decode audio signals.
  • the audio module 170 may be set in the processor 110 , or some functional modules of the audio module 170 may be set in the processor 110 .
  • Receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
  • the electronic device answers a phone call or voice message, the voice transmitted by the calling device can be heard through the receiver 170B.
  • the microphone 170C also called “microphone” or “microphone” is used to convert sound signals into audio electrical signals.
  • the user can approach the microphone 170C to make a sound through the human mouth, and input the sound signal into the microphone 170C to realize the collection of upstream audio stream data.
  • the pressure sensor 180A is used to sense the pressure signal and convert the pressure signal into an electrical signal.
  • pressure sensor 180A may be disposed in display screen 194 .
  • the function of manually answering the call can be realized, and when the user clicks and presses the hang-up button on the display screen 194, the function of manually hanging up the call can be realized.
  • the touch sensor 180K is also called “touch device”.
  • the touch sensor 180K may be disposed in the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”.
  • the touch sensor 180K is used to detect a touch operation on or near it.
  • the touch sensor 180K can transmit the detected touch operation to the application processor to determine the type of the touch event, and can provide a visual output related to the touch operation through the display screen 194 .
  • the touch sensor 180K may also be disposed on the surface of the electronic device, which is different from the position of the display screen 194 .
  • the motor 191 can generate a vibrating reminder.
  • the 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, the motor 191 generates vibration to remind the user that there is a call to answer.
  • FIG. 2b shows a software structural block diagram of an electronic device according to an embodiment of the present application.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate through software interfaces.
  • the Android system is divided into four layers, which are application layer, application framework layer, Android Runtime (Android Runtime) and system library, and kernel layer respectively from top to bottom.
  • the Android system is divided into five layers, which are application program layer, application program framework layer, Android Runtime (Android Runtime) and system library, hardware abstraction layer and kernel layer respectively from top to bottom.
  • FIG. 2b is only illustrated by taking the layered architecture including the application program layer, the application program framework layer, the hardware abstraction layer and the kernel layer as an example, and does not play a limiting role.
  • the application layer can consist of a series of application packages.
  • the application layer may include call applications and the like.
  • application programs such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, and recording may also be included.
  • the user can obtain the call interface during the call through the call application program, and realize the logical operation of the call process.
  • the application framework layer provides an application programming interface (Application Programming Interface, API) and a programming framework for applications in the application layer.
  • API Application Programming Interface
  • the application framework layer includes some predefined functions.
  • the application framework layer may include a communication protocol framework, a rendering module, a distributed framework, an audio framework, and a file management framework.
  • the communication protocol framework belongs to a part of the phone manager, and is used to provide communication functions of electronic devices, such as management of call status (including answering and hanging up, etc.).
  • the drawing and rendering module is part of the video system, including visual controls, such as controls for displaying text and controls for displaying pictures.
  • Video systems can be used to build applications.
  • a display interface can consist of one or more views.
  • the call conflict prompt interface during a call may include a view for displaying text and a view for displaying pictures.
  • the distributed framework is used to realize data synchronization between devices in a local area network. For example, synchronizing incoming call signals, making two devices in the LAN resonate for incoming calls, and synchronizing recording files, etc.
  • Audio frameworks can belong to content providers, which are used to store and retrieve data and make these data accessible to applications.
  • the data may include video, images, audio, calls made and received, and the like.
  • the file management framework is part of the resource manager and is used to provide various resources for applications, such as localized strings, icons, pictures, layout files, recording files, video files, and so on.
  • Android Runtime includes core library and virtual machine. Android Runtime is responsible for the scheduling and management of the Android system.
  • the core library consists of two parts: one part is the function function that the java language needs to call, and the other part is the core library of the Android system.
  • the application layer and the application framework layer run in virtual machines.
  • the virtual machine executes the java files of the application program layer and the application program framework layer as binary files.
  • the virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
  • the hardware abstraction layer is an interface layer between the operating system kernel and the hardware circuit, which is used to abstract the hardware and provide a virtual hardware platform for the operating system.
  • 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.
  • the kernel layer can include at least Inter Process Communication (IPC), display driver, soft bus, audio driver, and storage driver.
  • IPC Inter Process Communication
  • 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 program layer invokes the communication protocol framework to obtain the incoming call event, and starts the telephone application program
  • the kernel layer starts the display screen 194 by displaying the driver, so that the call interface corresponding to the telephone application layer program is displayed on the display screen 194, and the user can answer the call or hang up the call by the answer or hang up key on the call interface.
  • 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 through a distributed framework, such as electronic device A. Two electronic devices The device realizes incoming call resonance.
  • the mobile phone, tablet computer, and PC can be three electronic devices associated based on a trust ring, as shown in Figure 3.
  • Accounts establish a trust relationship, and on the basis of establishing a trust relationship, consider implementing a distributed call conflict handling method to improve the security of user calls.
  • the scene where there is a call conflict when the mobile phone answers an incoming call further includes: scenarios 1-5 as shown in Table 1, and the scene where there is a call conflict when the tablet computer answers an incoming call further includes: as shown in Table 1 Scenarios 6-10 shown.
  • Scenario 1 There is a call conflict when the mobile phone answers an incoming call.
  • FIG. 4a1 and FIG. 4a2 show an interaction flowchart of a distributed call conflict handling method in a scenario according to an embodiment of the present application.
  • This method is applied to a system composed of mobile phones, tablet computers and PCs, taking mobile phones and tablet computers as examples, as shown in Figure 4a1 and Figure 4a2, including mobile phones, tablet computers and PCs (not shown), wherein the mobile phone includes a display Screen 41, native call service module 42, distributed framework 43 and 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 may also be called a distributed call service module.
  • the flowchart includes S401-S412.
  • Mobile phones, tablets, and PCs are connected to the same Wi-Fi.
  • the mobile phone and the tablet computer establish a near-field connection through the near-field service module 44 and the near-field service module 51 respectively, using the near-field service discovery protocol.
  • the mobile phone establishes a near-field connection with the PC, PC, and tablet.
  • the mobile phone, the tablet computer and the PC may be in a trust ring to improve information security.
  • the mobile phone, tablet computer and PC can also use the same account to access the same Wi-Fi, and when the distance is less than the set distance, a near-field connection is established. This is not limited.
  • the mobile phone can be connected to 1 or N SIM cards through the SIM card interface 195 as shown in FIG.
  • the remote device issues an incoming call signal for the SIM card 1, and the mobile phone can obtain the incoming call signal for the SIM card 1 through the mobile communication module 150 as shown in Figure 2a, and generate an incoming call signal for the SIM card 1 by the native call service module 42 (such as the kernel layer). 1, and then acquired 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 realize the reminder of the incoming call event, such as ringing, Vibration, interface prompts, etc.
  • the mobile phone After the mobile phone and the tablet computer can realize the prompt of the incoming call event at the same time, the mobile phone answers the incoming call event, and realizes that the mobile phone communicates with the remote device through the SIM card 1 .
  • the mobile phone records the status identification of the SIM card 1 as the first identification, and records the status identification of the mobile phone as the second identification, the first identification indicates that the SIM card 1 is occupied, and the second identification indicates that the mobile phone is occupied.
  • the state identifier of the SIM card 1 is the first identifier
  • the SIM card 1 is in a call state.
  • the other remote device sends an incoming call signal for the SIM card 1, and the mobile phone obtains the incoming call signal.
  • the remote device may be a server or a mobile phone.
  • the mobile phone can obtain the incoming call signal for the SIM card 1 through the mobile communication module 150 as shown in Figure 2a, and the original call service module 42 generates an incoming call signal for the SIM card 1. 1 for the incoming call event.
  • the mobile phone outputs an incoming call conflict prompt.
  • the original call service module 42 of the mobile phone detects that the state identification of the SIM card 1 is the first identification, and the status identification of the mobile phone is the second identification, 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 , through the display screen 41 to output the prompt of incoming call conflict, such as starting the incoming call interface, ringing the bell, etc., the distributed framework 43 is not notified, that is, the tablet computer and PC are not notified. At this time, the tablet computer and PC have no incoming call reminder.
  • FIG. 4b1 exemplarily shows an incoming call conflict prompt interface of a mobile phone.
  • (1) in Figure 4b1 is the call interface of the mobile phone. At this time, the mobile phone receives an incoming call all the way, and then a call conflict occurs.
  • (2) in Figure 4b1 is the call conflict prompt interface of the mobile phone.
  • the output process of the call conflict prompt can be Refer to the description of S402-S403. Based on the call conflict prompt output in Figure 4b1, the user can answer or hang up the new incoming call. If the user answers the new incoming call and the old incoming call is on hold, the call interface of the mobile phone can be shown in Figure 4b2.
  • the mobile phone When the mobile phone answers an incoming call, it means that the user's energy is concentrated on the mobile phone, and the mobile phone outputs the reminder of the incoming call conflict without notifying the tablet computer, which can effectively serve the purpose of reminding the user of the incoming call conflict and reduce the impact on the tablet computer. The impact of use and improve the user experience.
  • the tablet computer sends an outgoing call event for the SIM card 1 to the mobile phone.
  • the user inputs a phone number into the tablet computer on the tablet computer, and makes a call through the SIM card 1 .
  • the distributed framework 52 of the tablet computer Based on the user's operation of making a call, the distributed framework 52 of the tablet computer generates an outgoing call event for the SIM card 1, and displays the outgoing call interface through the display screen 53 to prompt the user that the outgoing call is a distributed outgoing call.
  • the distributed framework 52 sends the outgoing call event to the distributed framework 43 through the near field service module 51 and the near field service module 44 .
  • the mobile phone obtains the state information of the SIM card 1, and feeds back the state information of the SIM card 1 to the tablet computer.
  • 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 state information of the SIM card 1 (such as the above-mentioned first identification, the SIM card 1 is in a call state), and passes the near field service module 51 and the near-field service module 44 feed back the state information of the SIM card 1 to the distributed framework 52 .
  • the tablet computer closes the outgoing call interface, and outputs a prompt that the outgoing call fails.
  • 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 fails.
  • FIG. 4c exemplarily shows an interface for prompting failure of outgoing calls of the tablet computer.
  • (1) in Figure 4c is the call interface of the mobile phone.
  • the tablet computer dials a call, and the outgoing call interface of the tablet computer is shown in (2) in Figure 4c.
  • the tablet computer Close the outgoing call interface, and display the outgoing call failure prompt interface, as shown in (3) in FIG. 4c .
  • For the output process of the outgoing call conflict prompt refer to the description of S404-S406.
  • the tablet PC When the mobile phone answers an incoming call, if the tablet PC makes a call, there will be an outgoing call conflict, and the tablet PC will output a prompt that the outgoing call is invalid, so as to avoid invalid waiting for the user on the tablet PC end, and also avoid calls to the mobile phone end impact, improving the user experience.
  • the other remote device sends an incoming call signal for the SIM card 2, and the mobile phone obtains the incoming call signal. Afterwards, if the mobile phone supports the dual-talk function, execute S408, and if the mobile phone does not support the dual-call function, execute S409.
  • the mobile phone can connect one or N SIM cards through the SIM card interface 195 as shown in FIG.
  • the mobile phone can obtain the incoming call signal for the SIM card 2 through the mobile communication module 150 as shown in FIG. 2 a , and the native call service module 42 generates an incoming call event for the SIM card 2 .
  • the mobile phone outputs an incoming call conflict prompt.
  • the original call service module 42 of the mobile phone detects that the mobile phone establishes a call connection with other remote devices through the SIM card 1, and can determine that there is a call conflict, and outputs a prompt for an incoming call conflict through the display screen 41, such as starting an incoming call interface, ringing, etc., without notification
  • the distributed framework 43 does not notify the tablet computer and the PC. At this time, the tablet computer and the PC have no incoming call reminder. For example, as shown in Figure 4b1.
  • the mobile phone When the mobile phone answers an incoming call, it means that the user's energy is concentrated on the mobile phone, and the mobile phone outputs the reminder of the incoming call conflict without notifying the tablet computer, which can effectively serve the purpose of reminding the user of the incoming call conflict and reduce the impact on the tablet computer. The impact of use and improve the user experience.
  • the mobile phone sends the data of the SIM card 2 to the tablet computer, and sends an incoming call event for the SIM card 2 to the tablet computer.
  • the tablet computer has a modem function.
  • the original call service module 42 of the mobile phone detects that the mobile phone establishes a call connection with other remote devices through the SIM card 1, and can determine that there is a call conflict.
  • the data of the card 2 is sent to the distributed framework 43, and the distributed framework 43 feeds back the data of the SIM card 2 and the incoming call event for the SIM card 2 to the distributed framework of the tablet computer through the near field service module 51 and the near field service module 44 52.
  • the distributed framework 52 utilizes the free SIM card slot to register with the carrier network, so that the tablet computer has the call capability of the SIM card 2.
  • 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's new incoming call notification is displayed in the status bar, and the call record of the missed call is generated at the same time.
  • the tablet computer outputs a prompt of incoming call conflict.
  • the distributed framework 52 of the tablet computer controls the display screen 53 to output a prompt interface for incoming call conflicts.
  • FIG. 4d1 exemplarily shows an incoming call conflict prompt interface of a tablet computer, such as outputting a pop-up message of a new incoming call.
  • (1) and (2) in Figure 4d1 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 resolved, the interfaces of the mobile phone and the tablet computer are displayed as shown in Figure 4d1. (3) and (4) shown.
  • the interface of the tablet computer may also output a reminder of the call conflict in the form of pop-up window information, as shown in FIG. 4d2.
  • For the output process of the call conflict prompt refer to the description of S407, S409-S410.
  • the tablet computer When the mobile phone answers an incoming call, it means that the user's energy is concentrated on the mobile phone, but the mobile phone does not support the dual-call function.
  • the tablet computer outputs a call conflict prompt to achieve the purpose of prompting the user.
  • there is no prompt in the call interface of the mobile phone and the notification of the user's new incoming call is displayed in the status bar, and the call record of the missed call is generated, so that the user can find the incoming call of the call conflict in time, and improve the user experience.
  • the mobile phone sends the data of the SIM card 2 to the tablet computer.
  • the tablet computer has a modem function.
  • the mobile phone can execute step S411 after answering a call through the SIM card 1, and send the data of the SIM card 2 to the tablet computer, and can also send the data of the SIM card 2 to the tablet computer after the tablet computer makes a call.
  • Tablets without limitation.
  • the tablet computer sends an outgoing call event for the SIM card 2 to the remote device.
  • the tablet computer registers with the carrier network based on the data of the SIM card 2, which can be understood as generating a native call service module on the tablet computer.
  • the native call service module of the tablet computer directly sends an outgoing call event for the SIM card 2 to the remote device, and starts an outgoing call interface to prompt the user to call.
  • This outgoing call is not a distributed outgoing call.
  • FIG. 4e exemplarily shows the call-out interface of the tablet computer.
  • (1) and (2) in Fig. 4e are respectively the call interface of the mobile phone and the original interface of the tablet computer.
  • the tablet computer makes a call, and the display of the mobile phone interface remains unchanged after the call conflict is processed, as shown in (1) in Fig. 4e
  • the interface display of the tablet computer is as shown in (3) in FIG. 4e.
  • the data of the other SIM card can be sent to the tablet computer, so that the user can use another SIM card to communicate with the remote device to maximize To meet the user's call needs and improve the user experience.
  • Scenario 2 There is a call conflict when the tablet computer answers an incoming call.
  • FIG. 5a1 and FIG. 5a2 show an interaction flowchart of a distributed call conflict handling method in a scenario according to an embodiment of the present application.
  • This method is applied to a system composed of mobile phones, tablet computers and PCs, as shown in Figure 5a1 and Figure 5a2, including mobile phones, tablet computers and PCs, wherein the mobile phone includes a display screen 41, a native call service module 42, and a distributed framework 43 and a near-field service module 44 .
  • the tablet computer/PC includes a near-field service module 51 , a distributed framework 52 and a display screen 53 .
  • the distributed framework may also be called a distributed call service module.
  • the flowchart includes S501-S512.
  • Mobile phones, tablets, and PCs are connected to the same Wi-Fi.
  • the mobile phone and the tablet computer establish a near-field connection through the near-field service module 44 and the near-field service module 51 through the near-field service discovery protocol.
  • the mobile phone establishes a near-field connection with the PC, PC, and tablet.
  • the tablet computer after the mobile phone and the tablet computer can realize the reminder of the incoming call event for the SIM card 1 at the same time, the tablet computer answers the incoming call event, and realizes that the tablet computer communicates with the remote device through the SIM card 1 .
  • the tablet computer will send the event information of answering the incoming call event to the mobile phone, and the mobile phone records the status identification of the SIM card 1 as the first identification based on the received event information, and records the status identification of the tablet computer as the third identification, and the first identification indicates The SIM card 1 is occupied, and the third identifier indicates that the tablet computer is occupied.
  • the other remote device sends an incoming call signal for the SIM card 1, and the mobile phone obtains the incoming call signal.
  • the remote device may be a server or a mobile phone.
  • the mobile phone can obtain the incoming call signal for the SIM card 1 through the mobile communication module 150 as shown in Figure 2a, and generate an incoming call signal for the SIM card 1 by the native call service module 42. 1 for the incoming call event.
  • the mobile phone sends an incoming call event for the SIM card 1 to the tablet computer.
  • the original call service module 42 of the mobile phone does not detect that the mobile phone establishes a call connection with other remote devices through the SIM card 1, and sends the incoming call event for the SIM card 1 to the distributed framework 43 without starting the incoming call interface.
  • Distributed framework 43 detects that the state identification of SIM card 1 is the first identification, and the status identification of tablet computer is the third identification, that is, the tablet computer establishes a call connection with other remote devices through SIM card 1, then through the near field service module 44 and the near-field service module 51, the incoming call event is synchronized to the distributed framework 52 of the tablet computer, and the PC is not notified of the incoming call event.
  • the original call service module 42 of the mobile phone detects that the status identification of the SIM card 1 is the first identification, and the status identification of the tablet computer is the third identification, that is, the tablet computer establishes a call connection with other remote devices through the SIM card 1 , sending the incoming call event for the SIM card 1 to the distributed framework 43 without starting the incoming call interface.
  • 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, and does not notify the PC of the incoming call event.
  • the tablet computer outputs a prompt of incoming call conflict.
  • 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, and outputs a prompt for an incoming call conflict through the display screen 53, such as starting an incoming call interface, ringing a bell, etc., to Alert users to distributed incoming call conflicts.
  • FIG. 5b1 exemplarily shows an incoming call conflict prompt interface of a tablet computer.
  • (1) in Figure 5b1 is the call interface of the tablet computer. At this time, the mobile phone receives another incoming call, and a call conflict occurs.
  • (2) in Figure 5b1 is the call conflict prompt interface of the tablet computer, and the output of the call conflict prompt
  • the process refer to the description of S502-S504.
  • the user can answer or hang up the new incoming call. If the user answers the new incoming call and the old incoming call is on hold, the call interface of the tablet computer can be seen in Fig. 5b2.
  • the tablet computer When the tablet computer answers an incoming call, it means that the user's energy is concentrated on the tablet computer, and the tablet computer outputs the reminder of the incoming call conflict without notifying the PC, which can effectively serve the purpose of reminding the user of the incoming call conflict and reduce the impact on the PC.
  • the use of the impact improve the user experience.
  • the PC sends an outgoing call event for the SIM card 1 to the mobile phone.
  • the user inputs a phone number into the PC on the PC, and makes a call through the SIM card 1 .
  • the distributed framework of the PC Based on the user's operation of making a call, the distributed framework of the PC generates an outgoing call event for the SIM card 1, and displays an outgoing call interface through the display screen of the PC.
  • the distributed framework of the PC sends an outgoing call event to the distributed framework 43 of the mobile phone through the near field service module of the PC and the near field service module 44 .
  • the distributed framework 43 of the mobile phone through the near field service module of the PC and the near field service module 44 .
  • the mobile phone obtains the status information of the SIM card 1, and feeds back the status information of the SIM card 1 to the PC.
  • 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 state information of the SIM card 1 (such as the above-mentioned first identification, the SIM card 1 is in a call state), and passes the near field of the PC.
  • the service module and the near-field service module 44 feed back the state information of the SIM card 1 to the distributed framework of the PC.
  • the PC closes the outgoing call interface, and outputs a prompt that the outgoing call fails.
  • the distributed framework of the PC closes 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 fails.
  • FIG. 5c exemplarily shows an interface for prompting failure of outgoing calls of the PC.
  • (1) in Figure 5c is the call interface of the tablet computer.
  • the PC makes a call
  • the outgoing call interface of the PC is shown in (2) in Figure 5c.
  • the PC closes the incoming call
  • the electrical interface displays an outgoing call failure prompt interface, as shown in (3) in FIG. 5c .
  • For the output process of the outgoing call conflict prompt refer to the description of S505-S507.
  • the other remote device sends an incoming call signal for the SIM card 2, and the mobile phone obtains the incoming call signal.
  • the mobile phone can connect one or N SIM cards through the SIM card interface 195 as shown in FIG.
  • the mobile phone can obtain the incoming call signal for the SIM card 2 through the mobile communication module 150 as shown in FIG. 2 a , and the native call service module 42 generates an incoming call event for the SIM card 2 .
  • the mobile phone sends the data of the SIM card 2 to the PC, and sends an incoming call event for the SIM card 2 to the PC.
  • PC has modulation and demodulation function.
  • the original call service module 42 of the mobile phone does not detect that the mobile phone establishes a call connection with other remote devices, and sends the incoming call event for the SIM card 2 to the distributed framework 43, and the distributed framework 43 detects that the tablet computer passes the SIM card.
  • the distributed framework 43 detects that the tablet computer passes the SIM card. 1 Establish a call connection with the remote device, obtain the data of the SIM card 2, and feed back the data of the SIM card 2 and the incoming call event for the SIM card 2 to the distribution of the PC through the near-field service module and the near-field service module 44 of the PC style frame.
  • the original call service module 42 of the mobile phone detects that the tablet computer establishes a call connection with the remote device through the SIM card 1, and sends the incoming call event for the SIM card 2 to the distributed framework 43, and the distributed framework 43 obtains the SIM card 2
  • the data of the SIM card 2 and the incoming call event for the SIM card 2 are fed back to the distributed framework of the PC.
  • the distributed framework 43 can directly obtain the data of the SIM card 2 from the SIM card 2, or the native call service module 42 can obtain the data of the SIM card 2 from the SIM card 2, and the obtained SIM card 2 to the distributed framework 43, which is not limited.
  • the distributed framework of the PC is based on the data of the SIM card 2, uses the free SIM card slot, and registers with the operator's network, so that the PC has the call capability of the SIM card 2.
  • 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's new incoming call notification is displayed in the status bar, and the call record of the missed call is generated at the same time.
  • the distributed framework of the PC controls the display screen of the PC to output a prompt interface for incoming call conflicts.
  • FIG. 5d1 exemplarily shows an incoming call conflict prompt interface of a PC.
  • (1), (2) and (3) in Figure 5d1 are the call interface of the tablet computer, the original interface of the PC, and the original interface of the mobile phone respectively. At this time, the mobile phone receives another incoming call.
  • the interface display of is shown as (4) and (5) in Figure 5d1.
  • the interface of the tablet computer may also output a prompt of call conflict in the form of pop-up window information, as shown in FIG. 5d2.
  • For the output process of the call conflict prompt refer to the description of S508-S510.
  • the tablet computer When the tablet computer answers an incoming call, it means that the user's energy is concentrated on the tablet computer.
  • the PC outputs a call conflict prompt to achieve the purpose of prompting the user.
  • there is no prompt in the call interface of the mobile phone and the notification of the user's new incoming call is displayed in the status bar, and the call record of the missed call is generated, and the user can find the incoming call of the call conflict in time, and the user experience is improved.
  • the mobile phone sends the data of the SIM card 2 to the PC.
  • PC has modulation and demodulation function.
  • the mobile phone can execute step S511 to send the data of the SIM card 2 to the PC after answering a call through the SIM card 1, or send the data of the SIM card 2 to the PC after the PC makes a call.
  • step S511 to send the data of the SIM card 2 to the PC after answering a call through the SIM card 1, or send the data of the SIM card 2 to the PC after the PC makes a call. This is not limited.
  • the PC sends an outgoing call event for the SIM card 2 to the remote device.
  • the PC registers with the carrier network based on the data of the SIM card 2, which can be understood as generating a native call service module on the PC.
  • the native call service module of the PC directly sends an outgoing call event for the SIM card 2 to the remote device, and establishes a call connection with the remote device.
  • FIG. 5e exemplarily shows a call-out interface of a PC.
  • (1) and (2) in Fig. 5e are respectively the call interface of the tablet computer and the original interface of the PC.
  • the PC dials a call, and the display of the mobile phone interface remains unchanged after the call conflict is handled, as shown in (1) in Fig. 5e
  • the interface display of the PC is as shown in (3) in FIG. 5e.
  • S511-512 For the output process of the call conflict prompt, reference may be made to the description of S511-512.
  • the tablet computer When the tablet computer answers an incoming call through a SIM card, it can send the data of another SIM card to the PC, so that the user can use another SIM card to communicate with the remote device to maximize To meet the user's call needs and improve the user experience.
  • the embodiment of the present application also provides a schematic flow diagram of a second electronic device (such as a tablet computer) obtaining data of a second SIM card (SIM card 2), as shown in FIG. 6 , the flow chart includes S601 -S606.
  • SIM card 2 SIM card 2
  • the mobile phone sends a first request to the tablet computer, where the first request is used to obtain a modem function status.
  • the mobile phone or PC after the mobile phone or PC establishes a call connection with the remote device through the SIM card 1, the mobile phone sends a request to the tablet computer to obtain the status of the modem function, that is, the first request.
  • the tablet computer detects that the modem function is available, and sends a second request to the mobile phone, where the second request is used to obtain data on the SIM card 2 .
  • the mobile phone sends the data of the SIM card 2 to the tablet computer based on the second request.
  • the tablet computer Based on the data of the SIM card 2, the tablet computer uses the free SIM card slot to register with the carrier network, so that the tablet computer has the call capability of the SIM card 2. In this case, the tablet computer can use the call capability of the SIM card 2 to establish a call connection with the remote device.
  • the tablet computer uses the calling capability of the SIM card 2 to make a call.
  • the tablet computer can use the call capability of the SIM card 2 to establish a call connection with the remote device, and then make a call.
  • the tablet computer synchronizes the outgoing call information of the SIM card 2 with the mobile phone.
  • the mobile phone generates a call record of the SIM card 2 based on the outgoing call information.
  • the frequency of the user using the mobile phone is higher than that of the tablet computer, and the outgoing call information of the SIM card 2 is synchronized to the mobile phone to generate a call record, which is convenient for timely reminding the user of the outgoing call information and improving the user experience.
  • the procedure for obtaining the data of the SIM card 2 provided by the embodiment of the present application is applicable to obtaining the data of the SIM card 2 in the above scenarios 4, 5, 9 and 10, and details are not described here.
  • the embodiment of the present application also provides an electronic device, including:
  • memory 701 for storing instructions to be executed by one or more processors of the device, and
  • the processor 702 is configured to execute the methods explained in the above embodiments with reference to FIG. 4a1 , FIG. 4a2 , FIG. 5a1 and FIG. 5a2 .
  • the embodiment of the present application also provides a computer-readable storage medium.
  • the computer-readable storage medium stores a computer program.
  • the processor executes the steps shown in Figure 4a1, Figure 4a2, Figure 5a1 and Figure 5a1 in the above-mentioned embodiments. The method explained in 5a2.
  • the embodiment of the present application also provides a computer program product containing instructions, and when the computer program product is run on the electronic device, the processor is made to execute the methods shown in Fig. 4a1, Fig. 4a2, Fig. 5a1 and Fig. 5a2 in the above embodiment .
  • the embodiment of the present application also provides a distributed call conflict processing system, as shown in FIG. 8 , including;
  • the first electronic device 801 is configured to execute the method executed by the first electronic device in FIG. 4a1 , FIG. 4a2 , FIG. 5a1 , and FIG. 5a2 in the above embodiment;
  • the second electronic device 802 is configured to execute the method executed by the second electronic device in FIG. 4a1 , FIG. 4a2 , FIG. 5a1 , and FIG. 5a2 in the above embodiment.
  • FIG. 9 shows a block diagram of a SoC (System on Chip, system on a chip) according to an embodiment of the present application.
  • the SoC includes: an interconnection unit 905, which is coupled to an application processor 901; a system agent unit 907; a bus controller unit 908; an integrated memory controller unit 904; 902, which may include integrated graphics logic, image processor, audio processor and video processor; static random access memory (Static Random Access Memory, SRAM) unit 903; direct memory access (Direct Memory Access, DMA) unit 906 .
  • coprocessors 902 include special-purpose processors, such as, for example, network or communication processors, compression engines, general-purpose computing on Graphics Processing Units (GPGPU), high-throughput integrated many-core ( Many Integrated Core, MIC) processor, or embedded processor, etc.
  • special-purpose processors such as, for example, network or communication processors, compression engines, general-purpose computing on Graphics Processing Units (GPGPU), high-throughput integrated many-core ( Many Integrated Core, MIC) processor, or embedded processor, etc.
  • One or more computer-readable media for storing data and/or instructions may be included in the SRAM unit 903 .
  • Computer-readable storage media may have instructions stored thereon, and specifically, both temporary and permanent copies of the instructions.
  • the instruction may include: when executed by at least one unit in the processor, causing the SoC to execute the distributed call conflict handling method according to the above-mentioned embodiment, for details, refer to FIG. 4a1, FIG. 4a2, FIG. 5a1 and FIG. 5a2 in the above-mentioned embodiment. The method of explanation will not be repeated here.
  • Embodiments of the mechanisms disclosed in this application may be implemented in hardware, software, firmware, or a combination of these implementation methods.
  • Embodiments of the present application may be implemented as a computer program or program code executed on a programmable system comprising 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.
  • Program code can be applied to input instructions to perform the functions described herein and to generate output information.
  • the output information may be applied to one or more output devices in known manner.
  • a processing system includes any computer having a processor such as, for example, a Digital Signal Processor (DSP), a microcontroller, an Application Specific Integrated Circuit (ASIC), or a microprocessor. system.
  • DSP Digital Signal Processor
  • ASIC Application Specific Integrated Circuit
  • the program code can be implemented in a high-level procedural language or an object-oriented programming language to communicate with the processing system.
  • Program code can also be implemented in assembly or machine language, if desired.
  • the mechanisms described in this application are not limited in scope to any particular programming language. In either case, the language may be a compiled or interpreted language.
  • the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof.
  • the disclosed embodiments can also be implemented as instructions carried by or stored on one or more transitory or non-transitory machine-readable (e.g., computer-readable) storage media, which can be executed by one or more processors read and execute.
  • instructions may be distributed over a network or via other computer-readable storage media.
  • a machine-readable storage medium may include any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computer), including, but not limited to, floppy disks, compact disks, compact discs, Compact Disc Read Only Memory, CD-ROMs), magneto-optical disk, read-only memory (Read Only Memory, ROM), random access memory (RAM), erasable programmable read-only memory (Erasable Programmable Read Only Memory, EPROM), electrically erasable In addition to programmable read-only memory (Electrically Erasable Programmable Read Only Memory, EEPROM), magnetic card or optical card, flash memory, or for using the Internet to transmit information by means of electricity, light, sound or other forms of propagation signals (for example, carrier, infrared Tangible machine-readable storage of digital signals, etc.).
  • a machine-readable storage medium includes any type of machine-readable storage medium suitable for storing or transmitting electronic instructions or information in a form readable by a machine (eg,
  • each unit/module mentioned in each device embodiment of this application is a logical unit/module.
  • a logical unit/module can be a physical unit/module, or a physical unit/module.
  • a part of the module can also be realized with a combination of multiple physical units/modules, the physical implementation of these logical units/modules is not the most important, the combination of functions realized by these logical units/modules is the solution The key to the technical issues raised.
  • the above-mentioned device embodiments of this application do not introduce units/modules that are not closely related to solving the technical problems proposed by this application, which does not mean that the above-mentioned device embodiments do not exist other units/modules.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本申请提供一种分布式通话冲突处理方法、系统、电子设备及存储介质,属于电子技术领域,该方法应用于包括第一电子设备和第二电子设备的系统,其中,第一电子设备与第二电子设备处于近场连接,第一电子设备为具有电话呼叫功能的设备,且第一电子设备具有第一SIM卡,第一电子设备接收来自呼叫方的来电事件并获取来电事件中的来电SIM卡标识;若来电SIM卡标识指示的SIM卡为第一SIM卡,且第一SIM卡的状态标识指示第一SIM卡被占用,第二电子设备的状态标识为指示第二电子设备被占用,则第一电子设备向第二电子设备发送来电事件;第二电子设备输出来电冲突的提示,以便于实现分布式通话冲突提示,提高用户的使用体验。

Description

分布式通话冲突处理方法、系统、电子设备及存储介质
本申请要求于2021年12月8日提交中国专利局、申请号为202111492320.X发明名称为“分布式通话冲突处理方法、系统、电子设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及电子技术领域,尤其涉及分布式通话冲突处理方法、系统、电子设备及存储介质。
背景技术
随着通信技术的不断发展,越来越多的除手机之外的电子设备可以加入通信链中,如平板电脑、智能手表、以及车载设备等。
在分布式通话背景下,即,被呼叫方可以是基于信任环关联的多个电子设备,当呼叫方向被呼叫方发送来电事件时,多个电子设备可以同时接收来电事件,发生来电共振。进而用户能够在近场范围内,基于信任环,实现运营商通话在不同设备间的流转。然而,运营商通话在不同设备间流转时,对于被呼叫方这一侧的电子设备会存在各种通话冲突场景,影响用户的体验。
发明内容
有鉴于此,本申请提供分布式通话冲突处理方法、系统、电子设备及存储介质,用于解决在分布式通话场景下通话冲突的问题,提高用户体验。
本申请的一些实施方式提供了一种分布式通话冲突处理方法。以下从多个方面介绍本申请,以下多个方面的实施方式和有益效果可互相参考。
第一方面,本申请提供一种分布式通话冲突处理方法,应用于包括第一电子设备和第二电子设备的系统,其中,所述第一电子设备与所述第二电子设备处于近场连接,所述第一电子设备为具有电话呼叫功能的设备,所述第一电子设备具有第一SIM卡,所述方法包括:所述第一电子设备接收来自呼叫方的来电事件,并获取所述来电事件中的来电SIM卡标识;若所述来电SIM卡标识指示的SIM卡为第一SIM卡,且所述第一SIM卡的状态标识指示所述第一SIM卡被占用,所述第二电子设备的状态标识指示所述第二电子设备被占用,则所述第一电子设备向所述第二电子设备发送所述来电事件;所述第二电子设备输出来电冲突的提示。
本申请实施例的分布式通话冲突处理方法,在平板电脑接听了一路来电的情况下,说明用户的精力集中在平板电脑端,通过平板电脑输出来电冲突的提示,而不通知PC,可以有效起到提醒用户来电冲突的目的,且减低对PC的使用的影响,提高用户的使用体验。
在上述第一方面的一种可能的实现中,所述方法还包括:若所述来电SIM卡标识指示的SIM卡为第一SIM卡,且所述第一SIM卡的状态标识指示所述第一SIM卡被占用,所述第一电子设备的状态标识指示所述第一电子设备被占用,则所述第一电子设备输出来电冲突的提示。
本申请实施例的分布式通话冲突处理方法,在手机接听了一路来电的情况下,说明用户的精力集中在手机端,通过手机输出来电冲突的提示,而不通知平板电脑,可以有效起到提醒用户来电冲突的目的,且减低对平板电脑的使用的影响,提高用户的使用体验。
在上述第一方面的一种可能的实现中,所述系统还包括第三电子设备,所述第三电子设备为具有调制解调功能的设备,所述第一电子设备还具有第二SIM卡,所述方法还包括:若所述来电SIM卡标识指示的SIM卡为第二SIM卡,且所述第一SIM卡的状态标识指示所述第一SIM卡被占用,所述第二电子设备的状态标识指示所述第二电子设备被占用,则所述第一电子设备将所述第二SIM卡的数据发送给第三电子设备,并向所述第三电子设备发送所述来电事件;所述第三电子设备利用所述第二SIM卡的数据,输出来电提示。
本申请实施例的分布式通话冲突处理方法,在平板电脑接听了一路来电的情况下,说明用户的精力集中在平板电脑端,这种情况下,PC输出来电冲突的提示,以达到提示用户的目的。另外,在手机的通话界面无提示,在状态栏显示用户新来电通知,并产生未接听的通话记录,使得用户及时发现通话冲突的来电,提高用户的使用体验。
在上述第一方面的一种可能的实现中,所述第一电子设备还具有第二SIM卡,所述方法还包括:若所述来电SIM卡标识指示的SIM卡为第二SIM卡,且所述第一SIM卡的状态标识指示所述第一SIM卡被占用,所述第一电子设备的状态标识指示所述第一电子设备被占用,则所述第一电子设备输出来电冲突的提示。
本申请实施例的分布式通话冲突处理方法,在手机接听了一路来电的情况下,说明用户的精力集中在手机端,通过手机输出来电冲突的提示,而不通知平板电脑,可以有效起到提醒用户来电冲突的目的,且减低对平板电脑的使用的影响,提高用户的使用体验。
在上述第一方面的一种可能的实现中,所述第二电子设备为具有调制解调功能的设备,所述第一电子设备还具有第二SIM卡,所述方法还包括:若所述来电SIM卡标识指示的SIM卡为第二SIM卡,且所述第一SIM卡的状态标识指示所述第一SIM卡被占用,所述第一电子设备的状态标识指示所述第一电子设备被占用,则所述第一电子设备将所述第二SIM卡的数据发送给所述第二电子设备,并向所述第二电子设备发送所述来电事件;所述第二电子设备利用所述第二SIM卡的数据,输出来电提示。
本申请实施例的分布式通话冲突处理方法,在手机接听了一路来电的情况下,说明用户的精力集中在手机端,然而手机不支持双通话功能,这种情况下,平板电脑输出来电冲突的提示,以达到提示用户的目的。另外,在手机的通话界面无提示,在状态栏显示用户新来电通知,产生未接听的通话记录,使得用户及时发现通话冲突的来电,提高用户的使用体验。
在上述第一方面的一种可能的实现中,所述方法还包括:若所述来电SIM卡标识指示的SIM卡为第二SIM卡,且所述第一SIM卡的状态标识指示所述第一SIM卡被占用,则所述第一电子设备在状态栏显示新来电通知,并生成针对所述来电事件的未接听通话记录。
在上述第一方面的一种可能的实现中,所述方法还包括:所述第二电子设备向所述第一电子设备发送去电事件;所述第一电子设备接收所述去电事件,并获取所述去电事件中的去电SIM卡标识;若所述去电SIM卡标识指示的SIM卡为第一SIM卡,且所述第一SIM 卡的状态标识指示所述第一SIM卡被占用,则所述第一电子设备向所述第二电子设备发送状态信息,其中,所述状态信息包括所述第一SIM卡处于通话状态;所述第二电子设备基于所述状态信息,输出去电失效的提示。
本申请实施例的分布式通话冲突处理方法,在手机或平板电脑接听了一路来电的情况下,若第二电子设备拨打电话,则存在去电冲突的问题,第二电子设备输出去电失效的提示,避免第二电子设备的用户做无效的等待,也避免了对手机端的通话的影响,提高了用户的使用体验。
在上述第一方面的一种可能的实现中,所述第二电子设备为具有调制解调功能的电子设备,所述第一电子设备还具有第二SIM卡,所述方法还包括:所述第一电子设备将所述第二SIM卡的数据发送给所述第二电子设备;所述第二电子设备利用所述第二SIM卡的数据,向其他设备发送去电事件。
本申请实施例的分布式通话冲突处理方法,在手机或平板电脑通过一张SIM卡接听了一路来电的情况下,可以将另一张SIM卡的数据发送给第二电子设备(如PC),进而实现用户可以使用另一张SIM卡,与远端设备进行通话,以最大限度的满足用户的通话需求,提高用户的使用体验。
在上述第一方面的一种可能的实现中,所述方法还包括:所述第二电子设备向所述第一电子设备发送所述去电事件的去电信息;所述第一电子设备基于所述去电信息,生成针对所述第二SIM卡的通话记录。
在上述第一方面的一种可能的实现中,所述第一电子设备包括第一分布式框架,所述第二电子设备包括第二分布式框架;所述第一电子设备通过所述第一分布式框架与所述第二电子设备的第二分布式框架通信,以使所述第一电子设备和所述第二电子设备同步接收所述呼叫方的来电事件。
第二方面,本申请提供一种分布式通话冲突处理方法,应用于第一电子设备,所述第一电子设备与第二电子设备属于同一系统,所述第一电子设备为具有电话呼叫功能的设备,所述第一电子设备具有第一SIM卡,所述方法包括:所述第一电子设备接收来自呼叫方的来电事件,并获取所述来电事件中的来电SIM卡标识;若所述来电SIM卡标识指示的SIM卡为第一SIM卡,且所述第一SIM卡的状态标识指示所述第一SIM卡被占用,所述第二电子设备的状态标识指示所述第二电子设备被占用,则所述第一电子设备向所述第二电子设备发送所述来电事件,以使所述第二电子设备输出来电冲突的提示。
本申请实施例的分布式通话冲突处理方法,在平板电脑接听了一路来电的情况下,说明用户的精力集中在平板电脑端,通过平板电脑输出来电冲突的提示,而不通知PC,可以有效起到提醒用户来电冲突的目的,且减低对PC的使用的影响,提高用户的使用体验。
在上述第二方面的一种可能的实现中,所述方法还包括:若所述来电SIM卡标识指示的SIM卡为第一SIM卡,且所述第一SIM卡的状态标识指示所述第一SIM卡被占用,所述第一电子设备的状态标识指示所述第一电子设备被占用,则所述第一电子设备输出来电冲突的提示。
本申请实施例的分布式通话冲突处理方法,在手机接听了一路来电的情况下,说明用 户的精力集中在手机端,通过手机输出来电冲突的提示,而不通知平板电脑,可以有效起到提醒用户来电冲突的目的,且减低对平板电脑的使用的影响,提高用户的使用体验。
在上述第二方面的一种可能的实现中,所述系统还包括第三电子设备,所述第三电子设备为具有调制解调功能的设备,所述第一电子设备还具有第二SIM卡,所述方法还包括:若所述来电SIM卡标识指示的SIM卡为第二SIM卡,且所述第一SIM卡的状态标识指示所述第一SIM卡被占用,所述第二电子设备的状态标识指示所述第二电子设备被占用,则所述第一电子设备将所述第二SIM卡的数据发送给第三电子设备,并向所述第三电子设备发送所述来电事件,以使所述第三电子设备利用所述第二SIM卡的数据,输出来电提示。
本申请实施例的分布式通话冲突处理方法,在平板电脑接听了一路来电的情况下,说明用户的精力集中在平板电脑端,这种情况下,PC输出来电冲突的提示,以达到提示用户的目的。另外,在手机的通话界面无提示,在状态栏显示用户新来电通知,产生未接听的通话记录,使得用户及时发现通话冲突的来电,提高用户的使用体验。
在上述第二方面的一种可能的实现中,所述第一电子设备还具有第二SIM卡,所述方法还包括:若所述来电SIM卡标识指示的SIM卡为第二SIM卡,且所述第一SIM卡的状态标识指示所述第一SIM卡被占用,所述第一电子设备的状态标识指示所述第一电子设备被占用,则所述第一电子设备输出来电冲突的提示。
本申请实施例的分布式通话冲突处理方法,在手机接听了一路来电的情况下,说明用户的精力集中在手机端,通过手机输出来电冲突的提示,而不通知平板电脑,可以有效起到提醒用户来电冲突的目的,且减低对平板电脑的使用的影响,提高用户的使用体验。
在上述第二方面的一种可能的实现中,所述第二电子设备为具有调制解调功能的设备,所述第一电子设备还具有第二SIM卡,所述方法还包括:若所述来电SIM卡标识指示的SIM卡为第二SIM卡,且所述第一SIM卡的状态标识指示所述第一SIM卡被占用,所述第一电子设备的状态标识指示所述第一电子设备被占用,则所述第一电子设备将所述第二SIM卡的数据发送给所述第二电子设备,并向所述第二电子设备发送所述来电事件,以使所述第二电子设备利用所述第二SIM卡的数据,输出来电提示。
本申请实施例的分布式通话冲突处理方法,在手机接听了一路来电的情况下,说明用户的精力集中在手机端,然而手机不支持双通话功能,这种情况下,平板电脑输出来电冲突的提示,以达到提示用户的目的。另外,在手机的通话界面无提示,在状态栏显示用户新来电通知,产生未接听的通话记录,使得用户及时发现通话冲突的来电,提高用户的使用体验。
在上述第二方面的一种可能的实现中,所述方法还包括:若所述来电SIM卡标识指示的SIM卡为第二SIM卡,且所述第一SIM卡的状态标识指示所述第一SIM卡被占用,则所述第一电子设备在状态栏显示新来电通知,并生成针对所述来电事件的未接听通话记录。
在上述第二方面的一种可能的实现中,所述方法还包括:所述第一电子设备接收所述第二电子设备发送的去电事件,并获取所述去电事件中的去电SIM卡标识;若所述去电SIM卡标识指示的SIM卡为第一SIM卡,且所述第一SIM卡的状态标识指示所述第一SIM卡被占用,则所述第一电子设备向所述第二电子设备发送状态信息,其中,所述状态信息 包括所述第一SIM卡处于通话状态,以使所述第第二电子设备基于所述状态信息,输出去电失效的提示。
本申请实施例的分布式通话冲突处理方法,在手机或平板电脑接听了一路来电的情况下,若其他第二电子设备拨打电话,则存在去电冲突的问题,第二电子设备输出去电失效的提示,避免第二电子设备的用户做无效的等待,也避免了对手机端的通话的影响,提高了用户的使用体验。
在上述第二方面的一种可能的实现中,所述第二电子设备为具有调制解调功能的电子设备,所述第一电子设备还具有第二SIM卡,所述方法还包括:所述第一电子设备将所述第二SIM卡的数据发送给所述第二电子设备,以使所述第二电子设备利用所述第二SIM卡的数据,向其他设备发送去电事件。
本申请实施例的分布式通话冲突处理方法,在手机或平板电脑通过一张SIM卡接听了一路来电的情况下,可以将另一张SIM卡的数据发送给第二电子设备(如PC),进而实现用户可以使用另一张SIM卡,与远端设备进行通话,以最大限度的满足用户的通话需求,提高用户的使用体验。
在上述第二方面的一种可能的实现中,所述方法还包括:所述第一电子设备接收所述第二电子设备发送的所述去电事件的去电信息;所述第一电子设备基于所述去电信息,生成针对所述第二SIM卡的通话记录。
在上述第二方面的一种可能的实现中,所述第一电子设备包括第一分布式框架,所述第二电子设备包括第二分布式框架;所述第一电子设备通过所述第一分布式框架与所述第二电子设备的第二分布式框架通信,以使所述第一电子设备和所述第二电子设备同步接收所述呼叫方的来电事件。
第三方面,本申请提供一种分布式通话冲突处理方法,应用于第二电子设备,所述第二电子设备与第一电子设备属于同一系统,所述第一电子设备为具有电话呼叫功能的设备,所述第一电子设备具有第一SIM卡,所述方法包括:所述第二电子设备接收所述第一电子设备发送的来电事件,所述来电事件为所述第一电子设备接收的来自呼叫方的来电事件,且所述来电事件中的来电SIM卡标识指示的SIM卡为第一SIM卡,所述第一SIM卡的状态标识指示所述第一SIM卡被占用,所述第二电子设备的状态标识指示所述第二电子设备被占用;所述第二电子设备输出来电冲突的提示。
本申请实施例的分布式通话冲突处理方法,在平板电脑接听了一路来电的情况下,说明用户的精力集中在平板电脑端,通过平板电脑输出来电冲突的提示,而不通知PC,可以有效起到提醒用户来电冲突的目的,且减低对PC的使用的影响,提高用户的使用体验。
在上述第三方面的一种可能的实现中,所述第二电子设备为具有调制解调功能的设备,所述第一电子设备还具有第二SIM卡,所述方法还包括:所述第二电子设备接收所述第一电子设备发送的所述第二SIM卡的数据,并接收所述第一电子设备发送的所述来电事件,所述来电事件为所述第一电子设备接收的来自呼叫方的来电事件,且所述来电事件中的来电SIM卡标识指示的SIM卡为第二SIM卡,所述第一SIM卡的状态标识指示所述第一SIM卡被占用,所述第一电子设备的状态标识指示所述第一电子设备被占用;所述第二电子设 备利用所述第二SIM卡的数据,输出来电提示。
本申请实施例的分布式通话冲突处理方法,在手机接听了一路来电的情况下,说明用户的精力集中在手机端,然而手机不支持双通话功能,这种情况下,平板电脑输出来电冲突的提示,以达到提示用户的目的。另外,在手机的通话界面无提示,在状态栏显示用户新来电通知,产生未接听的通话记录,使得用户及时发现通话冲突的来电,提高用户的使用体验。
在上述第三方面的一种可能的实现中,所述方法还包括:所述第二电子设备向所述第一电子设备发送去电事件,以使所述第一电子设备在所述去电事件中的去电SIM卡标识指示的SIM卡为第一SIM卡,且所述第一SIM卡的状态标识指示所述第一SIM卡被占用的情况下,向所述第二电子设备发送状态信息,其中,所述状态信息包括所述第一SIM卡处于通话状态;所述第二电子设备基于所述状态信息,输出去电失效的提示。
本申请实施例的分布式通话冲突处理方法,在手机或平板电脑接听了一路来电的情况下,若第二电子设备拨打电话,则存在去电冲突的问题,其他第二电子设备输出去电失效的提示,避免第二电子设备的用户做无效的等待,也避免了对手机端的通话的影响,提高了用户的使用体验。
在上述第三方面的一种可能的实现中,所述第二电子设备为具有调制解调功能的电子设备,所述第一电子设备还具有第二SIM卡,所述方法还包括:所述第二电子设备接收所述第一电子设备发送的所述第二SIM卡的数据;所述第二电子设备利用所述第二SIM卡的数据,向其他设备发送去电事件。
本申请实施例的分布式通话冲突处理方法,在手机或平板电脑通过一张SIM卡接听了一路来电的情况下,可以将另一张SIM卡的数据发送给第二电子设备(如PC),进而实现用户可以使用另一张SIM卡,与远端设备进行通话,以最大限度的满足用户的通话需求,提高用户的使用体验。
在上述第三方面的一种可能的实现中,所述方法还包括:所述第二电子设备向所述第一电子设备发送所述去电事件的去电信息,以使所述第一电子设备基于所述去电信息,生成针对所述第二SIM卡的通话记录。
第四方面,本申请提供一种分布式通话冲突处理系统,包括;
第一电子设备,用于执行上述第二方面实施例中的任一方法;
第二电子设备,用于执行上述第三方面实施例中的任一方法。
第五方面,本申请提供一种电子设备,包括:
存储器,用于存储由设备的一个或多个处理器执行的指令;
处理器,用于执行指令,使得电子设备执行上述第二方面实施例中的任一方法或上述第三方面实施例中的任一方法。
第六方面,本申请提供一种计算机可读存储介质,计算机可读存储介质存储有计算机程序,计算机程序被电子设备运行时,使得电子设备执行上述第二方面实施例中的任一方法或上述第三方面实施例中的任一方法。
第七方面,本申请提供一种包含指令的计算机程序产品,当该计算机程序产品在电子 设备上运行时,使得电子设备执行上述第二方面实施例中的任一方法或上述第三方面实施例中的任一方法。
附图说明
图1a为本申请一个实施例的呼叫系统的分布式架构的场景图;
图1b为本申请一个实施例的呼叫系统的分布式架构的另一场景图;
图2a为本申请一个实施例的电子设备的结构示意图;
图2b为本申请一个实施例的电子设备的软件结构框图;
图3为本申请一个实施例的信任环的一场景图;
图4a1为本申请一个实施例的一场景下的分布式通话冲突处理方法的交互流程图;
图4a2为图4a1所示场景下的一种细化交互流程图;
图4b1-图4e为基于图4a1和图4a2所示交互流程图的手机、平板电脑和PC的通话冲突处理的界面示意图;
图5a1为本申请一个实施例的另一场景下的分布式通话冲突处理方法的交互流程图;
图5a2为图5a1所示场景下的一种细化交互流程图;
图5b1-图5e为基于图5a1和图5a2所示交互流程图的手机、平板电脑和PC的通话冲突处理的界面示意图;
图6为本申请一个实施例的第二电子设备获取第二SIM卡的数据的流程示意图;
图7本申请一个实施例的电子设备的结构示意图;
图8为本申请一个实施例的分布式通话冲突处理系统的结构示意图;
图9为本申请一个实施例的片上系统的结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。
参考图1a,图1a示例性示出了本申请实施例的呼叫系统的分布式架构的场景图。该场景图中包括呼叫方设备101和被呼叫方设备,其中,被呼叫方设备可以包括至少一个可以与呼叫方设备101实现移动数据通话能力的第一电子设备和至少一个第二电子设备。
本申请的实施例中,第一电子设备为具有电话呼叫功能的电子设备,举例说明,电话呼叫功能可以是通过基站实现的移动数据通话能力,如接打电话,或者通过蜂窝网络实现的IP通话能力,如微信语音等。如图1a所示的手机102和平板电脑103,手机102和平板电脑103为近场连接,例如,手机102和平板电脑103处于信任环上,其中近场连接可以是处于同一局域网内的网络连接,或者是蓝牙连接等。信任环上,手机102和平板电脑103可以为具有相同账号的设备,以提高通话的安全性。
当呼叫方设备101向多个被呼叫方设备发起电话呼叫时,被呼叫方设备中的手机102检测是否存在通话冲突,在不存在通话冲突的情况下,手机102和平板电脑103可以同时输出来电事件的提示(即实现来电共振)。
本申请实施例中,手机可以为单用户标识模块(Subscriber Identity Module,SIM)卡手机或双SIM卡手机,双SIM卡手机可以为支持双通话的手机,也可以为不支持双通话的手 机。支持双通话表示手机通过一张SIM卡接打电话的时候不影响另一张SIM卡的电话接通。基于此,通话冲突可以包括如表1所示的多种场景。
表1
Figure PCTCN2022114933-appb-000001
接收到来电信号的手机102确定是否存在上述任一种通话冲突场景,在存在上述任一通话冲突场景的情况下,执行相应的通话冲突处理。
例如,若存在上述场景1或场景3的情况,则手机102输出来电冲突的提示,如响铃、振动、界面提示等,界面提示可以包括在界面上显示来电号码、来电用户名、接听按键、和/或挂断按键等。用户基于来电冲突的提示,可以了解到通话冲突的相关信息,进而执行相关操作,例如,用户可以点击接听按键,手机102接听新的来电,或者,用户可以点击挂断按键,手机102挂断新的来电。手机102接听新的来电时,旧的一路来电可以挂断或保持通话,对此不进行限定。
本申请实施例中,手机102接听来电用于表示手机102与呼叫方进行通信,手机102挂断来电用于表示手机102与呼叫方切断通信。手机102接听新的来电后,旧的来电可以保持通话,也可以挂断通话。
上述场景1或场景3的情况下,手机102不会向平板电脑103和近场连接的其他设备发送来电事件,即平板电脑103和其他设备与手机102不进行来电共振,以降低对平板电脑103和近场连接的其他设备的正常使用的影响。
若存在上述场景2的情况,即用户在平板电脑103拨打电话,平板电脑103生成去电事件,并启动去电界面,以及向手机102发送该去电事件,则手机102获取SIM卡的通话状态,并向平板电脑103发送该SIM卡的通话状态;平板电脑103基于接收的信息,确定该SIM卡处于通话状态,关闭去电界面,并输出去电失效的提示,如响铃、振动、界面提示等,以提示用户无法开启新的通话,去电失效。
其中,去电界面为拨打电话以呼叫远端设备的界面,该去电界面可以显示拨打电话的号码、拨打电话的用户名和/或挂断按键等。用户在平板电脑103拨打电话时,平板电脑103以及手机102作为呼叫设备,远端设备作为被呼叫设备,对于被呼叫设备来说,上述去电事件即为来电事件。
若存在上述场景4的情况,则对于支持双通话的手机,手机102输出来电冲突的提示。 场景4的情况下,手机102不会向平板电脑103和近场连接的其他设备发送来电事件,即平板电脑103和其他设备与手机102不进行来电共振,以降低对平板电脑103和近场连接的其他设备的正常使用的影响。
若存在上述场景4的情况,则对于不支持双通话的手机,手机102向平板电脑103发送来电事件,并向新来电的SIM卡的数据传递给平板电脑103,即将新来电的SIM卡虚拟到平板电脑103,此时,平板电脑103基于新来电的SIM卡的数据,利用空闲的SIM卡槽(实际为利用空闲的调制解调及射频资源),注册运营商网络,使得平板电脑103具有新来电的SIM卡的通话能力。具有新来电的SIM卡的通话能力的平板电脑103基于来电事件,输出来电提示,如响铃、振动、界面提示、弹窗等。
另外,在上述场景4的情况下,不支持双通话的手机102还可以在状态栏显示新来电通知,并生成针对来电事件的未接听通话记录。
若存在上述场景5的情况,则手机102向新来电的SIM卡的数据传递给平板电脑103,平板电脑103基于新来电的SIM卡的数据,利用空闲的SIM卡槽,注册运营商网络,使得平板电脑103具有新来电的SIM卡的通话能力。具有新来电的SIM卡的通话能力的平板电脑103默认利用新来电的SIM卡,直接向远端的被呼叫设备发送去电事件,与远端的被呼叫设备通话。
若存在上述场景6或场景8的情况,则手机102向平板电脑103发送来电事件,实现手机102和平板电脑103来电共振。这里,手机102不会向近场连接的其他设备发送来电事件,即其他设备与手机102不进行来电共振,以避免影响近场连接的其他设备的正常使用。平板电脑103接收到来电事件,确定存在上述场景6或场景8的情况,输出来电冲突的提示,如响铃、振动、界面提示等。
若存在上述场景7的情况,即近场连接的其他设备向手机102发送去电事件,则手机102获取SIM卡的通话状态,并向该其他设备发送该SIM卡的通话状态;该其他设备基于接收的信息,确定该SIM卡处于通话状态,关闭去电界面,并输出去电失效的提示,如响铃、振动、界面提示等,以提示用户无法开启新的通话,去电失效。
若存在上述场景9的情况,则手机102向近场连接的其他设备发送来电事件,并向新来电的SIM卡的数据传递给该其他设备,即将新来电的SIM卡虚拟到该其他设备,此时,该其他设备基于新来电的SIM卡的数据,利用空闲的SIM卡槽(实际为利用空闲的调制解调及射频资源),注册运营商网络,使得该其他设备具有新来电的SIM卡的通话能力。具有新来电的SIM卡的通话能力的该其他设备基于来电事件,输出来电提示,如响铃、振动、弹窗等,以告知用户存在新的来电。
另外,在上述场景9的情况下,手机102还可以在状态栏显示新来电通知,并生成针对来电事件的未接听通话记录。
若存在上述场景10的情况,则手机102将新来电的SIM卡的数据传递给近场连接的其他设备,该其他设备基于新来电的SIM卡的数据,利用空闲的SIM卡槽,注册运营商网络,使得该其他设备具有新来电的SIM卡的通话能力。具有新来电的SIM卡的通话能力的该其他设备默认利用新来电的SIM卡,直接向远端的被呼叫设备发送去电事件,以及 远端的被呼叫设备通话。
对于上述场景4中手机不支持双通话的情况,以及场景5、场景9和场景10的情况,为实现上述实施例,要求利用空闲的SIM卡槽注册运营商网络的设备具有调制解调功能。
本申请实施例中,手机102中可以记录SIM卡的状态标识、手机102的状态标识以及平板电脑103的状态标识。平板电脑103中可以记录SIM卡的状态标识、以及平板电脑103的状态标识。上述状态标识指示相应的设备是否被占用,进而确定与远端的呼叫设备建立通话连接的设备。例如,SIM卡1的状态标识指示SIM卡1被占用,手机102的状态标识指示手机102被占用,则说明手机102通过SIM卡1与远端的呼叫设备建立通话连接。再例如,SIM卡1的状态标识指示SIM卡1被占用,平板电脑103的状态标识指示平板电脑103被占用,则说明平板电脑103通过SIM卡1与远端的呼叫设备建立通话连接。
本申请实施例中,通话冲突场景可以理解为,手机102或平板电脑103通过SIM卡与远端的呼叫设备建立通话连接的情况下,又接收到新的来电事件,或生产新的去电事件。
在上述实施例中以手机作为第一电子设备,平板电脑作为第二电子设备进行了说明。在本申请的一些实施例中,第一电子设备还可以是具有移动数据通话能力的平板电脑、笔记本电脑,或者可穿戴的电子设备,如手表等。第二电子设备也可以是具有移动数据通话能力的电子设备,也可以是无移动数据通话能力,但能够与第一电子设备通过网络数据通信的电子设备,例如,手机、平板电脑、笔记本电脑、超级移动个人计算机、个人数字助理(Personal Digital Assistant,PDA)、电视,或者可穿戴的电子设备,如手表、手环等。
在本申请的另一个场景中,来电共振可以由服务器同时向手机和平板电脑下发来电信号,实现手机和平板电脑的来电共振。参考图1b,图1b示例性示出了本申请实施例的呼叫系统的分布式架构的另一场景图。该场景中,可以由服务器106向手机104发送来电信号,手机104与手表105可以通过无线连接,例如蓝牙,手机104可以通过蓝牙向手表105发送来电信号,以使手机104和手表105实现来电共振。手机与手表对通话冲突处理的过程如上述描述,此处不做描述。
下面结合第一电子设备和第二电子设备的具体结构,对本申请实施例的分布式通话冲突处理方法进行描述。
参考图2a,图2a示出了本申请一个实施例的电子设备的结构示意图,图2a所示的电子设备可以作为第一电子设备,也可以作为第二电子设备。图2a所示的电子设备可以包括处理器110、外部存储器接口120、内部存储器121、通用串行总线(Universal Serial Bus,USB)接口130、充电管理模块140、电源管理模块141、电池142、天线1、天线2、移动通信模块150、无线通信模块160、音频模块170、扬声器170A,、受话器170B、麦克风170C、耳机接口170D、传感器模块180、按键190、马达191、指示器192、摄像头193、显示屏194、以及用户标识模块(Subscriber Identity Module,SIM)卡接口195等。其中,传感器模块180可以包括压力传感器180A、陀螺仪传感器180B、气压传感器180C、磁传感器180D、加速度传感器180E、距离传感器180F、接近光传感器180G、指纹传感器180H、温度传感器180J、触摸传感器180K、环境光传感器180L、以及骨传导传感器180M等。
可以理解的是,本申请实施例示意的结构并不构成对电子设备的具体限定。在本申请 另一些实施例中,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件、软件、或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(Application Processor,AP)、调制解调处理器(modem)、图形处理器(Graphics Processing Unit,GPU)、图像信号处理器(Image Signal Processor,ISP)、控制器、视频编解码器、数字信号处理器(Digital Signal Processor,DSP)、基带处理器、和/或神经网络处理器(Neural-network Processing Unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
处理器110可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用,避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(Inter-Integrated Circuit,I2C)接口、集成电路内置音频(Inter-Integrated Circuit Sound,I2S)接口、脉冲编码调制(Pulse Code Modulation,PCM)接口、通用异步收发传输器(Universal Asynchronous Receiver/Transmitter,UART)接口、移动产业处理器接口(Mobile Industry Processor Interface,MIPI)、通用输入输出(General-Purpose Input/Output,GPIO)接口、以及用户标识模块(Subscriber Identity Module,SIM)接口。
I2C接口是一种双向同步串行总线,包括一根串行数据线(Serial Data Line,SDA)和一根串行时钟线(Derail Clock Line,SCL)。在一些实施例中,处理器110可以包含多组I2C接口。处理器110可以通过不同的I2C接口分别耦合触摸传感器180K、充电器、闪光灯、摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C接口通信,实现电子设备的触摸功能。
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S接口。处理器110可以通过I2S接口与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM接口耦合。音频模块170可以将获取到的下行音频流数据和上行音频流数据通过无线通信模块160传输到与电子设备无线连接的电子设备。
在一些实施例中,音频模块170也可以通过PCM接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。所述I2S接口和所述PCM接口都可以用于音频通信。
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向无线通信模块160传递音频信号,实现通过蓝牙连接的电子设备获得下行音频流数据的功能。
MIPI接口可以用于连接处理器110与显示屏194,摄像头193等外围器件。MIPI接口包括摄像头串行接口(Camera Serial Interface,CSI)、以及显示屏串行接口(Display Serial Interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现电子设备100的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现电子设备的显示功能。
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备的结构限定。在本申请另一些实施例中,电子设备也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
电子设备的无线通信功能可以通过天线1、天线2、移动通信模块150、无线通信模块160、调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在第一电子设备上的包括2G/3G/4G/5G等无线通信的解决方案。在一些实施例中,可以通过移动通信模块150实现两个电子设备之间的通话数据的传输,例如,作为被呼叫方设备时,可以获得来自呼叫方设备的下行音频流数据,以及可以向呼叫方设备传输上行音频流数据。
无线通信模块160可以提供应用在电子设备上的包括无线局域网(Wireless Local Area Networks,WLAN)(如无线保真(Wireless Fidelity,Wi-Fi)网络)、蓝牙(Bluetooth,BT)、全球导航卫星系统(Global Navigation Satellite System,GNSS)、调频(Frequency Modulation,FM)、近距离无线通信技术(Near Field Communication,NFC)、以及红外技术(infrared,IR)等无线通信的解决方案。
在一些实施例中,电子设备的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备可以通过无线通信技术与网络以及其他设备通信。在本申请的一个实施例中,电子设备可以通过无线通信模块160实现与另一电子设备的局域网络连接。无线通信技术可以包括全球移动通讯系统(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、和/或IR技术等。GNSS可以包括全球卫星定位系统(Global Positioning System,GPS)、全球导航卫星系统 (Global Navigation Satellite System,GLONASS)、北斗卫星导航系统(Beidou Navigation Satellite System,BDS)、准天顶卫星系统(Quasi-Zenith Satellite System,QZSS)、和/或星基增强系统(Satellite Based Augmentation System,SBAS)等。
显示屏194用于显示图像、视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)、有源矩阵有机发光二极体或主动矩阵有机发光二极体(Active-Matrix Organic Light Emitting Diode,AMOLED)、柔性发光二极管(Flex Light-Emitting Diode,FLED)、MiniLED、MicroLED、Micro-OLED、以及量子点发光二极管(Quantum dot Light Emitting Diode,QLED)等。在一些实施例中,电子设备可以包括1个或N个显示屏194,N为大于1的正整数。
在一些实施例中,显示屏194可以显示来电提示界面、来电冲突的提示界面、去电失效的提示界面以及去电界面,以便于用户根据显示屏显示的界面内容,了解通话冲突的状态信息等。
外部存储器接口120可以用于连接外部存储卡,例如Micro安全数码(Secure Digital Memory,SD)卡,实现扩展电子设备的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐、视频、录音文件等文件保存在外部存储卡中。
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统、以及至少一个功能所需的应用程序(比如声音播放功能、图像播放功能和录音功能等)等。存储数据区可存储电子设备使用过程中所创建的数据(比如上行音频数据、下行音频数据和电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、通用闪存存储器(Universal Flash Storage,UFS)等。处理器110通过运行存储在内部存储器121的指令和/或存储在设置于处理器110中的存储器的指令,执行电子设备的各种功能应用以及数据处理。
电子设备可以通过音频模块170、扬声器170A、受话器170B、麦克风170C、耳机接口170D、以及应用处理器等实现通话冲突处理功能等。
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频信号转换为数字音频信号输入。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备接听电话或语音信息时,可以通过受话器170B听到呼叫方设备传输的语音。
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为音频电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C,实现上行音频流数据的采集。
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194中。在一些实施例中,当用户点击按压显示 屏194上的接听键时,可实现手动接听通话功能,当用户点击按压显示屏194上的挂断键时,可实现手动挂断通话功能。
触摸传感器180K,也称“触控器件”。触摸传感器180K可以设置于显示屏194中,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器180K可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型,可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备的表面,与显示屏194所处的位置不同。
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,在接收到来电信号后,马达191产生振动,以提示用户有电话需要接听。
参考图2b,图2b示出了本申请一个实施例的电子设备的软件结构框图。
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层、应用程序框架层、安卓运行时(Android Runtime)和系统库、以及内核层。在另一些实施例中,将Android系统分为五层,从上至下分别为应用程序层、应用程序框架层、安卓运行时(Android Runtime)和系统库、硬件抽象层以及内核层。图2b仅以分层架构包括应用程序层、应用程序框架层、硬件抽象层以及内核层为例进行说明,并不起限定作用。
应用程序层可以包括一系列应用程序包。
如图2b所示,应用程序层可以包括通话应用程序等。此外,在一些实施例中,还可以包括相机、图库、日历、通话、地图、导航、WLAN、蓝牙、音乐、视频、短信息、以及录音等应用程序。
在一些实施例中,用户可以通过通话应用程序获得通话时的通话界面,以及实现通话过程的逻辑运算。
应用程序框架层为应用程序层的应用程序提供应用编程接口(Application Programming Interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。
如图2b所示,应用程序框架层可以包括通信协议框架、绘制渲染模块、分布式框架、音频框架和文件管理框架等。
通信协议框架属于电话管理器的一部分,用于提供电子设备的通信功能,例如通话状态的管理(包括接听和挂断等)。
绘制渲染模块属于视频系统的一部分,包括可视控件,例如显示文字的控件、以及显示图片的控件等。视频系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,通话过程中的来电冲突提示界面,可以包括显示文字的视图以及显示图片的视图。
分布式框架用于实现局域网络内的设备间的数据同步。例如同步来电信号,使局域网内的两个设备来电共振、以及同步录音文件等。
音频框架可以属于内容提供器,用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频、图像、音频、拨打和接听的电话等。
文件管理框架属于资源管理器的一部分,用于为应用程序提供各种资源,比如本地化 字符串、图标、图片、布局文件、录音文件、视频文件等等。
Android Runtime包括核心库和虚拟机。Android Runtime负责安卓系统的调度和管理。
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓系统的核心库。
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理、堆栈管理、线程管理、安全和异常的管理、以及垃圾回收等功能。
硬件抽象层是位于操作系统内核与硬件电路之间的接口层,用于将硬件抽象化,为操作系统提供虚拟硬件平台。
如图2b所示,硬件抽象层可以包括传输通道模块、显示处理模块、信任环、音频流处理模块、外部存储模块等。
系统的安全性、内存管理、进程管理、网络协议栈和驱动模型等都依赖于该内核层。内核层至少可以包含进程通信(Inter Process Communication,IPC)、显示驱动、软总线、音频驱动、以及存储驱动等。
下面结合图2b的通话场景,示例性说明电子设备软件以及硬件的工作流程。
当移动通信模块150接收到来电信号,由内核层将信号加工成来电事件,应用程序框架层通过硬件层的传输通道模块获得来电事件,应用程序层调用通信协议框架获取来电事件,并启动电话应用程序,同时,内核层通过显示驱动启动显示屏194,以实现电话应用层程序对应的通话界面在显示屏194上显示,用户可以通过通话界面上的接听或挂断键接听电话或挂断电话。
在本申请的一个实施例中,电子设备可以通过局域网与电子设备A通信,在接到电话后,通过分布式框架将来电事件同步给与其通信连接的电子设备,例如电子设备A,两个电子设备实现来电共振。
在本申请的实施例中,手机、平板电脑和PC可以是基于信任环关联的三个电子设备,如图3所示,例如,通过荣耀账号分别登陆在手机、平板电脑和PC上,基于荣耀账号建立信任关系,在建立信任关系基础上再考虑执行分布式通话冲突处理方法,以提高用户通话的安全性。
在本申请的实施例中,从通话冲突的角度考虑,可以包括两个大的场景,分别为手机接听了一路来电的情况下存在通话冲突的场景,和,平板电脑接听了一路来电的情况下存在通话冲突的场景。其中,手机接听了一路来电的情况下存在通话冲突的场景进一步包括:如表1所示的场景1-5,平板电脑接听了一路来电的情况下存在通话冲突的场景进一步包括:如表1所示的场景6-10。
下面结合两个场景对本申请实施例的分布式通话冲突处理方法进行详细描述。
场景一:手机接听了一路来电的情况下存在通话冲突的场景。
参考图4a1和图4a2,图4a1和图4a2示出了本申请实施例的一场景下的分布式通话冲突处理方法的交互流程图。该方法应用于由手机、平板电脑和PC组成的系统中,以手机和平板电脑为例,如图4a1和图4a2所示,包括手机、平板电脑和PC(未示出),其中 手机包括显示屏41、原生通话服务模块42、分布式框架43和近场服务模块44。平板电脑包括近场服务模块51、分布式框架52和显示屏53。其中,分布式框架又可以称为分布式通话服务模块。如图4a1和图4a2所示,该流程图包括S401-S412。
S401,手机、平板电脑和PC处于近场连接。
手机、平板电脑和PC接入同一Wi-Fi。以手机和平板电脑为例,如图4a1和图4a2所示,手机和平板电脑分别通过近场服务模块44和近场服务模块51,采用近场服务发现协议,建立近场连接,同理,手机和PC、PC和平板电脑建立近场连接。
本申请实施例中,手机、平板电脑和PC可以处于一个信任环中,以提高信息安全性。本申请实施例中,手机、平板电脑和PC也可以采用同一账号接入同一Wi-Fi,且距离小于设定距离时,建立近场连接。对此不进行限定。
在本申请的实施例中,手机可以通过如图2a中的SIM卡接口195连接1个或N个SIM卡,例如,通过SIM卡接口195连接SIM卡1。远端设备下发针对SIM卡1的来电信号,手机可以通过如图2a中的移动通信模块150获得针对SIM卡1的来电信号,并由原生通话服务模块42(如内核层)生成针对SIM卡1的来电事件,再由分布式框架43获取。分布式框架43通过近场服务模块44和近场服务模块51,将该来电事件同步给的平板电脑的分布式框架52,以实现手机和平板电脑能够同时实现来电事件的提示,例如响铃、振动、界面提示等。
在手机和平板电脑能够同时实现来电事件的提示后,手机接听来电事件,实现手机通过SIM卡1与远端设备进行通话。此时,手机记录SIM卡1的状态标识为第一标识,并记录手机的状态标识为第二标识,第一标识指示SIM卡1被占用,第二标识指示手机被占用。当SIM卡1的状态标识为第一标识,SIM卡1处于通话状态。
S402,其他远端设备下发针对SIM卡1的来电信号,手机获得该来电信号。其中,远端设备可以为服务器或手机等。
在本申请的实施例中,如上述场景1和场景3的情况,手机可以通过如图2a中的移动通信模块150获得针对SIM卡1的来电信号,并由原生通话服务模块42生成针对SIM卡1的来电事件。
S403,手机输出来电冲突的提示。
手机的原生通话服务模块42检测到SIM卡1的状态标识为第一标识,且手机的状态标识为第二标识,即手机通过SIM卡1与其他远端设备建立通话连接,可确定存在通话冲突,通过显示屏41输出来电冲突的提示,如启动来电界面、响铃等,不通知分布式框架43,即不通知平板电脑、PC,此时,平板电脑、PC无来电提醒。
参考图4b1,图4b1示例性示出了手机的来电冲突提示界面。图4b1中的(1)为手机的通话界面,此时,手机又接收到一路来电,则出现来电冲突,图4b1中的(2)为手机的来电冲突提示界面,来电冲突提示的输出过程可参考S402-S403的描述。基于图4b1输出的来电冲突提示,用户可以接听或挂断新的来电,若用户接听新的来电,旧的来电保持通话,则手机的通话界面可参见图4b2所示。
在手机接听了一路来电的情况下,说明用户的精力集中在手机端,通过手机输出来电 冲突的提示,而不通知平板电脑,可以有效起到提醒用户来电冲突的目的,且减低对平板电脑的使用的影响,提高用户的使用体验。
S404,平板电脑向手机发送针对SIM卡1的去电事件。
如上述场景2的情况,用户在平板电脑上向平板电脑输入电话号码,并通过SIM卡1拨打电话。基于用户拨打电话的操作,平板电脑的分布式框架52生成针对SIM卡1的去电事件,并通过显示屏53显示去电界面,以提示用户去电为分布式去电。另外,分布式框架52通过近场服务模块51和近场服务模块44,向分布式框架43发送去电事件。
S405,手机获取SIM卡1的状态信息,并将SIM卡1的状态信息反馈给平板电脑。
分布式框架43将去电事件发送至原生通话服务模块42,调用原生通话服务模块42获取SIM卡1的状态信息(如上述第一标识,SIM卡1处于通话状态),并通过近场服务模块51和近场服务模块44,将SIM卡1的状态信息反馈给分布式框架52。
S406,平板电脑关闭去电界面,输出去电失效的提示。
分布式框架52关闭显示屏53显示的去电界面,并控制显示屏53输出去电失效的提示界面。
参考图4c,图4c示例性示出了平板电脑的去电失效提示界面。图4c中的(1)为手机的通话界面,此时,平板电脑拨打电话,平板电脑的去电界面如图4c中的(2)所示,在确定存在去电冲突的情况下,平板电脑关闭去电界面,显示去电失效提示界面,如图4c中的(3)所示,去电冲突提示的输出过程可参考S404-S406的描述。
在手机接听了一路来电的情况下,若平板电脑拨打电话,则存在去电冲突的问题,平板电脑输出去电失效的提示,避免平板电脑端的用户做无效的等待,也避免了对手机端的通话的影响,提高了用户的使用体验。
S407,其他远端设备下发针对SIM卡2的来电信号,手机获得该来电信号。之后,若手机支持双通话功能,则执行S408,若手机不支持双通话功能,则执行S409。
在本申请的实施例中,手机可以通过如图2a中的SIM卡接口195连接1个或N个SIM卡,例如,通过SIM卡接口195连接SIM卡1和SIM卡2。
如场景4的情况,手机可以通过如图2a中的移动通信模块150获得针对SIM卡2的来电信号,并由原生通话服务模块42生成针对SIM卡2的来电事件。
S408,手机输出来电冲突的提示。
手机的原生通话服务模块42检测到手机通过SIM卡1与其他远端设备建立通话连接,可确定存在通话冲突,通过显示屏41输出来电冲突的提示,如启动来电界面、响铃等,不通知分布式框架43,即不通知平板电脑、PC,此时,平板电脑、PC无来电提醒。例如图4b1所示。
在手机接听了一路来电的情况下,说明用户的精力集中在手机端,通过手机输出来电冲突的提示,而不通知平板电脑,可以有效起到提醒用户来电冲突的目的,且减低对平板电脑的使用的影响,提高用户的使用体验。
S409,手机将SIM卡2的数据发送给平板电脑,并向平板电脑发送针对SIM卡2的来电事件。其中,平板电脑具有调制解调功能。
由于手机不支持双通话功能,因此,手机不能实现来电冲突提示的功能,手机的原生通话服务模块42检测到手机通过SIM卡1与其他远端设备建立通话连接,可确定存在通话冲突,将SIM卡2的数据发送给分布式框架43,分布式框架43通过近场服务模块51和近场服务模块44,将SIM卡2的数据以及针对SIM卡2的来电事件反馈给平板电脑的分布式框架52。
此时,分布式框架52基于SIM卡2的数据,利用空闲的SIM卡槽,注册运营商网络,使得平板电脑具有SIM卡2的通话能力。
另外,手机的显示屏41不启动来电界面,即在通话界面无提示,在状态栏显示用户新来电通知,同时产生未接听的通话记录。
S410,平板电脑输出来电冲突的提示。
平板电脑的分布式框架52控制显示屏53输出来电冲突的提示界面。
参考图4d1,图4d1示例性示出了平板电脑的来电冲突提示界面,如输出一条新来电的弹窗信息等。图4d1中的(1)和(2)分别为手机的通话界面和平板电脑的原始界面,此时,手机又接收到一路来电,通话冲突处理后手机和平板电脑的界面显示如图4d1中的(3)和(4)所示。本申请实施例中,通话冲突处理后平板电脑的界面也可以以弹窗信息的方式,输出来电冲突的提示,如图4d2所示。该来电冲突提示的输出过程可参考S407、S409-S410的描述。
在手机接听了一路来电的情况下,说明用户的精力集中在手机端,然而手机不支持双通话功能,这种情况下,平板电脑输出来电冲突的提示,以达到提示用户的目的。另外,在手机的通话界面无提示,在状态栏显示用户新来电通知,产生未接听的通话记录,使得用户及时发现通话冲突的来电,提高用户的使用体验。
S411,手机将SIM卡2的数据发送给平板电脑。其中,平板电脑具有调制解调功能。
本申请实施例中,手机可以在通过SIM卡1接听一路电话后,执行步骤S411,将SIM卡2的数据发送给平板电脑,也可以在平板电脑拨打电话后,将SIM卡2的数据发送给平板电脑,对此不进行限定。
S412,平板电脑向远端设备发送针对SIM卡2的去电事件。
如上述场景5的情况,平板电脑基于SIM卡2的数据注册了运营商网络,可以理解为,在平板电脑上生成原生通话服务模块。平板电脑的原生通话服务模块直接向远端设备发送针对SIM卡2的去电事件,并启动去电界面,以提示用户去电。此去电并不是分布式去电。
参考图4e,图4e示例性示出了平板电脑的去电界面。图4e中的(1)和(2)分别为手机的通话界面和平板电脑的原始界面,此时,平板电脑拨打电话,通话冲突处理后手机界面显示不变,如图4e中的(1)所示,通话冲突处理后平板电脑的界面显示如图4e中的(3)所示。该来电冲突提示的输出过程可参考S411-412的描述。
在手机通过一张SIM卡接听了一路来电的情况下,可以将另一张SIM卡的数据发送给平板电脑,进而实现用户可以使用另一张SIM卡,与远端设备进行通话,以最大限度的满足用户的通话需求,提高用户的使用体验。
场景二:平板电脑接听了一路来电的情况下存在通话冲突的场景。
参考图5a1和图5a2,图5a1和图5a2示出了本申请实施例的一场景下的分布式通话冲突处理方法的交互流程图。该方法应用于由手机、平板电脑和PC组成的系统中,如图5a1和图5a2所示,包括手机、平板电脑和PC,其中手机包括显示屏41、原生通话服务模块42、分布式框架43和近场服务模块44。平板电脑/PC包括近场服务模块51、分布式框架52和显示屏53。其中,分布式框架又可以称为分布式通话服务模块。如图5a1和图5a2所示,该流程图包括S501-S512。
S501,手机、平板电脑和PC处于近场连接。
手机、平板电脑和PC接入同一Wi-Fi。以手机和平板电脑为例,如图5a1和图5a2所示,手机和平板电脑分别通过近场服务模块44和近场服务模块51,通过近场服务发现协议,建立近场连接,同理,手机和PC、PC和平板电脑建立近场连接。
在本申请的实施例中,在手机和平板电脑能够同时实现针对SIM卡1的来电事件的提示后,平板电脑接听来电事件,实现平板电脑通过SIM卡1与远端设备进行通话。此时,平板电脑会向手机发送接听来电事件的事件信息,手机基于接收的事件信息记录SIM卡1的状态标识为第一标识,并记录平板电脑的状态标识为第三标识,第一标识指示SIM卡1被占用,第三标识指示平板电脑被占用。
S502,其他远端设备下发针对SIM卡1的来电信号,手机获得该来电信号。其中,远端设备可以为服务器或手机等。
在本申请的实施例中,如上述场景6和场景8的情况,手机可以通过如图2a中的移动通信模块150获得针对SIM卡1的来电信号,并由原生通话服务模块42生成针对SIM卡1的来电事件。
S503,手机向平板电脑发送针对SIM卡1的来电事件。
可选的,手机的原生通话服务模块42未检测到手机通过SIM卡1与其他远端设备建立通话连接,将针对SIM卡1的来电事件发送给分布式框架43,不启动来电界面。分布式框架43检测到SIM卡1的状态标识为第一标识,且平板电脑的状态标识为第三标识,即平板电脑通过SIM卡1与其他远端设备建立通话连接,则通过近场服务模块44和近场服务模块51,将该来电事件同步给的平板电脑的分布式框架52,且不通知PC来电事件。
可选的,手机的原生通话服务模块42检测到SIM卡1的状态标识为第一标识,且平板电脑的状态标识为第三标识,即平板电脑通过SIM卡1与其他远端设备建立通话连接,将针对SIM卡1的来电事件发送给分布式框架43,不启动来电界面。分布式框架43通过近场服务模块44和近场服务模块51,将该来电事件同步给的平板电脑的分布式框架52,且不通知PC来电事件。
S504,平板电脑输出来电冲突的提示。
平板电脑的分布式框架52检测到平板电脑通过SIM卡1与其他远端设备建立通话连接,可确定存在通话冲突,通过显示屏53输出来电冲突的提示,如启动来电界面、响铃等,以提醒用户分布式来电冲突。
参考图5b1,图5b1示例性示出了平板电脑的来电冲突提示界面。图5b1中的(1)为平板电脑的通话界面,此时,手机又接收到一路来电,则出现来电冲突,图5b1中的(2) 为平板电脑的来电冲突提示界面,来电冲突提示的输出过程可参考S502-S504的描述。基于图5b1输出的来电冲突提示,用户可以接听或挂断新的来电,若用户接听新的来电,旧的来电保持通话,则平板电脑的通话界面可参见图5b2所示。
在平板电脑接听了一路来电的情况下,说明用户的精力集中在平板电脑端,通过平板电脑输出来电冲突的提示,而不通知PC,可以有效起到提醒用户来电冲突的目的,且减低对PC的使用的影响,提高用户的使用体验。
S505,PC向手机发送针对SIM卡1的去电事件。
如上述场景7的情况,用户在PC上向PC输入电话号码,并通过SIM卡1拨打电话。基于用户拨打电话的操作,PC的分布式框架生成针对SIM卡1的去电事件,并通过PC的显示屏显示去电界面。另外,PC的分布式框架通过PC的近场服务模块和近场服务模块44,向手机的分布式框架43发送去电事件。具体可参考上述步骤S404部分的描述。
S506,手机获取SIM卡1的状态信息,并将SIM卡1的状态信息反馈给PC。
分布式框架43将去电事件发送至原生通话服务模块42,调用原生通话服务模块42获取SIM卡1的状态信息(如上述第一标识,SIM卡1处于通话状态),并通过PC的近场服务模块和近场服务模块44,将SIM卡1的状态信息反馈给PC的分布式框架。
S507,PC关闭去电界面,输出去电失效的提示。
PC的分布式框架关闭PC的显示屏显示的去电界面,并控制PC的显示屏输出去电失效的提示界面。
参考图5c,图5c示例性示出了PC的去电失效提示界面。图5c中的(1)为平板电脑的通话界面,此时,PC拨打电话,PC的去电界面如图5c中的(2)所示,在确定存在去电冲突的情况下,PC关闭去电界面,显示去电失效提示界面,如图5c中的(3)所示,去电冲突提示的输出过程可参考S505-S507的描述。
在平板电脑接听了一路来电的情况下,若PC拨打电话,则存在去电冲突的问题,PC输出去电失效的提示,避免PC端的用户做无效的等待,也避免了对平板电脑端的通话的影响,提高了用户的使用体验。
S508,其他远端设备下发针对SIM卡2的来电信号,手机获得该来电信号。
在本申请的实施例中,手机可以通过如图2a中的SIM卡接口195连接1个或N个SIM卡,例如,通过SIM卡接口195连接SIM卡1和SIM卡2。
如场景9的情况,手机可以通过如图2a中的移动通信模块150获得针对SIM卡2的来电信号,并由原生通话服务模块42生成针对SIM卡2的来电事件。
S509,手机将SIM卡2的数据发送给PC,并向PC发送针对SIM卡2的来电事件。其中,PC具有调制解调功能。
可选的,手机的原生通话服务模块42未检测到手机与其他远端设备建立通话连接,将针对SIM卡2的来电事件发送给分布式框架43,分布式框架43检测到平板电脑通过SIM卡1与远端设备建立通话连接,获取SIM卡2的数据,并通过PC的近场服务模块和近场服务模块44,将SIM卡2的数据以及针对SIM卡2的来电事件反馈给PC的分布式框架。
可选的,手机的原生通话服务模块42检测到平板电脑通过SIM卡1与远端设备建立 通话连接,将针对SIM卡2的来电事件发送给分布式框架43,分布式框架43获取SIM卡2的数据,将SIM卡2的数据以及针对SIM卡2的来电事件反馈给PC的分布式框架。
本申请实施例中,分布式框架43可以直接从SIM卡2中获取SIM卡2的数据,也可以由原生通话服务模块42从SIM卡2中获取SIM卡2的数据,并将获得的SIM卡2的数据发送给分布式框架43,对此不进行限定。
此时,PC的分布式框架基于SIM卡2的数据,利用空闲的SIM卡槽,注册运营商网络,使得PC的具有SIM卡2的通话能力。
另外,手机的显示屏41不启动来电界面,即在通话界面无提示,在状态栏显示用户新来电通知,同时产生未接听的通话记录。
S510,PC输出来电冲突的提示。
PC的分布式框架控制PC的显示屏输出来电冲突的提示界面。
参考图5d1,图5d1示例性示出了PC的来电冲突提示界面。图5d1中的(1)、(2)和(3)分别为平板电脑的通话界面、PC的原始界面和手机的原始界面,此时,手机又接收到一路来电,通话冲突处理后手机和PC的界面显示如图5d1中的(4)和(5)所示。本申请实施例中,通话冲突处理后平板电脑的界面也可以以弹窗信息的方式,输出来电冲突的提示,如图5d2所示。该来电冲突提示的输出过程可参考S508-S510的描述。
在平板电脑接听了一路来电的情况下,说明用户的精力集中在平板电脑端,这种情况下,PC输出来电冲突的提示,以达到提示用户的目的。另外,在手机的通话界面无提示,在状态栏显示用户新来电通知,产生未接听的通话记录,并使得用户及时发现通话冲突的来电,提高用户的使用体验。
S511,手机将SIM卡2的数据发送给PC。其中,PC具有调制解调功能。
本申请实施例中,手机可以在通过SIM卡1接听一路电话后,执行步骤S511,将SIM卡2的数据发送给PC,也可以在PC拨打电话后,将SIM卡2的数据发送给PC,对此不进行限定。
S512,PC向远端设备发送针对SIM卡2的去电事件。
如上述场景10的情况,PC基于SIM卡2的数据注册了运营商网络,可以理解为,在PC上生成了原生通话服务模块。PC的原生通话服务模块直接向远端设备发送针对SIM卡2的去电事件,与远端设备建立通话连接。
参考图5e,图5e示例性示出了PC的去电界面。图5e中的(1)和(2)分别为平板电脑的通话界面和PC的原始界面,此时,PC拨打电话,通话冲突处理后手机界面显示不变,如图5e中的(1)所示,通话冲突处理后PC的界面显示如图5e中的(3)所示。该来电冲突提示的输出过程可参考S511-512的描述。
在平板电脑通过一张SIM卡接听了一路来电的情况下,可以将另一张SIM卡的数据发送给PC,进而实现用户可以使用另一张SIM卡,与远端设备进行通话,以最大限度的满足用户的通话需求,提高用户的使用体验。
在一些实施例中,本申请实施例还提供一种第二电子设备(如平板电脑)获取第二SIM卡(SIM卡2)的数据的流程示意图,如图6所示,该流程图包括S601-S606。
S601,手机向平板电脑发送第一请求,该第一请求用于获取调制解调功能状态。
本申请实施例中,手机或PC等通过SIM卡1与远端设备建立通话连接之后,手机向平板电脑发送获取调制解调功能状态的请求,即第一请求。
S602,平板电脑检测到调制解调功能为可用状态,向手机发送第二请求,该第二请求用于获取SIM卡2的数据。
S603,手机基于第二请求,向平板电脑发送SIM卡2的数据。
平板电脑基于SIM卡2的数据,利用空闲的SIM卡槽,注册运营商网络,使得平板电脑的具有SIM卡2的通话能力。这种情况下,平板电脑可以利用SIM卡2的通话能力,与远端设备建立通话连接。
S604,平板电脑使用SIM卡2的通话能力去电。
平板电脑可以利用SIM卡2的通话能力,与远端设备建立通话连接,进而进行通话。
S605,平板电脑向手机同步SIM卡2的去电信息。
S606,手机基于去电信息生成SIM卡2的通话记录。
本申请实施例中,用户使用手机的频率要高于平板电脑,将SIM卡2的去电信息同步至手机,以生成通话记录,便于及时提醒用户去电信息,提高用户的使用体验。
本申请实施例提供的获取SIM卡2的数据的流程适用于上述场景4、场景5、场景9和场景10中SIM卡2的数据的获取,在此不进行赘述。
参考图7,本申请实施例还提供一种电子设备,包括:
存储器701,用于存储由设备的一个或多个处理器执行的指令,以及
处理器702,用于执行上述实施例中结合图4a1、图4a2、图5a1和图5a2所解释的方法。
本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质存储有计算机程序,计算机程序被电子设备运行时,使得处理器执行上述实施例中图4a1、图4a2、图5a1和图5a2所解释的方法。
本申请实施例还提供一种包含指令的计算机程序产品,当该计算机程序产品在电子设备上运行时,使得处理器执行上述实施例中图4a1、图4a2、图5a1和图5a2所示的方法。
本申请实施例还提供一种分布式通话冲突处理系统,如图8所示,包括;
第一电子设备801,用于执行上述实施例中图4a1、图4a2、图5a1和图5a2的第一电子设备执行的方法;
第二电子设备802,用于执行上述实施例中图4a1、图4a2、图5a1和图5a2的第二电子设备执行的方法。
图9所示为根据本申请的一个实施例的SoC(System on Chip,片上系统)的框图。在图9中,相似的部件具有同样的附图标记。另外,虚线框是更先进的SoC的可选特征。在图9中,SoC包括:互连单元905,其被耦合至应用处理器901;系统代理单元907;总线控制器单元908;集成存储器控制器单元904;一组或一个或多个协处理器902,其可包括集成图形逻辑、图像处理器、音频处理器和视频处理器;静态随机存取存储器(Static Random Access Memory,SRAM)单元903;直接存储器存取(Direct Memory Access,DMA)单元 906。在一个实施例中,协处理器902包括专用处理器,诸如例如网络或通信处理器、压缩引擎、通用图形处理器(General-Purpose computing on Graphics Processing Units,GPGPU)、高吞吐量集成众核(Many Integrated Core,MIC)处理器、或嵌入式处理器等。
SRAM单元903中可以包括用于存储数据和/或指令的一个或多个计算机可读介质。计算机可读存储介质中可以存储有指令,具体而言,存储有该指令的暂时和永久副本。该指令可以包括:由处理器中的至少一个单元执行时使SoC执行根据上述实施例中的分布式通话冲突处理方法,具体可参照上述实施例中图4a1、图4a2、图5a1和图5a2所解释的方法,在此不再赘述。
本申请公开的机制的各实施例可以被实现在硬件、软件、固件或这些实现方法的组合中。本申请的实施例可实现为在可编程系统上执行的计算机程序或程序代码,该可编程系统包括至少一个处理器、存储系统(包括易失性和非易失性存储器和/或存储元件)、至少一个输入设备以及至少一个输出设备。
可将程序代码应用于输入指令,以执行本申请描述的各功能并生成输出信息。可以按已知方式将输出信息应用于一个或多个输出设备。为了本申请的目的,处理系统包括具有诸如例如数字信号处理器(Digital Signal Processor,DSP)、微控制器、专用集成电路(Application Specific Integrated Circuit,ASIC)或微处理器之类的处理器的任何系统。
程序代码可以用高级程序化语言或面向对象的编程语言来实现,以便与处理系统通信。在需要时,也可用汇编语言或机器语言来实现程序代码。事实上,本申请中描述的机制不限于任何特定编程语言的范围。在任一情形下,该语言可以是编译语言或解释语言。
在一些情况下,所公开的实施例可以以硬件、固件、软件或其任何组合来实现。所公开的实施例还可以被实现为由一个或多个暂时或非暂时性机器可读(例如,计算机可读)存储介质承载或存储在其上的指令,其可以由一个或多个处理器读取和执行。例如,指令可以通过网络或通过其他计算机可读存储介质分发。因此,机器可读存储介质可以包括用于以机器(例如,计算机)可读的形式存储或传输信息的任何机制,包括但不限于,软盘、光盘、光碟、光盘只读存储器(Compact Disc Read Only Memory,CD-ROMs)、磁光盘、只读存储器(Read Only Memory,ROM)、随机存取存储器(RAM)、可擦除可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、电可擦除可编程只读存储器(Electrically Erasable Programmable Read Only Memory,EEPROM)、磁卡或光卡、闪存、或用于利用因特网以电、光、声或其他形式的传播信号来传输信息(例如,载波、红外信号数字信号等)的有形的机器可读存储器。因此,机器可读存储介质包括适合于以机器(例如,计算机)可读的形式存储或传输电子指令或信息的任何类型的机器可读存储介质。
在附图中,可以以特定布置和/或顺序示出一些结构或方法特征。然而,应该理解,可能不需要这样的特定布置和/或排序。而是,在一些实施例中,这些特征可以以不同于说明书附图中所示的方式和/或顺序来布置。另外,在特定图中包括结构或方法特征并不意味着暗示在所有实施例中都需要这样的特征,并且在一些实施例中,可以不包括这些特征或者可以与其他特征组合。
需要说明的是,本申请各设备实施例中提到的各单元/模块都是逻辑单元/模块,在物 理上,一个逻辑单元/模块可以是一个物理单元/模块,也可以是一个物理单元/模块的一部分,还可以以多个物理单元/模块的组合实现,这些逻辑单元/模块本身的物理实现方式并不是最重要的,这些逻辑单元/模块所实现的功能的组合才是解决本申请所提出的技术问题的关键。此外,为了突出本申请的创新部分,本申请上述各设备实施例并没有将与解决本申请所提出的技术问题关系不太密切的单元/模块引入,这并不表明上述设备实施例并不存在其它的单元/模块。
需要说明的是,在本专利的示例和说明书中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
虽然通过参照本申请的某些优选实施例,已经对本申请进行了图示和描述,但本领域的普通技术人员应该明白,可以在形式上和细节上对其作各种改变,而不偏离本申请的精神和范围。

Claims (28)

  1. 一种分布式通话冲突处理方法,应用于包括第一电子设备和第二电子设备的系统,其中,所述第一电子设备与所述第二电子设备处于近场连接,所述第一电子设备为具有电话呼叫功能的设备,所述第一电子设备具有第一SIM卡,其特征在于,所述方法包括:
    所述第一电子设备接收来自呼叫方的来电事件,并获取所述来电事件中的来电SIM卡标识;
    若所述来电SIM卡标识指示的SIM卡为第一SIM卡,且所述第一SIM卡的状态标识指示所述第一SIM卡被占用,所述第二电子设备的状态标识指示所述第二电子设备被占用,则所述第一电子设备向所述第二电子设备发送所述来电事件;
    所述第二电子设备输出来电冲突的提示。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    若所述来电SIM卡标识指示的SIM卡为第一SIM卡,且所述第一SIM卡的状态标识指示所述第一SIM卡被占用,所述第一电子设备的状态标识指示所述第一电子设备被占用,则所述第一电子设备输出来电冲突的提示。
  3. 根据权利要求1所述的方法,其特征在于,所述系统还包括第三电子设备,所述第三电子设备为具有调制解调功能的设备,所述第一电子设备还具有第二SIM卡,所述方法还包括:
    若所述来电SIM卡标识指示的SIM卡为第二SIM卡,且所述第一SIM卡的状态标识指示所述第一SIM卡被占用,所述第二电子设备的状态标识指示所述第二电子设备被占用,则所述第一电子设备将所述第二SIM卡的数据发送给第三电子设备,并向所述第三电子设备发送所述来电事件;
    所述第三电子设备利用所述第二SIM卡的数据,输出来电提示。
  4. 根据权利要求1所述的方法,其特征在于,所述第一电子设备还具有第二SIM卡,所述方法还包括:
    若所述来电SIM卡标识指示的SIM卡为第二SIM卡,且所述第一SIM卡的状态标识指示所述第一SIM卡被占用,所述第一电子设备的状态标识指示所述第一电子设备被占用,则所述第一电子设备输出来电冲突的提示。
  5. 根据权利要求1所述的方法,其特征在于,所述第二电子设备为具有调制解调功能的设备,所述第一电子设备还具有第二SIM卡,所述方法还包括:
    若所述来电SIM卡标识指示的SIM卡为第二SIM卡,且所述第一SIM卡的状态标识指示所述第一SIM卡被占用,所述第一电子设备的状态标识指示所述第一电子设备被占用,则所述第一电子设备将所述第二SIM卡的数据发送给所述第二电子设备,并向所述第二电子设备发送所述来电事件;
    所述第二电子设备利用所述第二SIM卡的数据,输出来电提示。
  6. 根据权利要求3或5所述的方法,其特征在于,所述方法还包括:
    若所述来电SIM卡标识指示的SIM卡为第二SIM卡,且所述第一SIM卡的状态标识指示所述第一SIM卡被占用,则所述第一电子设备在状态栏显示新来电通知,并生成针对 所述来电事件的未接听通话记录。
  7. 根据权利要求1-5任一项所述的方法,其特征在于,所述方法还包括:
    所述第二电子设备向所述第一电子设备发送去电事件;
    所述第一电子设备接收所述去电事件,并获取所述去电事件中的去电SIM卡标识;
    若所述去电SIM卡标识指示的SIM卡为第一SIM卡,且所述第一SIM卡的状态标识指示所述第一SIM卡被占用,则所述第一电子设备向所述第二电子设备发送状态信息,其中,所述状态信息包括所述第一SIM卡处于通话状态;
    所述第二电子设备基于所述状态信息,输出去电失效的提示。
  8. 根据权利要求1-5任一项所述的方法,其特征在于,所述第二电子设备为具有调制解调功能的电子设备,所述第一电子设备还具有第二SIM卡,所述方法还包括:
    所述第一电子设备将所述第二SIM卡的数据发送给所述第二电子设备;
    所述第二电子设备利用所述第二SIM卡的数据,向其他设备发送去电事件。
  9. 根据权利要求8所述的方法,其特征在于,所述方法还包括:
    所述第二电子设备向所述第一电子设备发送所述去电事件的去电信息;
    所述第一电子设备基于所述去电信息,生成针对所述第二SIM卡的通话记录。
  10. 根据权利要求1-5任一项所述的方法,其特征在于,所述第一电子设备包括第一分布式框架,所述第二电子设备包括第二分布式框架;
    所述第一电子设备通过所述第一分布式框架与所述第二电子设备的第二分布式框架通信,以使所述第一电子设备和所述第二电子设备同步接收所述呼叫方的来电事件。
  11. 一种分布式通话冲突处理方法,应用于第一电子设备,所述第一电子设备与第二电子设备属于同一系统,所述第一电子设备为具有电话呼叫功能的设备,所述第一电子设备具有第一SIM卡,其特征在于,所述方法包括:
    所述第一电子设备接收来自呼叫方的来电事件,并获取所述来电事件中的来电SIM卡标识;
    若所述来电SIM卡标识指示的SIM卡为第一SIM卡,且所述第一SIM卡的状态标识指示所述第一SIM卡被占用,所述第二电子设备的状态标识指示所述第二电子设备被占用,则所述第一电子设备向所述第二电子设备发送所述来电事件,以使所述第二电子设备输出来电冲突的提示。
  12. 根据权利要求11所述的方法,其特征在于,所述方法还包括:
    若所述来电SIM卡标识指示的SIM卡为第一SIM卡,且所述第一SIM卡的状态标识指示所述第一SIM卡被占用,所述第一电子设备的状态标识指示所述第一电子设备被占用,则所述第一电子设备输出来电冲突的提示。
  13. 根据权利要求11所述的方法,其特征在于,所述系统还包括第三电子设备,所述第三电子设备为具有调制解调功能的设备,所述第一电子设备还具有第二SIM卡,所述方法还包括:
    若所述来电SIM卡标识指示的SIM卡为第二SIM卡,且所述第一SIM卡的状态标识指示所述第一SIM卡被占用,所述第二电子设备的状态标识指示所述第二电子设备被占用, 则所述第一电子设备将所述第二SIM卡的数据发送给第三电子设备,并向所述第三电子设备发送所述来电事件,以使所述第三电子设备利用所述第二SIM卡的数据,输出来电提示。
  14. 根据权利要求11所述的方法,其特征在于,所述第一电子设备还具有第二SIM卡,所述方法还包括:
    若所述来电SIM卡标识指示的SIM卡为第二SIM卡,且所述第一SIM卡的状态标识指示所述第一SIM卡被占用,所述第一电子设备的状态标识指示所述第一电子设备被占用,则所述第一电子设备输出来电冲突的提示。
  15. 根据权利要求11所述的方法,其特征在于,所述第二电子设备为具有调制解调功能的设备,所述第一电子设备还具有第二SIM卡,所述方法还包括:
    若所述来电SIM卡标识指示的SIM卡为第二SIM卡,且所述第一SIM卡的状态标识指示所述第一SIM卡被占用,所述第一电子设备的状态标识指示所述第一电子设备被占用,则所述第一电子设备将所述第二SIM卡的数据发送给所述第二电子设备,并向所述第二电子设备发送所述来电事件,以使所述第二电子设备利用所述第二SIM卡的数据,输出来电提示。
  16. 根据权利要求13或15所述的方法,其特征在于,所述方法还包括:
    若所述来电SIM卡标识指示的SIM卡为第二SIM卡,且所述第一SIM卡的状态标识指示所述第一SIM卡被占用,则所述第一电子设备在状态栏显示新来电通知,并生成针对所述来电事件的未接听通话记录。
  17. 根据权利要求11-15任一项所述的方法,其特征在于,所述方法还包括:
    所述第一电子设备接收所述第二电子设备发送的去电事件,并获取所述去电事件中的去电SIM卡标识;
    若所述去电SIM卡标识指示的SIM卡为第一SIM卡,且所述第一SIM卡的状态标识指示所述第一SIM卡被占用,则所述第一电子设备向所述第二电子设备发送状态信息,其中,所述状态信息包括所述第一SIM卡处于通话状态,以使所述第二电子设备基于所述状态信息,输出去电失效的提示。
  18. 根据权利要求11-15任一项所述的方法,其特征在于,所述第二电子设备为具有调制解调功能的电子设备,所述第一电子设备还具有第二SIM卡,所述方法还包括:
    所述第一电子设备将所述第二SIM卡的数据发送给所述第二电子设备,以使所述第二电子设备利用所述第二SIM卡的数据,向其他设备发送去电事件。
  19. 根据权利要求18所述的方法,其特征在于,所述方法还包括:
    所述第一电子设备接收所述第二电子设备发送的所述去电事件的去电信息;
    所述第一电子设备基于所述去电信息,生成针对所述第二SIM卡的通话记录。
  20. 一种分布式通话冲突处理方法,应用于第二电子设备,所述第二电子设备与第一电子设备属于同一系统,所述第一电子设备为具有电话呼叫功能的设备,所述第一电子设备具有第一SIM卡,其特征在于,所述方法包括:
    所述第二电子设备接收所述第一电子设备发送的来电事件,所述来电事件为所述第一电子设备接收的来自呼叫方的来电事件,且所述来电事件中的来电SIM卡标识指示的SIM 卡为第一SIM卡,所述第一SIM卡的状态标识指示所述第一SIM卡被占用,所述第二电子设备的状态标识指示所述第二电子设备被占用;
    所述第二电子设备输出来电冲突的提示。
  21. 根据权利要求20所述的方法,其特征在于,所述第二电子设备为具有调制解调功能的设备,所述第一电子设备还具有第二SIM卡,所述方法还包括:
    所述第二电子设备接收所述第一电子设备发送的所述第二SIM卡的数据,并接收所述第一电子设备发送的来电事件,所述来电事件为所述第一电子设备接收的来自呼叫方的来电事件,且所述来电事件中的来电SIM卡标识指示的SIM卡为第二SIM卡,所述第一SIM卡的状态标识指示所述第一SIM卡被占用,所述第一电子设备的状态标识指示所述第一电子设备被占用;
    所述第二电子设备利用所述第二SIM卡的数据,输出来电提示。
  22. 根据权利要求20或21所述的方法,其特征在于,所述方法还包括:
    所述第二电子设备向所述第一电子设备发送去电事件,以使所述第一电子设备在所述去电事件中的去电SIM卡标识指示的SIM卡为第一SIM卡,且所述第一SIM卡的状态标识指示所述第一SIM卡被占用的情况下,向所述第二电子设备发送状态信息,其中,所述状态信息包括所述第一SIM卡处于通话状态;
    所述第二电子设备基于所述状态信息,输出去电失效的提示。
  23. 根据权利要求20或21所述的方法,其特征在于,所述第二电子设备为具有调制解调功能的电子设备,所述第一电子设备还具有第二SIM卡,所述方法还包括:
    所述第二电子设备接收所述第一电子设备发送的所述第二SIM卡的数据;
    所述第二电子设备利用所述第二SIM卡的数据,向其他设备发送去电事件。
  24. 根据权利要求23所述的方法,其特征在于,所述方法还包括:
    所述第二电子设备向所述第一电子设备发送所述去电事件的去电信息,以使所述第一电子设备基于所述去电信息,生成针对所述第二SIM卡的通话记录。
  25. 一种电子设备,其特征在于,包括:
    存储器,用于存储由设备的一个或多个处理器执行的指令,以及
    处理器,用于执行所述指令,以使得所述电子设备执行权利要11-19任一所述的方法,或以使得所述电子设备执行权利要20-24任一所述的方法。
  26. 一种分布式通话冲突处理系统,其特征在于,包括;
    第一电子设备,用于执行权利要求11-19任一所述的方法;
    第二电子设备,用于执行权利要求20-24任一所述的方法。
  27. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序被电子设备运行时,使得所述电子设备执行权利要求11-19任一所述的方法或执行权利要求20-24任一所述的方法。
  28. 一种包含指令的计算机程序产品,其特征在于,当该计算机程序产品在电子设备上运行时,使得电子设备执行权利要求11-19任一所述的方法或执行权利要求20-24任一所述的方法。
PCT/CN2022/114933 2021-12-08 2022-08-25 分布式通话冲突处理方法、系统、电子设备及存储介质 WO2023103462A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP22902895.6A EP4346245A1 (en) 2021-12-08 2022-08-25 Distributed call conflict processing method and system, and electronic device and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111492320.XA CN116249081A (zh) 2021-12-08 2021-12-08 分布式通话冲突处理方法、系统、电子设备及存储介质
CN202111492320.X 2021-12-08

Publications (1)

Publication Number Publication Date
WO2023103462A1 true WO2023103462A1 (zh) 2023-06-15

Family

ID=86628269

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/114933 WO2023103462A1 (zh) 2021-12-08 2022-08-25 分布式通话冲突处理方法、系统、电子设备及存储介质

Country Status (3)

Country Link
EP (1) EP4346245A1 (zh)
CN (1) CN116249081A (zh)
WO (1) WO2023103462A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468962A (zh) * 2013-09-24 2015-03-25 联想(北京)有限公司 一种呼叫请求的处理方法及电子设备
US20160057593A1 (en) * 2014-08-19 2016-02-25 Samsung Electronics Co., Ltd. Method for controlling call forwarding information and electronic device thereof
CN109327621A (zh) * 2018-11-21 2019-02-12 Oppo广东移动通信有限公司 来电提醒的方法、装置、系统、设备及存储介质
CN110191241A (zh) * 2019-06-14 2019-08-30 华为技术有限公司 一种语音通信方法及相关装置
CN113572731A (zh) * 2021-06-18 2021-10-29 荣耀终端有限公司 语音通话方法、个人计算机和终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468962A (zh) * 2013-09-24 2015-03-25 联想(北京)有限公司 一种呼叫请求的处理方法及电子设备
US20160057593A1 (en) * 2014-08-19 2016-02-25 Samsung Electronics Co., Ltd. Method for controlling call forwarding information and electronic device thereof
CN109327621A (zh) * 2018-11-21 2019-02-12 Oppo广东移动通信有限公司 来电提醒的方法、装置、系统、设备及存储介质
CN110191241A (zh) * 2019-06-14 2019-08-30 华为技术有限公司 一种语音通信方法及相关装置
CN113572731A (zh) * 2021-06-18 2021-10-29 荣耀终端有限公司 语音通话方法、个人计算机和终端

Also Published As

Publication number Publication date
CN116249081A (zh) 2023-06-09
EP4346245A1 (en) 2024-04-03

Similar Documents

Publication Publication Date Title
WO2021164554A1 (zh) 通知处理系统、方法以及电子设备
WO2020134872A1 (zh) 一种消息处理的方法、相关装置及系统
WO2020119492A1 (zh) 消息处理方法及相关装置
WO2022257977A1 (zh) 电子设备的投屏方法和电子设备
WO2020077512A1 (zh) 语音通话方法、电子设备及系统
WO2021185141A1 (zh) Wi-Fi Aware的建链方法、系统、电子设备和存储介质
WO2022033296A1 (zh) 蓝牙通信方法、可穿戴设备及系统
US20230297414A1 (en) Task Processing Method and Related Apparatus
WO2021052204A1 (zh) 基于通讯录的设备发现方法、音视频通信方法及电子设备
WO2020211705A1 (zh) 一种联系人的推荐方法及电子设备
CN114079893A (zh) 蓝牙通信方法、终端设备及计算机可读存储介质
WO2022042637A1 (zh) 一种蓝牙数据传输方法及相关装置
WO2021073183A1 (zh) 始终显示方法及移动设备
WO2020134868A1 (zh) 一种连接建立方法及终端设备
WO2020151408A1 (zh) 一种显示联系人的方法及相关装置
WO2023071540A1 (zh) 基于分布式通话录音同步方法、电子设备及可读存储介质
WO2021147678A1 (zh) 一种数据传输的方法及电子设备
WO2023103462A1 (zh) 分布式通话冲突处理方法、系统、电子设备及存储介质
WO2022174746A1 (zh) 事件通知方法、蓝牙设备以及蓝牙系统
CN114338922B (zh) 视频播放方法和视频播放装置
WO2022042469A1 (zh) 视频电话的呼叫方法、终端设备以及存储介质
WO2020216144A1 (zh) 一种添加邮件联系人的方法和电子设备
WO2020140186A1 (zh) 无线音频系统、音频通讯方法及设备
WO2023160491A1 (zh) 通话方法、电子设备、网络设备及系统
WO2023088106A1 (zh) 降低功耗的方法和电子设备

Legal Events

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

Ref document number: 22902895

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2022902895

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2022902895

Country of ref document: EP

Effective date: 20231228