CN108924706B - Bluetooth headset switching control method, Bluetooth headset and computer readable storage medium - Google Patents

Bluetooth headset switching control method, Bluetooth headset and computer readable storage medium Download PDF

Info

Publication number
CN108924706B
CN108924706B CN201810670252.3A CN201810670252A CN108924706B CN 108924706 B CN108924706 B CN 108924706B CN 201810670252 A CN201810670252 A CN 201810670252A CN 108924706 B CN108924706 B CN 108924706B
Authority
CN
China
Prior art keywords
terminal
bluetooth headset
historical
communication connection
connection
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.)
Active
Application number
CN201810670252.3A
Other languages
Chinese (zh)
Other versions
CN108924706A (en
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.)
DONGGUAN CITY HELE ELECTRONIC Co.,Ltd.
Original Assignee
Dongguan City Hele Electronic 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 Dongguan City Hele Electronic Co ltd filed Critical Dongguan City Hele Electronic Co ltd
Priority to CN201810670252.3A priority Critical patent/CN108924706B/en
Publication of CN108924706A publication Critical patent/CN108924706A/en
Application granted granted Critical
Publication of CN108924706B publication Critical patent/CN108924706B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/12Circuits for transducers, loudspeakers or microphones for distributing signals to two or more loudspeakers

Abstract

The invention discloses a Bluetooth headset switching control method, a Bluetooth headset and a computer readable storage medium, wherein the method is applied to the Bluetooth headset and comprises the following steps: after communication connection is established with a first terminal, a historical connection terminal list is obtained, a terminal to be switched is determined from the historical connection terminal list, and the terminal to be switched is a terminal of which the historical communication connection times with a Bluetooth headset is greater than the historical communication connection times of the first terminal and the Bluetooth headset; the invention also discloses a Bluetooth headset and a computer readable storage medium, and by implementing the scheme, the terminal which is connected with the Bluetooth headset once and has the connection times larger than the connection times of the first terminal and the Bluetooth headset is automatically switched to, so that the operation of a user is more convenient, and the user experience is improved.

Description

Bluetooth headset switching control method, Bluetooth headset and computer readable storage medium
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a bluetooth headset switching control method, a terminal, and a computer-readable storage medium.
Background
Currently, in order to obtain better sound quality or avoid disturbing others, earphones are generally used to connect terminals to listen to music, broadcast, receive calls, and the like. And the appearance of the Bluetooth earphone enables a user to avoid the stumbling of a connecting wire of the traditional wired earphone, and more conveniently and comfortably answer a call, listen to music, listen to broadcast and the like. However, at present, after the bluetooth headset is connected with a certain terminal, if a user needs to switch the bluetooth headset to another terminal, the user is usually required to manually disconnect the bluetooth headset from the terminal, and then connect the bluetooth headset to another terminal, which is cumbersome to operate, and in some special occasions or situations, the user inconveniently operates the bluetooth headset, so that the terminal connected with the bluetooth headset cannot be switched, and the user experience satisfaction is reduced.
Disclosure of Invention
The technical problems to be solved by the present invention are that after the existing bluetooth headset is connected to a certain terminal, when a user needs to connect the bluetooth headset to another terminal, the user needs to manually switch, the operation is troublesome, and the user experience satisfaction is low.
In order to solve the above technical problem, the present invention provides a bluetooth headset switching control method, which is applied to a bluetooth headset, and the bluetooth headset switching control method includes:
after the Bluetooth headset establishes communication connection with a first terminal, acquiring a historical connection terminal list;
determining a terminal to be switched from a historical connection terminal list, wherein the historical communication connection times of the terminal to be switched and the Bluetooth headset are greater than the historical communication connection times of the first terminal and the Bluetooth headset;
and disconnecting the communication connection with the first terminal, and establishing the communication connection with the terminal to be switched through Bluetooth.
Optionally, before acquiring the historical connection terminal list, the method further includes:
judging whether the Bluetooth headset and the first terminal establish communication connection through Bluetooth or not;
and if the Bluetooth headset and the first terminal establish communication connection through Bluetooth, acquiring a historical connection terminal list.
Optionally, before acquiring the historical connection terminal list, the method further includes:
judging whether the Bluetooth headset is in first communication connection with the first terminal;
and if the Bluetooth headset is not in first communication connection with the first terminal, acquiring a historical connection terminal list.
Optionally, before acquiring the historical connection terminal list, the method further includes:
judging whether the Bluetooth headset carries out data transmission with a first terminal at present;
and if the Bluetooth headset does not transmit data with the first terminal currently, acquiring a historical connection terminal list.
Optionally, before acquiring the historical connection terminal list, the method further includes:
judging whether the historical communication connection frequency of the first terminal and the Bluetooth headset is maximum in historical connection terminals;
and if the historical communication connection times of the first terminal and the Bluetooth headset are not the maximum in the historical connection terminals, acquiring a historical connection terminal list.
Optionally, the establishing, by the bluetooth headset, a communication connection with the first terminal includes:
searching a historical connection terminal when the Bluetooth function of the Bluetooth headset is turned on;
and establishing communication connection with a first terminal through Bluetooth, wherein the first terminal is the terminal with the highest historical communication connection frequency with the Bluetooth headset in the searched historical connection terminals.
Optionally, before the communication connection with the first terminal is disconnected, the method further includes:
sending inquiry information whether to disconnect the communication connection to the first terminal;
and receiving the disconnection confirmation information fed back by the first terminal for the inquiry information.
Optionally, the establishing of the communication connection with the terminal to be switched through bluetooth includes:
and establishing communication connection with a second terminal through Bluetooth, wherein the second terminal is the terminal with the highest historical communication connection frequency with the Bluetooth headset in the terminals to be switched.
Furthermore, the invention also provides a Bluetooth headset which is characterized by comprising a processor, a memory and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is used for executing one or more programs stored in the memory so as to realize the steps of the switching control method of the Bluetooth headset.
Further, the present invention also provides a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps of the above-mentioned bluetooth headset switching control method.
Advantageous effects
The invention provides a Bluetooth headset switching control method, a Bluetooth headset and a computer readable storage medium, wherein the Bluetooth headset switching control method is applied to the Bluetooth headset, and a historical connection terminal list is acquired after communication connection is established with a first terminal; determining a terminal to be switched from a historical connection terminal list, wherein the terminal to be switched is a terminal of which the historical communication connection times with the Bluetooth headset is greater than the historical communication connection times of the first terminal and the Bluetooth headset; then, the communication connection with the first terminal is disconnected, and the communication connection with the terminal to be switched is established through Bluetooth, namely, after the communication connection is established between the Bluetooth headset and the first terminal, a historical connection terminal list is obtained, the terminal with the number of times of communication connection between the Bluetooth headset and the Bluetooth headset, which is greater than the number of times of communication connection between the first terminal and the Bluetooth headset, is screened out from the historical connection terminal list, the terminal is determined as the terminal to be switched, the communication connection with the first terminal is disconnected, and the communication connection with the terminal to be switched is established through Bluetooth; compared with the scheme that after the Bluetooth headset is connected with a certain terminal, the connection between the Bluetooth headset and other terminals can be established only by manual switching of a user in the prior art, the scheme provided by the invention can be automatically switched to the terminal which is connected with the Bluetooth headset once and has the communication connection frequency with the Bluetooth headset greater than that of the first terminal and the Bluetooth headset when the condition is met, namely, the user does not need to participate, the terminal can be automatically switched to other terminals, the operation of the user is more convenient, and the user experience is improved.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
fig. 1 is a schematic diagram of a hardware structure of an optional bluetooth headset for implementing various embodiments of the present invention.
Fig. 2 is a basic flowchart of a bluetooth headset switching control method according to a first embodiment of the present invention;
fig. 3 is a flowchart of confirming a terminal to be switched according to a first embodiment of the present invention;
fig. 4 is a flowchart of sending inquiry information to a first terminal according to a first embodiment of the present invention;
fig. 5 is a detailed flowchart of a bluetooth headset switching control method according to a second embodiment of the present invention;
fig. 6 is a schematic structural diagram of a bluetooth headset according to a third embodiment of the present invention;
fig. 7 is a detailed flowchart of a bluetooth headset switching control method according to a third embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
Bluetooth headsets may be implemented in various forms. The following description will be given by taking a bluetooth headset as an example.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a bluetooth headset for implementing various embodiments of the present invention, the bluetooth headset 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the bluetooth headset configuration shown in fig. 1 does not constitute a limitation of the bluetooth headset, and that the bluetooth headset may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the bluetooth headset in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 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. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex-Long Term Evolution), and TDD-LTE (Time Division duplex-Long Term Evolution).
WiFi belongs to short-range wireless transmission technology, and bluetooth headset can help user send and receive e-mail, browse web page and access streaming media etc. through WiFi module 102, it provides wireless broadband internet access for user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the bluetooth headset and can be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the bluetooth headset 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the bluetooth headset 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The bluetooth headset 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or backlight when the bluetooth headset 100 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in various directions (generally, three axes), and can detect the magnitude and direction of gravity when the accelerometer sensor is stationary; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor and the like which can be configured on the bluetooth headset, the details are not repeated herein.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the bluetooth headset. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the bluetooth headset, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the bluetooth headset, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device can be connected to the bluetooth headset 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the bluetooth headset 100 or may be used to transmit data between the bluetooth headset 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function) required by at least one function, and the like; the storage data area may store data (such as audio data, etc.) created according to the use of the bluetooth headset, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the bluetooth headset, connects various parts of the entire bluetooth headset using various interfaces and lines, and performs various functions of the bluetooth headset and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the bluetooth headset. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The bluetooth headset 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system.
Although not shown in fig. 1, the bluetooth headset 100 further includes a bluetooth module and the like, which will not be described herein.
Based on the above-mentioned bluetooth headset hardware structure, the present invention proposes various embodiments of the method.
First embodiment
In order to solve the problems that after an existing bluetooth headset is connected to a certain terminal, when a user needs to connect the bluetooth headset to another terminal, the user needs to manually switch the bluetooth headset, the operation is troublesome, and the user experience satisfaction is low, this embodiment provides a bluetooth headset switching control method, which is applied to a bluetooth headset, as shown in fig. 2, fig. 2 is a basic flowchart of the bluetooth headset switching control method provided by this embodiment, and the bluetooth headset switching control method includes:
s201, after communication connection is established with a first terminal, a historical connection terminal list is obtained.
In this embodiment, the bluetooth headset may be implemented in various forms, for example, the bluetooth headset shown in fig. 1.
In this embodiment, the first terminal may be implemented in various forms as long as the first terminal can establish a communication connection with the bluetooth headset. For example, the first terminal described in the present embodiment may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like. In this embodiment, the history connection terminal is a terminal that establishes a communication connection with the bluetooth headset through bluetooth, and the history connection terminal may be implemented in various forms, which is specifically described in the description of the first terminal and is not described herein again. That is to say, in this embodiment, after the bluetooth headset establishes a communication connection with any external terminal, a connection record with the external device is saved, and after the bluetooth headset establishes a communication connection with the first terminal, a historical connection terminal list is obtained according to the connection record. In this embodiment, after the bluetooth headset establishes the communication connection with the first terminal, only the history connection terminal list that has established the communication connection with the bluetooth headset in the latest first history time period may be obtained, where the first history time period may be 1 year, half year, 1 month, and the like, and specifically, may be flexibly set as required. For example, assuming that the first historical period is 3 months, the terminal 1 has connected the bluetooth headset before 3 months, and the terminals 2, 3, and 4 have connected the bluetooth headset within the last 3 months, since only the historical connection terminal list within the last 3 months is obtained after the bluetooth headset establishes a communication connection with the first terminal, the obtained historical connection terminal list includes the terminals 2, 3, and 4. In this embodiment, after the bluetooth headset establishes communication connection with the first terminal, only the historical connection terminal list that is currently in the bluetooth headset search range and starts the bluetooth function may be obtained, that is, after the bluetooth headset establishes communication connection with the first terminal, the historical connection terminal list is obtained by automatically searching the historical connection terminal and searching the historical connection terminal that is in the bluetooth headset search range and starts the bluetooth function.
It should be noted that, in this embodiment, the communication connection established between the bluetooth headset and the first terminal may be a connection that can perform communication after any connection is made, for example, the communication connection established between the bluetooth headset and the first terminal may be a communication connection established through bluetooth. Some bluetooth headsets not only support to establish communication connection with external equipment through bluetooth, but also support to establish communication connection with external equipment through a pickup line and an earphone port on the external equipment (namely, one end of the pickup line is connected with the bluetooth headset, the other end is connected with the earphone port of the external equipment, and after connection, the bluetooth headset and the external equipment can perform data transmission).
When the communication connection established between the bluetooth headset and the first terminal is established through bluetooth, the process of establishing the communication connection through bluetooth may be to establish the communication connection between the bluetooth headset and the first terminal according to the operation of the user; or when the bluetooth headset is turned on, randomly selecting a first terminal from the historical connection terminals, and then establishing a communication connection between the bluetooth headset and the first terminal, that is, when the bluetooth headset is turned on, automatically searching the historical connection terminals, randomly selecting one terminal from the searched historical connection terminals as the first terminal, and establishing a communication connection between the bluetooth headset and the first terminal.
In this embodiment, the process of establishing the communication connection between the bluetooth headset and the first terminal through bluetooth may further be: and screening out a terminal with the maximum communication connection frequency with the Bluetooth headset from the searched historical connection terminals as a first terminal, and establishing communication connection with the first terminal, namely, automatically searching the historical connection terminals which establish communication connection with the Bluetooth headset when the Bluetooth headset is opened, screening out the terminal with the maximum communication connection frequency from the searched historical connection terminals, and then establishing connection with the terminal. For example, suppose that terminals a, B, C and D have established communication connections with bluetooth headsets, wherein the number of times that terminals a and D establish communication connections with bluetooth headsets is 10, the number of times that terminal B establishes communication connections with bluetooth headsets is 5, the number of times that terminal C establishes communication connections with bluetooth headsets is 1, the time that terminal a connects to bluetooth headsets last is two days before, the time that terminal D connects to bluetooth headsets last is one day before, when bluetooth headsets are turned on, the bluetooth functions of terminals a, D and B are all in an on state, and are within the search range of bluetooth headsets, the bluetooth function of terminal C is in an off state, therefore, the bluetooth headsets search for terminal a, D and B, 3 searched historical connection terminals, the number of times of communication connections of terminal a and D is the largest, therefore, one of the terminal a and the terminal D is selected as the first terminal, and since the time when the terminal a connects to the bluetooth headset last is two days before and the time when the terminal D connects to the bluetooth headset last is one day before, the terminal D is selected as the first terminal, and the communication connection between the terminal D and the bluetooth headset is established. Since, in this scheme, it is necessary to acquire the number of communication connections of each historical connection terminal, when the bluetooth headset establishes a communication connection with an external terminal, the bluetooth headset needs to not only store the connected terminals, but also count the number of communication connections of each terminal. If the process that the Bluetooth headset establishes communication connection with the first terminal through Bluetooth is as follows: the terminal which has the largest number of times of establishing communication connection with the Bluetooth headset is screened out from the searched historical connection terminals to be used as a first terminal, and communication connection with the first terminal is established, the first terminal is the terminal which has the highest number of times of establishing communication connection in the searched historical connection terminals, if the switching step (namely the historical connection terminal list and the subsequent steps) is started to be executed when the Bluetooth headset is in communication connection with the first terminal, the terminal which has the highest number of times of communication connection in the obtained historical connection terminal list is still the first terminal, and therefore the historical connection terminal list can be started to be obtained after the first time period when the Bluetooth headset is in communication connection with the first terminal. For example, after the bluetooth headset establishes a communication connection with the first terminal for 30 seconds, the steps of acquiring the historical connection terminal list and subsequently determining the terminal to be switched from the historical connection terminal list are started.
In this embodiment, after the bluetooth headset establishes the communication connection with the first terminal, it may be that the user does not want to switch the terminal that establishes the communication connection with the bluetooth headset, and therefore, before obtaining the history connection terminal list, it may also be determined whether the bluetooth headset is in the automatic switching mode, if so (i.e., if the bluetooth headset is in the automatic switching mode), the history connection terminal searching and the subsequent steps are performed, and if not (i.e., if the bluetooth headset is not in the automatic switching mode), the process is ended. That is, only after the switching mode is turned on, the bluetooth headset performs the automatic switching step, and when the switching mode is in the off state, the automatic switching is not performed.
In this embodiment, if the communication connection established between the bluetooth headset and the first terminal is the communication connection established between the bluetooth headset and the headset interface on the first terminal through the pickup line, the first terminal is a terminal to which the user wants to connect to a great extent, and therefore, before searching for the historical connection terminal, the bluetooth headset may further determine whether the bluetooth headset and the first terminal establish the communication connection through bluetooth, if so (i.e., if it is determined that the bluetooth headset and the first terminal establish the communication connection through bluetooth), the history connection terminal list and subsequent steps are executed, and if not (i.e., if it is determined that the bluetooth headset and the first terminal do not establish the communication connection through bluetooth), the process is ended. That is, only when the bluetooth headset and the first terminal establish a communication connection through bluetooth, the subsequent automatic switching step is performed.
When the bluetooth headset establishes the first communication connection with the external terminal, the user is usually required to perform authentication, and therefore, if the bluetooth headset is connected with the external terminal for the first time, it is indicated to a great extent that the external device connected with the bluetooth headset is the external device that the user wants to connect. Therefore, before the historical connection terminal list is obtained, whether the bluetooth headset is in first communication connection with the first terminal or not can be judged, if not (namely, if the bluetooth headset is not in first communication connection with the first terminal), the historical connection terminal list and the subsequent steps are executed, and if yes (namely, if the bluetooth headset is in first communication connection with the first terminal), the historical connection terminal list obtaining is ended. That is, the automatic switching step is not performed when the bluetooth headset is in communication connection with the first terminal for the first time.
If the bluetooth headset is currently performing data transmission with the first terminal, for example, the user is listening to a song, a broadcast, a telephone, etc. on the first terminal using the bluetooth headset, it indicates that the first terminal is the terminal that the user wants to connect to, and no switching is needed. Therefore, before the historical connection terminal list is obtained, whether the bluetooth headset is currently in data transmission with the first terminal can be judged, if so, the data transmission is finished (namely, the bluetooth headset is currently in data transmission with the first terminal), and if not, the historical connection terminal list and the subsequent steps are executed. That is to say, if the bluetooth headset performs data transmission with the first terminal, the subsequent automatic switching step will not be performed by itself.
If the connection time of the bluetooth headset and the first terminal is longer, it is indicated to a great extent that the first terminal is the terminal that the user wants to connect. Therefore, before the historical connection terminal list is obtained, whether the connection time of the bluetooth headset and the first terminal exceeds the preset second time period or not can be judged, if yes (namely, if the connection time of the bluetooth headset and the first terminal does not exceed the preset second time period), the process is finished, and if not (namely, if the connection time of the bluetooth headset and the first terminal exceeds the preset second time period), the historical connection terminal list and the subsequent steps are obtained. That is, the history connection terminal list is obtained only in a second time period after the connection between the bluetooth headset and the first terminal is established, the subsequent steps are executed, and the history connection terminal search is stopped after the second time period. The second time period may be 2 minutes, 5 minutes, etc., and it should be noted that the second time period should be greater than the first time period.
If the communication connection frequency between the first terminal and the Bluetooth headset is the highest in the historical connection terminals, in the subsequent process, even if the historical connection terminal list is acquired, the terminal with the communication connection frequency larger than the communication connection frequency of the first terminal cannot be screened out from the historical connection terminal list, so that before the historical connection terminal list is acquired, whether the historical communication connection frequency between the first terminal and the Bluetooth headset is the highest in the historical connection terminals can be judged; if not (namely if the historical communication connection times of the first terminal and the Bluetooth headset in the historical connection terminals are not the maximum), executing the steps of obtaining the historical connection terminal list and the subsequent steps, and if so (namely if the historical communication connection times of the first terminal and the Bluetooth headset in the historical connection terminals are the maximum), ending the steps.
S202, determining the terminal to be switched from the acquired historical connection terminal list.
After the historical connection terminal list is obtained, the terminal to be switched needs to be determined from the historical connection terminal list, where the terminal to be switched is a terminal whose historical communication connection times with the bluetooth headset is greater than the historical connection communication times of the first terminal with the bluetooth headset, that is, after the historical connection terminal list is obtained, please refer to fig. 3, the following steps are further performed:
s301, judging whether the historical communication connection times of the historical connection terminals in the historical connection terminal list are larger than the historical communication connection times of the first terminal.
If so (i.e., if the historical communication connection times of the historical connection terminals in the historical connection terminal list are greater than the historical communication connection times of the first terminal), the step S302 is switched to, and if not (i.e., if the historical communication connection times of the historical connection terminals in the historical connection terminal list are less than or equal to the historical communication connection times of the first terminal), the step S is ended.
Namely, whether the historical communication connection times of the historical connection terminals in the historical connection terminal list and the Bluetooth headset is larger than the historical communication connection times of the first terminal and the Bluetooth headset is judged.
S302, the terminal is determined as the terminal to be switched.
For example, if the historical connection terminals in the historical connection terminal list are terminal E, terminal F, and terminal G, where the number of times the bluetooth headset establishes communication connection with terminal E is 20, the number of times the bluetooth headset establishes communication connection with terminal F is 9, the number of times the bluetooth headset establishes communication connection with terminal G is 7, and the number of times the bluetooth headset establishes communication connection with the first terminal is 8, because; the number of times that the Bluetooth headset establishes communication connection with the terminal F and the terminal E is larger than the number of times that the Bluetooth headset establishes communication connection with the first terminal, so that the terminal F and the terminal E are terminals to be switched.
In this embodiment, in the subsequent step S203, in order to automatically establish a communication connection with the terminal to be switched through bluetooth, the terminal to be switched may be a terminal whose bluetooth function is turned on and which is within a search range of the bluetooth headset, and therefore, the number of times of the historical communication connection between the terminal to be switched and the bluetooth headset is greater than the number of times of the historical communication connection between the first terminal and the bluetooth headset, and the terminal whose bluetooth function is turned on and which is within the search range of the bluetooth headset. Namely, the process of determining the terminal to be switched from the historical connection terminal list is as follows: and detecting historical connection terminals which are currently located in the searching range of the Bluetooth headset and have opened Bluetooth functions in the historical connection terminal list, and screening out terminals of which the historical communication connection times are greater than that of the first terminal from the terminals.
S203, disconnecting the communication connection with the first terminal, and establishing the communication connection with the terminal to be switched through Bluetooth.
In this embodiment, after determining the terminal to be switched, the bluetooth headset further needs to disconnect the communication connection with the first terminal, and establish the communication connection with the terminal to be switched through bluetooth, thereby completing the automatic switching process. In this embodiment, the number of terminals to be switched may be 0, that is, there is no terminal with a historical communication connection frequency greater than that of the first terminal in the historical connection terminal list, so that there is no terminal to be switched, and the communication connection with the first terminal may not be maintained. The number of the terminals to be switched can be 1, so that the communication connection between the Bluetooth headset and the terminals to be switched is established, the number of the terminals to be switched can be more than or equal to 2, so that one terminal can be selected from any one of the terminals to be switched, and then the Bluetooth headset establishes the communication connection with the terminal through Bluetooth; and determining a second terminal from the terminals to be switched, wherein the second terminal is the terminal with the highest historical communication connection frequency with the Bluetooth headset in the terminals to be switched. For example, if the number of historical communication connections between the terminal 1 to be switched and the bluetooth headset is 19, and the number of historical communication connections between the terminal 2 to be switched and the bluetooth headset is 17, the bluetooth headset and the terminal 1 to be switched establish communication connection through bluetooth. In some cases, the terminal to be switched may have a plurality of terminals with the largest number of times of establishing communication connections with the bluetooth headset, and then a terminal with the time of establishing communication connections with the bluetooth headset for the last time that is closest to the current time is selected from the plurality of terminals as the second terminal, for example, the number of times of communication connections of the terminal to be switched 3 and the terminal to be switched 4 is 20, which is the number of times of communication connections of the terminal to be switched, and is 1 hour before the time of establishing communication connections between the terminal to be switched 3 and the bluetooth headset for the last time, and is 5 hours before the time of establishing communication connections between the terminal to be switched 4 and the bluetooth headset for the last time, then the bluetooth headset establishes communication connections with the terminal to be switched 3 through bluetooth.
In this embodiment, before the bluetooth headset disconnects the communication connection with the first terminal, the bluetooth headset may further send inquiry information to the first terminal and receive information fed back by the first terminal for the inquiry information, if the fed back information is disconnection confirmation information, the disconnection and subsequent steps may be performed with the first terminal, and if the fed back information is not disconnection confirmation information, the communication connection with the first terminal may be maintained. Specifically, please refer to fig. 4:
s401, sending inquiry information of whether to disconnect the communication connection to the first terminal.
S402, receiving information fed back by the first terminal aiming at the inquiry information.
And S403, judging whether the feedback information is the disconnection confirming information.
If so (i.e., if the feedback information is the confirmed disconnection information), go to S404, otherwise (i.e., if the feedback information is not the confirmed disconnection information), and end.
S404, disconnecting the communication connection with the first terminal, and establishing the communication connection with the terminal to be switched through Bluetooth.
The bluetooth headset switching control method provided by the embodiment is applied to a bluetooth headset, and a historical connection terminal list is acquired after communication connection is established with a first terminal; determining a terminal to be switched from a historical connection terminal list, wherein the terminal to be switched is a terminal of which the historical communication connection times with the Bluetooth headset is greater than the historical communication connection times of the first terminal and the Bluetooth headset; then, the communication connection with the first terminal is disconnected, and the communication connection with the terminal to be switched is established through bluetooth, that is, after the communication connection between the bluetooth headset and the first terminal is established, the terminal with the number of times of communication connection with the bluetooth headset larger than the number of times of communication connection between the first terminal and the bluetooth headset is screened out from the historical connection list, the terminal is determined as the terminal to be switched, the communication connection with the first terminal is disconnected, and the communication connection with the terminal to be switched is established through bluetooth; compared with the scheme that after the Bluetooth headset is connected with a certain terminal in the prior art, the connection between the Bluetooth headset and other terminals can be established only by manually switching by a user, the scheme provided by the embodiment can be automatically switched to the terminal which is connected with the Bluetooth headset once when the condition is met, and the communication connection frequency with the Bluetooth headset is greater than that between the first terminal and the Bluetooth headset.
Second embodiment
For better understanding of the present invention, this embodiment is described with reference to a more specific example, please refer to fig. 5, and fig. 5 is a detailed flowchart of a bluetooth headset switching control method according to a second embodiment of the present invention, where the bluetooth headset switching control method includes:
s501, when the Bluetooth headset is turned on, the historical connection terminal is automatically searched.
After the Bluetooth headset is turned on and the Bluetooth function is turned on, the Bluetooth headset can automatically search for a terminal which is in communication connection with the Bluetooth headset through Bluetooth.
S502, screening out a first terminal with the highest communication connection frequency with the Bluetooth headset from the searched historical connection terminals.
After searching the historical connection terminals, screening out the terminal with the largest number of communication connection times from the searched terminals, and using the terminal as the first terminal, that is, the first terminal is the terminal which establishes the largest number of communication connection times with the bluetooth headset in the searched historical connection terminals. If the number of the terminals with the largest number of communication connections among the searched terminals is greater than or equal to 2, the terminal with the time of the last communication connection with the bluetooth headset closest to the current time is taken as the first terminal, for example, the number of the communication connections between the terminal Z and the terminal F is the largest, and if the time of the last communication connection between the terminal Z and the bluetooth headset is 1 hour before, and the time of the last communication connection between the terminal F and the bluetooth headset is 10 hours before, the terminal Z is taken as the first terminal.
S503, establishing communication connection between the Bluetooth headset and the first terminal through Bluetooth.
In this embodiment, after the bluetooth headset determines the first terminal, the bluetooth headset establishes a communication connection with the first terminal through bluetooth.
S504, whether the Bluetooth headset is in an automatic switching mode at present is judged.
If so (i.e., if the bluetooth headset is currently in the automatic switching mode), go to S505, otherwise (i.e., if the bluetooth headset is not currently in the automatic switching mode), and end.
And S505, judging whether the Bluetooth headset carries out data transmission with the first terminal currently.
If yes (i.e., if the bluetooth headset is currently performing data transmission with the first terminal), the process ends, and if not (i.e., if the bluetooth headset is not currently performing data transmission with the first terminal), the process goes to S506.
S506, judging whether the historical communication connection frequency of the first terminal is maximum in all the historical connection terminals.
And judging whether the communication connection frequency between the first terminal and the Bluetooth headset is the maximum among all the terminals which establish communication connection with the Bluetooth headset, if so, ending, and if not, turning to S507.
In other embodiments, the time sequence of S504, S505, and S506 is not limited, that is, S506, then S505, and then S504 may be executed first.
And S507, after the Bluetooth headset establishes communication connection with the first terminal for a first time period, searching historical connection terminals.
Wherein, assuming that the first time period is 1 minute, after the bluetooth headset establishes a communication connection with the first terminal for 1 minute, the history connection terminal is searched. In this embodiment, for a terminal connected long ago, the probability that the user wants to connect to this terminal is small, so in S507, only the terminal in the latest time period, that is, the history connection terminal in the first history time period, for example, the history connection terminal in the latest 1 month may be searched.
S508, whether the terminal with the number of historical communication connection times of the Bluetooth headset larger than that of the first terminal exists in the searched historical connection terminals is judged.
Namely, whether a terminal with historical communication connection times with the Bluetooth headset larger than the historical communication connection times of the first terminal and the Bluetooth headset exists in the searched historical connection terminals is judged.
If so (i.e., if the terminal with the bluetooth headset and the historical communication connection frequency greater than that of the first terminal exists in the searched historical connection terminals), the process goes to step S509, and if not (i.e., if the terminal with the bluetooth headset and the historical communication connection frequency greater than that of the first terminal does not exist in the searched historical connection terminals), the process ends. It should be understood that the searched history connection terminal is the history connection terminal which is in the search range of the bluetooth headset and the bluetooth function is turned on. In this embodiment, only the history connection terminals searched at this time are included in the history connection terminal list.
And S509, taking the terminal as a terminal to be switched.
In other words, in the searched historical connection terminals, the terminal with the historical communication connection times larger than the historical communication connection times of the first terminal and the Bluetooth headset is used as the terminal to be switched.
And S510, screening the terminal with the maximum historical communication connection times from the terminals to be switched as a second terminal.
S511, sending inquiry information on whether to disconnect the communication connection to the first terminal.
The inquiry information may also carry information of the terminal to be connected (i.e., the second terminal).
And S512, receiving disconnection confirmation information fed back by the first terminal according to the inquiry information.
Of course, in other embodiments, the information fed back by the terminal may not be disconnected, and the process is ended.
S513, the communication connection with the first terminal is disconnected, and the communication connection with the second terminal is established through Bluetooth.
In the method for controlling switching of the bluetooth headset provided by the embodiment, after the bluetooth headset establishes communication connection with the first terminal, a historical connection terminal is searched; determining a terminal to be switched from the searched historical connection terminals, wherein the terminal to be switched is a terminal of which the historical communication connection times with the Bluetooth headset is greater than the historical communication connection times of the first terminal and the Bluetooth headset; then, disconnecting the communication connection with the first terminal, and establishing the communication connection with a second terminal through bluetooth, wherein the second terminal is a terminal with the largest number of times of historical communication connections in the terminals to be switched, that is, after the bluetooth headset establishes the communication connection with the first terminal, the terminal which has been connected with the bluetooth headset is searched, and a terminal with the number of times of communication connections with the bluetooth headset larger than the number of times of communication connections between the first terminal and the bluetooth headset is selected from the searched terminals, and is confirmed as the terminal to be switched, and the terminal with the largest number of times of historical communication connections is selected from the terminals to be switched and is used as the second terminal, and the communication connection with the first terminal is disconnected, and the communication connection with the second terminal is established through bluetooth; compared with the scheme that after the Bluetooth headset is connected with a certain terminal in the prior art, the connection between the Bluetooth headset and other terminals can be established only by manually switching the user, the scheme provided by the embodiment can be automatically switched to the terminal which is connected with the Bluetooth headset once when the condition is met, the communication connection frequency with the Bluetooth headset is greater than that of the first terminal and the Bluetooth headset, namely, the user does not need to participate, the connection can be automatically switched to other terminals, the operation of the user is more convenient, and the user experience is improved.
Third embodiment
The present embodiment provides a computer-readable storage medium, such as a floppy disk, an optical disk, a hard disk, a flash memory, a usb disk, a CF card, an SD card, an MMC card, etc., in which one or more programs for implementing the above steps are stored, and the one or more programs can be executed by one or more processors to implement the steps of the bluetooth headset switching control method according to at least one of the first and second embodiments. And will not be described in detail herein.
Referring to fig. 6, the bluetooth headset of the present embodiment further includes a processor 601, a memory 602, and a communication bus 603.
The communication bus 603 in this embodiment is used for implementing connection communication between the processor 601 and the memory 602;
the processor 601 is configured to execute one or more programs stored in the memory 602 to implement the steps of the bluetooth headset switching control method according to at least one of the first embodiment and the second embodiment. And will not be described in detail herein.
The computer-readable storage medium and the bluetooth headset provided in this embodiment may also implement two methods for switching the bluetooth headset, as shown in fig. 7, the method for controlling switching of the bluetooth headset includes:
s701, the Bluetooth headset and the first terminal are in communication connection.
S702, judging whether the Bluetooth headset and the first terminal establish communication connection through Bluetooth.
If so (i.e., if the bluetooth headset and the first terminal establish a communication connection through bluetooth), go to S703, if not (i.e., if the bluetooth headset and the first terminal do not establish a communication connection through bluetooth), and end.
And S703, judging whether the Bluetooth headset is connected with the first terminal for the first time.
If so (i.e., if the bluetooth headset is connected to the first terminal for the first time), the process ends, and if not (i.e., if the bluetooth headset is not connected to the first terminal for the first time), the process goes to S704.
S704, judging whether the historical communication connection times of the first terminal and the Bluetooth headset are the maximum in the historical connection terminals.
If yes, the process is terminated, otherwise, the process goes to S705.
In this embodiment, the execution steps of S702, S703, and S704 are not limited, that is, S702, S703, and S704 may be executed simultaneously or in other orders.
S705, a history connection terminal list is obtained.
In this embodiment, the history connection terminal in the history connection terminal list obtained is the history connection terminal which is in the search range of the bluetooth headset and has the bluetooth function turned on.
For example, assuming that the terminal H, the terminal I, the terminal J, and the terminal K have established communication connection with the bluetooth headset, and assuming that the bluetooth functions of the terminal H, the terminal I, and the terminal K are all turned on and are within the range of the bluetooth headset, and the bluetooth function of the terminal J is not turned on, the historical connection terminals in the historical connection terminal list are the terminal H, the terminal I, and the terminal K.
S706, judging whether a terminal with the historical communication connection frequency of the Bluetooth headset larger than that of the first terminal exists in the historical connection terminal list.
That is, whether a terminal with a history communication connection frequency larger than that of the first terminal and the bluetooth headset exists in the searched history connection terminal list is judged. If yes, go to S707, if no, end.
In this embodiment, it is assumed that the number of communication connections between the terminal H and the bluetooth headset is 30, the number of communication connections between the terminal I and the bluetooth headset is 25, the number of communication connections between the terminal K and the bluetooth headset is 4, and the number of communication connections between the bluetooth headset and the first terminal is 10, and since the historical number of communication connections between the terminal H and the terminal I is greater than the historical number of communication connections between the first terminal, S707 is performed.
And S707, taking the terminal as a terminal to be switched.
In the historical connection terminal list, the terminal with the historical communication connection times larger than the historical communication connection times of the first terminal and the Bluetooth headset is used as the terminal to be switched.
Bearing in the above example, since the historical communication connection times of the terminal H and the terminal I are greater than the historical communication connection times of the first terminal, and the historical communication connection times of the terminal K is less than the historical communication connection times of the first terminal, the terminal H and the terminal I are to-be-switched terminals.
And S708, screening out the terminal with the largest historical communication connection frequency from the terminals to be switched as a second terminal.
As a result, the terminal H is the second terminal, because the number of historical communication connections of the terminal H is greater than the number of historical communication connections of the terminal I.
S709, send inquiry information to the first terminal to determine whether to disconnect the communication connection.
The inquiry information may also carry information of the terminal to be connected (i.e., terminal H).
And S710, receiving the disconnection confirming information fed back by the first terminal aiming at the inquiry information.
Of course, in other embodiments, the information fed back by the terminal may not be disconnected, and the process is ended.
And S711, disconnecting the communication connection with the first terminal, and establishing the communication connection with the second terminal through Bluetooth.
And bearing the above example, the Bluetooth headset disconnects the communication connection with the first terminal, and establishes the communication connection with the terminal H through Bluetooth.
The bluetooth headset, i.e., the computer-readable storage medium provided in this embodiment, acquires a historical connection terminal list after establishing a communication connection with a first terminal; determining a terminal to be switched from a historical connection terminal list, wherein the terminal to be switched is a terminal of which the historical communication connection times with the Bluetooth headset is greater than the historical communication connection times of the first terminal and the Bluetooth headset; then, the communication connection with the first terminal is disconnected, and the communication connection with the terminal to be switched is established through bluetooth, that is, after the communication connection between the bluetooth headset and the first terminal is established, the terminal with the number of times of communication connection with the bluetooth headset larger than the number of times of communication connection between the first terminal and the bluetooth headset is screened out from the historical connection terminal list, the terminal is determined as the terminal to be switched, the communication connection with the first terminal is disconnected, and the communication connection with the terminal to be switched is established through bluetooth; compared with the scheme that after the Bluetooth headset is connected with a certain terminal in the prior art, the connection between the Bluetooth headset and other terminals can be established only by manually switching the user, the scheme provided by the embodiment can be automatically switched to the terminal which is connected with the Bluetooth headset once when the condition is met, the communication connection frequency with the Bluetooth headset is greater than that of the first terminal and the Bluetooth headset, namely, the user does not need to participate, the connection can be automatically switched to other terminals, the operation of the user is more convenient, and the user experience is improved.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A Bluetooth headset switching control method is applied to a Bluetooth headset and is characterized by comprising the following steps:
after establishing communication connection with a first terminal, acquiring a historical connection terminal list;
determining a terminal to be switched from the historical connection terminal list, wherein the historical communication connection times of the terminal to be switched and the Bluetooth headset are greater than the historical communication connection times of the first terminal and the Bluetooth headset;
disconnecting the communication connection with the first terminal, and establishing the communication connection with the terminal to be switched through Bluetooth;
before the obtaining of the historical connection terminal list, the method further includes:
judging whether the Bluetooth headset is in an automatic switching mode or not;
and if the Bluetooth headset is in an automatic switching mode, acquiring a historical connection terminal list.
2. The bluetooth headset switching control method according to claim 1, further comprising, before the obtaining the historical connection terminal list:
judging whether the Bluetooth headset and the first terminal establish communication connection through Bluetooth or not;
and if the Bluetooth headset and the first terminal establish communication connection through Bluetooth, acquiring a historical connection terminal list.
3. The bluetooth headset switching control method according to claim 1, further comprising, before the obtaining the historical connection terminal list:
judging whether the Bluetooth headset is in first communication connection with the first terminal;
and if the Bluetooth headset is not in first communication connection with the first terminal, acquiring a historical connection terminal list.
4. The bluetooth headset switching control method according to claim 1, further comprising, before the obtaining the historical connection terminal list:
judging whether the Bluetooth headset carries out data transmission with the first terminal currently;
and if the Bluetooth headset does not transmit data with the first terminal currently, acquiring a historical connection terminal list.
5. The bluetooth headset switching control method according to claim 1, further comprising, before the obtaining the historical connection terminal list:
judging whether the historical communication connection frequency of the first terminal and the Bluetooth headset is maximum in historical connection terminals;
and if the historical communication connection times of the first terminal and the Bluetooth headset in the historical connection terminals are not the maximum, acquiring a historical connection terminal list.
6. The bluetooth headset switching control method according to claim 1, wherein the establishing of the communication connection between the bluetooth headset and the first terminal comprises:
searching a historical connection terminal when the Bluetooth function of the Bluetooth headset is turned on;
and establishing communication connection with a first terminal through Bluetooth, wherein the first terminal is the terminal with the highest historical communication connection frequency with the Bluetooth headset in the searched historical connection terminals.
7. The bluetooth headset switching control method according to claim 1, further comprising, before the disconnecting the communication connection with the first terminal:
sending inquiry information whether to disconnect the communication connection to the first terminal;
and receiving disconnection confirmation information fed back by the first terminal aiming at the inquiry information.
8. The bluetooth headset switching control method according to any of claims 1-7, wherein the establishing the communication connection with the terminal to be switched through bluetooth comprises:
and establishing communication connection with a second terminal through Bluetooth, wherein the second terminal is the terminal with the highest historical communication connection frequency with the Bluetooth headset in the terminals to be switched.
9. A Bluetooth headset, characterized in that the Bluetooth headset comprises a processor, a memory and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute one or more programs stored in the memory to implement the steps of the bluetooth headset switching control method according to any one of claims 1 to 8.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores one or more programs executable by one or more processors to implement the steps of the bluetooth headset switching control method according to any one of claims 1 to 8.
CN201810670252.3A 2018-06-26 2018-06-26 Bluetooth headset switching control method, Bluetooth headset and computer readable storage medium Active CN108924706B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810670252.3A CN108924706B (en) 2018-06-26 2018-06-26 Bluetooth headset switching control method, Bluetooth headset and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810670252.3A CN108924706B (en) 2018-06-26 2018-06-26 Bluetooth headset switching control method, Bluetooth headset and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108924706A CN108924706A (en) 2018-11-30
CN108924706B true CN108924706B (en) 2020-08-18

Family

ID=64421344

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810670252.3A Active CN108924706B (en) 2018-06-26 2018-06-26 Bluetooth headset switching control method, Bluetooth headset and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108924706B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109788438A (en) * 2019-02-11 2019-05-21 胡金星 A kind of intelligent navigation car networking system based on big data
CN109788114B (en) * 2019-03-12 2021-04-02 维沃移动通信有限公司 Call processing method and terminal
CN113225693B (en) * 2019-04-18 2022-04-15 华为技术有限公司 Bluetooth connection method, equipment and system
CN110167194A (en) * 2019-05-20 2019-08-23 安徽华米信息科技有限公司 Equipment connection method, device, bluetooth headset and system
CN111031438A (en) * 2019-12-27 2020-04-17 深圳春沐源控股有限公司 Control method of earphone assembly, earphone assembly and computer readable storage medium
CN114363811B (en) * 2019-12-30 2023-01-06 联想(北京)有限公司 Information processing method and device and multimedia equipment
CN113094017A (en) * 2020-01-09 2021-07-09 上海博泰悦臻电子设备制造有限公司 Method, apparatus, and computer storage medium for information processing
CN111246441B (en) * 2020-02-26 2021-08-24 深圳市岍丞技术有限公司 Method, system and storage medium for connecting Bluetooth headset and terminal
CN111432386B (en) * 2020-03-30 2021-08-27 歌尔科技有限公司 Connection switching method, device, equipment and storage medium of Bluetooth headset
CN111654845B (en) * 2020-05-12 2023-07-14 南京中感微电子有限公司 Bluetooth multi-terminal link switching method, bluetooth audio equipment and system
CN111866279B (en) * 2020-07-15 2022-04-05 百度在线网络技术(北京)有限公司 Voice broadcasting method, device, equipment and storage medium of wireless earphone
CN112073957A (en) * 2020-09-14 2020-12-11 深圳市富德康电子有限公司 Method for switching Bluetooth network structure between different Bluetooth access points
CN112672245A (en) * 2020-11-30 2021-04-16 西安芯海微电子科技有限公司 Earphone control method, earphone box and computer readable storage medium
CN113395576B (en) * 2021-06-28 2023-02-17 深圳Tcl新技术有限公司 Scene switching method, computer equipment and storage medium
CN115776662A (en) * 2021-09-08 2023-03-10 Oppo广东移动通信有限公司 Bluetooth connection method, device, earphone device and computer readable storage medium
CN113965895B (en) * 2021-12-16 2022-09-02 深圳市晨北科技有限公司 Bluetooth connection switching method, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1635713A (en) * 2003-12-26 2005-07-06 华为技术有限公司 Method for switching on different Blue Tooth access points for Blue Tooth network structure and Blue Tooth terminal
CN102394673A (en) * 2011-11-17 2012-03-28 深圳市中兴移动通信有限公司 Ordering method of bluetooth devices and system thereof
CN103368616A (en) * 2012-03-30 2013-10-23 三星电子株式会社 Method and apparatus for bluetooth connection in mobile terminal
CN105680914A (en) * 2016-03-22 2016-06-15 广东欧珀移动通信有限公司 Playback device Bluetooth module control method and device, and audio and video playing system
CN105682011A (en) * 2016-03-22 2016-06-15 广东欧珀移动通信有限公司 Playback device Bluetooth module control method and device, and audio and video playing system
CN106102129A (en) * 2016-05-23 2016-11-09 深圳Tcl数字技术有限公司 Connect the method and device of bluetooth equipment
WO2018053970A1 (en) * 2016-09-23 2018-03-29 歌尔科技有限公司 Connection method and connection device for bluetooth device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1635713A (en) * 2003-12-26 2005-07-06 华为技术有限公司 Method for switching on different Blue Tooth access points for Blue Tooth network structure and Blue Tooth terminal
CN102394673A (en) * 2011-11-17 2012-03-28 深圳市中兴移动通信有限公司 Ordering method of bluetooth devices and system thereof
CN103368616A (en) * 2012-03-30 2013-10-23 三星电子株式会社 Method and apparatus for bluetooth connection in mobile terminal
CN105680914A (en) * 2016-03-22 2016-06-15 广东欧珀移动通信有限公司 Playback device Bluetooth module control method and device, and audio and video playing system
CN105682011A (en) * 2016-03-22 2016-06-15 广东欧珀移动通信有限公司 Playback device Bluetooth module control method and device, and audio and video playing system
CN106102129A (en) * 2016-05-23 2016-11-09 深圳Tcl数字技术有限公司 Connect the method and device of bluetooth equipment
WO2018053970A1 (en) * 2016-09-23 2018-03-29 歌尔科技有限公司 Connection method and connection device for bluetooth device

Also Published As

Publication number Publication date
CN108924706A (en) 2018-11-30

Similar Documents

Publication Publication Date Title
CN108924706B (en) Bluetooth headset switching control method, Bluetooth headset and computer readable storage medium
US20220286496A1 (en) Application sharing method, electronic device and computer-readable storage medium
CN111083684B (en) Method for controlling electronic equipment and electronic equipment
CN108684029B (en) Bluetooth pairing connection method and system, Bluetooth device and terminal
CN107231473B (en) Audio output regulation and control method, equipment and computer readable storage medium
CN111083755B (en) Equipment switching method and related equipment
WO2019206077A1 (en) Video call processing method and mobile terminal
CN108319442B (en) Audio playing control method and mobile terminal
CN107562406B (en) Volume adjusting method, mobile terminal and computer readable storage medium
CN111143683B (en) Terminal interaction recommendation method, device and readable storage medium
CN108073458B (en) Memory recovery method, mobile terminal and computer-readable storage medium
CN109842872B (en) Working mode control method, Bluetooth headset, terminal and computer storage medium
CN109639863B (en) Voice processing method and device
CN110971423A (en) Group creation method and electronic device
CN109257498B (en) Sound processing method and mobile terminal
CN111093137B (en) Volume control method, volume control equipment and computer readable storage medium
CN111163449B (en) Application sharing method, first electronic device and computer-readable storage medium
CN109788114B (en) Call processing method and terminal
CN109873894B (en) Volume adjusting method and mobile terminal
CN109889756B (en) Video call method and terminal equipment
CN111131607A (en) Information sharing method, electronic equipment and computer readable storage medium
CN111148081A (en) Information interaction method and electronic equipment
CN110018772B (en) Wallpaper setting method, terminal and computer-readable storage medium
CN108495276B (en) Sharing method and device of digital business card
EP4141633A1 (en) Screen control method and apparatus

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
TA01 Transfer of patent application right

Effective date of registration: 20200722

Address after: 523000 Guangdong city in Dongguan Province town of Kau Tai Ling Ya Industrial Zone

Applicant after: DONGGUAN CITY HELE ELECTRONIC Co.,Ltd.

Address before: 518057 Guangdong province Shenzhen city Nanshan District high tech park, No. 9018 North Central Avenue, building A, floor 10, Han's innovation

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder

Address after: 523000 No. 325, Yuehui Road, Daojiao Town, Dongguan City, Guangdong Province

Patentee after: DONGGUAN CITY HELE ELECTRONIC Co.,Ltd.

Address before: 523000 dalingya Industrial Zone, Daojiao Town, Dongguan City, Guangdong Province

Patentee before: DONGGUAN CITY HELE ELECTRONIC Co.,Ltd.

CP02 Change in the address of a patent holder