WO2024066837A1 - 一种来电提示方法及电子设备 - Google Patents

一种来电提示方法及电子设备 Download PDF

Info

Publication number
WO2024066837A1
WO2024066837A1 PCT/CN2023/114809 CN2023114809W WO2024066837A1 WO 2024066837 A1 WO2024066837 A1 WO 2024066837A1 CN 2023114809 W CN2023114809 W CN 2023114809W WO 2024066837 A1 WO2024066837 A1 WO 2024066837A1
Authority
WO
WIPO (PCT)
Prior art keywords
incoming call
tablet computer
information
preset
state
Prior art date
Application number
PCT/CN2023/114809
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 荣耀终端有限公司
Publication of WO2024066837A1 publication Critical patent/WO2024066837A1/zh

Links

Classifications

    • 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/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • 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/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • 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
    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Definitions

  • the present application relates to the field of communication technology, and in particular to an incoming call prompt method and electronic device.
  • the mobile phone receives an incoming call, due to some reasons (such as the mobile phone is not around the user), the user does not find the incoming call, so the incoming call of the mobile phone is not answered in time, resulting in the problem of missed calls.
  • the present application provides an incoming call prompt method and an electronic device to avoid the problem of incoming call leakage.
  • the present application provides an incoming call prompt method, which is applied to a first device in a distributed call system, and the distributed call system also includes at least one second device.
  • the first device establishes a connection with each second device in the at least one second device based on a near field communication method.
  • the first device receives an incoming call request, and the incoming call request includes a caller phone number.
  • the first device obtains the first device status of each second device respectively; the first device status of the second device indicates whether the second device meets different preset vibration conditions;
  • the first device sends a same-ringing message to the second device, so that the second device prompts an incoming call;
  • the same-ringing message includes incoming call information, and the incoming call information includes the calling phone number;
  • the preset different-ringing condition indicates that the second device is not used by the owner of the first device;
  • the first device When the second device meets the preset different-ringing condition, the first device does not send the same-ringing message to the second device, and the second device that has not received the same-ringing message does not issue an incoming call prompt.
  • a first device when a first device receives an incoming call, it can first query the first device status of a second device in the distributed call system where the first device is located. After that, the first device determines whether the second device does not meet the preset different vibration condition according to the first device status of the second device, that is, determines whether the second device is used by the owner of the first device.
  • the second device When the second device does not meet the preset different vibration condition, it indicates that the second device is used by the owner of the first device, and the second device can be triggered to perform simultaneous ringing of incoming calls, so as to achieve effective simultaneous ringing of incoming calls of multiple devices, which can not only enable the owner of the first device to find the incoming call of the first device in time, avoid the problem of missed calls, but also avoid the waste of resources caused by invalid call prompts.
  • the second device meets the preset different vibration condition, it indicates that the second device is not used by the owner of the first device. At this time, even if the second device is triggered to perform simultaneous ringing of incoming calls, the owner of the first device may still not find the incoming call of the first device. The first device may not trigger the second device to perform a call prompt, thereby effectively avoiding invalid call prompts and reducing the waste of resources.
  • the preset different vibration conditions include: the second device is in a locked screen state, the second device is in a screen-off state, and the second device is in one or more of a first preset state; wherein, when the second device fails to collect the facial image or voiceprint data of the owner of the first device within a first preset time period, the second device is in the first preset state.
  • the screen of the device is generally on and unlocked when the user is using the device, when the second device is in the locked screen state and/or the off screen state, it indicates that the user is not using the second device, that is, it indicates that the owner of the first device is not using the second device, and the first device can consider that the second device meets the preset different vibration conditions.
  • the second device does not collect the facial image or voiceprint data of the owner of the first device within the first preset time
  • the first device can directly determine that the owner of the first device is not using the second device, that is, the first device can consider that the second device meets the preset different vibration conditions.
  • the first device when it obtains the first device status of the second device, it can send a device status query request to the second device based on a near field communication method, so that the second device determines the first device status of the second device; the first device receives the first device status of the second device returned by the second device, thereby actively querying the first device status of the second device.
  • the second device may report the first device status of the second device to the first device at every preset period.
  • the first device includes a first decision center and a first call service
  • each second device includes a second decision center and a second call service.
  • the first device sending a device status query request to the second device may be that the first decision center in the first device sends a device status query request to the second decision center in the second device, so that the second decision center in the second device determines the first device status of the second device.
  • the first device receiving the first device status of the second device returned by the second device may be that a first decision center in the first device receives the first device status of the second device returned by a second decision center in the second device.
  • the first decision center in the first device sends the first device status of the second device to the first call service in the first device, and the first call service determines whether the second device meets the preset different vibration condition based on the first device status of the second device.
  • the first call service sends a simultaneous vibration message to the second call service in the second device, so that the second call service in the second device prompts the incoming call.
  • the first call service does not send a simultaneous vibration message to the second call service in the second device.
  • the present application extracts the common operations (such as the first device status query operation) involved in distributed services (such as call services) to form a decision center, so that different services can reuse the functions of the decision center to achieve function reuse and ensure the decoupling between services.
  • the distributed services involved in the first device include SMS services and call services. Considering that both the SMS services and call services involve querying the first device status of the second device in the distributed call system. Therefore, relevant personnel extract the operation of querying the first device status of other electronic devices, that is, extract the relevant query code to form a decision center for the first device in the distributed call system.
  • One of the functions of the decision center in the first device is to query the first device status of the second device, so that when the first device is performing SMS services or call services, the SMS service or call service in the first device can use the function of the decision center in the first device to query the first device status of the second device to achieve Functional reuse.
  • the above-mentioned incoming call information also includes one or more of the region to which the calling number belongs, strange number indication information, operator information, tag information, and contact information;
  • the strange number indication information indicates that the calling number is a strange number
  • the tag information indicates that the calling number is a tag number;
  • the contact information includes one or more of the name, avatar, company, position, and remarks information of the contact to which the calling number belongs.
  • the first device sends a simultaneous ringing message carrying the incoming call information to the second device, and the second device can display the incoming call information when performing caller ID, so that the user can obtain the details of the incoming caller.
  • the present application provides a method for incoming call notification, which is applied to a second device in a distributed call system.
  • the distributed call system also includes a first device, and the first device and the second device establish a connection based on a near field communication method.
  • the second device sends a first device status of the second device to the first device, and the first device status is used to indicate whether the second device meets a preset different vibration condition, and the preset different vibration condition indicates whether the second device is used by the owner of the first device;
  • the second device receives a simultaneous ringing message sent by the first device; the simultaneous ringing message includes incoming call information, and the incoming call information includes the calling phone number in the incoming call request received by the first device; in response to the simultaneous ringing message, the second device issues an incoming call prompt according to the incoming call information.
  • the second device sends the first device status of the second device to the first device, so that when the first device receives an incoming call, it can determine whether the second device meets the preset different vibration condition according to the first device status of the second device, that is, determine whether the second device is used by the owner of the first device.
  • the second device does not meet the preset different vibration condition, it indicates that the second device is used by the owner of the first device, and a simultaneous vibration message is sent to the second device.
  • the second device prompts the incoming call according to the simultaneous vibration message, realizing effective simultaneous vibration of incoming calls of multiple devices, which can not only enable the owner of the first device using the second device to find the incoming call of the first device in time, avoiding the problem of missed calls, but also avoid the waste of resources caused by invalid incoming call prompts.
  • the above-mentioned incoming call prompt includes displaying an incoming call interface.
  • the process in which the above-mentioned second device responds to the simultaneous ringing message and displays the incoming call interface according to the incoming call information includes: when the contact information of the calling phone number is saved in the first device or the second device, it indicates that the calling phone number is a contact number. If it is displayed directly, it may involve the leakage of user privacy.
  • the second device hides the information to be displayed and displays the incoming call interface including the hidden information to be displayed.
  • the information to be displayed includes the calling phone number and/or the contact information of the calling phone number, thereby avoiding the leakage of user privacy.
  • the contact information of the calling phone number is not saved in the first device or the second device, indicating that the calling phone number is not a contact number. Even if it is displayed directly, it will not leak user privacy.
  • the second device displays the incoming call interface including the incoming call information.
  • the second device obtains the state of the second device, and the second device determines whether the second device satisfies a preset caller information hiding condition based on the state of the second device.
  • the preset caller information hiding condition indicates that the user of the second device is a person other than the owner of the first device. If the second device satisfies the preset caller information hiding condition, it indicates that the user of the second device is a person other than the owner of the first device, that is, if the information to be displayed is directly displayed, the privacy of the owner of the first device may be disclosed. Therefore, the second device hides the information to be displayed, thereby effectively hiding the information to be displayed.
  • the second device If the second device does not meet the preset caller information hiding condition, it indicates that the user of the second device There is no one other than the owner of the first device, that is, if the information to be displayed is directly displayed, the privacy of the owner of the first device will not be disclosed.
  • the second device displays the incoming call interface including the incoming call information.
  • the above-mentioned preset incoming call information hiding conditions include: the above-mentioned second device is in a projection state and/or the above-mentioned second device is in a second preset state; wherein, when the second device collects facial images or voiceprint data other than the owner of the first device within a second preset time period, the second device is in the second preset state.
  • the screen of the device when the device is in the screen projection state, the screen of the device is shared, and the incoming call interface displayed on the screen of the device is also shared. Therefore, the information to be displayed on the incoming call interface may be seen by others, resulting in the leakage of user privacy. Therefore, when the second device is in the screen projection state, it indicates that the user of the second device is someone other than the owner of the first device, and the second device can determine that the second device meets the preset incoming call information hiding conditions.
  • the second device can directly determine that the user of the second device is someone other than the owner of the first device, that is, the second device can determine that the second device meets the preset incoming call information hiding conditions.
  • the second device receives a device status query request sent by the first device.
  • the second device determines the first device status of the second device and sends the first device status of the second device to the first device, so that the first device can query the first device status of the second device.
  • the preset different vibration conditions include: the second device is in a locked screen state, the second device is in a screen-off state, and the second device is in one or more of a first preset state; wherein, when the second device fails to collect the facial image or voiceprint data of the owner of the first device within a first preset time period, the second device is in the first preset state.
  • the screen of the device is generally on and unlocked when the user is using the device, when the second device is in a locked screen state and/or an off screen state, it indicates that the user is not using the second device, that is, it indicates that the owner of the first device is not using the second device, and the second device meets the preset different vibration conditions.
  • the second device does not collect the face image or voiceprint data of the owner of the first device within the first preset time, it directly indicates that the owner of the first device is not using the second device, that is, the second device meets the preset different vibration conditions.
  • the second device controls the camera of the second device to collect images within a first preset time period, and performs face recognition on the collected images to obtain a face image of the user of the second device.
  • the second device obtains a face image of the owner of the first device.
  • the second device determines that the face image of the owner exists in the face image of the user, it indicates that the owner of the first device is using the second device. Therefore, the second device can determine that the second device is in the first preset state, thereby accurately determining the first preset state of the second device.
  • the present application provides a distributed call system, the distributed call system comprising a first device and at least one second device, the first device being connected to each second device in the at least one second device via a near field communication method;
  • the first device receives an incoming call request, wherein the incoming call request includes a calling phone number
  • the first device obtains the first device status of each of the second devices in response to the incoming call request; the first device status of the second device indicates whether the second device meets the preset different vibration conditions;
  • the first device sends a signal to the second device. sending the simultaneous ringing message; the simultaneous ringing message includes incoming call information, and the incoming call information includes the calling number; the preset different ringing condition indicates that the second device is not used by the owner of the first device;
  • the second device receives the simultaneous vibration message sent by the first device
  • the second device In response to the simultaneous ringing message, the second device issues an incoming call prompt according to the incoming call information.
  • the present application provides an electronic device, which is the above-mentioned first device, and the electronic device includes a display screen, a memory, one or more user identification module SIM card interfaces and one or more processors; the display screen, the memory, the SIM card interface and the processor are coupled; the SIM card interface is used to connect a SIM card, the display screen is used to display an image generated by the processor, and the memory is used to store computer program code, and the computer program code includes computer instructions; when the processor executes the computer instructions, the electronic device executes the method described in the first aspect above and any possible design method thereof.
  • the present application provides an electronic device, which is the second device mentioned above, and includes a display screen, a memory and one or more processors; the display screen, the memory and the processor are coupled; the display screen is used to display an image generated by the processor, and the memory is used to store computer program code, and the computer program code includes computer instructions; when the processor executes the computer instructions, the electronic device executes the method described in the second aspect above and any possible design method thereof.
  • the present application provides a computer-readable storage medium, comprising computer instructions.
  • the computer instructions When the computer instructions are executed on an electronic device, the electronic device executes the method described in the first aspect above and any possible design thereof.
  • the present application provides a computer-readable storage medium, comprising computer instructions.
  • the computer instructions When the computer instructions are executed on an electronic device, the electronic device executes the method described in the second aspect above and any possible design thereof.
  • the present application provides a computer program product, which, when executed on an electronic device, enables the electronic device to execute the method described in the first aspect and any possible design thereof.
  • the present application provides a computer program product, which, when executed on an electronic device, enables the electronic device to execute the method described in the second aspect and any possible design thereof.
  • beneficial effects that can be achieved by the distributed call system described in the third aspect, the electronic device described in the third aspect, the electronic device described in the fourth aspect, the computer storage medium described in the fifth aspect, and the computer program product described in the sixth aspect provided above can refer to the beneficial effects in the first aspect or the second aspect and any possible design method thereof, and will not be repeated here.
  • FIG1 is a schematic diagram of a distributed call system provided in an embodiment of the present application.
  • FIG2 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
  • FIG. 3 is a software structure block diagram of an electronic device provided in an embodiment of the present invention.
  • FIG4 is a flow chart of a method for prompting incoming calls provided in an embodiment of the present application.
  • FIG5 is a schematic diagram of an interface for setting a machine owner identification function provided in an embodiment of the present application.
  • FIG6 is a second flow chart of a method for prompting incoming calls provided in an embodiment of the present application.
  • FIG. 7 is a third flow chart of a method for prompting incoming calls provided in an embodiment of the present application.
  • FIG8 is a schematic diagram 1 of an incoming call interface provided in an embodiment of the present application.
  • FIG9 is a second schematic diagram of an incoming call interface provided in an embodiment of the present application.
  • FIG10 is a third schematic diagram of an incoming call interface provided in an embodiment of the present application.
  • FIG11 is a fourth schematic diagram of an incoming call interface provided in an embodiment of the present application.
  • FIG12 is a fifth schematic diagram of an incoming call interface provided in an embodiment of the present application.
  • FIG13 is a sixth schematic diagram of an incoming call interface provided in an embodiment of the present application.
  • FIG14 is a seventh schematic diagram of an incoming call interface provided in an embodiment of the present application.
  • FIG15 is a schematic diagram eight of an incoming call interface provided in an embodiment of the present application.
  • FIG16 is a fourth flow chart of a method for prompting incoming calls provided in an embodiment of the present application.
  • FIG17 is a flowchart diagram 5 of a method for prompting incoming calls provided in an embodiment of the present application.
  • FIG18 is a sixth flow chart of a method for prompting incoming calls provided in an embodiment of the present application.
  • FIG19 is a ninth schematic diagram of an incoming call interface provided in an embodiment of the present application.
  • FIG20 is a schematic diagram 10 of an incoming call interface provided in an embodiment of the present application.
  • Figure 21 is a schematic diagram of an answering interface provided in an embodiment of the present application.
  • first and second are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features.
  • a feature defined as “first” or “second” may explicitly or implicitly include one or more of the features.
  • plural means two or more.
  • a mobile phone when a mobile phone receives an incoming call, due to some reasons, the user may not answer the incoming call in time, resulting in a missed call. For example, when the user's mobile phone is not around the user, the user does not find the incoming call in time, so the incoming call is not answered in time.
  • other electronic devices in the distributed call system where the mobile phone 100 is located can also perform simultaneous ringing of incoming calls.
  • the mobile phone here is the main device in the distributed call system, and the mobile phone is connected to the other electronic devices respectively through near field communication, and the mobile phone and the other electronic devices are in the same local area network.
  • the distributed call system includes 1+8 devices within the near field range, the 1 device is a main device with a subscriber identification module (SIM) card, and the 8 devices are other electronic devices.
  • SIM subscriber identification module
  • the 8 devices When the main device receives an incoming call, the 8 devices perform simultaneous ringing of incoming calls to realize the incoming call prompt of multiple devices, so that the user can find the incoming call in time, so that the user can answer the call in time. And enable the user to answer the call through any electronic device in the distributed call system, which is convenient for the user to answer the call, so that the user can answer the call in time, avoid the problem of missing the incoming call of the mobile phone due to the inconvenience of the user to use the mobile phone to answer the call, so as to avoid the user missing important events due to missing important calls, and improve the user's satisfaction.
  • the present application provides a method for incoming call notification based on a distributed call system.
  • a master device 100 in the distributed call system receives an incoming call, it can first query the first device status of other electronic devices 200 in the distributed call system. Then, the master device determines whether the owner of the master device 100 is using the other electronic device 200 according to the first device status of the other electronic device 200.
  • the owner of the main device 100 may still not detect the incoming call of the main device 100. Therefore, in order to avoid wasting resources due to invalid call prompts, the main device 100 may not trigger the other electronic device 200 to vibrate.
  • the main device 100 triggers the other electronic device 200 to perform simultaneous ringing for incoming calls, thereby achieving effective simultaneous ringing for incoming calls of multiple devices, which not only enables the owner of the main device 100 to find incoming calls in time and avoid the problem of missed calls, but also reduces the waste of resources.
  • the main device 100 triggers the other electronic device 200 only when it is determined that the owner of the main device 100 is using the other electronic device 200, which can effectively ensure that the incoming call is answered by the owner of the main device 100, ensure the privacy and security of the call, and improve the user experience.
  • the master device 100 and other electronic devices 200 in the distributed call system in FIG. 1 are in the same local area network, and the master device 100 is connected to each other electronic device 200 through near field communication, that is, the other electronic devices 200 are in the trust loop of the master device 100.
  • the number of other electronic devices 200 in FIG. 1 is only an example, and the present application does not limit the number of other electronic devices 200.
  • the number of other electronic devices in the distributed call system can be 8.
  • the main device may be a mobile phone, a tablet computer, a wearable device (such as a smart watch) or other device equipped with a SIM card.
  • the other electronic devices may be mobile phones, tablet computers, blue ear headphones, laptop computers, wearable devices, vehicle terminals, personal digital assistants (PDAs), etc.
  • PDAs personal digital assistants
  • the other electronic devices may or may not have a SIM card, and this application does not limit them.
  • the structure of the host device or other electronic devices may refer to the structure of the electronic device 300 shown in FIG. 2 .
  • the electronic device 300 may include a processor 310, an external memory interface 320, an internal memory 321, a universal serial bus (USB) interface 330, a charging management module 340, a power management module 341, a battery 342, an antenna 1, an antenna 2, a mobile communication module 350, a wireless communication module 360, an audio module 370, a speaker 370A, a receiver 370B, a microphone 370C, an earphone interface 370D, a sensor module 380, a button 390, a motor 391, an indicator 392, a camera 393, a display screen 394, and a SIM card interface 395, etc.
  • a processor 310 an external memory interface 320, an internal memory 321, a universal serial bus (USB) interface 330, a charging management module 340, a power management module 341, a battery 342, an antenna 1, an antenna 2, a mobile communication module 350, a wireless communication module 360, an audio module 370, a speaker 370A, a receiver 370B, a microphone
  • the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 300.
  • the electronic device 300 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently.
  • the components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 310 may include one or more processing units, for example, the processor 310 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and/or a neural-network processing unit (NPU), etc.
  • AP application processor
  • GPU graphics processor
  • ISP image signal processor
  • controller a memory
  • video codec a digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • Different processing units may be independent devices or integrated into one or more processors.
  • the controller may be the nerve center and command center of the electronic device 300.
  • the controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
  • the processor 310 may also be provided with a memory for storing instructions and data.
  • the memory in the processor 310 is a high-speed cache memory.
  • the memory can store instructions or data that have just been used or cyclically used by the processor 310. If the processor 310 needs to use the instruction or data again, it can be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 310, and thus improves the efficiency of the system.
  • the processor 310 may include one or more interfaces.
  • the interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (SIM) interface, and/or a universal serial bus (USB) interface, etc.
  • I2C inter-integrated circuit
  • I2S inter-integrated circuit sound
  • PCM pulse code modulation
  • UART universal asynchronous receiver/transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB universal serial bus
  • the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration and does not constitute a structural limitation on the electronic device 300.
  • the electronic device 300 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
  • the charging management module 340 is used to receive charging input from a charger.
  • the power management module 341 is used to connect the battery 342, the charging management module 340 and the processor 310.
  • the power management module 341 receives input from the battery 342 and/or the charging management module 340 to power the processor 310, the internal memory 321, the external memory, the display screen 394, the camera 393, and the wireless communication module 360.
  • the wireless communication function of the electronic device 300 can be implemented through the antenna 1, the antenna 2, the mobile communication module 350, the wireless communication module 360, the modem processor and the baseband processor.
  • Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in the electronic device 300 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas.
  • antenna 1 can be reused as a diversity antenna for a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 350 can provide solutions for wireless communications including 2G/3G/4G/5G, etc., applied to the electronic device 300.
  • the mobile communication module 350 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc.
  • the mobile communication module 350 may receive electromagnetic waves from the antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
  • the mobile communication module 350 may also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1.
  • at least some of the functional modules of the mobile communication module 350 may be arranged in the processor 310.
  • at least some of the functional modules of the mobile communication module 350 may be arranged in the same device as at least some of the modules of the processor 310.
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal.
  • the demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the application processor outputs a sound signal through an audio device (not limited to a speaker 370A, a receiver 370B, etc.), or displays an image or video through a display screen 394.
  • the modem processor may be an independent device.
  • the modem processor may be independent of the processor 310 and be set in the same device as the mobile communication module 350 or other functional modules.
  • the wireless communication module 360 can provide the electronic device 300 with wireless local area network (WLAN).
  • the wireless communication module 360 can be one or more devices integrating at least one communication processing module.
  • the wireless communication module 360 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 310.
  • the wireless communication module 360 can also receive the signal to be sent from the processor 310, modulate the frequency of the signal, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
  • the antenna 1 of the electronic device 300 is coupled to the mobile communication module 350, and the antenna 2 is coupled to the wireless communication module 360, so that the electronic device 300 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and/or IR technology.
  • the GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and/or a satellite based augmentation system (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite based augmentation system
  • the electronic device 300 implements the display function through a GPU, a display screen 394, and an application processor.
  • the GPU is a microprocessor for image processing, which connects the display screen 394 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • the processor 310 may include one or more GPUs, which execute program instructions to generate or change display information.
  • the display screen 394 is used to display images, videos, etc.
  • the display screen 394 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diodes (QLED), etc.
  • the electronic device 300 may include 1 or N display screens 394, where N is a positive integer greater than 1.
  • the electronic device 300 can realize the shooting function through ISP, camera 393, video codec, GPU, display screen 394 and application processor.
  • the ISP is used to process data fed back by the camera 393.
  • the camera 393 is used to capture still images or videos.
  • Digital signal processors are used to process digital signals. In addition to processing digital image signals, they can also process other digital signals.
  • Video codecs are used to compress or decompress digital videos.
  • the NPU is a neural network (NN) computing processor.
  • the NPU can realize applications such as intelligent cognition of the electronic device 300, such as image recognition, face recognition, voice recognition, text understanding, etc.
  • the external memory interface 320 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 300.
  • an external memory card such as a Micro SD card
  • the internal memory 321 can be used to store computer executable program codes, and the executable program codes include Instructions.
  • the processor 310 executes various functional applications and data processing of the electronic device 300 by running instructions stored in the internal memory 321.
  • the internal memory 321 may include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.
  • the data storage area may store data created during the use of the electronic device 300 (such as audio data, a phone book, etc.), etc.
  • the internal memory 321 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
  • UFS universal flash storage
  • the electronic device 300 can implement audio functions such as music playing and recording through the audio module 370, the speaker 370A, the receiver 370B, the microphone 370C, the headphone jack 370D, and the application processor.
  • the audio module 370 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signal.
  • the audio module 370 can also be used to encode and decode audio signals.
  • the audio module 370 can be arranged in the processor 310, or some functional modules of the audio module 370 can be arranged in the processor 310.
  • the speaker 370A also called a "speaker" is used to convert an audio electrical signal into a sound signal.
  • the electronic device 300 can listen to music or listen to a hands-free call through the speaker 370A.
  • the receiver 370B also called a "earpiece" is used to convert audio electrical signals into sound signals.
  • the voice can be received by placing the receiver 370B close to the human ear.
  • Microphone 370C also called “microphone” or “microphone” is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to the microphone 370C to input the sound signal into the microphone 370C.
  • the electronic device 300 can be provided with at least one microphone 370C. In other embodiments, the electronic device 300 can be provided with two microphones 370C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 300 can also be provided with three, four or more microphones 370C to collect sound signals, reduce noise, identify the sound source, realize directional recording function, etc.
  • the headphone jack 370D is used to connect a wired headphone.
  • the sensor module 380 may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
  • the buttons 390 include a power button, a volume button, etc.
  • the motor 391 can generate a vibration prompt.
  • the motor 391 can be used for an incoming call vibration prompt or for touch vibration feedback.
  • Indicator 392 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.
  • the SIM card interface 395 is used to connect a SIM card.
  • the SIM card can be connected to and separated from the electronic device 300 by inserting it into the SIM card interface 395 or pulling it out from the SIM card interface 395.
  • the electronic device 300 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • the SIM card interface 395 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 395 at the same time. The types of the multiple cards can be the same or different.
  • the SIM card interface 395 can also be compatible with different types of SIM cards.
  • the SIM card interface 395 can also be compatible with external memory cards.
  • the electronic device 300 interacts with the network through the SIM card to implement functions such as calls and data communications.
  • the electronic device 300 uses an eSIM, i.e., an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 300 and cannot be separated from the electronic device 300.
  • the software system of the electronic device 300 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture.
  • the embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software structure of the electronic device 300.
  • FIG. 3 is a software structure block diagram of an electronic device 300 according to an embodiment of the present application.
  • the layered architecture divides the software into several layers, each with clear roles and division of labor.
  • the layers communicate with each other through software interfaces.
  • the Android TM system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android TM runtime and system library, and the kernel layer.
  • the application layer can include a series of application packages.
  • the application package may include applications such as camera, gallery, calendar, call interface, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
  • the call interface application is responsible for managing interfaces related to calls, such as displaying an incoming call interface, an answering interface, etc.
  • the application framework layer provides application programming interface (API) and programming framework for the applications in the application layer.
  • API application programming interface
  • the application framework layer includes some predefined functions.
  • the application framework layer may include a window manager, a content provider, a view system, a call service, a resource manager, a notification manager, a decision center, and the like.
  • the window manager is used to manage window programs.
  • the window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.
  • Content providers are used to store and retrieve data and make it accessible to applications.
  • the data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
  • the view system includes visual controls, such as controls for displaying text, controls for displaying images, etc.
  • the view system can be used to build applications.
  • a display interface can be composed of one or more views.
  • a display interface including a text notification icon can include a view for displaying text and a view for displaying images.
  • the call service is used to provide the communication function of the electronic device 300.
  • the management of the call status including answering, hanging up, etc.
  • Another example is the management of the simultaneous vibration of the device.
  • Another example is the management of the incoming call information displayed on the incoming call interface.
  • the decision center has common functions related to multiple services on the electronic device 300.
  • the common function includes querying the device status.
  • the resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
  • the notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc.
  • the notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.
  • Android TM runtime includes core libraries and virtual machines. Android TM runtime is responsible for scheduling and management of the Android system.
  • the core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.
  • the application layer and the application framework layer run in the virtual machine.
  • the virtual machine executes the Java files of the application layer and the application framework layer as binary files.
  • the virtual machine is used to manage the life cycle of the object, the stack management, and the Management, thread management, security and exception management, and garbage collection and other functions.
  • the system library can include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
  • functional modules such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
  • the surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
  • a 2D graphics engine is a drawing engine for 2D drawings.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
  • the present application provides a method for prompting incoming calls based on a distributed call system, which includes a main device and at least one other electronic device.
  • the main device is a device with a SIM card.
  • the main device can first determine other electronic devices that need to be vibrated simultaneously according to the first device state of other electronic devices. Afterwards, the main device can trigger other electronic devices that need to be vibrated simultaneously to vibrate simultaneously, so that the electronic devices that need to be vibrated simultaneously also prompt incoming calls, realizing simultaneous vibration of incoming calls of multiple devices, so that users can answer incoming calls in time, avoid the problem of missed calls, and avoid waste of resources at the same time.
  • the method includes the following steps:
  • the mobile phone receives an incoming call request, which includes a calling number.
  • the calling phone number is the calling party's phone number, that is, the phone number of the device that initiates the incoming call request.
  • the incoming call request is used to request to establish a call with the mobile phone, which is equivalent to the called party.
  • the incoming call request may also include other information, such as the telephone number of the called party, etc.
  • the present application does not limit the information included in the incoming call request.
  • the mobile phone In response to the incoming call request, the mobile phone obtains the first device status of the tablet computer and the notebook computer respectively.
  • the tablet computer and the notebook computer are respectively connected to the mobile phone in a near field manner.
  • the near field connection indicates connection via near field communication methods such as Bluetooth, Wi-Fi, NFC, etc.
  • the mobile phone, tablet computer and laptop computer constitute a distributed call system
  • the mobile phone can be the main device in the distributed call system
  • the tablet computer and laptop computer can be other electronic devices in the distributed call system
  • the main device and each of the other electronic devices are in the same local area network
  • the main device is respectively connected to each of the other electronic devices in the near field.
  • the mobile phone and other electronic devices in the distributed call system where the mobile phone is located are logged into the same account. For example, if the tablet computer and the mobile phone are connected to the same Wi-Fi and logged into the same account, the tablet computer is in the trust circle of the mobile phone, that is, the tablet computer is another electronic device in the distributed call system where the mobile phone is located.
  • the mobile phone and the tablet computer After logging into the same account and establishing a near field connection successfully, the mobile phone can authenticate the tablet computer to obtain the authentication result of the tablet computer.
  • the authentication result of the tablet computer is successful, it indicates that the tablet computer is safe and trustworthy, and the mobile phone can interact with the tablet computer, that is, the mobile phone determines that the tablet computer is in the trust ring of the mobile phone, that is, the mobile phone can use the tablet computer as other electronic devices in the distributed call system where the mobile phone is located.
  • the mobile phone determines that the tablet computer is not in the trust ring of the mobile phone, that is, the tablet computer is not other electronic devices in the distributed call system where the mobile phone is located.
  • the mobile phone after the mobile phone successfully establishes a near-field connection (such as a Wi-Fi connection) between devices (such as the above-mentioned tablet computer), it performs trusted authentication on each device respectively, determines the trusted devices, and establishes a trust ring for the mobile phone, that is, establishes a distributed call system.
  • a near-field connection such as a Wi-Fi connection
  • devices such as the above-mentioned tablet computer
  • the above-mentioned trusted authentication may be key authentication.
  • the process of the key authentication may be: the mobile phone encrypts the preset data by a private key to obtain the encrypted data. Afterwards, the mobile phone may send the encrypted data to the tablet computer. Afterwards, the tablet computer receives the encrypted data and decrypts the encrypted data by the certificate of the logged-in account. Afterwards, the tablet computer sends the decrypted data to the mobile phone. Afterwards, the mobile phone receives the decrypted data. And the standard decryption data corresponding to the preset data is compared with the decrypted data, and the standard decryption data is the correct data obtained after the encrypted data is decrypted.
  • the mobile phone determines that the authentication result of the tablet computer is successful authentication. If the two are inconsistent, indicating that the data of the tablet computer is wrong, the mobile phone determines that the authentication result of the tablet computer is failed authentication.
  • the preset data may be at least one of a key and characters (such as numbers, words, and symbols).
  • the key authentication process described above is one implementation method of key authentication, and key authentication can also be implemented through other implementation methods.
  • the methods of using keys in the authentication process all belong to the implementation methods of the password authentication.
  • the above-mentioned trusted authentication method can also be other methods.
  • the mobile phone determines whether the tablet computer is in the preset unsafe list. If it is in the preset unsafe list, the mobile phone determines that the authentication result of the tablet computer is authentication failure. This application does not limit the trusted authentication method.
  • the first device state includes at least one of a locked screen state, a screen off state, a screen on state, an unlocked state, an owner identification not turned on state, a first preset state, and a third preset state.
  • the owner identification disabled state indicates that the device does not have the owner identification function enabled.
  • the device such as the tablet computer or laptop computer
  • the first device state can be considered to include the owner identification disabled state.
  • the device when the device does not collect the facial image or voiceprint data of the owner of the mobile phone within the first preset time, it indicates that the user of the device is not the owner himself, and the device is determined to be in the third preset state, that is, the first device state of the device includes the third preset state.
  • the device collects the facial image or voiceprint data of the owner himself within the first preset time, it indicates that the user of the device includes the owner himself, and the device is determined to be in the first preset state, that is, the first device state of the device includes the first preset state.
  • the first device state of the device can include the first preset state.
  • the first device state of the device includes the first preset state or the third preset state, it indicates that the The device's owner identification function is in an on state.
  • the user can turn the owner identification function on or off. For example, as shown in FIG5 , the user turns on the tablet computer's owner identification function 400 so that the tablet computer's owner identification function is in an on state.
  • the mobile phone can query the first device status of surrounding devices, that is, query the first device status of other electronic devices (such as the above-mentioned tablet computer and laptop computer) in the distributed call system where the mobile phone is located, so as to use the first device status of each other electronic device to determine whether each other electronic device needs to vibrate simultaneously, thereby realizing effective multi-device incoming call prompt.
  • the first device status of surrounding devices that is, query the first device status of other electronic devices (such as the above-mentioned tablet computer and laptop computer) in the distributed call system where the mobile phone is located, so as to use the first device status of each other electronic device to determine whether each other electronic device needs to vibrate simultaneously, thereby realizing effective multi-device incoming call prompt.
  • the tablet computer and laptop computer may actively report their first device status to the mobile phone at regular intervals to realize active reporting of the device status, but the mobile phone may not need to use the first device status of the tablet computer and laptop computer, thereby causing invalid reporting of the device status and resulting in waste of resources.
  • the mobile phone in order to reduce waste of resources, can send a device status query request to the tablet computer and the laptop computer respectively.
  • the device status query request is used to trigger the tablet computer or the laptop computer to query its own first device status and return the first device status to the mobile phone.
  • the tablet computer determines that its screen is in a locked screen state, and uses the locked screen state as the first device state of the tablet computer. Then, the tablet computer can return the first device state of the tablet computer to the mobile phone.
  • the tablet computer determines that its screen is in a screen-off state, and uses the screen-off state as the first device state of the tablet computer. Then, the tablet computer can return the first device state of the tablet computer to the mobile phone.
  • the tablet computer collects image or voiceprint data within a first preset time period to determine whether the current user of the tablet computer includes the owner. If it is determined through the image or voiceprint data that the user of the tablet computer includes the owner, the tablet computer can use the first preset state as the first device state of the tablet computer. If the owner is not included, the tablet computer can use the third preset state as the first device state of the tablet computer. Then, the tablet computer can return the first device state of the tablet computer to the mobile phone.
  • the tablet computer determines whether its screen is on or locked. When the screen is on or locked, the tablet computer can use the on screen state or the locked screen state as the first device state of the tablet computer.
  • the tablet computer may use the screen-on state and the unlocked state as the first device state of the tablet computer.
  • the tablet computer may use the screen-off state or the screen-locked state as the first device state of the tablet computer.
  • the tablet computer may use the screen-off state and the unlocked state as the first device state of the tablet computer.
  • the tablet computer does not need to continue to determine whether the screen is locked, and the tablet computer can directly use the screen-off state as the first device state of the tablet computer.
  • the tablet computer can return the first device state of the tablet computer to the mobile phone.
  • the tablet computer determines whether the screen is on and whether the owner identification function of the tablet computer is turned on.
  • the tablet computer determines that its screen is in a light-on state.
  • the tablet computer may collect image or voiceprint data within a first preset time period to determine whether the current user of the tablet computer includes the owner.
  • the tablet computer may use the light-on state and the first preset state as the first device state of the tablet computer.
  • the tablet computer can use the screen-on state and the third preset state as the first device state of the tablet computer.
  • the tablet computer determines that its screen is in a screen-off state.
  • the tablet computer has an owner identification function turned on, the tablet computer can continue to identify whether the current user of the tablet computer includes the owner.
  • the tablet computer can use the screen-off state and the first preset state as the first device state of the tablet computer.
  • the tablet computer can use the screen-off state and the third preset state as the first device state of the tablet computer.
  • the tablet computer may use the light-on state and the owner identification disabled state as the first device state of the tablet computer.
  • the tablet computer may use the screen-on state and the owner identification disabled state as the first device state of the tablet computer.
  • the screen of the device is generally on when the user is using the device, when it is determined that the screen is off, there is no need to determine whether the owner identification function of the tablet computer is turned on.
  • the tablet computer can directly use the off state as the first device state of the tablet computer.
  • the tablet computer can return the first device state of the tablet computer to the mobile phone.
  • the tablet computer determines whether the screen is unlocked and whether the tablet computer has an owner identification function enabled.
  • the tablet computer can continue to identify whether the current user of the tablet computer includes the owner.
  • the tablet computer determines that the current user includes the owner and the tablet computer determines that its screen is in an unlocked state. Then, the tablet computer can use the unlocked state and the first preset state as the first device state of the tablet computer.
  • the tablet computer may use the unlocked state and the third preset state as the first device state of the tablet computer.
  • the tablet computer can continue to identify whether the current user of the tablet computer includes the owner.
  • the tablet computer can determine that the device user status of the tablet computer is the first preset status. And the tablet computer determines that its screen is in the locked screen status. Then, the tablet computer can use the locked screen status and the first preset status as the first device status of the tablet computer.
  • the tablet computer can determine the device user status of the tablet computer. The tablet computer determines that its screen is in the locked screen state. Then, the tablet computer can use the locked screen state and the third preset state as the first device state of the tablet computer.
  • the tablet computer may use the unlocked state and the owner identification disabled state as the first device state of the tablet computer.
  • the tablet computer may use the unlocked state and the owner identification disabled state as the first device state of the tablet computer.
  • the device screen is generally unlocked when the user is using the device, when determining that the screen is a lock screen, there is no need to determine whether the tablet computer's owner identification function is turned on.
  • the tablet computer can directly use the lock screen state as the first device state of the tablet computer.
  • the tablet computer can return the first device state of the tablet computer to the mobile phone.
  • the tablet computer determines whether its screen is on and locked, and determines whether the tablet computer has enabled the machine owner identification function, thereby determining the first device state of the tablet computer according to the determination result. For example, the tablet computer determines that its screen is in the on screen state and unlocked state. When the tablet computer has enabled the machine owner identification function, the tablet computer may continue to identify whether the current user of the tablet computer includes the machine owner. When the current user includes the machine owner, the tablet computer may use the on screen state, unlocked state, and the first preset state as the first device state of the tablet computer.
  • the tablet computer can use the screen-on state, the unlocked state, and the third preset state as the first device state of the tablet computer.
  • the screen of the device is generally on and unlocked when the user is using the device, when determining that the screen is off or locked, there is no need to determine whether the owner identification function of the tablet computer is turned on.
  • the tablet computer can directly use the on-screen state or the locked screen state as the first device state of the tablet computer.
  • the tablet computer can return the first device state of the tablet computer to the mobile phone.
  • an incoming call to a mobile phone generally means that the caller wants to communicate with the owner of the mobile phone
  • the above-mentioned owner may be the owner of the mobile phone.
  • the implementation process of the tablet computer determining whether the current user of the tablet computer includes the owner of the mobile phone through an image may include: Generally, when a user uses a device, the user's face is generally in front of or above the device, so the tablet computer can identify whether the current user of the tablet computer includes the owner of the mobile phone through a face image. Specifically, the tablet computer can first trigger a camera (such as a front camera) on the tablet computer to capture an image within a first preset time period.
  • a camera such as a front camera
  • the tablet computer recognizes the human face in the captured image, and obtains the facial images of all users of the tablet computer.
  • the tablet computer can compare the facial image of each user among all the users with the facial image of the owner of the mobile phone.
  • the tablet computer can determine that the current user of the tablet computer includes the owner of the mobile phone, that is, the owner of the mobile phone is using the tablet computer at this time, and the tablet computer is in the first preset state.
  • the tablet computer can determine that the current user of the tablet computer does not include the owner of the mobile phone, and the tablet computer is in the third preset state, so as to accurately identify whether the user of the tablet computer is the owner himself.
  • the implementation process of the tablet computer determining whether the current user of the tablet computer includes the owner through voiceprint data may include: the tablet computer may first send a voice input prompt message to prompt the user of the tablet computer to speak.
  • the tablet computer can collect the user's voice within a first preset time period, and then compare the voiceprint data of the user's voice with the voiceprint data of the owner of the mobile phone.
  • the tablet computer can determine that the current user of the tablet computer includes the owner, and the tablet computer is in the first preset state.
  • the tablet computer can determine that the current use of the tablet computer does not include the owner, and the tablet computer is in the third preset state, realizing accurate identification of whether the user of the tablet computer is the owner himself.
  • voice recognition also requires prompting the user to speak, the recognition process is more complicated, and the owner recognition efficiency is low.
  • the facial image of the owner of the mobile phone or the voice of the owner of the mobile phone can be the facial image of the owner of the mobile phone or the voice of the owner of the mobile phone collected by the mobile phone when the mobile phone establishes a near-field connection with the tablet computer and sends it to the tablet computer through near-field communication.
  • the near-field connection is a Bluetooth connection. After the mobile phone establishes a Bluetooth connection with the tablet computer for the first time, the mobile phone can send the facial image of the owner of the mobile phone or the voice of the owner of the mobile phone to the tablet computer through Bluetooth.
  • the device status query request sent by the mobile phone may be sent by the call service in the mobile phone.
  • the call service in the mobile phone may send a device status query request to the tablet computer and the laptop computer, respectively.
  • the call service in the tablet computer may respond to the received device status query request, query its own status, and obtain the first device status of the tablet computer.
  • the call service in the tablet computer may return the first device status of the tablet computer to the mobile phone via near field communication, so that the call service in the mobile phone may obtain the first device status of the tablet computer, so that the call service in the mobile phone may use the first device status of the tablet computer to determine whether the tablet computer should perform simultaneous ringing for incoming calls.
  • the call service in the laptop computer can respond to the received device status query request, query its own status, and obtain the first device status of the laptop computer. Afterwards, the call service in the laptop computer can return the first device status of the laptop computer to the mobile phone through near field communication, so that the call service in the mobile phone can obtain the first device status of the tablet computer, so that the call service in the mobile phone can use the first device status of the laptop computer to determine whether the laptop computer should perform simultaneous ringing for incoming calls, thereby realizing the query of the first device status of other electronic devices in the distributed call system.
  • the device status query request sent by the mobile phone may be sent by the decision center in the mobile phone.
  • the decision center in the mobile phone may send a device status query request to the tablet computer and the tablet computer respectively.
  • the decision center in the tablet computer may query its own status in response to the received device status query request to obtain the first device status of the tablet computer.
  • the decision center in the tablet computer returns the first device status of the tablet computer to the mobile phone via near field communication.
  • the decision center in the mobile phone sends the first device status of the tablet computer to the call service in the mobile phone, so that the call service in the mobile phone can obtain the first device status of the tablet computer, so that the call service in the mobile phone can use the first device status of the tablet computer to determine whether the tablet computer performs simultaneous ringing for incoming calls.
  • the decision center in the laptop computer can query its own status in response to the received device status query request to obtain the first device status of the laptop computer. Afterwards, the decision center in the laptop computer returns the first device status of the laptop computer to the mobile phone through near field communication. Then, after obtaining the first device status of the laptop computer, the decision center in the mobile phone sends the first device status of the laptop computer to the call service in the mobile phone, so that the call service in the mobile phone can obtain the first device status of the laptop computer, so that the call service in the mobile phone can use the first device status of the laptop computer to determine whether the laptop computer should perform simultaneous ringing of incoming calls.
  • the device status query request sent by the decision center in the mobile phone may be sent by the call service in the mobile phone.
  • the call service in the mobile phone in response to the incoming call request, sends a corresponding device status query request to the decision center in the mobile phone, so as to query the first device status of other electronic devices in the distributed call system through the decision center in the mobile phone.
  • the present application extracts the common operations (such as the first device status query operation) involved in the distributed services (such as the call service) to form a decision center, so that different services can reuse the functions of the decision center, realize the reuse of functions, and ensure the decoupling between services.
  • the distributed services involved in the mobile phone include SMS services and call services. Considering that the SMS services and call services both involve querying the first device status of other electronic devices in the distributed call system. Therefore, the relevant personnel extract the operation of querying the first device status of other electronic devices, that is, extract the relevant query code to form the decision center of the main device in the distributed call system.
  • One of the functions of the decision center in the main device is to query the first device status of other electronic devices, so that when the main device is performing SMS services or call services, the SMS service or call service in the main device can use the function of querying the first device status of other electronic devices in the decision center in the main device to realize function reuse.
  • relevant personnel extract the common operation of other electronic devices querying their own first device status and returning their own first device status to the main device, and form a decision center for other electronic devices.
  • One function of the decision center of other electronic devices is to query their own first device status and return it to the main device. It also ensures the decoupling between the services of other electronic devices and realizes the reuse of functions.
  • the mobile phone determines whether the tablet computer meets the preset different vibration conditions according to the first device state of the tablet computer, and determines whether the laptop computer meets the preset different vibration conditions according to the first device state of the laptop computer.
  • the preset different vibration conditions indicate that the device is not used by the owner of the mobile phone.
  • the preset different vibration conditions include at least one of other electronic devices being in a screen-off state, other electronic devices being in a screen-locked state, and other electronic devices being in a third preset state.
  • the tablet computer determines whether the screen of the tablet computer is on, locked, or whether the current user of the tablet computer includes the owner of the mobile phone. Therefore, when the tablet computer is in the screen-off state, the screen-locked state, or the third preset state, the first device state of the tablet computer includes the screen-off state, the screen-locked state, or the third preset state, indicating that the tablet computer is not in use, that is, the tablet computer is not used by the mobile phone. If the tablet computer is used by the owner of the device, the tablet computer does not need to vibrate simultaneously with incoming calls, and the mobile phone can determine that the first device state of the tablet computer meets the preset different vibration conditions, that is, the first device meets the preset different vibration conditions.
  • the mobile phone may directly consider that the tablet computer is being used by the owner of the mobile phone, and the mobile phone may determine that the first device state of the tablet computer does not satisfy the preset different vibration conditions.
  • the mobile phone can directly believe that the tablet computer is being used by the owner of the mobile phone, and then the mobile phone can determine that the first device state of the tablet computer does not meet the preset different vibration condition, that is, the first device does not meet the preset different vibration condition.
  • the mobile phone may directly consider that the tablet computer is being used by the owner of the mobile phone, and then the mobile phone may determine that the first device state of the tablet computer does not satisfy the preset different vibration condition.
  • the tablet computer determines whether the screen of the tablet computer is on and whether it is locked. Therefore, when the first device state of the tablet computer is on and unlocked, it indicates that the tablet computer is more likely to be used by the owner, and the mobile phone can determine that the first device state of the tablet computer does not meet the preset different vibration conditions. Otherwise, the mobile phone can determine that the first device state of the tablet computer meets the preset different vibration conditions. For example, when the first device state of the tablet computer is on and locked, the first device state of the tablet computer includes the locked state, indicating that the tablet computer is more likely not to be used by the owner, and the mobile phone can determine that the first device state of the tablet computer meets the preset different vibration conditions.
  • the tablet computer determines the first device state
  • the owner identification function of the tablet computer is turned on.
  • the tablet computer not only determines whether the screen of the tablet computer is on, but also determines whether the current user of the tablet computer includes the owner of the mobile phone. Therefore, when the first device state of the tablet computer is the screen-on state and the first preset state, indicating that the tablet computer is used by the owner, the mobile phone can determine that the first device state of the tablet computer does not meet the preset different vibration conditions. Otherwise, the mobile phone can determine that the first device state of the tablet computer meets the preset different vibration conditions.
  • the mobile phone can determine that the first device state of the tablet computer meets the preset different vibration conditions.
  • the tablet computer determines the first device state
  • the owner identification function of the tablet computer is in a closed state, and the tablet computer determines whether the screen of the tablet computer is on. Therefore, when the first device state of the tablet computer is a screen-on state and the owner identification is not turned on, it indicates that the tablet computer may be used by the owner, and the mobile phone can determine that the first device state of the tablet computer does not meet the preset different vibration conditions. Otherwise, the mobile phone can determine that the first device state of the tablet computer meets the preset different vibration conditions.
  • the first device state of the tablet computer when the first device state of the tablet computer is a screen-off state and the owner identification is not turned on, the first device state includes a screen-off state, indicating that the tablet computer is not used by the owner, and the mobile phone can determine that the first device state of the tablet computer meets the preset different vibration conditions.
  • the tablet computer determines the first device state
  • the owner identification function of the tablet computer is turned on.
  • the tablet computer not only determines whether the tablet computer screen is locked, but also determines whether the current user of the tablet computer includes the owner of the mobile phone. Therefore, when the first device state of the tablet computer is unlocked and the first preset state, it indicates that the tablet computer is used by the owner, and the mobile phone can determine that the first device state of the tablet computer does not meet the preset different vibration condition. Otherwise, the mobile phone can determine that the first device state of the tablet computer meets Preset different vibration conditions.
  • the mobile phone can determine that the first device state of the tablet computer meets the preset different vibration conditions.
  • the tablet computer determines the first device state
  • the owner identification function of the tablet computer is in a closed state, and the tablet computer determines whether the screen of the tablet computer is locked. Therefore, when the first device state of the tablet computer is an unlocked state and the owner identification is not turned on, it indicates that the tablet computer may be used by the owner, and the mobile phone can determine that the first device state of the tablet computer does not meet the preset different vibration conditions. Otherwise, the mobile phone can determine that the first device state of the tablet computer meets the preset different vibration conditions.
  • the first device state of the tablet computer when the first device state of the tablet computer is a locked screen state and the owner identification is not turned on, the first device state includes a locked screen state, indicating that the tablet computer is not used by the owner, and the mobile phone can determine that the first device state of the tablet computer meets the preset different vibration conditions.
  • the tablet computer determines the first device state
  • the owner identification function of the tablet computer is turned on.
  • the tablet computer determines whether the screen of the tablet computer is on, whether the screen of the tablet computer is locked, and whether the current user of the tablet computer includes the owner of the mobile phone. Therefore, when the first device state of the tablet computer is the screen-on state, the unlocked state, and the first preset state, indicating that the tablet computer is used by the owner, the mobile phone can determine that the first device state of the tablet computer does not meet the preset different vibration conditions. Otherwise, the mobile phone can determine that the first device state of the tablet computer does not meet the preset different vibration conditions.
  • the mobile phone can determine that the first device state of the tablet computer meets the preset different vibration conditions.
  • the mobile phone sends a simultaneous vibration message to the tablet computer.
  • the tablet computer receives the simultaneous ringing message, and in response to the simultaneous ringing message, issues an incoming call reminder.
  • the simultaneous ringing message includes incoming call information, which may include the calling phone number and/or number information.
  • the number information indicates the details of the calling number, and may include one or more of the region of the calling number, strange number indication information, tag information, operator information, and contact information.
  • the strange number indication information indicates that the calling number is a strange number and is not a contact number stored in the mobile phone.
  • the strange number indication information is a strange number.
  • the incoming call information may include the calling number and the strange number.
  • the tag information indicates that the calling number is a tag number, for example, the tag information is express, indicating that the calling number is an express number.
  • the incoming call information may include the calling number and the tag information of the calling number.
  • the contact information may include one or more of the name, avatar, company, position, and remarks of the contact to which the calling phone number belongs.
  • the calling phone number is a phone number of a contact stored in the mobile phone
  • the incoming call information may include the calling phone number and the contact information of the calling phone number.
  • the incoming call information may also include the region to which the calling phone number belongs.
  • the mobile phone can send a simultaneous vibration message to the tablet to trigger the tablet to vibrate for incoming calls, thereby providing accurate reminders of incoming calls and enabling the owner of the mobile phone to promptly detect incoming calls and answer them, thereby avoiding the problem of missed calls due to the owner of the mobile phone not being notified of the incoming calls in time.
  • the mobile phone when the first device state of the tablet computer in the distributed call system meets the preset non-vibration condition, it indicates that the tablet computer is not used by the owner of the mobile phone. Even if the tablet computer is triggered to vibrate with an incoming call, the owner of the mobile phone may still not find the incoming call, resulting in invalid simultaneous ringing of the incoming call. Therefore, in order to avoid invalid simultaneous ringing of incoming calls and reduce the waste of resources, the mobile phone may not send a simultaneous ringing message to the tablet computer, that is, the mobile phone may not trigger the tablet computer to vibrate with an incoming call.
  • the incoming call prompt indicates displaying an incoming call interface.
  • the tablet can obtain the incoming call information in the simultaneous ringing message and directly display the incoming call interface including the incoming call information.
  • the tablet computer After the tablet computer receives the simultaneous vibration message sent from the mobile phone, it is ready to display the incoming call interface.
  • the tablet computer can determine the incoming call information displayed on the incoming call interface according to its own state, so as to display the incoming call interface including the incoming call information, which not only realizes the simultaneous vibration of the tablet computer, but also protects the privacy of the mobile phone owner.
  • the implementation process of the above S405 may include S410-S414.
  • the tablet computer receives the simultaneous ringing message, which includes incoming call information.
  • the tablet computer determines whether the calling number in the incoming call information is a contact number.
  • the tablet computer can determine that the calling number in the incoming call information is a contact number.
  • the tablet computer can determine that the calling number is not a contact number.
  • the tablet computer determines whether the calling phone number exists in the contact information (referred to as local contact information) stored locally on the tablet computer. If so, the tablet computer determines that the calling phone number is a contact number. If not, the tablet computer determines that the calling phone number is not a contact number.
  • the simultaneous ringing message sent by the mobile phone may not contain the number information, or may not contain part of the number information (such as contact information).
  • the local contact information may be synchronized with the mobile phone.
  • the mobile phone may synchronize the contact information on the mobile phone to the tablet computer at regular intervals.
  • the mobile phone may synchronize the updated contact information to the tablet computer when the contact information on the mobile phone is updated, and the update includes contact information modification, addition, deletion, etc.
  • the tablet computer can execute S412. If the calling number in the incoming call information is a contact number, indicating that the incoming call information involves user privacy, the tablet computer can execute S413-S414.
  • the tablet computer displays an incoming call interface including the incoming call information.
  • the tablet computer can directly display the incoming call information, that is, display the incoming call information.
  • the incoming call information includes strange number indication information and the calling number, and the strange number indication information is a strange number.
  • the incoming call interface 10 displays a strange number 11 and a calling number 12.
  • the incoming call information may further include other information, such as the region to which the calling number belongs, etc. Accordingly, the incoming call interface 10 may further include the region 13 .
  • the incoming call interface 10 may also include other contents, such as a preset avatar 14, a hang-up button 15, and an answer button 16.
  • the hang-up button 15 is used to trigger the mobile phone to refuse to establish a call connection with the caller.
  • the answer button 16 is used to trigger the mobile phone to establish a call connection with the caller.
  • the tablet computer hides the incoming call information.
  • the tablet computer displays an incoming call interface including the hidden incoming call information.
  • the calling phone number when it is a contact number, it indicates that the incoming call information involves the privacy of the mobile phone owner.
  • the tablet computer can first hide the calling phone number and/or contact information in the incoming call information to obtain the hidden incoming call information. Then, the tablet computer displays the incoming call interface including the hidden incoming call information, thereby protecting the user information and avoiding the leakage of the user's privacy.
  • the tablet computer hides the calling number in the incoming call information. Accordingly, the hidden incoming call information includes the hidden calling number and complete contact information.
  • the tablet computer hides the contact information in the incoming call information. Accordingly, the hidden incoming call information includes the hidden contact information and the complete calling number.
  • the tablet computer hides both the caller phone number and the contact information in the incoming call information. Accordingly, the hidden incoming call information includes the hidden contact information and the hidden caller phone number.
  • the tablet computer when hiding the calling number, may replace all the digits of the calling number with the first preset hidden symbol, or may replace the digits at some positions of the calling number with the first preset hidden symbol. For example, each digit at a position to be hidden in the calling number is represented by the first preset hidden symbol.
  • the first preset hidden symbol can be set according to the requirements.
  • the first preset hidden symbol is *, an overline, an underline, a space, etc.
  • the first preset hidden symbol is a preset hidden text.
  • the partial position may be a random position in the phone number or a fixed position in the phone number (or referred to as a first preset position), such as the first preset position is the middle 4 digits, and the first preset hidden symbol is *.
  • the tablet computer may replace the middle 4 digits of the caller's phone number with "*", that is, displaying the * at each digit position in the middle 4 digits, to obtain the hidden caller's phone number 21 in the incoming call interface 20 as shown in FIG9 , thereby realizing the de-privacy processing of the caller's phone number.
  • the tablet computer when hiding the contact information, may partially or completely hide the preset information in the contact information, wherein the preset information may include at least one of the contact's name, avatar, company, position, and remarks.
  • the above-mentioned partial hiding refers to hiding the content at some positions in the preset information, while displaying the content at other positions in the preset information normally.
  • the preset information includes the name of the contact, and the tablet computer can hide the first name in the name, but not the last name in the name.
  • the preset information includes company, position and remarks information
  • the second preset position (such as The middle 2 digits are hidden.
  • the above-mentioned hiding all means hiding all contents of the preset information.
  • the preset information includes the name of the contact, and the tablet computer can hide the name of the contact, that is, the name of the contact will not be displayed on the incoming call interface.
  • the content at each position to be hidden in the preset information can be represented by a second preset hidden symbol.
  • the content at the position to be hidden in the preset information is not displayed directly.
  • the mobile phone After the mobile phone receives an incoming call request, it displays an incoming call interface 30 as shown in Figure 10, which includes the name 31, avatar 32, company 33, position 34 and remarks 35 of the contact.
  • the preset information includes the name, company, position and remarks of the contact.
  • the tablet computer needs to be synchronized. After receiving the synchronization message, the tablet computer hides the preset information and displays the incoming call interface 40 as shown in Figure 11, and the name, company, position and remarks of the contact on the incoming call interface 40 are not displayed, that is, hidden.
  • the second preset hidden symbol can be set as required.
  • the second preset hidden symbol is *, an overline, an underline, a space, etc.
  • the first preset hidden symbol is a preset hidden text.
  • the above preset information also includes the contact's avatar. Therefore, when hiding the contact's avatar, the tablet computer can replace the avatar with a preset avatar. Or the tablet computer directly does not display the contact's avatar, that is, there is no existing avatar on the incoming call interface, thereby achieving avatar privacy protection.
  • the above preset information also includes the contact's avatar. The tablet computer not only hides the contact's name, company, position and remarks information, but also hides the contact's avatar.
  • the tablet computer displays an incoming call interface 50 as shown in FIG12, and the contact's name, company, position and remarks information on the incoming call interface 50 are not displayed, and the contact's avatar on the incoming call interface 50 is a preset avatar 51.
  • the tablet computer displays an incoming call interface 60 as shown in FIG. 13 , and the contact's name, company, position, contact's avatar and remarks on the incoming call interface 60 are not displayed.
  • the tablet computer hides the caller's phone number and contact information, represents the middle 4 digits of the caller's phone number with an "*", and changes the status of the preset information in the contact information to a hidden state, thereby obtaining an incoming call interface 70 as shown in FIG. 14 .
  • a hidden phone number 71 is displayed on the incoming call interface 70, and the incoming call interface 70 may include preset information in a hidden state, such as the contact's name, company, avatar, position, remarks, and other preset information.
  • the above-mentioned incoming call interface including the hidden incoming call information can also include preset incoming call prompt information to prompt the user that a call is currently received.
  • the preset incoming call prompt information is 1 incoming call in the incoming call interface 80 in Figure 15.
  • the above incoming call information may not include number information, and the number information may be determined by the tablet computer based on the caller phone number in the incoming call information.
  • the tablet computer may search for the contact information of the caller phone number from the local contact information.
  • the above-mentioned hiding of the contact information in the incoming call information may indicate hiding the contact information of the caller phone number obtained from the local contact information of the tablet computer. Hide. For example, when the contact information of the calling phone number exists in the local contact information of the tablet computer, the tablet computer determines the first information to be displayed, and the first information to be displayed includes the calling phone number and/or the contact information.
  • the tablet computer hides the first information to be displayed, and displays the incoming call interface including the hidden information to be displayed.
  • the contact information can be carried by the incoming call information in the simultaneous ringing message sent by the mobile phone, or can be determined by the tablet computer from the local contact information.
  • the tablet computer can directly include the incoming call interface of the calling phone number and/or the number information of the calling phone number.
  • the information displayed on the incoming call interface except the calling phone number (such as unfamiliar number indication information) can be determined by the tablet computer, rather than carried by the incoming call information.
  • the tablet computer can determine that the calling phone number is a contact number. Afterwards, when the calling phone number is a contact number, the tablet computer can hide the contact information of the calling phone number, and the contact information of the calling phone number can be carried in the simultaneous ringing message sent by the mobile phone, or saved locally by the tablet computer.
  • the tablet computer may first determine whether the user of the tablet computer is a person other than the owner of the mobile phone to determine whether the incoming call information needs to be hidden. If it is determined that it needs to be hidden, the tablet computer may continue to execute the above S413-S414. If it is determined that it does not need to be hidden, it indicates that even if it is not hidden, the user's privacy will not be leaked, and the tablet computer may not hide the incoming call information, that is, the tablet computer may directly execute the above S412. Specifically, the process of the tablet computer determining whether the incoming call information needs to be hidden may include S415 and S416 in Figure 16.
  • the tablet computer obtains the status of the second device.
  • the tablet computer determines whether the tablet computer meets a preset incoming call information hiding condition based on the second device status.
  • the preset caller information hiding condition indicates that the user of the device is a person other than the owner of the mobile phone.
  • the preset caller information hiding condition includes that the tablet computer is in a projection state or the tablet computer is in a second preset state.
  • the tablet computer determines whether it is in a screen projection state and obtains a second device state.
  • the second device state indicates whether the tablet computer meets the preset caller information hiding condition.
  • the second device state is the screen projection state, it indicates that the screen of the tablet computer is in a shared state, and the content displayed on the screen may be seen by other people.
  • the caller information in the simultaneous ringing message is not directly displayed.
  • the tablet computer can determine that the second device state meets the preset caller information hiding condition and hide the caller information in the simultaneous ringing message.
  • the tablet computer is projecting the screen through a preset conference software, it indicates that the tablet computer is projecting the screen for a conference, and the second device state of the tablet computer can be a screen projection state.
  • the second device state of the tablet computer can also be a projection state.
  • the second preset state indicates that the tablet computer has collected facial images or voiceprint data other than the owner of the mobile phone within the second preset time period. Since the time from the mobile phone querying the tablet computer's first device state to the tablet computer receiving the simultaneous vibration message is generally short, if the tablet computer needs to identify whether the current user of the tablet computer includes the owner when determining the first device state, then the tablet computer can identify whether the current user of the tablet computer includes the owner when determining the first device state. In the process of determining the second device state of the tablet computer, the face image or voiceprint data can be used to identify whether the user of the tablet computer includes a person other than the owner of the mobile phone.
  • the tablet computer can determine that the second device state of the tablet computer is the second preset state, that is, the tablet computer is in the second preset state. If it is identified that the current user does not include other persons, the tablet computer can determine that the second device state of the tablet computer is not the second preset state.
  • the tablet computer can respond to receiving the simultaneous vibration message from the mobile phone by collecting images or sounds within a second preset time period, so as to use the images or sounds to identify whether the current user of the tablet computer includes a person other than the owner of the mobile phone, thereby determining whether the tablet computer is in the second preset state.
  • the second device state when the second device state is the second preset state, it indicates that the content displayed on the screen may be seen by other people.
  • the incoming call information in the simultaneous ringing message is not directly displayed.
  • the tablet computer can determine that the second device state meets the preset incoming call information hiding condition and hide the incoming call information in the simultaneous ringing message.
  • the above-mentioned incoming call interface can be triggered to be displayed by a call service in a tablet computer.
  • the call service in the mobile phone determines whether the tablet computer needs simultaneous ringing of the incoming call according to the first device state of the tablet computer.
  • a simultaneous ringing message is sent to the tablet computer.
  • the call service in the tablet computer determines the displayed incoming call information.
  • the incoming call interface including the displayed incoming call information is displayed on the screen of the tablet computer.
  • the displayed incoming call information is the above-mentioned hidden incoming call information.
  • the call service in the tablet computer determines the displayed incoming call information (such as the information to be displayed) and sends the displayed incoming call information to the call interface application in the tablet computer.
  • the call interface application receives the displayed incoming call information, it displays the incoming call interface including the displayed incoming call information on the screen of the tablet computer.
  • the tablet computer when the incoming call information displayed above is hidden incoming call information, that is, when the content on the incoming call interface above is hidden incoming call information, as shown in FIG18, in response to the user clicking on the incoming call interface including the hidden incoming call information, the tablet computer displays the complete incoming call information.
  • the click operation can be a click operation of the user on the hidden incoming call information on the above-mentioned incoming call interface.
  • the tablet computer displays the incoming call interface 70 as shown in Figure 14 above, and the incoming call interface 70 displays the hidden caller phone number 71.
  • the user clicks on the hidden caller phone number 71 (such as clicking the * in the hidden caller phone number 71 in Figure 19), where clicking on the hidden caller phone number is the click operation.
  • the tablet computer can respond to the click operation to display all hidden information, that is, to change the incoming call information in the hidden state into a display state.
  • the tablet computer displays the incoming call interface 90 as shown in Figure 20, and the name, avatar, company, position, note information and calling phone number of the contact in the incoming call interface 90 are all in a display state.
  • the above-mentioned click operation can also be a click operation of the user on other positions on the incoming call interface, such as a blank position on the incoming call interface.
  • the other electronic devices after receiving the simultaneous ringing message sent by the main device (such as the mobile phone), other electronic devices (such as the tablet computer) in the distributed call system of this application indicate that the other electronic devices also need to provide a call reminder.
  • the other electronic devices when the calling phone number corresponding to the incoming call belongs to the contact number, the other electronic devices first determine their own second device status. Afterwards, the other electronic devices determine the Whether the state of its second device satisfies the preset caller information hiding condition, so as to determine whether there are users other than the owner of the main device among the users of the other electronic device. If the state of the second device satisfies the preset caller information hiding condition, it indicates that there are users other than the owner of the main device.
  • the other electronic device hides the incoming call information in the simultaneous vibration message and displays the incoming call interface including the hidden incoming call information. In the case of timely reminder of the incoming call, the user's privacy can also be effectively protected.
  • the incoming call interface can be clicked. In response to the click operation, the other electronic device displays the complete incoming call information, so that the user can know the specific information of the contact person of the incoming call, and realizes the function of half-step reminder of the incoming call.
  • this application can effectively protect the user's privacy and improve the user's satisfaction.
  • the call interface application in the tablet computer displays an answering interface, and the answering interface displays complete incoming call information, so that the user can obtain detailed information of the caller in real time.
  • the user can click the answer button on the incoming call interface, and the operation of clicking the answer button here is the above-mentioned incoming call answering operation.
  • the tablet computer displays an answering interface 91 as shown in FIG. 21, and the answering interface 91 displays complete incoming call information.
  • the tablet computer after receiving the simultaneous vibration message, can not only display the corresponding incoming call interface, but also provide an incoming call prompt in an incoming call voice prompt mode.
  • the incoming call voice prompt mode includes at least one of vibration, ringing, and silence.
  • the incoming call sound prompt mode may be a mode set by the tablet computer itself, or may be obtained by the tablet computer from a simultaneous ringing message.
  • the incoming call interface displayed by the tablet computer may include a first prompt message (such as the first prompt message 17 shown in FIG. 8 ), and the first prompt message is used to prompt the tablet computer to which the incoming call actually belongs, that is, to prompt the tablet computer to answer an incoming call from a mobile phone.
  • a first prompt message such as the first prompt message 17 shown in FIG. 8
  • the answering interface displayed by the tablet computer may include a second prompt message (such as the second prompt message 19 shown in FIG. 21 above), and the second prompt message is used to prompt that the incoming call answered by the tablet computer is from a mobile phone, that is, the second prompt message indicates the device to which the incoming call answered by the tablet computer actually belongs.
  • a second prompt message such as the second prompt message 19 shown in FIG. 21 above
  • the display mode of the call interface (such as the incoming call interface or the answering interface) displayed by the above-mentioned tablet computer can be full-screen display (the answering interface shown in Figure 21 is full-screen display) or banner display (the incoming call interface shown in Figure 8 is banner display).
  • the tablet computer may not display the call interface, but display the corresponding call status information on the status bar, and the call status information indicates that the tablet computer is in the incoming call state or the call state, and the call status information may also indicate the actual device to which the incoming call belongs.
  • This application does not limit the display mode of the tablet computer, and the tablet computer can display according to the current scene in which it is located.
  • the size of the interface shown in the above Figures 1, 8-15 and 19-21, the position of the interface on the screen, the content that the interface needs to include (such as the content included in the incoming call information) and the position of each content in the interface can be set according to implementation requirements, and this application does not limit them.
  • the call service in the tablet computer interacts with the call service in the mobile phone through signaling without querying the device status.
  • a simultaneous ringing message is sent to the call service in the tablet computer.
  • the call service in the tablet computer responds to the simultaneous ringing message and displays the corresponding incoming call interface.
  • the call service in the tablet computer and the call service in the mobile phone do not need to query the device status, and can use the corresponding decision center to query the device status.
  • other distributed services need to involve device status query, they can be implemented through the corresponding decision center, realizing the reuse of the device query function and reducing the difficulty of business development.
  • the mobile phone sends a simultaneous vibration message to the laptop computer.
  • the notebook computer receives the simultaneous ringing message and, in response to the simultaneous ringing message, issues an incoming call reminder.
  • S407-S409 is similar to the above-mentioned S404-S406 and will not be repeated here.
  • the process in which the laptop computer displays an incoming call interface based on the simultaneous ringing message to achieve simultaneous ringing of the incoming call is similar to the process in which the above-mentioned tablet computer displays an incoming call interface based on the simultaneous ringing message to achieve simultaneous ringing of the incoming call, and will not be repeated here.
  • the other electronic devices in the method described in the above embodiment are mainly electronic devices with screens.
  • the main device such as the above-mentioned mobile phone
  • the main device can trigger the other electronic devices to vibrate with incoming calls when determining that the first device state of the other electronic devices is in use.
  • the other electronic device is a blue ear headset
  • the mobile phone can consider that the first device state of the Bluetooth headset is in use, and the mobile phone triggers the Bluetooth headset to send an incoming call voice prompt, thereby realizing the simultaneous vibration of the incoming call of the Bluetooth headset.
  • the main device in the distributed call system and other electronic devices other than the main device are in the same local area network, and the main device is respectively connected to each other electronic device in the near field.
  • the main device can consider that the other electronic devices are in the trust ring.
  • the main device receives an incoming call, it determines whether the other electronic devices are currently used by the owner of the main device according to the first device state of the other electronic devices in the trust ring.
  • the other electronic devices are not used by the owner of the main device, it indicates that even if the other electronic devices are controlled to vibrate with the incoming call, the owner of the main device may still not be able to find the incoming call, so the main device does not need to trigger the other electronic devices to vibrate with the incoming call.
  • controlling the other electronic devices to vibrate with the incoming call can enable the owner of the main device to find the incoming call, so that the incoming call can be answered in time, realizing effective incoming call reminders, avoiding the need for incoming call vibration, thereby effectively reducing the waste of resources.
  • An embodiment of the present application also provides a computer-readable storage medium, which includes computer instructions.
  • the computer instructions When the computer instructions are executed on the above-mentioned electronic device, the electronic device executes each function or step in the above-mentioned method embodiment.
  • An embodiment of the present application also provides a computer program product, including a computer program.
  • the computer program runs on an electronic device, the electronic device executes each function or step in the above method embodiment.
  • the disclosed devices and methods can be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed.
  • Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium.
  • the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute all or part of the steps of the method described in each embodiment of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

本申请提供一种来电提示方法及电子设备,涉及通信技术领域,分布式通话系统中的主设备在接收到来电时,可以先根据该分布式通话系统中的其它电子设备的设备状态确定被主设备的机主使用的其它电子设备。该其它电子设备处于该主设备的信任环中。之后,该主设备通过近场通信,将同振消息发送至确定的其它电子设备,以触发该确定的其它电子设备进行来电提示,可以使该主设备的机主及时发现来电,避免无效来电同振,从而可以有效降低资源的浪费。并且,当其它电子设备接收到同振消息时,如果该来电是联系人来电,可以对该同振消息中的来电信息进行隐藏,然后显示包括隐藏后的来电信息的来电界面,而不直接显示该来电信息,避免用户隐私的泄露。

Description

一种来电提示方法及电子设备
本申请要求于2022年09月28日提交国家知识产权局、申请号为202211193011.7、发明名称为“一种来电提示方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,尤其涉及一种来电提示方法及电子设备。
背景技术
随着移动终端的发展,通话成为现代生活中最为常见的场景之一,为人际沟通带来巨大的便利。当手机接收到来电时,手机会显示来电界面进行来电提示。
然而,在手机接收到来电时,由于某些原因(如手机不在用户周围),用户没有发现手机来电,从而使得手机的来电没有得到及时接听,出现来电漏接的问题。
发明内容
有鉴于此,本申请提供了一种来电提示方法及电子设备,避免出现来电漏电问题。
第一方面,本申请提供一种来电提示方法,应用于分布式通话系统中的第一设备,该分布式通话系统还包括至少一个第二设备。该第一设备分别和该至少一个第二设备中的各个第二设备基于近场通信方式建立连接。该第一设备接收来电呼叫请求,该来电呼叫请求包括主叫电话号码。该第一设备响应于该来电呼叫请求,分别获取各个第二设备的第一设备状态;该第二设备的第一设备状态指示该第二设备是否满足预设不同振条件;
在该第二设备不满足预设不同振条件的情况下,该第一设备向该第二设备发送同振消息,以使该第二设备进行来电提示;该同振消息包括来电信息,该来电信息包括该主叫电话号码;该预设不同振条件指示该第二设备未被该第一设备的机主使用;
在该第二设备满足该预设不同振条件的情况下,该第一设备不向该第二设备发送该同振消息,未收到该同振消息的该第二设备不进行来电提示。
在本申请中,第一设备在接收到来电时,可以先查询该第一设备所在的分布式通话系统中的第二设备的第一设备状态。之后该第一设备根据第二设备的第一设备状态判断该第二设备是否不满足预设不同振条件,也就是确定该第二设备是否被该第一设备的机主使用。在该第二设备不满足该预设不同振条件时,表明该第二设备被第一设备的机主使用,可以触发该第二设备进行来电同振,实现有效的多设备的来电同振,不仅可以使该第一设备的机主能够及时发现该第一设备的来电,避免出现来电漏接的问题,还可以避免由于无效来电提示造成的资源的浪费。在该第二设备满足该预设不同振条件时,表明该第二设备未被该第一设备的机主使用,此时,即使触发该第二设备来电同振,该第一设备的机主可能仍不会发现该第一设备的来电,该第一设备可以不触发该第二设备进行来电提示,从而可以有效避免无效来电提示,进而可以降低资源的浪费。
在一种可能的设计中,预设不同振条件包括:所述第二设备处于锁屏状态、所述第二设备处于灭屏状态、所述第二设备处于第一预设状态中的一个或多个;其中,所述第二设备在第一预设时长内未采集到所述第一设备的机主的人脸图像或声纹数据时,所述第二设备处于所述第一预设状态。
在本申请中,由于用户在使用设备时,设备的屏幕一般是亮屏、解锁的,因此,当第二设备处于锁屏状态和/或灭屏状态时,表明用户未使用该第二设备,也即表明第一设备的机主未使用该第二设备,第一设备可以认为该第二设备满足预设不同振条件。当第二设备在第一预设时长内未采集到该第一设备的机主的人脸图像或声纹数据时,第一设备可以直接确定第一设备的机主未使用该第二设备,也就是第一设备可以认为该第二设备满足预设不同振条件。
在一种可能的设计中,上述第一设备在获取第二设备的第一设备状态时,可以基于近场通信方式,向该第二设备发送设备状态查询请求,以使该第二设备确定该第二设备的第一设备状态;第一设备接收所述第二设备返回的所述第二设备的第一设备状态,实现第二设备的第一设备状态的主动查询。
在另一种可能的设计中,该第二设备在与该第一设备基于近场同振方式建立连接后,可以每隔预设周期,向该第一设备上报该第二设备的第一设备状态。
在一种可能的设计中,上述第一设备包括第一决策中心和第一通话服务。各个第二设备分别包括第二决策中心和第二通话服务。
相应的,上述第一设备向该第二设备发送设备状态查询请求可以是该第一设备中的第一决策中心向该第二设备中的第二决策中心发送设备状态查询请求,以使该第二设备中的第二决策中心确定该第二设备的第一设备状态。
上述第一设备接收该第二设备返回的第二设备的第一设备状态可以是该第一设备中的第一决策中心接收该第二设备中的第二决策中心返回的该第二设备的第一设备状态。
第一设备中的第一决策中心向第一设备中的第一通话服务发送该第二设备的第一设备状态,该第一通话服务基于该第二设备的第一设备状态确定该第二设备是否满足预设不同振条件。在该第二设备不满足预设不同振条件时,该第一通话服务向该第二设备中的第二通话服务发送同振消息,以使该第二设备中的第二通话服务进行来电提示。在该第二设备满足预设不同振条件时,该第一通话服务不向该第二设备中的第二通话服务发送同振消息。
本申请将分布式业务(如通话业务)所涉及的公共操作(如第一设备状态查询操作)提取出来,形成决策中心,使得不同服务可以复用决策中心的功能,实现功能的复用,并且可以保证业务之间的解耦性。例如,第一设备涉及的分布式业务包括短信业务和通话业务,考虑到该短信业务和通话业务均涉及查询分布式通话系统中的第二设备的第一设备状态。因此,相关人员将查询其它电子设备的第一设备状态的操作提取出来,也就是将相关查询代码提取出来,形成该分布式通话系统中的第一设备的决策中心,该第一设备中的决策中心所具备的一个功能便为查询第二设备的第一设备状态,使得第一设备在进行短信业务或通话业务时,该第一设备中的短信服务或通话服务均可以利用该第一设备中的决策中心的查询第二设备的第一设备状态的功能,实现 功能的复用。
示例性的,上述来电信息还包括该主叫电话号码的所属地区、陌生号码指示信息、运营商信息、标记信息、联系人信息中的一个或多个;该陌生号码指示信息表示该主叫电话号码为陌生号码,所述标记信息表示该主叫电话号码为标记号码;该联系人信息包括所述主叫电话号码所属的联系人的姓名、头像、公司、职位、备注信息中的一个或多个。第一设备通过向第二设备发送携带有来电信息的同振消息,第二设备在进行来电显示时,可以展示该来电信息,从而使得用户可以获知到来电的主叫方的详细情况。
第二方面,本申请提供一种来电提示方法,应用于分布式通话系统中的第二设备。该分布式通话系统还包括一个第一设备,该第一设备和该第二设备基于近场通信方式建立连接。该第二设备向该第一设备发送该第二设备的第一设备状态,该第一设备状态用于指示该第二设备是否满足预设不同振条件,该预设不同振条件指示该第二设备是否被该第一设备的机主使用;
该第二设备接收该第一设备发送的同振消息;该同振消息包括来电信息,该来电信息包括该第一设备接收到的来电呼叫请求中的主叫电话号码;响应于该同振消息,该第二设备根据该来电信息进行来电提示。
在本申请中,第二设备向该第一设备发送该第二设备的第一设备状态,以供该第一设备在接收到来电时,可以根据该第二设备的第一设备状态判断该第二设备是否满足预设不同振条件,也就是确定该第二设备是否被该第一设备的机主使用。在该第二设备不满足该预设不同振条件时,表明该第二设备被第一设备的机主使用,向该第二设备发送同振消息。该第二设备根据该同振消息进行来电提示,实现有效的多设备的来电同振,不仅可以使使用该第二设备的第一设备的机主能够及时发现该第一设备的来电,避免出现来电漏接的问题,还可以避免由于无效来电提示造成的资源的浪费。
在一种可能的设计中,上述来电提示包括显示来电界面。相应的,上述第二设备响应于同振消息,根据该来电信息显示来电界面的过程包括:在该第一设备或该第二设备中保存有该主叫电话号码的联系人信息时,表明该主叫电话号码为联系人号码,如果直接显示,可能会涉及用户隐私泄露,则该第二设备对待显示信息进行隐藏,并显示包括隐藏后的待显示信息的来电界面,该待显示信息包括所述主叫电话号码和/或该主叫电话号码的联系人信息,从而可以避免用户隐私的泄露。在该第一设备或所述第二设备中未保存有所述主叫电话号码的联系人信息,表明该主叫电话号码不是联系人号码,即使直接显示,也不会泄露用户隐私,则该第二设备显示包括所述来电信息的来电界面,
在一种可能的设计中,上述第二设备获取第二设备状态,该第二设备根据该第二设备状态判断该第二设备是否满足预设来电信息隐藏条件。该预设来电信息隐藏条件指示所述第二设备的使用者存在除所述第一设备的机主以外的人。在该第二设备满足预设来电信息隐藏条件的情况下,表明该第二设备的使用者存在除该第一设备的机主以外的人,也就是说如果直接显示待显示信息可能会泄露该第一设备的机主的隐私,因此,该第二设备对待显示信息进行隐藏,实现待显示信息的有效隐藏。
在该第二设备不满足预设来电信息隐藏条件的情况下,表明该第二设备的使用者 不存在除该第一设备的机主以外的人,也就是说如果直接显示待显示信息也不会泄露该第一设备的机主的隐私,为了方便用户获知第一设备的来电情况,该第二设备显示包括来电信息的来电界面。
在一种可能的设计中,上述预设来电信息隐藏条件包括:上述第二设备处于投屏状态和/或上述第二设备处于第二预设状态;其中,该第二设备在第二预设时长内采集到除该第一设备的机主以外的人脸图像或声纹数据时,该第二设备处于该第二预设状态。
在本申请中,设备在处于投屏状态时,设备的屏幕是共享的,设备的屏幕上显示的来电界面也是共享的,因此,该来电界面上的待显示信息可能会被他人看到,导致用户隐私泄露,因此,当第二设备处于投屏状态时,表明第二设备的使用者存在除第一设备的机主以外的人,第二设备可以确定该第二设备满足预设来电信息隐藏条件。当第二设备在第二预设时长内采集到该第一设备的机主以外的人脸图像或声纹数据时,第二设备可以直接确定第二设备的使用者存在除第一设备的机主以外的人,也就是第二设备可以确定该第二设备满足预设来电信息隐藏条件。
在一种可能的设计中,上述第二设备接收上述第一设备发送的设备状态查询请求。响应于该设备状态查询请求,该第二设备确定该第二设备的第一设备状态,并向该第一设备发送所述第二设备的第一设备状态,使得第一设备实现第二设备的第一设备状态的查询。
在一种可能的设计中,预设不同振条件包括:所述第二设备处于锁屏状态、所述第二设备处于灭屏状态、所述第二设备处于第一预设状态中的一个或多个;其中,所述第二设备在第一预设时长内未采集到所述第一设备的机主的人脸图像或声纹数据时,所述第二设备处于所述第一预设状态。
在本申请中,由于用户在使用设备时,设备的屏幕一般是亮屏、解锁的,因此,当第二设备处于锁屏状态和/或灭屏状态时,表明用户未使用该第二设备,也即表明第一设备的机主未使用该第二设备,第二设备是满足预设不同振条件的。当第二设备在第一预设时长内未采集到该第一设备的机主的人脸图像或声纹数据时,直接表明该第一设备的机主未使用该第二设备,也就是该第二设备是满足预设不同振条件的。
在一种可能的设计中,第二设备控制该第二设备的摄像头在第一预设时长内采集图像,并对采集的图像进行人脸识别,得到该第二设备的使用者的人脸图像。该第二设备获取该第一设备的机主的人脸图像。该第二设备在确定该使用者的人脸图像中存在该机主的人脸图像时,表明该第一设备的机主在使用该第二设备,因此,该第二设备可以确定该第二设备处于第一预设状态,实现第二设备的第一预设状态的准确确定。
第三方面,本申请提供一种分布式通话系统,所述分布式通话系统包括一个第一设备和至少一个第二设备,所述第一设备分别与所述至少一个第二设备中的各个第二设备通过近场通信方式进行连接;
所述第一设备接收来电呼叫请求,所述来电呼叫请求包括主叫电话号码;
所述第一设备响应于所述来电呼叫请求,分别获取所述各个第二设备的第一设备状态;所述第二设备的第一设备状态指示所述第二设备是否满足预设不同振条件;
在所述第二设备不满足预设不同振条件的情况下,所述第一设备向所述第二设备 发送所述同振消息;所述同振消息包括来电信息,所述来电信息包括所述主叫电话号码;所述预设不同振条件指示第二设备未被所述第一设备的机主使用;
所述第二设备接收所述第一设备发送的同振消息;
响应于所述同振消息,所述第二设备根据所述来电信息进行来电提示。
第四方面,本申请提供一种电子设备,所述电子设备是上述第一设备,所述电子设备包括显示屏、存储器、一个或多个用户标识模块SIM卡接口和一个或多个处理器;所述显示屏、所述存储器、所述SIM卡接口和所述处理器耦合;所述SIM卡接口用于连接SIM卡,所述显示屏用于显示所述处理器生成的图像,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令;当所述处理器执行所述计算机指令时,使得所述电子设备执行如上第一方面及其任一种可能的设计方式所述的方法。
第五方面,本申请提供一种电子设备,所述电子设备是上述第二设备,所述电子设备包括显示屏、存储器和一个或多个处理器;所述显示屏、所述存储器和所述处理器耦合;所述显示屏用于显示所述处理器生成的图像,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令;当所述处理器执行所述计算机指令时,使得所述电子设备执行如上第二方面及其任一种可能的设计方式所述的方法。
第六方面,本申请提供一种计算机可读存储介质,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如上第一方面及其任一种可能的设计方式所述的方法。
第七方面,本申请提供一种计算机可读存储介质,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如上第二方面及其任一种可能的设计方式所述的方法。
第八方面,本申请提供一种计算机程序产品,当所述计算机程序产品在电子设备上运行时,使得所述电子设备执行如上第一方面及其任一种可能的设计方式所述的方法。
第九方面,本申请提供一种计算机程序产品,当所述计算机程序产品在电子设备上运行时,使得所述电子设备执行如上第二方面及其任一种可能的设计方式所述的方法。
可以理解地,上述提供的第三方面所述的分布式通话系统,第三方面所述的电子设备,第四方面所述的电子设备,第五方面所述的计算机存储介质,第六方面所述的计算机程序产品所能达到的有益效果,可参考第一方面或第二方面及其任一种可能的设计方式中的有益效果,此处不再赘述。
附图说明
图1为本申请实施例提供的一种分布式通话系统的示意图;
图2为本申请实施例提供的一种电子设备的结构示意图;
图3是本发明实施例提供的一种电子设备的软件结构框图;
图4为本申请实施例提供的一种来电提示方法的流程示意图一;
图5为本申请实施例提供的一种机主识别功能设置的界面示意图;
图6为本申请实施例提供的一种来电提示方法的流程示意图二;
图7为本申请实施例提供的一种来电提示方法的流程示意图三;
图8为本申请实施例提供的一种来电界面的示意图一;
图9为本申请实施例提供的一种来电界面的示意图二;
图10为本申请实施例提供的一种来电界面的示意图三;
图11为本申请实施例提供的一种来电界面的示意图四;
图12为本申请实施例提供的一种来电界面的示意图五;
图13为本申请实施例提供的一种来电界面的示意图六;
图14为本申请实施例提供的一种来电界面的示意图七;
图15为本申请实施例提供的一种来电界面的示意图八;
图16为本申请实施例提供的一种来电提示方法的流程示意图四;
图17为本申请实施例提供的一种来电提示方法的流程示意图五;
图18为本申请实施例提供的一种来电提示方法的流程示意图六;
图19为本申请实施例提供的一种来电界面的示意图九;
图20为本申请实施例提供的一种来电界面的示意图十;
图21为本申请实施例提供的一种接听界面的示意图。
具体实施方式
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。
在一些场景中,手机在接收到来电时,由于某些原因,用户可能会没有及时接听手机来电,从而出现来电漏接的情况。例如,当用户的手机没有在用户周围时,用户没有及时发现手机来电,使得手机来电未被及时接听。
在一些实施例中,为了使用户可以及时接听到手机来电,该手机100所在的分布式通话系统中的其它电子设备也可以进行来电同振。这里的手机为该分布式通话系统中的主设备,该手机与该其它电子设备分别通过近场通信方式连接,且该手机与该其它电子设备处于同一局域网内。示例性的,该分布式通话系统包括近场范围内的1+8设备,该1个设备为具备用户标识模块(subscriber identification module,SIM)卡的主设备,该8个设备为其它电子设备。当主设备接收到来电时,该8个设备进行来电同振,实现多设备的来电提示,使得用户可以及时发现来电,从而使用户可以及时接听来电。并且使用户能够通过分布式通话系统中的任一电子设备接听来电,方便用户接听来电,使得用户能够及时接听来电,避免出现由于用户不方便使用手机接听来电导致手机来电漏接的问题,从而可以避免用户因错过重要来电而错过重要的事件,提高用户使用满意度。然而,当分布式通话系统中的主设备接收到来电时,该分布式通话系统中的其它电子设备便会进行来电同振,但其它电子设备此时可能无需进行同振,造成资源的浪费。
因此,针对上述问题,本申请提供一种基于分布式通话系统的来电提示方法。如图1所示,该分布式通话系统中的主设备100在接收到来电时,可以先查询该分布式通话系统中的其他电子设备200的第一设备状态。然后,该主设备根据该其它电子设备200的第一设备状态判断该主设备100的机主是否在使用该其它电子设备200。当 确定主设备100的机主未在使用该其它电子设备200时,表明即使控制该其它电子设备200进行来电同振,该主设备100的机主可能仍不会发现主设备100来电,因此,为了避免由于无效来电提示造成的资源的浪费,该主设备100可以不触发该其它电子设备200进行同振。
当确定主设备100的机主在使用该其它电子设备时,该主设备100触发该其它电子设备200进行来电同振,实现有效的多设备的来电同振,不仅可以使该主设备100的机主能够及时发现来电,避免出现来电漏接的问题,还可以减少资源的浪费。并且,该主设备100在确定主设备100的机主在使用该其它电子设备200时,才触发该其它电子设备200,可以有效保证来电是主设备100的机主接听的,保证通话的隐私性以及安全性,提高用户体验。
需要说明的是,上述图1中的分布式通话系统中的主设备100与其它电子设备200处于同一局域网内,并且该主设备100分别与各个其它电子设备200通过近场通信方式连接,也就是该其它电子设备200处于该主设备的100的信任环中。该图1中的其它电子设备200的数量仅为一种示例,本申请不限制其它电子设备200的数量。例如,分布式通话系统中的其它电子设备的数量可以为8。
示例性的,上述主设备可以是手机、平板电脑、可穿戴设备(如智能手表)等具备SIM卡的设备。上述其它电子设备可以是手机、平板电脑、蓝耳耳机、笔记本电脑、可穿戴设备、车载终端、个人数字助理(personal digital assistant,PDA)等设备。该其它电子设备可以不具备SIM卡,也可以具备SIM卡,本申请不对其进行限制。
示例性的,上述主设备或其它电子设备的结构可以参照图2所示的电子设备300的结构。
电子设备300可以包括处理器310,外部存储器接口320,内部存储器321,通用串行总线(universal serial bus,USB)接口330,充电管理模块340,电源管理模块341,电池342,天线1,天线2,移动通信模块350,无线通信模块360,音频模块370,扬声器370A,受话器370B,麦克风370C,耳机接口370D,传感器模块380,按键390,马达391,指示器392,摄像头393,显示屏394,以及SIM卡接口395等。
可以理解的是,本发明实施例示意的结构并不构成对电子设备300的具体限定。在本申请另一些实施例中,电子设备300可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器310可以包括一个或多个处理单元,例如:处理器310可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
其中,控制器可以是电子设备300的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器310中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理 器310中的存储器为高速缓冲存储器。该存储器可以保存处理器310刚用过或循环使用的指令或数据。如果处理器310需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器310的等待时间,因而提高了系统的效率。
在一些实施例中,处理器310可以包括一个或多个接口。接口可以包括集成电路(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)接口,和/或通用串行总线(universal serial bus,USB)接口等。
可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备300的结构限定。在本申请另一些实施例中,电子设备300也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块340用于从充电器接收充电输入。
电源管理模块341用于连接电池342,充电管理模块340与处理器310。电源管理模块341接收电池342和/或充电管理模块340的输入,为处理器310,内部存储器321,外部存储器,显示屏394,摄像头393,和无线通信模块360等供电。
电子设备300的无线通信功能可以通过天线1,天线2,移动通信模块350,无线通信模块360,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备300中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块350可以提供应用在电子设备300上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块350可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块350可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块350还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块350的至少部分功能模块可以被设置于处理器310中。在一些实施例中,移动通信模块350的至少部分功能模块可以与处理器310的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器370A,受话器370B等)输出声音信号,或通过显示屏394显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器310,与移动通信模块350或其他功能模块设置在同一个器件中。
无线通信模块360可以提供应用在电子设备300上的包括无线局域网(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)等无线通信的解决方案。无线通信模块360可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块360经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器310。无线通信模块360还可以从处理器310接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
在一些实施例中,电子设备300的天线1和移动通信模块350耦合,天线2和无线通信模块360耦合,使得电子设备300可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。
电子设备300通过GPU,显示屏394,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏394和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器310可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏394用于显示图像,视频等。显示屏394包括显示面板。显示面板可以采用液晶显示屏(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 diodes,QLED)等。在一些实施例中,电子设备300可以包括1个或N个显示屏394,N为大于1的正整数。
电子设备300可以通过ISP,摄像头393,视频编解码器,GPU,显示屏394以及应用处理器等实现拍摄功能。
ISP用于处理摄像头393反馈的数据。摄像头393用于捕获静态图像或视频。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。视频编解码器用于对数字视频压缩或解压缩。
NPU为神经网络(neural-network,NN)计算处理器。通过NPU可以实现电子设备300的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
外部存储器接口320可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备300的存储能力。
内部存储器321可以用于存储计算机可执行程序代码,所述可执行程序代码包括 指令。处理器310通过运行存储在内部存储器321的指令,从而执行电子设备300的各种功能应用以及数据处理。内部存储器321可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备300使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器321可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。
电子设备300可以通过音频模块370,扬声器370A,受话器370B,麦克风370C,耳机接口370D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块370用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块370还可以用于对音频信号编码和解码。在一些实施例中,音频模块370可以设置于处理器310中,或将音频模块370的部分功能模块设置于处理器310中。
扬声器370A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备300可以通过扬声器370A收听音乐,或收听免提通话。
受话器370B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备300接听电话或语音信息时,可以通过将受话器370B靠近人耳接听语音。
麦克风370C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风370C发声,将声音信号输入到麦克风370C。电子设备300可以设置至少一个麦克风370C。在另一些实施例中,电子设备300可以设置两个麦克风370C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备300还可以设置三个,四个或更多麦克风370C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
耳机接口370D用于连接有线耳机。
其中传感器模块380可以包括压力传感器,陀螺仪传感器,气压传感器,磁传感器,加速度传感器,距离传感器,接近光传感器,指纹传感器,温度传感器,触摸传感器,环境光传感器,骨传导传感器等。
按键390包括开机键,音量键等。马达391可以产生振动提示。马达391可以用于来电振动提示,也可以用于触摸振动反馈。
指示器392可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
SIM卡接口395用于连接SIM卡。SIM卡可以通过插入SIM卡接口395,或从SIM卡接口395拔出,实现和电子设备300的接触和分离。电子设备300可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口395可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口395可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口395也可以兼容不同类型的SIM卡。SIM卡接口395也可以兼容外部存储卡。电子设备300通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备300采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备300中,不能和电子设备300分离。
电子设备300的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的Android系统为例,示例性说明电子设备300的软件结构。
图3是本申请实施例的电子设备300的软件结构框图。
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将AndroidTM系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(AndroidTM runtime)和系统库,以及内核层。
应用程序层可以包括一系列应用程序包。
如图3所示,应用程序包可以包括相机,图库,日历,通话界面,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。示例性的,通话界面应用负责管理与通过相关的界面,如显示来电界面、接听界面等。
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。
如图3所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,通话服务,资源管理器,通知管理器、决策中心等。
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。
通话服务用于提供电子设备300的通信功能。例如,通话状态的管理(包括接通,挂断等)。又例如,设备的同振管理。又例如,来电界面上所显示的来电信息的管理。
决策中心具备电子设备300上的多个业务所涉及的公共功能。例如,该公共功能包括设备状态的查询。
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。
AndroidTM runtime包括核心库和虚拟机。AndroidTM runtime负责安卓系统的调度和管理。
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管 理,线程管理,安全和异常的管理,以及垃圾回收等功能。
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。
2D图形引擎是2D绘图的绘图引擎。
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。
本申请提供一种基于分布式通话系统的来电提示方法,该分布式通话系统包括一个主设备和至少一个其它电子设备。该主设备为具备SIM卡的设备。该主设备接收到来电时,可以先根据其它电子设备的第一设备状态确定需同振的其它电子设备。之后,该主设备可以触发需同振的其他电子设备进行同振,使得该需同振的电子设备也进行来电提示,实现多设备来电同振,使得用户可以及时接听来电,避免出现来电漏接的问题,同时可以避免资源的浪费。
下面将以上述分布式通话系统中的主设备为手机,该分布式通话系统中的其它电子设备包括笔记本电脑和平板为例,结合附图对本申请实施例提供的一种来电提示方法进行具体介绍。如图4所示,该方法包括以下步骤:
S401.手机接收来电呼叫请求。该来电呼叫请求包括主叫电话号码。
其中,主叫电话号码为主叫方的电话号码,也就是发起上述来电呼叫请求的设备的电话号码。该来电呼叫请求用于请求与上述手机建立通话,该手机相当于被叫方。
在一些实施例中,上述来电呼叫请求还可以包括其它信息,如被叫方的电话号码等,本申请不限制来电呼叫请求所包括的信息。
S402.该手机响应于该来电呼叫请求,分别获取平板电脑和笔记本电脑的第一设备状态。
其中,该平板电脑和笔记本电脑分别与该手机近场连接。
示例性的,上述近场连接指示通过蓝牙、Wi-Fi、NFC等近场通信方式进行连接。上述手机、平板电脑和笔记本电脑组成了分布式通话系统,该手机可以为该分布式通话系统中的主设备,该平板电脑和笔记本电脑可以为该分布式通话系统中的其它电子设备,该主设备与各个该其它电子设备处于同一局域网内,且该主设备分别与各个该其它电子设备近场连接。
在一些实施例中,上述手机与该手机所在的分布式通话系统中的其它电子设备登录了同一账号。例如,平板电脑与该手机连接同一Wi-Fi、登录同一账号,则该平板电脑处于该手机的信任环内,也即该平板电脑为该手机所在的分布式通话系统中的其它电子设备。
在一些实施例中,为了提高设备通信的安全性,上述手机在与上述平板电脑之间 的登录同一账号以及近场连接建立成功后,该手机可以对该平板电脑进行可信认证,得到该平板电脑的认证结果。在该平板电脑的认证结果为认证成功后,表明该平板电脑是安全可信任的,该手机可以与该平板电脑进行交互,即该手机确定该平板电脑处于该手机的信任环内,也即该手机可以将该平板电脑作为该手机所在的分布式通话系统中的其它电子设备。
在该平板电脑的认证结果为认证失败后,表明该平板电脑的可信认证未通过,该平板电脑的安全性较低,则该手机确定该平板电脑不处于该手机的信任环内,也即该平板电脑不为该手机所在的分布式通话系统中的其它电子设备。
在该实施例中,手机在设备(如上述平板电脑)之间的近场连接(如Wi-Fi连接)建立成功后,分别对各个设备进行可信认证,确定可信任的设备,实现该手机的信任环的建立,也即实现分布式通话系统的建立。
示例性的,上述可信认证可以为密钥认证。该密钥认证的过程可以为:该手机通过私钥对预设数据加密,得到加密后的数据。之后,该手机可以向该平板电脑发送该加密后的数据。之后,该平板电脑接收该加密后的数据,并通过登录的账号的证书对该加密后的数据进行解密。之后,该平板电脑向该手机发送该解密后的数据。之后,该手机接收该解密后的数据。并将该预设数据对应的标准解密数据与该解密后的数据进行比较,该标准解密数据为在该加密后的数据进行解密后所得到的正确数据。如果两者一致,表明该平板电脑的证书是正确的,则该手机确定该平板电脑的认证结果为认证成功。如果两者不一致,表明该平板电脑的数据是错误的,则该手机确定该平板电脑的认证结果为认证失败。
其中,上述预设数据可以为密钥、字符(如数字、文字、符号)中的至少一个。
需要说明的是,上述所介绍的密钥认证的过程为密钥认证的一种实现方式,还可以通过其它实现方式实现密钥认证,在认证过程中利用到密钥的方式均属于该密码认证的实现方式。并且上述可信认证的方式也可以为其它方式。例如,手机判断该平板电脑是否在预设不安全名单中,如果在预设不安全名单中,则该手机确定该平板电脑的认证结果为认证失败,本申请不对该可信认证的方式限制。
示例性的,上述第一设备状态包括锁屏状态、灭屏状态、亮屏状态、解锁状态、机主识别未开启状态、第一预设状态、第三预设状态中的至少一个。
其中,机主识别未开启状态表示设备未开启机主识别功能。当设备(如上述平板电脑、笔记本电脑)本身便不具备机主识别功能,或者设备本身具备机主识别功能,但该机主识别功能关闭时,均可以认为该第一设备状态包括机主识别未开启状态。
其中,当设备在第一预设时长内未采集到手机的机主的人脸图像或声纹数据时,表明该设备的使用者没有机主本人,则确定该设备处于第三预设状态,也就是该设备的第一设备状态包括第三预设状态。当该设备在第一预设时长内采集到机主本人的人脸图像或声纹数据时,表明该设备的使用者包括机主本人,则确定该设备处于第一预设状态,也就是该设备的第一设备状态包括第一预设状态。也就是说,即使该设备的使用者包括多人,只要确定该多人的人脸图像或声纹数据中存在机主本人的人脸图像或声纹数据,该设备的第一设备状态便可以包括第一预设状态。
应理解,当设备的第一设备状态包括该第一预设状态或第三预设状态时,表明该 设备的机主识别功能呈开启状态。当设备具备机主识别功能时,用户可以开启或关闭该机主识别功能。例如,如图5所示,用户开启平板电脑的机主识别功能400,以使平板电脑的机主识别功能呈开启状态。
在本申请实施例中,上述手机接收到主叫方发送的来电呼叫请求后,该手机可以查询周围设备的第一设备状态,也就是查询该手机所在的分布式通话系统中的其它电子设备(如上述平板电脑和笔记本电脑)的第一设备状态,以供利用各个其它电子设备的第一设备状态分别确定各个其它电子设备是否需要进行同振,实现有效的多设备来电提示。
在一些实施例中,上述平板电脑和笔记本电脑可以每隔一定时间,便主动向上述手机上报自身的第一设备状态,实现设备状态的主动上报,但可能手机无需利用平板电脑和笔记本电脑的第一设备状态,从而造成设备状态的无效上报,导致资源的浪费。
在另一些实施例中,为了减少资源的浪费,上手机可以分别发送设备状态查询请求至上述平板电脑和上述笔记本电脑。该设备状态查询请求用于触发平板电脑或笔记本电脑查询自身的第一设备状态,并将该第一设备状态返回至该手机。
下面将以平板电脑查询并返回第一设备状态为例,介绍上述“平板电脑或笔记本电脑查询自身的第一设备状态,并将该第一设备状态返回至该手机”的过程。
在一种示例中,该平板电脑确定自身屏幕处于锁屏状态,将该锁屏状态作为该平板电脑的第一设备状态。然后,该平板电脑可以将该平板电脑的第一设备状态返回至该手机。
应理解,当设备(如上述平板电脑)本身未设置锁屏或者该设备本身设置了锁屏,但已经通过密码、指纹、人脸识别等解锁方式进行了解锁时,均可以认为该设备没有锁屏。
在另一种示例中,该平板电脑确定自身屏幕处于灭屏状态,将该灭屏状态作为该平板电脑的第一设备状态。然后,该平板电脑可以将该平板电脑的第一设备状态返回至该手机。
在另一种示例中,该平板电脑在第一预设时长内采集图像或声纹数据,以确定该平板电脑的当前使用者是否包括机主。如果通过该图像或声纹数据确定该平板电脑的使用者包括机主,该平板电脑可以将第一预设状态作为该平板电脑的第一设备状态。如果不包括机主,该平板电脑可以将第三预设状态作为该平板电脑的第一设备状态。然后,该平板电脑可以将该平板电脑的第一设备状态返回至该手机。
在另一种示例中,该平板电脑判断自身屏幕是否为亮屏以及锁屏。在屏幕亮屏以及锁屏时,该平板电脑可以将亮屏状态以及锁屏状态作为该平板电脑的第一设备状态。
在屏幕亮屏以及解锁时,该平板电脑可以将亮屏状态以及解锁状态作为该平板电脑的第一设备状态。
在屏幕灭屏以及锁屏时,该平板电脑可以将灭屏状态以及锁屏状态作为该平板电脑的第一设备状态。
在屏幕灭屏以及解锁时,该平板电脑可以将灭屏状态以及解锁状态作为该平板电脑的第一设备状态。
当然,由于用户在使用设备时,设备的屏幕一般是亮屏时,因此,在确定屏幕为 灭屏时,平板电脑可以无需继续判断屏幕是否锁屏,该平板电脑可以直接将灭屏状态作为该平板电脑的第一设备状态。
然后,该平板电脑可以将该平板电脑的第一设备状态返回至该手机。
在另一种示例中,该平板电脑既判断该屏幕是否为亮屏,又判断该平板电脑是否开启了机主识别功能。
该平板电脑确定自身屏幕处于亮屏状态。以及在该平板电脑开启了机主识别功能时,该平板电脑可以在第一预设时长内采集图像或声纹数据,以确定该平板电脑的当前使用者是否包括机主。在该当前使用者包括机主时,该平板电脑可以将该亮屏状态和该第一预设状态作为该平板电脑的第一设备状态。
当该当前使用者不包括机主时,该平板电脑可以将该亮屏状态和该第三预设状态作为该平板电脑的第一设备状态。
该平板电脑确定自身屏幕处于灭屏状态。以及在该平板电脑开启了机主识别功能时,该平板电脑可以继续识别该平板电脑的当前使用者是否包括机主。当该当前使用者包括机主时,该平板电脑可以将该灭屏状态和该第一预设状态作为该平板电脑的第一设备状态。
当该当前使用者不包括机主时,该平板电脑可以将该灭屏状态和该第三预设状态作为该平板电脑的第一设备状态。
在该平板电脑确定自身屏幕处于亮屏状态,该平板电脑未开启机主识别功能时,该平板电脑可以将该亮屏状态和机主识别未开启状态作为该平板电脑的第一设备状态。
在该平板电脑确定自身屏幕处于灭屏状态,该平板电脑未开启机主识别功能时,该平板电脑可以将该亮屏状态和机主识别未开启状态作为该平板电脑的第一设备状态。
当然,由于用户在使用设备时,设备的屏幕一般是亮屏时,因此,在确定屏幕为灭屏时,无需判断平板电脑的机主识别功能是否开启,该平板电脑可以直接将灭屏状态作为该平板电脑的第一设备状态。
然后,该平板电脑可以将该平板电脑的第一设备状态返回至该手机。
在另一种示例中,该平板电脑既判断该屏幕是否为解锁,又判断该平板电脑是否开启了机主识别功能。
在该平板电脑开启了机主识别功能时,该平板电脑可以继续识别该平板电脑的当前使用者是否包括机主。该平板电脑确定当前使用者包括机主以及该平板电脑确定自身屏幕处于解锁状态。那么,该平板电脑可以将该解锁状态和该第一预设状态作为该平板电脑的第一设备状态。
当该当前使用者不包括机主,以及该平板电脑确定自身屏幕处于解锁状态时,该平板电脑可以将该解锁状态和该第三预设状态作为该平板电脑的第一设备状态。
在该平板电脑开启了机主识别功能时,该平板电脑可以继续识别该平板电脑的当前使用者是否包括机主。当该当前使用者包括机主时,该平板电脑可以确定该平板电脑的设备使用者状态为第一预设状态。以及该平板电脑确定自身屏幕处于锁屏状态。那么,该平板电脑可以将该锁屏状态和该第一预设状态作为该平板电脑的第一设备状态。
当该当前使用者不包括机主时,该平板电脑可以确定该平板电脑的设备使用者状 态为第三预设状态。以及该平板电脑确定自身屏幕处于锁屏状态。那么,该平板电脑可以将该锁屏状态和该第三预设状态作为该平板电脑的第一设备状态。
在该平板电脑确定自身屏幕处于解锁状态,该平板电脑未开启机主识别功能时,该平板电脑可以将该解锁状态和机主识别未开启状态作为该平板电脑的第一设备状态。
在该平板电脑确定自身屏幕处于锁屏状态,该平板电脑未开启机主识别功能时,该平板电脑可以将该解锁状态和机主识别未开启状态作为该平板电脑的第一设备状态。
当然,由于用户在使用设备时,设备的屏幕一般是解锁时,因此,在确定屏幕为锁屏时,无需判断平板电脑的机主识别功能是否开启,该平板电脑可以直接将锁屏状态作为该平板电脑的第一设备状态。
然后,该平板电脑可以将该平板电脑的第一设备状态返回至该手机。
在另一种示例中,该平板电脑在确定第一设备状态时,判断自身屏幕是否为亮屏和锁屏,以及判断该平板电脑是否开启了机主识别功能,从而根据判断结果确定该平板电脑的第一设备状态。例如,该平板电脑确定自身屏幕处于亮屏状态以及解锁状态。在该平板电脑开启了机主识别功能时,该平板电脑可以继续识别该平板电脑的当前使用者是否包括机主。当该当前使用者包括机主时,该平板电脑可以将该亮屏状态、解锁状态和该第一预设状态作为该平板电脑的第一设备状态。
当该当前使用者不包括机主时,该平板电脑可以将该亮屏状态、解锁状态和该第三预设状态作为该平板电脑的第一设备状态。
当然,由于用户在使用设备时,设备的屏幕一般是亮屏以及解锁时,因此,在确定屏幕为灭屏或者锁屏时,无需判断平板电脑的机主识别功能是否开启,该平板电脑可以直接将亮屏状态或锁屏状态作为该平板电脑的第一设备状态。
然后,该平板电脑可以将该平板电脑的第一设备状态返回至该手机。
需要说明的是,由于手机的来电一般是主叫方想与该手机的机主沟通,因此,上述机主可以为手机的机主。
示例性的,上述平板电脑通过图像确定平板电脑的当前使用者是否包括机主的实现过程可以包括:一般地,用户在使用设备时,用户的脸部一般是处于设备的前方或上方,因此,该平板电脑可以通过人脸图像识别平板电脑的当前使用者是否包括上述手机的机主。具体的,该平板电脑可以先触发该平板电脑上的摄像头(如前置摄像头)在第一预设时长内拍摄图像。
之后,该平板电脑识别拍摄得到的图像中的人脸,得到该平板电脑的所有使用者的人脸图像。
之后,该平板电脑可以将该所有使用者中各个使用者的人脸图像分别与该手机的机主人脸图像进行比较。
当该所有使用者的人脸图像中存在该手机的机主的人脸图像时,该平板电脑可以确定该平板电脑的当前使用者包括该手机的机主,也就是说手机的机主此时在使用该平板电脑,该平板电脑处于第一预设状态。当该所有使用者的人脸图像中不存在该手机的机主的人脸图像时,该平板电脑可以确定该平板电脑的当前使用者不包括该手机的机主,该平板电脑处于第三预设状态,实现平板电脑的使用者是否存在机主本人的准确识别。
示例性的,上述平板电脑通过声纹数据确定平板电脑的当前使用者是否包括机主的实现过程可以包括:该平板电脑可以先发出语音输入提示信息,以提示该平板电脑的使用者说话。
之后,该平板电脑可以在第一预设时长内采集使用者的声音。之后,该平板电脑可以将该使用者的声音的声纹数据与该手机的机主的声纹数据进行比较。
当该使用者的声音的声纹数据中存在该手机的机主的声纹数据时,该平板电脑可以确定该平板电脑的当前使用者包括机主,该平板电脑处于第一预设状态。当该使用者的声音中不存在该手机的机主的声音时,该平板电脑可以确定该平板电脑的当前使用不包括机主,该平板电脑处于第三预设状态,实现平板电脑的使用者是否存在机主本人的准确识别。但相较于通过人脸图像识别平板电脑的当前使用者是否包括该手机的机主,通过声音识别还需要提示使用者说话,识别过程较复杂,机主识别效率较低。
需要说明的是,由于设备的机主一般不会发生变化,因此,上述手机的机主的人脸图像或手机的机主的声音可以是该手机在与该平板电脑建立近场连接时,该手机将采集的该手机的机主人脸图像或机主的声音通过近场通信发送至该平板电脑。例如,近场连接为蓝牙连接。该手机与该平板电脑首次建立蓝牙连接后,该手机可以将该手机的机主的人脸图像或该手机的机主的声音通过蓝牙发送至该平板电脑。
在一些实施例中,如图6所示,上述手机发送的设备状态查询请求可以是该手机中的通话服务发送的。具体的,当该手机来电时,该手机中的通话服务可以分别发送设备状态查询请求至上述平板电脑和笔记本电脑。相应的,该平板电脑中的通话服务可以响应于接收到的该设备状态查询请求,查询自身状态,得到该平板电脑的第一设备状态。之后,该平板电脑中的通话服务可以通过近场通信将该平板电脑的第一设备状态返回至该手机,使得该手机中的通话服务可以得到该平板电脑的第一设备状态,以供该手机中的通话服务利用该平板电脑的第一设备状态确定该平板电脑是否进行来电同振。
同理,该笔记本电脑中的通话服务可以响应于接收到的该设备状态查询请求,查询自身状态,得到该笔记本电脑的第一设备状态。之后,该笔记本电脑中的通话服务可以通过近场通信将该笔记本电脑的第一设备状态返回至该手机,使得该手机中的通话服务得到该平板电脑的第一设备状态,以供该手机中的通话服务利用该笔记本电脑的第一设备状态确定该笔记本电脑是否进行来电同振,实现分布式通话系统中的其它电子设备的第一设备状态的查询。
在另一些实施例中,如图7所示,上述手机发送的设备状态查询请求可以是该手机中的决策中心发送的。具体的,当该手机来电时,该手机中的决策中心可以分别发送设备状态查询请求至该平板电脑和该平板电脑。相应的,该平板电脑中的决策中心可以响应于接收到的该设备状态查询请求,查询自身状态,得到该平板电脑的第一设备状态。之后,该平板电脑中的决策中心通过近场通信将该平板电脑的第一设备状态返回至该手机。然后,该手机中的决策中心在得到该平板电脑的第一设备状态后,将该平板电脑的第一设备状态发送至该手机中的通话服务,使得该手机中的通话服务可以得到该平板电脑的第一设备状态,以供该手机中的通话服务可以利用该平板电脑的第一设备状态确定该平板电脑是否进行来电同振。
同理,该笔记本电脑中的决策中心可以响应于接收到的该设备状态查询请求,查询自身状态,得到该笔记本电脑的第一设备状态。之后,该笔记本电脑中的决策中心通过近场通信将该笔记本电脑的第一设备状态返回至该手机。然后,该手机中的决策中心在得到该笔记本电脑的第一设备状态后,将该笔记本电脑的第一设备状态发送至该手机中的通话服务,使得该手机中的通话服务可以得到该笔记本电脑的第一设备状态,以供该手机中的通话服务可以利用该笔记本电脑的第一设备状态确定该笔记本电脑是否进行来电同振。
在一些实施例中,手机中的决策中心所发送的设备状态查询请求可以手机中的通话服务发送的。例如,该手机中的通话服务响应于上述来电呼叫请求,发送相应的设备状态查询请求至该手机中的决策中心,以通过该手机中的决策中心查询分布式通话系统中的其它电子设备的第一设备状态。
在该实施例中,本申请将分布式业务(如通话业务)所涉及的公共操作(如第一设备状态查询操作)提取出来,形成决策中心,使得不同服务可以复用决策中心的功能,实现功能的复用,并且可以保证业务之间的解耦性。例如,手机涉及的分布式业务包括短信业务和通话业务,考虑到该短信业务和通话业务均涉及查询分布式通话系统中的其它电子设备的第一设备状态。因此,相关人员将查询其它电子设备的第一设备状态的操作提取出来,也就是将相关查询代码提取出来,形成该分布式通话系统中的主设备的决策中心,该主设备中的决策中心所具备的一个功能便为查询其它电子设备的第一设备状态,使得主设备在进行短信业务或通话业务时,该主设备中的短信服务或通话服务均可以利用该主设备中的决策中心的查询其它电子设备的第一设备状态的功能,实现功能的复用。
并且虽然不同服务需要使用同一个功能,但不同服务,也就是不同服务对应的业务之间仍可以是独立的,保证业务之间的解耦性。例如,短信服务和通话服务之间不存在调用关系,便均可以使用第一设备状态的查询功能,使得短信业务和通话业务之间仍可以是相互独立的。
同理,相关人员将其它电子设备查询自身第一设备状态,并将自身第一设备状态返回至主设备的公共操作提取出来,形式其它电子设备的决策中心,该其它电子设备的决策中心的一个功能便为查询自身第一设备状态,并将其返回至主设备,也同样保证了其它电子设备的业务之间的解耦性,以及实现了功能的复用。
S403.上述手机根据上述平板电脑的第一设备状态,判断该平板电脑是否满足预设不同振条件,以及根据上述笔记本电脑的第一设备状态,判断该笔记本电脑是否满足预设不同振条件。
其中,该预设不同振条件指示设备未被手机的机主使用。示例性的,该预设不同振条件包括其它电子设备处于灭屏状态、其它电子设备处于锁屏状态、其它电子设备处于第三预设状态中的至少一个。
例如,上述平板电脑在确定第一设备状态时,判断了该平板电脑的屏幕是否为亮屏、锁屏或该平板电脑的当前使用者是否包括手机的机主。因此,在平板电脑处于灭屏状态、锁屏状态或第三预设状态时,该平板电脑的第一设备状态包括灭屏状态、锁屏状态或第三预设状态,表明该平板电脑未被使用,也就是说该平板电脑未被该手机 的机主使用,那么该平板电脑无需进行来电同振,则该手机可以确定该平板电脑的第一设备状态满足预设不同振条件,即该第一设备满足预设不同振条件。
在该平板电脑的第一设备状态为亮屏状态时,该手机可以直接认为该平板电脑在被手机的机主使用,那么该手机可以确定该平板电脑的第一设备状态不满足预设不同振条件。
在该平板电脑的第一设备状态为解锁状态时,该手机可以直接认为该平板电脑在被手机的机主使用,那么该手机可以确定该平板电脑的第一设备状态不满足预设不同振条件,即该第一设备不满足预设不同振条件。
在该平板电脑的第一设备状态为第一预设状态时,该手机可以直接认为该平板电脑在被手机的机主使用,那么该手机可以确定该平板电脑的第一设备状态不满足预设不同振条件。
又例如,该平板电脑在确定第一设备状态时,既判断了平板电脑的屏幕是否亮屏,又判断了是否锁屏。因此,在该平板电脑的第一设备状态为亮屏状态和解锁状态时,表明该平板电脑被机主使用的概率较高,那么该手机可以确定该平板电脑的第一设备状态不满足预设不同振条件。否则,该手机可以确定该平板电脑的第一设备状态满足预设不同振条件。如在该平板电脑的第一设备状态为亮屏状态和锁屏状态时,该平板电脑的第一设备状态包括锁屏状态,表明该平板电脑未被机主使用概率较高,那么该手机可以确定该平板电脑的第一设备状态满足预设不同振条件。
又例如,该平板电脑在确定第一设备状态时,该平板电脑的机主识别功能呈开启状态,该平板电脑既判断了平板电脑的屏幕是否亮屏,又判断了该平板电脑的当前使用者是否包括手机的机主。因此,在该平板电脑的第一设备状态为亮屏状态和第一预设状态时,表明该平板电脑被机主使用,那么该手机可以确定该平板电脑的第一设备状态不满足预设不同振条件。否则,该手机可以确定该平板电脑的第一设备状态满足预设不同振条件。如在该平板电脑的第一设备状态为亮屏状态和第三预设状态时,该第一设备状态包括第三预设状态,表明该平板电脑未被机主使用,那么该手机可以确定该平板电脑的第一设备状态满足预设不同振条件。
又例如,该平板电脑在确定第一设备状态时,该平板电脑的机主识别功能呈关闭状态,该平板电脑判断了平板电脑的屏幕是否亮屏。因此,在该平板电脑的第一设备状态为亮屏状态和机主识别未开启状态时,表明该平板电脑可能被机主使用,那么该手机可以确定该平板电脑的第一设备状态不满足预设不同振条件。否则,该手机可以确定该平板电脑的第一设备状态满足预设不同振条件。如在该平板电脑的第一设备状态为灭屏状态和机主识别未开启状态时,该第一设备状态包括灭屏状态,表明该平板电脑未被机主使用,那么该手机可以确定该平板电脑的第一设备状态满足预设不同振条件。
又例如,该平板电脑在确定第一设备状态时,该平板电脑的机主识别功能呈开启状态,该平板电脑既判断了平板电脑的屏幕是否锁屏,又判断了该平板电脑的当前使用者是否包括手机的机主。因此,在该平板电脑的第一设备状态为解锁状态和第一预设状态时,表明该平板电脑被机主使用,那么该手机可以确定该平板电脑的第一设备状态不满足预设不同振条件。否则,该手机可以确定该平板电脑的第一设备状态满足 预设不同振条件。如在该平板电脑的第一设备状态为解锁状态和第三预设状态时,该第一设备状态包括第三预设状态,表明该平板电脑未被机主使用,那么该手机可以确定该平板电脑的第一设备状态满足预设不同振条件。
又例如,该平板电脑在确定第一设备状态时,该平板电脑的机主识别功能呈关闭状态,该平板电脑判断了平板电脑的屏幕是否锁屏。因此,在该平板电脑的第一设备状态为解锁状态和机主识别未开启状态时,表明该平板电脑可能被机主使用,那么该手机可以确定该平板电脑的第一设备状态不满足预设不同振条件。否则,该手机可以确定该平板电脑的第一设备状态满足预设不同振条件。如在该平板电脑的第一设备状态为锁屏状态和机主识别未开启状态时,该第一设备状态包括锁屏状态,表明该平板电脑未被机主使用,那么该手机可以确定该平板电脑的第一设备状态满足预设不同振条件。
又例如,该平板电脑在确定第一设备状态时,该平板电脑的机主识别功能呈开启状态,该平板电脑既判断了平板电脑的屏幕是否亮屏,又判断该平板电脑的屏幕是否锁屏,还判断了该平板电脑的当前使用者是否包括手机的机主。因此,在该平板电脑的第一设备状态为亮屏状态、解锁状态以及第一预设状态时,表明该平板电脑被机主使用,那么该手机可以确定该平板电脑的第一设备状态不满足预设不同振条件。否则,该手机可以确定该平板电脑的第一设备状态不满足预设不同振条件。如在该平板电脑的第一设备状态为亮屏状态、解锁状态以及第三预设状态时,由于该第一设备状态包括第三预设状态,因此,该手机可以确定该平板电脑的第一设备状态满足预设不同振条件。
S404.在该平板电脑不满足上述预设不同振条件时,该手机向该平板电脑发送同振消息。
S405.该平板电脑接收该同振消息,并响应于该同振消息,进行来电提示。
其中,该同振消息包括来电信息。该来电信息可以包括主叫电话号码和/或号码信息。
其中,号码信息表示该主叫电话号码的详细情况。该号码信息可以包括主叫电话号码的所属地区、陌生号码指示信息、标记信息、运营商信息、联系人信息中的一个或多个。
其中,该陌生号码指示信息表示该主叫电话号码为陌生号码,不属于该手机已存的联系人的电话号码。例如,该陌生号码指示信息为陌生号码。当主叫电话号码为陌生号码时,上述来电信息可以包括主叫电话号码以及陌生号码。
其中,标记信息表示该主叫电话号码为标记号码,例如,该标记信息为快递,表示该主叫电话号码为快递电话。当主叫电话号码为标记号码时,上述来电信息可以包括主叫电话号码以及该主叫电话号码的标记信息。
示例性的,联系人信息可以包括该主叫电话号码所属的联系人的姓名、头像、公司、职位、备注信息中的一个或多个。当上述主叫电话号码为手机已存的联系人的电话号码时,上述来电信息可以包括该主叫电话号码以及该主叫电话号码的联系人信息。当然,该来电信息还可以包括该主叫电话号码的所属地区。
在本申请实施例中,当分布式通话系统中的平板电脑的第一设备状态不满足预设 不同振条件时,表明该平板电脑被手机的机主使用,该手机可以发送同振消息至该平板电脑,以触发平板电脑进行来电同振,实现来电的精准提示,使得手机的机主能够及时发现来电,从而及时接听来电,避免出现由于手机的机主没有及时获知来电导致来电漏接的问题。
S406.在该平板电脑满足预设不同振条件时,该手机停止向该平板电脑发送同振消息。
在本申请实施例中,当分布式通话系统中的该平板电脑的第一设备状态满足预设不同振条件时,表明该平板电脑未被手机的机主使用,即使触发该平板电脑来电同振,手机的机主可能仍不会发现来电,造成无效来电同振。因此,为了避免来电的无效同振以减少资源的浪费,该手机可以不发送同振消息至该平板电脑,也就是说该手机可以不触发该平板电脑进行来电同振。
在一些实施例中,上述来电提示指示显示来电界面。一种情况下,上述平板电脑接收到来自手机发送的同振消息后,准备显示来电界面,该平板电脑可以获取该同振消息中的来电信息,并直接显示包括该来电信息的来电界面。
另一种情况下,上述平板电脑接收到来自手机发送的同振消息后,准备显示来电界面,为了保护用户隐私,该平板电脑可以根据自身状态确定该来电界面上所显示的来电信息,以显示包括该来电信息的来电界面,不仅实现了平板电脑的同振,还可以保护手机机主的隐私。如图4所示,上述S405的实现过程可以包括S410-S414。
S410.该平板电脑接收上述同振消息,该同振消息包括来电信息。
S411.该平板电脑响应于该同振消息,判断该来电信息中的主叫电话号码是否为联系人号码。
在一种实现方式中,当该来电信息中存在联系人信息时,该平板电脑可以确定该来电信息中的主叫电话号码为联系人号码。当该来电信息中存在陌生号码指示信息或标记信息时,该平板电脑可以确定该主叫电话号码不为联系人号码。
在另一种实现方式中,该平板电脑判断该平板电脑本地存储的联系人信息(简称为本地联系人信息)中是否存在该主叫电话号码。如果存在,该平板电脑确定该主叫电话号码为联系人号码。如果不存在,该平板电脑确定该主叫电话号码不为联系人号码。也就是说,手机发送的同振消息中可以不存在号码信息,或者不存在号码信息中的部分信息(如联系人信息)。
示例性的,该本地联系人信息可以是手机同步的。为了保证平板电脑上的本地联系人信息是最新的,该手机可以每隔一定时间,并将手机上的联系人信息同步至该平板电脑。或者,该手机可以在手机上的联系人信息更新时,将更新的联系人信息同步至该平板电脑,该更新包括联系人信息修改、新增、删除等。
在S411之后,如果该来电信息中的主叫电话号码不是联系人号码,表明该来电信息不涉及用户隐私,则该平板电脑可以执行S412。如果该来电信息中的主叫电话号码是联系人号码,表明该来电信息涉及用户隐私,则该平板电脑可以执行S413-S414。
S412.该平板电脑显示包括该来电信息的来电界面。
在本申请实施例中,当上述主叫电话号码不为联系人号码时,表明该来电信息本身不涉及用户隐私,则该平板电脑可以直接显示该来电信息,也就是显示包括该来电 信息的来电界面。例如,该来电信息包括陌生号码指示信息以及主叫电话号码,该陌生号码指示信息为陌生号码。如图8所示的来电界面10,该来电界面10显示有陌生号码11以及主叫电话号码12。
在一些实施例中,上述来电信息还可以包括其它信息,如主叫电话号码的所属地区等。相应的,上述来电界面10还可以包括该所属地区13。
在一些实施例中,上述来电界面10还可以包括其它内容,如预设头像14、挂断按钮15、接听按钮16。该挂断按钮15用于触发上述手机拒绝与主叫方建立通话连接。该接听按钮16用于触发上述手机与主叫方建立通话连接。
S413.该平板电脑对该来电信息进行隐藏。
S414.该平板电脑显示包括隐藏后的来电信息的来电界面。
在本申请实施例中,当上述主叫电话号码为联系人号码时,表明该来电信息涉及手机的机主隐私,该平板电脑可以先对该来电信息中的主叫电话号码和/或联系人信息进行隐藏处理,得到隐藏后的来电信息。然后,该平板电脑显示包括该隐藏后的来电信息的来电界面,实现用户信息的保护,避免用户隐私的泄露。
一种实现方式中,上述平板电脑对上述来电信息中的主叫电话号码进行隐藏处理。相应的,上述隐藏后的来电信息包括隐藏后的主叫电话号码和完整的联系人信息。
另一种实现方式中,上述平板电脑对上述来电信息中的联系人信息进行隐藏处理。相应的,上述隐藏后的来电信息包括隐藏后的联系人信息和完整的主叫电话号码。
另一种实现方式中,上述平板电脑对上述来电信息中的主叫电话号码和联系人信息均进行隐藏处理。相应的,上述隐藏后的来电信息包括隐藏后的联系人信息和隐藏后的主叫电话号码。
在一些实施例中,上述平板电脑在对主叫电话号码进行隐藏时,可以通过第一预设隐藏符号替换该主叫电话号码的全部数字,也可以通过第一预设隐藏符号替换主叫电话号码的部分位置上的数字。如,该主叫电话号码中的每个需隐藏的位置上的数字分别通过第一预设隐藏符号表示。
其中,该第一预设隐藏符号可以根据需求进行设置。例如,该第一预设隐藏符号为*,上划线、下划线、空格等符号。又例如,该第一预设隐藏符号为预设隐藏文字。
其中,该部分位置可以是电话号码中的随机位置,也可以是电话号码中的固定位置(或称为第一预设位置),如该第一预设位置为中间4位,上述第一预设隐藏符号为*。相应的,平板电脑可以用“*”号替换主叫电话号码的中间4位数字,也就是在该中间4位数字中的每个数字位置上显示*号,得到如图9所示的来电界面20中的隐藏后的主叫电话号码21,实现主叫电话号码的去隐私处理。
在一些实施例中,上述平板电脑在对上述联系人信息进行隐藏处理时,可以对该联系人信息中的预设信息进行部分隐藏或全部隐藏。其中,该预设信息可以包括联系人的姓名、头像、公司、职位和备注信息中的至少一个。
其中,上述部分隐藏是指对预设信息中的部分位置上的内容进行隐藏,而正常显示该预设信息中的其余位置上的内容。例如,该预设信息包括联系人的姓名,该平板电脑可以对该姓名中的名进行隐藏,而不隐藏该姓名中的姓氏。又例如,该预设信息包括公司、职位和备注信息时,可以对该公司、职位和备注信息的第二预设位置(如 中间2位)的进行隐藏。
其中,上述全部隐藏是指对预设信息的全部内容进行隐藏。例如,预设信息包括联系人的姓名,该平板电脑可以隐藏该联系人的姓名,也就是说,该联系人的姓名不会显示在来电界面上。
在一些实施例中,上述在对预设信息进行隐藏处理(如上述部分隐藏或全部隐藏)处理时,该预设信息中的每个需隐藏的位置上的内容可以通过第二预设隐藏符号表示。或者,该预设信息中的需隐藏的位置上的内容直接不显示。举例来说,上述手机接收到来电呼叫请求后,显示如图10所示的来电界面30,该来电界面包括联系人的姓名31、头像32、公司33、职位34和备注信息35。上述预设信息包括联系人的姓名、公司、职位和备注信息。上述平板电脑需进行同振。该平板电脑在接收到同振消息后,对该预设信息进行隐藏处理,并显示如图11所示的来电界面40,该来电界面40上的联系人的姓名、公司、职位和备注信息处于不显示状态,也就是隐藏状态。
其中,上述第二预设隐藏符号可以根据需求进行设置。例如,该第二预设隐藏符号为*,上划线、下划线、空格等符号。又例如,该第一预设隐藏符号为预设隐藏文字。
示例性的,由于头像是一个完整的图片,上述预设信息还包括联系人的头像。因此,在对联系人的头像进行隐藏处理时,平板电脑可以将该头像替换成预设头像。或者平板电脑直接不显示该联系人的头像,也即来电界面上没有现有头像,实现头像的去隐私处理。承接上述举例,上述预设信息还包括联系人的头像。平板电脑不仅对该联系人的姓名、公司、职位和备注信息进行隐藏处理,还对该联系人的头像进行隐藏处理。当对联系人的头像进行隐藏处理指示将该头像替换成预设头像时,该平板电脑显示如图12所示的来电界面50,该来电界面50上的联系人的姓名、公司、职位和备注信息处于不显示状态,该来电界面50上的联系人的头像为预设头像51。当对联系人的头像进行隐藏处理指示不显示该联系人的头像时,该平板电脑显示如图13所示的来电界面60,该来电界面60上的联系人的姓名、公司、职位、联系人的头像和备注信息处于不显示状态。
举例来说,该平板电脑对主叫电话号码以及联系人信息进行隐藏,将该主叫电话号码的中间4为数字通过“*”号表示,以及将联系人信息中的预设信息的状态变为隐藏状态,得到如图14所示的来电界面70,该来电界面70上显示有隐藏后的电话号码71,并且该来电界面70可以包括呈隐藏状态的预设信息,如联系人的姓名、公司、头像、职位、备注信息等预设信息。
在一些实施例中,当上述来电界面上显示的信息为隐藏后的来电信息时,该来电界面显示的信息可能较少,用户可能无法快速知道是来电,有可能会误认为是其它提示(如短信提示)。因此,为了实现来电的有效提示,上述包括隐藏后的来电信息的来电界面还可以包括预设来电提示信息,以提示用户当前接收到来电。例如,该预设来电提示信息为图15中的来接界面80中的1个来电。
需要说明的是,上述来电信息可以不包括号码信息,该号码信息可以是平板电脑根据来电信息中的主叫电话号码确定的。如平板电脑可以从本地联系人信息中查找该主叫电话号码的联系人信息。相应的,上述介绍的对来电信息中的联系人信息进行隐藏可以指示对从平板电脑的本地联系人信息获取的该主叫电话号码的联系人信息进行 隐藏。例如,在该平板电脑的本地联系人信息中存在该主叫电话号码的联系人信息时,该平板电脑确定第一待显示信息,该第一待显示信息包括主叫电话号码和/或联系人信息。之后,该平板电脑对该第一待显示信息进行隐藏,并显示包括隐藏后的待显示信息的来电界面。该联系人信息可以是手机发送的同振消息中的来电信息携带的,也可以是该平板电脑从本地联系人信息中确定的。在该平板电脑的本地联系人信息中确定不存在该主叫电话号码的联系人信息时,该平板电脑可以直接包括主叫电话号码和/或该主叫电话号码的号码信息的来电界面。其中,该来电界面上显示的除主叫电话号码以外的信息(如陌生号码指示信息)可以是该平板电脑确定的,而不是来电信息携带的。
也就是说,在手机或平板电脑中保存有该主叫电话号码的联系人信息时,该平板电脑便可以确定该主叫电话号码为联系人号码。之后,在该主叫电话号码为联系人号码,该平板电脑可以对该主叫电话号码的联系人信息进行隐藏,该主叫电话号码的联系人信息可以是手机发送的同振消息携带的,或者使该平板电脑本地保存的。
在一些实施例中,为了避免来电信息无效的隐藏以实现用户隐私的有效保护,该平板电脑可以先判断该平板电脑的使用者是否存在除手机的机主以外的人,以确定是否需要对上述来电信息进行隐藏。如果确定需要隐藏,则该平板电脑可以继续执行上述S413-S414。如果确定不需要隐藏,表明即使不隐藏,也不会泄露用户隐私,该平板电脑可以不对该来电信息进行隐藏,也就是该平板电脑可以直接执行上述S412。具体的,该平板电脑判断是否需要对来电信息隐藏的过程可以包括图16中的S415和S416。
S415.该平板电脑获取第二设备状态。
S416.该平板电脑基于该第二设备状态,判断该平板电脑是否满足预设来电信息隐藏条件。
其中,该预设来电信息隐藏条件指示设备的使用者存在除手机的机主以外的人。示例性的,预设来电信息隐藏条件包括平板电脑处于投屏状态或平板电脑处于第二预设状态。
示例性的,响应于接收到来自上述手机的同振消息,该平板电脑确定自身是否处于投屏状态,得到第二设备状态。该第二设备状态指示该平板电脑是否满足预设来电信息隐藏条件。在该第二设备状态为投屏状态时,表明该平板电脑的屏幕处于共享状态,该屏幕上显示的内容可能会被其它人看到,为了保护用户隐私,不直接显示同振消息中的来电信息,则该平板电脑可以确定第二设备状态满足预设来电信息隐藏条件,对该同振消息中的来电信息进行隐藏处理。例如,如果平板电脑是通过预设会议软件进行投屏,表明该平板电脑在进行会议投屏,该平板电脑的第二设备状态可以为投屏状态。当然,该平板电脑通过其它软件(如视频软件或者特定的投屏软件)进行投屏时,该平板电脑的第二设备状态也可以为投屏状态。
示例性的,第二预设状态指示该平板电脑在第二预设时长内采集到除手机的机主以外的人脸图像或声纹数据。由于从手机查询平板电脑的第一设备状态到平板电脑接收到同振消息这段时长一般较短,因此,如果该平板电脑在确定第一设备状态时,需识别该平板电脑的当前使用者是否包括机主,那么,该平板电脑可以在确定该第一设 备状态的过程中,便可以通过人脸图像或声纹数据识别该平板电脑的使用者是否包括除手机的机主以外的人。具体的,如果通过人脸图像或声纹数据识别到该当前使用者不仅包括机主还包括其他人,则该平板电脑可以确定该平板电脑的第二设备状态为第二预设状态,也就是该平板电脑处于第二预设状态。如果识别到该当前使用者未包括其他人,则该平板电脑可以确定该平板电脑的第二设备状态不为第二预设状态。
如果该平板电脑在确定第一设备状态时,没有识别该平板电脑的当前使用者是否包括机主。那么该平板电脑可以响应于接收到来自上述手机的同振消息,在第二预设时长内采集图像或声音,以供利用该图像或声音识别该平板电脑的当前使用者是否包括除手机的机主以外得到人,从而确定该平板电脑是否处于第二预设状态。
相应的,在该第二设备状态为第二预设状态时,表明该屏幕上显示的内容可能会被其它人看到,为了保护用户隐私,不直接显示同振消息中的来电信息,则该平板电脑可以确定第二设备状态满足预设来电信息隐藏条件,对该同振消息中的来电信息进行隐藏处理。
在一些实施例中,如上述图6或图7所示,上述来电界面可以是平板电脑中的通话服务触发显示的。具体的,手机中的通话服务根据该平板电脑的第一设备状态判断该平板电脑是否需要来电同振。在确定该平板电脑需要来电同振时,发送同振消息至该平板电脑。该平板电脑中的通话服务在接收该同振消息后,确定显示的来电信息。在该平板电脑的屏幕上显示包括该显示的来电信息的来电界面。例如,该显示的来电信息为上述隐藏后的来电信息。
示例性的,如图17所示,上述该平板电脑中的通话服务在接收该同振消息后,确定显示的来电信息(如上述待显示信息),并将该显示的来电信息发送至该平板电脑中的通话界面应用。该通话界面应用在接收到该显示的来电信息时,在该平板电脑的屏幕上显示包括该显示的来电信息的来电界面。
在一些实施例中,在上述显示的来电信息为隐藏后的来电信息,也即在上述来电界面上的内容为隐藏后的来电信息时,如图18所示,响应于用户对包括隐藏后的来电信息的来电界面的点击操作,该平板电脑显示完整的来电信息。
示例性的,该点击操作可以是用户对上述来电界面上的隐藏后的来电信息的点击操作。例如,平板电脑显示如上述图14的来电界面70,该来电界面70上显示有隐藏后的主叫电话号码71。用户对点击该隐藏后的主叫电话号码71(如图19中的点击该隐藏后的主叫电话号码71中的*号),这里点击隐藏后的主叫电话号码便为该点击操作。该平板电脑可以响应于该点击操作,显示所有隐藏信息,即将处理隐藏状态的来电信息变为显示状态,该平板电脑显示如图20所示的来电界面90,该来电界面90中的联系人的姓名、头像、公司、职位、备注信息以及主叫电话号码均是显示状态。当然,上述点击操作也可以是用户在该来电界面上的其它位置上的点击操作,如该来电界面上的空白位置。
在该实施例中,本申请中的分布式通话系统中的其它电子设备(如上述平板电脑)在接收到主设备(如上述手机)发送的同振消息后,表明该其它电子设备也需要进行来电提示,为了实现用户隐私的有效保护,在该来电对应的主叫电话号码属于联系人号码时,该其它电子设备先确定自身的第二设备状态。之后,该其它电子设备判断该 自身的第二设备状态是否满足预设来电信息隐藏条件,以确定该其它电子设备的使用者中是否存在除该主设备的机主以外的使用者。如果该第二设备状态满足预设来电信息隐藏条件,表明存在除该主设备的机主以外的使用者,为了避免让除该主设备的机主以外的使用者看到来电的具体情况,以保护该主设备的机主的隐私,该其它电子设备对该同振消息中的来电信息进行隐藏,并显示包括隐藏后的来电信息的来电界面,在实现来电及时提醒的情况下,还可以有效保护用户隐私。并且,如果使用者想要获知来电的具体情况,可以对该来电界面进行点击操作。该其它电子设备响应于该点击操作,显示完整的来电信息,使得该使用者可以获知来电的联系人的具体信息,实现来电的半步提醒的功能,相较于在来电界面上直接显示完整的来电信息,本申请可以有效保护用户隐私,提高用户使用满意度。
在一些实施例中,在上述显示的来电信息为隐藏后的来电信息,也即在上述来电界面上的内容为隐藏后的来电信息时,结合上述图18所示,响应于来电接听操作,该平板电脑中的通话界面应用显示接听界面,该接听界面显示完整的来电信息,使得使用者可以实时获知主叫方的详细信息。示例性的,使用者可以点击来电界面上的接听按钮,这里的点击该接听按钮的操作便为上述来电接听操作。该平板电脑响应于该来电接听操作,显示如图21所示的接听界面91,该接听界面91上显示有完整的来电信息。
在一些实施例中,平板电脑在接收到同振消息后,不仅可以显示相应的来电界面,还可以按照来电声音提示方式进行来电提示。例如,该来电声音提示方式包括震动、响铃和静音中的至少一个。
其中,上述来电声音提示方式可以是平板电脑本身设定的方式,也可以是平板电脑从同振消息中获取的。
在一些实施例中,上述平板电脑显示的来电界面可以包括第一提示信息(如上述图8所示的第一提示信息17),该第一提示信息用于提示该平板电脑接听的来电实际所属的设备,也就是用于提示该平板电脑接听的是手机来电。
在一些实施例中,上述平板电脑显示的接听界面可以包括第二提示信息(如上述图21所示的第二提示信息19),该第二提示信息用于提示该平板电脑接通的来电是属于手机的,也就是该第二提示信息指示该平板电脑接通的来电实际所属的设备。
在一些实施例中,上述平板电脑显示的通话界面(如来电界面或接听界面)的显示方式可以是全屏显示(如图21所示的接听界面的是全屏显示),也可以是横幅方式显示(如图8所示的来电界面是横幅显示)。当然平板电脑也可以不显示通话界面,而是在状态栏上显示相应的通话状态信息,该通话状态信息指示该平板电脑处于来电状态或者通话状态,并且该通话状态信息还可以指示该来电实际所属设备。本申请不对平板电脑的显示方式进行限制,平板电脑可以根据其当前所处的场景进行显示。
应理解,上述图1、图8-图15以及图19-图21中所示的界面的大小、界面在屏幕的位置、界面所需包括的内容(如来电信息所包括的内容)以及各内容在该界面的位置可以根据实现需求进行设置,本申请不对其进行限制。
在本申请实施例中,平板电脑中的通话服务与手机中的通话服务进行信令交互,而无需进行设备状态的查询。例如,手机中的通话服务在确定平板电脑需要进行同振 时,发送同振消息至该平板电脑中的通话服务。该平板电脑中的通话服务响应于该同振消息,显示相应的来电界面。该平板电脑中的通话服务以及该手机中的通话服务无需查询设备状态,可以利用相应的决策中心实现设备状态的查询。当其它分布式业务需要涉及设备状态查询时,便可以通过相应的决策中心实现,实现设备查询功能的复用,并降低业务开发的难度。
S407.在该笔记本电脑不满足预设不同振条件时,该手机向该笔记本电脑发送同振消息。
S408.该笔记本电脑接收该同振消息,并响应于该同振消息,进行来电提示。
S409.在该笔记本电脑满足预设不同振条件时,该手机停止向该笔记本电脑发送同振消息。
在本申请实施例中,S407-S409的具体实施方式与上述S404-S406类似,此处不再赘述。
在一些实施例中,当该笔记本电脑接收到同振消息后,该笔记本电脑基于该同振消息显示来电界面以实现来电同振的过程与上述平板电脑基于同振消息显示来电界面以实现来电同振的过程类似,此处不再赘述。
需要说明的是,上述实施例所介绍的方法中的其它电子设备主要是具备屏幕的电子设备。当其它电子设备不具备屏幕时,主设备(如上述手机)可以在确定该其它电子设备的第一设备状态为使用状态时,便可以触发该其它电子设备进行来电同振。如该其它电子设备为蓝耳耳机时,当该蓝牙耳机处于佩戴状态时,手机便可以认为该蓝牙耳机的第一设备状态为使用状态,则该手机触发该蓝牙耳机发出来电语音提示,实现蓝牙耳机的来电同振。
在本申请实施例中,分布式通话系统中的主设备和除该主设备以外的其它电子设备在同一局域网内,且该主设备分别与各个其它电子设备近场连接。该主设备可以认为该其它电子设备处于信任环内。该主设备在接收到来电时,根据信任环内的其它电子设备的第一设备状态确定其它电子设备当前是否被主设备的机主使用。在该其它电子设备未被主设备的机主使用时,表明即使控制该其它电子设备进行来电同振,该主设备的机主仍可能无法发现来电,因此,该主设备没有必要触发该其它电子设备进行来电同振。在该其它电子设备被主设备的机主使用时,表明控制该其它电子设备进行来电同振可以使该主设备的机主发现来电,从而使该来电能够及时得到接听,实现有效的来电提示,避免无需来电同振,从而可以有效降低资源的浪费。
本申请实施例还提供一种计算机可读存储介质,该计算机存储介质包括计算机指令,当计算机指令在上述电子设备上运行时,使得该电子设备执行上述方法实施例中的各个功能或者步骤。
本申请实施例还提供一种计算机程序产品,包括计算机程序,当计算机程序在电子设备上运行时,使得电子设备执行上述方法实施例中的各个功能或者步骤。
通过以上实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (16)

  1. 一种来电提示方法,其特征在于,应用于分布式通话系统中的第一设备,所述分布式通话系统还包括至少一个第二设备,所述第一设备和所述第二设备基于近场通信方式建立连接;所述方法包括:
    所述第一设备接收来电呼叫请求,所述来电呼叫请求包括主叫电话号码;
    所述第一设备响应于所述来电呼叫请求,分别获取所述至少一个第二设备中的各个第二设备的第一设备状态;所述第二设备的第一设备状态指示所述第二设备是否满足预设不同振条件;
    在所述第二设备不满足所述预设不同振条件的情况下,所述第一设备向所述第二设备发送同振消息;所述同振消息包括来电信息,所述来电信息包括所述主叫电话号码;所述同振消息用于触发所述第二设备根据所述来电信息进行来电提示,所述预设不同振条件指示所述第二设备未被所述第一设备的机主使用;
    其中,在所述第二设备满足所述预设不同振条件的情况下,所述第一设备不向所述第二设备发送所述同振消息,未收到所述同振消息的所述第二设备不进行来电提示。
  2. 根据权利要求1所述的方法,其特征在于,所述预设不同振条件包括:所述第二设备处于锁屏状态、所述第二设备处于灭屏状态、所述第二设备处于第一预设状态中的一个或多个;其中,所述第二设备在第一预设时长内未采集到所述第一设备的机主的人脸图像或声纹数据时,所述第二设备处于所述第一预设状态。
  3. 根据权利要求1或2所述的方法,其特征在于,所述分别获取所述至少一个第二设备中的各个第二设备的第一设备状态,包括:
    对于所述各个第二设备,基于所述近场通信方式,所述第一设备向所述第二设备发送设备状态查询请求,所述设备状态查询请求用于触发所述第二设备确定所述第二设备的第一设备状态;
    所述第一设备接收所述第二设备返回的所述第二设备的第一设备状态。
  4. 根据权利要求3所述的方法,其特征在于,所述第一设备包括第一决策中心和第一通话服务,所述各个第二设备分别包括第二决策中心和第二通话服务;
    所述第一设备向所述第二设备发送设备状态查询请求,包括:
    所述第一决策中心向所述第二设备中的第二决策中心发送设备状态查询请求,所述设备状态查询请求用于触发所述第二设备中的第二决策中心确定所述第二设备的第一设备状态;
    所述第一设备接收所述第二设备返回的所述第二设备的第一设备状态,包括:
    所述第一决策中心接收所述第二设备中的第二决策中心返回的所述第二设备的第一设备状态。
  5. 根据权利要求1至4中任一项所述的方法,其特征在于,所述来电信息还包括所述主叫电话号码的所属地区、陌生号码指示信息、运营商信息、标记信息、联系人信息中的一个或多个;所述陌生号码指示信息表示所述主叫电话号码为陌生号码,所述标记信息表示所述主叫电话号码为标记号码;所述联系人信息包括所述主叫电话号码所属的联系人的姓名、头像、公司、职位、备注信息中的一个或多个。
  6. 一种来电提示方法,其特征在于,应用于分布式通话系统中的第二设备,所述 分布式通话系统还包括一个第一设备,所述第一设备和所述第二设备基于近场通信方式建立连接;
    所述方法包括:
    所述第二设备向所述第一设备发送所述第二设备的第一设备状态,所述第一设备状态用于指示所述第二设备是否满足预设不同振条件,所述预设不同振条件指示所述第二设备是否被所述第一设备的机主使用;
    所述第二设备接收所述第一设备发送的同振消息;所述同振消息包括来电信息,所述来电信息包括所述第一设备接收到的来电呼叫请求中的主叫电话号码;
    响应于所述同振消息,所述第二设备根据所述来电信息进行来电提示。
  7. 根据权利要求6所述的方法,其特征在于,所述来电提示包括显示来电界面;
    所述第二设备根据所述来电信息进行来电提示,包括:
    若所述第一设备或所述第二设备中保存有所述主叫电话号码的联系人信息,所述第二设备对待显示信息进行隐藏,并显示包括隐藏后的待显示信息的来电界面,所述待显示信息包括所述主叫电话号码和/或所述主叫电话号码的联系人信息;
    若所述第一设备或所述第二设备中未保存有所述主叫电话号码的联系人信息,所述第二设备显示包括所述来电信息的来电界面。
  8. 根据权利要求7所述的方法,其特征在于,所述第二设备对待显示信息进行隐藏,包括:
    所述第二设备获取第二设备状态;所述第二设备状态指示所述第二设备是否满足预设来电信息隐藏条件;
    在所述第二设备满足预设来电信息隐藏条件的情况下,所述第二设备对待显示信息进行隐藏,所述预设来电信息隐藏条件指示所述第二设备的使用者存在除所述第一设备的机主以外的人。
  9. 根据权利要求8所述的方法,其特征在于,所述方法还包括:
    在所述第二设备不满足预设来电信息隐藏条件的情况下,所述第二设备显示包括所述来电信息的来电界面。
  10. 根据权利要求8或9所述的方法,其特征在于,所述预设来电信息隐藏条件包括:所述第二设备处于投屏状态和/或所述第二设备处于第二预设状态;其中,所述第二设备在第二预设时长内采集到除所述第一设备的机主以外的人脸图像或声纹数据时,所述第二设备处于所述第二预设状态。
  11. 根据权利要求6至10中任一项所述的方法,其特征在于,所述方法还包括:
    所述第二设备接收所述第一设备发送的设备状态查询请求;
    响应于所述设备状态查询请求,所述第二设备确定所述第二设备的第一设备状态,并向所述第一设备发送所述第二设备的第一设备状态。
  12. 根据权利要求11所述的方法,其特征在于,所述预设不同振条件包括:所述第二设备处于锁屏状态、所述第二设备处于灭屏状态、所述第二设备处于第一预设状态中的一个或多个;其中,所述第二设备在第一预设时长内未采集到所述第一设备的机主的人脸图像或声纹数据时,所述第二设备处于所述第一预设状态。
  13. 根据权利要求12所述的方法,其特征在于,所述方法还包括:
    所述第二设备控制所述第二设备的摄像头在第一预设时长内采集图像,并对所述图像进行人脸识别,得到所述第二设备的使用者的人脸图像;
    所述第二设备获取所述第一设备的机主的人脸图像;
    所述第二设备在确定所述使用者的人脸图像中存在所述机主的人脸图像时,确定所述第二设备处于第一预设状态。
  14. 一种分布式通话系统,其特征在于,所述分布式通话系统包括一个第一设备和至少一个第二设备,所述第一设备分别与所述至少一个第二设备中的各个第二设备通过近场通信方式进行连接;
    所述第一设备接收来电呼叫请求,所述来电呼叫请求包括主叫电话号码;
    所述第一设备响应于所述来电呼叫请求,分别获取所述各个第二设备的第一设备状态;所述第二设备的第一设备状态指示所述第二设备是否满足预设不同振条件;
    在所述第二设备不满足预设不同振条件的情况下,所述第一设备向所述第二设备发送同振消息;所述同振消息包括来电信息,所述来电信息包括所述主叫电话号码;所述预设不同振条件指示第二设备未被所述第一设备的机主使用;
    所述第二设备接收所述第一设备发送的同振消息;
    响应于所述同振消息,所述第二设备根据所述来电信息进行来电提示。
  15. 一种电子设备,其特征在于,所述电子设备是第一设备,所述电子设备包括显示屏、存储器、一个或多个用户标识模块SIM卡接口和一个或多个处理器;所述显示屏、所述存储器、所述SIM卡接口和所述处理器耦合;所述SIM卡接口用于连接SIM卡,所述显示屏用于显示所述处理器生成的图像,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令;当所述处理器执行所述计算机指令时,使得所述电子设备执行如权利要求1至5中任一项所述的方法。
  16. 一种计算机可读存储介质,其特征在于,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求1至5或6至13中任一项所述的方法。
PCT/CN2023/114809 2022-09-28 2023-08-24 一种来电提示方法及电子设备 WO2024066837A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211193011.7 2022-09-28
CN202211193011.7A CN117793655A (zh) 2022-09-28 2022-09-28 一种来电提示方法及电子设备

Publications (1)

Publication Number Publication Date
WO2024066837A1 true WO2024066837A1 (zh) 2024-04-04

Family

ID=90387712

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/114809 WO2024066837A1 (zh) 2022-09-28 2023-08-24 一种来电提示方法及电子设备

Country Status (2)

Country Link
CN (1) CN117793655A (zh)
WO (1) WO2024066837A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012119812A (ja) * 2010-11-30 2012-06-21 Nec Casio Mobile Communications Ltd 携帯端末着信制御システム、携帯端末、及び制御装置
US20140093063A1 (en) * 2011-06-03 2014-04-03 Huawei Technologies Co., Ltd. Method, call center, and system for agent terminal to answer call
CN109525717A (zh) * 2018-10-30 2019-03-26 上海与德科技有限公司 基于移动终端的来电提醒方法、系统及服务器
CN110138968A (zh) * 2019-04-30 2019-08-16 努比亚技术有限公司 一种来电提醒方法、穿戴式设备及存储介质
US20190370488A1 (en) * 2018-06-01 2019-12-05 Motorola Mobility Llc Controlling Non-Owner Access to Media Content on a Computing Device
CN114095599A (zh) * 2020-07-03 2022-02-25 华为技术有限公司 消息显示方法和电子设备

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012119812A (ja) * 2010-11-30 2012-06-21 Nec Casio Mobile Communications Ltd 携帯端末着信制御システム、携帯端末、及び制御装置
US20140093063A1 (en) * 2011-06-03 2014-04-03 Huawei Technologies Co., Ltd. Method, call center, and system for agent terminal to answer call
US20190370488A1 (en) * 2018-06-01 2019-12-05 Motorola Mobility Llc Controlling Non-Owner Access to Media Content on a Computing Device
CN109525717A (zh) * 2018-10-30 2019-03-26 上海与德科技有限公司 基于移动终端的来电提醒方法、系统及服务器
CN110138968A (zh) * 2019-04-30 2019-08-16 努比亚技术有限公司 一种来电提醒方法、穿戴式设备及存储介质
CN114095599A (zh) * 2020-07-03 2022-02-25 华为技术有限公司 消息显示方法和电子设备

Also Published As

Publication number Publication date
CN117793655A (zh) 2024-03-29

Similar Documents

Publication Publication Date Title
US12039144B2 (en) Display information interaction method and related apparatus
CN111404802A (zh) 通知处理系统、方法以及电子设备
CN112882777B (zh) 一种分屏显示方法及电子设备
CN113609498B (zh) 数据保护方法及电子设备
AU2019385366A1 (en) Voice control method and electronic device
CN113806105B (zh) 消息处理方法、装置、电子设备和可读存储介质
US20230351048A1 (en) Application Permission Management Method and Apparatus, and Electronic Device
CN111954283A (zh) 一种接入无线局域网的方法和终端
WO2020006711A1 (zh) 一种消息的播放方法及终端
US20220345563A1 (en) Address book-based device discovery method, audio and video communication method, and electronic device
CN112887926B (zh) 一种呼叫方法及装置
EP4130955A1 (en) Method for managing application window, and terminal device and computer-readable storage medium
CN113170279B (zh) 基于低功耗蓝牙的通信方法及相关装置
CN113170019A (zh) 一种基于应用的来电显示方法和终端设备
US20240031450A1 (en) Method and apparatus for processing push message
US20240237115A1 (en) Message Push Method and Apparatus
CN115580677B (zh) 一种控制设备的方法、电子设备及存储介质
WO2023284633A1 (zh) 个人身份识别码pin码的处理方法和装置
CN112966297B (zh) 数据保护方法、系统、介质及电子设备
WO2024027199A1 (zh) 风险识别方法和电子设备
CN114816463A (zh) 升级提示方法、终端设备及计算机可读存储介质
WO2023071540A1 (zh) 基于分布式通话录音同步方法、电子设备及可读存储介质
CN115017498B (zh) 小应用程序的操作方法和电子设备
CN113805771B (zh) 一种通知提醒方法、终端设备及计算机可读存储介质
WO2024066837A1 (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: 23870080

Country of ref document: EP

Kind code of ref document: A1