WO2022105674A1 - 来电接听方法、电子设备及存储介质 - Google Patents

来电接听方法、电子设备及存储介质 Download PDF

Info

Publication number
WO2022105674A1
WO2022105674A1 PCT/CN2021/130163 CN2021130163W WO2022105674A1 WO 2022105674 A1 WO2022105674 A1 WO 2022105674A1 CN 2021130163 W CN2021130163 W CN 2021130163W WO 2022105674 A1 WO2022105674 A1 WO 2022105674A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
connection
answering
incoming call
hang
Prior art date
Application number
PCT/CN2021/130163
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 WO2022105674A1 publication Critical patent/WO2022105674A1/zh

Links

Images

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/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events

Definitions

  • the embodiments of the present application relate to the field of communication technologies, and in particular, to a method for answering an incoming call, an electronic device, and a storage medium.
  • mobile phones With the popularization and application of mobile phones in people's lives, mobile phones have become an important tool in people's life and work. For some people, there are usually two or more mobile phones, for example, one mobile phone can be used for work and one mobile phone can be used for personal affairs.
  • the mobile phone usually has the function of earphone answering.
  • the user listens to the audio information of one mobile phone through the earphone, and another mobile phone detects an incoming call, At this time, the user needs to take off the earphone before answering the call of another mobile phone, which brings tediousness to the user's operation and affects the user's experience.
  • Embodiments of the present application provide a method for answering an incoming call, an electronic device, and a storage medium, so as to provide a method for answering an incoming call.
  • an embodiment of the present application provides a method for answering an incoming call, which is applied to a first electronic device, including:
  • the first electronic device may include mobile devices such as mobile phones and tablets; the second electronic device may include answering devices such as wireless earphones and smart speakers.
  • One or more connectable second electronic devices are detected, and one or more answering controls of the second electronic device are displayed in the display interface of the first electronic device;
  • the electronic devices correspond one-to-one, and the answering control is used to instruct the user to answer the incoming call through the second electronic device.
  • Detecting a first operation for selecting an answering device in response to the detected first operation, determining an answering device in one or more second electronic devices, sending a connection request to the answering device, and establishing a connection with the answering device.
  • the user can arbitrarily select one of the plurality of second electronic devices as the answering device.
  • the priority of the connection request is high priority.
  • the high-priority connection request is used to indicate that the connection is to be established preferentially.
  • the connection of the high-priority is to be established prior to the establishment of the connection of the low-priority. For example, if the second electronic device has established a low-priority connection with other electronic devices, and receives a high-priority connection at this time, it can disconnect the high-priority connection and make a connection request with the high-priority connection. establish connection.
  • the request for answering an incoming call can be effectively identified, thereby improving the efficiency of answering an incoming call.
  • the method further includes:
  • One of the possible implementations also includes:
  • a second operation for hanging up an incoming call through the first electronic device is detected; in response to the detected second operation, the incoming call of the first electronic device is hung up, and the connection between the first electronic device and the answering device is maintained.
  • the second operation may be clicking the first hang-up control (for example, the hang-up control of the first electronic device), or may be sliding the first hang-up control, which is not particularly limited in this embodiment of the present application.
  • the connection process between the first electronic device and the second electronic device can be saved, and it is convenient for the user to directly use the second electronic device to perform content (for example, music , video, etc.), thereby improving operational efficiency.
  • One of the possible implementations also includes:
  • Detecting a third operation for hanging up the incoming call through the answering device in response to the detected third operation, hang up the incoming call of the first electronic device, and send a disconnection request to the answering device, so that the answering device and the second electronic device Disconnect.
  • the embodiment of the present application also provides a method for answering an incoming call, which is applied to a second electronic device.
  • the second electronic device has established a connection with the third electronic device, including:
  • the second electronic device may include a wireless headset, a smart speaker and other listening devices
  • the first electronic device and the third electronic device may include mobile devices such as mobile phones and tablets.
  • Disconnecting the connection with the third electronic device establishing a connection with the first electronic device; receiving and playing the call information sent by the first electronic device, so as to complete the user's use of the second electronic device to answer the incoming call of the first electronic device.
  • the connection with the third electronic device is disconnected, and the connection with the first electronic device is established. feeling.
  • the priority of the connection request is a high priority
  • the connection with the third electronic device is disconnected, and the connection with the first electronic device is established.
  • whether to disconnect the connection with the third electronic device is determined by judging the priority of the connection request, which can avoid frequent switching of the second electronic device due to receiving the connection request, thereby improving the scene of incoming calls switching efficiency.
  • One of the possible implementations also includes:
  • the first connection information corresponding to the third electronic device is cached, wherein the first connection information is used to represent the connection information between the second electronic device and the third electronic device.
  • the second electronic device can be connected to the third electronic device after being disconnected from the first electronic device, thereby saving the second electronic device and the third electronic device.
  • the process of reconnecting the electronic device improves the user's operating experience.
  • the method after receiving and playing the call information sent by the first electronic device, the method further includes:
  • the first electronic device is disconnected according to the received disconnection request, and a connection is established with the third electronic device, so that the second electronic device can be seamlessly switched after the call ends, improving the performance of the second electronic device. user experience.
  • an embodiment of the present application provides a device for answering an incoming call, which is applied to a first electronic device, including:
  • a detection module for detecting a connectable second electronic device after receiving an incoming call
  • a first display module configured to detect one or more connectable second electronic devices, and display one or more answering controls of the second electronic device in the display interface of the first electronic device;
  • connection module for detecting a first operation for selecting an answering device; in response to the detected first operation, determining an answering device in one or more second electronic devices, sending a connection request to the answering device, and establishing a connection with the answering device connect.
  • the priority of the above connection request is a high priority.
  • the above-mentioned device further includes:
  • an answering module for answering an incoming call from the first electronic device
  • the second display module is used to display the first hang-up control and the second hang-up control on the display interface of the first electronic device, wherein the first hang-up control is used to indicate that the call is hung up through the first electronic device, and the second hang-up control
  • the hang-up control is used to characterize the hanging up of an incoming call through the answering device.
  • the above-mentioned device further includes:
  • the first hang-up module is used to detect the second operation for hanging up the incoming call through the first electronic device; in response to the detected second operation, hang up the incoming call of the first electronic device and keep the first electronic device and the answering device the connection between.
  • the above-mentioned device further includes:
  • the second hang-up module is used to detect a third operation for hanging up the incoming call through the answering device; in response to the detected third operation, hang up the incoming call of the first electronic device, and send a disconnection request to the answering device to The answering device is disconnected from the second electronic device.
  • the embodiment of the present application also provides a device for answering an incoming call, which is applied to a second electronic device.
  • the second electronic device has established a connection with the third electronic device, including:
  • a first receiving module configured to receive a connection request sent by the first electronic device
  • a first connection module for disconnecting the connection with the third electronic device and establishing a connection with the first electronic device
  • the answering module is configured to receive and play the call information sent by the first electronic device, so as to complete the user's answering of the incoming call of the first electronic device by using the second electronic device.
  • the priority of the connection between the second electronic device and the third electronic device is a low priority
  • the first connection module is further configured to disconnect the connection request if the priority of the connection request is a high priority
  • the connection with the third electronic device establishes a connection with the first electronic device.
  • the above-mentioned device further includes:
  • the cache module is configured to cache the first connection information corresponding to the third electronic device, wherein the first connection information is used to represent the connection information between the second electronic device and the third electronic device.
  • the above-mentioned device further includes:
  • a second receiving module configured to receive a disconnection request sent by the first electronic device
  • the second connection module is configured to disconnect from the first electronic device and restore the connection with the third electronic device based on the first connection information.
  • an embodiment of the present application provides a first electronic device, including:
  • Memory the memory is used to store computer program code, and the computer program code includes instructions, when the first electronic device reads the instructions from the memory, so that the first electronic device performs the following steps:
  • One or more connectable second electronic devices are detected, and one or more answering controls of the second electronic device are displayed on the display interface of the first electronic device,
  • an answering device is determined in the one or more second electronic devices, a connection request is sent to the answering device, and a connection is established with the answering device.
  • the priority of the above connection request is a high priority.
  • a first hang-up control and a second hang-up control are displayed on the display interface of the first electronic device, wherein the first hang-up control is used to indicate that the call is hung up through the first electronic device, and the second The answering device hangs up the call.
  • the incoming call of the first electronic device is hung up, and the connection between the first electronic device and the answering device is maintained.
  • the above-mentioned first electronic device when executed by the above-mentioned first electronic device, the above-mentioned first electronic device further executes the following steps:
  • the incoming call of the first electronic device is hung up, and a disconnection request is sent to the answering device, so that the answering device is disconnected from the second electronic device.
  • the embodiment of the present application also provides a second electronic device, and the second electronic device has established a connection with the third electronic device, including:
  • Memory used to store computer program code
  • the computer program code includes instructions, when the second electronic device reads the instructions from the memory, so that the second electronic device performs the following steps:
  • the call information sent by the first electronic device is received and played, so as to complete the user's use of the second electronic device to answer the incoming call of the first electronic device.
  • the priority of the connection between the second electronic device and the third electronic device is a low priority
  • the above-mentioned instruction is executed by the above-mentioned second electronic device
  • the above-mentioned second electronic device executes the disconnection and The connection of the three electronic devices
  • the step of establishing a connection with the first electronic device includes:
  • the priority of the connection request is a high priority
  • the connection with the third electronic device is disconnected, and the connection with the first electronic device is established.
  • the above-mentioned second electronic device when executed by the above-mentioned second electronic device, the above-mentioned second electronic device further executes the following steps:
  • the first connection information corresponding to the third electronic device is cached, wherein the first connection information is used to represent the connection information between the second electronic device and the third electronic device.
  • an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when it runs on a computer, causes the computer to execute the method described in the first aspect.
  • an embodiment of the present application provides a computer program, which is used to execute the method described in the first aspect when the computer program is executed by a computer.
  • the program in the fifth aspect may be stored in whole or in part on a storage medium packaged with the processor, and may also be stored in part or in part in a memory not packaged with the processor.
  • FIG. 1 is a schematic structural diagram of an embodiment of an electronic device provided by this application.
  • FIG. 2 is a schematic structural diagram of another embodiment of an electronic device provided by the present application.
  • FIG. 3 is a schematic structural diagram of an embodiment of an application scenario provided by the present application.
  • FIG. 4 is a schematic flowchart of an embodiment of an incoming call answering method provided by the present application.
  • FIG. 5 is an effect diagram of an embodiment of an incoming call answering interface provided by the present application.
  • FIG. 6 is an effect diagram of another embodiment of the incoming call answering interface provided by the present application.
  • Fig. 7 is the effect diagram of another embodiment of the incoming call answering interface provided by the present application.
  • FIG. 8 is an effect diagram of another embodiment of the incoming call answering interface provided by the present application.
  • FIG. 9 is a schematic structural diagram of another embodiment of an application scenario provided by the present application.
  • FIG. 10 is a schematic structural diagram of another embodiment of an application scenario provided by the present application.
  • FIG. 11 is a schematic flowchart of another embodiment of a method for answering an incoming call provided by the present application.
  • Fig. 12 is the effect diagram of another embodiment of the incoming call answering interface provided by this application.
  • FIG. 13 is an effect diagram of another embodiment of the incoming call answering interface provided by this application.
  • FIG. 14 is a schematic structural diagram of an embodiment of an apparatus for answering incoming calls provided by the present application.
  • FIG. 15 is a schematic structural diagram of another embodiment of an incoming call answering apparatus provided by the present application.
  • first and second are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implying the number of indicated technical features.
  • a feature defined as “first” or “second” may expressly or implicitly include one or more of that feature.
  • plural means two or more.
  • the current electronic devices usually have the function of connecting to wireless headphones.
  • audio information can be conveniently listened to.
  • a user can wear the wireless headphones to listen to music in the electronic device.
  • the user has multiple electronic devices, when the user uses the wireless headset to listen to the audio information of one of the electronic devices, if the other electronic device receives an incoming call, the user needs to take off the wireless headset to listen to the other electronic device.
  • the incoming call of the electronic device brings tediousness to the user's operation.
  • an embodiment of the present application proposes a method for answering an incoming call, which is applied to a first electronic device and a second electronic device.
  • the first electronic device may also be referred to as a terminal device, user equipment (UE), access Terminal, subscriber unit, mobile device, user terminal, terminal, wireless communication device.
  • the electronic device may be a cellular phone, a cordless phone, a Personal Digital Assistant (PDA) device, a handheld device with wireless communication capabilities.
  • the second electronic device may include wireless playback devices such as wireless earphones and wireless speakers.
  • the wireless earphones may include infrared earphones and Bluetooth earphones, and may also include other wirelessly connected earphones, for example, wireless earphones operating at 2.4GHz frequency, and wireless speakers may include Bluetooth speakers and WIFI speakers.
  • the embodiments of the present application do not specifically limit the specific form of the second electronic device that implements the technical solution.
  • FIG. 1 shows a schematic structural diagram of a first electronic device 100 .
  • the first electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, Antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194 , and a subscriber identification module (subscriber identification module, SIM) card interface 195 and the like.
  • SIM subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light. Sensor 180L, bone conduction sensor 180M, etc.
  • the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the first electronic device 100 .
  • the first electronic device 100 may include more or less components than shown, or some components are combined, or some components are separated, or different components are arranged.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processor
  • ISP image signal processor
  • controller video codec
  • digital signal processor digital signal processor
  • baseband processor baseband processor
  • neural-network processing unit neural-network processing unit
  • the controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
  • the processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transceiver (universal asynchronous transmitter) receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / or universal serial bus (universal serial bus, USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transceiver
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB universal serial bus
  • the I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL).
  • the processor 110 may contain multiple sets of I2C buses.
  • the processor 110 can be respectively coupled to the touch sensor 180K, the charger, the flash, the camera 193 and the like through different I2C bus interfaces.
  • the processor 110 may couple the touch sensor 180K through the I2C interface, so that the processor 110 and the touch sensor 180K communicate through the I2C bus interface, so as to realize the touch function of the first electronic device 100 .
  • the I2S interface can be used for audio communication.
  • the processor 110 may contain multiple sets of I2S buses.
  • the processor 110 may be coupled with the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170 .
  • the audio module 170 can transmit audio signals to the wireless communication module 160 through the I2S interface, so as to realize the function of answering calls through a Bluetooth headset.
  • the PCM interface can also be used for audio communications, sampling, quantizing and encoding analog signals.
  • the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
  • the audio module 170 can also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
  • the UART interface is a universal serial data bus used for asynchronous communication.
  • the bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication.
  • a UART interface is typically used to connect the processor 110 with the wireless communication module 160 .
  • the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function.
  • the audio module 170 can transmit audio signals to the wireless communication module 160 through the UART interface, so as to realize the function of playing music through the Bluetooth headset.
  • the MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193 .
  • MIPI interfaces include camera serial interface (CSI), display serial interface (DSI), etc.
  • the processor 110 communicates with the camera 193 through a CSI interface, so as to implement the shooting function of the first electronic device 100 .
  • the processor 110 communicates with the display screen 194 through the DSI interface to implement the display function of the first electronic device 100 .
  • the GPIO interface can be configured by software.
  • the GPIO interface can be configured as a control signal or as a data signal.
  • the GPIO interface may be used to connect the processor 110 with the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like.
  • the GPIO interface can also be configured as I2C interface, I2S interface, UART interface, MIPI interface, etc.
  • the USB interface 130 is an interface that conforms to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like.
  • the USB interface 130 can be used to connect a charger to charge the first electronic device 100, and can also be used to transmit data between the first electronic device 100 and peripheral devices. It can also be used to connect headphones to play audio through the headphones.
  • the interface can also be used to connect other electronic devices, such as AR devices.
  • 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 of the first electronic device 100 .
  • the first electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 140 may receive charging input from the wired charger through the USB interface 130 .
  • the charging management module 140 may receive wireless charging input through the wireless charging coil of the first electronic device 100 . While the charging management module 140 charges the battery 142 , it can also supply power to the electronic device through the power management module 141 .
  • the power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 .
  • the power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160.
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, battery health status (leakage, impedance).
  • the power management module 141 may also be provided in the processor 110 .
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the wireless communication function of the first electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, the baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in the first electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 may provide a wireless communication solution including 2G/3G/4G/5G etc. applied on the first electronic device 100 .
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the antenna 1 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .
  • 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 and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low frequency baseband signal is processed by the baseband processor and passed to the application processor.
  • the application processor outputs sound signals through audio devices (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or videos through the display screen 194 .
  • the modem processor may be a stand-alone device.
  • the modem processor may be independent of the processor 110, and may be provided in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide applications on the first electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global Navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • WLAN wireless local area networks
  • BT wireless fidelity
  • GNSS global Navigation satellite system
  • frequency modulation frequency modulation, FM
  • NFC near field communication technology
  • IR infrared technology
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for radiation through the
  • the antenna 1 of the first electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the first electronic device 100 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), broadband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
  • the GNSS may include global positioning system (global positioning system, GPS), global navigation satellite system (global navigation satellite system, GLONASS), Beidou navigation satellite system (beidou navigation satellite system, BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
  • global positioning system global positioning system, GPS
  • global navigation satellite system global navigation satellite system, GLONASS
  • Beidou navigation satellite system beidou navigation satellite system, BDS
  • quasi-zenith satellite system quadsi -zenith satellite system, QZSS
  • SBAS satellite based augmentation systems
  • the first electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
  • Display screen 194 is used to display images, videos, and the like.
  • Display screen 194 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 (active-matrix organic light).
  • LED diode AMOLED
  • flexible light-emitting diode flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on.
  • the first electronic device 100 may include 1 or N display screens 194 , where N is a positive integer greater than 1.
  • the first electronic device 100 may implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
  • the ISP is used to process the data fed back by the camera 193 .
  • the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye.
  • ISP can also perform algorithm optimization on image noise, brightness, and skin tone.
  • ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera 193 .
  • Camera 193 is used to capture still images or video.
  • the object is projected through the lens to generate an optical image onto the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
  • the first electronic device 100 may include 1 or N cameras 193 , where N is a positive integer greater than 1.
  • a digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the first electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point, and the like.
  • Video codecs are used to compress or decompress digital video.
  • the first electronic device 100 may support one or more video codecs.
  • the first electronic device 100 can play or record videos in various encoding formats, such as: moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
  • the NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • Applications such as intelligent cognition of the first electronic device 100 can be implemented through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
  • the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the first electronic device 100.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example to save files like music, video etc in external memory card.
  • Internal memory 121 may be used to store computer executable program code, which includes instructions.
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area can store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), and the like.
  • the storage data area may store data (such as audio data, phone book, etc.) created during the use of the first electronic device 100 and the like.
  • the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
  • the processor 110 executes various functional applications and data processing of the first electronic device 100 by executing the instructions stored in the internal memory 121 and/or the instructions stored in the memory provided in the processor.
  • the first electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playback, recording, etc.
  • the audio module 170 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal. Audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110 , or some functional modules of the audio module 170 may be provided in the processor 110 .
  • Speaker 170A also referred to as a "speaker" is used to convert audio electrical signals into sound signals.
  • the first electronic device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
  • the receiver 170B also referred to as "earpiece" is used to convert audio electrical signals into sound signals.
  • the voice can be answered by placing the receiver 170B close to the human ear.
  • the microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals.
  • the user can make a sound by approaching the microphone 170C through a human mouth, and input the sound signal into the microphone 170C.
  • the first electronic device 100 may be provided with at least one microphone 170C.
  • the first electronic device 100 may be provided with two microphones 170C, which may implement a noise reduction function in addition to collecting sound signals.
  • the first electronic device 100 may further be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
  • the earphone jack 170D is used to connect wired earphones.
  • the earphone interface 170D may be the USB interface 130, or may be a 3.5mm open mobile terminal platform (OMTP) standard interface, a cellular telecommunications industry association of the USA (CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA
  • the pressure sensor 180A is used to sense pressure signals, and can convert the pressure signals into electrical signals.
  • the pressure sensor 180A may be provided on the display screen 194 .
  • the capacitive pressure sensor may be comprised of at least two parallel plates of conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes.
  • the first electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the first electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A.
  • the first electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A.
  • touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example, when a touch operation whose intensity is less than the first pressure threshold acts on the short message application icon, the instruction for viewing the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, the instruction to create a new short message is executed.
  • the gyro sensor 180B may be used to determine the motion attitude of the first electronic device 100 .
  • the angular velocity of the first electronic device 100 about three axes i.e., the x, y, and z axes
  • the gyro sensor 180B can be used for image stabilization. Exemplarily, when the shutter is pressed, the gyro sensor 180B detects the shaking angle of the first electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to offset the shaking of the first electronic device 100 through reverse motion, Achieve anti-shake.
  • the gyro sensor 180B can also be used for navigation and somatosensory game scenarios.
  • the air pressure sensor 180C is used to measure air pressure.
  • the first electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist in positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the first electronic device 100 can detect the opening and closing of the flip holster by using the magnetic sensor 180D.
  • the first electronic device 100 can detect the opening and closing of the flip according to the magnetic sensor 180D. Further, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, characteristics such as automatic unlocking of the flip cover are set.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the first electronic device 100 in various directions (generally three axes).
  • the magnitude and direction of gravity can be detected when the first electronic device 100 is stationary. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
  • the first electronic device 100 may measure the distance through infrared or laser. In some embodiments, when shooting a scene, the first electronic device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.
  • Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes.
  • the light emitting diodes may be infrared light emitting diodes.
  • the first electronic device 100 emits infrared light to the outside through the light emitting diode.
  • the first electronic device 100 detects infrared reflected light from nearby objects using a photodiode. When sufficient reflected light is detected, it may be determined that there is an object near the first electronic device 100 . When insufficient reflected light is detected, the first electronic device 100 may determine that there is no object near the first electronic device 100 .
  • the first electronic device 100 can use the proximity light sensor 180G to detect that the user holds the first electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power.
  • Proximity light sensor 180G can also be used in holster mode, pocket mode automatically unlocks and locks the screen.
  • the ambient light sensor 180L is used to sense ambient light brightness.
  • the first electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the first electronic device 100 is in the pocket, so as to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the first electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, accessing application locks, taking photos with fingerprints, answering incoming calls with fingerprints, and the like.
  • the temperature sensor 180J is used to detect the temperature.
  • the first electronic device 100 uses the temperature detected by the temperature sensor 180J to execute the temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold value, the first electronic device 100 reduces the performance of the processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection.
  • the first electronic device 100 when the temperature is lower than another threshold, the first electronic device 100 heats the battery 142 to avoid abnormal shutdown of the first electronic device 100 due to low temperature.
  • the first electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • Touch sensor 180K also called “touch device”.
  • the touch sensor 180K may be disposed on the display screen 194 , and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”.
  • the touch sensor 180K is used to detect a touch operation on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • Visual output related to touch operations may be provided through display screen 194 .
  • the touch sensor 180K may also be disposed on the surface of the first electronic device 100 , which is different from the position where the display screen 194 is located.
  • the bone conduction sensor 180M can acquire vibration signals.
  • the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human voice.
  • the bone conduction sensor 180M can also contact the pulse of the human body and receive the blood pressure beating signal.
  • the bone conduction sensor 180M can also be disposed in the earphone, combined with the bone conduction earphone.
  • the audio module 170 can analyze the voice signal based on the vibration signal of the vocal vibration bone block obtained by the bone conduction sensor 180M, so as to realize the voice function.
  • the application processor can analyze the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M, and realize the function of heart rate detection.
  • the keys 190 include a power-on key, a volume key, and the like. Keys 190 may be mechanical keys. It can also be a touch key.
  • the first electronic device 100 may receive key input, and generate key signal input related to user settings and function control of the first electronic device 100 .
  • Motor 191 can generate vibrating cues.
  • the motor 191 can be used for vibrating alerts for incoming calls, and can also be used for touch vibration feedback.
  • touch operations acting on different applications can correspond to different vibration feedback effects.
  • the motor 191 can also correspond to different vibration feedback effects for touch operations on different areas of the display screen 194 .
  • Different application scenarios for example: time reminder, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 can be an indicator light, which can be used to indicate the charging state, the change of the power, and can also be used to indicate a message, a missed call, a notification, and the like.
  • the SIM card interface 195 is used to connect a SIM card.
  • the SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact with and separation from the first electronic device 100 .
  • the first electronic device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • the SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card and so on. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the plurality of cards may be the same or different.
  • the SIM card interface 195 can also be compatible with different types of SIM cards.
  • the SIM card interface 195 is also compatible with external memory cards.
  • the first electronic device 100 interacts with the network through the SIM card to implement functions such as call and data communication.
  • the first electronic device 100 employs an eSIM, ie an embedded SIM card.
  • the eSIM card can be embedded in the first electronic device 100 and cannot be separated from the first electronic device 100 .
  • the second electronic device 200 may include a memory 210 , a processor 220 , a receiver 230 and a generating source 240 ; wherein the receiver 230 is used for receiving the audio signal of the first electronic device 100 , and the receiver 230 is connected to the first electronic device 100 . It can be connected through Bluetooth, that is, the receiver 230 can be connected with the wireless communication module 160, or the receiver 230 can be connected with the first electronic device 100 through infrared connection, or it can be other forms of wireless connection (for example, , WIFI), which is not limited in this embodiment of the present application.
  • the generating source 240 is used to play the received audio signal for the user to listen to.
  • the memory 210 may be used to store software programs and modules, and the processor 220 executes various functional applications and data processing of the second electronic device 200 by running the software programs and modules stored in the memory 210 .
  • the memory 210 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playback function, etc.) required for at least one function, and the like; the storage data area may store data according to the second electronic device. 200 using the created data (such as audio data, etc.) and so on.
  • memory 210 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the processor 220 is the control center of the second electronic device 200, uses various interfaces and lines to connect various parts of the entire second electronic device 200, runs or executes the software programs and/or modules stored in the memory 210, and invokes the storage
  • the data in the memory 210 executes various functions of the second electronic device 200 and processes data, so as to monitor the second electronic device 200 as a whole.
  • the processor 220 may include one or more processing units; preferably, the processor 220 may integrate an application processor and a modulation and demodulation processor, wherein the application processor mainly processes operating system applications, etc., and the modulation and demodulation processor
  • the processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 220.
  • FIG. 3 is a schematic diagram of an application scenario of an embodiment of the present application.
  • the user possesses multiple first electronic devices (eg, first electronic device A, first electronic device B, first electronic device C, etc.) and one second electronic device W (eg, wireless headset).
  • the first electronic device may be of the same type, for example, the first electronic device may include mobile phone A, mobile phone B, etc.; the first electronic device may also be of different types, for example, the first electronic device
  • the electronic device may include a mobile phone A, a smart watch B, and the like.
  • the second electronic device W can establish a connection with any one of the first electronic devices.
  • the second electronic device W can be connected with the first electronic device A.
  • Electronic device W listens to music on the first electronic device A.
  • the user can switch the connection between the second electronic device and the first electronic device to the connection with another first electronic device, thereby listening to audio information in different first electronic devices through the second electronic device ;
  • the first electronic device B receives the incoming call information
  • the user can switch from the connection between the first electronic device A and the second electronic device W to the connection between the first electronic device B and the second electronic device W , so that the user can seamlessly switch from listening to music on the first electronic device A to listening to an incoming call on the first electronic device B.
  • the connection between the first electronic device and the second electronic device may be a WIFI connection, a Bluetooth connection, or other types of short-distance connections, which are not limited in this embodiment.
  • FIG. 4 is a flowchart of an embodiment of a method for answering an incoming call of the present application, including:
  • Step 101 the first electronic device B and the second electronic device W have established a connection and are in a connected state.
  • the user may wear the second electronic device to listen to music in the first electronic device B.
  • Step 102 the first electronic device A receives an incoming call and detects whether the second electronic device has been connected.
  • step 103 may be executed.
  • the user can directly answer the incoming call through the second electronic device.
  • Step 103 the first electronic device A detects a connectable second electronic device.
  • the detection method may include that the first electronic device A searches for a second electronic device within a default range to determine a nearby connectable second electronic device (eg, the second electronic device W).
  • the first electronic device A may search for a second electronic device available for connection within the default range.
  • the default range may correspond to the effective connection distance between the first electronic device A and the second electronic device, and the effective connection distance may be determined according to the maximum connectable distance between the second electronic device and the electronic device.
  • the second electronic device after the second electronic device enables the connection function, it can broadcast pairing information.
  • the range within which the second electronic device broadcasts the pairing information determines the above-mentioned effective connection distance, and the electronic device can receive the pairing information broadcast by the second electronic device within the effective connection distance.
  • the detecting manner may further include detecting a state in which the user wears the second electronic device.
  • the first electronic device A may send query information to a nearby second electronic device (for example, the second electronic device W); wherein the query information is used to query the wearing of the second electronic device. state.
  • the wearing state of the second electronic device may be acquired through a motion sensor in the second electronic device, or may be acquired in other ways, which are not particularly limited in this embodiment of the present application. The wearing state is used to identify whether the user has worn the second electronic device.
  • the second electronic device may detect the wearing state to determine whether it is worn by the user.
  • the second electronic device may return the wearing state information to the first electronic device A.
  • the wearing state information may include the wearing state and the identity of the second electronic device (for example, the ID, MAC address, etc. of the second electronic device W).
  • the first electronic device A determines that the wearing state of the second electronic device is worn, and executes step 104 .
  • Step 104 the first electronic device A displays the answering control of the second electronic device W in the current call waiting interface.
  • the first electronic device A may display an answering control of the second electronic device in the current call waiting interface based on the detected second electronic device for the user to select.
  • the answering control of the second electronic device is used to identify that the user can answer the incoming call by means of the second electronic device.
  • FIG. 5 is a schematic diagram of the incoming call waiting interface 500.
  • the incoming call waiting interface 500 may include an answering option area 510 and an incoming call information area 520; wherein, the answering option area 510 can be used by the user to select the answering mode , the answering option area 510 may include controls for various answering modes.
  • the answering option area 510 may include a terminal answering control 511 , an earphone answering control 512 and a hang-up control 513 .
  • the terminal answering control 511 is used to identify that the user can answer the incoming call through the microphone of the electronic device.
  • the earphone answering control 512 is used to identify that the user can answer the incoming call through the second electronic device.
  • the hang-up control 513 is used to identify that the user can hang up the current call.
  • the caller information area 520 may be used to display the related information of the caller, exemplarily, may include the caller's name, the caller's phone number, and the caller's attribution and other information. It can be understood that the incoming call information area 520 may also include other information, which is not particularly limited in this embodiment of the present application.
  • Step 105 in response to the user's operation of selecting the second electronic device, it is determined that the second electronic device W is the answering device, and the first electronic device A sends a connection request to the second electronic device W.
  • the user may perform operations on the incoming call waiting interface 500 to select an answering device.
  • the user may click the earphone listening control 512 in the listening option area 510 to determine the second electronic device (eg, the second electronic device W) as the listening device.
  • the way for the user to determine the answering device may be to click the headset answering control 512, double-click the headset answering control 512, or slide on the headset answering control 512, or other methods. Not limited.
  • the first electronic device A determines that the second electronic device is the device for answering the incoming call, so that a connection request can be sent to the second electronic device, so that the second electronic device is connected to the first electronic device.
  • Electronic device A is connected.
  • the priority of the connection request may also be set based on the state of the first electronic device A.
  • the connection request sent by the first electronic device A to the second electronic device in a normal state can be set to a low priority, while the first electronic device A is in a low priority.
  • connection request sent to the second electronic device in the incoming call answering state can be set to a high priority, so that the second electronic device can determine whether to connect to the second electronic device after receiving the low-priority connection request or the high-priority connection request respectively.
  • An electronic device establishes a connection.
  • Step 106 the second electronic device W receives the connection request from the first electronic device A, and disconnects the connection with the first electronic device B.
  • the second electronic device W after the second electronic device W receives the connection request from the first electronic device A, it can detect whether it is in a connected state with other electronic devices.
  • step 107 is executed, and the user can answer the incoming call of the first electronic device A through the second electronic device W.
  • the second electronic device W may further judge the priority of the connection request.
  • the priority of the connection request may be used to identify the service status of the initiator of the connection request (for example, the first electronic device A).
  • the low-priority connection request may indicate that the first electronic device A is in a state of not answering incoming calls, so the second electronic device may infer that the connection request initiated by the first electronic device A this time may be for listening to music, That is to say, the event corresponding to the low-priority connection request is a non-emergency event, and the second electronic device may choose whether to establish a connection with the electronic device after receiving the connection request from the electronic device; the high-priority connection request may represent The first electronic device A is in the incoming call answering state, so the second electronic device can infer that the connection request initiated by the first electronic device A this time is to answer the incoming call, that is, the event corresponding to the high-priority connection request is:
  • the second electronic device may disconnect from the connected electronic device (for example, the first electronic device B) after receiving the connection request from the electronic device, and disconnect from the originator of the connection request (for example, the first electronic device B).
  • An electronic device A) establishes a connection to listen to
  • the second electronic device W determines that the priority of the connection request is a low priority, for example, the user wants to listen to the music on the first electronic device A through the second electronic device W, the second electronic device W can Reject this connection request.
  • the second electronic device W may also send a switching request to the first electronic device B, and confirm whether to switch to the first electronic device A through a user's operation.
  • the switching request is used to identify the target object of this switching (for example, the first electronic device A).
  • a switching instruction screen 600 as shown in FIG. 6 may pop up on the display interface of the first electronic device B.
  • the switching instruction screen 600 includes an information display area 610 and an information confirmation area 620 .
  • the information display area 610 is used to display the information that the second electronic device is to be switched this time.
  • the information may be “the second electronic device is about to be switched to the first electronic device A, please confirm whether to switch”.
  • the information confirmation area 620 may include a confirmation control 621 and a rejection control 622, the confirmation control 621 is used to confirm the switching of the second electronic device W this time, and the rejection control 622 is used to reject this switching request.
  • the user may operate the reject control 622 (eg, click the reject control 622), thereby rejecting the second electronic device W from switching from the first electronic device B to the first electronic device A, that is, the second electronic device W Keep the pairing connection with the first electronic device B.
  • the first electronic device B may send a rejection message to the second electronic device W, where the rejection message is used to instruct the second electronic device W to maintain the connection with the first electronic device B.
  • the user can also operate the confirmation control 621 (for example, click the confirmation control 621) to confirm that the second electronic device W is switched from the first electronic device B to the first electronic device A, that is, the second electronic device W can disconnect from the first electronic device B.
  • the first electronic device B may send a confirmation message to the second electronic device W, where the confirmation message is used to indicate that the second electronic device W can be disconnected from the first electronic device B and can be connected to the first electronic device W.
  • Electronic device A establishes a connection.
  • the first electronic device B when the second electronic device W is disconnected from the first electronic device B, the first electronic device B can record the first connection information when it is connected with the second electronic device W, and the second electronic device W can record the first connection information.
  • the second connection information when the first electronic device A is connected.
  • the first connection information may include the name of the running application (eg, a music APP) and the interruption moment (eg, the current pause moment of a certain song), and the second connection information may include the identity of the electronic device ( For example, the first electronic device B). That is to say, the first electronic device B can temporarily suspend the playback of the current application, and after the second electronic device W switches back to the first electronic device B, the user can continue to listen to the content of the application at the recorded interruption moment.
  • the first electronic device B can temporarily suspend the playback of the current application, and after the second electronic device W switches back to the first electronic device B, the user can continue to listen to the content of the application at the recorded interruption moment.
  • first connection information and second connection information may be before the connection between the second electronic device W and the first electronic device B is disconnected, or before the second electronic device W and the first electronic device B are recorded. After the connection of the second electronic device W is disconnected, it may also be when the connection between the second electronic device W and the first electronic device B is disconnected, which is not particularly limited in this embodiment of the present application.
  • the second electronic device W determines that the priority of the connection request is a high priority, for example, the user wants to listen to the incoming call on the first electronic device A through the second electronic device W
  • the first electronic device A can send a high-priority
  • the connection request is used to identify that this connection request is based on incoming calls, that is, the event corresponding to the connection request is an emergency, so that the second electronic device W can receive the high-priority connection request
  • the connection with the first electronic device B can be immediately disconnected, and step 107 is further performed, thereby enabling the user to answer the incoming call of the first electronic device A through the second electronic device W.
  • the switching prompt screen 700 includes an information display area 710 and an information confirmation area 720 .
  • the information display area 710 is used to display the prompt information of whether to record the first connection information (for example, the name of the application program and the interruption time) this time. log connection information".
  • the information confirmation area 720 may include a confirmation control 721 and a rejection control 722.
  • the confirmation control 721 is used for confirming the recording of connection information
  • the rejection control 722 is used for rejecting the recording of connection information.
  • the user may operate the reject control 722 (eg, click the reject control 722), thereby rejecting the recording of the first connection information.
  • the first electronic device B may not need to record the first connection information, for example, the corresponding application program may be closed, thereby saving the cache resources of the first electronic device B.
  • the user can also operate the confirmation control 721 (for example, click the confirmation control 721) to record the first connection information.
  • the first electronic device B can record the first connection information, so that after the second electronic device W switches back to the first electronic device B, it can continue to listen to the program before the switch based on the first connection information , for example, the music interrupted before switching can be listened to, so that the user's listening experience can be improved.
  • Step 107 the second electronic device W establishes a connection with the first electronic device A.
  • the second electronic device W can establish a connection with the first electronic device A.
  • the pairing between the second electronic device W and the first electronic device A has been successful, that is to say, the second electronic device W and the first electronic device A have stored each other's pairing information with each other, and can directly establish Connection; if the second electronic device W and the first electronic device A have not been paired, the second electronic device W and the first electronic device A can be connected through the pairing process, so that the record can be recorded after the pairing is successful.
  • the pairing information of the other party can be downloaded, so that the pairing connection process can be omitted in the next connection, which speeds up the pairing speed and improves the user experience.
  • the pairing and connection process between the second electronic device W and the first electronic device A may be implemented through the prior art, for example, Bluetooth pairing, which will not be repeated here.
  • Step 108 After the first electronic device A establishes the connection with the second electronic device W, the incoming call is connected, the second electronic device W answers the incoming call, and the hang-up control of the second electronic device W is displayed on the call interface.
  • the call interface 800 may include a call information area 810, a functional area 820 and a call operation area 830; wherein, the call information area 810 may be used to display the relevant information of the call, exemplarily, the call information area 810 may include the caller Information such as name and call duration may also include other information, which is not limited in this embodiment of the present application.
  • the functional area 820 may include various functional controls 821 , such as controls for hands-free, mute, keyboard, add call, recording, and address book, and may also include other controls, which are not limited in this embodiment of the present application.
  • the call operation area 830 may include a terminal hang-up control 831 and a headset hang-up control 832 .
  • the terminal hang-up control 831 is used to identify that after the first electronic device A ends the call, the second electronic device W still maintains a connection relationship with the first electronic device A, that is to say, the terminal hang-up control 831 corresponds to the terminal hang-up mode, In the terminal hang-up mode, the user only hangs up the first electronic device A, but does not disconnect the connection between the first electronic device A and the second electronic device W, and the second electronic device W does not switch back to the first electronic device B.
  • the headset hang-up control 832 is used to identify that after the call of the first electronic device A ends, the second electronic device W is disconnected from the first electronic device A. That is to say, the headset hang-up control 832 corresponds to the headset hang-up mode. In the headset hang-up mode, the user not only hangs up the first electronic device A, but also disconnects the connection between the first electronic device A and the second electronic device W, thereby enabling the second electronic device W to switch back to the first electronic device. device B.
  • Step 109 in response to the user's operation of hanging up the second electronic device, the first electronic device A sends a disconnection request to the second electronic device W.
  • the user may perform operations on the above-mentioned call interface 800 to complete the operation of hanging up the call.
  • the operation of hanging up the call may be to click the terminal hang-up control 831 or the headset hang-up control 832 in the call operation area 830; it may also be a method of sliding the terminal hang-up control 831 or the headset hang-up control 832. The embodiment does not limit this.
  • the terminal hang-up control 831 exemplarily, the user can click the terminal hang-up control 831, that is, the user selects the terminal hang-up mode.
  • the first electronic device A hangs up the current call and keeps the connection with the second electronic device W.
  • the user can click the headphone hang-up control 832, that is, the user selects the headphone hang-up mode.
  • the first electronic device A hangs up the current call, and sends a disconnection request to the second electronic device W to disconnect from the second electronic device W, so that the second electronic device W can be disconnected.
  • Device W switches back to the first electronic device B.
  • Step 110 the second electronic device W receives a disconnection request from the first electronic device A, and disconnects from the first electronic device A.
  • Step 111 the second electronic device W re-establishes the connection with the first electronic device B, thereby switching back to the first electronic device B.
  • the connection with the first electronic device B can be resumed based on the identity of the electronic device recorded in step 106 .
  • the first electronic device B records the first connection information (for example, the application program name and the interruption time), after the first electronic device B and the second electronic device W re-establish the connection, it can be based on the first connection. information to resume playback for applications that have temporarily suspended playback. In this way, the user can continue to listen to the program before disconnection from the first electronic device B.
  • the first connection information for example, the application program name and the interruption time
  • the first electronic device that has received the incoming call information sends a connection request to the second electronic device, thereby establishing a connection with the second electronic device, and then listening to the incoming call through the second electronic device, which can facilitate the user's operation, Improve user experience.
  • the user owns multiple first electronic devices (eg, first electronic device A, first electronic device B, first electronic device C, etc.) and multiple second electronic devices (eg, first electronic device A, first electronic device B, first electronic device C, etc.) second electronic device A, second electronic device B, etc.).
  • the second electronic device may be of the same type, for example, the second electronic device may include a second electronic device A (ear canal earphone), a second electronic device B (ear canal earphone), etc.; the second electronic device The electronic devices may be of different types, for example, the second electronic device may include a second electronic device A (ear canal headset), a second electronic device B (helmet-type headset), a second electronic device C (wireless speaker), etc. .
  • a second electronic device can establish a connection with any one of the first electronic devices.
  • the second electronic device A can be connected with the first electronic device B, so that the user can listen to the first electronic device through the second electronic device B. Music on device A.
  • the user can select the second electronic device on the incoming call interface of the first electronic device A, to determine which second electronic device to switch to to answer the incoming call.
  • the second electronic device A can switch from the first electronic device B to the first electronic device A, thereby The flexibility of user selection is improved, and seamless switching can be achieved, thereby improving the user's answering experience.
  • the user can select the second electronic device on the incoming call interface of the first electronic device A, to determine which second electronic device to switch to to answer the incoming call.
  • the second electronic device B for example, a wireless speaker
  • the first electronic device A can establish a connection with the second electronic device B, thereby The flexibility of the user's selection can be improved, thereby improving the answering experience of the user.
  • FIG. 11 shows a flowchart of another embodiment of the method for answering an incoming call of the present application, including:
  • Step 201 the first electronic device B and the second electronic device A have established a connection and are in a connected state.
  • Step 202 the first electronic device A receives an incoming call and detects whether the second electronic device has been connected.
  • step 203 may be executed.
  • the user can directly answer the incoming call through the second electronic device.
  • Step 203 the first electronic device A detects a connectable second electronic device.
  • the first electronic device A can find that there is only one connectable second electronic device.
  • the user owns multiple second electronic devices, therefore, the first electronic device A can find multiple connectable second electronic devices (for example, the second electronic device A, the second electronic device B and the second electronic device A) through detection.
  • Two electronic devices C, etc. wherein the second electronic device A may be a wireless headset, the second electronic device B may be a helmet-type headset, and the second electronic device C may be a sound box.
  • the specific detection method reference may be made to step 103, and details are not repeated here.
  • Step 204 the first electronic device A displays the answering control of the second electronic device in the current call waiting interface.
  • the first electronic device A may display the answering control of the second electronic device in the current call waiting interface based on the second electronic device detected in step 203 for the user to select.
  • the incoming call waiting interface 1200 may include an answering option area 1210 and an incoming call information area 1220; wherein, the answering option area 1210 can be used by the user to select the answering mode , the answering option area 1210 may include a terminal answering area 1211 and a playback device answering area 1212 .
  • the terminal answering area 1211 includes a terminal answering control 12111 and a hanging up control 12112 .
  • the terminal answering control 12111 is used to identify that the user can answer the incoming call through the microphone of the electronic device.
  • the hang-up control 12112 is used to identify that the user can hang up this call.
  • the playback device answering area 1212 includes a playback device answering control corresponding to the second electronic device, wherein the answering control corresponds to the second electronic device detected in step 203 .
  • the listening area 1212 of the playback device may include: an ear canal earphone receiving control 12121 , a helmet-type earphone receiving control 12122 , a speaker receiving control 12123 , and the like.
  • the above-mentioned playback device answering control is used to identify that the user can answer the incoming call through the corresponding second electronic device.
  • the caller information area 1220 may be used to display relevant information of the caller, for example, may include information such as the caller's name, the caller's phone number, and the caller's attribution.
  • Step 205 in response to the user's operation of selecting the second electronic device, the second electronic device is determined, and the first electronic device A sends a connection request to the second electronic device.
  • the incoming call waiting interface 1200 includes a plurality of second electronic device answering controls, so the user can perform operations on the incoming call waiting interface 1200 to determine the second electronic device. For example, the user can click the ear canal earphone listening control 12121 to determine the ear canal earphone as the listening device, or click the speaker listening control 12123 to determine the wireless speaker as the listening device.
  • the first electronic device A sends a connection request to the second electronic device, so that the second electronic device establishes a connection with the first electronic device A.
  • step 105 For details of the specific sending of the connection request, reference may be made to step 105, which will not be repeated here.
  • Step 206 the second electronic device receives the connection request from the first electronic device A, and detects the current connection state of the second electronic device.
  • the current connection state of the second electronic device may include whether a connection is established between the second electronic device and other electronic devices. For example, whether the second electronic device establishes a connection with the first electronic device B.
  • Step 207 the second electronic device establishes a connection with the first electronic device A.
  • the second electronic device has established a connection with other electronic devices before receiving the connection request
  • the second electronic device A has established a connection with the first electronic device B before receiving the connection request from the first electronic device A. If the connection is established, the second electronic device A can disconnect from the first electronic device B after receiving the connection request from the first electronic device A, and establish a connection with the first electronic device A; in addition, the second electronic device A also The information that the connection between the second electronic device A and the first electronic device B has been established before the connection request is received may be sent to the first electronic device A. In this way, the first electronic device A can disconnect the connection with the second electronic device A after the call ends, so that the second electronic device A can resume the connection with the first electronic device B.
  • the second electronic device does not establish a connection with other first electronic devices before receiving the connection request, exemplarily, the second electronic device B does not establish a connection with the first electronic device B before receiving the connection request from the first electronic device A
  • the second electronic device B establishes a connection with the first electronic device A after receiving the connection request from the first electronic device A.
  • Step 208 after the first electronic device A establishes a connection with the second electronic device, the user answers the incoming call through the second electronic device, and determines whether to display the second electronic device hang-up control based on the connection status.
  • the first electronic device A receives the information sent by the second electronic device that the second electronic device has established a connection with other electronic devices, it can display the hang-up control of the second electronic device on the call interface, and can Step 209 is further executed.
  • the first electronic device A receives the information sent by the second electronic device A that the second electronic device A has established a connection with the first electronic device B, whereby the first electronic device A can obtain the information shown in FIG. 8 .
  • the call interface 800 may include a hang-up control 831 of the first electronic device A and a hang-up control 832 of the second electronic device A.
  • the hang-up control 831 is used to hang up the call
  • the hang-up control 832 is used to hang up. Disconnect the call and disconnect the second electronic device A from the first electronic device A.
  • the screen of the first electronic device A can display the call as shown in FIG. 13 interface 1300, and step 212 may be further performed.
  • the first electronic device A has not received the information that the second electronic device B has established a connection with the first electronic device B, so the first electronic device A can obtain the call interface 1300 shown in FIG. 13 .
  • the hang-up control of the second electronic device B may not be displayed on the call interface 1300; for example, only the hang-up control of the first electronic device A may be displayed on the call interface 1300. As shown in FIG.
  • the call interface 1300 includes a hang-up control 1301 , and the hang-up control 1301 is used to instruct the first electronic device A to hang up. Since the second electronic device B has not established a connection with other first electronic devices, the user can hang up the call after the call is ended by hanging up the hang-up control (for example, the hang-up control 1301) of the first electronic device A . After the call is hung up, the second electronic device B can remain connected to the first electronic device A. Therefore, there is no need to display the hang-up control of the second electronic device B on the call interface 1300 .
  • the hang-up control 1301 is used to instruct the first electronic device A to hang up. Since the second electronic device B has not established a connection with other first electronic devices, the user can hang up the call after the call is ended by hanging up the hang-up control (for example, the hang-up control 1301) of the first electronic device A . After the call is hung up, the second electronic device B can remain connected to the first electronic device A. Therefore, there is no need to display
  • Step 209 in response to the user's operation of hanging up the second electronic device A, the first electronic device A sends a disconnection request to the second electronic device A.
  • this step 209 is the same as the step 109.
  • Step 210 the second electronic device A receives the disconnection request from the first electronic device A, and disconnects from the first electronic device A.
  • Step 211 the second electronic device A and the first electronic device B re-establish a connection, whereby the second electronic device A switches back to the first electronic device B.
  • step 211 is the same as step 111 , for details, reference may be made to step 111 , which will not be repeated here.
  • Step 212 in response to the user's operation of hanging up the first electronic device A, the first electronic device A ends the call.
  • the user may perform operations on the call interface 1300 , for example, the user may click on the hang up control 1301 .
  • the first electronic device A may end the call.
  • the first electronic device A may maintain a connection state with the second electronic device B. That is, the user can listen to the audio content on the first electronic device A through the second electronic device B.
  • the first electronic device A may disconnect the connection with the second electronic device B.
  • the user can arbitrarily select a second electronic device from the plurality of second electronic devices retrieved to answer the call, and after the call is over, based on the second electronic device
  • the connection state between the electronic device and the other first electronic device before the second electronic device establishes a connection with the first electronic device that receives the incoming call, and determines whether the second electronic device remains with the first electronic device that receives the incoming call after the call ends connection, so that the flexibility of user operation can be improved, and the user operation experience can be improved.
  • FIG. 14 is a schematic structural diagram of an embodiment of an incoming call answering apparatus of the present application. As shown in FIG. 7 , the above-mentioned incoming call answering apparatus 1400 is applied to a first electronic device, and may include: a detection module 1410, a first display module 1420, and a connection module 1430;
  • the detection module 1410 is used for detecting a connectable second electronic device after receiving an incoming call
  • the first display module 1420 is configured to detect one or more connectable second electronic devices, and display one or more answering controls of the second electronic device in the display interface of the first electronic device;
  • the connection module 1430 is used to detect the first operation for selecting the listening device; in response to the detected first operation, determine the listening device in one or more second electronic devices, send a connection request to the listening device, and communicate with the listening device establish connection.
  • the priority of the above connection request is a high priority.
  • the above-mentioned apparatus 1400 may further include: an answering module 1440 and a second display module 1450;
  • an answering module 1440 configured to answer an incoming call from the first electronic device
  • the second display module 1450 is configured to display the first hang-up control and the second hang-up control on the display interface of the first electronic device, wherein the first hang-up control is used to indicate that the call is hung up through the first electronic device, and the first hang-up control The second hang-up control is used to characterize the hanging up of an incoming call through the answering device.
  • the above-mentioned apparatus 1400 may further include: a first hang-up module 1460;
  • the first hang-up module 1460 is used to detect the second operation for hanging up the incoming call through the first electronic device; in response to the detected second operation, hang up the incoming call of the first electronic device, keep the first electronic device and answer the call connections between devices.
  • the above-mentioned apparatus 1400 may further include: a second hang-up module 1470;
  • the second hang-up module 1470 is configured to detect a third operation for hanging up the incoming call through the answering device; in response to the detected third operation, hang up the incoming call of the first electronic device, and send a disconnection request to the answering device, So that the answering device is disconnected from the second electronic device.
  • FIG. 15 is a schematic structural diagram of another embodiment of the incoming call answering apparatus of the present application. As shown in FIG. 15 , the above-mentioned incoming call answering apparatus 1500 is applied to a second electronic device, and the second electronic device has established a connection with the third electronic device, which may include: a first receiving module 1510, a first connecting module 1520 and an answering module 1530;
  • a first receiving module 1510 configured to receive a connection request sent by the first electronic device
  • a first connection module 1520 configured to disconnect the connection with the third electronic device and establish a connection with the first electronic device
  • the answering module 1530 is configured to receive and play the call information sent by the first electronic device, so as to complete the user's answering of the incoming call of the first electronic device using the second electronic device.
  • the priority of the connection between the second electronic device and the third electronic device is a low priority
  • the above-mentioned first connection module 1520 can also be configured to: Disconnect the connection with the third electronic device and establish a connection with the first electronic device.
  • the foregoing apparatus 1500 may further include: a cache module 1540;
  • the cache module 1540 is configured to cache the first connection information corresponding to the third electronic device, wherein the first connection information is used to represent the connection information between the second electronic device and the third electronic device
  • the above-mentioned apparatus 1500 may further include: a second receiving module 1550 and a second connecting module 1560;
  • the second receiving module 1550 is configured to receive a disconnection request sent by the first electronic device
  • the second connection module 1560 is configured to disconnect from the first electronic device, and restore the connection with the third electronic device based on the first connection information.
  • each module of the incoming call answering device shown in FIG. 14 and FIG. 15 is only a division of logical functions, and can be fully or partially integrated into a physical entity in actual implementation, or can be physically separated.
  • these modules can all be implemented in the form of software calling through processing elements; they can also all be implemented in hardware; some modules can also be implemented in the form of software calling through processing elements, and some modules can be implemented in hardware.
  • the detection module may be a separately established processing element, or may be integrated in a certain chip of the electronic device.
  • the implementation of other modules is similar.
  • all or part of these modules can be integrated together, and can also be implemented independently.
  • each step of the above-mentioned method or each of the above-mentioned modules can be completed by an integrated logic circuit of hardware in the processor element or an instruction in the form of software.
  • the above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more specific integrated circuits (Application Specific Integrated Circuit; hereinafter referred to as: ASIC), or, one or more microprocessors Digital Singnal Processor (hereinafter referred to as: DSP), or, one or more Field Programmable Gate Array (Field Programmable Gate Array; hereinafter referred to as: FPGA), etc.
  • ASIC Application Specific Integrated Circuit
  • DSP Digital Singnal Processor
  • FPGA Field Programmable Gate Array
  • these modules can be integrated together and implemented in the form of a system-on-a-chip (System-On-a-Chip; hereinafter referred to as: SOC).
  • the interface connection relationship between the modules illustrated in the embodiments of the present application is only a schematic illustration, and does not constitute a structural limitation on the first electronic device 100 and the second electronic device 200 .
  • the first electronic device 100 and the second electronic device 200 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
  • the above-mentioned first electronic device and the second electronic device include corresponding hardware structures and/or software modules for executing each function.
  • the embodiments of the present application can be implemented in hardware or a combination of hardware and computer software. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Experts may use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of the embodiments of the present application.
  • each functional module may be divided corresponding to each function, or two or more functions may be integrated. in a processing module.
  • the above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. It should be noted that, the division of modules in the embodiments of the present application is schematic, and is only a logical function division, and there may be other division manners in actual implementation.
  • Each functional unit in each of the embodiments of the embodiments of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium.
  • a computer-readable storage medium includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: flash memory, removable hard disk, read-only memory, random access memory, magnetic disk or optical disk and other media that can store program codes.

Abstract

本申请实施例提供一种来电接听方法、电子设备及存储介质,涉及通信技术领域,该方法包括:当接收到来电后,检测可连接的第二电子设备;检测到一个或多个可连接的所述第二电子设备,在所述第一电子设备的显示界面中显示一个或多个所述第二电子设备的接听控件;检测用于选取接听设备的第一操作;响应于检测到的所述第一操作,在一个或多个所述第二电子设备中确定接听设备,向所述接听设备发送连接请求,与所述接听设备建立连接。本申请实施例提供的方法,能够使得无线耳机在多个电子设备之间进行无缝切换,提高用户的来电接听的体验。

Description

来电接听方法、电子设备及存储介质
本申请要求于2020年11月18日提交中国专利局、申请号为202011294035.2、申请名称为“来电接听方法、电子设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及通信技术领域,尤其涉及一种来电接听方法、电子设备及存储介质。
背景技术
随着手机在人们生活中的普及及应用,手机已经成为人们生活和工作上的重要工具。对于部分人群,通常会拥有两部或两部以上手机,例如,一部手机可以用于工作,一部手机可以用于私人事务。
在现有技术中,通常手机都会具有耳机接听的功能,然而,用户在拥有多个手机的场景下,如果用户通过耳机在收听一部手机的音频信息时,而另一部手机检测到来电,这时,用户需要摘掉耳机,然后才能接听另一部手机的来电,给用户的操作带来了繁琐,影响了用户的体验。
发明内容
本申请实施例提供了一种来电接听方法、电子设备及存储介质,以提供一种来电接听的方式。
第一方面,本申请实施例提供了一种来电接听方法,应用于第一电子设备,包括:
当接收到来电后,检测可连接的第二电子设备;具体地,该第一电子设备可以包括手机、平板等移动设备;该第二电子设备可以包括无线耳机、智能音箱等接听设备。
检测到一个或多个可连接的第二电子设备,在第一电子设备的显示界面中显示一个或多个第二电子设备的接听控件;具体地,该每个接听控件可以和每个第二电子设备一一对应,该,接听控件用于指示用户通过第二电子设备接听来电。
检测用于选取接听设备的第一操作;响应于检测到的第一操作,在一个或多个第二电子设备中确定接听设备,向接听设备发送连接请求,与接听设备建立连接。具体地,用户可以在多个第二电子设备中任意选取一个作为接听设备。
本实施例中,用户通过在周边可连接的接听设备中任意选取一个作为接听设备,可以实现接听设备的无缝切换,由此可以提高用户的来电接听的体验。
其中一种可能的实现方式中,连接请求的优先级为高优先级。具体地,该高优先级的连接请求用于指示优先建立连接,示例性的,高优先级的连接要优先于低优先级的连接建立。举例来说,若第二电子设备已与其他电子设备建立低优先级的连接,此时收到高优先级的连接,则可以断开该优先级的连接,并与该高优先级的连接请求建立连接。
本实施例中,通过发送高优先级的连接请求,可以有效识别本次来电接听的请求,由此可以提高对来电接听的效率。
其中一种可能的实现方式中,与接听设备建立连接之后,还包括:
接通第一电子设备的来电;在第一电子设备的显示界面中显示第一挂断控件及第二挂断控件,其中,第一挂断控件用于表征通过第一电子设备挂断来电,第二挂断控件用于表征通过接听设备挂断来电。
本实施例中,通过显示界面上显示不同的挂断控件,由此可以提高不同的来电挂断选项,进而可以提高用户的选择自由度,提高用户的感受。
其中一种可能的实现方式中,还包括:
检测用于通过第一电子设备挂断来电的第二操作;响应于检测到的第二操作,挂断第一电子设备的来电,保持第一电子设备与接听设备之间的连接。具体地,该第二操作可以是点击第一挂断控件(例如,第一电子设备的挂断控件),也可以是滑动该第一挂断控件,本申请实施例对此不作特殊限定。
本实施例中,通过挂断电话后保持与接听设备之间的连接,可以节省第一电子设备与第二电子设备之间的连接流程,便于用户直接通过第二电子设备进行内容(例如,音乐、视频等)的收听,由此可以提高操作效率。
其中一种可能的实现方式中,还包括:
检测用于通过接听设备挂断来电的第三操作;响应于检测到的第三操作,挂断第一电子设备的来电,向接听设备发送断开连接请求,以使得接听设备与第二电子设备断开连接。
本实施例中,通过挂断电话后与接听设备断开,由此可以避免占用接听设备,提高该接听设备的使用效率。
本申请实施例还提供了一种来电接听方法,应用于第二电子设备,第二电子设备与第三电子设备已建立连接,包括:
接收第一电子设备发送的连接请求;具体地,该第二电子设备可以包括无线耳机、智能音箱等接听设备,第一电子设备和第三电子设备可以包括手机、平板等移动设备。
断开与第三电子设备的连接,与第一电子设备建立连接;接收并播放第一电子设备发送的通话信息,以完成用户使用第二电子设备对第一电子设备的来电的接听。
本实施例中,根据第一电子设备的连接请求,与第三电子设备断开连接,并与第一电子设备建立连接,可以在来电接听时,实现第二电子设备的无缝切换,提高用户的感受。
其中一种可能的实现方式中,第二电子设备与第三电子设备的连接的优先级为低优先级;断开与第三电子设备的连接,与第一电子设备建立连接包括:
若连接请求的优先级为高优先级,则断开与第三电子设备的连接,与第一电子设备建立连接。
本实施例中,通过对连接请求的优先级的判断确定是否断开与第三电子设备的连接,可以避免该第二电子设备因收到连接请求导致的频繁切换,由此可以提高来电接听场景下的切换效率。
其中一种可能的实现方式中,还包括:
缓存与第三电子设备对应的第一连接信息,其中,第一连接信息用于表征第二电子设备与第三电子设备之间的连接信息。
本实施例中,通过缓存上述第一连接信息,可以实现该第二电子设备在与第一电子设备断开连接后,与第三电子设备恢复连接,由此可以节省第二电子设备与第三电子设备再次连接的过程,提高用户的操作体验。
其中一种可能的实现方式中,接收并播放第一电子设备发送的通话信息之后,还包括:
接收第一电子设备发送的断开连接请求;与第一电子设备断开连接,基于第一连接信息与第三电子设备恢复连接。
本实施例中,根据收到的断开连接请求与第一电子设备断开连接,并与第三电子设备建立连接,由此可以使得该第二电子设备可以在来电结束后无缝切换,提高用户的体验。
第二方面,本申请实施例提供一种来电接听装置,应用于第一电子设备,包括:
检测模块,用于当接收到来电后,检测可连接的第二电子设备;
第一显示模块,用于检测到一个或多个可连接的第二电子设备,在第一电子设备的显示界面中显示一个或多个第二电子设备的接听控件;
连接模块,用于检测用于选取接听设备的第一操作;响应于检测到的第一操作,在一个或多个第二电子设备中确定接听设备,向接听设备发送连接请求,与接听设备建立连接。
其中一种可能的实现方式中,上述连接请求的优先级为高优先级。
其中一种可能的实现方式中,上述装置还包括:
接听模块,用于接通第一电子设备的来电;
第二显示模块,用于在第一电子设备的显示界面中显示第一挂断控件及第二挂断控件,其中,第一挂断控件用于表征通过第一电子设备挂断来电,第二挂断控件用于表征通过接听设备挂断来电。
其中一种可能的实现方式中,上述装置还包括:
第一挂断模块,用于检测用于通过第一电子设备挂断来电的第二操作;响应于检测到的第二操作,挂断第一电子设备的来电,保持第一电子设备与接听设备之间的连接。
其中一种可能的实现方式中,上述装置还包括:
第二挂断模块,用于检测用于通过接听设备挂断来电的第三操作;响应于检测到的第三操作,挂断第一电子设备的来电,向接听设备发送断开连接请求,以使得接听设备与第二电子设备断开连接。
本申请实施例还提供了一种来电接听装置,应用于第二电子设备,第二电子设备与第三电子设备已建立连接,包括:
第一接收模块,用于接收第一电子设备发送的连接请求;
第一连接模块,用于断开与第三电子设备的连接,与第一电子设备建立连接;
接听模块,用于接收并播放第一电子设备发送的通话信息,以完成用户使用第二电子设备对第一电子设备的来电的接听。
其中一种可能的实现方式中,第二电子设备与第三电子设备的连接的优先级为低优先级,上述第一连接模块还用于若连接请求的优先级为高优先级,则断开与第三电子设备的连接,与第一电子设备建立连接。
其中一种可能的实现方式中,上述装置还包括:
缓存模块,用于缓存与第三电子设备对应的第一连接信息,其中,第一连接信息用于表征第二电子设备与第三电子设备之间的连接信息。
其中一种可能的实现方式中,上述装置还包括:
第二接收模块,用于接收第一电子设备发送的断开连接请求;
第二连接模块,用于与第一电子设备断开连接,基于第一连接信息与第三电子设备恢复连接。
第三方面,本申请实施例提供一种第一电子设备,包括:
存储器,上述存储器用于存储计算机程序代码,上述计算机程序代码包括指令,当上述第一电子设备从上述存储器中读取上述指令,以使得上述第一电子设备执行以下步骤:
当接收到来电后,检测可连接的第二电子设备;
检测到一个或多个可连接的第二电子设备,在第一电子设备的显示界面中显示一个或多个第二电子设备的接听控件,
检测用于选取接听设备的第一操作;
响应于检测到的第一操作,在一个或多个第二电子设备中确定接听设备,向接听设备发送连接请求,与接听设备建立连接。
其中一种可能的实现方式中,上述连接请求的优先级为高优先级。
其中一种可能的实现方式中,上述指令被上述第一电子设备执行时,使得上述第一电子设备执行与接听设备建立连接的步骤之后,还执行以下步骤:
接通第一电子设备的来电;
在第一电子设备的显示界面中显示第一挂断控件及第二挂断控件,其中,第一挂断控件用于表征通过第一电子设备挂断来电,第二挂断控件用于表征通过接听设备挂断来电。
其中一种可能的实现方式中,上述指令被上述第一电子设备执行时,使得上述第一电子设备执行与接听设备建立连接的步骤之后,还执行以下步骤:
检测用于通过第一电子设备挂断来电的第二操作;
响应于检测到的第二操作,挂断第一电子设备的来电,保持第一电子设备与接听设备之间的连接。
其中一种可能的实现方式中,上述指令被上述第一电子设备执行时,使得上述第一电子设备还执行以下步骤:
检测用于通过接听设备挂断来电的第三操作;
响应于检测到的第三操作,挂断第一电子设备的来电,向接听设备发送断开连接请求,以使得接听设备与第二电子设备断开连接。
本申请实施例还提供了一种第二电子设备,第二电子设备与第三电子设备已建立连接,包括:
存储器,上述存储器用于存储计算机程序代码,上述计算机程序代码包括指令,当上述第二电子设备从上述存储器中读取上述指令,以使得上述第二电子设备执行以下步骤:
接收第一电子设备发送的连接请求;
断开与第三电子设备的连接,与第一电子设备建立连接;
接收并播放第一电子设备发送的通话信息,以完成用户使用第二电子设备对第一电子设备的来电的接听。
其中一种可能的实现方式中,第二电子设备与第三电子设备的连接的优先级为低优先级,上述指令被上述第二电子设备执行时,使得上述第二电子设备执行断开与第三电子设备的连接,与第一电子设备建立连接的步骤包括:
若连接请求的优先级为高优先级,则断开与第三电子设备的连接,与第一电子设备建立连接。
其中一种可能的实现方式中,上述指令被上述第二电子设备执行时,使得上述第二电子设备还执行以下步骤:
缓存与第三电子设备对应的第一连接信息,其中,第一连接信息用于表征第二电子设备与第三电子设备之间的连接信息。
其中一种可能的实现方式中,上述指令被上述第二电子设备执行时,使得上述第二电子设备执行接收并播放所述第一电子设备发送的通话信息的步骤之后,还执行以下步骤:
接收第一电子设备发送的断开连接请求;
与第一电子设备断开连接,基于第一连接信息与第三电子设备恢复连接。
第四方面,本申请实施例提供一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,当其在计算机上运行时,使得计算机执行如第一方面所述的方法。
第五方面,本申请实施例提供一种计算机程序,当上述计算机程序被计算机执行时,用于执行第一方面所述的方法。
在一种可能的设计中,第五方面中的程序可以全部或者部分存储在与处理器封装在一起的存储介质上,也可以部分或者全部存储在不与处理器封装在一起的存储器上。
附图说明
图1为本申请提供的电子设备一个实施例的结构示意图;
图2为本申请提供的电子设备另一个实施例的结构示意图;
图3为本申请提供的应用场景一个实施例的架构示意图;
图4为本申请提供的来电接听方法一个实施例的流程示意图;
图5为本申请提供的来电接听界面一个实施例的效果图;
图6为本申请提供的来电接听界面另一个实施例的效果图;
图7为本申请提供的来电接听界面再一个实施例的效果图;
图8为本申请提供的来电接听界面再一个实施例的效果图;
图9为本申请提供的应用场景另一个实施例的架构示意图;
图10为本申请提供的应用场景再一个实施例的架构示意图;
图11为本申请提供的来电接听方法另一个实施例的流程示意图;
图12为本申请提供的来电接听界面再一个实施例的效果图;
图13为本申请提供的来电接听界面再一个实施例的效果图;
图14为本申请提供的来电接听装置一个实施例的结构示意图;
图15为本申请提供的来电接听装置另一个实施例的结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。其中,在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本申请实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。
目前的电子设备中,通常都具有连接无线耳机的功能,通过连接无线耳机,可以方便的进行音频信息的收听,例如,用户可以佩戴无线耳机收听电子设备中的音乐。
然而,如果用户拥有多台电子设备,当用户使用无线耳机收听其中一台电子设备的音频信息时,如果另一台电子设备收到来电,这时用户需要摘下无线耳机,才能收听另一台电子设备的来电,给用户的操作带来繁琐。
基于上述问题,本申请实施例提出了一种来电接听方法,应用于第一电子设备和第二电子设备,第一电子设备也可以称为终端设备、用户设备(User Equipment,UE)、接入终端、用户单元、移动设备、用户终端、终端、无线通信设备。电子设备可以是蜂窝电话、无绳电话、个人数字处理(Personal Digital Assistant,PDA)设备、具有无线通信功能的手持设备。第二电子设备可以包括无线耳机和无线音箱等无线播放设备。其中,无线耳机可以包括红外线耳机和蓝牙耳机,也可以包括其他通过无线方式连接的耳机,例如,工作在2.4GHz频率的无线耳机,无线音箱可以包括蓝牙音箱和WIFI音箱等。本申请实施例对执行该技术方案的第二电子设备的具体形式不做特殊限制。
图1示出了第一电子设备100的结构示意图。
第一电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速 度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。
可以理解的是,本发明实施例示意的结构并不构成对第一电子设备100的具体限定。在本申请另一些实施例中,第一电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,实现第一电子设备100的触摸功能。
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可以通过PCM接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。所述I2S接口和所述PCM接口都可以用于音频通信。
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向无线通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的功能。
MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现第一电子设备100的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现第一电子设备100的显示功能。
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏194,无线通信模块160,音频模块170,传感器模块180等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为第一电子设备100充电,也可以用于第一电子设备100与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。
可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对第一电子设备100的结构限定。在本申请另一些实施例中,第一电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过第一电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
第一电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。第一电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在第一电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。
无线通信模块160可以提供应用在第一电子设备100上的包括无线局域网(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)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
在一些实施例中,第一电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得第一电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(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)。
第一电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改 变显示信息。
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,第一电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。
第一电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,第一电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当第一电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。第一电子设备100可以支持一种或多种视频编解码器。这样,第一电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现第一电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展第一电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。 存储数据区可存储第一电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器110通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,执行第一电子设备100的各种功能应用以及数据处理。
第一电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。第一电子设备100可以通过扬声器170A收听音乐,或收听免提通话。
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当第一电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。第一电子设备100可以设置至少一个麦克风170C。在另一些实施例中,第一电子设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,第一电子设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。第一电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,第一电子设备100根据压力传感器180A检测所述触摸操作强度。第一电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
陀螺仪传感器180B可以用于确定第一电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定第一电子设备100围绕三个轴(即,x,y和z轴)的 角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测第一电子设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消第一电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。
气压传感器180C用于测量气压。在一些实施例中,第一电子设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。
磁传感器180D包括霍尔传感器。第一电子设备100可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当第一电子设备100是翻盖机时,第一电子设备100可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。
加速度传感器180E可检测第一电子设备100在各个方向上(一般为三轴)加速度的大小。当第一电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
距离传感器180F,用于测量距离。第一电子设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,第一电子设备100可以利用距离传感器180F测距以实现快速对焦。
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。第一电子设备100通过发光二极管向外发射红外光。第一电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定第一电子设备100附近有物体。当检测到不充分的反射光时,第一电子设备100可以确定第一电子设备100附近没有物体。第一电子设备100可以利用接近光传感器180G检测用户手持第一电子设备100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。
环境光传感器180L用于感知环境光亮度。第一电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测第一电子设备100是否在口袋里,以防误触。
指纹传感器180H用于采集指纹。第一电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器180J用于检测温度。在一些实施例中,第一电子设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,第一电子设备100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,第一电子设备100对电池142加热,以避免低温导致第一电子设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,第一电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。
触摸传感器180K,也称“触控器件”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用 于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于第一电子设备100的表面,与显示屏194所处的位置不同。
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。第一电子设备100可以接收按键输入,产生与第一电子设备100的用户设置以及功能控制有关的键信号输入。
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和第一电子设备100的接触和分离。第一电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。第一电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,第一电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在第一电子设备100中,不能和第一电子设备100分离。
如图2所示,为本申请实施例提供的一种第二电子设备200的结构示意图。第二电子设备200可以包括存储器210、处理器220、接收器230及发生源240;其中,接收器230用于接收第一电子设备100的音频信号,该接收器230与第一电子设备100之间可以是通过蓝牙连接,也就是说,接收器230可以和无线通信模块160相连,也可以是接收器230与第一电子设备100之间通过红外连接,也可以是其它形式的无线连接(例如,WIFI),本申请实施例对此不作限定。发生源240用于将接收到的音频信号进行播放,供用户收听。
存储器210可用于存储软件程序以及模块,处理器220通过运行存储在存储器210的软件程序以及模块,从而执行第二电子设备200的各种功能应用以及数据处理。存储器210可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、 至少一个功能所需的应用程序(比如声音播放功能等)等;存储数据区可存储根据第二电子设备200的使用所创建的数据(比如音频数据等)等。此外,存储器210可以包括高速随机存取存储器,还可以包括非易失性存储器,例如,至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器220是第二电子设备200的控制中心,利用各种接口和线路连接整个第二电子设备200的各个部分,通过运行或执行存储在存储器210内的软件程序和/或模块,以及调用存储在存储器210内的数据,执行第二电子设备200的各种功能和处理数据,从而对第二电子设备200进行整体监控。可选的,处理器220可包括一个或多个处理单元;优选的,处理器220可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器220中。
图3为本申请一个实施例的应用场景示意图。如图3所示,用户拥有多个第一电子设备(例如,第一电子设备A、第一电子设备B、第一电子设备C等)和一个第二电子设备W(例如,无线耳机)。其中,该第一电子设备可以是同类型的,示例性的,该第一电子设备可以包括手机A、手机B等;该第一电子设备也可以是不同类型的,示例性的,该第一电子设备可以包括手机A、智能手表B等。在图3所示的应用场景中,第二电子设备W可以与其中任一个第一电子设备建立连接,示例性的,第二电子设备W可以与第一电子设备A连接,用户可以通过第二电子设备W收听第一电子设备A上的音乐。此时,用户可以将第二电子设备与该第一电子设备的连接切换至与另一个第一电子设备的连接,由此可以通过该第二电子设备收听不同的第一电子设备中的音频信息;示例性的,第一电子设备B收到来电信息,用户可以由第一电子设备A与第二电子设备W之间的连接切换为第一电子设备B与第二电子设备W之间的连接,由此可以完成用户从收听第一电子设备A上的音乐到收听第一电子设备B上的来电的无缝切换。其中,上述第一电子设备与第二电子设备之间的连接可以是WIFI连接,或者是蓝牙连接,也可以是其它类型的短距连接,本实施例对此不作限定。
下文通过图4-图8对图3所示的场景进行说明,如图4所示为本申请来电接听方法一个实施例的流程图,包括:
步骤101,第一电子设备B与第二电子设备W已建立连接,处于连接状态。
例如,用户可以佩戴第二电子设备W收听第一电子设备B中的音乐。
步骤102,第一电子设备A接收到来电,检测是否已连接第二电子设备。
其中,若第一电子设备A未连接第二电子设备,则可以执行步骤103。
若第一电子设备A已连接第二电子设备,则用户可以直接通过第二电子设备接听来电。
步骤103,第一电子设备A检测可连接的第二电子设备。
其中,检测的方式可以包括第一电子设备A对默认范围内的第二电子设备进行搜索,以确定附近可连接的第二电子设备(例如,第二电子设备W)。第一电子设备A可以搜索默认范围内是否存在可供连接的第二电子设备。可以理解的是,该默认范围可以与第一电子设备A与第二电子设备之间的有效连接距离对应,该有效连接距离可以根据第二电子设备与电子设备之间可连接的最大距离确定。示例性的,第二电子设 备开启连接功能后,可以广播配对信息。由于第二电子设备的发射功率有限,因此,第二电子设备广播配对信息的范围决定了上述有效连接距离,电子设备可以在该有效连接距离内接收第二电子设备广播的配对信息,由此可以使得电子设备与第二电子设备基于该配对信息进行连接;第二电子设备而如果电子设备与第二电子设备之间的距离超出该有效连接距离,则电子设备无法接收到第二电子设备广播的配对信息,也就无法搜索到该第二电子设备。
可选地,检测的方式还可以包括检测用户佩戴第二电子设备的状态。示例性的,第一电子设备A接收到来电信息后,可以向附近的第二电子设备(例如,第二电子设备W)群发查询信息;其中,该查询信息用于查询第二电子设备的佩戴状态。示例性的,该第二电子设备的佩戴状态可以通过第二电子设备中的运动传感器获取,也可以通过其他方式获取,本申请实施例对此不作特殊限定。该佩戴状态用于标识用户是否已佩戴该第二电子设备。响应于接收到的查询信息,第二电子设备可以检测佩戴状态,以确定是否被用户佩戴。
若第二电子设备确定为已佩戴状态,也就是说,用户已佩戴该第二电子设备,则该第二电子设备可以向第一电子设备A返回佩戴状态信息。其中,佩戴状态信息可以包括佩戴状态及第二电子设备的身份标识(例如,第二电子设备W的ID、MAC地址等)。第一电子设备A确定第二电子设备佩戴状态为已佩戴,执行步骤104。
步骤104,第一电子设备A在当前来电待接界面中显示第二电子设备W的接听控件。
具体地,第一电子设备A可以基于检测到的第二电子设备在当前来电待接界面中显示第二电子设备的接听控件,以供用户选取。其中,第二电子设备的接听控件用于标识用户可以通过第二电子设备的方式接听来电。
如图5所示为来电待接界面500的示意图,参考图5,来电待接界面500可以包括接听选项区域510以及来电信息区域520;其中,接听选项区域510可以供用户对接听的模式进行选取,接听选项区域510可以包括多种接听模式的控件,示例性的,接听选项区域510可以包括终端接听控件511、耳机接听控件512以及挂断控件513。终端接听控件511用于标识用户可以通过电子设备的麦克风接听来电。耳机接听控件512用于标识用户可以通过第二电子设备接听来电。挂断控件513用于标识用户可以挂断本次来电。
来电信息区域520可以用于展示来电的相关信息,示例性的,可以包括来电人姓名、来电电话号码以及来电归属地等信息。可以理解的是,来电信息区域520还可以包括其他信息,本申请实施例对此不作特殊限定。
步骤105,响应于用户选取第二电子设备的操作,确定第二电子设备W为接听设备,第一电子设备A向第二电子设备W发送连接请求。
具体地,用户可以在来电待接界面500上进行操作,用于选取接听设备。示例性的,用户可以点击接听选项区域510中的耳机接听控件512,以确定第二电子设备(例如,第二电子设备W)为接听设备。应理解,用户确定接听设备的方式,可以是单击耳机接听控件512,可以是双击耳机接听控件512,也可以是在耳机接听控件512上进行滑动,或者是其它方式,本申请实施例对此不作限定。
响应于用户选取第二电子设备的操作,第一电子设备A确定第二电子设备为本次来电的接听设备,由此可以向第二电子设备发送连接请求,使得该第二电子设备与第一电子设备A进行连接。此外,第一电子设备A在发送连接请求时,还可以基于第一电子设备A的状态设置该连接请求的优先级。示例性的,第一电子设备A在普通状态(例如,收听音乐以及观看视频等非来电接听状态)下发送给第二电子设备的连接请求可以设置为低优先级,而第一电子设备A在来电接听状态下发送给第二电子设备的连接请求可以设置为高优先级,由此可以使得第二电子设备在分别收到上述低优先级连接请求或高优先级连接请求后,确定是否与该电子设备建立连接。
步骤106,第二电子设备W接收到第一电子设备A的连接请求,断开与第一电子设备B的连接。
具体地,当第二电子设备W接收到第一电子设备A的连接请求后,可以检测是否已与其他电子设备处于连接状态。
若第二电子设备W未与其他第一电子设备建立连接,则执行步骤107,用户可以通过第二电子设备W接听第一电子设备A的来电。
若第二电子设备W与其他第一电子设备(例如,第一电子设备B)已建立连接,例如,用户正在通过第二电子设备W收听第一电子设备B上的音乐。此时,第二电子设备W可以进一步判断该连接请求的优先级。其中,该连接请求的优先级可以用于标识连接请求的发起方(例如,第一电子设备A)的业务状态。示例性的,该低优先级连接请求可以表示该第一电子设备A处于非来电接听状态,由此第二电子设备可以推断出本次第一电子设备A发起的连接请求可能是为了收听音乐,也就是说,该低优先级连接请求对应的事件为非紧急事件,第二电子设备可以在收到电子设备的连接请求后,选择是否与该电子设备建立连接;该高优先级连接请求可以表示该第一电子设备A处于来电接听状态,由此第二电子设备可以推断出本次第一电子设备A发起的连接请求是为了接听来电,也就是说,该高优先级连接请求对应的事件为紧急事件,第二电子设备可以在收到电子设备的连接请求后,与已连接的电子设备(例如,第一电子设备B)断开连接,并与本次连接请求的发起方(例如,第一电子设备A)建立连接,以收听第一电子设备A的来电。
在具体实现时,若第二电子设备W判断该连接请求的优先级为低优先级,例如,用户想通过第二电子设备W收听第一电子设备A上的音乐,则第二电子设备W可以拒绝本次连接请求。
可选地,第二电子设备W在收到低优先级的连接请求后,也可以发送切换请求给第一电子设备B,通过用户的操作确认是否向第一电子设备A进行切换。其中,该切换请求用于标识本次切换的目标对象(例如,第一电子设备A)。
现结合图6进行说明,当第一电子设备B接收到第二电子设备W的低优先级切换请求后,可以在第一电子设备B的显示界面上弹出如图6所示的切换指示画面600,切换指示画面600包括信息显示区域610及信息确认区域620。其中,信息显示区域610用于显示本次第二电子设备待切换的信息,示例性的,该信息可以为“第二电子设备即将切换到第一电子设备A,请确认是否切换”。信息确认区域620可以包括确认控件621及拒绝控件622,确认控件621用于对本次第二电子设备W的切换进行确 认,拒绝控件622用于拒绝本次切换请求。
示例性的,用户可以操作拒绝控件622(例如,点击拒绝控件622),以此拒绝第二电子设备W从第一电子设备B切换到第一电子设备A,也就是说,第二电子设备W保持与第一电子设备B的配对连接。响应于用户的拒绝操作,第一电子设备B可以向第二电子设备W发送拒绝消息,该拒绝消息用于指示第二电子设备W保持与第一电子设备B的连接。
示例性的,用户也可以操作确认控件621(例如,点击确认控件621),以此确认第二电子设备W从第一电子设备B切换到第一电子设备A,也就是说,第二电子设备W可以断开与第一电子设备B的连接。响应于用户的确认操作,第一电子设备B可以向第二电子设备W发送确认消息,该确认消息用于指示第二电子设备W可以与第一电子设备B断开连接,并可以与第一电子设备A建立连接。
可选地,当第二电子设备W与第一电子设备B断开连接时,第一电子设备B可以记录与第二电子设备W处于连接时的第一连接信息,第二电子设备W可以记录与第一电子设备A处于连接时的第二连接信息。其中,该第一连接信息可以包括运行的应用程序名称(例如,音乐APP)以及中断时刻(例如,某一首歌曲的当前的暂停时刻),该第二连接信息可以包括电子设备的身份标识(例如,第一电子设备B)。也就是说,第一电子设备B可以暂时中止当前应用程序的播放,等待第二电子设备W切换回第一电子设备B后,用户可以在记录的中断时刻上继续收听该应用程序的内容。可以理解的是,上述第一连接信息以及第二连接信息的记录可以在第二电子设备W与第一电子设备B的连接断开之前,也可以在第二电子设备W与第一电子设备B的连接断开之后,也可以在第二电子设备W与第一电子设备B的连接断开之时,本申请实施例对此不作特殊限定。
若第二电子设备W判断该连接请求的优先级为高优先级,例如,用户想通过第二电子设备W收听第一电子设备A上的来电,则第一电子设备A可以发送高优先级的连接请求,用于标识本次的连接请求是基于来电接听的,也就是说,该连接请求对应的事件为紧急事件,由此可以使得第二电子设备W在收到该高优先级的连接请求后,可以立即断开与第一电子设备B的连接,并进一步执行步骤107,由此可以使得用户可以通过第二电子设备W接听第一电子设备A的来电。
现结合图7进行说明,若第二电子设备W判断该连接请求的优先级为高优先级,第二电子设备W可以断开与第一电子设备B的连接。此时,当第一电子设备B与第二电子设备W断开连接后,可以在第一电子设备B的显示界面上得到如图7所示的切换提示画面700。切换提示画面700包括信息显示区域710及信息确认区域720。其中,信息显示区域710用于显示本次是否对第一连接信息(例如,应用程序名称和中断时刻)进行记录的提示信息,示例性的,该信息可以为“第二电子设备已切换,是否对连接信息进行记录”。信息确认区域720可以包括确认控件721及拒绝控件722,确认控件721用于对连接信息的记录进行确认,拒绝控件722用于对拒绝对连接信息的记录。
示例性的,用户可以操作拒绝控件722(例如,点击拒绝控件722),以此拒绝记录第一连接信息。响应于用户的拒绝操作,第一电子设备B可以不用记录第一连接信 息,例如,可以关闭对应的应用程序,由此可以节省第一电子设备B的缓存资源。
示例性的,用户也可以操作确认控件721(例如,点击确认控件721),以此记录第一连接信息。响应于用户的确认操作,第一电子设备B可以记录第一连接信息,由此可以使得第二电子设备W切换回第一电子设备B后,可以基于第一连接信息,继续收听切换前的节目,例如,可以收听切换前中断的音乐,从而可以提高用户的收听体验。
步骤107,第二电子设备W与第一电子设备A建立连接。
具体地,第二电子设备W可以与第一电子设备A建立连接。其中,若第二电子设备W与第一电子设备A之间曾经配对成功过,也就是说,第二电子设备W与第一电子设备A之间互相存储有对方的配对信息,则可以直接建立连接;若第二电子设备W与第一电子设备A之间未配对过,则第二电子设备W与第一电子设备A之间可以通过配对过程,建立连接,由此可以在配对成功后记录下对方的配对信息,使得下次连接时可以省略配对连接过程,加快配对的速度,提高用户的体验。
可以理解的是,第二电子设备W与第一电子设备A之间的配对连接过程可以通过现有技术实现,例如,蓝牙配对,在此不再赘述。
步骤108,第一电子设备A与第二电子设备W建立连接后,接通来电,并通过第二电子设备W接听来电,在通话界面上显示第二电子设备W的挂断控件。
具体地,当第一电子设备A与第二电子设备W建立连接后,可以接通第一电子设备A的来电,并向第二电子设备W发送通话信息,由此可以使得用户通过该第二电子设备W收听来电,在第一电子设备A中可以得到如图8所示的通话界面800。参考图8,通话界面800可以包括通话信息区域810、功能区域820及通话操作区域830;其中,通话信息区域810可以用于展示通话的相关信息,示例性的,通话信息区域810可以包括通话人姓名、通话时长等信息,也可以包括其他信息,本申请实施例对此不作限定。功能区域820可以包括多种功能控件821,例如,免提、静音、键盘、添加通话、录音及通讯录等控件,也可以包括其他控件,本申请实施例对此不作限定。通话操作区域830可以包括终端挂断控件831及耳机挂断控件832。其中,终端挂断控件831用于标识第一电子设备A通话结束后,第二电子设备W仍与第一电子设备A保持连接关系,也就是说,终端挂断控件831对应终端挂断模式,在终端挂断模式下,用户仅挂断第一电子设备A,但是不断开第一电子设备A与第二电子设备W之间的连接,第二电子设备W不切换回第一电子设备B。耳机挂断控件832用于标识第一电子设备A通话结束后,第二电子设备W与第一电子设备A断开连接关系,也就是说,耳机挂断控件832对应耳机挂断模式,在该耳机挂断模式下,用户不仅挂断第一电子设备A,还断开第一电子设备A与第二电子设备W之间的连接,由此可以使得第二电子设备W可以切换回第一电子设备B。
步骤109,响应于用户挂断第二电子设备的操作,第一电子设备A向第二电子设备W发送断开连接请求。
具体地,当用户通话完毕后,可以在上述通话界面800上进行操作,以完成挂断通话操作。其中,该挂断通话的操作可以是点击通话操作区域830中的终端挂断控件831或耳机挂断控件832;也可以是通过滑动终端挂断控件831或耳机挂断控件832 的方式,本申请实施例对此不作限定。
若用户操作终端挂断控件831,示例性的,用户可以点击终端挂断控件831,也就是说,用户选取终端挂断模式。响应于用户挂断电子设备的操作,第一电子设备A挂断当前通话,保持与第二电子设备W的连接。第一电子设备A第二电子设备第一电子设备A第二电子设备第一电子设备A
若用户操作耳机挂断控件832,示例性的,用户可以点击耳机挂断控件832,也就是说,用户选取耳机挂断模式。响应于用户挂断耳机的操作,第一电子设备A挂断当前通话,向第二电子设备W发送断开连接请求,以断开与第二电子设备W的连接,由此可以使得第二电子设备W切换回第一电子设备B。
步骤110,第二电子设备W收到第一电子设备A的断开连接请求,与第一电子设备A断开连接。
步骤111,第二电子设备W与第一电子设备B重新建立连接,由此切换回第一电子设备B。
具体地,当第二电子设备W与第一电子设备A断开连接后,可以基于步骤106中记录的电子设备的身份标识与第一电子设备B恢复连接。
可选地,若第一电子设备B记录了第一连接信息(例如,应用程序名称及中断时刻),则第一电子设备B与第二电子设备W重新建立连接后,可以基于该第一连接信息,对暂时中止播放的应用程序恢复播放。由此可以使得用户可以继续对与第一电子设备B断开前的节目进行收听。
本申请实施例通过将收到来电信息的第一电子设备向第二电子设备发送连接请求,以此与第二电子设备建立连接,进而通过该第二电子设备收听来电,可以方便用户的操作,提高用户的操作体验。
上述图4-图8对多个第一电子设备和一个第二电子设备的场景进行了说明,接着对多个第一电子设备和多个第二电子设备的场景进行说明。
在另一个实施例的应用场景中,用户拥有多个第一电子设备(例如,第一电子设备A、第一电子设备B、第一电子设备C等)和多个第二电子设备(例如,第二电子设备A、第二电子设备B等)。其中,该第二电子设备可以是同类型的,例如,该第二电子设备可以包括第二电子设备A(耳道式耳机)、第二电子设备B(耳道式耳机)等;该第二电子设备可以是不同类型的,例如,该第二电子设备可以包括第二电子设备A(耳道式耳机)、第二电子设备B(头盔式耳机)和第二电子设备C(无线音箱)等。一个第二电子设备可以与其中任一个第一电子设备建立连接,示例性的,第二电子设备A可以与第一电子设备B连接,由此可以使得用户通过第二电子设备B收听第一电子设备A上的音乐。
在图9所示的应用场景中,若另一个第一电子设备(例如,第一电子设备A)有来电信息,用户可以在第一电子设备A的来电界面上对第二电子设备进行选取,以确定切换至哪个第二电子设备进行来电的接听。示例性的,若用户在第一电子设备A的来电界面上选取第二电子设备A作为接听设备,则第二电子设备A可以从第一电子设备B切换到第一电子设备A,由此可以提高用户选取的灵活性,并能实现无缝的切换,进而提高用户的接听体验。
在图10所示的应用场景中,若另一个第一电子设备(例如,第一电子设备A)有来电信息,用户可以在第一电子设备A的来电界面上对第二电子设备进行选取,以确定切换至哪个第二电子设备进行来电的接听。示例性的,若用户在第一电子设备A的来电界面上选取第二电子设备B(例如,无线音箱)作为接听设备,则第一电子设备A可以与第二电子设备B建立连接,由此可以提高用户选取的灵活性,进而提高用户的接听体验。
下文通过图11-图13对图9和图10所示的场景进行说明,如图11所示为本申请来电接听方法另一个实施例的流程图,包括:
步骤201,第一电子设备B与第二电子设备A已建立连接,处于连接状态。
步骤202,第一电子设备A接收到来电,检测是否已连接第二电子设备。
具体地,若第一电子设备A未连接第二电子设备,则可以执行步骤203。
若第一电子设备A连接第二电子设备,则用户可以直接通过第二电子设备接听来电。
步骤203,第一电子设备A检测可连接的第二电子设备。
具体地,步骤103中,第一电子设备A通过检测,可以发现只有一个可连接的第二电子设备。步骤203中,用户拥有多个第二电子设备,因此,第一电子设备A通过检测,可以发现多个可连接的第二电子设备(例如,第二电子设备A,第二电子设备B及第二电子设备C等),其中,第二电子设备A可以是无线耳机,第二电子设备B可以是头盔式耳机,第二电子设备C可以是音箱。具体检测的方式可参考步骤103,在此不再赘述。
步骤204,第一电子设备A在当前来电待接界面中显示第二电子设备的接听控件。
具体地,第一电子设备A可以基于步骤203检测到的第二电子设备在当前来电待接界面中显示第二电子设备的接听控件,以供用户选取。
如图12所示为来电待接界面1200的示意图,参考图12,来电待接界面1200可以包括接听选项区域1210以及来电信息区域1220;其中,接听选项区域1210可以供用户对接听的模式进行选取,接听选项区域1210可以包括终端接听区域1211及播放设备接听区域1212。终端接听区域1211包括终端接听控件12111及挂断控件12112。终端接听控件12111用于标识用户可以通过电子设备的麦克风接听来电。挂断控件12112用于标识用户可以挂断本次来电。播放设备接听区域1212包括与第二电子设备对应的播放设备接听控件,其中,该接听控件与步骤203中检测到的第二电子设备对应。示例性的,播放设备接听区域1212可以包括:耳道式耳机接听控件12121、头盔式耳机接听控件12122及音箱接听控件12123等。上述播放设备接听控件用于标识用户可以通过对应的第二电子设备接听来电。
来电信息区域1220可以用于展示来电的相关信息,示例性的,可以包括来电人姓名、来电电话号码以及来电归属地等信息。
步骤205,响应于用户选取第二电子设备的操作,确定第二电子设备,第一电子设备A向第二电子设备发送连接请求。
具体地,步骤205中,来电待接界面1200包含多个第二电子设备接听控件,因此,用户可以在来电待接界面1200上进行操作,以确定第二电子设备。例如,用户可以点 击耳道式耳机接听控件12121,以确定耳道式耳机为接听设备,或点击音箱接听控件12123,以确定无线音箱为接听设备。响应于用户选取第二电子设备的操作,第一电子设备A向该第二电子设备发送连接请求,使得该第二电子设备与第一电子设备A建立连接。
具体发送连接请求的细节可参考步骤105,在此不再赘述。
步骤206,第二电子设备接收到第一电子设备A的连接请求,检测第二电子设备当前的连接状态。
具体地,该第二电子设备当前的连接状态可以包括第二电子设备与其他电子设备是否建立连接。例如,第二电子设备是否与第一电子设备B建立连接。
步骤207,第二电子设备与第一电子设备A建立连接。
具体地,若第二电子设备在收到连接请求前已与其他电子设备建立连接,示例性的,第二电子设备A在收到第一电子设备A的连接请求前已与第一电子设备B建立连接,则第二电子设备A在收到第一电子设备A的连接请求后可以与第一电子设备B断开连接,并与第一电子设备A建立连接;此外,第二电子设备A还可以将第二电子设备A与第一电子设备B在收到连接请求前已建立连接的信息发送给第一电子设备A。由此可以使得第一电子设备A可以在通话结束后断开与第二电子设备A的连接,以使得第二电子设备A恢复与第一电子设备B的连接。
若第二电子设备在收到连接请求前未与其他第一电子设备建立连接,示例性的,第二电子设备B在收到第一电子设备A的连接请求前未与第一电子设备B建立连接,也未与第一电子设备A建立连接,则第二电子设备B在收到第一电子设备A的连接请求后与第一电子设备A建立连接。
步骤208,第一电子设备A与第二电子设备建立连接后,用户通过第二电子设备接听来电,基于连接状态确定是否显示第二电子设备挂断控件。
具体地,若第一电子设备A收到第二电子设备发送的第二电子设备已与其他电子设备建立连接的信息,则可以在通话界面上显示该第二电子设备的挂断控件,并可以进一步执行步骤209。示例性的,第一电子设备A收到第二电子设备A发送的第二电子设备A已与第一电子设备B建立连接的信息,由此第一电子设备A可以得到如图8所示的通话界面800,通话界面800可以包括第一电子设备A的挂断控件831及第二电子设备A的挂断控件832,该挂断控件831用于挂断通话,该挂断控件832用于挂断通话,并断开第二电子设备A与第一电子设备A的连接。
若第一电子设备A未收到第二电子设备发送的第二电子设备已与其他第一电子设备建立连接的信息,则在第一电子设备A的屏幕上可以显示如图13所示的通话界面1300,并可以进一步执行步骤212。示例性的,第一电子设备A未收到第二电子设备B已与第一电子设备B建立连接的信息,由此第一电子设备A可以得到如图13所示的通话界面1300。在通话界面1300上可以不显示该第二电子设备B的挂断控件;示例性的,在通话界面1300上可以只显示第一电子设备A的挂断控件。如图13所示,通话界面1300包括挂断控件1301,挂断控件1301用于指示对第一电子设备A进行挂断。由于第二电子设备B未与其他第一电子设备建立连接,因此,通过对第一电子设备A的挂断控件(例如,挂断控件1301)进行挂断,用户可以在通话结束后挂断通话。 在通话挂断后,第二电子设备B可以与第一电子设备A保持连接状态。因此,无需在通话界面1300上显示第二电子设备B的挂断控件。
步骤209,响应于用户挂断第二电子设备A的操作,第一电子设备A向第二电子设备A发送断开连接请求。
具体地,本步骤209与步骤109相同,具体可参考步骤109,在此不再赘述。
步骤210,第二电子设备A收到第一电子设备A的断开连接请求,与第一电子设备A断开连接。
步骤211,第二电子设备A与第一电子设备B重新建立连接,由此第二电子设备A切换回第一电子设备B。
具体地,本步骤211与步骤111相同,具体可参考步骤111,在此不再赘述。
步骤212,响应于用户挂断第一电子设备A的操作,第一电子设备A结束本次通话。
具体地,用户可以在通话界面1300上进行操作,例如,用户可以点击挂断控件1301。响应于用户的操作,第一电子设备A可以结束本次通话。
可选地,在第一电子设备A结束本次通话后,第一电子设备A可以与第二电子设备B保持连接状态。也就是说,用户可以通过第二电子设备B收听第一电子设备A上的音频内容。
可选地,在第一电子设备A结束本次通话后,第一电子设备A可以断开与第二电子设备B之间的连接。
本申请实施例中,当第一电子设备接收到来电后,用户可以在检索到的多个第二电子设备中任意选取一个第二电子设备进行接听,并可以在通话结束后,基于该第二电子设备与其他第一电子设备在该第二电子设备与该接收来电的第一电子设备建立连接前的连接状态,确定是否在通话结束后第二电子设备与该接收来电的第一电子设备保持连接,由此可以提高用户操作的灵活性,提高用户操作的体验。
图14为本申请来电接听装置一个实施例的结构示意图,如图7所示,上述来电接听装置1400应用于第一电子设备,可以包括:检测模块1410、第一显示模块1420及连接模块1430;
检测模块1410,用于当接收到来电后,检测可连接的第二电子设备;
第一显示模块1420,用于检测到一个或多个可连接的第二电子设备,在第一电子设备的显示界面中显示一个或多个第二电子设备的接听控件;
连接模块1430,用于检测用于选取接听设备的第一操作;响应于检测到的第一操作,在一个或多个第二电子设备中确定接听设备,向接听设备发送连接请求,与接听设备建立连接。
在一种可能的实现方式中,上述连接请求的优先级为高优先级。
在一种可能的实现方式中,上述装置1400还可以包括:接听模块1440及第二显示模块1450;
接听模块1440,用于接通第一电子设备的来电;
第二显示模块1450,用于在第一电子设备的显示界面中显示第一挂断控件及第二挂断控件,其中,第一挂断控件用于表征通过第一电子设备挂断来电,第二挂断控件 用于表征通过接听设备挂断来电。
在一种可能的实现方式中,上述装置1400还可以包括:第一挂断模块1460;
第一挂断模块1460,用于检测用于通过第一电子设备挂断来电的第二操作;响应于检测到的第二操作,挂断第一电子设备的来电,保持第一电子设备与接听设备之间的连接。
在一种可能的实现方式中,上述装置1400还可以包括:第二挂断模块1470;
第二挂断模块1470,用于检测用于通过接听设备挂断来电的第三操作;响应于检测到的第三操作,挂断第一电子设备的来电,向接听设备发送断开连接请求,以使得接听设备与第二电子设备断开连接。
图15为本申请来电接听装置另一个实施例的结构示意图,如图15所示,上述来电接听装置1500应用于第二电子设备,第二电子设备与第三电子设备已建立连接,可以包括:第一接收模块1510、第一连接模块1520及接听模块1530;
第一接收模块1510,用于接收第一电子设备发送的连接请求;
第一连接模块1520,用于断开与第三电子设备的连接,与第一电子设备建立连接;
接听模块1530,用于接收并播放第一电子设备发送的通话信息,以完成用户使用第二电子设备对第一电子设备的来电的接听。
在一种可能的实现方式中,第二电子设备与第三电子设备的连接的优先级为低优先级,上述第一连接模块1520还可以用于若连接请求的优先级为高优先级,则断开与第三电子设备的连接,与第一电子设备建立连接。
在一种可能的实现方式中,上述装置1500还可以包括:缓存模块1540;
缓存模块1540,用于缓存与第三电子设备对应的第一连接信息,其中,第一连接信息用于表征第二电子设备与第三电子设备之间的连接信息
在一种可能的实现方式中,上述装置1500还可以包括:第二接收模块1550及第二连接模块1560;
第二接收模块1550,用于接收第一电子设备发送的断开连接请求;
第二连接模块1560,用于与第一电子设备断开连接,基于第一连接信息与第三电子设备恢复连接。
应理解以上图14和图15所示的来电接听装置的各个模块的划分仅仅是一种逻辑功能的划分,实际实现时可以全部或部分集成到一个物理实体上,也可以物理上分开。且这些模块可以全部以软件通过处理元件调用的形式实现;也可以全部以硬件的形式实现;还可以部分模块以软件通过处理元件调用的形式实现,部分模块通过硬件的形式实现。例如,检测模块可以为单独设立的处理元件,也可以集成在电子设备的某一个芯片中实现。其它模块的实现与之类似。此外这些模块全部或部分可以集成在一起,也可以独立实现。在实现过程中,上述方法的各步骤或以上各个模块可以通过处理器元件中的硬件的集成逻辑电路或者软件形式的指令完成。
例如,以上这些模块可以是被配置成实施以上方法的一个或多个集成电路,例如:一个或多个特定集成电路(Application Specific Integrated Circuit;以下简称:ASIC),或,一个或多个微处理器(Digital Singnal Processor;以下简称:DSP),或,一个或者多个现场可编程门阵列(Field Programmable Gate Array;以下简称:FPGA)等。再 如,这些模块可以集成在一起,以片上系统(System-On-a-Chip;以下简称:SOC)的形式实现。
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对第一电子设备100和第二电子设备200的结构限定。在本申请另一些实施例中,第一电子设备100和第二电子设备200也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
可以理解的是,上述第一电子设备和第二电子设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请实施例能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请实施例的范围。
本申请实施例可以根据上述方法示例对上述第一电子设备和第二电子设备等进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请实施例各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:快闪存储器、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (20)

  1. 一种来电接听方法,应用于第一电子设备,其特征在于,所述方法包括:
    当接收到来电后,检测可连接的第二电子设备;
    检测到一个或多个可连接的所述第二电子设备,在所述第一电子设备的显示界面中显示一个或多个所述第二电子设备的接听控件;
    检测用于选取接听设备的第一操作;
    响应于检测到的所述第一操作,在一个或多个所述第二电子设备中确定接听设备,向所述接听设备发送连接请求,与所述接听设备建立连接。
  2. 根据权利要1所述的方法,其特征在于,所述连接请求的优先级为高优先级。
  3. 根据权利要1或2所述的方法,其特征在于,所述与所述接听设备建立连接之后,所述方法还包括:
    接通所述第一电子设备的来电;
    在所述第一电子设备的显示界面中显示第一挂断控件及第二挂断控件,其中,所述第一挂断控件用于表征通过所述第一电子设备挂断来电,所述第二挂断控件用于表征通过所述接听设备挂断来电。
  4. 根据权利要求3所述的方法,其特征在于,所述方法还包括:
    检测用于通过所述第一电子设备挂断来电的第二操作;
    响应于检测到的所述第二操作,挂断所述第一电子设备的来电,保持所述第一电子设备与所述接听设备之间的连接。
  5. 根据权利要求3所述的方法,其特征在于,所述方法还包括:
    检测用于通过所述接听设备挂断来电的第三操作;
    响应于检测到的所述第三操作,挂断所述第一电子设备的来电,向所述接听设备发送断开连接请求,以使得所述接听设备与所述第二电子设备断开连接。
  6. 一种来电接听方法,应用于第二电子设备,所述第二电子设备与第三电子设备已建立连接,其特征在于,所述方法包括:
    接收第一电子设备发送的连接请求;
    断开与所述第三电子设备的连接,与所述第一电子设备建立连接;
    接收并播放所述第一电子设备发送的通话信息,以完成用户使用所述第二电子设备对所述第一电子设备的来电的接听。
  7. 根据权利要6所述的方法,其特征在于,所述第二电子设备与所述第三电子设备的连接的优先级为低优先级;所述断开与所述第三电子设备的连接,与所述第一电子设备建立连接包括:
    若所述连接请求的优先级为高优先级,则断开与所述第三电子设备的连接,与所述第一电子设备建立连接。
  8. 根据权利要6或7所述的方法,其特征在于,所述方法还包括:
    缓存与所述第三电子设备对应的第一连接信息,其中,所述第一连接信息用于表征所述第二电子设备与所述第三电子设备之间的连接信息。
  9. 根据权利要8所述的方法,其特征在于,所述接收并播放所述第一电子设备发送的通话信息之后,所述方法还包括:
    接收所述第一电子设备发送的断开连接请求;
    与所述第一电子设备断开连接,基于所述第一连接信息与所述第三电子设备恢复连接。
  10. 一种第一电子设备,其特征在于,包括:存储器,所述存储器用于存储计算机程序代码,所述计算机程序代码包括指令,当所述第一电子设备从所述存储器中读取所述指令,以使得所述第一电子设备执行以下步骤:
    当接收到来电后,检测可连接的第二电子设备;
    检测到一个或多个可连接的所述第二电子设备,在所述第一电子设备的显示界面中显示一个或多个所述第二电子设备的接听控件;
    检测用于选取接听设备的第一操作;
    响应于检测到的所述第一操作,在一个或多个所述第二电子设备中确定接听设备,向所述接听设备发送连接请求,与所述接听设备建立连接。
  11. 根据权利要求10所述的第一电子设备,其特征在于,所述连接请求的优先级为高优先级。
  12. 根据权利要求10或11所述的第一电子设备,其特征在于,所述指令被所述第一电子设备执行时,使得所述第一电子设备执行与所述接听设备建立连接的步骤之后,还执行以下步骤:
    接通所述第一电子设备的来电;
    在所述第一电子设备的显示界面中显示第一挂断控件及第二挂断控件,其中,所述第一挂断控件用于表征通过所述第一电子设备挂断来电,所述第二挂断控件用于表征通过所述接听设备挂断来电。
  13. 根据权利要求12所述的第一电子设备,其特征在于,所述指令被所述第一电子设备执行时,使得所述第一电子设备执行与所述接听设备建立连接的步骤之后,还执行以下步骤:
    检测用于通过所述第一电子设备挂断来电的第二操作;
    响应于检测到的所述第二操作,挂断所述第一电子设备的来电,保持所述第一电子设备与所述接听设备之间的连接。
  14. 根据权利要求12所述的第一电子设备,其特征在于,所述指令被所述第一电子设备执行时,使得所述第一电子设备还执行以下步骤:
    检测用于通过所述接听设备挂断来电的第三操作;
    响应于检测到的所述第三操作,挂断所述第一电子设备的来电,向所述接听设备发送断开连接请求,以使得所述接听设备与所述第二电子设备断开连接。
  15. 一种第二电子设备,其特征在于,所述第二电子设备与第三电子设备已建立连接,包括:存储器,所述存储器用于存储计算机程序代码,所述计算机程序代码包括指令,当所述第二电子设备从所述存储器中读取所述指令,以使得所述第二电子设备执行以下步骤:
    接收第一电子设备发送的连接请求;
    断开与所述第三电子设备的连接,与所述第一电子设备建立连接;
    接收并播放所述第一电子设备发送的通话信息,以完成用户使用所述第二电子设 备对所述第一电子设备的来电的接听。
  16. 根据权利要求15所述的第二电子设备,其特征在于,所述第二电子设备与所述第三电子设备的连接的优先级为低优先级,所述指令被所述第二电子设备执行时,使得所述第二电子设备执行断开与所述第三电子设备的连接,与所述第一电子设备建立连接的步骤包括:
    若所述连接请求的优先级为高优先级,则断开与所述第三电子设备的连接,与所述第一电子设备建立连接。
  17. 根据权利要求15或16所述的第二电子设备,其特征在于,所述指令被所述第二电子设备执行时,使得所述第二电子设备还执行以下步骤:
    缓存与所述第三电子设备对应的第一连接信息,其中,所述第一连接信息用于表征所述第二电子设备与所述第三电子设备之间的连接信息。
  18. 根据权利要求17所述的第二电子设备,其特征在于,所述指令被所述第二电子设备执行时,使得所述第二电子设备执行接收并播放所述第一电子设备发送的通话信息的步骤之后,还执行以下步骤:
    接收所述第一电子设备发送的断开连接请求;
    与所述第一电子设备断开连接,基于所述第一连接信息与所述第三电子设备恢复连接。
  19. 一种计算机可读存储介质,其特征在于,包括计算机指令,当所述计算机指令在所述第一电子设备上运行时,使得所述第一电子设备执行如权利要求1-5中任一项所述来电接听的方法。
  20. 一种计算机可读存储介质,其特征在于,包括计算机指令,当所述计算机指令在所述第二电子设备上运行时,使得所述第二电子设备执行如权利要求6-9中任一项所述来电接听的方法。
PCT/CN2021/130163 2020-11-18 2021-11-11 来电接听方法、电子设备及存储介质 WO2022105674A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011294035.2 2020-11-18
CN202011294035.2A CN114554012B (zh) 2020-11-18 2020-11-18 来电接听方法、电子设备及存储介质

Publications (1)

Publication Number Publication Date
WO2022105674A1 true WO2022105674A1 (zh) 2022-05-27

Family

ID=81660653

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/130163 WO2022105674A1 (zh) 2020-11-18 2021-11-11 来电接听方法、电子设备及存储介质

Country Status (2)

Country Link
CN (1) CN114554012B (zh)
WO (1) WO2022105674A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115022766A (zh) * 2022-07-21 2022-09-06 荣耀终端有限公司 音频数据播放方法及设备

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202206519U (zh) * 2010-12-15 2012-04-25 上海华勤通讯技术有限公司 蓝牙耳机
CN102752030A (zh) * 2011-04-22 2012-10-24 比亚迪股份有限公司 一种来电连接蓝牙耳机的方法及系统
CN103595871A (zh) * 2013-11-22 2014-02-19 深圳市金立通信设备有限公司 一种来电转接方法及终端
CN104219729A (zh) * 2014-09-04 2014-12-17 联想(北京)有限公司 一种连接处理方法及电子设备
CN110191442A (zh) * 2019-04-18 2019-08-30 华为技术有限公司 一种蓝牙连接方法、设备及系统
WO2020032541A1 (en) * 2018-08-08 2020-02-13 Samsung Electronics Co., Ltd. Method for processing incoming call and electronic device for supporting the same
CN111818503A (zh) * 2020-09-08 2020-10-23 深圳市汇顶科技股份有限公司 语音通话方法、系统、芯片、电子设备及存储介质

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI557631B (zh) * 2011-12-28 2016-11-11 群邁通訊股份有限公司 來電接聽掛斷管理系統及方法

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202206519U (zh) * 2010-12-15 2012-04-25 上海华勤通讯技术有限公司 蓝牙耳机
CN102752030A (zh) * 2011-04-22 2012-10-24 比亚迪股份有限公司 一种来电连接蓝牙耳机的方法及系统
CN103595871A (zh) * 2013-11-22 2014-02-19 深圳市金立通信设备有限公司 一种来电转接方法及终端
CN104219729A (zh) * 2014-09-04 2014-12-17 联想(北京)有限公司 一种连接处理方法及电子设备
WO2020032541A1 (en) * 2018-08-08 2020-02-13 Samsung Electronics Co., Ltd. Method for processing incoming call and electronic device for supporting the same
CN110191442A (zh) * 2019-04-18 2019-08-30 华为技术有限公司 一种蓝牙连接方法、设备及系统
CN111818503A (zh) * 2020-09-08 2020-10-23 深圳市汇顶科技股份有限公司 语音通话方法、系统、芯片、电子设备及存储介质

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115022766A (zh) * 2022-07-21 2022-09-06 荣耀终端有限公司 音频数据播放方法及设备

Also Published As

Publication number Publication date
CN114554012B (zh) 2023-09-12
CN114554012A (zh) 2022-05-27

Similar Documents

Publication Publication Date Title
EP3934292B1 (en) Bluetooth connection method, device and system
CN112789867B (zh) 一种蓝牙连接方法及设备
CN110138937B (zh) 一种通话方法、设备及系统
WO2020249062A1 (zh) 一种语音通信方法及相关装置
WO2020133183A1 (zh) 音频数据的同步方法及设备
WO2020062344A1 (zh) 一种数据传输方法及电子设备
WO2022100610A1 (zh) 投屏方法、装置、电子设备及计算机可读存储介质
WO2022033320A1 (zh) 蓝牙通信方法、终端设备及计算机可读存储介质
WO2021043219A1 (zh) 一种蓝牙回连方法及相关装置
US20230059427A1 (en) Bluetooth Communication Method and Apparatus
WO2021031865A1 (zh) 通话方法及装置
WO2022116930A1 (zh) 内容共享方法、电子设备及存储介质
EP4106238A1 (en) Wireless communication system and method
CN111835907A (zh) 一种跨电子设备转接服务的方法、设备以及系统
WO2020118641A1 (zh) 一种麦克风mic切换方法及设备
WO2022262492A1 (zh) 数据下载方法、装置和终端设备
WO2022257563A1 (zh) 一种音量调节的方法,电子设备和系统
WO2022105674A1 (zh) 来电接听方法、电子设备及存储介质
CN113132959B (zh) 无线音频系统、无线通讯方法及设备
WO2022135144A1 (zh) 自适应显示方法、电子设备及存储介质
EP4287681A1 (en) Stereo networking method and system, and related apparatus
WO2022152167A1 (zh) 一种网络选择方法及设备
WO2022095752A1 (zh) 帧解复用方法、电子设备及存储介质
CN115525366A (zh) 一种投屏方法及相关装置
WO2024055881A1 (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: 21893821

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21893821

Country of ref document: EP

Kind code of ref document: A1