CN114915957B - Bluetooth headset reconnection control method and control device - Google Patents

Bluetooth headset reconnection control method and control device Download PDF

Info

Publication number
CN114915957B
CN114915957B CN202210818174.3A CN202210818174A CN114915957B CN 114915957 B CN114915957 B CN 114915957B CN 202210818174 A CN202210818174 A CN 202210818174A CN 114915957 B CN114915957 B CN 114915957B
Authority
CN
China
Prior art keywords
bluetooth
connection
headset
service
time
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
CN202210818174.3A
Other languages
Chinese (zh)
Other versions
CN114915957A (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.)
Honor Device Co Ltd
Original Assignee
Honor Device 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202210818174.3A priority Critical patent/CN114915957B/en
Publication of CN114915957A publication Critical patent/CN114915957A/en
Application granted granted Critical
Publication of CN114915957B publication Critical patent/CN114915957B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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/1041Mechanical or electronic switches, or control elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application provides a control method and a control device for Bluetooth headset reconnection. According to the technical scheme, the reconnection sequence of the historical connection equipment is determined according to the service data transmission condition of the Bluetooth headset and the historical connection equipment, and the historical connection equipment is reconnected based on the reconnection sequence. The technical scheme that this application provided, it is long to shorten the equipment of transmission service and bluetooth headset's reconnection, improves reconnection efficiency, improves user experience. In this application, the service data transmission condition of the historical connection device may include the time when the historical connection device first performs service data transmission in the historical connection, the time when the historical connection device last performs service data transmission, the service data transmission duration, the service data transmission times, and the like.

Description

Bluetooth headset reconnection control method and control device
Technical Field
The present application relates to the field of bluetooth technology, and in particular, to a method and an apparatus for controlling bluetooth headset reconnection.
Background
The Bluetooth dual connection earphone can be connected with two devices simultaneously, the default first paired device is used for preferential communication, and when the first paired device is transmitted to the Bluetooth dual connection earphone in a non-signal mode, the Bluetooth dual connection earphone can play signals transmitted by the second paired device. When the Bluetooth dual connection earphone is in the earphone box and the earphone box is in a closed state, the Bluetooth dual connection earphone is disconnected with the two devices respectively. When the Bluetooth dual connection earphone is in the earphone box and the earphone box is in an open state, the Bluetooth dual connection earphone is reconnected with the two devices respectively, namely Bluetooth reconnection is carried out.
When the bluetooth dual-connection headset connects the two devices back, how to determine the device to be preferentially connected back is called a problem to be solved urgently.
Disclosure of Invention
The application provides a control method and a control device for Bluetooth headset reconnection, which can determine the reconnection sequence of historical connection equipment according to the service data transmission condition of the Bluetooth headset and the historical connection equipment, shorten the reconnection time of the equipment for transmitting services and the Bluetooth headset, improve the reconnection efficiency and improve the user experience.
In a first aspect, a method for controlling bluetooth headset reconnection is provided, including: when the Bluetooth earphone is in the earphone box and the earphone box is in an open state, determining the back connection sequence of the M historical connection devices according to the service data transmission condition of the Bluetooth earphone and each historical connection device in the M historical connection devices, wherein M is an integer greater than 1; and according to the reconnection sequence, performing reconnection on the M historical connection devices.
When the bluetooth headset is a bluetooth dual-connection headset, M may be 2, that is, 2 historical connection devices, and these two historical connection devices may be connected to the bluetooth dual-connection headset and perform transmission of bluetooth services, but the embodiment of the present invention is not limited thereto. The bluetooth headset may also be connected to 3 or 4 or even more devices and perform transmission of bluetooth traffic.
The historical connecting device is a device which is successfully connected with the Bluetooth headset, such as a mobile phone, a tablet and the like.
Data when the bluetooth service is transmitted between the bluetooth headset and the history connection device may be referred to as service data, for example, when the bluetooth service is a call, the service data is call data. When the Bluetooth service is music playing, the service data is music data. When the Bluetooth service is video playing, the service data is video data.
When the Bluetooth headset and the historical connection equipment perform Bluetooth service transmission, the Bluetooth headset can record the transmission condition of service data. The transmission condition of the service data may include a start time of service data transmission, an end time of service data transmission, a duration of service data transmission, a number of times of service data transmission, a type of service data, and the like. The types of service data may include calls, music, video, navigation, and the like, which is not limited in this embodiment of the application.
The bluetooth headset may determine a backhaul sequence of the plurality of historical connection devices according to a service data transmission condition of each of the plurality of historical connection devices. That is to say, when the bluetooth headset is in the headset box and the headset box is in an open state, the bluetooth headset is connected with M historical connected devices, where M is an integer greater than 1, and the connection order of the M historical connected devices is associated with the historical service data transmission situations of the M historical connected devices.
It can be understood that the connection order of the M historical connection devices is associated with the historical service data transmission condition of the M historical connection devices, and may include the following meanings: the connection sequence of the M historical connection devices in the current connection is determined by the historical service data transmission conditions of the M historical connection devices.
For example, the bluetooth headset may determine the connection back sequence of the plurality of historical connection devices according to an end time, a start time, or a number of times of transmission of the traffic data of each of the plurality of historical connection devices. That is, the connection order of the plurality of historical connection devices in the current connection is determined by the end time, the start time, or the number of historical traffic data transmissions of the plurality of historical connection devices.
The Bluetooth headset reconnection control method can determine the reconnection sequence of historical connection equipment according to the service data transmission condition of the Bluetooth headset and the historical connection equipment, can determine equipment with service transmission priority according to the historical service use record of a user, preferentially reconnects the equipment with service transmission priority, is beneficial to shortening the reconnection time of the equipment with service transmission and the Bluetooth headset, improves reconnection efficiency and improves user experience.
With reference to the first aspect, in some implementations of the first aspect, the service data transmission condition includes time information of service data transmission performed by the M historical connection devices with the bluetooth headset after the last connection between the M historical connection devices and the bluetooth headset is successful.
The time information of the service data transmission may include at least one of a start time of the service data transmission, an end time of the service data transmission, and a duration of the service data transmission.
The bluetooth headset may determine a backhaul sequence of each of the M historical connection devices according to the time information of the service data transmission of the historical connection device. That is, the bluetooth headset may determine the device that is preferentially connected back according to the time information of the last service data transmission.
The control method for the Bluetooth headset reconnection can determine the reconnection sequence of the historical connection equipment according to the time information of the service data transmission of the Bluetooth headset and the historical connection equipment, can determine the equipment for preferentially transmitting the service according to the time information of the historical service use of the user, and is favorable for accurately judging the equipment for preferentially transmitting the service.
With reference to the first aspect, in certain implementations of the first aspect, the time information of service data transmission with the bluetooth headset includes: and time information of last service data transmission with the Bluetooth headset.
The bluetooth headset may determine a reconnection sequence of the M historical connection devices according to time information of last service data transmission between each historical connection device of the M historical connection devices and the bluetooth headset.
When the bluetooth headset is in the headset box and the headset box is in an open state, the bluetooth headset can acquire the time information of the last service data transmission between each historical connecting device and the bluetooth headset. The method comprises the following steps that a Bluetooth headset obtains time information of service data transmission of each historical connection device and the last time of the Bluetooth headset, and multiple possible implementation modes exist.
In a possible implementation manner, the M historical connection devices include a first device, and the first device is taken as an example for description. Under the condition that the Bluetooth headset and the first device perform Bluetooth service transmission, the Bluetooth headset can record the time when the first device transmits the service each time. When the Bluetooth headset is disconnected with the first equipment, the disconnection time of the first equipment is recorded. The bluetooth headset may determine a time, which is the closest to a time when the first device is disconnected from the first device, among times when the first device transmits a service each time, as a time when the first device transmits a service last time.
According to the implementation mode, the Bluetooth headset records the time of transmitting the service every time, the use of the user is recorded in detail, and the use habit of the user can be known conveniently, so that the scheme can be optimized according to the use habit of the user subsequently.
In another possible implementation manner, in the case that the bluetooth headset performs bluetooth service transmission with each historically connected device, the bluetooth dual-connected headset may record the time when each historically connected device transmits the service and update the time in real time, that is, only one time is recorded for one device, and the time is updated in real time according to the transmission of the service. When the bluetooth headset is disconnected from each historical connected device, the bluetooth headset may determine the recorded time when each historical connected device transmits the service as the last time when each historical connected device transmits the service.
By the implementation mode, the Bluetooth headset only records one moment for one device, and the storage space can be saved.
Among the M historical connection devices, the later the time of the last service data transmission with the Bluetooth headset is, the earlier the connection back sequence is. Or, among the M historical connection devices, the earlier the time of the last service data transmission with the bluetooth headset is, the earlier the connection back sequence is, which is not limited in this embodiment of the present application.
The Bluetooth headset reconnection control method can determine the reconnection sequence of the historical connection equipment according to the last service data transmission time information of the Bluetooth headset and the historical connection equipment, can determine the equipment for preferentially transmitting the service according to the last service use time information of a user, is favorable for updating the equipment for preferentially transmitting the service in real time, and is higher in flexibility.
With reference to the first aspect, in some implementations of the first aspect, among the M historical connection devices, the later device that last performs service data transmission with the bluetooth headset, the earlier the reconnection sequence is.
Among the M historical connection devices, the later device that last transmits service data with the bluetooth headset has a higher probability of transmitting the service for the first time after successfully reconnecting with the bluetooth headset, and thus the earlier the reconnection sequence can be. That is to say, the device with the latest time of service data transmission with the bluetooth headset among the M historical connection devices has the earliest reconnection sequence, and the bluetooth headset preferentially reconnects.
According to the control method for the Bluetooth headset reconnection, the device with the latest time for transmitting the service data with the Bluetooth headset in the last time among the M historical connection devices is preferentially reconnected, and the device is determined as the device with the preferentially transmitted service, so that the device with the preferentially transmitted service can be accurately judged.
With reference to the first aspect, in some implementations of the first aspect, the time information for service data transmission with the bluetooth headset includes: and time information for first service data transmission with the Bluetooth headset.
The bluetooth headset may determine a connection sequence of the M historical connection devices according to time information of first service data transmission between each of the M historical connection devices and the bluetooth headset.
After the last connection between the bluetooth headset and each historical connection device is successful, the time information of the first service data transmission can be recorded. When the bluetooth headset is in the headset box and the headset box is in an open state, the bluetooth headset can acquire the time information of the first service data transmission between each historical connecting device and the bluetooth headset.
Among M historical connection devices, the later the time of first service data transmission with the Bluetooth headset is, the earlier the reconnection sequence is. Or, among the M historical connection devices, the earlier the time of first service data transmission with the bluetooth headset is, the earlier the connection back sequence is, which is not limited in this embodiment of the application.
The Bluetooth headset reconnection control method can determine the reconnection sequence of the historical connection equipment according to the time information of first service data transmission between the Bluetooth headset and the historical connection equipment, can determine the equipment with the service transmission priority according to the time information of last service use of a user, is favorable for updating the equipment with the service transmission priority in real time, and is higher in flexibility.
With reference to the first aspect, in some implementations of the first aspect, among the M historical connection devices, the earlier the time of the first service data transmission with the bluetooth headset is, the earlier the reconnection sequence is.
Among the M historical connection devices, the later device that transmits service data with the bluetooth headset for the first time has a higher probability of transmitting the service for the first time after successfully connecting with the bluetooth headset, and thus the earlier the connection sequence can be. That is to say, among the M historical connection devices, the device with the latest time of first service data transmission with the bluetooth headset has the earliest reconnection sequence, and the bluetooth headset is preferentially reconnected.
According to the control method for the Bluetooth headset reconnection, the device with the earliest time of service data transmission with the Bluetooth headset in M historical connection devices is preferentially reconnected, and the device is determined as the device with the preferentially transmitted service, so that the device with the preferentially transmitted service can be accurately judged.
With reference to the first aspect, in some implementation manners of the first aspect, the service data transmission condition includes information of times of service data transmission performed by the M historical connection devices with the bluetooth headset after the M historical connection devices are successfully connected with the bluetooth headset last time.
The bluetooth headset may determine a connection sequence of the M historical connection devices according to the number information of service data transmission performed with the bluetooth headset after the last connection with each historical connection device of the M historical connection devices is successful.
Illustratively, among the M historical connection devices, the device with which the number of times of service data transmission with the bluetooth headset is greater has an earlier connection back sequence.
Optionally, when the bluetooth headset performs bluetooth service transmission with each historical connection device last time, the type of the service data and the number of times of service data transmission may be recorded, and the reconnection sequence of the M historical connection devices is determined according to the priority of the type of the service data and the number of times of service data transmission.
Illustratively, among the M historical connection devices, the more dense the number of times of service data transmission with the bluetooth headset is, and the higher the priority of the service data is, the earlier the reconnection sequence is.
The Bluetooth headset reconnection control method can determine the reconnection sequence of the historical connection equipment according to the frequency information of service data transmission of the Bluetooth headset and the historical connection equipment, can determine the equipment for transmitting the service preferentially according to the frequency information of last service use of a user, and is favorable for accurately judging the equipment for transmitting the service preferentially.
With reference to the first aspect, in some implementation manners of the first aspect, among the M pieces of history connection equipment, the equipment that has the greater number of times of service data transmission with the bluetooth headset has the earlier reconnection sequence.
According to the method for controlling the Bluetooth headset reconnection, the device which has the largest service data transmission frequency with the Bluetooth headset in M historical connection devices is preferentially reconnected, and the device is determined as the device which preferentially transmits the service, so that the device which preferentially transmits the service can be accurately judged.
With reference to the first aspect, in some implementations of the first aspect, the service data transmission condition includes time information of service data transmission performed by the M historical connection devices with the bluetooth headset after successful connection with the bluetooth headset every previous N times, where N is an integer greater than 1.
The bluetooth headset may determine the backhaul sequence of each of the M historical connection devices according to the time information of the service data transmission of the historical connection device in the M historical connection devices for a plurality of times.
The control method for the Bluetooth headset reconnection can determine the reconnection sequence of the historical connection equipment according to the time information of the service data transmission of the Bluetooth headset and the historical connection equipment for a plurality of times, can determine the equipment for preferentially transmitting the service according to a large amount of time information of historical service use of the user, and is favorable for accurately judging the equipment for preferentially transmitting the service.
With reference to the first aspect, in some implementations of the first aspect, the time information for service data transmission with the bluetooth headset includes: and time information of the last service data transmission with the Bluetooth headset.
The bluetooth headset may determine a reconnection sequence of each historical connection device according to time information of last service data transmission with the bluetooth headset after the last connection between the M historical connection devices and the bluetooth headset in the previous N times is successful.
The method for controlling the Bluetooth headset reconnection can determine the reconnection sequence of the historical connection equipment according to the time information of the last service data transmission between the Bluetooth headset and the historical connection equipment for many times, can determine the equipment for preferentially transmitting the service according to the time information of the service use of the user for many times, is favorable for accurately grasping the use habit of the user, and is favorable for accurately judging the equipment for preferentially transmitting the service.
With reference to the first aspect, in some implementations of the first aspect, a connection back sequence of a first history connection device of the M history connection devices is earlier than that of a second history connection device, the first history connection device is a device performing service data transmission with the bluetooth headset for S1 times in N times, the second history connection device is a device performing service data transmission with the bluetooth headset for S2 times in N times, and S1 is greater than S2.
The M historical connected devices may include a first historical connected device and a second historical connected device, but the embodiment of the present application is not limited thereto. The first historical connection device may also be referred to as a first device, and the second historical connection device may also be referred to as a second device, which is not limited in this embodiment of the present application.
The bluetooth headset can record the device which performs service data transmission with the bluetooth headset for the last time every previous N times, and count the occurrence times. If the first historical connection device has the last device which performs service data transmission with the Bluetooth headset for S1 times in N times, the second historical connection device has the last device which performs service data transmission with the Bluetooth headset for S2 times in N times, and S1 is larger than S2, it indicates that the frequency of occurrence of the first historical connection device is more than that of occurrence of the second historical connection device, and the Bluetooth headset can preferentially connect back the first historical connection device.
The Bluetooth headset reconnection control method can preferentially reconnect equipment with more times of occurrence of the equipment for performing service data transmission last time with the Bluetooth headset, can grasp the use habit of a user more accurately, and is favorable for accurately judging the equipment for preferentially transmitting services.
With reference to the first aspect, in some implementations of the first aspect, the time information for service data transmission with the bluetooth headset includes: and time information for first service data transmission with the Bluetooth headset.
After each historical connection device is successfully connected with the Bluetooth headset, the Bluetooth headset can record time information of first service data transmission with the Bluetooth headset, can continuously record N times, and determines the connection back sequence of each historical connection device by using the information.
The method for controlling the Bluetooth headset reconnection can determine the reconnection sequence of the historical connection equipment according to the time information of the first service data transmission of the Bluetooth headset and the historical connection equipment for a plurality of times, can determine the equipment for preferentially transmitting the service according to the time information of the service use of the user for a plurality of times, is favorable for grasping the use habit of the user more accurately, and is favorable for accurately judging the equipment for preferentially transmitting the service.
With reference to the first aspect, in some implementations of the first aspect, a connection back sequence of a first historical connection device of the M historical connection devices is earlier than that of a second historical connection device, S1 times of the first historical connection device in N times is a first device performing service data transmission with the bluetooth headset, S2 times of the second historical connection device in N times is a first device performing service data transmission with the bluetooth headset, and S1 is greater than S2.
The bluetooth headset can record the device which performs service data transmission with the bluetooth headset for the first time in the previous N times, and count the occurrence times. If the first historical connection device has S1 times in N times as the first device for performing service data transmission with the bluetooth headset, and the second historical connection device has S2 times in N times as the first device for performing service data transmission with the bluetooth headset, S1 is greater than S2, it indicates that the number of times that the first historical connection device appears is greater than that of the second historical connection device, and the bluetooth headset may preferentially reconnect the first historical connection device.
The Bluetooth headset reconnection control method can preferentially reconnect equipment which conducts service data transmission for the first time with the Bluetooth headset, can grasp the use habit of a user more accurately, and is favorable for accurately judging the equipment which preferentially transmits services.
In a second aspect, a bluetooth headset reconnection control apparatus is provided, which includes: a processing module and a back-connecting module. The processing module is used for: when the Bluetooth earphone is in the earphone box and the earphone box is in an open state, determining the back connection sequence of M historical connection devices according to the service data transmission condition of the Bluetooth earphone and each historical connection device in the M historical connection devices, wherein M is an integer greater than 1; the back-connecting module is used for: and according to the reconnection sequence, performing reconnection on the M historical connection devices.
With reference to the second aspect, in some implementations of the second aspect, the service data transmission condition includes time information of service data transmission with the bluetooth headset after the last connection between the M historical connection devices and the bluetooth headset is successful.
With reference to the second aspect, in some implementations of the second aspect, the time information of service data transmission with the bluetooth headset includes: and time information of last service data transmission with the Bluetooth headset.
With reference to the second aspect, in some implementations of the second aspect, the later the time of the last service data transmission with the bluetooth headset is, the earlier the connection back sequence is, among the M historical connection devices.
With reference to the second aspect, in some implementations of the second aspect, the time information of service data transmission with the bluetooth headset includes: and time information for first service data transmission with the Bluetooth headset.
With reference to the second aspect, in some implementations of the second aspect, among the M historical connection devices, the earlier the time of the first service data transmission with the bluetooth headset is, the earlier the reconnection sequence is.
With reference to the second aspect, in some implementations of the second aspect, the service data transmission condition includes information of the number of times of service data transmission between the M historical connection devices and the bluetooth headset after the M historical connection devices are successfully connected with the bluetooth headset last time.
With reference to the second aspect, in some implementations of the second aspect, among the M history connection devices, the device that has the greater number of times of service data transmission with the bluetooth headset has the earlier connection back sequence.
With reference to the second aspect, in some implementations of the second aspect, the service data transmission condition includes time information of service data transmission performed by the M historical connection devices with the bluetooth headset after successful connection with the bluetooth headset every previous N times, where N is an integer greater than 1.
With reference to the second aspect, in some implementations of the second aspect, the time information of service data transmission with the bluetooth headset includes: and time information of the last service data transmission with the Bluetooth headset.
With reference to the second aspect, in some implementations of the second aspect, a connection back sequence of a first historical connection device of the M historical connection devices is earlier than that of a second historical connection device, the first historical connection device is a device performing service data transmission with the bluetooth headset for S1 times in N times, the second historical connection device is a device performing service data transmission with the bluetooth headset for S2 times in N times, and S1 is greater than S2.
With reference to the second aspect, in some implementations of the second aspect, the time information of service data transmission with the bluetooth headset includes: and time information for first service data transmission with the Bluetooth headset.
With reference to the second aspect, in some implementations of the second aspect, a connection back sequence of a first historical connection device of the M historical connection devices is earlier than that of a second historical connection device, S1 times of the first historical connection device in N times is a first device performing service data transmission with the bluetooth headset, S2 times of the second historical connection device in N times is a first device performing service data transmission with the bluetooth headset, and S1 is greater than S2.
In a third aspect, the present application provides a bluetooth headset loopback control apparatus, including a processor, coupled to a memory, and configured to execute instructions in the memory to implement the method in any one of the possible implementations of the first aspect. Optionally, the control device further comprises a memory. Optionally, the control device further comprises a communication interface, the processor being coupled to the communication interface.
In a fourth aspect, the present application provides a processor comprising: input circuit, output circuit and processing circuit. The processing circuit is configured to receive a signal via the input circuit and transmit a signal via the output circuit, so that the processor performs the method of any one of the possible implementations of the first aspect.
In a specific implementation process, the processor may be a chip, the input circuit may be an input pin, the output circuit may be an output pin, and the processing circuit may be a transistor, a gate circuit, a flip-flop, various logic circuits, and the like. The input signal received by the input circuit may be received and input by, for example and without limitation, a receiver, the signal output by the output circuit may be output to and transmitted by a transmitter, for example and without limitation, and the input circuit and the output circuit may be the same circuit that functions as the input circuit and the output circuit, respectively, at different times. The specific implementation of the processor and various circuits are not limited in this application.
In a fifth aspect, the present application provides a processing apparatus comprising a processor and a memory. The processor is configured to read instructions stored in the memory, and may receive signals via the receiver and transmit signals via the transmitter to perform the method of any one of the possible implementations of the first aspect.
Optionally, there are one or more processors and one or more memories.
Alternatively, the memory may be integrated with the processor, or provided separately from the processor.
In a specific implementation process, the memory may be a non-transitory (non-transitory) memory, such as a Read Only Memory (ROM), which may be integrated on the same chip as the processor, or may be separately disposed on different chips.
It will be appreciated that the associated data interaction process, for example, sending the indication information, may be a process of outputting the indication information from the processor, and receiving the capability information may be a process of receiving the input capability information from the processor. In particular, the data output by the processor may be output to a transmitter and the input data received by the processor may be from a receiver. The transmitter and receiver may be collectively referred to as a transceiver, among others.
The processing device in the fifth aspect may be a chip, the processor may be implemented by hardware or software, and when implemented by hardware, the processor may be a logic circuit, an integrated circuit, or the like; when implemented in software, the processor may be a general-purpose processor implemented by reading software code stored in a memory, which may be integrated with the processor, located external to the processor, or stand-alone.
In a sixth aspect, the present application provides a computer-readable storage medium storing a computer program (which may also be referred to as code or instructions) which, when run on a computer, causes the computer to perform the method of any one of the possible implementations of the first aspect described above.
In a seventh aspect, the present application provides a computer program product comprising: computer program (also called code, or instructions), which when executed, causes a computer to perform the method of any of the possible implementations of the first aspect described above.
Drawings
FIG. 1 is a diagrammatic view of a communication system;
fig. 2 is a diagram of a bluetooth dual-connection headset loopback;
fig. 3 is a schematic flow chart of a bluetooth headset fallback method;
fig. 4 is a schematic structural diagram of a bluetooth headset according to an embodiment of the present application;
fig. 5 is a schematic flowchart of a method for controlling bluetooth headset reconnection provided in an embodiment of the present application;
fig. 6 is a schematic flowchart of another bluetooth headset loopback control method provided in an embodiment of the present application;
fig. 7 is a schematic flowchart of another bluetooth headset loopback control method provided in an embodiment of the present application;
fig. 8 is a schematic block diagram of a control device for bluetooth headset loopback according to an embodiment of the present application;
fig. 9 is a schematic block diagram of another control device for bluetooth headset loopback according to an embodiment of the present application.
Detailed Description
The technical solution in the present application will be described below with reference to the accompanying drawings.
The Bluetooth dual connection earphone can be connected with two devices simultaneously, the default first paired device is used for preferential communication, and when no signal is transmitted to the Bluetooth dual connection earphone by the first paired device, the Bluetooth dual connection earphone can receive the signal transmitted by the second paired device. The bluetooth dual connectivity headset may enable receiving signals transmitted by a second paired device when a first paired device is connected.
When the Bluetooth dual connection earphone is in the earphone box and the earphone box is in a closed state, the Bluetooth dual connection earphone is disconnected with the two devices respectively. When the Bluetooth dual connection earphone is in the earphone box and the earphone box is in an open state, the Bluetooth dual connection earphone is reconnected with the two devices respectively, namely Bluetooth reconnection is carried out.
Illustratively, fig. 1 shows a scenario diagram of a communication system 100. As shown in fig. 1, the communication system 100 includes a bluetooth dual connection headset 101, a handset 102, and a tablet 103. The mobile phone 102 and the tablet 103 establish bluetooth connection with the bluetooth dual connection headset 101, respectively. The mobile phone 102 may be a first device paired with the bluetooth dual-connection headset 101, the tablet 103 may be a second device paired with the bluetooth dual-connection headset 101, and when no signal is transmitted to the bluetooth dual-connection headset 101 from the mobile phone 102, the bluetooth dual-connection headset 101 may play a signal transmitted by the tablet 103.
Fig. 2 shows a diagram of a bluetooth dual-connection headset 101 loop-back. As shown in a of fig. 2, if the bluetooth dual connectivity headset 101 is in the headset case and the headset case is in the closed state, the bluetooth dual connectivity headset 101 is disconnected from the handset 102 and the tablet 103, respectively. As shown in the interface b in fig. 2, when the bluetooth dual-connection headset 101 is in the headset box and the headset box is in an open state, the bluetooth dual-connection headset 101 may send a connection signal back to the mobile phone 102 or the tablet 103.
Currently, the device that the bluetooth dual-connection headset preferentially connects back is the last disconnected device, wherein the last disconnected device may be referred to as the last disconnected device for short.
Illustratively, in the example shown in fig. 2 above, the bluetooth dual connectivity headset 101 determines the last disconnected device from the handset 102 and the pad 103 and sends a connect signal back thereto.
In particular, fig. 3 shows a schematic flow diagram of a bluetooth headset reconnection method 300. As shown in fig. 3, the method 300 may include the steps of:
s301, the Bluetooth dual-connection earphone 101 records the disconnection time of the mobile phone 102 and the disconnection time of the tablet 103.
When the bluetooth dual-connection earphone 101 is in the earphone box and the earphone box is in a closed state, the bluetooth dual-connection earphone 101 is disconnected from the mobile phone 102 and the tablet 103, and the bluetooth dual-connection earphone 101 records the disconnection time of the mobile phone 102 and the disconnection time of the tablet 103.
It should be noted that the mobile phone 102 and the tablet 103 are sequentially disconnected from the bluetooth dual-connection headset 101, and there is no case of simultaneous disconnection.
S302, the Bluetooth dual-connection earphone 101 determines the last disconnected device according to the disconnection time of the mobile phone 102 and the disconnection time of the tablet 103.
If the disconnection time of the mobile phone 102 is later than the disconnection time of the tablet 103, the last disconnected device is the mobile phone 102. If the disconnection time of the tablet 103 is later than the disconnection time of the mobile phone 102, the last disconnected device is the tablet 103.
And S303, if the last disconnected device is the flat panel 103, sending a connection signal back to the flat panel 103.
The last disconnected device is the tablet 103, that is, the disconnection time of the tablet 103 is later than the disconnection time of the mobile phone 102, and the bluetooth dual-connection headset 101 may preferentially send a connection signal back to the tablet 103.
S304, judging whether the Bluetooth double-connection earphone 101 and the tablet 103 are connected successfully.
If the bluetooth dual-connection headset 101 receives the feedback signal of the tablet 103, it may indicate that the loop-back is successful. If the bluetooth dual-connection headset 101 does not receive the feedback signal of the tablet 103, it may indicate that the connection back is unsuccessful.
If the bluetooth dual-connection headset 101 and the tablet 103 are successfully connected back, S305 is executed, and if the bluetooth dual-connection headset 101 and the tablet 103 are not successfully connected back, S306 is executed.
S305, if the bluetooth dual connection earphone 101 and the tablet 103 are successfully connected, sending a connection signal back to the mobile phone 102.
After the bluetooth dual-connection headset 101 successfully connects back with the tablet 103, the bluetooth dual-connection headset can continuously send back a connection signal to the mobile phone 102. If the bluetooth dual connection earphone 101 and the mobile phone 102 are successfully connected back, the bluetooth dual connection earphone 101 realizes dual connection.
And S306, if the Bluetooth dual-connection earphone 101 is unsuccessfully connected with the panel 103, continuously sending a connection signal back to the panel 103 within a fixed time length.
If the first reconnection is unsuccessful, the bluetooth dual-connection headset 101 may continue to send a connection signal back to the tablet 103 until a fixed duration is reached or the reconnection is successful. The fixed time period may be 15 seconds, but the embodiment of the present application is not limited thereto.
And S307, if the reconnection is still unsuccessful after the fixed time length is exceeded, sending a connection signal back to the mobile phone 102.
If the fixed time length is exceeded and the bluetooth dual-connection earphone 101 and the tablet 103 are still unsuccessfully connected back, the bluetooth dual-connection earphone 101 sends back a connection signal to the mobile phone 102.
From the above process, it can be known that the bluetooth dual-connection earphone 101 preferentially reconnects the device panel 103 disconnected last, if the user opens the earphone box, the user wants to use the mobile phone 103 to establish bluetooth communication with the bluetooth dual-connection earphone 101, and performs a call, plays music, or watches video, and then needs to wait for the bluetooth dual-connection earphone 101 to successfully reconnect with the panel 103 or to unsuccessfully reconnect with the panel 103 within a fixed duration, and then establishes bluetooth communication with the mobile phone 103, so as to implement transmission of services such as call, music, or video watching, and the reconnection time of the mobile phone 103 with the bluetooth dual-connection earphone 101 is long, thereby severely reducing reconnection efficiency, further affecting service transmission, and user experience is poor.
In addition, the application also carries out a large amount of statistics on the use habits of the user, and finds that the device disconnected at last is not necessarily the device used by the user at first, and the existing reconnection method does not consider which device and the Bluetooth dual-connection earphone used by the user at first to transmit the service, so that the reconnection time of the device for transmitting the service and the Bluetooth dual-connection earphone is longer, and further the transmission of the service is influenced.
In view of this, an embodiment of the present application provides a method for controlling a bluetooth headset reconnection, which may determine a reconnection sequence of a history connection device according to a service data transmission condition between the bluetooth headset and the history connection device, shorten a reconnection time between a device for transmitting a service and the bluetooth headset, improve a reconnection efficiency, and improve user experience.
In order to better understand the embodiments of the present application, the structure of the bluetooth headset according to the embodiments of the present application is described below. Fig. 4 is a schematic structural diagram of a bluetooth headset according to an embodiment of the present disclosure.
Illustratively, a bluetooth headset may include at least one processor 201, at least one memory 205, a bluetooth module 202, an audio module 203, a power module 204, an input/output interface 206, sensors, and the like. The processor 201 may include one or more interfaces for connecting with other components of the bluetooth headset.
The memory 205 may be used to store program code, such as application program code for pairing and connecting between a bluetooth headset and an electronic device, processing audio services (e.g., music playing, making/receiving calls) of the electronic device, and the like. The memory 205 may also be used to store other information such as identity information, time of connection, time of disconnection, reason for disconnection, etc.
The processor 201 may be configured to execute the application program codes and call the relevant modules to implement the functions of the bluetooth headset in the embodiment of the present application. For example, functions of pairing, connecting, audio playing, call receiving/making and the like between the bluetooth headset and the electronic device are realized.
The processor 201 may include one or more processing units, and different processing units may be independent devices or may be integrated in one or more of the processors 201. The processor 201 may be specifically an integrated control chip, or may be composed of a circuit including various active and/or passive components, and the circuit is configured to perform the functions described in the embodiments of the present application, which belong to the processor 201.
In some embodiments, the bluetooth module 202 may be specifically a bluetooth chip. The Bluetooth headset can be matched and connected with a Bluetooth chip of the electronic equipment through the Bluetooth chip, so that wireless communication and service processing between the Bluetooth headset and the electronic equipment are realized through Bluetooth connection. Generally, a bluetooth chip may support Basic Rate (BR)/Enhanced Data Rate (EDR) bluetooth and Bluetooth Low Energy (BLE), for example, may receive/transmit paging (page) information, receive/transmit BLE broadcasts, and the like. The bluetooth module 202 may receive a signal to be transmitted from the processor 201, perform frequency modulation, amplify the signal, and radiate the amplified signal as electromagnetic wave via the bluetooth antenna.
The audio module 203 may be used to manage audio data and implement the input and output of audio signals by the bluetooth headset. For example, the audio module 203 may obtain an audio signal from the bluetooth module 202, and implement functions of making and receiving calls through the bluetooth headset, playing music, activating/deactivating a voice assistant of an electronic device connected to the bluetooth headset, receiving/transmitting voice data of a user, and the like. The audio module 203 may include a speaker (or called an earphone or a receiver) component for outputting an audio signal, a microphone (or called an earphone or a receiver), a microphone receiving circuit matched with the microphone, and the like. The speaker may be used to convert the electrical audio signal into an acoustic signal and play it. The microphone may be used to convert sound signals into electrical audio signals.
The power module 204 may be configured to provide a system power for the bluetooth headset, supply power to each module of the bluetooth headset, and support the bluetooth headset to receive charging input. The power module 204 may include a Power Management Unit (PMU) and a battery. The power management unit can receive external charging input, transform the electric signal input by the charging circuit and provide the transformed electric signal to the battery for charging, and also transform the electric signal provided by the battery and provide the transformed electric signal to other modules such as the audio module 203, the bluetooth module 202 and the like, so as to prevent the battery from being overcharged, overdischarged, short-circuited or overcurrent and the like. In some embodiments, the power module 204 may also include a wireless charging coil for wirelessly charging the bluetooth headset. In addition, the power management unit can also be used for monitoring parameters such as battery capacity, battery cycle number, battery health state (electric leakage and impedance) and the like.
A plurality of input/output interfaces 206 may be used to provide a wired connection for the bluetooth headset to charge or communicate. For example, the input/output interface 206 may be a USB interface, a charging interface, or the like.
Additionally, the bluetooth headset may also include a sensor 207. For example, the sensors 207 may include a distance sensor 2073, an ambient light sensor 2072, and a temperature sensor 2071, which may be used to determine whether the bluetooth headset is being used by a user. For example, the bluetooth headset may detect whether there is an object near the bluetooth headset by using the distance sensor 2073, and the ambient light sensor 2072 is used for sensing the ambient light brightness; the temperature sensor 2071 is used to collect temperature. When recognizing that there is an object near the bluetooth headset, and the ambient light brightness is lower than the preset brightness threshold and the temperature is within the preset range (i.e., the body temperature range of the human body), the processor 201 determines that the bluetooth headset is worn by the user.
As another example, the sensors may also include a bone conduction sensor 2074, combined into a bone conduction headset. By using the bone conduction sensor 2074, the bluetooth headset can acquire the vibration signal of the human body vocal part vibration bone block, analyze out the voice signal, realize the voice function, and thus receive the voice command of the user. The Bluetooth headset can also perform voice authentication according to the user voice signal acquired by the bone conduction headset so as to authenticate the identity of the user in service scenes such as payment transaction and the like.
It is to be understood that the illustrated structure of the embodiments of the present application does not constitute a specific limitation to the bluetooth headset. It may have more or fewer components, may combine two or more components, or may have a different configuration of components. For example, the external surface of the bluetooth headset may further include a key, an indicator light (which may indicate the status of power, incoming/outgoing call, pairing mode, etc.), a display screen (which may prompt the user for relevant information), a dust screen (which may be used with an earphone), and the like. The key may be a physical key or a touch key (used in cooperation with the touch sensor), and is used for triggering operations such as startup, shutdown, pause, play, record, start of pairing, and reset. The method of device loopback in a possible design will be described below by taking a bluetooth headset as a bluetooth dual-connection headset as an example.
In the embodiments of the present application, terms such as "first" and "second" are used to distinguish the same or similar items having substantially the same function and action. Those skilled in the art will appreciate that the terms "first," "second," etc. do not denote any order or quantity, nor do the terms "first," "second," etc. denote any order or importance.
It is noted that, in the present application, words such as "exemplary" or "for example" are used to mean exemplary, illustrative, or descriptive. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated object, indicating that there may be three relationships, for example, a and/or B, which may indicate: a exists alone, A and B exist simultaneously, and B exists alone, wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of the singular or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or multiple.
According to the control method for the Bluetooth headset reconnection, when the Bluetooth headset is in the headset box and the headset box is in an open state, the Bluetooth headset can determine the reconnection sequence of M historical connection devices according to the service data transmission condition of the Bluetooth headset and each historical connection device in the M historical connection devices, wherein M is an integer greater than 1; and performing reconnection on the M historical connection devices according to the reconnection sequence.
If M is equal to 2, the Bluetooth headset is a double-connection headset, when the Bluetooth headset is in the headset box and the headset box is in an open state, the Bluetooth headset can determine the connection sequence of the 2 historical connection devices according to the service data transmission condition of the Bluetooth headset and each historical connection device in the 2 historical connection devices, namely, the device with the connection priority and the device with the connection priority.
If M is greater than or equal to 3, when the bluetooth headset is in the headset box and the headset box is in an open state, the bluetooth headset may determine a connection sequence of the M historically connected devices according to a service data transmission condition between the bluetooth headset and each of the M historically connected devices, that is, a first connection device (a device with a priority for connection), a second connection device (a device with a second connection), \8230;, and an mth connection device (a device with a last connection).
For convenience of description, the bluetooth headset is taken as a bluetooth dual-connection headset for illustration.
Fig. 5 shows a schematic flowchart of a control method 500 for bluetooth headset loopback according to an embodiment of the present application. The method 500 may be applied to the scenario shown in fig. 2, but the embodiment of the present application is not limited thereto. The method 500 may be performed by a bluetooth headset, such as the bluetooth dual connectivity headset 101 shown in fig. 2, but the embodiment of the present application is not limited thereto. The structure of the bluetooth headset may be as shown in fig. 4, but the embodiment of the present application is not limited thereto.
For convenience of description, the embodiment of the present application takes a bluetooth headset as a bluetooth dual-connection headset as an example for explanation. Devices connected to a bluetooth dual-connection headset may be referred to as a first device and a second device. The first device may also be referred to as a first historically connected device, and the second device may also be referred to as a second historically connected device, which is not limited in this embodiment of the present application.
As shown in fig. 5, the method 500 may include the steps of:
s501, when the Bluetooth double-connection earphone is in the earphone box and the earphone box is in an open state, the time when the first device transmits the service for the last time and the time when the second device transmits the service for the last time are obtained.
The first device and the second device may be the mobile phone 102 and the tablet 103, or may be the mobile phone a and the mobile phone B, which is not limited in this embodiment of the present application.
The Bluetooth dual connection earphone is arranged in the earphone box, the earphone box is in an open state, and meanwhile, when the distance between the Bluetooth dual connection earphone and the first device and the distance between the Bluetooth dual connection earphone and the second device are smaller than the maximum distance supported by the Bluetooth technology, the Bluetooth dual connection earphone is in a back connection state.
There are many possible implementations for the bluetooth dual-connection headset to acquire the time when the first device last transmits a service and the time when the second device last transmits a service.
In a possible implementation manner, under the condition that the bluetooth dual-connection headset performs bluetooth service transmission with the first device and the second device respectively, the bluetooth dual-connection headset may record the time when the first device transmits a service each time and the time when the second device transmits a service each time. When the Bluetooth dual connection earphone is disconnected with the first equipment, the disconnection time of the first equipment is recorded, and when the Bluetooth dual connection earphone is disconnected with the second equipment, the disconnection time of the second equipment is recorded. The bluetooth dual-connection earphone may determine a time, which is the closest to a disconnection time of the first device, among times of transmitting the service of each time by the first device, as a time of transmitting the service of the first device for the last time, and may determine a time, which is the closest to a disconnection time of the second device, among times of transmitting the service of each time by the second device, as a time of transmitting the service of the second device for the last time. The reason why the bluetooth dual-connection headset is disconnected from the first device and the second device respectively may be that the distance between the bluetooth dual-connection headset and the first device and the distance between the bluetooth dual-connection headset and the second device exceed the maximum distance supported by the bluetooth technology, or that the bluetooth dual-connection headset is in a headset box, and the headset box is in a closed state, which is not limited in the embodiment of the present application.
The states of the bluetooth dual-connection earphone can comprise an idle state, a call state, a music state, a video state and the like. When the Bluetooth double-connection earphone detects that the Bluetooth double-connection earphone is in a conversation state, a music state, a video state and other states, the Bluetooth double-connection earphone can be determined to perform Bluetooth service transmission with connected equipment.
The time of transmitting the service may be the time of starting the service transmission, the time of ending the service transmission, or any time in the process of transmitting the service, which is not limited in the embodiment of the present application.
The time of each service transmission may be the time of starting each service transmission, the time of finishing each service transmission, or any time in each service transmission process, which is not limited in the embodiment of the present application.
In the process of establishing the bluetooth communication between the bluetooth dual connection earphone and the first device, the bluetooth dual connection earphone can record the time of each service transmission of the first device, and can also store the time of each service transmission into the database. In the process of establishing the bluetooth communication between the bluetooth dual connection earphone and the second device, the bluetooth dual connection earphone can record the time of each service transmission of the second device, and can also store the time of each service transmission into the database.
The bluetooth dual-connection earphone can store the time of transmitting the service of the first device and the time of transmitting the service of the second device each time respectively, and also can store the time into the same database, and the embodiment of the application does not limit the time.
It should be noted that, if the bluetooth dual-connection headset stores the time when the first device transmits the service each time and the time when the second device transmits the service each time in the same database, the bluetooth dual-connection headset may add an identifier to data of different devices, where the identifier may include at least one of a device identifier, a digital identifier, and a symbol identifier, for example.
According to the implementation mode, the Bluetooth dual-connection earphone records the time of transmitting the service every time, and the use of the user is recorded in detail, so that the use habit of the user can be known conveniently, and the scheme can be optimized according to the use habit of the user subsequently.
In another possible implementation manner, when the bluetooth dual-connection headset performs bluetooth service transmission with the first device and the second device, the bluetooth dual-connection headset may record the time when the first device and the second device transmit services, respectively, and update the time in real time, that is, only one time is recorded for one device, and the time is updated in real time according to the transmission of the services. When the bluetooth dual-connection earphone is disconnected from the first device and the second device, the bluetooth dual-connection earphone may determine the recorded time when the first device transmits the service as the time when the first device transmits the service last time, and determine the recorded time when the second device transmits the service as the time when the second device transmits the service last time.
In the process of establishing the bluetooth communication between the bluetooth dual-connection earphone and the first device, the bluetooth dual-connection earphone can record the time when the first device transmits the service for the first time, and when the bluetooth dual-connection earphone detects that the first device transmits the service for the second time, the time when the first device transmits the service for the first time is updated to the time when the first device transmits the service for the second time, and so on until the bluetooth dual-connection earphone is disconnected from the first device. Similarly, in the process of establishing the bluetooth communication between the bluetooth dual-connection earphone and the second device, the bluetooth dual-connection earphone can record the time when the second device transmits the service for the first time, and when the bluetooth dual-connection earphone detects that the second device transmits the service for the second time, the time when the service is transmitted for the first time is updated to the time when the service is transmitted for the second time, and so on until the bluetooth dual-connection earphone is disconnected from the second device.
By the implementation mode, the Bluetooth dual-connection earphone only records one moment for one device, so that the storage space can be saved.
In yet another possible implementation manner, the bluetooth dual-connection headset may record the time when the first device transmits the service each time, and record the time when the second device transmits the service, and update the time in real time. When the bluetooth dual-connection earphone is disconnected with the first device and the second device, the bluetooth dual-connection earphone may determine a time closest to a time at which the first device is disconnected from the first device among times at which the first device transmits a service each time as a time at which the first device transmits the service last time, and determine a recorded time at which the second device transmits the service as a time at which the second device transmits the service last time.
Or, the bluetooth dual-connection earphone may record the time when the first device transmits the service, update the time in real time, and record the time when the second device transmits the service each time. When the bluetooth dual-connection earphone is disconnected with the first device and the second device, the bluetooth dual-connection earphone may determine the recorded time when the first device transmits the service as the time when the first device transmits the service last time, and determine the time, which is the closest to the time when the second device is disconnected, from the time when the second device transmits the service each time as the time when the second device transmits the service last time.
The realization mode can record the time of transmitting the service in different modes aiming at different devices, is flexible and changeable, and can be suitable for more scenes.
S502, the Bluetooth double-connection earphone determines the equipment which transmits the service last time according to the time when the first equipment transmits the service last time and the time when the second equipment transmits the service last time.
If the time of the last service transmission of the first device is later than the time of the last service transmission of the second device, the Bluetooth dual-connection earphone can determine the first device as the device for the last service transmission; if the time of the last service transmission of the second device is later than the time of the last service transmission of the first device, the bluetooth dual-connection earphone may determine the second device as the device of the last service transmission.
And S503, the Bluetooth double-connection earphone sends a connection signal back to the equipment which finally transmits the service.
The bluetooth dual connectivity headset may preferentially send back a connectivity signal to the device that last transmitted the traffic.
If the last device for transmitting the service is the first device and the bluetooth dual-connection headset is successfully connected back to the first device, the bluetooth dual-connection headset may send a connection signal back to the second device. If the last device for transmitting the service is the first device and the Bluetooth dual connection earphone is unsuccessfully connected back to the first device, the Bluetooth dual connection earphone can continuously send the connection signal back to the first device until the fixed time length is reached.
It should be noted that, in the embodiments of the present application, it is considered that a device that transmits a service last may be a device that transmits a service first after a bluetooth dual-connection headset is successfully connected back, so that a device that transmits a service last is preferentially connected back, which may shorten a connection duration between the device that transmits a service and the bluetooth headset.
It should be further noted that, if the bluetooth headset may be connected to 3 or more than 3 devices at the same time, the bluetooth headset may sort the 3 or more than 3 historical connection devices from back to front according to the last time of transmitting services with the bluetooth headset, and the later the last time of transmitting services, the earlier the connection sequence.
According to the control method for the Bluetooth headset reconnection, when the Bluetooth double-connection headset is connected with the first device and the second device in a reconnection mode, the last device for transmitting the service can be preferentially connected in the reconnection mode, the time for the device for transmitting the service to be connected in the reconnection mode with the Bluetooth headset is shortened, the reconnection efficiency is improved, and the user experience is improved.
In the method 500, the device that transmits the service last time is the device that transmits the service last time after the last connection with the bluetooth dual connectivity earphone is successful, and the bluetooth dual connectivity earphone may further determine the device that transmits the service last time as the device that preferentially transmits the service according to the time of transmitting the service after the connection with the bluetooth dual connectivity earphone is successful for multiple times, and perform reconnection on the device.
Illustratively, when the bluetooth dual-connection headset is disconnected from the first device and the second device each time, the device which transmits the service last is recorded, and the device which transmits the service last is recorded for N times, if the first device has the device which performs service data transmission with the bluetooth headset for S1 times, the second device has the device which performs service data transmission with the bluetooth headset for S2 times, and S1 is greater than S2, the first device is a device which preferentially transmits the service, and the bluetooth dual-connection headset can preferentially perform the back connection.
The control method for Bluetooth headset reconnection provided by the embodiment of the application can preferentially reconnect the equipment which carries out service data transmission for the last time with the Bluetooth dual-connection headset, can more accurately grasp the use habit of a user, and is favorable for accurately judging the equipment which preferentially transmits services.
In order to accurately predict the device for transmitting the service for the first time after the bluetooth dual-connection earphone successfully reconnects, the embodiment of the application provides that the bluetooth dual-connection earphone can count the device for transmitting the service for the first time after the bluetooth dual-connection earphone successfully reconnects, and the device with the largest number of times of service transmission for the first time is determined as the device for preferentially reconnecting the bluetooth dual-connection earphone.
Illustratively, fig. 6 shows a schematic flowchart of a method 600 for controlling bluetooth headset backhaul provided in an embodiment of the present application. The method 600 may be applied to the scenario shown in fig. 2, but the embodiment of the present application is not limited thereto. The method 600 may be performed by a bluetooth headset, for example, the bluetooth dual connectivity headset 101 shown in fig. 2 described above, but the embodiment of the present application is not limited thereto. The structure of the bluetooth dual-connection headset may be as described in fig. 4, but the embodiment of the present application is not limited thereto.
For convenience of description, the embodiment of the present application takes a bluetooth headset as a bluetooth dual-connection headset as an example for explanation. Devices connected to a bluetooth dual-connection headset may be referred to as a first device and a second device. The first device may also be referred to as a first historical connection device, and the second device may also be referred to as a second historical connection device, which is not limited in this embodiment of the present application.
As shown in fig. 6, the method 600 may include the steps of:
s601, when the Bluetooth double-connection earphone is in the earphone box and the earphone box is in an open state, acquiring the history return connection equipment preferentially used.
The Bluetooth dual connection earphone is arranged in the earphone box, the earphone box is in an open state, and meanwhile, when the distance between the Bluetooth dual connection earphone and the first device and the distance between the Bluetooth dual connection earphone and the second device are smaller than the maximum distance supported by the Bluetooth technology, the Bluetooth dual connection earphone is in a back connection state.
Before the historical reconnection is performed, namely before the reconnection, after the Bluetooth double-connection earphone is successfully connected back, the equipment for transmitting the service for the first time or the equipment for transmitting the service for the first time is the most frequently.
In a possible implementation manner, the device preferentially used by the historical backhaul is a device that transmits the service for the first time after the last backhaul connection is successful.
Before the next reconnection, when the bluetooth dual-connection headset is in a reconnection state, the bluetooth dual-connection headset may preferentially reconnect the device that is disconnected last, and may also preferentially reconnect the device that transmits the service last, which is not limited in this embodiment of the present application. And recording the equipment for transmitting the service for the first time after the Bluetooth double-connection earphone is successfully connected. In this state of reconnection, the bluetooth dual-connection headset may use the device that first transmits a service as the device that preferentially reconnects.
In the implementation mode, each reconnection can take the equipment which transmits the service for the first time after the last success as the equipment with priority reconnection, can be changed according to the use habit of the user, is flexible and changeable, and better accords with the use habit of the user.
In another possible implementation manner, the device preferentially used by the historical reconnection is the device which transmits the service for the first time after the reconnection succeeds for the most time.
Before the next reconnection, when the bluetooth dual-connection earphone is in a reconnection state, the bluetooth dual-connection earphone may preferentially reconnect a device that is disconnected last, may preferentially reconnect a device that transmits a service last, and may preferentially reconnect a device that transmits a service last for the first time. And recording the equipment for transmitting the service for the first time after the Bluetooth double-connection earphone is successfully connected back. Each time the Bluetooth double-connection earphone is successfully connected back, the equipment for firstly transmitting the service can be recorded. In this reconnection state, the bluetooth dual-connection headset may count the recorded devices, and determine the device with the largest number of times of first service transmission as the device with the priority of reconnection.
Illustratively, when the bluetooth dual-connection headset is disconnected from the first device and the second device each time, the device for recording the first transmission service is recorded, and the device for recording the first transmission service is recorded N times, if the first device has S1 times of service data transmission with the bluetooth headset, the second device has S2 times of service data transmission with the bluetooth headset, and S1 is greater than S2, the first device is a device for preferentially transmitting the service, and the bluetooth dual-connection headset can preferentially reconnect the device.
In the implementation mode, the device with the largest number of devices for transmitting the service for the first time is used as the device with the priority for the reconnection, so that the use habit of the user can be estimated, the device for transmitting the service by the user is pre-judged, and the device with the priority for the reconnection is performed.
And S602, the Bluetooth dual-connection earphone sends a connection signal back to the equipment preferentially used by the historical connection back.
The bluetooth dual-connected headset may preferentially send back a connect signal to the device that is preferentially used by the historical reconnect.
If the history reconnection priority used device is the first device and the Bluetooth dual connection earphone is successfully reconnected with the first device, the Bluetooth dual connection earphone can send a connection signal back to the second device. If the device preferentially used by the historical reconnection is the first device and the Bluetooth dual-connection earphone is unsuccessfully reconnected with the first device, the Bluetooth dual-connection earphone can continuously send a connection signal back to the first device until the fixed time length is reached.
It should be noted that, in the embodiment of the present application, it is considered that the device preferentially used for historical backhaul may be a device that transmits a service for the first time after the bluetooth dual-connection headset successfully backhaul, and therefore preferentially reconnects the device preferentially used for historical backhaul, which can shorten the backhaul duration between the device that transmits the service and the bluetooth headset.
It should be further noted that, if the bluetooth headset may be connected to 3 or more than 3 devices at the same time, the bluetooth headset may sort the 3 or more than 3 historical connection devices from front to back according to the time of the first service transmission with the bluetooth headset after the connection with the bluetooth headset is successful, and the earlier the time of the first service transmission with the bluetooth headset is, the earlier the connection back sequence is.
According to the control method for the Bluetooth headset reconnection, when the Bluetooth dual-connection headset is connected with the first device and the second device, the device which is used preferentially in historical reconnection can be preferentially connected, the time for the device for transmitting services and the Bluetooth headset to be connected back is shortened, the reconnection efficiency is improved, and the user experience is improved.
The above-mentioned control method for bluetooth headset reconnection determines the device that transmits the service last and the device that is preferentially used by the historical reconnection as the device that transmits the service.
Fig. 7 is a schematic flowchart of a method 700 for controlling bluetooth headset backhaul provided in an embodiment of the present application. The method 700 may be applied to the scenario shown in fig. 2, but the embodiment of the present application is not limited thereto. The method 700 may be performed by a bluetooth headset, for example, the bluetooth dual connectivity headset 101 shown in fig. 2, but the embodiment of the present application is not limited thereto. The structure of the bluetooth dual-connection headset may be as described in fig. 4, but the embodiment of the present application is not limited thereto.
For convenience of description, the embodiment of the present application takes a bluetooth headset as a bluetooth dual-connection headset as an example for explanation. Devices connected to a bluetooth dual-connection headset may be referred to as a first device and a second device. The first device may also be referred to as a first historical connection device, and the second device may also be referred to as a second historical connection device, which is not limited in this embodiment of the present application.
As shown in fig. 7, the method 700 may include the steps of:
s701, when the Bluetooth dual connection earphone is in a loop connection state, the Bluetooth dual connection earphone counts the times of service transmission of the first device and the times of service transmission of the second device.
The bluetooth dual-connection earphone may count the number of times that the first device transmits the service and the number of times that the second device transmits the service after the last reconnection is successful, and may also count the number of times that the first device transmits the service and the number of times that the second device transmits the service after the multiple reconnection is successful, which is not limited in the embodiment of the present application.
If the Bluetooth dual connection earphone counts the times of service transmission of the first device and the times of service transmission of the second device after the last successful reconnection, the Bluetooth dual connection earphone can update the device which is preferentially reconnected after each successful reconnection in real time, and the flexibility is stronger.
If the Bluetooth dual-connection earphone counts the times of service transmission of the first device and the times of service transmission of the second device after repeated successful reconnection, the use habit of the user can be more accurately counted, and the device for transmitting the service after successful reconnection can be more accurately pre-judged.
S702, determining equipment with more service transmission times by the Bluetooth double-connection earphone according to the service transmission times of the first equipment and the service transmission times of the second equipment.
If the number of times of service transmission of the first device is greater than that of the second device, the bluetooth dual-connection headset may determine that the first device is a device with more service transmission times. If the number of times of service transmission of the second device is greater than that of the first device, the bluetooth dual-connection earphone may determine the second device as a device with more service transmission times.
If the number of times of service transmission by the first device is equal to the number of times of service transmission by the second device, the bluetooth dual-connection headset may perform the method 500 or the method 600, which is not limited in this embodiment.
And S703, the Bluetooth double-connection earphone sends back a connection signal to the equipment with more service transmission times.
The bluetooth dual connection headset can preferentially send back the connection signal to the device which has more transmission service times.
If the device with more service transmission times is the first device and the Bluetooth dual connection earphone is successfully connected back with the first device, the Bluetooth dual connection earphone can send a connection signal back to the second device. If the device with more service transmission times is the first device and the Bluetooth dual-connection earphone is unsuccessfully reconnected with the first device, the Bluetooth dual-connection earphone can continuously send a connection signal back to the first device until a fixed time length is reached.
It should be noted that, in the embodiment of the present application, it is considered that the device with the large number of times of service transmission may be a device which transmits the service for the first time after the bluetooth dual-connection headset completes the loopback operation, so that the device with the large number of times of service transmission is preferentially looped back, and the looping time of the device which transmits the service and the bluetooth headset can be shortened.
It should be noted that, if the bluetooth headset may be connected to 3 or more than 3 devices simultaneously, the bluetooth headset may also sequence the 3 or more than 3 historical connection devices according to the number of times of transmitting services with the bluetooth headset after the bluetooth headset is successfully connected, and the device with the greater number of times of transmitting services with the bluetooth headset has the earlier connection sequence.
According to the control method for the Bluetooth headset reconnection, when the Bluetooth dual-connection headset is connected with the first device and the second device, the number of times of service transmission can be preferentially connected, the time for the service transmission device and the Bluetooth headset to be connected back is shortened, the connection back efficiency is improved, and the user experience is improved.
Optionally, different priorities may be set for different services in the embodiment of the present application, and the bluetooth dual-connection headset may send a connection signal back to a device that transmits a service with a high priority. The priority of the service may be preset or set by a user, which is not limited in the embodiment of the present application. The number of services corresponding to the same priority may be one or multiple, and this is not limited in this embodiment of the present application.
Illustratively, the navigation service and the call service may be higher priority level than the video service and the music service, and the bluetooth dual-connection headset may preferentially transmit a connection signal back to the device transmitting the navigation service and/or the call service.
The method 500, the method 600, or the method 700 may be performed by the bluetooth dual connectivity headset when the first device and the second device both transmit traffic with a high priority level, which is not limited in this embodiment of the present application.
Optionally, the method and the device for processing the bluetooth dual-connection service may further include counting the duration of the service transmission between the first device and the bluetooth dual-connection earphone last time and the second device, and when the bluetooth dual-connection earphone is in the earphone box and the earphone box is in an open state, acquiring the duration of the service transmission last time of the first device and the duration of the service transmission last time of the second device; determining the equipment with the longest service duration according to the last service transmission duration of the first equipment and the last service transmission duration of the second equipment; and preferentially connecting the equipment with the longest service time.
If the last service transmission time length of the first equipment is longer than the last service transmission time length of the second equipment, the first equipment is preferentially connected back, namely the connection sequence is the first equipment and the second equipment; if the last service transmission time length of the second device is longer than the last service transmission time length of the first device, the second device is preferentially reconnected, namely the reconnection sequence is the second device and the first device.
Optionally, in this embodiment of the present application, the duration of service transmission between the first device and the second device (which may be N times) and the bluetooth dual-connection headset may be counted, and the device with the largest number of times of service transmission duration may be determined as the device that is preferentially connected back.
Illustratively, when the bluetooth dual-connection earphone is disconnected from the first device and the second device each time, the duration of service transmission is recorded, the device with the longest service transmission duration is determined according to the duration of service transmission, and the device with the longest service transmission duration is continuously recorded for N times. If the first device has the device with the longest service transmission time for S1 time, the second device has the device with the longest service transmission time for S2 time, and S1 is greater than S2, the first device is the device with the priority of reconnection, and the Bluetooth double-connection earphone can preferentially reconnect the first device and the second device.
It should be noted that, if the connection back sequence cannot be determined according to the service duration, the bluetooth dual-connection headset may perform the method 500, the method 600, or the method 700, which is not limited in this embodiment.
The sequence numbers of the above processes do not mean the sequence of execution, and the execution sequence of each process should be determined by its function and inherent logic, and should not limit the implementation process of the embodiment of the present application.
The control method provided by the embodiment of the present application is described in detail above with reference to fig. 1 to 7, and the control device provided by the embodiment of the present application is described in detail below with reference to fig. 8 and 9.
Fig. 8 shows a control device 800 for bluetooth headset loopback according to an embodiment of the present application, where the control device 800 includes: a processing module 810 and a tieback module 820. Wherein the processing module 810 is configured to: when the Bluetooth earphone is in the earphone box and the earphone box is in an open state, determining the back connection sequence of M historical connection devices according to the service data transmission condition of the Bluetooth earphone and each historical connection device in the M historical connection devices, wherein M is an integer greater than 1; the back-connecting module 820 is used for: and performing reconnection on the M historical connection devices according to the reconnection sequence.
Optionally, the service data transmission condition includes time information of service data transmission between the M historical connection devices and the bluetooth headset after the M historical connection devices are successfully connected with the bluetooth headset last time.
Optionally, the time information of service data transmission with the bluetooth headset includes: and time information of last service data transmission with the Bluetooth headset.
Optionally, in some implementations of the second aspect, the later the time of the last transmission of the traffic data with the bluetooth headset is, the earlier the connection back sequence is, among the M historical connection devices.
Optionally, the time information for service data transmission with the bluetooth headset includes: and time information for first service data transmission with the Bluetooth headset.
Optionally, among the M historical connection devices, the earlier the time of the first service data transmission with the bluetooth headset is, the earlier the connection back sequence is.
Optionally, the service data transmission condition includes information of the number of times of service data transmission between the M historical connection devices and the bluetooth headset after the previous connection between the M historical connection devices and the bluetooth headset is successful.
Optionally, among the M historical connection devices, the device that has the greater number of times of service data transmission with the bluetooth headset has the earlier reconnection sequence.
Optionally, the service data transmission condition includes time information of service data transmission performed by the M historical connection devices with the bluetooth headset after successful connection with the bluetooth headset every time in the previous N times, where N is an integer greater than 1.
Optionally, the time information of service data transmission with the bluetooth headset includes: and time information of last service data transmission with the Bluetooth headset.
Optionally, a backhaul sequence of a first historical connection device of the M historical connection devices is earlier than that of a second historical connection device, the first historical connection device is a device performing service data transmission with the bluetooth headset for S1 times among N times, the second historical connection device is a device performing service data transmission with the bluetooth headset for S2 times among N times, and S1 is greater than S2.
Optionally, the time information of service data transmission with the bluetooth headset includes: and time information for first service data transmission with the Bluetooth headset.
Optionally, a first historical connection device of the M historical connection devices has a connection back sequence earlier than that of the second historical connection device, S1 times of the first historical connection device in N times is a first device performing service data transmission with the bluetooth headset, S2 times of the second historical connection device in N times is a first device performing service data transmission with the bluetooth headset, and S1 is greater than S2.
It should be appreciated that the control device 800 herein is embodied in the form of functional modules. The term module herein may refer to an Application Specific Integrated Circuit (ASIC), an electronic circuit, a processor (e.g., a shared, dedicated, or group processor) and memory that execute one or more software or firmware programs, a combinational logic circuit, and/or other suitable components that support the described functionality. In an optional example, as can be understood by those skilled in the art, the control device 800 may be embodied as a bluetooth dual-connection headset in the foregoing method embodiment, or the function of the bluetooth dual-connection headset in the foregoing method embodiment may be integrated in the control device 800, and the control device 800 may be configured to execute each process and/or step corresponding to the bluetooth dual-connection headset in the foregoing method embodiment, which is not described herein again to avoid repetition.
The control device 800 has the function of implementing the corresponding steps executed by the bluetooth dual connectivity headset in the above method embodiment; the above functions may be implemented by hardware, or may be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the functions described above.
In the embodiment of the present application, the control device 800 in fig. 8 may also be a chip or a chip system, for example: system on chip (SoC).
Fig. 9 is a schematic block diagram of another bluetooth headset back-connection control apparatus 900 according to an embodiment of the present application. The control device 900 includes a processor 910, a transceiver 920, and a memory 930. Wherein the processor 910, the transceiver 920 and the memory 930 are in communication with each other via an internal connection path, the memory 930 is used for storing instructions, and the processor 920 is used for executing the instructions stored in the memory 930 to control the transceiver 920 to transmit and/or receive signals.
It should be understood that the control apparatus 900 may be embodied as the bluetooth dual-connection headset in the above method embodiment, or the function of the bluetooth dual-connection headset in the above method embodiment may be integrated in the control apparatus 900, and the control apparatus 900 may be configured to execute each step and/or flow corresponding to the bluetooth dual-connection headset in the above method embodiment. Alternatively, the memory 930 may include a read-only memory and a random access memory, and provides instructions and data to the processor. The portion of memory may also include non-volatile random access memory. For example, the memory may also store device type information. The processor 910 may be configured to execute the instructions stored in the memory, and when the processor executes the instructions, the processor may perform the steps and/or processes corresponding to the control device in the method embodiment described above.
It should be understood that, in the embodiment of the present application, the processor 910 may be a Central Processing Unit (CPU), and the processor may also be other general processors, digital Signal Processors (DSP), application Specific Integrated Circuits (ASIC), field Programmable Gate Arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and so on. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or by instructions in the form of software. The steps of a method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in a processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor executes instructions in the memory and combines hardware thereof to perform the steps of the above-described method. To avoid repetition, it is not described in detail here.
The application also provides a computer-readable storage medium for storing a computer program for implementing the method corresponding to the bluetooth dual-connection headset in the above method embodiment.
The application also provides a chip system, which is used for supporting the bluetooth dual connection earphone in the method embodiment to realize the functions shown in the embodiment of the application.
The present application also provides a computer program product comprising a computer program (which may also be referred to as code, or instructions) which, when run on a computer, can perform the method corresponding to the bluetooth dual connectivity headset as shown in the above method embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative modules and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the technical solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the apparatus and the module described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and in actual implementation, there may be other divisions, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules are integrated into one module.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific implementation of the present application, but the scope of the embodiments of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the embodiments of the present application, and all the changes or substitutions should be covered by the scope of the embodiments of the present application. Therefore, the protection scope of the embodiments of the present application shall be subject to the protection scope of the claims.

Claims (4)

1. A control method for Bluetooth headset reconnection is characterized by comprising the following steps:
when a Bluetooth headset is in a headset box and the headset box is in an open state, determining the back connection sequence of M historical connection devices according to the service data transmission condition of the Bluetooth headset and each historical connection device in the M historical connection devices, wherein M is an integer greater than 1;
according to the reconnection sequence, performing reconnection on the M historical connection devices;
the service data transmission condition comprises time information of first service data transmission between the M historical connection devices and the Bluetooth headset after the M historical connection devices are successfully connected with the Bluetooth headset every time in the previous N times, wherein N is a positive integer greater than 1; the connection sequence of a first historical connection device in the M historical connection devices is earlier than that of a second historical connection device, the first historical connection device is a device which is first to perform service data transmission with the Bluetooth headset for S1 time in the N times, the second historical connection device is a device which is first to perform service data transmission with the Bluetooth headset for S2 times in the N times, and S1 is larger than S2.
2. A control device for Bluetooth headset reconnection, comprising:
the processing module is used for determining the back connection sequence of the M historical connection devices according to the service data transmission condition of the Bluetooth headset and each historical connection device in the M historical connection devices when the Bluetooth headset is in the headset box and the headset box is in an open state, wherein M is an integer greater than 1;
the reconnection module is used for performing reconnection on the M historical connection devices according to the reconnection sequence;
the service data transmission condition comprises time information of first service data transmission between the M historical connection devices and the Bluetooth headset after the M historical connection devices are successfully connected with the Bluetooth headset every time in the previous N times, wherein N is a positive integer greater than 1; the connection sequence of a first historical connection device in the M historical connection devices is earlier than that of a second historical connection device, the first historical connection device is a device which is first to perform service data transmission with the Bluetooth headset for S1 time in the N times, the second historical connection device is a device which is first to perform service data transmission with the Bluetooth headset for S2 times in the N times, and S1 is larger than S2.
3. A control device for Bluetooth headset reconnection, comprising: a processor coupled to a memory for storing a computer program that, when invoked by the processor, causes the control device to perform the method of claim 1.
4. A computer-readable storage medium for storing a computer program comprising instructions for implementing the method of claim 1.
CN202210818174.3A 2022-07-13 2022-07-13 Bluetooth headset reconnection control method and control device Active CN114915957B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210818174.3A CN114915957B (en) 2022-07-13 2022-07-13 Bluetooth headset reconnection control method and control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210818174.3A CN114915957B (en) 2022-07-13 2022-07-13 Bluetooth headset reconnection control method and control device

Publications (2)

Publication Number Publication Date
CN114915957A CN114915957A (en) 2022-08-16
CN114915957B true CN114915957B (en) 2022-11-29

Family

ID=82772193

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210818174.3A Active CN114915957B (en) 2022-07-13 2022-07-13 Bluetooth headset reconnection control method and control device

Country Status (1)

Country Link
CN (1) CN114915957B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115119336B (en) * 2022-08-23 2023-01-13 荣耀终端有限公司 Earphone connection system, earphone connection method, earphone, electronic device and readable storage medium
CN117119614A (en) * 2023-01-28 2023-11-24 荣耀终端有限公司 Bluetooth connection method, device and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110191442A (en) * 2019-04-18 2019-08-30 华为技术有限公司 A kind of Bluetooth connecting method, equipment and system
CN111601199A (en) * 2020-02-17 2020-08-28 华为技术有限公司 Wireless earphone box and system
CN111866821A (en) * 2019-04-26 2020-10-30 深圳市冠旭电子股份有限公司 Bluetooth headset reconnection control method and device and Bluetooth headset
CN112399396A (en) * 2021-01-19 2021-02-23 深圳市汇顶科技股份有限公司 Bluetooth connection switching method, Bluetooth chip and Bluetooth device
CN113099342A (en) * 2021-03-31 2021-07-09 深圳市睿耳电子有限公司 Wireless earphone uncovering and reconnection method and related equipment
CN113766477A (en) * 2021-09-23 2021-12-07 Oppo广东移动通信有限公司 Device connection method, device, electronic device and computer readable medium
CN113810890A (en) * 2021-09-16 2021-12-17 Oppo广东移动通信有限公司 Device loop-back method, device, electronic device and storage medium
CN114222278A (en) * 2021-12-27 2022-03-22 东莞市阿尔法电子科技有限公司 Signal back connection method, system, Bluetooth headset and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9398631B2 (en) * 2012-08-30 2016-07-19 Htc Corporation Method for establishing communications between peer devices, wireless communication device using the same and computer-readable medium
US10735467B2 (en) * 2016-01-11 2020-08-04 Lg Electronics Inc. Method and apparatus for controlling a device using bluetooth technology
CN109906561B (en) * 2017-08-31 2021-06-08 华为技术有限公司 Pairing system, pairing method, terminal device, medium and chip system
AU2020203964B2 (en) * 2019-04-04 2021-10-21 Samsung Electronics Co., Ltd. Electronic device for reporting communication quality measurement result and method of operating the electronic device
CN111935277A (en) * 2020-08-07 2020-11-13 上海汉枫电子科技有限公司 Router connection method, router connection device, computer equipment and storage medium
CN111818667B (en) * 2020-09-10 2020-12-29 深圳传音控股股份有限公司 Device connection method, device and readable storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110191442A (en) * 2019-04-18 2019-08-30 华为技术有限公司 A kind of Bluetooth connecting method, equipment and system
CN111866821A (en) * 2019-04-26 2020-10-30 深圳市冠旭电子股份有限公司 Bluetooth headset reconnection control method and device and Bluetooth headset
CN111601199A (en) * 2020-02-17 2020-08-28 华为技术有限公司 Wireless earphone box and system
CN112399396A (en) * 2021-01-19 2021-02-23 深圳市汇顶科技股份有限公司 Bluetooth connection switching method, Bluetooth chip and Bluetooth device
CN113099342A (en) * 2021-03-31 2021-07-09 深圳市睿耳电子有限公司 Wireless earphone uncovering and reconnection method and related equipment
CN113810890A (en) * 2021-09-16 2021-12-17 Oppo广东移动通信有限公司 Device loop-back method, device, electronic device and storage medium
CN113766477A (en) * 2021-09-23 2021-12-07 Oppo广东移动通信有限公司 Device connection method, device, electronic device and computer readable medium
CN114222278A (en) * 2021-12-27 2022-03-22 东莞市阿尔法电子科技有限公司 Signal back connection method, system, Bluetooth headset and storage medium

Also Published As

Publication number Publication date
CN114915957A (en) 2022-08-16

Similar Documents

Publication Publication Date Title
CN114915957B (en) Bluetooth headset reconnection control method and control device
CN112040461B (en) Approach discovery method and device
WO2021042942A1 (en) Wireless earphones and wireless earphone system
CN1826001B (en) Multimode transmission control method and multimode transmission control apparatus
CN106549451B (en) A kind of wireless charging method and device
CN113660650B (en) Method and related device for device reconnection
KR20100052287A (en) Control method of portable device connected external device and system thereof
CN108541080B (en) Method for realizing loop connection between first electronic equipment and second electronic equipment and related product
CN110392427B (en) Communication flow processing method and terminal
CN109151212B (en) Equipment control method and device and electronic equipment
CN102025828B (en) Terminal and control method thereof
US11425520B2 (en) Method for detecting blocking of microphone and related products
CN114245362B (en) Device reconnection method and Bluetooth peripheral
CN108834013B (en) Wearable equipment electric quantity balancing method and related product
CN105704106B (en) A kind of visualization IVR implementation method and mobile terminal
CN111464690A (en) Application preloading method and electronic equipment
CN113839438A (en) Battery recharging protection method and electronic equipment
CN113473291A (en) Communication method, earphone cabin and WIFI earphone
KR100761698B1 (en) Apparatus and method for synchronizing in mobile communication terminal
CN108882084A (en) A kind of wearable device electric quantity balancing method and Related product
CN110113669B (en) Method and device for acquiring video data, electronic equipment and storage medium
CN114466099B (en) Control method and device of Bluetooth equipment and storage medium
CN108955641A (en) A kind of depth camera method, depth camera equipment and mobile terminal
CN116074793A (en) Bluetooth pairing method, device, system and storage medium
CN114554012A (en) Incoming call answering method, electronic equipment and 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
GR01 Patent grant
GR01 Patent grant