[go: up one dir, main page]

WO2019090726A1 - 选择蓝牙设备的方法、终端和系统 - Google Patents

选择蓝牙设备的方法、终端和系统 Download PDF

Info

Publication number
WO2019090726A1
WO2019090726A1 PCT/CN2017/110550 CN2017110550W WO2019090726A1 WO 2019090726 A1 WO2019090726 A1 WO 2019090726A1 CN 2017110550 W CN2017110550 W CN 2017110550W WO 2019090726 A1 WO2019090726 A1 WO 2019090726A1
Authority
WO
WIPO (PCT)
Prior art keywords
bluetooth
terminal
bluetooth device
power
devices
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/CN2017/110550
Other languages
English (en)
French (fr)
Inventor
魏治宇
徐辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201780081854.9A priority Critical patent/CN110168942B/zh
Priority to PCT/CN2017/110550 priority patent/WO2019090726A1/zh
Priority to CN202110535662.9A priority patent/CN113422864A/zh
Publication of WO2019090726A1 publication Critical patent/WO2019090726A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

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/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/40Near-field transmission systems, e.g. inductive or capacitive transmission systems characterised by components specially adapted for near-field transmission
    • H04B5/48Transceivers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities

Definitions

  • the present application relates to the field of Bluetooth technology, and in particular, to a method, a terminal, and a system for selecting a Bluetooth device.
  • some terminals support simultaneous connection of multiple Bluetooth devices.
  • the terminal When performing voice calls or playing music, the terminal must select one of the Bluetooth devices according to certain policies. For example, the terminal is connected to a Bluetooth headset and a car Bluetooth stereo at the same time. The user opens the music player on the terminal to play music, and the terminal needs to select whether to use the Bluetooth headset or use the car Bluetooth stereo to play music.
  • the terminal usually selects to use the last connected Bluetooth device, or once it is determined to use a certain Bluetooth device, the user will not change the use of other Bluetooth devices unless the user actively modifies.
  • the above unreasonable selection strategy may cause inconvenience in use.
  • the terminal determines to use the car Bluetooth stereo to play music. When a call comes in, if the car Bluetooth audio player continues to play the call content, the user's privacy will be brought. influences.
  • the embodiment of the present invention provides a method, a terminal, and a system for selecting a Bluetooth device, which are used to solve the inconvenience caused by the unreasonable selection of the Bluetooth device by the terminal.
  • a method for selecting a Bluetooth device comprising: the terminal is connected to at least two Bluetooth devices; the terminal acquires power and device information of at least two Bluetooth devices connected to the terminal; and the terminal detects the currently triggered event The terminal determines the first Bluetooth device from the at least two Bluetooth devices according to the type of the event, the power of the at least two Bluetooth devices, and the device information; and the terminal performs the service corresponding to the event based on the first Bluetooth device.
  • the terminal selects at least one Bluetooth device from at least two Bluetooth devices to perform services according to the type of the event to be triggered, the power of the Bluetooth device, and the device information, and when the Bluetooth device is selected, Taking into account the impact of different trigger events and the power of the Bluetooth device, the inconvenience caused by the unreasonable selection of the Bluetooth device by the terminal is solved.
  • the determining, by the terminal, the first Bluetooth device from the at least two Bluetooth devices according to the type of the event, the power of the at least two Bluetooth devices, and the device information may include: if the at least two Bluetooth devices are If more than one Bluetooth device power is greater than or equal to a threshold and supports the required specifications of the type, the terminal determines, from the more than one Bluetooth device, that the highest priority Bluetooth device is the first Bluetooth device; if the at least two Bluetooth devices are The Bluetooth device that supports the specifications required by the service does not have a power greater than or equal to a threshold, and the terminal determines that the Bluetooth device with the highest power is the first Bluetooth device from the Bluetooth devices that support the specifications required by the service.
  • This embodiment provides a specific way of determining the first Bluetooth device.
  • the terminal further acquires setting information of the user; the terminal determines the first Bluetooth device from the at least two Bluetooth devices according to the type of the event, the power of the at least two Bluetooth devices, and the device information, including: the terminal The first Bluetooth device is determined from the at least two Bluetooth devices according to the type of the event, the power of the at least two Bluetooth devices, the device information, and the setting information of the user.
  • This embodiment provides that the first Bluetooth device can be further determined based on the setting information of the user.
  • the terminal determines the first Bluetooth device from the at least two Bluetooth devices according to the type of the event, the power of the at least two Bluetooth devices, the device information, and the setting information of the user, and may include: if yes a Bluetooth device that sets the user's setting information, and the Bluetooth device corresponding to the user's setting information is used as the first Bluetooth device; if more than one of the at least two Bluetooth devices is greater than or equal to the threshold and supports the type required a Bluetooth device that has a specification and has no setting information of the user, and the terminal determines that the highest priority Bluetooth device is the first Bluetooth device from the more than one Bluetooth device; if the at least two Bluetooth devices support the service The power of the Bluetooth device in the specification is not greater than or equal to the threshold, and the terminal determines that the Bluetooth device with the highest power is the first Bluetooth device from the Bluetooth devices that support the specifications required by the service.
  • This embodiment provides another specific way of determining the first Bluetooth device.
  • the method further includes: the terminal acquiring the power of the first Bluetooth device; if the power of the first Bluetooth device is less than the threshold, the terminal prompts the user and / or the terminal switches to the second Bluetooth device for service; wherein the second Bluetooth device is a Bluetooth device currently connected to the terminal.
  • This embodiment enables switching to other Bluetooth devices when the Bluetooth device performing the service is low.
  • the device information includes a type of the device, a parameter, and a Bluetooth specification supported by the device. This embodiment provides specific content of the device information.
  • the method before the terminal performs the service corresponding to the event based on the first Bluetooth device, the method further includes: the terminal displaying the candidate Bluetooth device and the recommended first Bluetooth device on the display interface; the terminal receiving the user Select and use the Bluetooth device selected by the user as the first Bluetooth device.
  • This embodiment can be selected by the user as a Bluetooth device.
  • the method further includes: the terminal displaying the power of the at least two Bluetooth devices on the display interface.
  • This embodiment can visually display the power of the Bluetooth device.
  • the method further includes: displaying, by the terminal, device information of the connected at least two Bluetooth devices on the display interface.
  • This embodiment can visually display the device information of the Bluetooth device.
  • the service corresponding to the event is a voice call service or an audio play service.
  • This embodiment provides specific content of the service corresponding to the event.
  • the second aspect provides a terminal, where the terminal includes: a Bluetooth unit, configured to connect with at least two Bluetooth devices; and an acquiring unit, configured to acquire power and device information of at least two Bluetooth devices connected to the terminal; And the determining unit is configured to determine, according to the type of the event, the power of the at least two Bluetooth devices, and the device information, the first Bluetooth device from the at least two Bluetooth devices; the Bluetooth unit is further configured to be based on The first Bluetooth device performs a service corresponding to the event. Based on the same inventive concept, the principles and benefits of the terminal can be solved. For the implementation of the terminal and the beneficial effects of the first aspect and the first aspect, the implementation of the terminal can be referred to the first The aspects and implementations of the various possible methods of the first aspect are not repeated here.
  • a terminal comprising: a storage module, a processing module, a communication module, and a touch Controlling the display module, each module is for supporting the terminal to perform various possible method embodiments as in the first aspect and the first aspect.
  • a terminal comprising: one or more processors, a memory, a bus system, and one or more programs, the processor and the memory being connected by a bus system; wherein one or more programs are stored In the memory, the one or more programs include instructions that, when executed by the terminal, cause the terminal to perform various possible method embodiments as in the first aspect and the first aspect.
  • a computer readable storage medium storing one or more programs, the one or more programs comprising instructions that, when executed by the terminal, cause the terminal to perform various possibilities as in the first aspect and the first aspect Method implementation.
  • a graphical user interface (GUI) is provided, the graphical user interface being stored in an electronic device, the electronic device comprising a touch screen, a memory, one or more processors, and the one or more processors for performing storage
  • the graphical user interface includes: a first GUI displayed on the touch screen, the first GUI includes an interface of the application and a prompt of the message; and the second display is displayed on the touch screen in response to the user input GUI, the second GUI includes an interface of the application.
  • an electronic device in a seventh aspect, comprises various possible method embodiments performing the first aspect and the first aspect.
  • a computer program product comprising instructions, wherein when the computer program product is run on an electronic device, the electronic device is caused to perform various possible method embodiments as in the first aspect and the first aspect.
  • FIG. 1 is a schematic diagram of the appearance of a terminal according to an embodiment of the present application.
  • FIG. 2 is a schematic structural diagram 1 of a terminal according to an embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of a communication system according to an embodiment of the present application.
  • FIG. 4 is a schematic flowchart 1 of a method for selecting a Bluetooth device according to an embodiment of the present application
  • FIG. 5 is a schematic flowchart 2 of a method for selecting a Bluetooth device according to an embodiment of the present disclosure
  • FIG. 6 is a schematic diagram 1 of an application scenario according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic flowchart 3 of a method for selecting a Bluetooth device according to an embodiment of the present disclosure
  • FIG. 8 is a schematic diagram 1 of a power display of a Bluetooth device according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic flowchart 4 of a method for selecting a Bluetooth device according to an embodiment of the present disclosure.
  • FIG. 10 is a second schematic diagram of a power display of a Bluetooth device according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic diagram 3 of a power display of a Bluetooth device according to an embodiment of the present disclosure.
  • FIG. 12 is a schematic flowchart 5 of a method for selecting a Bluetooth device according to an embodiment of the present disclosure
  • FIG. 13 is a schematic diagram of a message reminder according to an embodiment of the present application.
  • FIG. 14 is a schematic diagram 2 of an application scenario according to an embodiment of the present disclosure.
  • FIG. 15 is a schematic flowchart 6 of a method for selecting a Bluetooth device according to an embodiment of the present disclosure
  • FIG. 16 is a schematic diagram of prompt information according to an embodiment of the present application.
  • FIG. 17 is a schematic flowchart 7 of a method for selecting a Bluetooth device according to an embodiment of the present disclosure
  • FIG. 18 is a schematic structural diagram 2 of a terminal according to an embodiment of the present disclosure.
  • FIG. 19 is a schematic structural diagram 3 of a terminal according to an embodiment of the present disclosure.
  • FIG. 20 is a schematic structural diagram 4 of a terminal according to an embodiment of the present application.
  • the terminal in the embodiment of the present invention may be various devices configured with a display screen and a Bluetooth module.
  • the terminal may include a mobile phone, a wearable electronic device (such as a smart watch, etc.), a tablet computer, a laptop computer, and a virtual reality.
  • the device, the augmented reality device, and the like, the embodiment of the present application does not specifically limit the specific form of the terminal.
  • the following embodiments use a mobile phone as an example to illustrate how the terminal implements a specific technical solution in the embodiment.
  • the terminal in the embodiment of the present invention may be the mobile phone 200.
  • 1 is a front view of a mobile phone 200
  • FIG. 2 is a schematic diagram of a hardware structure of the mobile phone 200. The embodiment will be specifically described below by taking the mobile phone 200 as an example.
  • the illustrated mobile phone 200 is merely an example of a terminal, and that the mobile phone 200 may have more or fewer components than those shown in the figures, two or more components may be combined, or may have Different parts.
  • the mobile phone 200 may include a radio frequency (RF) circuit 210, a memory 220, an input unit 230, a display unit 240, a sensor 250, an audio circuit 260, and a wireless fidelity (WiFi) module 270.
  • RF radio frequency
  • the structure of the handset shown in FIG. 2 does not constitute a limitation to the handset, and may include more or less components than those illustrated, or some components may be combined, or different component arrangements.
  • the components of the mobile phone 200 will be specifically described below with reference to FIG. 2:
  • the RF circuit 210 can be used for receiving and transmitting signals during the transmission and reception of information or a call.
  • the downlink information of the base station can be received and processed by the processor 280.
  • the data related to the uplink is sent to the base station.
  • RF circuitry includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • RF circuitry 210 can also communicate with the network and other mobile devices via wireless communication.
  • the wireless communication can use any communication standard or protocol, including but not limited to global mobile communication systems, general packet radio services, code division multiple access, wideband code division multiple access, long term evolution, email, short message service, and the like.
  • the memory 220 can be used to store software programs and data.
  • the processor 280 performs various functions and data processing of the handset 200 by running software programs and/or data stored in the memory 220.
  • the memory 220 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the mobile phone 200 (such as audio data, phone book, etc.) and the like.
  • memory 220 can include high speed random access memory, and can 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 memory 220 stores an operating system that enables the mobile phone 200 to operate, such as developed by Apple. Operating system, developed by Google Inc. Open source operating system, developed by Microsoft Corporation Operating system, etc.
  • An input unit 230 such as a touch screen, can be used to receive input numeric or character information, as well as to generate signal inputs related to user settings and function control of the handset 200.
  • the input unit 230 may include FIG. 1
  • the touch panel 231 disposed on the front of the mobile phone 200 can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 231 or on the touch panel.
  • the operation near 231), and the corresponding connecting device is driven according to a preset program.
  • the display unit 240 (ie, the display screen) can be used to display information input by the user or information provided to the user and a graphical user interface (GUI) of various menus of the mobile phone 200.
  • the display unit 240 may include a display panel 241 disposed on the front side of the mobile phone 200.
  • the display panel 241 can be configured in the form of a liquid crystal display, a light emitting diode, or the like. Display unit 240 can be used to display the various interfaces described in this application.
  • the mobile phone 200 may be provided with a touch panel 231 and a display panel 241 on the front side, and the touch panel 231 is overlaid on the display panel 241 .
  • the touch panel 231 detects a touch operation on or near it, it is transmitted to the processor 280 to determine a touch event, and then the processor 280 provides a corresponding visual output on the display panel 241 according to the type of the touch event.
  • the touch panel 231 and the display panel 241 are two independent components to implement the input and input functions of the mobile phone 200, in some embodiments, the touch panel 231 can be integrated with the display panel 241.
  • the integrated touch panel 231 and the display panel 241 may be referred to as a touch display screen.
  • the handset 200 can also include at least one type of sensor 250, such as a light sensor, motion sensor, and other sensors.
  • the mobile phone 200 can also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like, and details are not described herein.
  • the audio circuit 260, the speaker 261, and the microphone 262 can provide an audio interface between the user and the handset 200.
  • the audio circuit 260 can transmit the converted electrical data of the received audio data to the speaker 261, and convert it into a sound signal output by the speaker 261.
  • the microphone 262 converts the collected sound signal into an electrical signal, and the audio circuit 260 After receiving, it is converted into audio data, and then the audio data is output to the RF circuit 210 for transmission to, for example, another mobile phone, or the audio data is output to the memory 220 for further processing.
  • WiFi is a short-range wireless transmission technology
  • the mobile phone 200 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 270, which provides wireless broadband Internet access for users.
  • the processor 280 is a control center of the mobile phone 200, and connects various parts of the entire mobile phone by using various interfaces and lines, and executes the mobile phone 200 by running or executing a software program stored in the memory 220 and calling data stored in the memory 220. A variety of functions and processing data to monitor the phone as a whole.
  • the processor 280 can include one or more processing units; the processor 280 can also integrate an application processor and a baseband processor, wherein the application processor primarily processes an operating system, a user interface, an application, etc., a baseband The processor primarily handles wireless communications. It can be understood that the above baseband processor may not be integrated into the processor 280.
  • the Bluetooth module 281 is configured to perform information interaction with other Bluetooth devices having a Bluetooth module through a short-range communication protocol such as Bluetooth.
  • the mobile phone 200 can establish a Bluetooth connection through a Bluetooth module 281 and a wearable electronic device (such as a smart watch) that also has a Bluetooth module, thereby performing data interaction.
  • the Bluetooth module 281 can be paired with the at least two Bluetooth devices and remain connected.
  • the processor 280 of the terminal can control the Bluetooth module 281 to perform the method for selecting a Bluetooth device according to the embodiment of the present application.
  • a schematic diagram of a communication system according to an embodiment of the present application includes a terminal 200 and a Bluetooth device 300 having a Bluetooth module.
  • the Bluetooth device 300 may include a Bluetooth headset, a Bluetooth audio, a Bluetooth device, and the like.
  • the processor 280 of the terminal performs Bluetooth communication with the Bluetooth device 300 through the Bluetooth module 281, for example, acquiring power and device information of the Bluetooth device, and transmitting voice data, audio data, and the like with the Bluetooth device.
  • the Bluetooth specifications used for Bluetooth communication between the terminal and the Bluetooth device include: specifications for transmitting voice and specifications for transmitting audio.
  • the specifications for transmitting voice may include an Audio Free Profile (HFP), which controls the operation of the Bluetooth device to make a call, such as answering, hanging up, rejecting, dialing, and the like.
  • Specifications for transmitting audio may include Advanced Audio Distribution Profile (A2DP), which allows the transmission of stereo audio signals, which is better for Bluetooth headphones than HFP's mono. A scene where music is played, such as a Bluetooth sound.
  • HFP Audio Free Profile
  • A2DP Advanced Audio Distribution Profile
  • the handset 200 also includes a power source 290 (such as a battery) that supplies power to the various components.
  • the power supply can be logically coupled to the processor 280 through a power management system to manage functions such as charging, discharging, and power consumption through the power management system. It can be understood that in the following embodiments, the power source 290 can be used to power the display panel 241 and the touch panel 231.
  • An embodiment of the present application provides a method for selecting a Bluetooth device. After the terminal is successfully paired with at least two Bluetooth devices and is in a connected state, the terminal may obtain power and device information of the Bluetooth devices, and the terminal may be triggered according to a trigger event. The type, the power of the Bluetooth device, and the device information are used for the service using the Bluetooth device.
  • the method for selecting a Bluetooth device may include steps S101-S103:
  • the terminal is connected to at least two Bluetooth devices.
  • connection between the terminal and the at least two Bluetooth devices means that the terminal is successfully paired with at least two Bluetooth devices and is in a state of being kept connected.
  • the terminal as the master device may page the Bluetooth device as the slave device in a frequency hopping manner, and the Bluetooth device may scan the external page at a fixed interval after scanning the page of the terminal.
  • the terminal establishes an Asynchronous Connection-Leg Link (ACL) connection with the Bluetooth device.
  • ACL Asynchronous Connection-Leg Link
  • L2CAP Logical Link Control and Adaptation Protocol
  • SDP Service Discovery Protocol
  • the terminal will initiate an RFCOMM connection request to establish an RFCOMM connection, and then establish a connection between the terminal and the Bluetooth device.
  • RFCOMM Radio Frequency Communication
  • the terminal acquires power and device information of the at least two Bluetooth devices connected to the terminal.
  • the terminal may acquire device information of the Bluetooth device during the information interaction process with the Bluetooth device.
  • the device information of the Bluetooth device may include the type of the Bluetooth device, parameters, and Bluetooth specifications supported by the device. The device information is described in detail below.
  • the type of the Bluetooth device refers to the category to which the Bluetooth device belongs, which may belong to, for example, a mobile phone, a watch, a wristband, Headphones, stereo, car, etc.
  • the parameters of the Bluetooth device can include, for example, audio parameters (sampling rate, encoding format, etc.), single or binaural, stereo or mono.
  • the device type and parameters of the Bluetooth device are used to indicate the privacy level or the sound effect level of the Bluetooth device. Specifically, for different types of Bluetooth devices, the privacy level or the sound effect level can be distinguished according to the device type, for the same type of Bluetooth device. The privacy level or the sound effect level can be further distinguished according to the parameters.
  • the privacy level of the Bluetooth headset is higher than the privacy level of the car Bluetooth, and the sound level of the car Bluetooth is higher than that of the Bluetooth headset.
  • the audio level of the binaural is higher than that of the device.
  • the above privacy level is for transmitting voice, and the sound level is for transmitting audio.
  • the terminal can actively obtain the power of the Bluetooth device by sending a query command to the Bluetooth device, or the Bluetooth device can periodically report the power to the terminal through the AT command defined in the HFP specification.
  • the power of the Bluetooth device can be generated by the terminal at the time when any user event is triggered to meet the real-time performance.
  • the periodic report is used to refresh the power of a Bluetooth device at a fixed time interval.
  • Each Bluetooth device can report at different time points. And the reporting period can be the same or different.
  • a Bluetooth device that supports the A2DP specification can periodically report its own power to the terminal through the AT command defined in the HFP specification.
  • the Bluetooth device can still obtain the Bluetooth device through the HFP channel. Electricity.
  • the terminal detects the currently triggered event.
  • the terminal system can detect the currently triggered event, for example, through the underlying interface, or other means, detecting and determining that the terminal performs a voice call service; or, if the terminal starts or is in progress When the audio is played, the terminal can detect the terminal performing the audio playing service.
  • the terminal determines the first Bluetooth device from the at least two Bluetooth devices according to the type of the event, the power of the at least two Bluetooth devices, and the device information.
  • the type of the event refers to the type of the current event. For example, if the interface that the terminal detects the current event belongs to the voice call interface or the audio play interface, the type of the event belongs to the voice pass type or the audio play type, and the corresponding service is a voice call. Business or audio playback business. It is to be understood that the type of the event is determined by the interface of the current event. The description is not limited to the embodiment of the present invention.
  • the first Bluetooth device refers to a Bluetooth device through which the terminal performs voice call service or audio play service, which is not limited to one Bluetooth device and may refer to at least one Bluetooth device.
  • step S104 may include steps S1041-S1042:
  • the terminal determines, by the one of the more than one Bluetooth devices, the highest priority Bluetooth device as the first Bluetooth device.
  • the device information may include a type, a parameter, and a Bluetooth specification supported by the device, and a device type and a parameter of the Bluetooth device are used to indicate a privacy level or a sound effect level of the Bluetooth device.
  • the type of the event is a voice call service
  • the required specification is a specification for transmitting voice
  • the corresponding priority is a privacy level
  • the type of the event is an audio broadcast service
  • the required specification is A specification for transmitting audio
  • its corresponding priority is the sound effect level.
  • the threshold can be a percentage indicating the minimum amount of power used by the Bluetooth device, for example 50%. It should be noted that if there is only one Bluetooth device whose power is greater than or equal to the threshold and supports the specifications required by the service, there is no priority problem. Only this Bluetooth device can be selected.
  • the terminal determines the Bluetooth device with the highest power from the Bluetooth devices that support the specifications required by the service. For the first Bluetooth device.
  • the terminal performs a service corresponding to the event based on the first Bluetooth device.
  • the step is: after the terminal determines the first Bluetooth device, the terminal performs the voice call service or the audio play service corresponding to the event.
  • Steps S104 and S105 will be described below by way of example.
  • the user handheld terminal 200 connects the Bluetooth headset 602 via Bluetooth and plays music (ie, performs audio playback service), the user enters the car with the car Bluetooth 601 and turns on the car Bluetooth 601 power.
  • the car Bluetooth 601 is powered by a car battery or a car generator, it can theoretically assume that it is always full (equivalent to even if its power is always greater than the threshold during use), the Bluetooth headset is generally powered by the battery, during use. There will be a loss of power.
  • the power of the Bluetooth headset 602 is greater than the threshold, both the Bluetooth headset 602 and the in-vehicle Bluetooth 601 support the specification of the transmitted voice and the specifications of the transmitted audio.
  • the privacy level of the Bluetooth headset 602 is higher than the privacy level of the Bluetooth 601, and the sound level of the Bluetooth 601 is higher than that of the Bluetooth headset 602.
  • the terminal 200 is successfully paired with the car Bluetooth 601 and establishes a connection. At this time, the terminal 200 learns that the connected Bluetooth device changes, from the original connection only to the Bluetooth headset 602 to the simultaneous connection of the Bluetooth headset 602 and the car Bluetooth 601, and evaluates whether to reselect the Bluetooth device for the audio playback service. Specifically, the terminal 200 performs an audio playing service before connecting the in-vehicle Bluetooth 601, and determines that the audio playing service is still performed after the in-vehicle Bluetooth 601 is connected.
  • the terminal supports the specification of the transmission audio according to the Bluetooth earphone 602 and the car Bluetooth 601, and the power is greater than the threshold, and the car Bluetooth 601 with the highest priority (the audio effect level for the audio broadcasting service) is determined as the first Bluetooth.
  • the device and the audio playback service through the car Bluetooth 601.
  • the device that plays music switches from the Bluetooth headset 602 to the car Bluetooth 601, which can ensure that the data continues to be transmitted (for example, to ensure that the music continues to be played), and a better Bluetooth device is selected in combination with the special requirements of the data (the sound effect is better).
  • the terminal 200 again evaluates whether to reselect the Bluetooth device for the voice call service. Specifically, the terminal 200 determines that the voice call service will be performed and stops transmitting audio according to the incoming call and the outgoing call.
  • the terminal 200 supports the specification of the transmitted voice according to both the Bluetooth headset 602 and the in-vehicle Bluetooth 601 and the power is greater than the threshold, and the Bluetooth headset 602 having the higher priority (the priority is the privacy level for the voice call service) is determined as the first Bluetooth.
  • the device performs voice call service through the Bluetooth headset 602.
  • the terminal stops playing music through the car Bluetooth 601, and performs voice call service through the Bluetooth headset 602, which can ensure normal data transmission (for example, guarantee call), and selects a better Bluetooth device according to the special requirements of the data (privateness is more it is good).
  • the terminal when the specification for supporting voice transmission is HFP, and the terminal and the Bluetooth device are connected, if the terminal has a call incoming and outgoing, the terminal establishes a service level connection with the Bluetooth device first. The terminal initiates a Codec Connection Setup process, and finally the terminal establishes an audio connection with the Bluetooth device, and the terminal can perform a voice call service through the Bluetooth device.
  • the terminal 200 again evaluates whether to reselect the Bluetooth device for the voice call service. Specifically, the terminal 200 determines to perform a voice call service according to the user still holding the call. Although both the Bluetooth headset 602 and the car Bluetooth 601 support the specification of transmitting voice, if the call continues to be used with the Bluetooth headset 602, the call may be interrupted or the call effect may be affected. Therefore, the terminal supports the specification of the transmitted voice according to only the car Bluetooth 601 and the power is greater than the threshold.
  • the car Bluetooth 601 is determined as the first Bluetooth device, and the voice call service is performed through the car Bluetooth 601.
  • the terminal stops the voice call service through the Bluetooth headset 602, and performs the voice call service through the car Bluetooth 601, so that the data can be normally transmitted (for example, the call is guaranteed).
  • the user may also charge the Bluetooth headset 602 through the vehicle power source at the same time. If the terminal detects that the power of the Bluetooth headset 602 increases to be greater than the threshold, It is determined that the Bluetooth headset 602 is re-enabled as the first Bluetooth device and the call is switched back to the Bluetooth headset 602.
  • the terminal when the specification for supporting audio transmission is A2DP, and the terminal and the Bluetooth device are connected, if the terminal needs to perform audio playback service through the Bluetooth device, the terminal first establishes a streaming endpoint in the Bluetooth device through the flow endpoint discovery process. Then, the audio channel, sampling rate and other information of the stream endpoint are configured, and finally the stream is started, and the terminal can perform the audio playing service through the Bluetooth device.
  • the user's use of the Bluetooth device is facilitated, and the resources of different Bluetooth devices are fully utilized, so that the selection of the Bluetooth device is more intelligent and user-friendly. And effectively provide a plurality of connected Bluetooth device intelligent switching strategy, according to different user usage scenarios, using different logic strategies and priority algorithms to improve ease of use.
  • the terminal selects at least one Bluetooth device from at least two Bluetooth devices to perform services according to the type of the event to be triggered, the power of the Bluetooth device, and the device information, and when the Bluetooth device is selected, Taking into account the impact of different trigger events and the power of the Bluetooth device, the inconvenience caused by the unreasonable selection of the Bluetooth device by the terminal is solved.
  • the power of the Bluetooth device can be displayed on the display interface.
  • the foregoing method may further include step S201:
  • the terminal displays the power of the connected at least two Bluetooth devices on the display interface.
  • the power display mode of the selected Bluetooth device is different from the power display mode of the unselected Bluetooth device.
  • the terminal distinguishes which Bluetooth is being used by using different power display modes of the Bluetooth device. device. It effectively solves the problem of common display of power of different Bluetooth devices, so that users can more intuitively and clearly obtain the power of all connected Bluetooth devices.
  • the power of the Bluetooth device connected to the terminal may be displayed on the terminal status bar, for example, the Bluetooth icon 801 and the power of the Bluetooth device 1 may be displayed 802 .
  • the power of the Bluetooth device 2 is 803, and the power of the Bluetooth device 3 is 804. It can be seen from the figure that the display mode of the power consumption 802 of the Bluetooth device 1 and the power consumption 803 of the Bluetooth device 2 are the same, which is a solid power representation mode, and the Bluetooth device.
  • the display mode of the electric quantity 804 of 3 is different, and it is a hollow electric quantity representation manner.
  • the current Bluetooth device 1 and the Bluetooth device 2 are the first Bluetooth device described in the above steps, or the current Bluetooth device 3 is the first Bluetooth device described in the above steps.
  • other ways of expressing the power are also conceivable, for example, by different colors, dotted lines and solid lines, flickering and non-flashing, etc., and details are not described herein.
  • the device information of the Bluetooth device can also be displayed on the display interface.
  • the foregoing method may further include step S301:
  • the terminal displays device information of the connected at least two Bluetooth devices on the display interface.
  • the device information of the Bluetooth device connected to the terminal may also be displayed on the terminal status bar, and the displayed device information may be paired with the power. display.
  • the device type 805 of the Bluetooth device 1, the device type 806 of the Bluetooth device 2, and the device type 807 of the Bluetooth device 3 can be displayed. Compared with the power representation in FIG. 8, it is more convenient for the user to know the selected Bluetooth device.
  • the power and device information of the Bluetooth device can also be displayed in the Bluetooth submenu of the setup menu.
  • One way to open the Bluetooth submenu can be by clicking on the setup option, and the other way can be accessed by a Bluetooth icon 1101 similar to the drop down menu shown in Figure 11A.
  • FIG. 11B more detailed and clear information can be displayed in the Bluetooth submenu with respect to FIGS. 8 and 10, for example, the power of the Bluetooth device 1102, the device name 1103, the device type 1104, etc. can be displayed, and the same can be passed.
  • the different display modes of the battery 1102 distinguish between the selected Bluetooth device and the unselected Bluetooth device.
  • the first Bluetooth device During the continuous use of the first Bluetooth device, its power may be too low, and the user may be reminded that the currently used Bluetooth device is low in power and/or automatically switches to other Bluetooth devices.
  • the foregoing method may further include steps S401 and S402:
  • the terminal acquires a power quantity of the first Bluetooth device.
  • step S102 For the manner of obtaining the power of the Bluetooth device, refer to step S102, and details are not described herein.
  • the terminal If the power of the first Bluetooth device is less than the threshold, the terminal prompts the user and/or the terminal to switch to the second Bluetooth device to perform the foregoing service.
  • the terminal can automatically switch to the second Bluetooth device to perform a voice call service or an audio play service according to the determination manner described in step S104.
  • the second Bluetooth device is a Bluetooth device currently connected to the terminal, which may be a newly connected device. Bluetooth device.
  • the terminal may prompt a message reminder that “the current Bluetooth device is low” on the display interface.
  • the terminal refreshes the power of the at least two Bluetooth devices on the display screen, so that the power display mode of the selected Bluetooth device is different from the power display mode of the unselected Bluetooth device.
  • the terminal can not only automatically select the Bluetooth device, but also display the selectable Bluetooth device and the recommended Bluetooth device on the display interface, and the user can manually select the Bluetooth device. Moreover, the user selects the setting information of the Bluetooth device to have a higher priority. In the same scenario and the power of the Bluetooth device meets the normal use condition, the Bluetooth device is preferentially selected according to the setting information of the user. Exemplarily, referring to FIG. 14, it is assumed that the terminal 1401 located in the room A is connected to the Bluetooth audio 1402 and 1403 located in the room A and the Bluetooth audio 1404 located in the room B, and the Bluetooth audio 1402-1404 is the same type of Bluetooth audio.
  • the terminal 1401 When the terminal 1401 automatically selects, the three Bluetooth stereos may be selected at the same time, but for the user, it is not necessary to use the Bluetooth audio 1404 located in the room B, so the user can set the terminal 1401 to select only the Bluetooth audio 1402 and 1403 at this time. Even when the terminal 1401 is restarted, the terminal 1401 still selects only the Bluetooth sounds 1402 and 1403.
  • the foregoing method may further include steps S501-S502:
  • the terminal displays an alternate Bluetooth device and a recommended first Bluetooth device on the display interface.
  • the prompt information may be displayed within a certain time that the terminal has determined that the first Bluetooth device has not been switched, and the prompt information includes the recommended first Bluetooth device “My Car Bluetooth” and The alternative Bluetooth device "My Headset” is used to remind the user that if the user does not operate, the first Bluetooth device "My Car Bluetooth” will be selected for business.
  • the prompt information may include power and device information of all Bluetooth devices, so that the user can make a selection.
  • the terminal may also display the optional Bluetooth device and the recommended first Bluetooth device in the setting interface shown in FIG. 11B. The present application does not limit the display manner.
  • the terminal receives the user's selection, and uses the Bluetooth device selected by the user as the first Bluetooth device.
  • the user can click "My Headset” to select “My Headset” and click “My Car Bluetooth” to deselect “My” "Car Bluetooth", the terminal still uses "My Headset” as the first Bluetooth device, and the terminal does not switch music from the Bluetooth headset 602 to the car Bluetooth 601.
  • the step S104 may specifically include: the terminal may The first Bluetooth device is determined from the at least two Bluetooth devices according to the type of the event, the power of the at least two Bluetooth devices, the device information, and the setting information of the user. Specifically, referring to FIG. 17, before step S1041, step S104 may further include step S1043:
  • the Bluetooth corresponding to the setting information of the user acts as the first Bluetooth device.
  • the precondition of the step S1041 becomes: the Bluetooth device in which the power of more than one Bluetooth device is greater than or equal to the threshold and supports the specifications required by the type, and there is no setting information belonging to the user.
  • the application provides a terminal for performing the above method.
  • the embodiment of the present application may perform the division of the function module on the terminal device according to the foregoing method example.
  • each function module may be divided according to each function, or two or more functions may be integrated into one processing module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the present application is schematic, and is only a logical function division, and may be further divided in actual implementation.
  • FIG. 18 is a schematic diagram of a possible structure of a terminal involved in the foregoing embodiment, where the terminal 200 includes: a Bluetooth unit 2011, an obtaining unit 2012, a detecting unit 2013, The determining unit 2014, the display unit 2015, and the receiving unit 2016.
  • the terminal 200 includes: a Bluetooth unit 2011, an obtaining unit 2012, a detecting unit 2013, The determining unit 2014, the display unit 2015, and the receiving unit 2016.
  • Each of the above units is used to support the terminal to perform the related method in any of FIGS. 4, 5, 7, 9, 12, 15, and 17.
  • the terminal provided by the present application is used to perform the corresponding method provided above, and therefore, the corresponding features and the beneficial effects that can be achieved can be referred to the beneficial effects in the corresponding methods provided above, and details are not described herein again. .
  • the Bluetooth unit 2011 is used to support the terminal 200 to perform the processes S101, S105 in FIG. 4, the processes S101, S105 in FIG. 5, the processes S101, S105 in FIG. 7, and the processes S101, S105 in FIG. Process S101, S105, S402 in 12, processes S101, S105 in FIG. 15, processes S101, S105 in FIG. 17, and acquisition unit 2012 for supporting terminal 200 to execute process S102 in FIG. 4, process S102 in FIG. Process S102 in FIG. 7, process S102 in FIG. 9, process S102, S401 in FIG. 12, process S102 in FIG. 15, process S102 in FIG. 17, and detecting unit 2013 for supporting terminal 200 to execute FIG. Process S103, process S103 in FIG. 5, process S103 in FIG. 7, process S103 in FIG.
  • the support terminal 200 executes the process S104 in FIG. 4, the processes S1041, S1042 in FIG. 5, the process S104 in FIG. 7, the process S104 in FIG. 9, the process S104 in FIG. 12, and the processes S104, S502 in FIG. Process S1041-S1043 in FIG. 17; the display unit 2015 is used to support the terminal 200 to execute the process S201 in FIG. 7, FIG. S301, the process, in the process of FIG. 12, the process in FIG. 15 S402 S501; receiving means for supporting the terminal process 2016 in FIG. 15 200 executes S502. All the related content of the steps involved in the foregoing method embodiments may be referred to the functional descriptions of the corresponding functional modules, and details are not described herein again.
  • FIG. 19 shows a possible structural diagram of the terminal involved in the above embodiment.
  • the terminal 200 includes a storage module 2021, a processing module 2022, a communication module 2023, and a touch display module 2024.
  • Each of the above modules is used to support the terminal to perform the related method in any of FIGS. 4, 5, 7, 9, 12, 15, and 17.
  • the terminal provided by the present application is used to perform the corresponding method provided above, and therefore, the corresponding features and the beneficial effects that can be achieved can be referred to the beneficial effects in the corresponding methods provided above, and details are not described herein again. .
  • the processing module 2022 is configured to perform control management on the action of the terminal 200, for example, a processing module.
  • the function 2022 is used to support the terminal 200 to perform the functions of the above-described acquisition unit 2012, detection unit 2013, and determination unit 2014.
  • the communication module 2023 is configured to support the terminal 200 to perform the functions of the above-described Bluetooth unit 2011.
  • the touch display module 2024 is configured to support the terminal 200 to perform the functions of the display unit 2015 and the receiving unit 2016 described above.
  • the storage module 2021 is configured to store program codes and data of the terminal.
  • the processing module 2022 may be a processor or a controller, and may be, for example, a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), and an application-specific integrated circuit (Application-Specific). Integrated Circuit (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • the communication module 2023 can be a transceiver, a transceiver circuit, a Bluetooth, a network interface, or a communication interface.
  • the storage module 2021 can be a memory.
  • the processing module 2022 may be the processor 280 in FIG. 2, and the communication module 2023 may be the RF circuit 210, the Wi-Fi module 270, and the Bluetooth module 281 in FIG. 2.
  • the storage module 2021 may be the memory 220 in FIG.
  • the touch display module 2024 can be a touch display screen composed of the touch panel 231 and the display panel 241 in FIG. 2 .
  • the processing module 2022 is a processor
  • the communication module 2023 is a Bluetooth circuit
  • the storage module 2021 is a memory
  • the touch display module 2024 is a touch display screen
  • the terminal involved in the present application may be the terminal 200 shown in FIG.
  • the terminal 200 includes: one or more processors 2032, a Bluetooth circuit 2033, a memory 2031, a bus system 2034, a touch display 2035, and one or more programs.
  • the Bluetooth circuit 2033, the processor 2032, the memory 2031, and the touch display 2035 are connected to each other through a bus system 2034.
  • the bus system 2034 may be a peripheral component interconnection standard bus or an extended industry standard structure bus.
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in the figure, but it does not mean that there is only one bus or one type of bus.
  • the one or more programs are stored in the memory 2031, and the one or more programs include instructions that, when executed by the terminal, cause the terminal to perform FIGS. 4, 5, 7, 9, 12, 15 and The related method in any of the figures of FIG.
  • the present application also provides a computer storage medium storing one or more programs, the one or more programs including instructions that, when executed by the terminal, cause the terminal to perform FIGS. 4, 5, 7, 9, and 12.
  • the related method in any of Figures 15 and 17.
  • the application also provides a graphical user interface on a portable electronic device, the portable electronic device including a display, a memory, a plurality of applications, and one or more processors for executing one or more programs stored in the memory
  • the graphical user interface includes a user interface displayed by a related method in any of FIGS. 4, 5, 7, 9, 12, 15, and 17, wherein the display includes a touch surface and Display.
  • the application also provides a graphical user interface stored in an electronic device, the electronic device comprising a touch screen, a memory, one or more processors, and the one or more processors for executing one stored in the memory Or a plurality of computer programs
  • the graphical user interface includes: a first GUI displayed on the touch screen, the first GUI includes an interface of the application and a prompt of the message; and the second GUI is displayed on the touch screen in response to the input of the user
  • the second GUI includes an interface of the application.
  • the present application also provides an electronic device including means for performing the related methods of any of Figures 4, 5, 7, 9, 12, 15, and 17.
  • the present application also provides a computer program product comprising instructions that, when executed on an electronic device, cause the electronic device to perform FIGS. 4, 5, 7, 9, 12, 15, and 17. A related method in any of the figures.
  • the terminal, the electronic device, the graphical user interface, the computer storage medium or the computer program product provided by the application are all used to perform the corresponding methods provided above, and therefore, the beneficial effects that can be achieved can be referred to the above.
  • the beneficial effects in the corresponding methods are not described here.
  • the size of the sequence numbers of the foregoing processes does not mean the order of execution sequence, and the order of execution of each process should be determined by its function and internal logic, and should not be applied to the embodiment of the present application.
  • the implementation process constitutes any limitation.
  • the disclosed systems, devices, and methods may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical, mechanical or otherwise.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above embodiments it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • a software program it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • the computer program instructions When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center To another website, computer, server, or data via wired (eg, coaxial cable, fiber, Digital Subscriber Line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.) Heart is transmitted.
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device that includes one or more servers, data centers, etc. that can be integrated with the media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a Solid State Disk (SSD)) or the like.
  • a magnetic medium eg, a floppy disk, a hard disk, a magnetic tape
  • an optical medium eg, a DVD
  • a semiconductor medium such as a Solid State Disk (SSD)

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

本申请公开了一种选择蓝牙设备的方法、终端和系统,涉及蓝牙技术领域,用于解决终端选择蓝牙设备不合理所带来的使用上的不便。该方法包括:终端与至少两个蓝牙设备连接;所述终端获取与所述终端连接的所述至少两个蓝牙设备的电量和设备信息;所述终端检测当前触发的事件;所述终端根据所述事件的类型、所述至少两个蓝牙设备的电量和所述设备信息,从所述至少两个蓝牙设备中确定第一蓝牙设备;所述终端基于所述第一蓝牙设备进行所述事件对应的业务。本申请实施例应用于终端与至少两个蓝牙设备通信。

Description

选择蓝牙设备的方法、终端和系统 技术领域
本申请涉及蓝牙技术领域,尤其涉及一种选择蓝牙设备的方法、终端和系统。
背景技术
随着越来越多设备支持蓝牙通信方式,部分终端支持同时连接多个蓝牙设备,在进行语音通话或播放音乐等活动时,终端必须根据一定策略来选择使用其中的某个蓝牙设备。例如,终端同时连接了蓝牙耳机和车载蓝牙音响,用户打开终端上的音乐播放器来播放音乐,终端需要选择使用蓝牙耳机还是使用车载蓝牙音响来播放音乐。
现有技术中,终端通常选择使用最后连接的蓝牙设备,或者,一旦确定使用某个蓝牙设备,除了用户主动修改,后续不会再改变使用其他蓝牙设备。上述不合理的选择策略会产生使用上的不便,例如,终端确定使用车载蓝牙音响来播放音乐,当有电话呼入时,如果继续使用车载蓝牙音响播放通话内容,则会给用户的隐私带来影响。
发明内容
本申请实施例提供一种选择蓝牙设备的方法、终端和系统,用于解决终端选择蓝牙设备不合理所带来的使用上的不便。
为达到上述目的,本申请的实施例采用如下技术方案:
第一方面,提供了一种选择蓝牙设备的方法,该方法包括:终端与至少两个蓝牙设备连接;终端获取与终端连接的至少两个蓝牙设备的电量和设备信息;终端检测当前触发的事件;终端根据事件的类型、至少两个蓝牙设备的电量和设备信息,从至少两个蓝牙设备中确定第一蓝牙设备;终端基于第一蓝牙设备进行事件对应的业务。本申请实施例提供的选择蓝牙设备的方法,终端根据待触发事件的类型、蓝牙设备电量和设备信息等,从至少两个蓝牙设备中选择至少一个蓝牙设备来进行业务,在选择蓝牙设备时,考虑到了不同触发事件、蓝牙设备的电量的影响,解决了终端选择蓝牙设备不合理所带来的使用上的不便。
在一种可能的实施方式中,终端根据事件的类型、至少两个蓝牙设备的电量和设备信息,从至少两个蓝牙设备中确定第一蓝牙设备,可以包括:如果上述至少两个蓝牙设备中,多于一个蓝牙设备电量大于等于阈值并且支持所述类型所要求的规格,则终端从所述多于一个蓝牙设备中确定优先级最高蓝牙设备为第一蓝牙设备;如果上述至少两个蓝牙设备中,支持所述业务所要求的规格的蓝牙设备中没有电量大于等于阈值,则终端从支持所述业务所要求的规格的蓝牙设备中确定电量最高的蓝牙设备为第一蓝牙设备。该实施方式提供了确定第一蓝牙设备的一种具体方式。
在一种可能的实施方式中,终端还获取用户的设置信息;终端根据事件的类型、至少两个蓝牙设备的电量和设备信息,从至少两个蓝牙设备中确定第一蓝牙设备,包括:终端根据事件的类型、至少两个蓝牙设备的电量、设备信息和用户的设置信息,从至少两个蓝牙设备中确定第一蓝牙设备。该实施方式提供了还可以进一步根据用户的设置信息来确定第一蓝牙设备。
在一种可能的实施方式中,终端根据事件的类型、至少两个蓝牙设备的电量、设备信息和用户的设置信息,从至少两个蓝牙设备中确定第一蓝牙设备,可以包括:如果有属于用户的设置信息的蓝牙设备,则将用户的设置信息对应的蓝牙设备作为第一蓝牙设备;如果上述至少两个蓝牙设备中,多于一个蓝牙设备电量大于等于阈值并且支持所述类型所要求的规格,并且无属于用户的设置信息的蓝牙设备,则终端从上述多于一个蓝牙设备中确定优先级最高蓝牙设备为第一蓝牙设备;如果上述至少两个蓝牙设备中,支持所述业务所要求的规格的蓝牙设备中没有电量大于等于阈值,则终端从支持所述业务所要求的规格的蓝牙设备中确定电量最高的蓝牙设备为第一蓝牙设备。该实施方式提供了确定第一蓝牙设备的另一种具体方式。
在一种可能的实施方式中,在终端基于第一蓝牙设备进行事件对应的业务之后,方法还包括:终端获取第一蓝牙设备的电量;若第一蓝牙设备的电量小于阈值,终端提醒用户和/或终端切换到第二蓝牙设备上进行业务;其中第二蓝牙设备为当前与终端连接的蓝牙设备。该实施方式使得进行业务的蓝牙设备电量低时可以切换到其他蓝牙设备。
在一种可能的实施方式中,设备信息包括设备的类型、参数和设备支持的蓝牙规格。该实施方式提供了设备信息的具体内容。
在一种可能的实施方式中,在终端基于第一蓝牙设备进行事件对应的业务之前,方法还包括:终端在显示界面上显示备选的蓝牙设备和推荐的第一蓝牙设备;终端接收用户的选择,并将用户选择的蓝牙设备作为第一蓝牙设备。该实施方式可以由用户选择蓝牙设备。
在一种可能的实施方式中,在终端与至少两个蓝牙设备连接之后,该方法还包括:终端在显示界面显示至少两个蓝牙设备的电量。该实施方式可以直观显示蓝牙设备的电量。
在一种可能的实施方式中,在终端与至少两个蓝牙设备连接之后,该方法还包括:终端在显示界面上显示所连接的至少两个蓝牙设备的设备信息。该实施方式可以直观显示蓝牙设备的设备信息。
在一种可能的实施方式中,事件对应的业务为语音通话业务或音频播放业务。该实施方式提供了事件对应的业务的具体内容。
第二方面,提供了一种终端,该终端包括:蓝牙单元,用于与至少两个蓝牙设备连接;获取单元,用于获取与终端连接的至少两个蓝牙设备的电量和设备信息;检测单元,用于检测当前触发的事件;确定单元,用于根据事件的类型、至少两个蓝牙设备的电量和设备信息,从至少两个蓝牙设备中确定第一蓝牙设备;蓝牙单元,还用于基于第一蓝牙设备进行事件对应的业务。基于同一发明构思,由于该终端解决问题的原理以及有益效果可以参见上述第一方面和第一方面的各可能的方法实施方式以及所带来的有益效果,因此该终端的实施可以参见上述第一方面和第一方面的各可能的方法的实施方式,重复之处不再赘述。
第三方面,提供了一种终端,该终端包括:存储模块、处理模块、通信模块和触 控显示模块,各模块用于支持终端执行如第一方面和第一方面的各可能的方法实施方式。
第四方面,提供了一种终端,该终端包括:一个或多个处理器、存储器、总线系统、以及一个或多个程序,处理器和存储器通过总线系统相连;其中一个或多个程序被存储在存储器中,一个或多个程序包括指令,指令当被终端执行时使终端执行如第一方面和第一方面的各可能的方法实施方式。
第五方面,提供了一种存储一个或多个程序的计算机可读存储介质,一个或多个程序包括指令,指令当被终端执行时使终端执行如第一方面和第一方面的各可能的方法实施方式。
第六方面,提供了一种图形用户界面(GUI),该图形用户界面存储在电子设备中,该电子设备包括触摸屏、存储器、一个或多个处理器,上述一个或多个处理器用于执行存储在存储器中的一个或多个计算机程序,上述图形用户界面包括:显示在触摸屏上的第一GUI,第一GUI包括应用的界面和消息的提示;响应于用户的输入,在触摸屏上显示第二GUI,第二GUI包括应用的界面。
第七方面,提供了一种电子设备,其特征在于,电子设备包括执行如第一方面和第一方面的各可能的方法实施方式。
第八方面,提供了一种包含指令的计算机程序产品,其特征在于,当计算机程序产品在电子设备上运行时,使得电子设备执行如第一方面和第一方面的各可能的方法实施方式。
第三方面至第八方面的技术效果可以参照第一方面所述内容。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍。
图1为本申请实施例提供的一种终端的外观示意图;
图2为本申请实施例提供的一种终端的结构示意图一;
图3为本申请实施例提供的一种通信系统的结构示意图;
图4为本申请实施例提供的一种选择蓝牙设备的方法的流程示意图一;
图5为本申请实施例提供的一种选择蓝牙设备的方法的流程示意图二;
图6为本申请实施例提供的一种应用场景的示意图一;
图7为本申请实施例提供的一种选择蓝牙设备的方法的流程示意图三;
图8为本申请实施例提供的一种蓝牙设备电量显示的示意图一;
图9为本申请实施例提供的一种选择蓝牙设备的方法的流程示意图四;
图10为本申请实施例提供的一种蓝牙设备电量显示的示意图二;
图11为本申请实施例提供的一种蓝牙设备电量显示的示意图三;
图12为本申请实施例提供的一种选择蓝牙设备的方法的流程示意图五;
图13为本申请实施例提供的一种消息提醒的示意图;
图14为本申请实施例提供的一种应用场景的示意图二;
图15为本申请实施例提供的一种选择蓝牙设备的方法的流程示意图六;
图16为本申请实施例提供的一种提示信息的示意图;
图17为本申请实施例提供的一种选择蓝牙设备的方法的流程示意图七;
图18为本申请实施例提供的一种终端的结构示意图二;
图19为本申请实施例提供的一种终端的结构示意图三;
图20为本申请实施例提供的一种终端的结构示意图四。
具体实施方式
本发明实施例中的终端可以为配置有显示屏和蓝牙模块的各种设备,例如,该终端可以包括手机、可穿戴电子设备(例如智能手表等)、平板电脑、笔记本电脑车载电脑、虚拟现实装置、增强现实装置等,本申请实施例对终端的具体形式不做特殊限制。
示例性的,以下实施例以手机作为例子来说明终端如何实现实施例中的具体技术方案。如图1或图2所示,本发明实施例中的终端可以为手机200。图1为手机200的正面示意图,图2为手机200的硬件结构示意图。下面以手机200为例对实施例进行具体说明。
应该理解的是,图示手机200仅仅是终端的一个范例,并且手机200可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件。
如图2所示,手机200可以包括:射频(Radio Frequency,RF)电路210、存储器220、输入单元230、显示单元240、传感器250、音频电路260、无线保真(Wireless Fidelity,WiFi)模块270、处理器280、蓝牙模块281、SIM卡模块282、以及电源290等部件。本领域技术人员可以理解,图2中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
下面结合图2对手机200的各个构成部件进行具体的介绍:
RF电路210可用于在收发信息或通话过程中,信号的接收和发送,可以将基站的下行信息接收后,给处理器280处理;另外,将涉及上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等器件。此外,RF电路210还可以通过无线通信与网络和其他移动设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统、通用分组无线服务、码分多址、宽带码分多址、长期演进、电子邮件、短消息服务等。
存储器220可用于存储软件程序及数据。处理器280通过运行存储在存储器220的软件程序和/或数据,从而执行手机200的各种功能以及数据处理。存储器220可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机200的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器220可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。在以下实施例中,存储器220存储有使得手机200能运行的操作系统,例如苹果公司所开发的
Figure PCTCN2017110550-appb-000001
操作系统,谷歌公司所开发的
Figure PCTCN2017110550-appb-000002
开源操作系统,微软公司所开发的
Figure PCTCN2017110550-appb-000003
操作系统等。
输入单元230(如触摸屏)可用于接收输入的数字或字符信息,以及产生与手机200的用户设置以及功能控制有关的信号输入。具体地,输入单元230可以包括如图1 所示设置在手机200正面的触控面板231,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板231上或在触控面板231附近的操作),并根据预先设定的程序驱动相应的连接装置。
显示单元240(即显示屏)可用于显示由用户输入的信息或提供给用户的信息以及手机200的各种菜单的图形用户界面(Graphical User Interface,GUI)。显示单元240可包括设置在手机200正面的显示面板241。其中,显示面板241可以采用液晶显示器、发光二极管等形式来配置。显示单元240可以用于显示本申请中所述的各种界面。
如图1所示,在一些实施例中,手机200在正面可以设置有触控面板231和显示面板241,触控面板231覆盖在显示面板241之上。当触控面板231检测到在其上或附近的触摸操作后,传送给处理器280以确定触摸事件,随后处理器280根据触摸事件的类型在显示面板241上提供相应的视觉输出。虽然在图2中,触控面板231与显示面板241是作为两个独立的部件来实现手机200的输入和输入功能,但是在某些实施例中,可以将触控面板231与显示面板241集成而实现手机200的输入和输出功能,集成后的触控面板231与显示面板241可以简称为触控显示屏。
手机200还可以包括至少一种传感器250,比如光传感器、运动传感器以及其他传感器。手机200还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,具体不再赘述。
音频电路260、扬声器261、麦克风262可提供用户与手机200之间的音频接口。音频电路260可将接收到的音频数据转换后的电信号,传输到扬声器261,由扬声器261转换为声音信号输出;另一方面,麦克风262将收集的声音信号转换为电信号,由音频电路260接收后转换为音频数据,再将音频数据输出至RF电路210以发送给比如另一手机,或者将音频数据输出至存储器220以便进一步处理。
WiFi属于短距离无线传输技术,手机200可以通过WiFi模块270帮助用户收发电子邮件、浏览网页和访问流媒体等,它为用户提供了无线的宽带互联网访问。
处理器280是手机200的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器220内的软件程序,以及调用存储在存储器220内的数据,执行手机200的各种功能和处理数据,从而对手机进行整体监控。在一些实施例中,处理器280可包括一个或多个处理单元;处理器280还可以集成应用处理器和基带处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,基带处理器主要处理无线通信。可以理解的是,上述基带处理器也可以不集成到处理器280中。
蓝牙模块281,用于通过蓝牙这种短距离通讯协议来与其他具有蓝牙模块的蓝牙设备进行信息交互。例如,手机200可以通过蓝牙模块281与同样具备蓝牙模块的可穿戴电子设备(例如智能手表)建立蓝牙连接,从而进行数据交互。在本申请实施例中,蓝牙模块281可以与至少两个蓝牙设备配对并保持连接,终端的处理器280可以控制蓝牙模块281执行本申请实施例所述的选择蓝牙设备的方法。参照图3中所示,为本申请实施例所述的通信系统的示意图,包括终端200和具有蓝牙模块的蓝牙设备300,蓝牙设备300可以包括蓝牙耳机、蓝牙音响、车载蓝牙等设备。在本申请实施例 中,终端的处理器280通过蓝牙模块281与蓝牙设备300进行蓝牙通信,例如获取蓝牙设备的电量和设备信息,与蓝牙设备之间传输语音数据、音频数据等。
终端与蓝牙设备之间进行蓝牙通信所采用的蓝牙规格包括:用于传输语音的规格和用于传输音频的规格。用于传输语音的规格可以包括音频免提协议规格(Hand Free Profile,HFP),该规格可以控制蓝牙设备接打电话的操作,例如接听、挂断、拒接、拨号等。用于传输音频的规格可以包括高级音频传送规格(Advanced Audio Distribution Profile,A2DP),该规格允许传输立体声音频信号,相比于HFP的单声道,其传输质量更好,因此常用于蓝牙耳机、蓝牙音响等播放音乐的场景。
手机200还包括给各个部件供电的电源290(比如电池)。电源可以通过电源管理系统与处理器280逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗等功能。可以理解的是,在以下实施例中,电源290可以用于给显示面板241及触控面板231供电。
以下实施例中的方法均可以在具有上述硬件结构的手机200中实现。
需要说明的是,对于下面描绘显示界面的各附图,仅用于示例性的描绘显示界面的一种可能的表现形式,并不意在限定实际产品必须采用相同的表现形式。
本申请实施例提供了一种选择蓝牙设备的方法,在终端与至少两个蓝牙设备配对成功并处于保持连接的状态后,终端可以获取这些蓝牙设备的电量和设备信息,终端可以根据触发事件的类型、蓝牙设备的电量和设备信息等使用其中的蓝牙设备进行业务。
参照图4中所示,本申请实施例提供的选择蓝牙设备的方法,可以包括步骤S101-S103:
S101、终端与至少两个蓝牙设备连接。
该终端与至少两个蓝牙设备连接指终端与至少两个蓝牙设备配对成功并处于保持连接的状态。
对终端与蓝牙设备之间建立连接的过程进行说明。在一种可选的实现方式中,终端作为主设备可以以跳频的方式寻呼作为从设备的蓝牙设备,蓝牙设备可以以固定间隔地去扫描外部寻呼,在扫描到终端的寻呼后响应该寻呼,终端与蓝牙设备建立异步少连接链路(Asynchronous Connection-Less Link,ACL)连接。在ACL连接建立之后,终端可以发起建立逻辑链路控制和适配协议(Logical Link Control and Adaptation Protocol,L2CAP)连接,在L2CAP连接建立之后,终端通过服务发现协议(Service Discovery Protocol,SDP)去查询蓝牙设备的免提服务并得到串行线性仿真协议(Radio Frequency Communication,RFCOMM)的通道号,然后终端会发起RFCOMM的连接请求建立RFCOMM连接,然后就建立了终端与蓝牙设备之间的连接。
S102、终端获取与终端连接的上述至少两个蓝牙设备的电量和设备信息。
具体的,终端可以在与蓝牙设备配对的信息交互过程中获取蓝牙设备的设备信息。蓝牙设备的设备信息可以包括蓝牙设备的类型、参数和设备支持的蓝牙规格。下面对设备信息详细展开描述。
蓝牙设备的类型指该蓝牙设备所属的种类,其可以属于例如手机、手表、手环、 耳机、音响、车载等。蓝牙设备的参数可以包括例如音频参数(采样率、编码格式等)、单耳还是双耳、立体声还是单声道。蓝牙设备的设备类型和参数用于指示蓝牙设备的私密性等级或音响效果等级,具体的,对于不同种类的蓝牙设备可以根据设备类型来区分私密性等级或音响效果等级,对于同一种类的蓝牙设备可以进一步根据参数来区分私密性等级或音响效果等级。例如,蓝牙耳机的私密性等级要高于车载蓝牙的私密性等级,车载蓝牙的音响效果等级要高于蓝牙耳机的音响效果等级,对于同为耳机的设备,双耳的音响效果等级要高于单耳的音响效果等级,等等。上述私密性等级即是针对传输语音而言,音响效果等级即是针对传输音频而言。
终端可以通过向蓝牙设备发送查询命令来主动获取蓝牙设备的电量,或者,蓝牙设备也可以周期性的通过HFP规格中定义的AT命令向终端上报自己的电量。其中,终端主动获取蓝牙设备的电量可以发生在任何一个用户事件触发的时刻,以满足实时性;周期性上报用于固定时间间隔刷新某一蓝牙设备的电量,各个蓝牙设备可以在不同时间点上报并且上报周期可以相同或不同。
对于支持A2DP规格的蓝牙设备,可以周期性的通过HFP规格中定义的AT命令向终端上报自己的电量,使得当终端通过A2DP通道向蓝牙设备传输音频数据时,仍然可以通过HFP通道获取蓝牙设备的电量。
S103、终端检测当前触发的事件。
例如,如果终端有电话呼入或呼出或正在通话,则终端系统可以检测到当前触发的事件,例如可以通过底层接口,或其他方式,检测判断终端进行语音通话业务;或者,如果终端开始或正在播放音频,则终端可以检测到终端进行音频播放业务。
S104、终端根据事件的类型、上述至少两个蓝牙设备的电量和设备信息从上述至少两个蓝牙设备中确定第一蓝牙设备。
事件的类型是指当前事件归属的类型,例如,若终端检测当前事件的接口是属于语音通话接口或音频播放接口等,则事件的类型属于语音通过类型或音频播放类型,对应的业务为语音通话业务或音频播放业务。可以理解的是,通过检测当前事件的接口来判断事件的类型,只是一个示例性说明,还可以有其他的技术方案,本发明实施例对此不做限定。第一蓝牙设备指终端将通过其进行语音通话业务或进行音频播放业务的蓝牙设备,其不限于一个蓝牙设备,可以指至少一个蓝牙设备。
具体的,参照图5中所示,步骤S104可以包括步骤S1041-S1042:
S1041、如果上述至少两个蓝牙设备中,多于一个蓝牙设备电量大于等于阈值并且支持所述类型所要求的规格,则终端从所述多于一个蓝牙设备中确定优先级最高蓝牙设备为第一蓝牙设备。
如步骤S102所述的,设备信息可以包括蓝牙设备的类型、参数和设备支持的蓝牙规格,蓝牙设备的设备类型和参数用于指示蓝牙设备的私密性等级或音响效果等级。如果事件的类型为语音通话业务,则其所要求的规格为用于传输语音的规格,并且其对应的优先级为私密性等级;如果事件的类型为音频播放业务,则其所要求的规格为用于传输音频的规格,并且其对应的优先级为音响效果等级。阈值可以是百分比,用于表示蓝牙设备正常使用的最低电量,例如可以为50%。需要说明的是,如果仅有一个蓝牙设备电量大于等于阈值并且支持所述业务所要求的规格,则不存在优先级问题, 只能选择该蓝牙设备。
通过该步骤,既保证所选择的蓝牙设备支持的规格与进行的业务相匹配,又保证所选择蓝牙设备的电量满足正常使用,在此基础上根据业务类型选择优先级高的蓝牙设备。
S1042、如果上述至少两个蓝牙设备中,支持所述业务所要求的规格的蓝牙设备中没有电量大于等于阈值,则终端从支持所述业务所要求的规格的蓝牙设备中确定电量最高的蓝牙设备为第一蓝牙设备。
通过该步骤,在保证所选择的蓝牙设备支持的规格与进行的业务相匹配条件下,如果所有蓝牙设备的电量均无法满足正常使用,则尽量选择电量最高的蓝牙设备,以尽量保证数据传输。
S105、终端基于第一蓝牙设备进行事件对应的业务。
该步骤指:终端在确定了第一蓝牙设备后,通过其进行上述事件对应的语音通话业务或音频播放业务。
下面举例对步骤S104和S105进行说明。
参照图6中所示,假设用户手持终端200通过蓝牙连接蓝牙耳机602并播放音乐(即进行音频播放业务),用户进入具有车载蓝牙601的汽车并接通车载蓝牙601电源。车载蓝牙601由于是由汽车蓄电池或汽车发电机供电,可以理论上认为其始终是满电量(相当于即使在使用过程中其电量始终大于阈值),蓝牙耳机一般是由电池供电,在使用过程中电量会有损耗。假设蓝牙耳机602的电量大于阈值,蓝牙耳机602和车载蓝牙601都支持传输语音的规格和传输音频的规格。蓝牙耳机602的私密性等级高于车载蓝牙601的私密性等级,车载蓝牙601的音响效果等级高于蓝牙耳机602的音响效果等级。
终端200与车载蓝牙601配对成功并建立连接。此时终端200获知连接的蓝牙设备发生变化,从原来只连接蓝牙耳机602变为同时连接蓝牙耳机602和车载蓝牙601,评估是否重新选择蓝牙设备进行音频播放业务。具体的,终端200根据在连接车载蓝牙601之前正在进行音频播放业务,确定连接车载蓝牙601之后依旧进行音频播放业务。并且终端根据蓝牙耳机602和车载蓝牙601均支持传输音频的规格并且电量均大于阈值,从中确定优先级(对于音频播放业务来说优先级为音响效果等级)最高的车载蓝牙601来作为第一蓝牙设备,并通过车载蓝牙601进行音频播放业务。此时,播放音乐的设备从蓝牙耳机602切换为车载蓝牙601,可以保证数据继续传输(例如保证继续播放音乐),并且结合数据的特殊要求选择了更优的蓝牙设备(音响效果更好)。
如果此时终端200突然接收到电话呼入或者用户通过终端200呼出电话,终端200再次评估是否重新选择蓝牙设备进行语音通话业务。具体的,终端200根据电话呼入和呼出确定将进行语音通话业务并停止传输音频。终端200根据蓝牙耳机602和车载蓝牙601均支持传输语音的规格并且电量均大于阈值,从中确定优先级(对于语音通话业务来说优先级为私密性等级)更高的蓝牙耳机602作为第一蓝牙设备,并通过蓝牙耳机602进行语音通话业务。此时,终端停止通过车载蓝牙601播放音乐,并通过蓝牙耳机602进行语音通话业务,可以保证数据正常传输(例如保证通话),并且结合数据的特殊要求选择了更优的蓝牙设备(私密性更好)。
需要说明的是,对于支持传输语音的规格为HFP时,并且终端与蓝牙设备在连接状态下,如果终端有电话呼入和呼出,则终端与蓝牙设备先建立服务等级连接(Service Level Connection),由终端发起编解码连接建立(Codec Connection Setup)过程,最后终端与蓝牙设备建立音频连接,终端即可以通过蓝牙设备进行语音通话业务。
如果用户通过蓝牙耳机602保持通话的时间较长,导致蓝牙耳机602电量低于阈值,终端200再次评估是否重新选择蓝牙设备进行语音通话业务。具体的,终端200根据用户仍在保持通话确定进行语音通话业务。虽然蓝牙耳机602和车载蓝牙601均支持传输语音的规格,但是如果继续使用蓝牙耳机602通话可能导致通话中断或影响通话效果,因此终端根据仅有车载蓝牙601支持传输语音的规格并且电量大于阈值,确定车载蓝牙601作为第一蓝牙设备,并通过车载蓝牙601进行语音通话业务。此时,终端停止通过蓝牙耳机602进行语音通话业务,并通过车载蓝牙601进行语音通话业务,可以保证数据正常传输(例如保证通话)。需要说明的是,如果在终端200通过车载蓝牙601进行语音通话业务的过程中,用户还可能同时通过车载电源对蓝牙耳机602进行充电,如果终端检测到蓝牙耳机602的电量增加至大于阈值,可以确定蓝牙耳机602重新作为第一蓝牙设备并将通话重新切换回蓝牙耳机602。
需要说明的是,对于支持传输音频的规格为A2DP时,并且终端与蓝牙设备在连接状态下,如果终端需要通过蓝牙设备进行音频播放业务,则终端首先通过流端点发现流程在蓝牙设备建立流端点,然后配置流端点的音频声道、采样率等信息,最后启动流,终端即可以通过蓝牙设备进行音频播放业务。
另外,本申请实施例列出的场景虽然以一个终端同时连接两个蓝牙设备,从中选择一个蓝牙设备为例,但是可以理解的是,其同样适用于一个终端同时连接多于两个蓝牙设备,从中选择至少一个蓝牙设备的场景。
通过上述步骤,方便了用户对蓝牙设备的使用,充分利用了不同蓝牙设备的资源,使选择蓝牙设备更加智能化和人性化。并且有效的提供了多个已连接的蓝牙设备智能切换的策略,根据用户的不同使用场景,使用了不同的逻辑策略和优先级算法,提高了易用性。
本申请实施例提供的选择蓝牙设备的方法,终端根据待触发事件的类型、蓝牙设备电量和设备信息等,从至少两个蓝牙设备中选择至少一个蓝牙设备来进行业务,在选择蓝牙设备时,考虑到了不同触发事件、蓝牙设备的电量的影响,解决了终端选择蓝牙设备不合理所带来的使用上的不便。
为了用户直观了解当前所连接的或使用的蓝牙设备的电量情况,可以在显示界面上显示蓝牙设备的电量。
可选的,在一种可能的实施方式中,参照图7中所示,在终端与至少两个蓝牙设备连接之后,上述方法还可以包括步骤S201:
S201、终端在显示界面上显示所连接的至少两个蓝牙设备的电量。
具体的,被选择的蓝牙设备的电量显示方式区别于未被选择的蓝牙设备的电量显示方式。
通过该步骤,终端通过蓝牙设备不同电量显示方式来区分正在使用其中哪些蓝牙 设备。其有效的解决了不同蓝牙设备的电量共同显示问题,使用户更直观明确的获得所连接的所有蓝牙设备的电量。
示例性的,参照图8中所示,为蓝牙设备电量显示的一种示例,可以在终端状态栏上显示终端所连接的蓝牙设备的电量,例如可以显示蓝牙图标801、蓝牙设备1的电量802、蓝牙设备2的电量803、蓝牙设备3的电量804,从图中可以看出蓝牙设备1的电量802和蓝牙设备2的电量803的显示方式是一样的,是实心的电量表示方式,蓝牙设备3的电量804的显示方式与之不同,是空心的电量表示方式。可以用于表示当前蓝牙设备1和蓝牙设备2为上述步骤中所述的第一蓝牙设备,或者当前蓝牙设备3为上述步骤中所述的第一蓝牙设备。当然还可以想到其他电量表示方式,例如通过不同颜色、虚线和实线、闪烁和不闪烁等方式加以区别,具体不再赘述。
为了便于用户了解当前所连接或所使用的蓝牙设备的情况,还可以在显示界面上显示蓝牙设备的设备信息。
可选的,在一种可能的实施方式中,参照图9中所示,在终端与至少两个蓝牙设备连接之后,上述方法还可以包括步骤S301:
S301、终端在显示界面上显示所连接的至少两个蓝牙设备的设备信息。
示例性的,参照图10中所示,为蓝牙设备电量显示的另一种示例,还可以在终端状态栏上显示终端所连接的蓝牙设备的设备信息,所显示的设备信息可以与电量成对显示。例如,可以显示蓝牙设备1的设备类型805、蓝牙设备2的设备类型806、蓝牙设备3的设备类型807。相对于图8中的电量表示方式,可以更加方便用户知道选择的蓝牙设备。
示例性的,参照图11中所示,为蓝牙设备电量显示的又一种示例,还可以在设置菜单的蓝牙子菜单中显示蓝牙设备的电量和设备信息。打开蓝牙子菜单的一种方式可以是通过点击设置选项来进入,另一种方式可以通过类似图11A中所示的下拉菜单中的蓝牙图标1101来进入。如图11B中所示,在蓝牙子菜单中可以相对于图8和图10显示更加详细和清楚的信息,例如可以显示蓝牙设备的电量1102、设备名称1103、设备类型1104等,并且同样可以通过电量1102的不同显示方式来区分被选择的蓝牙设备和未被选择的蓝牙设备。当点击图11B中所示的蓝牙设备,可以更进一步显示如图11C中所示的该蓝牙设备的所有信息,例如设备名称、自定义名称、MAC地址、支持协议、设备类型、设备参数、电量等。
在第一蓝牙设备持续使用过程中,其电量可能过低,此时可以提醒用户当前使用的蓝牙设备电量低和/或自动切换到其他蓝牙设备。
可选的,在一种可能的实施方式中,参照图12中所示,上述方法还可以包括步骤S401和S402:
S401、终端获取第一蓝牙设备的电量。
获取蓝牙设备电量的方式参照步骤S102,具体不再赘述。
S402、若第一蓝牙设备的电量小于阈值,终端提醒用户和/或终端切换到第二蓝牙设备上进行上述业务。
终端可以按照步骤S104中所述的判断方式,自动切换到第二蓝牙设备上进行语音通话业务或音频播放业务,其中,第二蓝牙设备为当前与终端连接的蓝牙设备,其可能是新连接的蓝牙设备。
示例性的,参照图13中所示,终端可以在显示界面上提示“当前蓝牙设备电量低”的消息提醒。另外,如果蓝牙设备的选择状态发生改变,终端在显示屏上刷新显示上述至少两个蓝牙设备的电量,使得被选择的蓝牙设备的电量显示方式区别于未被选择的蓝牙设备的电量显示方式。
终端不仅可以自动选择蓝牙设备,还可以在显示界面上显示可选择的蓝牙设备以及推荐的蓝牙设备,用户可以手动选择蓝牙设备。并且用户选择蓝牙设备的设置信息的优先级比较高,在同一场景并且蓝牙设备的电量满足正常使用条件下优先根据用户的设置信息来选择蓝牙设备。示例性的,参照图14中所示,假设位于房间A的终端1401连接了位于房间A的蓝牙音响1402和1403以及位于房间B的蓝牙音响1404,并且蓝牙音响1402-1404是同一型号的蓝牙音响,终端1401自动选择时可能同时选择这三个蓝牙音响,但是对于用户来说,并不需要使用位于房间B的蓝牙音响1404,因此可以用户可以设置此时终端1401仅选择蓝牙音响1402和1403,即使当终端1401重启后,终端1401仍然仅选择蓝牙音响1402和1403。
可选的,在一种可能的实施方式中,参照图15中所示,在步骤S105之前,上述方法还可以包括步骤S501-S502:
S501、终端在显示界面上显示备选的蓝牙设备和推荐的第一蓝牙设备。
示例性的,参照图16A中所示,可以在终端已经确定第一蓝牙设备但尚未发生切换的一定时间内显示提示信息,该提示信息中包括推荐的第一蓝牙设备“我的车载蓝牙”以及备选的蓝牙设备“我的耳机”,用于提醒用户如果用户不作操作,将选择第一蓝牙设备“我的车载蓝牙”进行业务。可选的,该提示信息中可以包括所有蓝牙设备的电量和设备信息,便于用户做出选择。需要说明的是,终端也可以在图11B所示的设置界面中显示备选的蓝牙设备和推荐的第一蓝牙设备,本申请对于显示方式不作限定。
S502、终端接收用户的选择,并将用户选择的蓝牙设备作为第一蓝牙设备。
示例性的,参照图16B所示,如果用户不想将音乐切换至车载蓝牙601,用户可以点击“我的耳机”以选择“我的耳机”并点击“我的车载蓝牙”以取消选择“我的车载蓝牙”,则终端仍将“我的耳机”作为第一蓝牙设备,终端不会将音乐从蓝牙耳机602切换至车载蓝牙601。
对于用户选择蓝牙设备的设置信息的优先级比较高,在选择蓝牙设备时可以优先考虑用户的设置信息,则进一步可选的,在一种可能的实施方式中,步骤S104具体可以包括:终端可以根据事件的类型、至少两个蓝牙设备的电量、设备信息和用户的设置信息,从上述至少两个蓝牙设备中确定第一蓝牙设备。具体的,参照图17中所示,在步骤S1041之前,步骤S104还可以包括步骤S1043:
S1043、如果有属于用户的设置信息的蓝牙设备,则将用户的设置信息对应的蓝牙 设备作为第一蓝牙设备。
通过该步骤,既保证所选择的蓝牙设备支持的规格与进行的业务相匹配,又保证所选择蓝牙设备的电量满足正常使用,在此基础上优选用户的偏好的蓝牙设备。
此时步骤S1041的前提条件变为:上述至少两个蓝牙设备中,多于一个蓝牙设备电量大于等于阈值并且支持所述类型所要求的规格,并且无属于用户的设置信息的蓝牙设备。
本申请提供一种终端,用于执行上述方法。本申请实施例可以根据上述方法示例对终端设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
在采用对应各个功能划分各个功能模块的情况下,图18示出了上述实施例中所涉及的终端的一种可能的结构示意图,终端200包括:蓝牙单元2011、获取单元2012、检测单元2013、确定单元2014、显示单元2015、接收单元2016。上述各单元用于支持终端执行图4、图5、图7、图9、图12、图15和图17中任一附图中的相关方法。本申请提供的终端用于执行上文所提供的对应的方法,因此,其相应的特征和所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。
示例性的,蓝牙单元2011用于支持终端200执行图4中的过程S101、S105,图5中的过程S101、S105,图7中的过程S101、S105,图9中的过程S101、S105,图12中的过程S101、S105、S402,图15中的过程S101、S105,图17中的过程S101、S105;获取单元2012用于支持终端200执行图4中的过程S102,图5中的过程S102,图7中的过程S102,图9中的过程S102,图12中的过程S102、S401,图15中的过程S102,图17中的过程S102;检测单元2013用于支持终端200执行图4中的过程S103,图5中的过程S103,图7中的过程S103,图9中的过程S103,图12中的过程S103,图15中的过程S103,图17中的过程S103;确定单元2014用于支持终端200执行图4中的过程S104,图5中的过程S1041、S1042,图7中的过程S104,图9中的过程S104,图12中的过程S104,图15中的过程S104、S502,图17中的过程S1041-S1043;显示单元2015用于支持终端200执行图7中的过程S201,图9中的过程S301,图12中的过程S402,图15中的过程S501;接收单元2016用于支持终端200执行图15中的过程S502。其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。
在采用集成的单元的情况下,图19示出了上述实施例中所涉及的终端的一种可能的结构示意图。终端200包括:存储模块2021、处理模块2022、通信模块2023、触控显示模块2024。上述各模块用于支持终端执行图4、图5、图7、图9、图12、图15和图17中任一附图中的相关方法。本申请提供的终端用于执行上文所提供的对应的方法,因此,其相应的特征和所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。
具体的,处理模块2022用于对终端200的动作进行控制管理,例如,处理模块 2022用于支持终端200执行上述获取单元2012、检测单元2013和确定单元2014的功能。通信模块2023用于支持终端200执行上述蓝牙单元2011的功能。触控显示模块2024用于支持终端200执行上述显示单元2015和接收单元2016的功能。存储模块2021用于存储终端的程序代码和数据。
其中,处理模块2022可以是处理器或控制器,例如可以是中央处理器(Central processing unit,CPU),通用处理器,数字信号处理器(Digital Signal Processor,DSP),专用集成电路(Application-Specific Integrated Circuit,ASIC),现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信模块2023可以是收发器、收发电路、蓝牙、网络接口或通信接口等。存储模块2021可以是存储器。
具体的,处理模块2022可以为图2中的处理器280,通信模块2023可以为图2中的RF电路210、Wi-Fi模块270、蓝牙模块281,存储模块2021可以为图2中的存储器220,触控显示模块2024可以为图2中的触控面板231与显示面板241构成的触控显示屏。
当处理模块2022为处理器,通信模块2023为蓝牙电路,存储模块2021为存储器,触控显示模块2024为触控显示屏时,本申请所涉及的终端可以为图20所示的终端200。
参阅图20所示,该终端200包括:一个或多个处理器2032、蓝牙电路2033、存储器2031、总线系统2034、触控显示屏2035,以及一个或多个程序。其中,蓝牙电路2033、处理器2032、存储器2031、触控显示屏2035通过总线系统2034相互连接;总线系统2034可以是外设部件互连标准总线或扩展工业标准结构总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。其中所述一个或多个程序被存储在存储器2031中,一个或多个程序包括指令,指令当被终端执行时使终端执行图4、图5、图7、图9、图12、图15和图17中任一附图中的相关方法。
本申请还提供一种存储一个或多个程序的计算机存储介质,一个或多个程序包括指令,该指令当被终端执行时,使终端执行图4、图5、图7、图9、图12、图15和图17中任一附图中的相关方法。
本申请还提供一种便携式电子设备上的图形用户界面,该便携式电子设备包括显示器、存储器、多个应用程序;和用于执行存储在存储器中的一个或多个程序的一个或多个处理器,该图形用户界面包括图4、图5、图7、图9、图12、图15和图17中任一附图中的相关方法显示的用户界面,其中,所述显示器包括触控表面和显示屏。
本申请还提供一种图形用户界面,该图形用户界面存储在电子设备中,该电子设备包括触摸屏、存储器、一个或多个处理器,上述一个或多个处理器用于执行存储在存储器中的一个或多个计算机程序,上述图形用户界面包括:显示在触摸屏上的第一GUI,第一GUI包括应用的界面和消息的提示;响应于用户的输入,在所述触摸屏上显示第二GUI,所述第二GUI包括应用的界面。
本申请还提供一种电子设备,该电子设备包括执行图4、图5、图7、图9、图12、图15和图17中任一附图中的相关方法的装置。
本申请还提供了一种包含指令的计算机程序产品,当该计算机程序产品在电子设备上运行时,使得电子设备执行图4、图5、图7、图9、图12、图15和图17中任一附图中的相关方法。
其中,本申请提供的终端、电子设备、图形用户界面、计算机存储介质或者计算机程序产品均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、设备和方法,可以通过其它的方式实现。例如,以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式来实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光纤、数字用户线(Digital Subscriber Line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中 心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可以用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带),光介质(例如,DVD)、或者半导体介质(例如固态硬盘(Solid State Disk,SSD))等。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (17)

  1. 一种选择蓝牙设备的方法,其特征在于,包括:
    终端与至少两个蓝牙设备连接;
    所述终端获取与所述终端连接的所述至少两个蓝牙设备的电量和设备信息;
    所述终端检测当前触发的事件;
    所述终端根据所述事件的类型、所述至少两个蓝牙设备的电量和所述设备信息,从所述至少两个蓝牙设备中确定第一蓝牙设备;
    所述终端基于所述第一蓝牙设备进行所述事件对应的业务。
  2. 根据权利要求1所述的方法,其特征在于,所述终端还获取用户的设置信息;
    所述终端根据所述事件的类型、所述至少两个蓝牙设备的电量和所述设备信息,从所述至少两个蓝牙设备中确定第一蓝牙设备,包括:
    所述终端根据所述事件的类型、所述至少两个蓝牙设备的电量、所述设备信息和用户的设置信息,从所述至少两个蓝牙设备中确定第一蓝牙设备。
  3. 根据权利要求1或2所述的方法,其特征在于,在所述终端基于所述第一蓝牙设备进行所述事件对应的业务之后,所述方法还包括:
    所述终端获取所述第一蓝牙设备的电量;
    若所述第一蓝牙设备的电量小于阈值,所述终端提醒用户和/或所述终端切换到第二蓝牙设备上进行所述业务;其中所述第二蓝牙设备为当前与所述终端连接的蓝牙设备。
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述设备信息包括设备的类型、参数和设备支持的蓝牙规格。
  5. 根据权利要求1-4任一项所述的方法,其特征在于,在所述终端基于所述第一蓝牙设备进行所述事件对应的业务之前,所述方法还包括:
    所述终端在显示界面上显示备选的蓝牙设备和推荐的所述第一蓝牙设备;
    所述终端接收用户的选择,并将用户选择的蓝牙设备作为所述第一蓝牙设备。
  6. 根据权利要求1-5任一项所述的方法,其特征在于,在所述终端与至少两个蓝牙设备连接之后,所述方法还包括:所述终端在显示界面显示所述至少两个蓝牙设备的电量。
  7. 根据权利要求1-6任一项所述的方法,其特征在于,所述事件对应的业务为语音通话业务或音频播放业务。
  8. 一种终端,其特征在于,包括:
    蓝牙单元,用于与至少两个蓝牙设备连接;
    获取单元,用于获取与所述终端连接的所述至少两个蓝牙设备的电量和设备信息;
    检测单元,用于检测当前触发的事件;
    确定单元,用于根据所述事件的类型、所述至少两个蓝牙设备的电量和所述设备信息,从所述至少两个蓝牙设备中确定第一蓝牙设备;
    所述蓝牙单元,还用于基于所述第一蓝牙设备进行所述事件对应的业务。
  9. 根据权利要求8所述的终端,其特征在于,
    所述获取单元,还用于获取用户的设置信息;
    所述确定单元,具体用于根据所述事件的类型、所述至少两个蓝牙设备的电量、所述设备信息和用户的设置信息,从所述至少两个蓝牙设备中确定第一蓝牙设备。
  10. 根据权利要求8或9所述的终端,其特征在于,所述终端还包括显示单元,
    所述获取单元,还用于在所述蓝牙单元基于所述第一蓝牙设备进行所述事件对应的业务之后,获取所述第一蓝牙设备的电量;
    若所述第一蓝牙设备的电量小于阈值,所述显示单元用于提醒用户和/或所述蓝牙单元用于切换到第二蓝牙设备上进行所述业务;其中所述第二蓝牙设备为当前与所述终端连接的蓝牙设备。
  11. 根据权利要求8-10任一项所述的终端,其特征在于,所述设备信息包括设备的类型、参数和设备支持的蓝牙规格。
  12. 根据权利要求8-11任一项所述的终端,其特征在于,所述终端还包括显示单元、接收单元,
    所述显示单元,用于在所述蓝牙单元基于所述第一蓝牙设备进行所述事件对应的业务之前,在显示界面上显示备选的蓝牙设备和推荐的所述第一蓝牙设备;
    所述接收单元用于接收用户的选择,并且所述确定单元还用于将用户选择的蓝牙设备作为所述第一蓝牙设备。
  13. 根据权利要求8-12任一项所述的终端,其特征在于,所述终端还包括显示单元,
    所述显示单元,用于在所述蓝牙单元与至少两个蓝牙设备连接之后,在显示界面显示所述至少两个蓝牙设备的电量。
  14. 根据权利要求8-13任一项所述的终端,其特征在于,所述事件对应的业务为语音通话业务或音频播放业务。
  15. 一种终端,其特征在于,包括:
    一个或多个处理器、存储器、总线系统、以及一个或多个程序,所述处理器和所述存储器通过所述总线系统相连;
    其中所述一个或多个程序被存储在所述存储器中,所述一个或多个程序包括指令,所述指令当被所述终端执行时使所述终端执行如权利要求1至7任一项所述的方法。
  16. 一种通信系统,包括如权利要求8-14任一项所述的终端和至少两个蓝牙设备,或者,包括如权利要求15所述的终端和至少两个蓝牙设备,所述终端与所述至少两个蓝牙设备连接。
  17. 一种存储一个或多个程序的计算机可读存储介质,所述一个或多个程序包括指令,所述指令当被终端执行时使所述终端执行如权利要求1至7任一项所述的方法。
PCT/CN2017/110550 2017-11-10 2017-11-10 选择蓝牙设备的方法、终端和系统 Ceased WO2019090726A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201780081854.9A CN110168942B (zh) 2017-11-10 2017-11-10 选择蓝牙设备的方法、终端、系统和存储介质
PCT/CN2017/110550 WO2019090726A1 (zh) 2017-11-10 2017-11-10 选择蓝牙设备的方法、终端和系统
CN202110535662.9A CN113422864A (zh) 2017-11-10 2017-11-10 选择蓝牙设备的方法、终端和系统

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/110550 WO2019090726A1 (zh) 2017-11-10 2017-11-10 选择蓝牙设备的方法、终端和系统

Publications (1)

Publication Number Publication Date
WO2019090726A1 true WO2019090726A1 (zh) 2019-05-16

Family

ID=66437463

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/110550 Ceased WO2019090726A1 (zh) 2017-11-10 2017-11-10 选择蓝牙设备的方法、终端和系统

Country Status (2)

Country Link
CN (2) CN110168942B (zh)
WO (1) WO2019090726A1 (zh)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110248347A (zh) * 2019-06-28 2019-09-17 Oppo广东移动通信有限公司 通话异常检测方法、装置、设备及存储介质
CN111836240A (zh) * 2019-08-19 2020-10-27 北京骑胜科技有限公司 一种蓝牙连接建立方法、装置、电子设备和存储介质
CN113115290A (zh) * 2021-04-12 2021-07-13 英华达(上海)科技有限公司 接收音频资料的方法
CN113330761A (zh) * 2019-12-31 2021-08-31 华为技术有限公司 占用设备的方法以及电子设备
CN113709691A (zh) * 2020-05-19 2021-11-26 百度在线网络技术(北京)有限公司 一种音频数据的播放方法、装置、设备及存储介质
CN113747406A (zh) * 2021-08-06 2021-12-03 深圳Tcl新技术有限公司 蓝牙连接方法、装置、蓝牙设备及存储介质
CN113810890A (zh) * 2021-09-16 2021-12-17 Oppo广东移动通信有限公司 设备回连方法、装置、电子设备以及存储介质
CN114125791A (zh) * 2020-08-31 2022-03-01 荣耀终端有限公司 一种音频推送方法及音频推送系统
CN115065958A (zh) * 2022-04-20 2022-09-16 Oppo广东移动通信有限公司 设备连接方法、装置、第一设备及计算机可读存储介质
CN115225121A (zh) * 2022-07-04 2022-10-21 维沃移动通信有限公司 蓝牙数据输出方法、装置、电子设备及存储介质
CN115278615A (zh) * 2021-04-30 2022-11-01 Oppo广东移动通信有限公司 蓝牙设备控制传输的方法和装置、电子设备
CN116887388A (zh) * 2023-09-06 2023-10-13 荣耀终端有限公司 通信处理方法、电子设备及存储介质

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112469009B (zh) * 2019-09-06 2025-10-17 中兴通讯股份有限公司 一种蓝牙数据传输方法、装置、终端及存储介质
CN110808021B (zh) * 2019-11-08 2024-06-11 广州酷狗计算机科技有限公司 音频播放的方法、装置、终端及存储介质
CN114979869A (zh) * 2021-02-22 2022-08-30 北京轩辕联科技有限公司 耳机状态判定方法、装置、设备和存储介质
WO2022198391A1 (zh) * 2021-03-22 2022-09-29 华为技术有限公司 一种通信方法、通信装置及终端
CN113296728B (zh) * 2021-05-24 2025-01-14 Oppo广东移动通信有限公司 音频播放方法、装置、电子设备及存储介质
CN114268689B (zh) * 2022-03-03 2022-08-05 荣耀终端有限公司 蓝牙设备的电量显示方法、终端及存储介质
CN117616786A (zh) * 2022-06-14 2024-02-27 北京小米移动软件有限公司 一种蓝牙通信方法、装置及存储介质
CN116017382A (zh) * 2022-12-12 2023-04-25 西安紫光展锐科技有限公司 音频播放方法、装置及终端设备
CN118972987B (zh) * 2024-07-12 2025-10-31 奇瑞汽车股份有限公司 一种车载蓝牙与多终端设备连接系统及连接方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2672762A1 (en) * 2012-03-30 2013-12-11 Samsung Electronics Co., Ltd Connecting the highest priority Bleutooth device to a mobile terminal
CN103560814A (zh) * 2013-10-31 2014-02-05 宇龙计算机通信科技(深圳)有限公司 一种配对蓝牙设备的方法及蓝牙设备
CN103636141A (zh) * 2012-11-16 2014-03-12 华为终端有限公司 一种蓝牙建立连接的方法、移动终端、蓝牙设备及系统
CN205081782U (zh) * 2015-09-28 2016-03-09 北京轩辕联科技有限公司 一种用于车载的蓝牙智能通信装置
CN106131971A (zh) * 2016-06-20 2016-11-16 乐视控股(北京)有限公司 蓝牙设备的连接方法及装置

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103118337B (zh) * 2011-11-17 2015-08-12 中兴通讯股份有限公司 用于蓝牙设备的信息处理方法、装置及其蓝牙设备
CN103312864A (zh) * 2012-03-09 2013-09-18 深圳市三诺电子有限公司 一种智能终端和通过智能终端控制蓝牙设备的方法
US9014633B2 (en) * 2013-03-07 2015-04-21 Kin-Man TSE Bluetooth communication system and method for selectively switching modes of operation in between electronic devices
CN105101058A (zh) * 2015-07-13 2015-11-25 惠州Tcl移动通信有限公司 多个蓝牙耳机协同工作的实现方法及设备
CN105657648B (zh) * 2016-03-22 2019-06-07 Oppo广东移动通信有限公司 播放设备的蓝牙模块控制方法、装置及音视频播放系统
CN106227646A (zh) * 2016-08-31 2016-12-14 杭州联络互动信息科技股份有限公司 一种获取、发送电子设备电量的方法和装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2672762A1 (en) * 2012-03-30 2013-12-11 Samsung Electronics Co., Ltd Connecting the highest priority Bleutooth device to a mobile terminal
CN103636141A (zh) * 2012-11-16 2014-03-12 华为终端有限公司 一种蓝牙建立连接的方法、移动终端、蓝牙设备及系统
CN103560814A (zh) * 2013-10-31 2014-02-05 宇龙计算机通信科技(深圳)有限公司 一种配对蓝牙设备的方法及蓝牙设备
CN205081782U (zh) * 2015-09-28 2016-03-09 北京轩辕联科技有限公司 一种用于车载的蓝牙智能通信装置
CN106131971A (zh) * 2016-06-20 2016-11-16 乐视控股(北京)有限公司 蓝牙设备的连接方法及装置

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110248347A (zh) * 2019-06-28 2019-09-17 Oppo广东移动通信有限公司 通话异常检测方法、装置、设备及存储介质
CN110248347B (zh) * 2019-06-28 2022-03-15 Oppo广东移动通信有限公司 通话异常检测方法、装置、设备及存储介质
CN111836240A (zh) * 2019-08-19 2020-10-27 北京骑胜科技有限公司 一种蓝牙连接建立方法、装置、电子设备和存储介质
CN111836240B (zh) * 2019-08-19 2024-03-22 北京骑胜科技有限公司 一种蓝牙连接建立方法、装置、电子设备和存储介质
CN113330761B (zh) * 2019-12-31 2022-05-17 华为技术有限公司 占用设备的方法以及电子设备
US11983960B2 (en) 2019-12-31 2024-05-14 Huawei Technologies Co., Ltd. Device occupation method and electronic device
CN113330761A (zh) * 2019-12-31 2021-08-31 华为技术有限公司 占用设备的方法以及电子设备
US11637922B2 (en) 2019-12-31 2023-04-25 Huawei Technologies Co., Ltd. Device occupation method and electronic device
CN113709691A (zh) * 2020-05-19 2021-11-26 百度在线网络技术(北京)有限公司 一种音频数据的播放方法、装置、设备及存储介质
CN113709691B (zh) * 2020-05-19 2024-04-02 百度在线网络技术(北京)有限公司 一种音频数据的播放方法、装置、设备及存储介质
CN114125791B (zh) * 2020-08-31 2022-12-23 荣耀终端有限公司 一种音频推送方法及音频推送系统
WO2022042773A1 (zh) * 2020-08-31 2022-03-03 荣耀终端有限公司 一种音频推送方法及音频推送系统
CN114125791A (zh) * 2020-08-31 2022-03-01 荣耀终端有限公司 一种音频推送方法及音频推送系统
CN113115290B (zh) * 2021-04-12 2022-10-04 英华达(上海)科技有限公司 接收音频资料的方法
CN113115290A (zh) * 2021-04-12 2021-07-13 英华达(上海)科技有限公司 接收音频资料的方法
CN115278615A (zh) * 2021-04-30 2022-11-01 Oppo广东移动通信有限公司 蓝牙设备控制传输的方法和装置、电子设备
CN113747406B (zh) * 2021-08-06 2024-03-12 深圳Tcl新技术有限公司 蓝牙连接方法、装置、蓝牙设备及存储介质
CN113747406A (zh) * 2021-08-06 2021-12-03 深圳Tcl新技术有限公司 蓝牙连接方法、装置、蓝牙设备及存储介质
CN113810890A (zh) * 2021-09-16 2021-12-17 Oppo广东移动通信有限公司 设备回连方法、装置、电子设备以及存储介质
CN115065958A (zh) * 2022-04-20 2022-09-16 Oppo广东移动通信有限公司 设备连接方法、装置、第一设备及计算机可读存储介质
CN115225121A (zh) * 2022-07-04 2022-10-21 维沃移动通信有限公司 蓝牙数据输出方法、装置、电子设备及存储介质
CN116887388A (zh) * 2023-09-06 2023-10-13 荣耀终端有限公司 通信处理方法、电子设备及存储介质
CN116887388B (zh) * 2023-09-06 2023-12-01 荣耀终端有限公司 通信处理方法、电子设备及存储介质

Also Published As

Publication number Publication date
CN110168942B (zh) 2021-06-08
CN110168942A (zh) 2019-08-23
CN113422864A (zh) 2021-09-21

Similar Documents

Publication Publication Date Title
WO2019090726A1 (zh) 选择蓝牙设备的方法、终端和系统
CN112911556B (zh) 用于双模蓝牙设备之间建立经典蓝牙连接的方法和双模蓝牙设备
US9077796B2 (en) System containing a mobile communication device and associated docking station
KR101901720B1 (ko) 더미 장치와의 연동 방법 및 그 전자 장치
US20100048133A1 (en) Audio data flow input/output method and system
CN115190197B (zh) 基于蓝牙耳机的通话方法、装置及存储介质
CN108781236B (zh) 音频播放方法及电子设备
WO2018000290A1 (zh) 管理蓝牙连接的方法、蓝牙主设备和装置
CN102132543A (zh) 多电话环境中的远程用户接口
CN102917326B (zh) 双卡双通终端的通信方法、装置及双卡双通终端
WO2021254160A1 (zh) 蓝牙设备及其蓝牙抢占方法和装置、计算机可读存储介质
WO2021022720A1 (zh) 基于蓝牙的数据传输方法、存储介质及终端
CN108769387A (zh) 应用控制方法及相关设备
CN108541080A (zh) 第一电子设备与第二电子设备进行回连的方法及相关产品
WO2020007174A1 (zh) 通信连接建立方法及相关设备
US8670556B2 (en) Multi-participant communication system with audio manager responsive to mode change requests
WO2022237609A1 (zh) 通信控制方法、电子设备和耳机
EP4207750A1 (en) Device control system
WO2022017291A1 (zh) 功能冲突的处理方法、装置、电子设备和可读存储介质
CN108882084A (zh) 一种可穿戴设备电量均衡方法及相关产品
CN109155803B (zh) 音频数据处理方法、终端设备和存储介质
CN113132440B (zh) 一种音频传输方法、音频传输系统及电子设备
CN115866569A (zh) 设备控制方法、装置、电子设备及存储介质
CN102984389A (zh) 一种由被叫终端决定主叫终端回铃音的方法及终端
WO2021042598A1 (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: 17931086

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: 17931086

Country of ref document: EP

Kind code of ref document: A1