CN113099342A - Wireless earphone uncovering and reconnection method and related equipment - Google Patents

Wireless earphone uncovering and reconnection method and related equipment Download PDF

Info

Publication number
CN113099342A
CN113099342A CN202110345863.2A CN202110345863A CN113099342A CN 113099342 A CN113099342 A CN 113099342A CN 202110345863 A CN202110345863 A CN 202110345863A CN 113099342 A CN113099342 A CN 113099342A
Authority
CN
China
Prior art keywords
earphone
terminal device
connection
terminal equipment
wireless
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110345863.2A
Other languages
Chinese (zh)
Inventor
刘熙民
于萍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangxi Risound Electronics Co ltd
Shenzhen Ruier Electronic Co ltd
Original Assignee
Jiangxi Risound Electronics Co ltd
Shenzhen Ruier Electronic Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangxi Risound Electronics Co ltd, Shenzhen Ruier Electronic Co ltd filed Critical Jiangxi Risound Electronics Co ltd
Priority to CN202110345863.2A priority Critical patent/CN113099342A/en
Publication of CN113099342A publication Critical patent/CN113099342A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • 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/1025Accumulators or arrangements for charging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2420/00Details of connection covered by H04R, not provided for in its groups
    • H04R2420/07Applications of wireless loudspeakers or wireless microphones

Abstract

The embodiment of the application discloses a method for realizing the uncovering and the reconnection of a wireless earphone, which is applied to the wireless earphone and comprises the following steps: if the cover of the charging box of the wireless earphone is detected to be opened, acquiring the signal intensity of the terminal equipment in the detection range of the wireless earphone, and acquiring at least one terminal equipment to be connected, wherein the signal intensity meets the connection requirement; acquiring a historical connection record list of the wireless headset, and judging whether the at least one terminal device to be connected exists in the historical connection record list; if so, acquiring the priority sequence of the at least one terminal device to be connected, and taking the terminal device to be connected with the highest priority as a target terminal device; and sending a connection request to the target terminal equipment so as to establish communication connection with the target terminal equipment under the condition that the target terminal equipment allows connection. By the adoption of the method and the device, the intelligence and the safety of automatic connection of the wireless earphone can be improved.

Description

Wireless earphone uncovering and reconnection method and related equipment
Technical Field
The present application relates to the field of wireless headset technologies, and in particular, to a method for opening a cover of a wireless headset and a device for opening a cover of a wireless headset and a computer-readable storage medium.
Background
With the popularization of earphones, most users have increasingly higher requirements on the functions of the earphones, and the earphones are not limited to the functions provided by wired earphones, are expected to be more convenient and can adapt to more application scenes, such as answering of a call during driving, getting rid of the constraint of mutually wound earphone wires and the like. Therefore, the wireless earphone is produced and rapidly popularized, and is widely applied.
However, the wireless earphone is different from the wired earphone, and the connection with the terminal equipment can be established by plugging an earphone wire. More often, the end user is required to manually search to initiate a connection to the wireless headset. But the wireless earphone can not actively select the matched terminal equipment and initiate connection. Therefore, the degree of intelligence of the wireless headset is low.
Disclosure of Invention
The embodiment of the application provides a method for opening a cover of a wireless earphone and related equipment. The intelligence and the security of wireless earphone automatic connection can be promoted.
In one aspect, a method for opening a cover of a wireless headset and performing reconnection is applied to the wireless headset, and the method comprises the following steps:
if the cover of the charging box of the wireless earphone is detected to be opened, acquiring the signal intensity of the terminal equipment in the detection range of the wireless earphone, and acquiring at least one terminal equipment to be connected, wherein the signal intensity meets the connection requirement;
acquiring a historical connection record list of the wireless headset, and judging whether the at least one terminal device to be connected exists in the historical connection record list;
if so, acquiring the priority sequence of the at least one terminal device to be connected, and taking the terminal device to be connected with the highest priority as a target terminal device;
and sending a connection request to the target terminal equipment so as to establish communication connection with the target terminal equipment under the condition that the target terminal equipment allows connection.
In one aspect, a wireless headset uncap reconnecting device, the device comprising:
the processing unit is used for acquiring the signal intensity of the terminal equipment within the detection range of the wireless earphone if the cover of the charging box of the wireless earphone is detected to be opened, and acquiring at least one terminal equipment to be connected, wherein the signal intensity of the terminal equipment meets the connection requirement;
the processing unit is further configured to obtain a historical connection record list of the wireless headset, and determine whether the at least one to-be-connected terminal device exists in the historical connection record list;
the processing unit is further configured to, if yes, obtain a priority order of the at least one to-be-connected terminal device, and use the to-be-connected terminal device with a highest priority as a target terminal device;
a communication unit, configured to send a connection request to the target terminal device, so that a communication connection is established with the target terminal device when the connection is allowed by the target terminal device.
In one aspect, embodiments of the present application provide a wireless headset, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for performing the steps of the method.
Accordingly, embodiments of the present application provide a computer-readable storage medium for storing computer program instructions for a terminal device, which includes a program for performing the steps of the method described above.
Accordingly, embodiments of the present application provide a computer program product or a computer program, where the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium, and when the computer instructions are executed by a processor of a computer device, the computer instructions perform the methods in the embodiments described above. The computer program product may be a software installation package.
It can be seen that, in the embodiment of the present application, when the wireless headset detects that the lid of the charging box is opened, for example, when a user opens the lid of the charging box, the wireless headset automatically determines the target terminal device according to the terminal device to be connected, and establishes a communication connection with the terminal. Through the active screening, connection, the simplification connection operation of wireless earphone, effectively promote connection speed, further promote the convenience of operation.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a wireless headset uncapping and reconnecting system according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a method for uncapping and reconnecting a wireless headset according to an embodiment of the present application;
fig. 3 is a schematic flow chart of another method for uncapping and reconnecting a wireless headset according to an embodiment of the present application;
fig. 4 is a functional unit schematic diagram of a wireless headset uncapping and reconnecting device provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of a wireless headset according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The existing wireless earphone is different from a wired earphone, and the connection can be established with the terminal equipment by plugging in the wire. More often, the end user is required to manually search and initiate the connection. But the wireless earphone can not actively select the matched terminal equipment to be connected and initiate connection.
The intelligent degree of wireless earphone of this application embodiment is lower or higher, for example wireless earphone can be the intelligent earphone that includes the artificial intelligence chip (be intelligent wireless earphone), and still can include microprocessor among the intelligent earphone, microprocessor and artificial intelligence chip among the intelligent earphone come interconnect communication through the dedicated channel, microprocessor can independently control intelligent earphone work, microprocessor also can control intelligent earphone work under artificial intelligence chip's the guide, artificial intelligence chip can export some intelligent control strategies for microprocessor, guide the better work of microprocessor. The microprocessor can construct a microprocessor software platform, the artificial intelligence chip can construct an artificial intelligence chip software platform, the microprocessor software platform and the artificial intelligence chip software platform are two mutually independent software platforms, and the artificial intelligence chip software platform is in communication connection with the microprocessor software platform.
Wherein, artificial intelligence chip and microprocessor all can be through bluetooth communication module or wired link and mobile terminal communication connection, and mobile terminal can be through sending dormancy instruction to the microprocessor of arbitrary one intelligent earphone in intelligent earphone pair (intelligent earphone pair is including two earphones that pair), and this microprocessor gets into dormant state from waking up the state, and when the microprocessor of intelligent earphone was in dormant state, the audio playback function of this intelligent earphone will be invalid so. The mobile terminal can also instruct the artificial intelligence chip to inform the microprocessor to enter the awakening state from the dormancy state by sending the awakening instruction to the artificial intelligence chip of the intelligent earphone. In some possible embodiments, the artificial intelligence chip may always be in the wake-up state when the power is normally supplied. In some possible embodiments, the microprocessor in the sleep state can only receive the instruction from the artificial intelligence chip, that is, the dedicated channel between the microprocessor and the artificial intelligence chip is not closed at this time, but all other communication channels of the microprocessor are in the closed state, and for example, the microprocessor in the sleep state can only receive the instruction from the artificial intelligence chip, that is, the microprocessor in the sleep state can only be woken up by the artificial intelligence chip. When the artificial intelligence chip wakes up the microprocessor in the dormant state and fails, the artificial intelligence chip can be switched to the working mode of the microprocessor, the microprocessor is replaced to control the intelligent earphone to work in the coming time, and when the artificial intelligence chip is switched to the working mode of the microprocessor, the audio playing function of the intelligent earphone can normally run under the support of the artificial intelligence chip.
In order to solve the above problem, an embodiment of the present application provides a method for opening a cover of a wireless headset and performing a loopback operation, which is applied to the wireless headset. The following detailed description is made with reference to the accompanying drawings.
First, please refer to the schematic structural diagram of the wireless headset uncapping and connecting system shown in fig. 1, which includes a wireless headset 110, a charging box 120 of the wireless headset, and a terminal device 130.
The wireless earphone 110 is a radio receiver, in which the middle line is replaced by electric waves, and the wireless earphone is connected to the transmitting end from the audio outlet of the terminal device 130, and then the transmitting end transmits the electric waves to the earphone of the receiving end, and the receiving end is equivalent to a radio receiver. Three types of target wireless headsets are known: one is a Bluetooth earphone, the other is an infrared earphone, and the other is 2.4G.
The Wireless headset 110 according to the embodiment of the present application may be a True Wireless Stereo (TWS) headset. Compared with the traditional wired earphone, the TWS earphone adopts Bluetooth connection and transmission, and has small volume, good sound quality and rich functions. The left and right earphones of the TWS earphone are mutually independent and are not connected by cables, and the wireless separation of the left and right sound channels can be realized.
The charging box 130 of the wireless headset comprises a shell and a cover, wherein the shell cavity of the charging box of the TWS Bluetooth headset is used for fixing and protecting an internal headset, a circuit and a battery, and belongs to a very precise structural component. As can be seen from the picture, a plurality of frameworks and buckling positions are arranged in the shell, so that on one hand, the strength of the shell is enhanced, and on the other hand, tight thread joint is realized. In addition, some battery cases still reserve the trench of secretly burying magnet for flip adsorbs automatically, and the earphone is fixed when accomodating.
The metal contacts in the TWS charging box, known in english as Pogo Pin, this section we talk about the design of the thimble. Some manufacturers place them on a small board alone, and most of them also mount pins on the main board directly. On the TWS earphone charging box, we have needles with various specifications, 2, 3, 5, etc. What purpose these thimbles are respectively?
Every TWS bluetooth headset will be equipped with a section of charging box that matches with it at random, and the function that the charging box can provide power and accomodate and deposit for it. The TWS bluetooth headset charging box, although an accessory for a headset, is of crucial importance.
The terminal 130 may include various handheld devices (e.g., smart phones, tablet computers, etc.) having a wireless communication function, vehicle-mounted devices, wearable devices (smart watches, smart bands, wireless headsets, augmented reality/virtual reality devices, smart glasses), computing devices or other processing devices connected to a wireless modem, and various forms of User Equipment (UE), Mobile Stations (MS), terminals (terminal device), and so on. For convenience of description, the above-mentioned terminals are collectively referred to as electronic devices.
The technical solution of the embodiment of the present application may be implemented based on the communication system with the architecture illustrated in fig. 1 by way of example or a modified architecture thereof.
Referring to fig. 2, fig. 2 is a schematic flow chart of a method for uncapping and reconnecting a wireless headset according to an embodiment of the present application, where the method may include, but is not limited to, the following steps:
201. and if the cover of the charging box of the wireless earphone is detected to be opened, acquiring the signal intensity of the terminal equipment within the detection range of the wireless earphone, and acquiring at least one terminal equipment to be connected, of which the signal intensity meets the connection requirement.
Specifically, it can be understood that a sensing device, such as a sound sensor, a weight sensor, a frequency sensor, and other devices capable of detecting the opening of the cover, is disposed between the wireless headset charging box and the cover. After the charging box acquires the cover opening information, the indication information of cover opening can be sent to the wireless earphone, so that the wireless earphone can execute subsequent uncovering and connecting operations. The wireless earphone can also detect that the cover of the charging box is opened, the wireless earphone acquires the signal intensity of the terminal equipment within the detection range of the wireless earphone, for example, the detection range is 15 meters, the signal intensity of the terminal equipment within the 15 meters is judged to meet the connection requirement, and the terminal equipment meeting the requirement, for example, the terminal A, the terminal B, the terminal C and the like are used as the terminal equipment to be connected.
202. And acquiring a historical connection record list of the wireless headset, and judging whether the at least one terminal device to be connected exists in the historical connection record list.
Specifically, the wireless headset stores a history connection record list, which may include a unique identifier of the history connection terminal device, such as a MAC address, a user name, device parameter information, and the like. The wireless earphone can judge whether the terminal equipment to be connected exists in the historical connection record list according to the acquired terminal equipment to be connected and the historical connection record list, namely whether the terminal equipment to be connected has connection records with the wireless earphone.
203. If so, acquiring the priority order of the at least one terminal device to be connected, and taking the terminal device to be connected with the highest priority as a target terminal device.
Specifically, when the wireless headset determines that at least one terminal device to be connected exists in the historical connection record list, that is, when at least one terminal device to be connected has a connection record with the wireless headset, the wireless headset may further obtain a priority order of the at least one terminal device to be connected, and then use the terminal device to be connected with the highest priority as the target terminal device.
In addition, the priority order may be set in advance according to a certain standard, or may be determined based on the signal strength of at least one terminal device to be connected, the number of radio frequency transceiver systems, or other parameters.
204. And sending a connection request to the target terminal equipment so as to establish communication connection with the target terminal equipment under the condition that the target terminal equipment allows connection.
Specifically, after the wireless headset determines the target terminal device, it needs to establish a connection with the target terminal device, and sends a connection request to the target terminal device, so that a communication connection is established with the target terminal device when the target terminal device allows the connection. And the information can be further conveniently received and transmitted, such as receiving audio files and the like sent by the target terminal equipment, reporting the information of the terminal equipment and the like.
It can be seen that, when the wireless headset detects that the cover of the charging box is opened, for example, when a user opens the cover of the charging box, the wireless headset automatically determines a target terminal device according to a terminal device to be connected, and establishes a communication connection with the terminal. Through the active screening, connection, the simplification connection operation of wireless earphone, effectively promote connection speed, further promote the convenience of operation.
Referring to fig. 3, in accordance with the embodiment shown in fig. 2, fig. 3 is a schematic flowchart of another method for opening a cover of a wireless headset according to an embodiment of the present application, where the method includes:
301. and if the cover of the charging box of the wireless earphone is detected to be opened, acquiring the signal intensity of the terminal equipment within the detection range of the wireless earphone, and acquiring at least one terminal equipment to be connected, of which the signal intensity meets the connection requirement.
302. And acquiring a historical connection record list of the wireless headset, and judging whether the at least one terminal device to be connected exists in the historical connection record list.
303. If so, acquiring the priority order of the at least one terminal device to be connected, and taking the terminal device to be connected with the highest priority as a target terminal device.
304. And sending a connection request to the target terminal equipment so as to establish communication connection with the target terminal equipment under the condition that the target terminal equipment allows connection.
The steps 301-304 are referred to the steps 201-204, and will not be described herein again.
305. And sending mode switching indication information to the target terminal equipment so that the target terminal equipment sends target audio information in a dual-sending mode.
Specifically, after establishing a communication connection with a target terminal device, the wireless headset may send mode switching indication information to the target terminal device, so that the target terminal device sends target audio information in a dual mode. The dual-transmission mode is different from a main earphone mode and an auxiliary earphone mode of the wireless earphone, under the main earphone mode and the auxiliary earphone mode, the terminal equipment transmits the audio file to the main earphone, and the main earphone forwards the audio file to the auxiliary earphone. Under this mode, the consumption of main earphone is bigger, and the electric quantity consumption speed of two earphones differs greatly, and life also has the difference. Therefore, the terminal equipment adopts a double-transmission mode, the main earphone and the auxiliary earphone can simultaneously receive the audio files transmitted by the terminal equipment, the step of transmitting the audio files in the middle of the main earphone is cancelled, and the power consumption and the service life of the two earphones are balanced.
Therefore, the wireless earphone can be actively connected with the target terminal equipment when the cover of the charging box is opened, so that the connection operation is simplified, and the connection speed is increased; and after the connection is successful, sending mode switching indication information to the target terminal equipment so that the target terminal equipment sends target audio information in a dual-sending mode. Therefore, under the double-shot mode of the target terminal equipment, the power consumption of the target terminal equipment is not increased, the power consumption of the main earphone is reduced, the service life of the main earphone is prolonged, and the balance of the service lives of the main earphone and the auxiliary earphone is improved.
In one possible example, after said determining whether the at least one terminal device to be connected exists in the historical connection record list, the method further comprises: if not, broadcasting information to be verified to the at least one terminal device to be connected; receiving feedback information which is sent by the at least one terminal device to be connected and corresponds to the information to be verified; generating a verification result according to the feedback information, and determining target terminal equipment according to the verification result; and after determining the target terminal equipment according to the verification result, executing a step of sending a connection request to the target terminal equipment so as to establish communication connection with the target terminal equipment under the condition that the target terminal equipment allows connection.
Specifically, after the wireless headset determines at least one terminal device to be connected, and determines that the at least one terminal device to be connected does not exist in the historical connection record list, that is, the at least one terminal device to be connected is not in communication connection with the wireless headset, the wireless headset performs security verification on the at least one terminal device to be connected.
The security verification may be performed by using a public key and a private key, that is, the information to be verified broadcast by the wireless headset is the public key, and the verification is considered to be passed when the received private key included in the feedback information sent by the other terminal device is matched with the public key. The public key and the private key may be preset by a user of the wireless headset.
In addition, the security verification mode may also be a Trusted Execution Environment (TEE) verification mode. In the verification mode, the application layer of the target terminal device is configured with the TEE. After the target terminal equipment receives the information to be verified, the TEE can automatically decode the information to be verified to obtain decoded information, and the decoded information is used as feedback information corresponding to the information to be verified to be sent to the wireless earphone. And aiming at least one terminal device to be checked, the wireless earphone checks after receiving the at least one feedback information, and generates a check result. The verification result comprises that the terminal equipment to be verified passes the verification or fails the verification. And the wireless earphone determines the terminal equipment passing the verification result as the target terminal equipment.
Therefore, when the target terminal device is determined, the wireless earphone can perform safety verification on the terminal device to be connected in a diversified manner aiming at the terminal device to be connected which does not exist in the historical connection record list, and the wireless earphone can be prevented from being stolen by other terminal devices under the condition that the wireless earphone is lost. The terminal equipment corresponding to the wireless earphone is convenient to establish connection with new terminal equipment after the new terminal equipment is replaced. The security and the intelligent degree of the connection process are submitted.
In one possible example, the wireless headset includes a main headset and a sub-headset, and before the acquiring at least one terminal device to be connected with a signal strength meeting a connection requirement, the method further includes: the main earphone sends a connection instruction to the auxiliary earphone, and the connection instruction is used for indicating the auxiliary earphone to establish communication connection with the main earphone; after communication connection with the auxiliary earphone is established, acquiring the state parameters of the auxiliary earphone and the state parameters of the main earphone; and if the switching of the main earphone and the auxiliary earphone is determined according to the state parameters of the auxiliary earphone and the state parameters of the main earphone, sending a main earphone switching instruction and an auxiliary earphone switching instruction to the auxiliary earphone, wherein the main earphone switching instruction and the auxiliary earphone switching instruction are used for indicating the auxiliary earphone to be switched into a new main earphone, and executing the step of acquiring at least one terminal device to be connected with the signal intensity meeting the connection requirement.
Specifically, under the condition that the wireless headset comprises a main headset and an auxiliary headset, before at least one terminal device to be connected, the signal strength of which meets the connection requirement, is obtained, the main headset and the auxiliary headset can establish a communication connection relation through a connection instruction. And after the main earphone establishes communication connection with the auxiliary earphone, acquiring the state parameters of the auxiliary earphone and the state parameters of the main earphone. The state parameters can be the current electric quantity of the main earphone and the auxiliary earphone, the accumulated use time, the accumulated charging and discharging times and the like. The main earphone can determine whether to switch the main earphone and the auxiliary earphone according to the respective state parameters. And if the switching of the main earphone and the auxiliary earphone is determined according to the state parameters of the auxiliary earphone and the state parameters of the main earphone, for example, the current electric quantity of the main earphone is lower than the current electric quantity of the auxiliary earphone, the accumulated using time of the main earphone is longer than the accumulated using time of the auxiliary earphone, or the accumulated charging and discharging times of the main earphone is longer than the accumulated charging and discharging times of the auxiliary earphone, and the like, sending a main earphone and auxiliary earphone switching instruction to the auxiliary earphone, wherein the main earphone and auxiliary earphone switching instruction is used for indicating the auxiliary earphone to be switched to a new main earphone, the main earphone is switched to the auxiliary earphone and is adjusted to be in a dormant state, and the new main earphone is used for executing the step of acquiring at least one terminal.
Therefore, the main and auxiliary earphone switching mechanism is set for the wireless earphones with the main and auxiliary earphones, the service life of the main earphones can be effectively prolonged, and the balance of the service life of the main and auxiliary earphones is improved.
In a possible example, after the signal strength of the terminal device in the detection range of the wireless headset is obtained if the charging box of the wireless headset is detected to be opened, the method further includes: judging whether the signal intensity of the terminal equipment in the detection range of the wireless earphone meets the connection requirement or not; if not, enhancing the transmission power of the wireless earphone according to a preset period and sending a heartbeat packet of the wireless earphone so that the terminal equipment establishes communication connection with the wireless earphone after receiving the heartbeat packet.
Specifically, the wireless headset enhances the transmitting power of the wireless headset according to a preset period when the wireless headset judges that the signal intensity of the terminal device in the detection range of the wireless headset does not meet the connection requirement. The preset period is, for example, 30 milliseconds (ms), 2 seconds(s), or 5 seconds(s). The transmission power is increased to increase the transmission distance of the wireless headset signal, and the transmission distance can be increased from 15 meters to 20 meters or 25 meters. The wireless earphone sends the heartbeat packet of the wireless earphone, so that the target terminal equipment can detect the heartbeat packet of the wireless earphone at a longer distance and establish communication connection with the wireless earphone.
Therefore, when the signal intensity of the terminal equipment does not meet the connection requirement, the wireless earphone actively enhances the transmitting power and sends the heartbeat packet, so that the terminal equipment can conveniently acquire the heartbeat signal of the wireless earphone and establish communication connection with the heartbeat signal, and the successful connection possibility and the connection stability of the terminal equipment and the wireless earphone are improved.
In one possible example, the wireless headset includes a main headset and an auxiliary headset, the determining whether the signal strength of the terminal device in the detection range of the wireless headset meets the connection requirement, and if not, the method further includes: and the main earphone sends a sleep instruction to the auxiliary earphone for indicating the auxiliary earphone to be adjusted to a sleep state.
Specifically, the wireless headset comprises a main headset and an auxiliary headset, and the main headset sends a sleep instruction to the auxiliary headset when the main headset judges that the signal intensity of the terminal device in the detection range of the wireless headset does not meet the connection requirement, so as to indicate that the auxiliary headset is adjusted to be in a sleep state. The power consumption of the auxiliary earphone is reduced.
Therefore, the main earphone sends a sleep instruction to the auxiliary earphone for indicating the auxiliary earphone to be adjusted to a sleep state, and the power consumption of the auxiliary earphone can be effectively reduced.
Referring to fig. 4, it is a schematic diagram of functional units of a wireless headset uncapping and reconnecting device 400 according to an embodiment of the present invention, where the wireless headset uncapping and reconnecting device 400 according to an embodiment of the present invention may be a built-in device of a wireless headset or may be an external device of the wireless headset.
In one implementation manner of the apparatus according to the embodiment of the present invention, the apparatus includes:
the processing unit 410 is configured to, if it is detected that the cover of the charging box of the wireless headset is opened, obtain signal strength of the terminal device within the detection range of the wireless headset, and obtain at least one to-be-connected terminal device whose signal strength meets a connection requirement;
the processing unit 410 is further configured to obtain a historical connection record list of the wireless headset, and determine whether the at least one terminal device to be connected exists in the historical connection record list;
the processing unit 410 is further configured to, if yes, obtain a priority order of the at least one to-be-connected terminal device, and use the to-be-connected terminal device with a highest priority as a target terminal device;
a communication unit 420, configured to send a connection request to the target terminal device, so that a communication connection is established with the target terminal device when the target terminal device allows connection.
In a possible embodiment, after the processing unit 410 is configured to determine and determine whether the at least one terminal device to be connected exists in the historical connection record list, the processing unit is further configured to: if not, broadcasting information to be verified to the at least one terminal device to be connected; receiving feedback information which is sent by the at least one terminal device to be connected and corresponds to the information to be verified; generating a verification result according to the feedback information, and determining target terminal equipment according to the verification result; after determining the target terminal device, executing a step of sending a connection request to the target terminal device so as to establish a communication connection with the target terminal device in a case where the target terminal device allows the connection.
In a possible example, the wireless headset includes a main headset and a sub-headset, and the processing unit 410 is further configured to, before the obtaining at least one terminal device to be connected whose signal strength satisfies the connection requirement: sending a connection instruction to the auxiliary earphone, wherein the connection instruction is used for indicating the auxiliary earphone to establish communication connection with the main earphone; after communication connection with the auxiliary earphone is established, acquiring the state parameters of the auxiliary earphone and the state parameters of the main earphone; and if the switching of the main earphone and the auxiliary earphone is determined according to the state parameters of the auxiliary earphone and the state parameters of the main earphone, sending a main earphone switching instruction and an auxiliary earphone switching instruction to the auxiliary earphone, wherein the main earphone switching instruction and the auxiliary earphone switching instruction are used for indicating the auxiliary earphone to be switched into a new main earphone, and executing the step of acquiring at least one terminal device to be connected with the signal intensity meeting the connection requirement.
In a possible example, the processing unit 410 is configured to, after acquiring the signal strength of the terminal device in the detection range of the wireless headset if it is detected that the charging box of the wireless headset is turned on, further: judging whether the signal intensity of the terminal equipment in the detection range of the wireless earphone meets the connection requirement or not; if not, enhancing the transmission power of the wireless earphone according to a preset period and sending a heartbeat packet of the wireless earphone so that the terminal equipment establishes communication connection with the wireless earphone after receiving the heartbeat packet.
In a possible example, the wireless headset includes a main headset and a sub-headset, and the processing unit 410 is configured to determine whether the signal strength of the terminal device in the detection range of the wireless headset meets a connection requirement, and if not, further configured to: and sending a sleep instruction to the auxiliary earphone for indicating the auxiliary earphone to be adjusted to a sleep state.
In a possible example, the communication unit 420 is configured to, after the communication connection is established with the target terminal device, further: and sending mode switching indication information to the target terminal equipment so that the target terminal equipment sends target audio information in a dual-sending mode.
In some embodiments, the wireless headset cover-opening and back-connecting device further comprises an input-output interface, a communication interface, a power supply and a communication bus.
In the embodiment of the application, the wireless headset uncapping reconnection device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Referring to fig. 5, it is a schematic structural diagram of a wireless headset according to an embodiment of the present invention, where the wireless headset includes a power supply module and the like, and includes a processor 501, a storage device 502, and a communication interface 503. The processor 501, the storage device 502, and the communication interface 503 may exchange data with each other.
The storage device 502 may include volatile memory (volatile memory), such as random-access memory (RAM); the storage device 502 may also include a non-volatile memory (non-volatile memory), such as a flash memory (flash memory), a solid-state drive (SSD), etc.; the storage device 502 may also comprise a combination of memories of the kind described above. The communication interface 503 is an interface for data interaction between internal devices of the wireless headset, such as: a storage device 502 and a processor 501.
The processor 501 may be a Central Processing Unit (CPU) 501. In one embodiment, the processor 501 may also be a Graphics Processing Unit (GPU) 501. The processor 501 may also be a combination of a CPU and a GPU. In one embodiment, the storage device 502 is used to store program instructions. The processor 501 may call the program instructions to perform the following steps:
if the cover of the charging box of the wireless earphone is detected to be opened, acquiring the signal intensity of the terminal equipment in the detection range of the wireless earphone, and acquiring at least one terminal equipment to be connected, wherein the signal intensity meets the connection requirement;
acquiring a historical connection record list of the wireless headset, and judging whether the at least one terminal device to be connected exists in the historical connection record list;
if so, acquiring the priority sequence of the at least one terminal device to be connected, and taking the terminal device to be connected with the highest priority as a target terminal device;
and sending a connection request to the target terminal equipment so as to establish communication connection with the target terminal equipment under the condition that the target terminal equipment allows connection.
In a possible embodiment, the processor 501, after the determining whether the at least one terminal device to be connected exists in the historical connection record list, is further configured to: if not, broadcasting information to be verified to the at least one terminal device to be connected; receiving feedback information which is sent by the at least one terminal device to be connected and corresponds to the information to be verified; generating a verification result according to the feedback information, and determining target terminal equipment according to the verification result; after determining the target terminal device, executing a step of sending a connection request to the target terminal device so as to establish a communication connection with the target terminal device in a case where the target terminal device allows the connection.
In one possible example, the wireless headset includes a primary headset and a secondary headset, and the processor 501, before the obtaining at least one terminal device to be connected whose signal strength satisfies the connection requirement, is further configured to: sending a connection instruction to the auxiliary earphone, wherein the connection instruction is used for indicating the auxiliary earphone to establish communication connection with the main earphone; after communication connection with the auxiliary earphone is established, acquiring the state parameters of the auxiliary earphone and the state parameters of the main earphone; and if the switching of the main earphone and the auxiliary earphone is determined according to the state parameters of the auxiliary earphone and the state parameters of the main earphone, sending a main earphone switching instruction and an auxiliary earphone switching instruction to the auxiliary earphone, wherein the main earphone switching instruction and the auxiliary earphone switching instruction are used for indicating the auxiliary earphone to be switched into a new main earphone, and executing the step of acquiring at least one terminal device to be connected with the signal intensity meeting the connection requirement.
In a possible example, the processor 501, after acquiring the signal strength of the terminal device in the detection range of the wireless headset if it is detected that the charging box of the wireless headset is turned on, is further configured to: judging whether the signal intensity of the terminal equipment in the detection range of the wireless earphone meets the connection requirement or not; if not, enhancing the transmission power of the wireless earphone according to a preset period and sending a heartbeat packet of the wireless earphone so that the terminal equipment establishes communication connection with the wireless earphone after receiving the heartbeat packet.
In a possible example, the wireless headset includes a main headset and a sub-headset, and the processor 501 is configured to determine whether a signal strength of a terminal device in a detection range of the wireless headset meets a connection requirement, and if not, further configured to: and sending a sleep instruction to the auxiliary earphone for indicating the auxiliary earphone to be adjusted to a sleep state.
In a possible example, the processor 501, after the communication connection is established with the target terminal device, is further configured to: and sending mode switching indication information to the target terminal equipment so that the target terminal equipment sends target audio information in a dual-sending mode.
Embodiments of the present application also provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the methods as described in the above method embodiments.
Embodiments of the present application also provide a computer program product or computer program comprising computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform some or all of the steps of any of the methods as recited in the above method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
While the invention has been described with reference to a number of embodiments, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method for opening a cover and reconnecting a wireless earphone is applied to the wireless earphone, and comprises the following steps:
if the cover of the charging box of the wireless earphone is detected to be opened, acquiring the signal intensity of the terminal equipment in the detection range of the wireless earphone, and acquiring at least one terminal equipment to be connected, wherein the signal intensity meets the connection requirement;
acquiring a historical connection record list of the wireless headset, and judging whether the at least one terminal device to be connected exists in the historical connection record list;
if so, acquiring the priority sequence of the at least one terminal device to be connected, and taking the terminal device to be connected with the highest priority as a target terminal device;
and sending a connection request to the target terminal equipment so as to establish communication connection with the target terminal equipment under the condition that the target terminal equipment allows connection.
2. The method according to claim 1, wherein after said determining whether the at least one terminal device to be connected is present in the historical connection record list, the method further comprises:
if not, broadcasting information to be verified to the at least one terminal device to be connected;
receiving feedback information which is sent by the at least one terminal device to be connected and corresponds to the information to be verified;
generating a verification result according to the feedback information, and determining target terminal equipment according to the verification result;
and after determining the target terminal equipment according to the verification result, executing a step of sending a connection request to the target terminal equipment so as to establish communication connection with the target terminal equipment under the condition that the target terminal equipment allows connection.
3. The method of claim 1, wherein the wireless headset comprises a primary headset and a secondary headset, and before the step of obtaining at least one terminal device to be connected with a signal strength meeting a connection requirement, the method further comprises:
the main earphone sends a connection instruction to the auxiliary earphone, and the connection instruction is used for indicating the auxiliary earphone to establish communication connection with the main earphone;
after communication connection with the auxiliary earphone is established, acquiring the state parameters of the auxiliary earphone and the state parameters of the main earphone;
and if the switching of the main earphone and the auxiliary earphone is determined according to the state parameters of the auxiliary earphone and the state parameters of the main earphone, sending a main earphone switching instruction and an auxiliary earphone switching instruction to the auxiliary earphone, wherein the main earphone switching instruction and the auxiliary earphone switching instruction are used for indicating the auxiliary earphone to be switched into a new main earphone, and executing the step of acquiring at least one terminal device to be connected with the signal intensity meeting the connection requirement.
4. The method of claim 1, wherein after the signal strength of the terminal device in the detection range of the wireless headset is obtained if the charging box of the wireless headset is detected to be opened, the method further comprises:
judging whether the signal intensity of the terminal equipment in the detection range of the wireless earphone meets the connection requirement or not;
if not, enhancing the transmission power of the wireless earphone according to a preset period and sending a heartbeat packet of the wireless earphone so that the terminal equipment establishes communication connection with the wireless earphone after receiving the heartbeat packet.
5. The method of claim 4, wherein the wireless headset comprises a primary headset and a secondary headset,
the method further includes the following steps that whether the signal strength of the terminal device in the detection range of the wireless earphone meets the connection requirement is judged, and if not, the method further includes:
and the main earphone sends a sleep instruction to the auxiliary earphone for indicating the auxiliary earphone to be adjusted to a sleep state.
6. The method of claim 1, wherein after establishing the communication connection with the target terminal device, the method further comprises:
and sending mode switching indication information to the target terminal equipment so that the target terminal equipment sends target audio information in a dual-sending mode.
7. A wireless headset lid opening and reconnecting device, the device comprising:
the processing unit is used for acquiring the signal intensity of the terminal equipment within the detection range of the wireless earphone if the cover of the charging box of the wireless earphone is detected to be opened, and acquiring at least one terminal equipment to be connected, wherein the signal intensity of the terminal equipment meets the connection requirement;
the processing unit is further configured to obtain a historical connection record list of the wireless headset, and determine whether the at least one to-be-connected terminal device exists in the historical connection record list;
the processing unit is further configured to, if yes, obtain a priority order of the at least one to-be-connected terminal device, and use the to-be-connected terminal device with a highest priority as a target terminal device;
a communication unit, configured to send a connection request to the target terminal device, so that a communication connection is established with the target terminal device when the connection is allowed by the target terminal device.
8. The method according to claim 7, wherein after said determining whether the at least one terminal device to be connected is present in the historical connection record list, the processing unit is further configured to:
if not, broadcasting information to be verified to the at least one terminal device to be connected;
receiving feedback information which is sent by the at least one terminal device to be connected and corresponds to the information to be verified;
generating a verification result according to the feedback information, and determining target terminal equipment according to the verification result;
after determining the target terminal device, executing a step of sending a connection request to the target terminal device so as to establish a communication connection with the target terminal device in a case where the target terminal device allows the connection.
9. A wireless headset comprising a processor, a memory for storing one or more programs and configured for execution by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-6.
10. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-6.
CN202110345863.2A 2021-03-31 2021-03-31 Wireless earphone uncovering and reconnection method and related equipment Pending CN113099342A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110345863.2A CN113099342A (en) 2021-03-31 2021-03-31 Wireless earphone uncovering and reconnection method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110345863.2A CN113099342A (en) 2021-03-31 2021-03-31 Wireless earphone uncovering and reconnection method and related equipment

Publications (1)

Publication Number Publication Date
CN113099342A true CN113099342A (en) 2021-07-09

Family

ID=76671895

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110345863.2A Pending CN113099342A (en) 2021-03-31 2021-03-31 Wireless earphone uncovering and reconnection method and related equipment

Country Status (1)

Country Link
CN (1) CN113099342A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112104940A (en) * 2020-09-11 2020-12-18 出门问问(苏州)信息科技有限公司 Control method, device and system of wireless earphone
CN113810890A (en) * 2021-09-16 2021-12-17 Oppo广东移动通信有限公司 Device loop-back method, device, electronic device and storage medium
CN114915957A (en) * 2022-07-13 2022-08-16 荣耀终端有限公司 Bluetooth headset reconnection control method and control device
CN115119336A (en) * 2022-08-23 2022-09-27 荣耀终端有限公司 Earphone connection system, earphone connection method, earphone, electronic device and readable storage medium
WO2023029769A1 (en) * 2021-09-01 2023-03-09 Oppo广东移动通信有限公司 Prompting method and apparatus, device, wireless connection system, and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040074808A (en) * 2003-02-19 2004-08-26 에스케이텔레텍주식회사 Method for searching call history information of mobile phone using wireless earset
CN109361984A (en) * 2018-12-06 2019-02-19 恒玄科技(上海)有限公司 Charging box, wireless headset, earphone external member and speech processing system
CN109743654A (en) * 2019-01-29 2019-05-10 上海与德通讯技术有限公司 A kind of bluetooth headset major-minor ear switching method, device, equipment and medium
CN110191442A (en) * 2019-04-18 2019-08-30 华为技术有限公司 A kind of Bluetooth connecting method, equipment and system
CN110996405A (en) * 2019-12-16 2020-04-10 上海传英信息技术有限公司 Earphone connection method, terminal, earphone box and computer readable storage medium
CN112040457A (en) * 2020-08-26 2020-12-04 广州番禺巨大汽车音响设备有限公司 Pairing connection method, device and system of TWS wireless Bluetooth headset

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040074808A (en) * 2003-02-19 2004-08-26 에스케이텔레텍주식회사 Method for searching call history information of mobile phone using wireless earset
CN109361984A (en) * 2018-12-06 2019-02-19 恒玄科技(上海)有限公司 Charging box, wireless headset, earphone external member and speech processing system
CN109743654A (en) * 2019-01-29 2019-05-10 上海与德通讯技术有限公司 A kind of bluetooth headset major-minor ear switching method, device, equipment and medium
CN110191442A (en) * 2019-04-18 2019-08-30 华为技术有限公司 A kind of Bluetooth connecting method, equipment and system
CN110996405A (en) * 2019-12-16 2020-04-10 上海传英信息技术有限公司 Earphone connection method, terminal, earphone box and computer readable storage medium
CN112040457A (en) * 2020-08-26 2020-12-04 广州番禺巨大汽车音响设备有限公司 Pairing connection method, device and system of TWS wireless Bluetooth headset

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112104940A (en) * 2020-09-11 2020-12-18 出门问问(苏州)信息科技有限公司 Control method, device and system of wireless earphone
WO2023029769A1 (en) * 2021-09-01 2023-03-09 Oppo广东移动通信有限公司 Prompting method and apparatus, device, wireless connection system, and storage medium
CN113810890A (en) * 2021-09-16 2021-12-17 Oppo广东移动通信有限公司 Device loop-back method, device, electronic device and storage medium
CN114915957A (en) * 2022-07-13 2022-08-16 荣耀终端有限公司 Bluetooth headset reconnection control method and control device
CN114915957B (en) * 2022-07-13 2022-11-29 荣耀终端有限公司 Bluetooth headset reconnection control method and control device
CN115119336A (en) * 2022-08-23 2022-09-27 荣耀终端有限公司 Earphone connection system, earphone connection method, earphone, electronic device and readable storage medium
CN115119336B (en) * 2022-08-23 2023-01-13 荣耀终端有限公司 Earphone connection system, earphone connection method, earphone, electronic device and readable storage medium

Similar Documents

Publication Publication Date Title
CN113099342A (en) Wireless earphone uncovering and reconnection method and related equipment
CN112449328A (en) Bluetooth searching method, system and related device
US11425520B2 (en) Method for detecting blocking of microphone and related products
CN109495875B (en) SIM card selection method and device, electronic equipment and storage medium
CN109218889B (en) Communication method and system, wireless earphone and charging box
CN109257732B (en) Equipment control method and device and electronic equipment
CN111757306B (en) External playing method and system based on earphone charging box and readable storage medium
CN109275058B (en) Dual mode earphone system, bluetooth device and cable
CN112702739B (en) Wireless network sharing method and device, readable storage medium and mobile terminal
CN114245362A (en) Device reconnection method and Bluetooth peripheral
KR20070014852A (en) Method for changing communication mode and mobile communication terminal for executing the method
CN113473291A (en) Communication method, earphone cabin and WIFI earphone
CN113810890A (en) Device loop-back method, device, electronic device and storage medium
EP3057377B1 (en) Network device, terminal device and voice service control method
CN111372326B (en) Method and mobile device for establishing point-to-point wireless connection
CN107566215B (en) Wireless network cutout detection method, device, storage medium and mobile terminal
CN116709226A (en) Communication relay method, electronic device, communication system, and storage medium
CN111988693B (en) Earphone control method and system based on earphone charging box and readable storage medium
CN109413527B (en) Audio device control method and device, earphone and electronic device
CN100518015C (en) Portable telephone device and external a dapter connected by a short-range wireless link
CN112867115A (en) Wireless device and wireless communication method
EP3515054B1 (en) Electronic device, prompting method and computer-readable storage medium
JP2002033824A (en) Mobile communication apparatus
CN112866964A (en) Wireless earphone assembly
CN112866965A (en) Intelligent glasses

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