CN113411794A - Connection method, Bluetooth headset, terminal and computer storage medium - Google Patents

Connection method, Bluetooth headset, terminal and computer storage medium Download PDF

Info

Publication number
CN113411794A
CN113411794A CN202110610812.8A CN202110610812A CN113411794A CN 113411794 A CN113411794 A CN 113411794A CN 202110610812 A CN202110610812 A CN 202110610812A CN 113411794 A CN113411794 A CN 113411794A
Authority
CN
China
Prior art keywords
bluetooth headset
connectable
bluetooth
priority
determining
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.)
Pending
Application number
CN202110610812.8A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110610812.8A priority Critical patent/CN113411794A/en
Publication of CN113411794A publication Critical patent/CN113411794A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1091Details not provided for in groups H04R1/1008 - H04R1/1083

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application discloses a connection method, which is applied to a Bluetooth headset and comprises the following steps: when the Bluetooth headset has at least two connectable electronic devices, priorities of the at least two connectable electronic devices are determined according to the priorities stored in advance, a counterpart device of the Bluetooth headset is determined from the at least two connectable electronic devices according to the priorities of the at least two connectable electronic devices, and the counterpart device is connected. The embodiment of the application also provides the Bluetooth headset, the terminal and a computer storage medium.

Description

Connection method, Bluetooth headset, terminal and computer storage medium
Technical Field
The present disclosure relates to a connection technology for a bluetooth headset and an electronic device, and in particular, to a connection method, a bluetooth headset, a terminal, and a computer storage medium.
Background
Currently, for a bluetooth headset, if the bluetooth headset of a user is already paired with a plurality of electronic devices, when the bluetooth headset is taken out from a charging box of the bluetooth headset, the bluetooth headset will search for the last connected electronic device and automatically connect the last connected electronic device; or, when the electronic device is connected to the bluetooth headset, if a new bluetooth headset is to be connected, the electronic device receives a connection prompt of the new bluetooth headset, and the connection mode for the bluetooth headset is fixed singly and lacks flexibility; therefore, the existing connection mode of the Bluetooth headset has a single technical problem.
Disclosure of Invention
The embodiment of the application provides a connection method, a Bluetooth headset, a terminal and a computer storage medium, which can improve the flexibility of the Bluetooth headset during connection.
The technical scheme of the application is realized as follows:
the embodiment of the application provides a connection method, which is applied to a Bluetooth headset and comprises the following steps:
when the Bluetooth headset has at least two connectable electronic devices, determining priorities of the at least two connectable electronic devices according to pre-stored priorities;
determining a pairing device of the Bluetooth headset from the at least two connectable electronic devices according to the priorities of the at least two connectable electronic devices, and connecting the pairing device.
The embodiment of the application provides a connection method, which is applied to a terminal and comprises the following steps:
determining the priority of the electronic equipment connected with the Bluetooth headset;
and sending the priority of the electronic equipment connected with the Bluetooth headset to the Bluetooth headset for storage.
The embodiment of the application provides a bluetooth headset, include:
a first determination module for determining the priority of at least two connectable electronic devices according to a pre-stored priority when the bluetooth headset has the at least two connectable electronic devices;
the connecting module is used for determining a pairing device of the Bluetooth headset from the at least two connectable electronic devices according to the priorities of the at least two connectable electronic devices and connecting the pairing device.
An embodiment of the present application provides a terminal, including:
the second determining module is used for determining the priority of the electronic equipment connected with the Bluetooth headset;
and the sending module is used for sending the priority of the electronic equipment connected with the Bluetooth headset to the Bluetooth headset for storage.
The embodiment of the application provides a bluetooth headset, include:
a processor and a storage medium storing instructions executable by the processor, the storage medium relying on the processor to perform operations via a communication bus, the instructions, when executed by the processor, performing the connection method described in one or more of the above embodiments.
An embodiment of the present application provides a terminal, including:
a processor and a storage medium storing instructions executable by the processor, the storage medium relying on the processor to perform operations via a communication bus, the instructions, when executed by the processor, performing the connection method described in one or more of the above embodiments.
Embodiments of the present application provide a computer storage medium storing executable instructions that, when executed by one or more processors, perform a connection method as described in one or more embodiments.
The embodiment of the application provides a connection method, a Bluetooth headset, a terminal and a computer storage medium, comprising the following steps: when the Bluetooth headset has at least two connectable electronic devices, determining the priorities of the at least two connectable electronic devices according to the priorities stored in advance, determining a pairing device of the Bluetooth headset from the at least two connectable electronic devices according to the priorities of the at least two connectable electronic devices, and connecting the pairing device; that is to say, in the embodiment of the present application, the priorities of at least two connectable electronic devices of the bluetooth headset are determined according to the priorities stored in advance, so as to determine and connect the paired devices for the bluetooth headset according to the priorities of the at least two connectable electronic devices, and compared with the existing electronic device connected once when the bluetooth headset is connected, the electronic device is connected in a manner of adopting the priorities, so that the electronic device can be flexibly connected by flexibly setting the priorities instead of adopting a single fixed manner when the bluetooth headset is connected to the electronic device, thereby improving the flexibility of the bluetooth headset when connecting the electronic device.
Drawings
FIG. 1 is a schematic diagram of an alternative connection system provided by an embodiment of the present application;
fig. 2 is a schematic flowchart of interaction of an alternative connection method provided in an embodiment of the present application;
fig. 3 is a schematic flow chart of an alternative connection method provided in an embodiment of the present application;
fig. 4 is a schematic flow chart of another alternative connection method provided in the embodiments of the present application;
fig. 5 is a schematic structural diagram of an alternative bluetooth headset according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an alternative terminal according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of another alternative bluetooth headset according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of another alternative terminal provided in the embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
Example one
An embodiment of the present application provides a connection method, where the method is applied to a connection system, fig. 1 is a schematic structural diagram of an optional connection system provided in the embodiment of the present application, and as shown in fig. 1, the connection system may include: a terminal 11 and a bluetooth headset 12; wherein the content of the first and second substances,
a background application program of the bluetooth headset 12 is installed in the terminal 11, and a user of the terminal 11 sets the bluetooth headset 12 through the background application program of the bluetooth headset 12 on the terminal, and sends the set content to the bluetooth headset 12 for storage.
Based on the connection system provided in fig. 1, fig. 2 is a schematic view of a flow interaction of an optional connection method provided in an embodiment of the present application, and as shown in fig. 2, the connection method may include:
s201: the terminal 11 determines the priority of the electronic device connected with the bluetooth headset 12;
in practical applications, if the bluetooth headset 12 of the user is already paired with a plurality of electronic devices, when the user takes the bluetooth headset 12 out of the charging box, the bluetooth headset 12 will search for the last connected electronic device, and automatically connect the electronic device after searching for the last connected electronic device.
However, the connection mode of the bluetooth headset 12 is fixed, and often, the electronic device connected to the bluetooth headset 12 is not the electronic device that the user desires to connect to, and in order to increase the flexibility of the bluetooth headset 12 when connecting to the electronic device, the embodiment of the present application provides a connection method, first, the terminal 11 determines the priority of the electronic device connected to the bluetooth headset 12.
Specifically, the terminal 11 is installed with a background application of the bluetooth headset 12, and a user of the terminal 11 may set a priority of the electronic device connected to the bluetooth headset 12 through the background application of the bluetooth headset 12, or may determine the priority of the electronic device connected to the bluetooth headset 12 through a preset rule, which is not specifically limited in this embodiment of the present application.
In order to determine the priority of the electronic device connected to the bluetooth headset 12, in an alternative embodiment, S201 may include:
the terminal 11 receives setting information of priority for the electronic device to which the bluetooth headset 12 is connected;
the terminal 11 determines the priority of the electronic device connected to the bluetooth headset 12 according to the setting information of the priority of the electronic device connected to the bluetooth headset 12.
Specifically, the user of the terminal 11 may obtain the identifier of the electronic device connected to the bluetooth headset 12 through the background application of the bluetooth headset 12, then input the setting information through the background application of the bluetooth headset 12, and set the priority of the electronic device connected to the bluetooth headset 12, so that the terminal determines the priority of the electronic device connected to the bluetooth headset 12.
For example, the electronic device to which the bluetooth headset 12 is connected includes: the priority of the electronic device C is set to be highest by a user of the terminal 11 through a background application program of the Bluetooth headset 12 according to the requirements of the user, and the priority of the electronic device B is lowest by the user of the terminal 11 after the priority of the electronic device A is set to be next to the priority of the electronic device B, so that the priority of the electronic device connected with the Bluetooth headset 12 can be determined through the background application program of the Bluetooth headset 12 in the terminal 11.
In addition to setting the priority of the electronic device connected to the bluetooth headset 12 by inputting the setting information by the user, a preset rule may be adopted to determine the priority of the electronic device connected to the bluetooth headset 12, and in an alternative embodiment, S201 may include:
the terminal 11 determines the priority of the electronic device connected to the bluetooth headset 12 according to the connection record of the electronic device connected to the bluetooth headset 12 or the type of the electronic device connected to the bluetooth headset 12.
That is, the terminal 11 may determine the priority of the electronic device connected to the bluetooth headset 12 according to the connection record of the electronic device connected to the bluetooth headset 12, and may also determine the priority of the electronic device connected to the bluetooth headset 12 according to the type of the electronic device connected to the bluetooth headset 12.
The priority of the electronic device connected to the bluetooth headset 12 is determined according to the connection record of the electronic device connected to the bluetooth headset 12, and the priority of the electronic device connected to the bluetooth headset 12 may be determined according to the connection duration in the connection record of the electronic device connected to the bluetooth headset 12, for example, the longer the connection duration, the higher the priority, and the priority of the electronic device connected to the bluetooth headset 12 may also be determined according to the connection times in the connection record of the electronic device connected to the bluetooth headset 12, for example, the higher the connection times, the higher the priority.
In addition, the priority of the electronic device connected to the bluetooth headset 12 is determined according to the type of the electronic device connected to the bluetooth headset 12, for example, the priority may be set in the order of a mobile phone, a tablet computer, a notebook computer, a desktop computer from high to low according to the type of the electronic device connected to the bluetooth headset 12.
In order to improve the flexibility of the bluetooth headset 12 when connecting to the electronic device, in addition to setting the priority of the electronic device to which the bluetooth headset 12 is connected in the embodiment of the present application, in an optional embodiment, the method further includes:
the terminal 11 receives a blacklist of the bluetooth headset 12 and/or a white list of the bluetooth headset;
the terminal 11 sends the blacklist and/or the white list of the bluetooth headset 12 to the bluetooth headset 12 for storage.
The user of the terminal 11 inputs the black list and/or the white list set for the bluetooth headset 12 through the background application program of the bluetooth headset 12, and sends the black list and/or the white list of the bluetooth headset 12 to the bluetooth headset 12, so that the bluetooth headset 12 stores the black list and/or the white list.
For the blacklist, even if the electronic device in the blacklist appears within the search range of the bluetooth headset 12, the electronic device will not appear in the list to be paired of the bluetooth headset, and for the white list, only the electronic device in the white list can appear in the list to be paired of the bluetooth headset 12.
In practical applications, when the electronic device is already connected with the bluetooth headset 12, if a new bluetooth headset is present, the electronic device may receive a connection reminder of the new bluetooth headset, and in order to avoid interference of the reminder to the user of the terminal 11, in an optional embodiment, the method further includes:
when the terminal 11 is connected with the bluetooth headset 12 and there are other connectable bluetooth headsets in the current environment, the terminal 11 prohibits alerting the terminal 11 that there are other connectable bluetooth headsets in the current environment.
Specifically, when the terminal 11 is connected to the bluetooth headset 12 and there are other connectable bluetooth headsets in the current environment, according to the related art, the terminal 11 generates the alert information to alert that there are other connectable bluetooth headsets in the current environment of the terminal 11, and in order to avoid interference of the alert information, the terminal 11 prohibits alerting that there are other connectable bluetooth headsets in the current environment of the terminal 11.
Further, in order to prevent the interference of the connection reminder with the user of the terminal 11, in an alternative embodiment, when the terminal 11 is connected to the bluetooth headset 12 and there are other connectable bluetooth headsets in the current environment, the terminal 11 prohibits reminding the terminal 11 that there are other connectable bluetooth headsets in the current environment, including:
when the terminal 11 is connected with the bluetooth headset 12 and there are other connectable bluetooth headsets in the current environment, the terminal 11 prohibits to remind the terminal 11 that there are other connectable bluetooth headsets in the current environment.
Specifically, when the terminal 11 is connected to the bluetooth headset 12 and there are other connectable bluetooth headsets in the current environment, according to the related art, the terminal 11 generates the alert information to alert that there are other connectable bluetooth headsets in the current environment of the terminal 11, and in order to avoid interference of the alert information, the terminal 11 prohibits alerting that there are other connectable bluetooth headsets in the current environment of the terminal 11.
S202: the terminal 11 sends the priority of the electronic device connected with the bluetooth headset 12 to the bluetooth headset;
specifically, after determining the priority of the electronic device to which the bluetooth headset 12 is connected, the terminal 11 transmits the priority of the electronic device to which the bluetooth headset 12 is connected to the bluetooth headset 12, so that the bluetooth headset 12 stores the priority of the electronic device to which the bluetooth headset 12 is connected.
S203: when the bluetooth headset 12 has at least two connectable electronic devices, the bluetooth headset 12 determines priorities of the at least two connectable electronic devices according to the priorities stored in advance;
specifically, after storing the priorities of the electronic devices connected to the bluetooth headset 12, when the bluetooth headset 12 has at least two connectable electronic devices in the current environment, the bluetooth headset 12 determines the priorities of the at least two connectable electronic devices according to the priorities stored in advance, so that the priorities of the at least two connectable electronic devices in the current environment can be known.
S204: the bluetooth headset 12 determines a counterpart device of the bluetooth headset 12 from the at least two connectable electronic devices according to the priorities of the at least two connectable electronic devices, and connects the counterpart device.
Then, after the priorities of the at least two connectable electronic devices are determined, a counterpart device of the bluetooth headset 12 may be determined from the at least two connectable electronic devices according to the priorities of the at least two connectable electronic devices, and then the counterpart device is connected.
In the pairing device for determining the bluetooth headset 12 according to the priority of at least two connectable electronic devices, all the electronic devices with the first N priority levels may be determined as the pairing device, or one electronic device may be randomly selected from the electronic devices with the first N priority levels as the pairing device for the bluetooth headset 12, which is not specifically limited in this embodiment of the present application.
Further, in order to determine the paired device of the bluetooth headset 12 according to the priorities of the at least two connectable electronic devices, in an alternative embodiment, S204 may include:
the bluetooth headset 12 selects a connectable electronic device having the highest priority from the priorities of at least two connectable electronic devices;
the bluetooth headset 12 determines the selected connectable electronic device as a pairing device of the bluetooth headset, and connects the pairing device.
Specifically, after the priorities of the at least two connectable electronic devices are acquired, the connectable electronic device with the highest priority is selected from the priorities of the at least two connectable electronic devices, the connectable electronic device with the highest selected priority is determined as the pairing device of the bluetooth headset 12, and the pairing device is connected.
The above is that the bluetooth headset 12 stores the priority in advance, and if there is no priority in the bluetooth headset 12, in an optional embodiment, the method may further include:
when there is no pre-stored priority in the bluetooth headset 12, the bluetooth headset 12 acquires a signal strength value of a bluetooth signal in at least two connectable electronic devices;
the bluetooth headset 12 determines the paired device of the bluetooth headset 12 according to the signal strength value, and connects the paired device.
Specifically, when there is no priority stored in advance in the bluetooth headset 12, in order to determine a paired device of the bluetooth headset 12, the bluetooth headset 12 acquires a signal strength value of a bluetooth signal in at least two connectable electronic devices, determines the paired device of the bluetooth headset 12 based on the signal strength value, and connects the determined paired device.
For example, all the first N electronic devices in the signal strength values may be determined as paired devices, or one electronic device may be randomly selected from the first N electronic devices in the signal strength values as a paired device of the bluetooth headset 12, which is not specifically limited in this embodiment of the present application.
Further, in order to determine a more suitable pairing device for the bluetooth headset 12, in an alternative embodiment, determining the pairing device for the bluetooth headset 12 according to the signal strength value and connecting the pairing device may include:
and determining the electronic equipment corresponding to the maximum value in the signal intensity values of the Bluetooth signals in the at least two connectable electronic equipments as the pairing equipment of the Bluetooth headset 12, and connecting the pairing equipment.
Specifically, the electronic device corresponding to the maximum value in the signal strength values of the bluetooth signals in the at least two connectable electronic devices may be determined as the paired device of the bluetooth headset 12, so that the bluetooth headset 12 is connected to the electronic device corresponding to the maximum value in the signal strength values of the bluetooth signals, and the auditory effect caused by the difference in the bluetooth signals is avoided.
In addition, for the black list of the bluetooth headset 12 and/or the white list of the bluetooth headset 12 set by the terminal 11 user through the background application of the bluetooth headset 12, in an optional embodiment, the method may further include:
and determining the electronic equipment which can be connected with the Bluetooth headset 12 in the current environment according to a pre-stored blacklist and/or white list of the Bluetooth headset 12.
Specifically, after the user of the terminal 11 inputs the blacklist of the bluetooth headset 12 and/or the white list of the bluetooth headset 12 through the background application program of the bluetooth headset 12, the blacklist of the bluetooth headset 12 and/or the white list of the bluetooth headset 12 is sent to the bluetooth headset 12, the bluetooth headset 12 stores the blacklist of the bluetooth headset 12 and/or the white list of the bluetooth headset 2, and when the bluetooth headset 12 searches for connectable electronic devices in the current environment, electronic devices in the blacklist of the bluetooth headset 12 and/or electronic devices outside the white list of the bluetooth headset 12 are automatically filtered according to the stored blacklist of the bluetooth headset 12 and/or the stored white list of the bluetooth headset 12, so that the connectable electronic devices of the bluetooth headset 12 in the current environment are determined.
Through the connection method, the problems of inaccurate connection and connection disturbance of the Bluetooth headset 12 are mainly solved, and a user can set the priority, the blacklist and the white list of the equipment matched with the Bluetooth headset 12 according to own habits. The automatic pairing rule of the electronic equipment meets the requirements of individual users in a scene, and negative experience that the user needs to cancel the automatic pairing electronic equipment and switch to the electronic equipment which the user wants to connect after the electronic equipment is connected by mistake is reduced.
In addition, connection reminding when other bluetooth earphones appear usually brings disturbance to the user, but according to the setting of the user, the embodiment of the application can shield the reminding when other bluetooth earphones appear in the scene that the user is using the own earphone, so that the disturbance is avoided, and the method and the device are particularly suitable for improving the earphone use experience in the multi-device scene such as office environment, market environment and the like.
The embodiment of the application provides a connection method, which comprises the following steps: when the Bluetooth headset has at least two connectable electronic devices, determining the priorities of the at least two connectable electronic devices according to the priorities stored in advance, determining a pairing device of the Bluetooth headset from the at least two connectable electronic devices according to the priorities of the at least two connectable electronic devices, and connecting the pairing device; that is to say, in the embodiment of the present application, the priorities of at least two connectable electronic devices of the bluetooth headset are determined according to the priorities stored in advance, so as to determine and connect the paired devices for the bluetooth headset according to the priorities of the at least two connectable electronic devices, and compared with the existing electronic device connected once when the bluetooth headset is connected, the electronic device is connected in a manner of adopting the priorities, so that the electronic device can be flexibly connected by flexibly setting the priorities instead of adopting a single fixed manner when the bluetooth headset is connected to the electronic device, thereby improving the flexibility of the bluetooth headset when connecting the electronic device.
Example two
The connection method will be described below with respect to each device side belonging to the connection system.
First, a connection method is described in the bluetooth headset side.
An embodiment of the present application provides a connection method, where the method is applied to a bluetooth headset, fig. 3 is a schematic flow diagram of an optional connection method provided in the embodiment of the present application, and as shown in fig. 3, the connection method may include:
s301: when the Bluetooth headset has at least two connectable electronic devices, determining priorities of the at least two connectable electronic devices according to pre-stored priorities;
s302: determining a pairing device of the Bluetooth headset from the at least two connectable electronic devices according to the priorities of the at least two connectable electronic devices, and connecting the pairing device.
In an alternative embodiment, S302 may include:
selecting a connectable electronic device having the highest priority from among priorities of at least two connectable electronic devices;
and determining the selected connectable electronic equipment as pairing equipment of the Bluetooth headset, and connecting the pairing equipment.
In an optional embodiment, the method further comprises:
when the pre-stored priority does not exist in the Bluetooth headset, acquiring signal strength values of Bluetooth signals in at least two connectable electronic devices;
and determining the paired equipment of the Bluetooth headset according to the signal intensity value, and connecting the paired equipment.
In an alternative embodiment, determining a paired device of the bluetooth headset according to the signal strength value and connecting the paired device includes:
and determining the electronic equipment corresponding to the maximum value in the signal intensity values of the Bluetooth signals in the at least two connectable electronic equipments as the pairing equipment of the Bluetooth headset, and connecting the pairing equipment.
In an optional embodiment, the method further comprises:
and determining the electronic equipment which can be connected with the Bluetooth headset in the current environment according to a pre-stored blacklist and/or white list of the Bluetooth headset.
Next, the above connection method is described with the terminal side.
An embodiment of the present application provides a connection method, where the method is applied to a terminal, fig. 4 is a schematic flow chart of another optional connection method provided in the embodiment of the present application, and as shown in fig. 4, the connection method may include:
s401: determining priority of electronic device connected with Bluetooth headset
S402: and sending the priority of the electronic equipment connected with the Bluetooth headset to the Bluetooth headset for storage.
In an alternative embodiment, S401 may include:
receiving setting information of a priority for an electronic device to which a Bluetooth headset is connected;
and determining the priority of the electronic equipment connected with the Bluetooth headset according to the setting information of the priority of the electronic equipment connected with the Bluetooth headset.
In an alternative embodiment, S401 may include:
and determining the priority of the electronic equipment connected with the Bluetooth headset according to the connection record of the electronic equipment connected with the Bluetooth headset or the type of the electronic equipment connected with the Bluetooth headset.
In an optional embodiment, the method further comprises:
receiving a blacklist and/or a white list of the Bluetooth headset;
and sending the blacklist and/or the white list of the Bluetooth headset to the Bluetooth headset for storage.
In an optional embodiment, the method further comprises:
when the terminal is connected with the Bluetooth headset and other connectable Bluetooth headsets exist in the current environment, the terminal is prohibited from being reminded of the existence of the other connectable Bluetooth headsets in the current environment.
In an alternative embodiment, when the terminal is connected with a bluetooth headset and there are other connectable bluetooth headsets in the current environment, the reminding terminal of the existence of the other connectable bluetooth headsets in the current environment is prohibited, comprising:
when the terminal is connected with the Bluetooth headset and other connectable Bluetooth headsets exist in the current environment, the terminal is prohibited from being reminded of the other connectable Bluetooth headsets existing in the current environment.
In addition, based on the same inventive concept of the foregoing embodiments, the embodiments of the present application provide a bluetooth headset, which is consistent with the bluetooth headset provided in one or more of the above embodiments.
Fig. 5 is a schematic structural diagram of an alternative bluetooth headset according to an embodiment of the present application, and as shown in fig. 5, the bluetooth headset includes:
a first determining module 51 for determining priorities of at least two connectable electronic devices according to pre-stored priorities when the bluetooth headset has the at least two connectable electronic devices;
a connection module 52, configured to determine a pairing device of the bluetooth headset from the at least two connectable electronic devices according to priorities of the at least two connectable electronic devices, and connect the pairing device.
In an alternative embodiment, the connection module 52 is specifically configured to:
selecting a connectable electronic device having the highest priority from among priorities of at least two connectable electronic devices;
and determining the selected connectable electronic equipment as pairing equipment of the Bluetooth headset, and connecting the pairing equipment.
In an alternative embodiment, the bluetooth headset is further configured to:
when the pre-stored priority does not exist in the Bluetooth headset, acquiring signal strength values of Bluetooth signals in at least two connectable electronic devices;
and determining the paired equipment of the Bluetooth headset according to the signal intensity value, and connecting the paired equipment.
In an alternative embodiment, the determining, by the bluetooth headset according to the signal strength value, a paired device of the bluetooth headset, and connecting the paired device, includes:
and determining the electronic equipment corresponding to the maximum value in the signal intensity values of the Bluetooth signals in the at least two connectable electronic equipments as the pairing equipment of the Bluetooth headset, and connecting the pairing equipment.
In an alternative embodiment, the bluetooth headset is further configured to:
and determining the electronic equipment which can be connected with the Bluetooth headset in the current environment according to a pre-stored blacklist and/or white list of the Bluetooth headset.
In practical applications, the first determining module 51 and the connecting module 52 may be implemented by a processor located on the bluetooth headset, specifically, implemented by a Central Processing Unit (CPU), a Microprocessor Unit (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like.
The embodiments of the present application provide a terminal, which is consistent with the terminal described in one or more embodiments above.
Fig. 6 is a schematic structural diagram of an optional terminal provided in an embodiment of the present application, and as shown in fig. 6, the terminal includes:
a second determining module 61, configured to determine a priority of an electronic device to which the bluetooth headset is connected;
and a sending module 62, configured to send the priority of the electronic device connected to the bluetooth headset for storage.
In an alternative embodiment, the second determining module 61 is specifically configured to:
receiving setting information of a priority for an electronic device to which a Bluetooth headset is connected;
and determining the priority of the electronic equipment connected with the Bluetooth headset according to the setting information of the priority of the electronic equipment connected with the Bluetooth headset.
In an alternative embodiment, the second determining module 61 is specifically configured to:
and determining the priority of the electronic equipment connected with the Bluetooth headset according to the connection record of the electronic equipment connected with the Bluetooth headset or the type of the electronic equipment connected with the Bluetooth headset.
In an alternative embodiment, the terminal is further configured to:
receiving a blacklist and/or a white list of the Bluetooth headset;
and sending the blacklist and/or the white list of the Bluetooth headset to the Bluetooth headset for storage.
In an alternative embodiment, the terminal is further configured to:
when the terminal is connected with the Bluetooth headset and other connectable Bluetooth headsets exist in the current environment, the terminal is prohibited from being reminded of the existence of the other connectable Bluetooth headsets in the current environment.
In an alternative embodiment, when the terminal is connected with a bluetooth headset and there are other connectable bluetooth headsets in the current environment, the terminal forbids to remind the terminal that there are other connectable bluetooth headsets in the current environment, including:
when the terminal is connected with the Bluetooth headset and other connectable Bluetooth headsets exist in the current environment, the terminal is prohibited from being reminded of the other connectable Bluetooth headsets existing in the current environment.
In practical applications, the second determining module 61 and the sending module 62 can be implemented by a processor located on the terminal, specifically, a CPU, an MPU, a DSP, or an FPGA.
Fig. 7 is a schematic structural diagram of another alternative bluetooth headset according to an embodiment of the present application, and as shown in fig. 7, an embodiment of the present application provides a bluetooth headset 700, including:
a processor 71 and a storage medium 72 storing instructions executable by the processor 71, the storage medium 72 operating in dependence of the processor 71 via a communication bus 73, the instructions when executed by the processor 71 performing the method of connection performed by a bluetooth headset in one or more of the embodiments described above.
It should be noted that, in practical applications, the various components in the terminal are coupled together by a communication bus 73. It will be appreciated that a communication bus 73 is used to enable communications among the components. The communication bus 73 includes a power bus, a control bus, and a status signal bus, in addition to a data bus. But for clarity of illustration the various buses are labeled in figure 7 as communication bus 73.
Fig. 8 is a schematic structural diagram of another alternative terminal provided in the embodiment of the present application, and as shown in fig. 8, an embodiment of the present application provides a terminal 800, including:
a processor 81 and a storage medium 82 storing instructions executable by the processor 81, the storage medium 82 relying on the processor 81 to perform operations via a communication bus 83, the instructions, when executed by the processor 81, performing the connection method performed by the terminal in one or more of the above embodiments.
It should be noted that, in practical applications, the various components in the terminal are coupled together by a communication bus 83. It will be appreciated that the communication bus 83 is used to enable communications among the components. The communication bus 83 includes a power bus, a control bus, and a status signal bus in addition to a data bus. But for clarity of illustration the various buses are labeled in figure 8 as communication bus 83.
Embodiments of the present application provide a computer storage medium storing executable instructions that, when executed by one or more processors, perform the connection method performed by the bluetooth headset in one or more embodiments as described above, or perform the connection method performed by the terminal in one or more embodiments as described above.
The computer-readable storage medium may be a magnetic random access Memory (FRAM), a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM), among others.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present application, and is not intended to limit the scope of the present application.

Claims (16)

1. A connection method is applied to a Bluetooth headset and comprises the following steps:
when the Bluetooth headset has at least two connectable electronic devices, determining priorities of the at least two connectable electronic devices according to pre-stored priorities;
determining a pairing device of the Bluetooth headset from the at least two connectable electronic devices according to the priorities of the at least two connectable electronic devices, and connecting the pairing device.
2. The method of claim 1, wherein said determining a pairing device of the bluetooth headset from the at least two connectable electronic devices according to the priorities of the at least two connectable electronic devices, connecting the pairing device comprises:
selecting a connectable electronic device having the highest priority from the priorities of the at least two connectable electronic devices;
and determining the selected connectable electronic equipment as pairing equipment of the Bluetooth headset, and connecting the pairing equipment.
3. The method of claim 1, further comprising:
acquiring a signal strength value of a bluetooth signal in the at least two connectable electronic devices when a pre-stored priority does not exist in the bluetooth headset;
and determining the paired equipment of the Bluetooth headset according to the signal intensity value, and connecting the paired equipment.
4. The method of claim 3, wherein determining the paired device of the Bluetooth headset according to the signal strength value and connecting the paired device comprises:
and determining the electronic equipment corresponding to the maximum value in the signal intensity values of the Bluetooth signals in the at least two connectable electronic equipment as the pairing equipment of the Bluetooth headset, and connecting the pairing equipment.
5. The method of claim 1, further comprising:
and determining the electronic equipment which can be connected with the Bluetooth headset in the current environment according to a pre-stored blacklist and/or white list of the Bluetooth headset.
6. A connection method is applied to a terminal and comprises the following steps:
determining the priority of the electronic equipment connected with the Bluetooth headset;
and sending the priority of the electronic equipment connected with the Bluetooth headset to the Bluetooth headset for storage.
7. The method of claim 6, wherein the determining the priority of the electronic device to which the Bluetooth headset is connected comprises:
receiving setting information of a priority for an electronic device to which the Bluetooth headset is connected;
and determining the priority of the electronic equipment connected with the Bluetooth headset according to the setting information of the priority of the electronic equipment connected with the Bluetooth headset.
8. The method of claim 6, wherein the determining the priority of the electronic device to which the Bluetooth headset is connected comprises:
and determining the priority of the electronic equipment connected with the Bluetooth headset according to the connection record of the electronic equipment connected with the Bluetooth headset or the type of the electronic equipment connected with the Bluetooth headset.
9. The method of claim 6, further comprising:
receiving a blacklist of the Bluetooth headset and/or a white list of the Bluetooth headset;
and sending the blacklist and/or the white list of the Bluetooth headset to the Bluetooth headset for storage.
10. The method of claim 6, further comprising:
when the terminal is connected with the Bluetooth headset and other connectable Bluetooth headsets exist in the current environment, the terminal is prohibited from being reminded that other connectable Bluetooth headsets exist in the current environment.
11. The method of claim 10, wherein the prohibiting alerting the terminal of the presence of other connectable bluetooth headsets in the current environment when the terminal is connected to the bluetooth headset and other connectable bluetooth headsets are present in the current environment comprises:
when the terminal is connected with the Bluetooth headset and other connectable Bluetooth headsets exist in the current environment, the terminal is prohibited from being reminded of the other connectable Bluetooth headsets existing in the current environment.
12. A bluetooth headset, comprising:
a first determination module for determining the priority of at least two connectable electronic devices according to a pre-stored priority when the bluetooth headset has the at least two connectable electronic devices;
the connecting module is used for determining a pairing device of the Bluetooth headset from the at least two connectable electronic devices according to the priorities of the at least two connectable electronic devices and connecting the pairing device.
13. A terminal, comprising:
the second determining module is used for determining the priority of the electronic equipment connected with the Bluetooth headset;
and the sending module is used for sending the priority of the electronic equipment connected with the Bluetooth headset to the Bluetooth headset for storage.
14. A bluetooth headset, comprising:
a processor and a storage medium storing instructions executable by the processor to perform operations dependent on the processor via a communication bus, the instructions when executed by the processor performing the method of any of the preceding claims 1 to 5.
15. A terminal, comprising:
a processor and a storage medium storing instructions executable by the processor to perform operations dependent on the processor via a communication bus, the instructions when executed by the processor performing the method of any of the preceding claims 6 to 11.
16. A computer storage medium storing executable instructions which, when executed by one or more processors, perform the connection method of any one of claims 1 to 5 or the connection method of any one of claims 6 to 11.
CN202110610812.8A 2021-06-01 2021-06-01 Connection method, Bluetooth headset, terminal and computer storage medium Pending CN113411794A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110610812.8A CN113411794A (en) 2021-06-01 2021-06-01 Connection method, Bluetooth headset, terminal and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110610812.8A CN113411794A (en) 2021-06-01 2021-06-01 Connection method, Bluetooth headset, terminal and computer storage medium

Publications (1)

Publication Number Publication Date
CN113411794A true CN113411794A (en) 2021-09-17

Family

ID=77675842

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110610812.8A Pending CN113411794A (en) 2021-06-01 2021-06-01 Connection method, Bluetooth headset, terminal and computer storage medium

Country Status (1)

Country Link
CN (1) CN113411794A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113766477A (en) * 2021-09-23 2021-12-07 Oppo广东移动通信有限公司 Device connection method, device, electronic device and computer readable medium
CN115086920A (en) * 2022-06-07 2022-09-20 Oppo广东移动通信有限公司 Wireless communication connection method, device, electronic equipment and storage medium
CN115190197A (en) * 2022-09-13 2022-10-14 荣耀终端有限公司 Bluetooth headset-based communication method and device and storage medium
WO2023103454A1 (en) * 2021-12-07 2023-06-15 荣耀终端有限公司 Connection method and apparatus
WO2023196397A1 (en) * 2022-04-06 2023-10-12 Bose Corporation Proximity-based connection for bluetooth devices

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080146151A1 (en) * 2006-12-18 2008-06-19 Samsung Electronics Co., Ltd. Apparatus and method for bluetooth connection in portable terminal
US20080242220A1 (en) * 2007-03-29 2008-10-02 Research In Motion Limited Method, system and mobile device for prioritizing a discovered device list
CN104038263A (en) * 2014-06-18 2014-09-10 小米科技有限责任公司 Method and device for establishing Bluetooth connection
CN108834122A (en) * 2018-07-02 2018-11-16 Oppo(重庆)智能科技有限公司 A kind of bluetooth recognition method, apparatus, equipment and storage medium
CN110191442A (en) * 2019-04-18 2019-08-30 华为技术有限公司 A kind of Bluetooth connecting method, equipment and system
CN111083684A (en) * 2019-12-23 2020-04-28 维沃移动通信有限公司 Method for controlling electronic equipment and electronic equipment
CN111629366A (en) * 2020-04-27 2020-09-04 Oppo(重庆)智能科技有限公司 Interaction method and device between Bluetooth devices, storage medium and electronic device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080146151A1 (en) * 2006-12-18 2008-06-19 Samsung Electronics Co., Ltd. Apparatus and method for bluetooth connection in portable terminal
US20080242220A1 (en) * 2007-03-29 2008-10-02 Research In Motion Limited Method, system and mobile device for prioritizing a discovered device list
CN104038263A (en) * 2014-06-18 2014-09-10 小米科技有限责任公司 Method and device for establishing Bluetooth connection
CN108834122A (en) * 2018-07-02 2018-11-16 Oppo(重庆)智能科技有限公司 A kind of bluetooth recognition method, apparatus, equipment and storage medium
CN110191442A (en) * 2019-04-18 2019-08-30 华为技术有限公司 A kind of Bluetooth connecting method, equipment and system
CN111083684A (en) * 2019-12-23 2020-04-28 维沃移动通信有限公司 Method for controlling electronic equipment and electronic equipment
CN111629366A (en) * 2020-04-27 2020-09-04 Oppo(重庆)智能科技有限公司 Interaction method and device between Bluetooth devices, storage medium and electronic device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113766477A (en) * 2021-09-23 2021-12-07 Oppo广东移动通信有限公司 Device connection method, device, electronic device and computer readable medium
WO2023103454A1 (en) * 2021-12-07 2023-06-15 荣耀终端有限公司 Connection method and apparatus
WO2023196397A1 (en) * 2022-04-06 2023-10-12 Bose Corporation Proximity-based connection for bluetooth devices
US11937159B2 (en) 2022-04-06 2024-03-19 Bose Corporation Proximity-based connection for Bluetooth devices
CN115086920A (en) * 2022-06-07 2022-09-20 Oppo广东移动通信有限公司 Wireless communication connection method, device, electronic equipment and storage medium
CN115190197A (en) * 2022-09-13 2022-10-14 荣耀终端有限公司 Bluetooth headset-based communication method and device and storage medium
CN115190197B (en) * 2022-09-13 2023-02-17 荣耀终端有限公司 Bluetooth headset-based communication method and device and storage medium

Similar Documents

Publication Publication Date Title
CN113411794A (en) Connection method, Bluetooth headset, terminal and computer storage medium
CN110168942B (en) Method, terminal, system and storage medium for selecting Bluetooth device
CN108476060B (en) Method for establishing classic Bluetooth connection between dual-mode Bluetooth devices and dual-mode Bluetooth device
KR101963424B1 (en) Message Transmission Method, and Message Reception Method and Apparatus
CN107370772B (en) account login method and device and computer readable storage medium
US9749329B2 (en) Network connection managing device, system and method
JP6144428B2 (en) Wireless LAN automatic connection method, wireless LAN automatic connection device, program, and recording medium
US20210321345A1 (en) Vehicle-to-everything synchronization method and device
KR20210044261A (en) Time slot format indication method, device, device, system and storage medium
EP3179705B1 (en) Message processing method, system and related device
JP6429896B2 (en) Base station access method, apparatus, program, and recording medium
KR20210076985A (en) BANDWIDTH PART CONFIGURATION METHOD AND DEVICE
CN104750523A (en) Information processing method and electronic equipment
CN111294175A (en) Information resource determination method, equipment and storage medium
CN109376062B (en) Network state prompting method and related device
US10852798B2 (en) Power supply control method and apparatus for power strip, and storage medium
CN110602683B (en) Bluetooth control method, device, mobile terminal and storage medium
JP2018503150A (en) Method, apparatus, program and recording medium for processing touch screen point reports
EP3157175A1 (en) Voice data transmission processing method, terminal, and computer storage medium
CN105204891B (en) Downloading method and device for shutdown of mobile terminal and mobile terminal
EP3768008B1 (en) Method and apparatus for indicating and searching for position of synchronous broadcast block of defined cell, and base station
CN108650702B (en) Broadcast information processing method and user terminal
CN108475097B (en) Electric quantity management method and terminal equipment
KR20240024305A (en) Frequency hopping method, device, user equipment, base station and storage medium
CN110603847B (en) Cell reselection method and device, electronic equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210917

RJ01 Rejection of invention patent application after publication