A method for opening and reconnecting a wireless headset and related equipment
By checking the opening of the charging box lid and finding historical connection records, the wireless headset automatically determines and connects to the terminal device with the highest priority, solving the problem of low intelligence in existing wireless headsets and achieving a faster connection process.
Patent Information
- Application Number
- CN202110345863.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-31
- Publication Date
- 2025-01-10
- Estimated Expiration
- 2041-03-31
AI Technical Summary
Existing wireless headphones cannot actively choose to match the terminal device and initiate connection, which is less intelligent, resulting in users needing to search and connect manually, and the connection speed is slower.
By detecting the opening of the charging box lid, the signal strength of the surrounding terminal devices is obtained, the historical connection record is found, the terminal device with the highest priority is determined, and the connection request is sent to it, to realize the automatic connection of wireless headphones.
Improves the intelligence and security of the automatic connection of wireless headphones, simplifies connection operations, and improves connection speed and convenience.
Smart Images

Figure CN113099342B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of wireless earphones, and in particular to a method for opening and reconnecting a wireless earphone, a device for opening and reconnecting a wireless earphone, a wireless earphone, and a computer-readable storage medium. Background Art
[0002] With the popularity of headphones, most users have increasing requirements for the functions of headphones, not limited to the functions provided by wired headphones, but also hope that the headphones can be more convenient and adapt to more application scenarios, such as answering calls while driving, getting rid of the constraints of tangled headphone wires, etc. Therefore, wireless headphones came into being, quickly became popular, and were more widely used.
[0003] However, wireless headphones are different from wired headphones. They can establish a connection with terminal devices by plugging in the headphone cable. In most cases, the terminal user needs to manually search and initiate a connection with the wireless headphones. The wireless headphones cannot actively select the terminal device that matches them and initiate a connection. Therefore, the intelligence level of wireless headphones is relatively low. Summary of the invention
[0004] The embodiment of the present application provides a method and related equipment for opening the cover of a wireless headset and reconnecting the headset, which can improve the intelligence and safety of automatic connection of the wireless headset.
[0005] In one aspect, a method for opening the cover of a wireless headset and reconnecting the headset is applied to the wireless headset, and the method includes:
[0006] If it is detected that the lid of the charging box of the wireless headset is opened, the signal strength of the terminal device within the detection range of the wireless headset is obtained, and at least one terminal device to be connected whose signal strength meets the connection requirement is obtained;
[0007] Obtaining a historical connection record list of the wireless headset, and determining whether the at least one terminal device to be connected exists in the historical connection record list;
[0008] If so, obtaining a 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 the target terminal device;
[0009] A connection request is sent to the target terminal device, so that a communication connection is established with the target terminal device if the target terminal device allows the connection.
[0010] In one aspect, a wireless headset cover opening and reconnection device is provided, the device comprising:
[0011] a processing unit, configured to obtain, if it is detected that the lid of the charging box of the wireless headset is opened, the signal strength of the terminal device within the detection range of the wireless headset, and obtain at least one terminal device to be connected whose signal strength meets the connection requirement;
[0012] The processing unit 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;
[0013] The processing unit is further configured to obtain a priority order of the at least one terminal device to be connected, and use the terminal device to be connected with the highest priority as the target terminal device;
[0014] The communication unit is used to send a connection request to the target terminal device, so as to establish a communication connection with the target terminal device if the target terminal device allows the connection.
[0015] On the one hand, an embodiment of the present application provides a wireless headset, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps in the method.
[0016] Accordingly, an embodiment of the present application provides a computer-readable storage medium for storing computer program instructions for use by a terminal device, which includes a program for executing the steps in the above method.
[0017] Accordingly, the embodiments of the present application provide a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium, and when the computer instructions are executed by a processor of a computer device, the methods in the above embodiments are executed. The computer program product may be a software installation package.
[0018] 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 the 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, and simplified connection operation of the wireless headset, the connection speed is effectively improved, and the convenience of operation is further improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0020] Figure 1 This is a structural schematic diagram of a wireless headset cover opening and reconnection system provided in an embodiment of the present application;
[0021] Figure 2 This is a flowchart of a method for opening the cover and reconnecting a wireless headset provided in an embodiment of the present application;
[0022] Figure 3 This is a flowchart of another method for opening the cover and reconnecting a wireless headset provided in an embodiment of the present application;
[0023] Figure 4 This is a schematic diagram of functional units of a wireless headset cover opening and reconnection device provided in an embodiment of the present application;
[0024] Figure 5 It is a structural schematic diagram of a wireless headset provided in an embodiment of the present application. DETAILED DESCRIPTION
[0025] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0026] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0027] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0028] Currently available wireless headsets are different from wired headsets, which can establish a connection with a terminal device by plugging in a cable. In most cases, the terminal user needs to manually search and initiate a connection. The wireless headset cannot actively select a matching terminal device to be connected and initiate a connection.
[0029] The wireless headset of the embodiment of the present application has a low or high degree of intelligence. For example, the wireless headset can be a smart headset (i.e., a smart wireless headset) containing an artificial intelligence chip, and the smart headset can also include a microprocessor. The microprocessor and the artificial intelligence chip in the smart headset are interconnected and communicated through a dedicated channel. The microprocessor can independently control the operation of the smart headset, and the microprocessor can also control the operation of the smart headset under the guidance of the artificial intelligence chip. The artificial intelligence chip can output some intelligent control strategies to the microprocessor to guide the microprocessor to work better. The microprocessor can construct a microprocessor software platform, and 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 independent software platforms, and the artificial intelligence chip software platform and the microprocessor software platform are communicated with each other.
[0030] Among them, both the artificial intelligence chip and the microprocessor can be connected to the mobile terminal through a Bluetooth communication module or a wired link. The mobile terminal can control the microprocessor to enter the sleep state from the awake state by sending a sleep instruction to the microprocessor of any one of the smart earphones in the smart earphone pair (the smart earphone pair includes two paired earphones). When the microprocessor of the smart earphone is in the sleep state, the audio playback function of the smart earphone will be invalid. The mobile terminal can also send a wake-up instruction to the artificial intelligence chip of the smart earphone to instruct the artificial intelligence chip to notify the microprocessor to enter the awake state from the sleep state. In some possible implementations, the artificial intelligence chip can always be in the awake state when the power supply is normal. In some possible implementations, the microprocessor in the sleep state can only receive instructions 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 a closed state. The microprocessor in the sleep state can only receive instructions from the artificial intelligence chip, that is, the microprocessor in the sleep state can only be awakened by the artificial intelligence chip. When the artificial intelligence chip fails to wake up the microprocessor in dormant state, the artificial intelligence chip can switch to the microprocessor working mode to temporarily replace the microprocessor to control the operation of the smart headset. When the artificial intelligence chip switches to the microprocessor working mode, the audio playback function of the smart headset can operate normally with the support of the artificial intelligence chip.
[0031] In view of the above problems, the embodiment of the present application provides a method for opening the cover of a wireless headset and reconnecting the wireless headset, which is applied to the wireless headset and is described in detail below with reference to the accompanying drawings.
[0032] First, see Figure 1 The structural schematic diagram of the wireless headset cover opening and reconnection system shown includes a wireless headset 110, a charging box 120 for the wireless headset, and a terminal device 130.
[0033] The wireless headset 110 has the middle wire replaced by radio waves, which are connected from the audio outlet of the terminal device 130 to the transmitter, and then the transmitter sends the radio waves to the headset at the receiving end, which is equivalent to a radio. There are three known types of target wireless headsets: Bluetooth headset, infrared headset, and 2.4G headset.
[0034] The wireless headset 110 involved in the embodiment of the present application can be a True Wireless Stereo (TWS) headset. Compared with traditional wired headsets, TWS headsets use Bluetooth connection and transmission, which are small in size, good in sound quality, and rich in functions. The left and right earphones of the TWS headset are independent of each other and do not need to be connected by cables, so that the left and right channels can be separated wirelessly.
[0035] The charging box 130 of the wireless headset mentioned above includes a shell and a cover. The shell cavity of the TWS Bluetooth headset charging box is used to fix and protect the internal headset, circuit, and battery, and is a very precise structural component. As can be seen from the picture, there are many built-in frames and buckles, which not only strengthen the strength of the shell, but also make it fit tightly. In addition, some battery boxes also have reserved slots for concealed magnets for automatic adsorption of the flip cover and fixation of the headset when it is stored.
[0036] The metal contacts in the TWS charging box are called Pogo Pins in English. In this chapter, we will talk about the design of the ejector pins. Some manufacturers put them separately on a small board, and most of them directly mount the ejector pins on the motherboard. On the TWS earphone charging box, we have seen ejector pins of various specifications, including 2, 3, 5, and so on. So what are the uses of these ejector pins?
[0037] Each TWS Bluetooth headset will be randomly equipped with a matching charging box, which can provide it with power and storage functions. Although the TWS Bluetooth headset charging box is an accessory of the headset, its role is crucial.
[0038] The above-mentioned terminal 130 may include various handheld devices with wireless communication functions (such as smart phones, tablet computers, etc.), vehicle-mounted devices, wearable devices (smart watches, smart bracelets, wireless headphones, augmented reality / virtual reality devices, smart glasses), computing devices or other processing devices connected to wireless modems, and various forms of user equipment (UE), mobile stations (MS), terminals, etc. For the convenience of description, the above-mentioned terminals are collectively referred to as electronic devices.
[0039] The technical solution of the embodiment of the present application can be based on Figure 1 The communication system of the architecture shown in the example or its modified architecture is specifically implemented.
[0040] See also Figure 2 , Figure 2 1 is a flow chart of a method for opening the cover of a wireless headset and reconnecting the headset provided in an embodiment of the present application. The method may include but is not limited to the following steps:
[0041] 201. If it is detected that the lid of the charging box of the wireless headset is opened, obtain the signal strength of the terminal devices within the detection range of the wireless headset, and obtain at least one terminal device to be connected whose signal strength meets the connection requirement.
[0042] Specifically, it can be understood that a sensing device is provided between the wireless headset charging box and the lid, such as a sound sensor, a weight sensor, a frequency sensor, and other devices that can detect whether the lid is opened. After the charging box obtains the lid opening information, it can send an indication of the lid opening to the wireless headset, so that the wireless headset performs a subsequent lid opening and reconnection operation. It can also be that the wireless headset detects that the lid of the charging box is opened, and the wireless headset obtains the signal strength of the terminal device within its own detection range. For example, if the detection range is 15 meters, it determines which terminal devices have signal strengths that meet the connection requirements based on the signal strengths of the terminal devices within 15 meters, and uses the terminal devices that meet the requirements, such as terminal A, terminal B, terminal C, etc., as terminal devices to be connected.
[0043] 202. 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.
[0044] Specifically, the wireless headset stores a historical connection record list, which may include a unique identifier of a historically connected terminal device, such as a MAC address, a user name, device parameter information, etc. The wireless headset can determine whether the terminal device to be connected exists in the historical connection record list based on the obtained terminal device to be connected and the historical connection record list, that is, whether the terminal device to be connected has a connection record with the wireless headset.
[0045] 203. If yes, obtain the priority order of the at least one terminal device to be connected, and use the terminal device to be connected with the highest priority as the target terminal device.
[0046] Specifically, when the wireless headset determines that at least one terminal device to be connected exists in the historical connection record list, that is, at least one terminal device to be connected has a connection record with the wireless headset, the wireless headset can further obtain the priority order of at least one terminal device to be connected, and then select the terminal device to be connected with the highest priority as the target terminal device.
[0047] In addition, the priority order may be pre-set according to certain standards, 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.
[0048] 204. Send a connection request to the target terminal device, so as to establish a communication connection with the target terminal device if the target terminal device allows the connection.
[0049] Specifically, when 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 if the target terminal device allows the connection, a communication connection is established with the target terminal device. This facilitates further sending and receiving of information, such as receiving audio files sent by the target terminal device, and reporting its own information.
[0050] It can be seen that when the wireless headset detects that the lid of the charging box is open, for example, when the 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, and simplified connection operation of the wireless headset, the connection speed is effectively improved, and the convenience of operation is further improved.
[0051] With the above Figure 2 The embodiment shown is consistent with that shown in FIG. Figure 3 , Figure 3 1 is a flow chart of another method for opening the cover of a wireless headset and reconnecting the headset provided in an embodiment of the present application, the method comprising:
[0052] 301. If it is detected that the lid of the charging box of the wireless headset is opened, obtain the signal strength of the terminal device within the detection range of the wireless headset, and obtain at least one terminal device to be connected whose signal strength meets the connection requirement.
[0053] 302. 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.
[0054] 303. If yes, obtain the priority order of the at least one terminal device to be connected, and use the terminal device to be connected with the highest priority as the target terminal device.
[0055] 304. Send a connection request to the target terminal device, so as to establish a communication connection with the target terminal device if the target terminal device allows the connection.
[0056] The above steps 301-304 refer to the above steps 201-204, which will not be repeated here.
[0057] 305. Send mode switching indication information to the target terminal device, so that the target terminal device sends target audio information in a dual-send mode.
[0058] Specifically, after establishing a communication connection with the target terminal device, the wireless headset can send mode switching indication information to the target terminal device, so that the target terminal device uses the dual-send mode to send the target audio information. The dual-send mode is different from the primary and secondary earphone mode of the wireless headset. In the primary and secondary earphone mode, the terminal device sends the audio file to the primary earphone, and the primary earphone forwards it to the secondary earphone. In this mode, the power consumption of the primary earphone is higher, the power consumption rates of the two earphones are different, and the service life is also very different. Therefore, the terminal device adopts the dual-send mode, and the primary and secondary earphones can simultaneously receive the audio files sent by the terminal device, eliminating the intermediate forwarding step of the primary earphone, and balancing the power consumption and service life of the two earphones.
[0059] It can be seen that the wireless headset can not only actively connect to the target terminal device when detecting that the charging box is opened, simplify the connection operation and improve the connection speed; it can also send mode switching instruction information to the target terminal device after the connection is successful, so that the target terminal device uses the dual-send mode to send the target audio information. In the dual-send mode of the target terminal device, the power consumption of the target terminal device is not increased, and the power consumption of the main headset is reduced, thereby extending the service life of the main headset and improving the balance of the service life of the main and auxiliary headsets.
[0060] In one possible example, after determining whether the at least one terminal device to be connected exists in the historical connection record list, the method further includes: if not, broadcasting information to be verified to the at least one terminal device to be connected; receiving feedback information corresponding to the information to be verified sent by the at least one terminal device to be connected; generating a verification result based on the feedback information, and determining a target terminal device based on the verification result; after determining the target terminal device based on the verification result, executing the step of sending a connection request to the target terminal device, so that if the target terminal device allows the connection, a communication connection is established with the target terminal device.
[0061] 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 has never been communicated with the wireless headset, it will perform security verification on the at least one terminal device to be connected.
[0062] The security verification method can be a public key and a private key method, that is, the information to be verified broadcast by the wireless headset is a public key, and if the private key contained in the feedback information sent by other terminal devices matches the public key, the verification is considered to be successful. The public key and the private key can be pre-set by the user of the wireless headset.
[0063] In addition, the security verification method can also be a Trusted Execution Environment (TEE) verification method. Under this verification method, the application layer of the target terminal device is configured with TEE. After the target terminal device receives the information to be verified, TEE will automatically decode the information to be verified, obtain the decoded information, and send the decoded information to the wireless headset as feedback information corresponding to the information to be verified. For at least one terminal device to be verified, after the wireless headset receives at least one feedback information, it verifies and generates a verification result. The verification result includes whether the terminal device to be verified passes the verification or fails the verification. The wireless headset determines the terminal device whose verification result passes as the target terminal device.
[0064] It can be seen that when the wireless headset determines the target terminal device, it can use a variety of methods to perform security verification on the terminal device to be connected that does not exist in the historical connection record list, which can prevent the wireless headset from being stolen by other terminal devices when it is lost. It is also convenient for the terminal device corresponding to the wireless headset to re-establish a connection with the new terminal device after replacing the new terminal device. It submits the security and intelligence of the connection process.
[0065] In a possible example, the wireless headset includes a main headset and a slave headset. Before obtaining at least one terminal device to be connected whose signal strength meets the connection requirements, the method also includes: the main headset sends a connection instruction to the slave headset, and the connection instruction is used to instruct the slave headset to establish a communication connection with the main headset; after establishing the communication connection with the slave headset, obtaining the status parameters of the slave headset and the status parameters of the main headset; if it is determined to switch between the main and slave headsets according to the status parameters of the slave headset and the status parameters of the main headset, sending a main-slave headset switching instruction to the slave headset, and the main-slave headset switching instruction is used to instruct the slave headset to switch to a new main headset, and executing the step of obtaining at least one terminal device to be connected whose signal strength meets the connection requirements.
[0066] Specifically, in the case where the wireless headset includes a main and a sub-headset, before obtaining at least one terminal device to be connected whose signal strength meets the connection requirements, the main headset and the sub-headset can first establish a communication connection relationship through a connection instruction. After the main headset establishes a communication connection with the sub-headset, the state parameter of the sub-headset and the state parameter of the main headset are obtained. The state parameter can be the current power of the main and sub-headset, the accumulated usage time, the accumulated number of charge and discharge times, etc. The main headset can determine whether to switch the main and sub-headsets according to their respective state parameters. If it is determined to switch the main and sub-headsets according to the state parameter of the sub-headset and the state parameter of the main headset, for example, the current power of the main headset is lower than the current power of the sub-headset, the accumulated usage time of the main headset is greater than the accumulated usage time of the sub-headset, or the accumulated number of charge and discharge times of the main headset is greater than the accumulated number of charge and discharge times of the sub-headset, etc., then a main and sub-headset switching instruction is sent to the sub-headset, and the main and sub-headset switching instruction is used to instruct the sub-headset to switch to a new main headset, the main headset switches to the sub-headset, and is adjusted to a dormant state, and the new main headset executes the step of obtaining at least one terminal device to be connected whose signal strength meets the connection requirements.
[0067] It can be seen that for wireless headphones that have primary and secondary headphones, setting a primary and secondary headphone switching mechanism can effectively extend the service life of the main headphone and improve the balance of the service life of the main and secondary headphones.
[0068] In a possible example, if it is detected that the charging box of the wireless headset is turned on, after obtaining the signal strength of the terminal device within the detection range of the wireless headset, the method also includes: judging whether the signal strength of the terminal device within the detection range of the wireless headset meets the connection requirements; if not, enhancing the transmission power of the wireless headset according to a preset period and sending the heartbeat packet of the wireless headset, so that the terminal device establishes a communication connection with the wireless headset after receiving the heartbeat packet.
[0069] Specifically, when the wireless headset determines that the signal strength of the terminal device within the detection range of the wireless headset does not meet the connection requirements, the transmission power of the wireless headset is enhanced according to a preset period. The preset period may be 30 milliseconds (ms), 2 seconds (s) or 5 seconds (s). The purpose of enhancing the transmission power is to increase the transmission distance of the wireless headset signal, which can increase the transmission distance from 15 meters to 20 meters or 25 meters. The wireless headset sends the heartbeat packet of the wireless headset so that the target terminal device can detect the heartbeat packet of the wireless headset at a farther distance and establish a communication connection with the wireless headset.
[0070] It can be seen that when the signal strength of the terminal device does not meet the connection requirements, the wireless headset actively enhances the transmission power and sends a heartbeat packet, so that the terminal device can obtain the heartbeat signal of the wireless headset and establish a communication connection with it, thereby improving the possibility of successful connection between the two and the stability of the connection.
[0071] In a possible example, the wireless headset includes a main headset and a slave headset, and the method determines whether the signal strength of the terminal device within the detection range of the wireless headset meets the connection requirements. If not, the method also includes: the main headset sends a sleep instruction to the slave headset to instruct the slave headset to adjust to a sleep state.
[0072] Specifically, the wireless headset includes a main headset and a secondary headset. When the main headset determines that the signal strength of the terminal device within the detection range of the wireless headset does not meet the connection requirement, the main headset sends a sleep instruction to the secondary headset to instruct the secondary headset to adjust to a sleep state, thereby reducing the power consumption of the secondary headset.
[0073] It can be seen that the main earphone sends a sleep instruction to the slave earphone to instruct the slave earphone to adjust to the sleep state, which can effectively reduce the power consumption of the slave earphone.
[0074] See also Figure 4 , is a schematic diagram of functional units of a wireless headset cover opening and reconnecting device 400 according to an embodiment of the present invention. The wireless headset cover opening and reconnecting device 400 according to the embodiment of the present application may be a built-in device of the wireless headset or may also be an external device of the wireless headset.
[0075] In one implementation of the device of the embodiment of the present invention, the device includes:
[0076] The processing unit 410 is configured to obtain the signal strength of the terminal device within the detection range of the wireless headset if it is detected that the lid of the charging box of the wireless headset is opened, and obtain at least one terminal device to be connected whose signal strength meets the connection requirement;
[0077] 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;
[0078] The processing unit 410 is further configured to obtain a priority order of the at least one terminal device to be connected, and use the terminal device to be connected with the highest priority as the target terminal device;
[0079] The communication unit 420 is configured to send a connection request to the target terminal device, so as to establish a communication connection with the target terminal device if the target terminal device allows the connection.
[0080] In a possible embodiment, the processing unit 410 is used to determine whether the at least one terminal device to be connected exists in the historical connection record list, and is also used to: if not, broadcast the information to be verified to the at least one terminal device to be connected; receive feedback information corresponding to the information to be verified sent by the at least one terminal device to be connected; generate a verification result based on the feedback information, and determine the target terminal device based on the verification result; after determining the target terminal device, execute the step of sending a connection request to the target terminal device, so that if the target terminal device allows the connection, a communication connection is established with the target terminal device.
[0081] In a possible example, the wireless headset includes a main headset and a sub-headphone, and the processing unit 410, before obtaining at least one terminal device to be connected whose signal strength meets the connection requirements, is also used to: send a connection instruction to the sub-headphone, wherein the connection instruction is used to instruct the sub-headphone to establish a communication connection with the main headset; after establishing the communication connection with the sub-headphone, obtain the status parameters of the sub-headphone and the status parameters of the main headset; if it is determined to switch the main and sub-headphones according to the status parameters of the sub-headphone and the status parameters of the main headset, send a main and sub-headphone switching instruction to the sub-headphone, wherein the main and sub-headphone switching instruction is used to instruct the sub-headphone to switch to a new main headset, and execute the step of obtaining at least one terminal device to be connected whose signal strength meets the connection requirements.
[0082] In a possible example, the processing unit 410 is used to, if it is detected that the charging box of the wireless headset is turned on, obtain the signal strength of the terminal device within the detection range of the wireless headset, and further be used to: determine whether the signal strength of the terminal device within the detection range of the wireless headset meets the connection requirements; if not, enhance the transmission power of the wireless headset according to a preset period and send the heartbeat packet of the wireless headset, so that the terminal device establishes a communication connection with the wireless headset after receiving the heartbeat packet.
[0083] In a possible example, the wireless headset includes a main headset and a slave headset, and the processing unit 410 is used to determine whether the signal strength of the terminal device within the detection range of the wireless headset meets the connection requirements. If not, it is also used to: send a sleep instruction to the slave headset to instruct the slave headset to adjust to a sleep state.
[0084] In a possible example, after establishing a communication connection with the target terminal device, the communication unit 420 is further used to: send mode switching indication information to the target terminal device so that the target terminal device sends target audio information in a dual-send mode.
[0085] In some embodiments, the wireless headset cover opening and reconnection device may also include an input and output interface, a communication interface, a power supply, and a communication bus.
[0086] The embodiment of the present application can divide the functional units of the wireless headset cover opening and reconnection device according to the above method example. For example, each functional unit can be divided according to each function, or two or more functions can be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of units in the embodiment of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation.
[0087] See also Figure 5 , is a schematic diagram of the structure of a wireless headset according to an embodiment of the present invention, the wireless headset includes a power supply module and other structures, 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 can exchange data.
[0088] The storage device 502 may include a volatile memory, such as a random-access memory (RAM); the storage device 502 may also include a non-volatile memory, such as a flash memory, a solid-state drive (SSD), etc.; the storage device 502 may also include a combination of the above-mentioned types of memory. The communication interface 503 is an interface for data exchange between internal devices of the wireless headset, such as: between the storage device 502 and the processor 501.
[0089] 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 and execute the following steps:
[0090] If it is detected that the lid of the charging box of the wireless headset is opened, the signal strength of the terminal device within the detection range of the wireless headset is obtained, and at least one terminal device to be connected whose signal strength meets the connection requirement is obtained;
[0091] Obtaining a historical connection record list of the wireless headset, and determining whether the at least one terminal device to be connected exists in the historical connection record list;
[0092] If so, obtaining a 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 the target terminal device;
[0093] A connection request is sent to the target terminal device, so that a communication connection is established with the target terminal device if the target terminal device allows the connection.
[0094] In a possible embodiment, the processor 501 is used to determine whether the at least one terminal device to be connected exists in the historical connection record list, and is also used to: if not, broadcast the information to be verified to the at least one terminal device to be connected; receive feedback information corresponding to the information to be verified sent by the at least one terminal device to be connected; generate a verification result based on the feedback information, and determine the target terminal device based on the verification result; after determining the target terminal device, execute the step of sending a connection request to the target terminal device, so that if the target terminal device allows the connection, a communication connection is established with the target terminal device.
[0095] In a possible example, the wireless headset includes a main headset and a secondary headset, and the processor 501, before obtaining at least one terminal device to be connected whose signal strength meets the connection requirements, is also used to: send a connection instruction to the secondary headset, wherein the connection instruction is used to instruct the secondary headset to establish a communication connection with the main headset; after establishing the communication connection with the secondary headset, obtain the status parameters of the secondary headset and the status parameters of the main headset; if it is determined to switch between the main and secondary headsets according to the status parameters of the secondary headset and the status parameters of the main headset, send a main-secondary headset switching instruction to the secondary headset, wherein the main-secondary headset switching instruction is used to instruct the secondary headset to switch to a new main headset, and execute the step of obtaining at least one terminal device to be connected whose signal strength meets the connection requirements.
[0096] In a possible example, the processor 501 is used to, if it is detected that the charging box of the wireless headset is turned on, obtain the signal strength of the terminal device within the detection range of the wireless headset, and further be used to: determine whether the signal strength of the terminal device within the detection range of the wireless headset meets the connection requirements; if not, enhance the transmission power of the wireless headset according to a preset period and send a heartbeat packet of the wireless headset, so that the terminal device establishes a communication connection with the wireless headset after receiving the heartbeat packet.
[0097] In a possible example, the wireless headset includes a main headset and a secondary headset, and the processor 501 is used to determine whether the signal strength of the terminal device within the detection range of the wireless headset meets the connection requirements. If not, it is also used to: send a sleep instruction to the secondary headset to instruct the secondary headset to adjust to a sleep state.
[0098] In a possible example, the processor 501 is used, after establishing a communication connection with the target terminal device, to: send mode switching indication information to the target terminal device so that the target terminal device sends target audio information in a dual-send mode.
[0099] An embodiment of the present application also provides 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 method recorded in the above method embodiments.
[0100] The embodiment of the present application also provides a computer program product or a computer program, which includes computer instructions, and the computer instructions are 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, so that the computer device performs some or all steps of any method recorded in the above method embodiment.
[0101] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0102] The above disclosure is only part of the embodiments of the present invention, which certainly cannot be used to limit the scope of the rights of the present invention. Ordinary technicians in this field can understand that all or part of the processes of the above embodiments and equivalent changes made according to the claims of the present invention are still within the scope of the invention.
Claims
1. A method for opening the cover of a wireless headset and reconnecting it, characterized in that: Applied to wireless headphones, the method comprises: If it is detected that the lid of the charging box of the wireless headset is opened, the signal strength of the terminal device within the detection range of the wireless headset is obtained, and at least one terminal device to be connected whose signal strength meets the connection requirement is obtained; 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; if so, obtain the priority order of the at least one terminal device to be connected, and use the terminal device to be connected with the highest priority as the target terminal device; wherein the priority order is determined based on the signal strength of the at least one terminal device to be connected and the number of radio frequency transceiver systems; Sending a connection request to the target terminal device, so as to establish a communication connection with the target terminal device if the target terminal device allows the connection; Wherein, if it is detected that the charging box of the wireless headset is turned on, after obtaining the signal strength of the terminal device within the detection range of the wireless headset, the method further includes: judging whether the signal strength of the terminal device within the detection range of the wireless headset meets the connection requirement; if not, enhancing the transmission power of the wireless headset according to a preset period and sending the heartbeat packet of the wireless headset, so that the terminal device establishes a communication connection with the wireless headset after receiving the heartbeat packet; The wireless headset is a smart headset including an artificial intelligence chip, and the smart headset also includes a microprocessor, wherein the microprocessor and the artificial intelligence chip in the smart headset are interconnected and communicated through a dedicated channel, and the microprocessor can independently control the operation of the smart headset, and the microprocessor can also control the operation of the smart headset under the guidance of the artificial intelligence chip; Among them, the terminal device can control the microprocessor of any smart headset in the smart headset pair to enter the sleep state from the wake-up state by sending a sleep instruction to the microprocessor of the smart headset. When the microprocessor of the smart headset is in the sleep state, the audio playback function of the smart headset will be invalid; the terminal device can send a wake-up instruction to the artificial intelligence chip of the smart headset to instruct the artificial intelligence chip to notify the microprocessor to enter the wake-up state from the sleep state; Among them, the artificial intelligence chip can always be in an awake state when the power supply is normal, and the microprocessor in a dormant state can only receive instructions 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 a closed state. The microprocessor in a dormant state can only receive instructions from the artificial intelligence chip, and the microprocessor in a dormant state can only be awakened by the artificial intelligence chip; when the artificial intelligence chip fails to awaken the microprocessor in a dormant state, the artificial intelligence chip switches to the microprocessor working mode to temporarily replace the microprocessor to control the smart headset. When the artificial intelligence chip switches to the microprocessor working mode, the audio playback function of the smart headset can operate normally with the support of the artificial intelligence chip.
2. The method according to claim 1, characterized in that After determining whether the at least one terminal device to be connected exists in the historical connection record list, the method further includes: If not, broadcasting the information to be verified to the at least one terminal device to be connected; Receiving feedback information corresponding to the information to be verified sent by the at least one terminal device to be connected; generating a verification result according to the feedback information, and determining a target terminal device according to the verification result; After the target terminal device is determined according to the verification result, a step of sending a connection request to the target terminal device is performed, so that a communication connection is established with the target terminal device if the target terminal device allows the connection.
3. The method according to claim 1, characterized in that The wireless headset includes a main headset and a secondary headset. Before obtaining at least one terminal device to be connected whose signal strength meets the connection requirement, the method further includes: The primary earphone sends a connection instruction to the secondary earphone, wherein the connection instruction is used to instruct the secondary earphone to establish a communication connection with the primary earphone; After establishing a communication connection with the secondary earphone, acquiring a state parameter of the secondary earphone and a state parameter of the primary earphone; If it is determined to switch the primary and secondary earphones based on the status parameters of the secondary earphone and the status parameters of the primary earphone, a primary and secondary earphone switching instruction is sent to the secondary earphone, and the primary and secondary earphone switching instruction is used to instruct the secondary earphone to switch to a new primary earphone, and the step of obtaining at least one terminal device to be connected whose signal strength meets the connection requirements is executed.
4. The method according to claim 1, characterized in that: The wireless headset comprises a main headset and a secondary headset. The determining whether the signal strength of the terminal device within the detection range of the wireless headset meets the connection requirements, if not, the method further includes: The master earphone sends a sleep instruction to the slave earphone, so as to instruct the slave earphone to adjust to a sleep state.
5. The method according to claim 1, characterized in that After establishing a communication connection with the target terminal device, the method further includes: Mode switching indication information is sent to the target terminal device so that the target terminal device sends target audio information in a dual-send mode.
6. A wireless headset cover opening and reconnection device, characterized in that: The device comprises: a processing unit, configured to obtain, if it is detected that the lid of the charging box of the wireless headset is opened, the signal strength of the terminal device within the detection range of the wireless headset, and obtain at least one terminal device to be connected whose signal strength 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 terminal device to be connected exists in the historical connection record list; The processing unit is further configured to obtain a priority order of the at least one terminal device to be connected, and use the terminal device to be connected with the highest priority as the target terminal device; the priority order is determined based on the signal strength of the at least one terminal device to be connected and the number of radio frequency transceiver systems; a communication unit, configured to send a connection request to the target terminal device, so as to establish a communication connection with the target terminal device if the target terminal device allows the connection; Wherein, if it is detected that the charging box of the wireless headset is turned on, after obtaining the signal strength of the terminal device within the detection range of the wireless headset, the processing unit is also used to: determine whether the signal strength of the terminal device within the detection range of the wireless headset meets the connection requirements; if not, enhance the transmission power of the wireless headset according to a preset period and send the heartbeat packet of the wireless headset, so that the terminal device establishes a communication connection with the wireless headset after receiving the heartbeat packet; The wireless headset is a smart headset including an artificial intelligence chip, and the smart headset also includes a microprocessor, wherein the microprocessor and the artificial intelligence chip in the smart headset are interconnected and communicated through a dedicated channel, and the microprocessor can independently control the operation of the smart headset, and the microprocessor can also control the operation of the smart headset under the guidance of the artificial intelligence chip; Among them, the terminal device can control the microprocessor of any smart headset in the smart headset pair to enter the sleep state from the wake-up state by sending a sleep instruction to the microprocessor of the smart headset. When the microprocessor of the smart headset is in the sleep state, the audio playback function of the smart headset will be invalid; the terminal device can send a wake-up instruction to the artificial intelligence chip of the smart headset to instruct the artificial intelligence chip to notify the microprocessor to enter the wake-up state from the sleep state; Among them, the artificial intelligence chip can always be in an awake state when the power supply is normal, and the microprocessor in a dormant state can only receive instructions 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 a closed state. The microprocessor in a dormant state can only receive instructions from the artificial intelligence chip, and the microprocessor in a dormant state can only be awakened by the artificial intelligence chip; when the artificial intelligence chip fails to awaken the microprocessor in a dormant state, the artificial intelligence chip switches to the microprocessor working mode to temporarily replace the microprocessor to control the smart headset. When the artificial intelligence chip switches to the microprocessor working mode, the audio playback function of the smart headset can operate normally with the support of the artificial intelligence chip.
7. The device according to claim 6, characterized in that After determining 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 the information to be verified to the at least one terminal device to be connected; Receiving feedback information corresponding to the information to be verified sent by the at least one terminal device to be connected; generating a verification result according to the feedback information, and determining a target terminal device according to the verification result; After the target terminal device is determined, a step of sending a connection request to the target terminal device is performed, so that a communication connection is established with the target terminal device if the target terminal device allows the connection.
8. A wireless headset, characterized in that: The method comprises a processor and a memory, wherein the memory is used to store one or more programs and is configured to be executed by the processor, wherein the program comprises instructions for executing the steps in the method according to any one of claims 1 to 5.
9. A computer-readable storage medium, characterized in that: A computer program for electronic data exchange is stored, wherein the computer program enables a computer to execute the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Charging box, wireless earphone, earphone external member and voice processing system
CN109361984A
A Bluetooth headset main and auxiliary ear switching method and device, equipment and a medium
CN109743654A
Earphone connection method, terminal, earphone box and computer readable storage medium
CN110996405A
Pairing connection method, device and system of TWS wireless Bluetooth headset
CN112040457A