CN108174459B - Wireless audio device pairing method and wireless audio device - Google Patents
Wireless audio device pairing method and wireless audio device Download PDFInfo
- Publication number
- CN108174459B CN108174459B CN201810129832.1A CN201810129832A CN108174459B CN 108174459 B CN108174459 B CN 108174459B CN 201810129832 A CN201810129832 A CN 201810129832A CN 108174459 B CN108174459 B CN 108174459B
- Authority
- CN
- China
- Prior art keywords
- wireless audio
- audio device
- audio equipment
- pairing
- equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
According to the wireless audio equipment pairing method and the wireless audio equipment, the RSSI detection mechanism is added into the wireless audio equipment. The wireless audio equipment detects the RSSI signal intensity mutually, and is automatically paired with the equipment with the strongest RSSI signal intensity, so that the method is simple and reliable. Taking a wireless bluetooth headset as an example, when the left and right headsets are placed in the charging box, the distance between the antennas is less than 1 cm, and the RSSI signal strength is generally greater than-50 dbm. The pairing is triggered through a hall switch of the charging box, and the automatic pairing can be completed within 10 seconds. The earphones needing to be paired are placed at the close position, and after RSSI detection is triggered, the left earphone and the right earphone are automatically paired. Meanwhile, the range of the RSSI signal intensity is limited, so that a plurality of sets of earphones in the same place can be paired simultaneously without mutual interference. The invention can improve the production efficiency of the wireless earphone and improve the user experience.
Description
Technical Field
The present invention relates to the field of wireless audio devices, and in particular, to a wireless audio device pairing method and a wireless audio device.
Background
In recent years, with the improvement of the consciousness of health and life of people, the development of sports Bluetooth earphones is also driven by the fact that fitness and hot mats roll all over the country. However, strictly speaking, the sports wireless bluetooth headset does not really achieve complete wireless, and a physical wire is still needed to connect two headset heads to form a stereo effect, and under the background, the TWS split type bluetooth headset is born.
TWS is an abbreviation of True Wireless Stereo, which means True Wireless Stereo. In actual use, the device can be used singly or doubly, and has no any wired constraint. Airpods of the best known genus of the same apple type, but Airpods are expensive and poorly adaptable, which is prohibitive for many people.
Existing large headset manufacturers also successively release their TWS headsets. However, there are two existing pairing methods for wireless audio devices, one of which requires to operate 2 wireless audio devices respectively to enter a pairing state, and then perform matching after detecting that the wireless audio devices are in the pairing state; and the other method is to write pairing information into each wireless audio device through a PC or a mobile phone to complete matching. The two methods have complex operation flows and certain technical difficulty. In particular, the first method is prone to mutual interference when multiple sets of wireless audio devices are paired, resulting in pairing failure.
Disclosure of Invention
The invention mainly aims to provide a wireless audio device pairing method and a wireless audio device, and solves the problem that errors are easy to occur when multiple groups of wireless audio devices are paired at present.
The invention provides a wireless audio device pairing method, which comprises the following steps:
establishing temporary connection between a first wireless audio device and a second wireless audio device, wherein the first wireless audio device and the second wireless audio device are the wireless audio devices with the strongest RSSI signal intensity searched by the first wireless audio device and the second wireless audio device;
sending first pairing information to the second wireless audio device, and receiving second pairing information sent by the second wireless audio device;
and if the first pairing information and the second pairing information are determined to meet a preset pairing condition, pairing with the second wireless audio equipment.
Preferably, the step of establishing a temporary connection between the first wireless audio device and the second wireless audio device comprises:
the first wireless audio equipment receives the trigger instruction, starts an RSSI scanning mode and searches for the second wireless audio equipment with the strongest RSSI signal intensity;
sending a first temporary connection request to the second wireless audio device, and judging whether a second temporary connection request of the second wireless audio device is received;
and if the second temporary connection request is received, establishing temporary connection with the second wireless audio equipment.
Preferably, the step of establishing a temporary connection between the first wireless audio device and the second wireless audio device comprises:
the first wireless audio equipment receives the trigger instruction, starts an RSSI scanning mode and searches for the second wireless audio equipment with the strongest RSSI signal intensity;
sending a first temporary connection request to the second wireless audio device;
and if receiving the acceptance information of the second wireless audio equipment responding to the first temporary connection request, establishing temporary connection with the second wireless audio equipment.
Preferably, the step of the first wireless audio device receiving a trigger instruction, starting the RSSI scanning mode, and searching for the second wireless audio device with the strongest RSSI signal strength includes:
the first wireless audio equipment receives a trigger instruction, starts an RSSI scanning mode and searches for wireless audio equipment with RSSI signal intensity greater than a preset threshold value;
and determining the found wireless audio equipment with the strongest RSSI signal strength as the second wireless audio equipment.
Preferably, after the step of receiving a trigger instruction by the first wireless audio device, starting an RSSI scanning mode, and searching for a wireless audio device with an RSSI signal strength greater than a preset threshold, the method further includes:
and if the searched RSSI signal strength is lower than a preset threshold value, sending a reminding signal.
Preferably, the step of sending out the reminding signal comprises:
the reminder signal is emitted in a flashing red flash.
Preferably, after the step of sending the first pairing information to the second wireless audio device and receiving the second pairing information sent by the second wireless audio device, the method further includes:
and if the first pairing information and the second pairing information do not meet preset pairing conditions, sending a reminding signal.
Preferably, after the step of pairing with the second wireless audio device, the method further comprises:
storing the second pairing information.
In another aspect of the present invention, a wireless audio device is also provided, where the first wireless audio device includes:
the connection module is used for establishing temporary connection with second wireless audio equipment, and the first wireless audio equipment and the second wireless audio equipment are the wireless audio equipment with the strongest RSSI signal strength which is searched by the first wireless audio equipment and the second wireless audio equipment;
the sending module is used for sending first pairing information to the second wireless audio equipment and receiving second pairing information sent by the second wireless audio equipment;
and the pairing module is used for pairing with the second wireless audio equipment if the first pairing information and the second pairing information are determined to meet a preset pairing condition.
Preferably, the connection module includes:
the scanning unit is used for receiving the trigger instruction by the first wireless audio equipment, starting an RSSI scanning mode and searching the second wireless audio equipment with the strongest RSSI signal intensity;
a first connection unit, configured to send a first temporary connection request to the second wireless audio device, and determine whether a second temporary connection request of the second wireless audio device is received;
and the second connection unit is used for establishing temporary connection with the second wireless audio equipment if the second temporary connection request is received.
Preferably, the connection module includes:
the scanning unit is used for receiving the trigger instruction by the first wireless audio equipment, starting an RSSI scanning mode and searching the second wireless audio equipment with the strongest RSSI signal intensity;
a connection request unit for transmitting a first temporary connection request to the second wireless audio device;
and a request corresponding unit, configured to establish a temporary connection with the second wireless audio device if receiving the acceptance information of the second wireless audio device in response to the first temporary connection request.
Preferably, the scanning unit includes:
the threshold judging subunit is used for receiving the trigger instruction by the first wireless audio equipment, starting an RSSI scanning mode and searching the wireless audio equipment with the RSSI signal intensity being greater than a preset threshold;
and the determining subunit is configured to determine the found wireless audio device with the strongest RSSI signal strength as the second wireless audio device.
Preferably, the connection module further includes:
and the first reminding unit is used for sending out a reminding signal if the searched RSSI signal strength is lower than a preset threshold value.
Preferably, the first reminding unit comprises:
and the flash reminding subunit is used for sending the reminding signal by flashing red.
Preferably, the pairing module further comprises:
and the second reminding unit is used for sending a reminding signal if the first pairing information and the second pairing information do not meet a preset pairing condition.
Preferably, the method further comprises the following steps:
and the storage module is used for storing the second pairing information.
According to the wireless audio equipment pairing method and the wireless audio equipment, the RSSI detection mechanism is added into the wireless audio equipment. The wireless audio equipment detects the RSSI signal intensity mutually, and is automatically paired with the equipment with the strongest RSSI signal intensity, so that the method is simple and reliable. Taking a wireless bluetooth headset as an example, when the left and right headsets are placed in the charging box, the distance between the antennas is less than 1 cm, and the RSSI signal strength is generally greater than-50 dbm. The pairing is triggered through a hall switch of the charging box, and the automatic pairing can be completed within 10 seconds. The earphones needing to be paired are placed at the close position, and after RSSI detection is triggered, the left earphone and the right earphone are automatically paired. Meanwhile, the range of the RSSI signal intensity is limited, so that a plurality of sets of earphones in the same place can be paired simultaneously without mutual interference. The invention can improve the production efficiency of the wireless earphone and improve the user experience.
Drawings
FIG. 1 is a flowchart illustrating a wireless audio device pairing method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a wireless audio device pairing system according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, an embodiment of the present invention provides a wireless audio device pairing method, including:
s10, establishing temporary connection between a first wireless audio device and a second wireless audio device, wherein the first wireless audio device and the second wireless audio device are the wireless audio devices with the strongest RSSI signal intensity searched by the first wireless audio device and the second wireless audio device;
s20, sending first pairing information to the second wireless audio equipment, and receiving second pairing information sent by the second wireless audio equipment;
and S30, if the first pairing information and the second pairing information are determined to meet the preset pairing condition, pairing with the second wireless audio equipment.
In this embodiment, the wireless audio device may be a wireless bluetooth headset, a wireless bluetooth speaker, or other wireless audio devices. The first wireless audio device and the second wireless audio device are generally two wireless audio devices, such as a left ear earphone and a right ear earphone, which are paired, or two bluetooth stereo speakers which are matched with each other. RSSI, an abbreviation of the english term Received Signal Strength Indication, is a chinese meaning of the Received Signal Strength Indication, belongs to an optional part of the wireless transmission layer, and is used to determine the link quality and whether to increase the broadcast transmission Strength.
In step S10, only when the first wireless audio device and the second wireless audio device are matched with each other with the strongest RSSI, the first wireless audio device and the second wireless audio device can establish a temporary connection. In other words, the first wireless audio device and the second wireless audio device are placed close enough to each other so that they are both the matching devices with the strongest RSSI of each other, and thus the two devices establish a temporary connection. Therefore, the matching equipment with the RSSI not being the strongest can be eliminated, and the matching time is shortened.
After the first wireless audio device and the second wireless audio device establish the temporary connection, the two wireless audio devices exchange pairing information with each other to determine whether the two devices are the same type of device in step S20. The first wireless audio device receives second pairing information sent by the second wireless audio device. The second wireless audio device receives the first pairing information sent by the first wireless audio device.
In step S30, the second wireless audio device determines whether the received first pairing information satisfies a first predetermined condition, and the first wireless audio device determines whether the received second pairing information satisfies a second predetermined condition. If the two conditions are met simultaneously, the first wireless audio device and the second wireless audio device are adapted, and at this time, the two devices are successfully paired. After the two wireless audio devices are successfully paired, the two wireless audio devices can be connected with a smart phone or a notebook with a Bluetooth function as a whole, and then a playing function is realized on the wireless audio devices.
Optionally, step S10 includes:
the first wireless audio equipment receives the trigger instruction, starts an RSSI scanning mode and searches for the second wireless audio equipment with the strongest RSSI signal intensity;
sending a first temporary connection request to the second wireless audio device, and judging whether a second temporary connection request of the second wireless audio device is received;
and if the second temporary connection request is received, establishing temporary connection with the second wireless audio equipment.
In this embodiment, the first wireless audio device and the second wireless audio device establish a temporary connection in the following manner: the first wireless audio equipment receives the trigger instruction, starts the RSSI scanning mode and searches for the wireless audio equipment with the strongest RSSI signal intensity. And if the wireless audio equipment with the strongest RSSI signal strength searched by the first wireless audio equipment is the second wireless audio equipment, sending a first temporary connection request to the second wireless audio equipment. Meanwhile, the second wireless audio equipment receives the trigger instruction, starts the RSSI scanning mode and searches for the wireless audio equipment with the strongest RSSI signal strength. And if the wireless audio equipment with the strongest RSSI signal strength searched by the second wireless audio equipment is the second wireless audio equipment, sending a second temporary connection request to the first wireless audio equipment. When the first wireless audio device receives the second temporary connection request, then a temporary connection is established with the second wireless audio device.
Optionally, step S10 includes:
the first wireless audio equipment receives the trigger instruction, starts an RSSI scanning mode and searches for the second wireless audio equipment with the strongest RSSI signal intensity;
sending a first temporary connection request to the second wireless audio device;
and if receiving the acceptance information of the second wireless audio equipment responding to the first temporary connection request, establishing temporary connection with the second wireless audio equipment.
In this embodiment, the establishing of the temporary connection between the first wireless audio device and the second wireless audio device may be further performed in the following manner: the first wireless audio equipment receives the trigger instruction, starts the RSSI scanning mode and searches for the wireless audio equipment with the strongest RSSI signal intensity. And if the wireless audio equipment with the strongest RSSI signal strength searched by the first wireless audio equipment is the second wireless audio equipment, sending a first temporary connection request to the second wireless audio equipment. And if receiving the acceptance information of the second wireless audio equipment responding to the first temporary connection request, establishing temporary connection with the second wireless audio equipment.
Optionally, the step of receiving, by the first wireless audio device, a trigger instruction, starting an RSSI scanning mode, and searching for the second wireless audio device with the strongest RSSI signal strength includes:
the first wireless audio equipment receives a trigger instruction, starts an RSSI scanning mode and searches for wireless audio equipment with RSSI signal intensity greater than a preset threshold value;
and determining the found wireless audio equipment with the strongest RSSI signal strength as the second wireless audio equipment.
In this embodiment, both the first wireless audio device and the second wireless audio device receive the trigger instruction. The triggering instruction may refer to the wireless audio device being converted from a standby state to an operating state, or may refer to the wireless audio device being converted from a power-off state to an operating state. Taking the first wireless audio device as an example, when the first wireless audio device enters the working state, the RSSI scanning mode is enabled, and the signal transmitted by the second wireless audio device that needs to be matched is detected. The first wireless audio device enabling the RSSI scan mode sets the RSSI signal strength threshold. Only wireless audio devices that are greater than a predetermined RSSI signal strength threshold will be paired with the first wireless audio device. This ensures that the paired wireless audio devices are close enough together, while avoiding the need to search for a wireless audio device that is further away. The RSSI signal strength threshold of the first wireless audio device and the second wireless audio device can be set to-50 dbm. Through tests, when the first wireless audio equipment and the second wireless audio equipment are placed in the same charging box, the received RSSI signal strength is greater than-50 dbm for the first wireless audio equipment and the second wireless audio equipment. In step S22, if the strongest RSSI signal strengths obtained by the first wireless audio device and the second wireless audio device are less than-50 dbm, the scanning is continued. At this time, the first wireless audio device and the second wireless audio device may issue some reminders, such as light flashing or beeping sound, to remind the user to place the two wireless audio devices closer.
Optionally, after step 30, the method further includes:
storing the second pairing information.
In this embodiment, after the first wireless audio device and the second wireless audio device are paired, second pairing information sent by the second wireless audio device is stored on the first wireless audio device, and first pairing information sent by the first wireless audio device is stored on the second wireless audio device. When the pairing information of the other party is stored in the two wireless audio devices, the process of matching the pairing information is reduced, and the pairing time between the devices is greatly shortened.
Optionally, after the step of receiving a trigger instruction by the first wireless audio device, starting an RSSI scanning mode, and searching for a wireless audio device with an RSSI signal strength greater than a preset threshold, the method further includes:
and if the searched RSSI signal strength is lower than a preset threshold value, sending a reminding signal.
In this embodiment, the RSSI signal strength found is lower than the preset threshold, which indicates that no wireless audio device meeting the condition can be matched, and at this time, the first wireless audio device may send a reminding signal to remind the user that the pairing is not completed.
Optionally, the step of sending the alert signal includes:
the reminder signal is emitted in a flashing red flash.
In this embodiment, a small LED lamp may be provided on the first wireless audio device, and the color of the LED lamp may be red. And when the pairing is not successful, a flashing red flash is used for sending out a reminding signal to remind the user that the pairing is not completed.
Optionally, after the step of sending the first pairing information to the second wireless audio device and receiving the second pairing information sent by the second wireless audio device, the method further includes:
and if the first pairing information and the second pairing information do not meet preset pairing conditions, sending a reminding signal.
In this embodiment, if the models of the second wireless audio device and the first wireless audio device are not matched, the two devices cannot be paired, and at this time, a reminding signal is sent to remind the user that the matching is not successful.
Optionally, before the first wireless audio device receives the trigger instruction, the method further includes:
the triggering instruction is generated through the connection of a key or a data line.
In this embodiment, the first wireless audio device and the second wireless audio device are provided with a key and a data line connector. In one embodiment, pressing a button on the first wireless audio device generates a trigger command that causes the first wireless audio device to enter an RSSI scan mode. In another embodiment, the first wireless audio device and the second wireless audio device are placed in the charging box, the data line connector of the first wireless audio device is in contact with the charging contact of the charging box, and the data line connector of the second wireless audio device is in contact with the other charging contact of the charging box. The two charging contacts are connected by a data line. The charging box is provided with a Hall switch and is arranged on the data line. When the charging box is closed, the Hall switch is in a closed state, and the data line is not communicated. And when the charging box is opened, the Hall switch is in an opening state, and the data lines are communicated. When the data lines are connected, the two wireless audio devices can generate a triggering instruction.
Referring to fig. 2, an embodiment of the present invention further provides a wireless audio device, which is used as a first wireless audio device, and includes:
a connection module 10, configured to establish a temporary connection with a second wireless audio device, where the first wireless audio device and the second wireless audio device are wireless audio devices with the strongest RSSI signal strength that the first wireless audio device and the second wireless audio device find each other;
a sending module 20, configured to send first pairing information to the second wireless audio device, and receive second pairing information sent by the second wireless audio device;
the pairing module 30 is configured to pair with the second wireless audio device if it is determined that the first pairing information and the second pairing information satisfy a preset pairing condition.
In this embodiment, the wireless audio device may be a wireless bluetooth headset, a wireless bluetooth speaker, or other wireless audio devices. The first wireless audio device and the second wireless audio device are generally two wireless audio devices, such as a left ear earphone and a right ear earphone, which are paired, or two bluetooth stereo speakers which are matched with each other. RSSI, an abbreviation of the english term Received Signal Strength Indication, is a chinese meaning of the Received Signal Strength Indication, belongs to an optional part of the wireless transmission layer, and is used to determine the link quality and whether to increase the broadcast transmission Strength.
In the connection module 10, only when the first wireless audio device and the second wireless audio device are matched devices with each other, which have the strongest RSSI, they can establish a temporary connection. In other words, the first wireless audio device and the second wireless audio device are placed close enough to each other so that they are both the matching devices with the strongest RSSI of each other, and thus the two devices establish a temporary connection. Therefore, the matching equipment with the RSSI not being the strongest can be eliminated, and the matching time is shortened.
In the sending module 20, after the first wireless audio device and the second wireless audio device establish the temporary connection, the two wireless audio devices exchange pairing information with each other to determine whether the two devices are the same type of device. The first wireless audio device receives second pairing information sent by the second wireless audio device. The second wireless audio device receives the first pairing information sent by the first wireless audio device.
In the pairing module 30, the second wireless audio device may determine whether the received first pairing information satisfies a first preset condition, and the first wireless audio device may determine whether the received second pairing information satisfies a second preset condition. If the two conditions are met simultaneously, the first wireless audio device and the second wireless audio device are adapted, and at this time, the two devices are successfully paired. After the two wireless audio devices are successfully paired, the two wireless audio devices can be connected with a smart phone or a notebook with a Bluetooth function as a whole, and then a playing function is realized on the wireless audio devices.
Optionally, the connection module 10 includes:
the scanning unit is used for receiving the trigger instruction by the first wireless audio equipment, starting an RSSI scanning mode and searching the second wireless audio equipment with the strongest RSSI signal intensity;
a first connection unit, configured to send a first temporary connection request to the second wireless audio device, and determine whether a second temporary connection request of the second wireless audio device is received;
and the second connection unit is used for establishing temporary connection with the second wireless audio equipment if the second temporary connection request is received.
In this embodiment, the first wireless audio device and the second wireless audio device establish a temporary connection in the following manner: the first wireless audio equipment receives the trigger instruction, starts the RSSI scanning mode and searches for the wireless audio equipment with the strongest RSSI signal intensity. And if the wireless audio equipment with the strongest RSSI signal strength searched by the first wireless audio equipment is the second wireless audio equipment, sending a first temporary connection request to the second wireless audio equipment. Meanwhile, the second wireless audio equipment receives the trigger instruction, starts the RSSI scanning mode and searches for the wireless audio equipment with the strongest RSSI signal strength. And if the wireless audio equipment with the strongest RSSI signal strength searched by the second wireless audio equipment is the second wireless audio equipment, sending a second temporary connection request to the first wireless audio equipment. When the first wireless audio device receives the second temporary connection request, then a temporary connection is established with the second wireless audio device.
Optionally, the connection module 10 includes:
the scanning unit is used for receiving the trigger instruction by the first wireless audio equipment, starting an RSSI scanning mode and searching the second wireless audio equipment with the strongest RSSI signal intensity;
a connection request unit for transmitting a first temporary connection request to the second wireless audio device;
and a request corresponding unit, configured to establish a temporary connection with the second wireless audio device if receiving the acceptance information of the second wireless audio device in response to the first temporary connection request.
In this embodiment, the establishing of the temporary connection between the first wireless audio device and the second wireless audio device may be further performed in the following manner: the first wireless audio equipment receives the trigger instruction, starts the RSSI scanning mode and searches for the wireless audio equipment with the strongest RSSI signal intensity. And if the wireless audio equipment with the strongest RSSI signal strength searched by the first wireless audio equipment is the second wireless audio equipment, sending a first temporary connection request to the second wireless audio equipment. And if receiving the acceptance information of the second wireless audio equipment responding to the first temporary connection request, establishing temporary connection with the second wireless audio equipment.
Optionally, the scanning unit includes:
the threshold judging subunit is used for receiving the trigger instruction by the first wireless audio equipment, starting an RSSI scanning mode and searching the wireless audio equipment with the RSSI signal intensity being greater than a preset threshold;
and the determining subunit is configured to determine the found wireless audio device with the strongest RSSI signal strength as the second wireless audio device.
In this embodiment, both the first wireless audio device and the second wireless audio device receive the trigger instruction. The triggering instruction may refer to the wireless audio device being converted from a standby state to an operating state, or may refer to the wireless audio device being converted from a power-off state to an operating state. Taking the first wireless audio device as an example, when the first wireless audio device enters the working state, the RSSI scanning mode is enabled, and the signal transmitted by the second wireless audio device that needs to be matched is detected. The first wireless audio device enabling the RSSI scan mode sets the RSSI signal strength threshold. Only wireless audio devices that are greater than a predetermined RSSI signal strength threshold will be paired with the first wireless audio device. This ensures that the paired wireless audio devices are close enough together, while avoiding the need to search for a wireless audio device that is further away. The RSSI signal strength threshold of the first wireless audio device and the second wireless audio device can be set to-50 dbm. Through tests, when the first wireless audio equipment and the second wireless audio equipment are placed in the same charging box, the received RSSI signal strength is greater than-50 dbm for the first wireless audio equipment and the second wireless audio equipment. In step S22, if the strongest RSSI signal strengths obtained by the first wireless audio device and the second wireless audio device are less than-50 dbm, the scanning is continued. At this time, the first wireless audio device and the second wireless audio device may issue some reminders, such as light flashing or beeping sound, to remind the user to place the two wireless audio devices closer.
Optionally, the connection module further includes:
and the first reminding unit is used for sending out a reminding signal if the searched RSSI signal strength is lower than a preset threshold value.
In this embodiment, the RSSI signal strength found is lower than the preset threshold, which indicates that no wireless audio device meeting the condition can be matched, and at this time, the first wireless audio device may send a reminding signal to remind the user that the pairing is not completed.
Optionally, the first reminding unit includes:
and the flash reminding subunit is used for sending the reminding signal by flashing red.
In this embodiment, a small LED lamp may be provided on the first wireless audio device, and the color of the LED lamp may be red. And when the pairing is not successful, a flashing red flash is used for sending out a reminding signal to remind the user that the pairing is not completed.
Optionally, the pairing module further includes:
and the second reminding unit is used for sending a reminding signal if the first pairing information and the second pairing information do not meet a preset pairing condition.
In this embodiment, if the models of the second wireless audio device and the first wireless audio device are not matched, the two devices cannot be paired, and at this time, a reminding signal is sent to remind the user that the matching is not successful.
Optionally, the method further includes:
and the storage module is used for storing the second pairing information.
In this embodiment, after the first wireless audio device and the second wireless audio device are paired, second pairing information sent by the second wireless audio device is stored on the first wireless audio device, and first pairing information sent by the first wireless audio device is stored on the second wireless audio device. When the pairing information of the other party is stored in the two wireless audio devices, the process of matching the pairing information is reduced, and the pairing time between the devices is greatly shortened.
Optionally, the method further includes:
and the trigger module is used for generating a trigger instruction through key or data line connection.
In this embodiment, the first wireless audio device and the second wireless audio device are provided with a key and a data line connector. In one embodiment, pressing a button on the first wireless audio device generates a trigger command that causes the first wireless audio device to enter an RSSI scan mode. In another embodiment, the first wireless audio device and the second wireless audio device are placed in the charging box, the data line connector of the first wireless audio device is in contact with the charging contact of the charging box, and the data line connector of the second wireless audio device is in contact with the other charging contact of the charging box. The two charging contacts are connected by a data line. The charging box is provided with a Hall switch and is arranged on the data line. When the charging box is closed, the Hall switch is in a closed state, and the data line is not communicated. And when the charging box is opened, the Hall switch is in an opening state, and the data lines are communicated. When the data lines are connected, the two wireless audio devices can generate a triggering instruction.
According to the wireless audio equipment pairing method and the wireless audio equipment, the RSSI detection mechanism is added into the wireless audio equipment. The wireless audio equipment detects the RSSI signal intensity mutually, and is automatically paired with the equipment with the strongest RSSI signal intensity, so that the method is simple and reliable. Taking a wireless bluetooth headset as an example, when the left and right headsets are placed in the charging box, the distance between the antennas is less than 1 cm, and the RSSI signal strength is generally greater than-50 dbm. The pairing is triggered through a hall switch of the charging box, and the automatic pairing can be completed within 10 seconds. The earphones needing to be paired are placed at the close position, and after RSSI detection is triggered, the left earphone and the right earphone are automatically paired. Meanwhile, the range of the RSSI signal intensity is limited, so that a plurality of sets of earphones in the same place can be paired simultaneously without mutual interference. The invention can improve the production efficiency of the wireless earphone and improve the user experience.
The above description is only an example of the present invention, and is not intended to limit the present invention, and it is obvious to those skilled in the art that various modifications and variations can be made in the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.
Claims (8)
1. A wireless audio device pairing method, comprising:
arranging the first wireless audio equipment and the second wireless audio equipment in the same charging box;
establishing temporary connection between a first wireless audio device and a second wireless audio device, wherein the first wireless audio device and the second wireless audio device are the wireless audio devices with the strongest RSSI signal intensity searched by the first wireless audio device and the second wireless audio device;
judging whether the RSSI signal strength of the second wireless audio is greater than an RSSI signal strength threshold value or not;
if so, sending first pairing information to the second wireless audio equipment, and receiving second pairing information sent by the second wireless audio equipment;
if the first pairing information and the second pairing information are determined to meet a preset pairing condition, pairing with the second wireless audio equipment;
the step of establishing a temporary connection between the first wireless audio device and the second wireless audio device comprises:
the data line connecting port of the first wireless audio device is in contact with the charging contact point of the charging box, the data line connecting port of the second wireless audio device is in contact with the other charging contact point of the charging box, the two charging contact points are connected through a data line, the charging box is provided with a Hall switch, the Hall switch is arranged on the data line, when the charging box is in an open state, the Hall switch is in an open state, the data line is communicated, and when the data line is communicated, the two wireless audio devices can generate a trigger instruction;
the first wireless audio equipment receives the trigger instruction, starts an RSSI scanning mode and searches for second wireless audio equipment with the strongest RSSI signal intensity;
sending a first temporary connection request to the second wireless audio device, and judging whether a second temporary connection request of the second wireless audio device is received;
and if the second temporary connection request is received, establishing temporary connection with the second wireless audio equipment.
2. The wireless audio device pairing method of claim 1, wherein the step of establishing a temporary connection between the first wireless audio device and the second wireless audio device comprises:
the first wireless audio equipment receives the trigger instruction, starts an RSSI scanning mode and searches for the second wireless audio equipment with the strongest RSSI signal intensity;
sending a first temporary connection request to the second wireless audio device;
and if receiving the acceptance information of the second wireless audio equipment responding to the first temporary connection request, establishing temporary connection with the second wireless audio equipment.
3. The wireless audio device pairing method of claim 2, wherein the first wireless audio device receives a trigger instruction to initiate an RSSI scan mode, and the step of finding the second wireless audio device with the strongest RSSI signal strength comprises:
the first wireless audio equipment receives a trigger instruction, starts an RSSI scanning mode and searches for wireless audio equipment with RSSI signal intensity greater than a preset threshold value;
and determining the found wireless audio equipment with the strongest RSSI signal strength as the second wireless audio equipment.
4. The wireless audio device pairing method of claim 1, wherein the pairing with the second wireless audio device is further followed by:
storing the second pairing information.
5. A wireless audio device for use as a first wireless audio device, comprising:
the setting module is used for setting the first wireless audio equipment and the second wireless audio equipment in the same charging box;
the connection module is used for establishing temporary connection with second wireless audio equipment, and the first wireless audio equipment and the second wireless audio equipment are the wireless audio equipment with the strongest RSSI signal strength which is searched by the first wireless audio equipment and the second wireless audio equipment;
the judging module is used for judging whether the RSSI signal strength of the second wireless audio is greater than the RSSI signal strength threshold value or not;
the transmitting module is used for transmitting first pairing information to the second wireless audio equipment when the RSSI signal strength of the second wireless audio is greater than the RSSI signal strength threshold value, and receiving second pairing information transmitted by the second wireless audio equipment;
the pairing module is used for pairing with the second wireless audio equipment if the first pairing information and the second pairing information are determined to meet a preset pairing condition;
the connection module includes:
the charging box is provided with a Hall switch, the Hall switch is arranged on a data line, when the charging box is in an open state, the Hall switch is in an open state, the data line is communicated, and when the data line is communicated, the two wireless audio devices can generate a triggering instruction;
the scanning unit is used for receiving the trigger instruction by the first wireless audio equipment, starting an RSSI scanning mode and searching the second wireless audio equipment with the strongest RSSI signal intensity;
a first connection unit, configured to send a first temporary connection request to the second wireless audio device, and determine whether a second temporary connection request of the second wireless audio device is received;
and the second connection unit is used for establishing temporary connection with the second wireless audio equipment if the second temporary connection request is received.
6. The wireless audio device of claim 5, wherein the connection module comprises:
the scanning unit is used for receiving the trigger instruction by the first wireless audio equipment, starting an RSSI scanning mode and searching the second wireless audio equipment with the strongest RSSI signal intensity;
a connection request unit for transmitting a first temporary connection request to the second wireless audio device;
and a request corresponding unit, configured to establish a temporary connection with the second wireless audio device if receiving the acceptance information of the second wireless audio device in response to the first temporary connection request.
7. The wireless audio device of claim 6, wherein the scanning unit comprises:
the threshold judging subunit is used for receiving the trigger instruction by the first wireless audio equipment, starting an RSSI scanning mode and searching the wireless audio equipment with the RSSI signal intensity being greater than a preset threshold;
and the determining subunit is configured to determine the found wireless audio device with the strongest RSSI signal strength as the second wireless audio device.
8. The wireless audio device of claim 5, further comprising:
and the storage module is used for storing the second pairing information.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810129832.1A CN108174459B (en) | 2018-02-08 | 2018-02-08 | Wireless audio device pairing method and wireless audio device |
PCT/CN2018/077603 WO2019153385A1 (en) | 2018-02-08 | 2018-02-28 | Wireless audio device pairing method and wireless audio device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810129832.1A CN108174459B (en) | 2018-02-08 | 2018-02-08 | Wireless audio device pairing method and wireless audio device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108174459A CN108174459A (en) | 2018-06-15 |
CN108174459B true CN108174459B (en) | 2020-12-22 |
Family
ID=62513772
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810129832.1A Active CN108174459B (en) | 2018-02-08 | 2018-02-08 | Wireless audio device pairing method and wireless audio device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108174459B (en) |
WO (1) | WO2019153385A1 (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109120296A (en) * | 2018-08-30 | 2019-01-01 | 歌尔科技有限公司 | A kind of earphone far field exchange method, earphone far field interaction accessory and wireless headset |
US11026083B2 (en) | 2018-09-27 | 2021-06-01 | Apple Inc. | Identification and user notification of mismatched devices |
CN109451473A (en) * | 2018-10-15 | 2019-03-08 | 倬韵科技(深圳)有限公司 | The method and system of true wireless stereo Bluetooth earphone and the pairing of bluetooth playback equipment |
US11979197B2 (en) | 2018-12-14 | 2024-05-07 | Google Llc | Audio pairing between electronic devices |
CN112449259B (en) * | 2019-09-02 | 2022-09-16 | 华为技术有限公司 | Earphone pairing method and terminal |
CN110891299A (en) * | 2019-11-15 | 2020-03-17 | 北京小米移动软件有限公司 | Network distribution method and device, electronic equipment and storage medium |
CN111107667B (en) * | 2019-12-31 | 2022-11-22 | 歌尔股份有限公司 | Bluetooth headset pairing method and device and readable storage medium |
CN114465298A (en) * | 2021-12-24 | 2022-05-10 | 深圳市爱图仕影像器材有限公司 | Pairing realization method and device based on charging equipment and charging equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104038263A (en) * | 2014-06-18 | 2014-09-10 | 小米科技有限责任公司 | Method and device for establishing Bluetooth connection |
CN105407453A (en) * | 2015-11-23 | 2016-03-16 | 深圳还是威健康科技有限公司 | Bluetooth pairing method and device |
CN106787264A (en) * | 2016-11-29 | 2017-05-31 | 北京小米移动软件有限公司 | Wireless charging control method and device |
CN107145330A (en) * | 2017-04-26 | 2017-09-08 | 歌尔科技有限公司 | A kind of method and apparatus for connecting ears bluetooth earphone |
CN107257516A (en) * | 2017-07-17 | 2017-10-17 | 湖南海翼电子商务股份有限公司 | Wireless headset and its matching method |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9439229B2 (en) * | 2010-05-07 | 2016-09-06 | Samsung Electronics Co., Ltd. | Method and apparatus for performing pairing between coordinator and device in network, method and apparatus for performing pairing between devices, network system including the coordinator and the devices |
KR101981140B1 (en) * | 2012-12-24 | 2019-05-22 | 삼성전자주식회사 | Method and device for pairing between bluetooth devices |
US20150065049A1 (en) * | 2013-08-28 | 2015-03-05 | Hyundai Motor Company | Apparatus having bluetooth module and method for bluetooth communication thereof |
CN103633714B (en) * | 2013-12-26 | 2019-06-04 | Tcl通讯(宁波)有限公司 | A kind of the wireless charging reminding method and device of mobile terminal |
-
2018
- 2018-02-08 CN CN201810129832.1A patent/CN108174459B/en active Active
- 2018-02-28 WO PCT/CN2018/077603 patent/WO2019153385A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104038263A (en) * | 2014-06-18 | 2014-09-10 | 小米科技有限责任公司 | Method and device for establishing Bluetooth connection |
CN105407453A (en) * | 2015-11-23 | 2016-03-16 | 深圳还是威健康科技有限公司 | Bluetooth pairing method and device |
CN106787264A (en) * | 2016-11-29 | 2017-05-31 | 北京小米移动软件有限公司 | Wireless charging control method and device |
CN107145330A (en) * | 2017-04-26 | 2017-09-08 | 歌尔科技有限公司 | A kind of method and apparatus for connecting ears bluetooth earphone |
CN107257516A (en) * | 2017-07-17 | 2017-10-17 | 湖南海翼电子商务股份有限公司 | Wireless headset and its matching method |
Also Published As
Publication number | Publication date |
---|---|
WO2019153385A1 (en) | 2019-08-15 |
CN108174459A (en) | 2018-06-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108174459B (en) | Wireless audio device pairing method and wireless audio device | |
CN108174457B (en) | Charging box, communication system and communication method of Bluetooth headset | |
US8457557B2 (en) | Wireless synchronization mechanism | |
US20140256260A1 (en) | Wireless Device Pairing | |
US20100054519A1 (en) | Audio Communication System | |
CN106936987B (en) | Method and device capable of identifying voice source of Bluetooth headset | |
CN109151212B (en) | Equipment control method and device and electronic equipment | |
JP2002261686A (en) | Method for link connection between communication terminals having bluetooth wireless device | |
CN112839303B (en) | Method and related device for device reconnection | |
CN108886653A (en) | A kind of earphone sound channel control method, relevant device and system | |
US20210144495A1 (en) | Microphone Hole Blockage Detection Method, Microphone Hole Blockage Detection Device, and First Wireless Earphone | |
CN105611055A (en) | Calling method and device | |
CN110830973B (en) | Method for transmitting audio information by using wireless earphone | |
CN104754469A (en) | Automatic starting pairing method and device for wireless microphone | |
CN103581853A (en) | Method and device for voice broadcast of text message on mobile phone | |
CN109257732B (en) | Equipment control method and device and electronic equipment | |
CN108513196B (en) | Wireless earphone and pairing method thereof | |
CN108476420A (en) | Page configuration method and device, paging message method of reseptance and device and base station | |
CN104936255A (en) | Wireless access control method, device, router and terminal | |
US10433121B2 (en) | Method for equipment networking and outputting by equipment, and equipment | |
CN109565381A (en) | Information feedback method and device | |
CN114513742A (en) | Equipment position indication method, storage medium and equipment | |
WO2023134386A1 (en) | Device connection method and apparatus, and device, storage medium and chip | |
CN113079428B (en) | Audio play control method, bluetooth sound box, bluetooth audio suite and storage medium | |
WO2022226739A1 (en) | Information transmission method and apparatus, communication device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210915 Address after: 518000 201, No.26, yifenghua Innovation Industrial Park, Xinshi community, Dalang street, Longhua District, Shenzhen City, Guangdong Province Patentee after: Shenzhen waterward Information Co.,Ltd. Address before: 518000, block B, huayuancheng digital building, 1079 Nanhai Avenue, Shekou, Nanshan District, Shenzhen City, Guangdong Province Patentee before: SHENZHEN WATER WORLD Co.,Ltd. |
|
TR01 | Transfer of patent right |