Disclosure of Invention
The invention aims to provide a method and a device for connecting double wireless earphones, a wireless earphone, a TWS earphone and a computer readable storage medium, which can reduce the time required by connecting the wireless earphones and a terminal and further improve the use experience of a user.
In order to solve the above technical problem, the present invention provides a method for connecting a dual wireless headset, where the dual wireless headset includes a first wireless headset and a second wireless headset, and the method includes:
the first wireless earphone establishes connection with a terminal when detecting a preset event triggering connection operation;
and when detecting an instruction of connecting a second wireless earphone after the connection with the terminal is established, establishing connection with the second wireless earphone.
Optionally, before establishing the connection with the terminal, the method further includes:
judging whether the role information of the first wireless earphone is a main earphone;
and if so, executing the step of establishing connection with the terminal.
Optionally, the establishing of the connection with the terminal includes:
judging whether existing connection pairing information exists or not;
if so, establishing connection with the terminal by using the connection pairing information;
if not, when receiving a connection request sent by the terminal, establishing connection with the terminal.
Optionally, the establishing of the connection with the terminal includes:
deleting the existing connection pairing information when a re-pairing request is received;
and when receiving a connection request sent by the terminal, establishing connection with the terminal.
Optionally, when detecting an instruction to connect a second wireless headset after establishing connection with the terminal, establishing connection with the second wireless headset includes:
and when an instruction that the first wireless earphone is successfully connected with the terminal is detected, the first wireless earphone is connected with the second wireless earphone.
Optionally, after the connection with the second wireless headset is established, the method further includes:
and modifying the connection state into a state that the connection state can not be connected and discovered by other devices.
The invention also provides a device for connecting double wireless earphones, wherein the double wireless earphones comprise a first wireless earphone and a second wireless earphone, and the device comprises:
the first connection module is used for establishing connection with a terminal when the first wireless earphone detects a preset event triggering connection operation;
and the second connection module is used for establishing connection with the second wireless earphone when an ear-to-ear connection instruction is detected after the connection with the terminal is established.
Optionally, the apparatus for connecting dual wireless headsets further comprises:
the role judging module is used for judging whether the role information of the first wireless earphone is a main earphone or not;
the first connection module is specifically a module that the first wireless earphone detects a preset event triggering a connection operation and establishes a connection with the terminal when the first wireless earphone is a main earphone.
Optionally, the first connection module includes:
the judging unit is used for judging whether existing connection pairing information exists or not;
the active connection unit is used for establishing connection with the terminal by using the connection pairing information if the existing connection pairing information exists;
and the first passive connection unit is used for establishing connection with the terminal when receiving a connection request sent by the terminal if the existing connection pairing information does not exist.
Optionally, the first connection module includes:
a deleting unit, configured to delete existing connection pairing information when a re-pairing request is received;
and the second passive connection unit is used for establishing connection with the terminal when receiving the connection request sent by the terminal.
Optionally, the second connection module is specifically a module for establishing a connection between the first wireless headset and the second wireless headset when detecting an instruction that the first wireless headset and the terminal are successfully established.
Optionally, the apparatus for connecting dual wireless headsets further comprises:
and the state modification module is used for modifying the connection state into a state which can not be connected and discovered by other equipment.
The present invention also provides a wireless headset comprising: communication interface, memorizer, processor; the memory is used for storing a computer program, and the processor is used for implementing the steps of the method for connecting the dual-wireless earphone when executing the computer program.
The invention also provides a TWS headset, wherein the TWS headset comprises a first wireless headset and a second wireless headset, the first wireless headset being a wireless headset as described above.
Optionally, after the second wireless headset establishes connection with the first wireless headset, the connection state is modified to a state that the second wireless headset cannot be connected and discovered by other devices.
The invention also provides a computer readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method of dual wireless headset connection as described above.
The invention provides a method for connecting double wireless earphones, wherein the double wireless earphones comprise a first wireless earphone and a second wireless earphone, and the method comprises the following steps: the method comprises the steps that when a first wireless earphone detects a preset event triggering connection operation, connection is established with a terminal; and when detecting an instruction of connecting the second wireless earphone after the connection with the terminal is established, establishing connection with the second wireless earphone.
Therefore, the method changes the connection sequence of the first wireless earphone and the second wireless earphone in the prior art into the sequence that the first wireless earphone is connected with the terminal first and then is connected with the second wireless earphone after the first wireless earphone and the terminal are successfully connected, so that the time required for connecting the first wireless earphone and the terminal is reduced, namely the first wireless earphone is connected with the terminal first in any use scene, and the terminal does not need to wait for the time required for establishing the connection between the two wireless earphones, so that a user can feel the successful connection with the wireless earphone at the first time, and the user experience is improved; the invention also discloses a device for connecting the double wireless earphones, the TWS earphones and a computer readable storage medium, which have the beneficial effects.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In any use scenario in the prior art, the connection process of the dual wireless headsets is that the first wireless headset is firstly connected with the second wireless headset, and then the first wireless headset is connected with the mobile phone. For example, in a scenario where only one wireless headset is required to work alone, the first wireless headset connected to the terminal needs to first connect to the second wireless headset, and the first wireless headset can perform the step of connecting to the mobile phone after waiting for timeout. And then or when the scene that two wireless earphones are needed to work together, the first wireless earphone is firstly connected with the second wireless earphone, and the first wireless earphone is connected with the mobile phone after the connection is successful. However, only after the first wireless earphone is successfully connected to the mobile phone, the user can feel that the earphone is in an available state, that is, the user can feel that the wireless earphone is successfully connected to the mobile phone. For the former scenario, the time it takes for the user to experience a successful connection is the time for a connection timeout plus the time for the first wireless headset to connect successfully with the terminal. For the latter scenario, the time it takes for the user to experience that the connection is successful is the time that the first wireless headset and the second wireless headset are successfully connected plus the time that the first wireless headset and the terminal are successfully connected. Therefore, in any scenario, the time required for the user to wait for the connection is longer than the actual time required for the first wireless headset to be successfully connected to the terminal, which results in poor user experience. In the embodiment of the present application, by changing the connection sequence of the dual wireless headsets, the time length for a user to wait for connection is reduced, so as to improve the user experience, specifically referring to fig. 1, where fig. 1 is a flowchart of a method for connecting the dual wireless headsets according to the embodiment of the present invention; the dual-wireless earphone comprises a first wireless earphone and a second wireless earphone, and the method specifically comprises the following steps:
s100, when the first wireless earphone detects a preset event triggering connection operation, connection is established with the terminal.
The execution main body of the embodiment is a first wireless headset, wherein the wireless headset capable of establishing connection with a terminal (such as a mobile phone) can be called the first wireless headset. The other wireless headset that is used in concert with the first wireless headset is referred to as the second wireless headset. In general, a primary headset in a TWS is connected to a terminal to implement a data interaction process, and a secondary headset is only wirelessly connected to the primary headset. The master earpiece now acts as the first wireless earpiece and the slave earpiece acts as the second wireless earpiece.
The embodiment does not limit the specific content of the preset event, and the user can set and modify the preset event according to the actual situation. For example, the preset event is the start of the first wireless earphone; or the connect button is pressed. Further, the embodiment does not limit the specific manner of detecting the preset event, and the user may determine the corresponding detection manner according to the specific content of the selected preset event. For example, if the preset event is the start of the first wireless headset, the corresponding detection mode may be to detect whether the start key is located at the start position, and if the start key is located at the start position, the preset event is considered to occur; or detecting whether the first wireless earphone is changed from the non-working state to the working state, and when the first wireless earphone is detected to be changed from the non-working state to the working state, considering that a preset event occurs.
The embodiment does not limit the execution body that establishes connection with the terminal when the first wireless headset detects a preset event that triggers the connection operation. For example, it may be that the first wireless headset first issues a first operation to the terminal to start establishing a connection; it is of course also possible that the terminal first issues a first operation to the first wireless headset to start setting up a connection. The present embodiment does not limit the specific process of establishing the connection between the first wireless headset and the terminal, and may refer to the current specific process of establishing the connection between the first wireless headset and the terminal.
Further, since only one of the two wireless headsets used in pairing currently can be connected to the terminal, the role information of the wireless headset that can be connected to the terminal is generally set as the master headset. That is, only the wireless headset in which the character information is the main headset can be connected to the terminal. Therefore, in order to improve the reliability and accuracy of the connection of the wireless headset to the terminal, it is necessary to determine whether the current wireless headset qualifies for connection with the terminal before establishing a connection with the terminal. Specifically, before establishing a connection with the terminal, the method further includes: judging whether the role information of the first wireless earphone is a main earphone; and if so, executing the step of establishing connection with the terminal. If not, the wireless headset is proved to be actually a second wireless headset, i.e. a slave headset, which cannot establish a connection with the terminal even if a preset event triggering a connection operation is detected.
Of course, in this embodiment, the determination of the role information of the wireless headset may be before the preset event triggering the connection operation is detected, that is, only the primary headset, that is, the first wireless headset, detects whether the preset event triggering the connection operation exists. For example, after the wireless headset is powered on, the role information of the wireless headset is automatically detected, whether the wireless headset is the first wireless headset is judged, if yes, whether a preset event triggering connection operation is detected is determined, and when the preset event triggering connection operation is detected, connection is established with the terminal. The embodiment does not limit the specific storage location of the character information, and for example, the character information corresponding to the wireless headset may be stored in a flash.
And S110, when the instruction of connecting the second wireless earphone is detected after the connection with the terminal is established, the connection with the second wireless earphone is established.
Specifically, when the first wireless headset and the terminal are successfully connected, the user can already realize data interaction with the first wireless headset, that is, the user can already start to use the first wireless headset normally. The connection time of the wireless headset to the terminal in this application is therefore only the time when the first wireless headset establishes a connection with the terminal. Which is significantly shorter than the connection time between the wireless headset and the terminal in the prior art (e.g., the time when the first wireless headset and the second wireless headset are successfully connected plus the time when the first wireless headset and the terminal are successfully connected or the time when the connection is over-time plus the time when the first wireless headset and the terminal are successfully connected). Therefore, the embodiment reduces the time length for the user to wait for connection by changing the connection sequence of the first wireless earphone and the terminal, thereby improving the user experience.
After the first wireless earphone is connected with the terminal, if the second wireless earphone needs to be continuously connected, corresponding operation can be carried out according to the actual needs of the user. For example, when the user only needs one wireless earphone (i.e., the first wireless earphone) to work alone, the connection is already completed after the first wireless earphone is connected to the terminal. When a user needs two wireless earphones (namely a first wireless earphone and a second wireless earphone) to work together, after the first wireless earphone is connected with a terminal, the first wireless earphone needs to be connected with the second wireless earphone. Specifically, when a connection instruction of the second wireless headset is detected after the connection with the terminal is established, the connection with the second wireless headset is established. After the connection is successfully established, the first wireless headset may send connection information (e.g., a MAC address, etc.) of the terminal to the second wireless headset, so that the second wireless headset may be subsequently used to establish a connection with the terminal when the second wireless headset is set as the first wireless headset (e.g., the role information of the second wireless headset is modified to a master role, at which time the second wireless headset becomes the first wireless headset). The first wireless headset may also store connection information (e.g., MAC address, etc.) for the second wireless headset; the second wireless headset may also store connection information (e.g., MAC address, etc.) of the first wireless headset for use in establishing a connection between the two wireless headsets at a later time.
The embodiment does not limit the specific operation after the connection between the first wireless earphone and the second wireless earphone fails. The user can set according to the use habit of the user. For example, if the connection between the first wireless earphone and the second wireless earphone fails, the first wireless earphone works alone.
The embodiment does not limit the form of the instruction for connecting the second wireless headset, for example, the instruction for connecting the second wireless headset may be a specific high level or low level; or a small piece of data code; or a label, etc., which may be determined as the case may be.
The embodiment is not limited to the execution subject for generating the instruction for connecting the second wireless headset, and for example, the execution subject may be the first wireless headset for generating the instruction for connecting the second wireless headset, or the execution subject may be the second wireless headset for generating the instruction for connecting the second wireless headset, or the execution subject may be the terminal for generating the instruction for connecting the second wireless headset. As long as the first wireless headset detects an instruction to connect the second wireless headset, a connection is established with the second wireless headset. Further, the present embodiment does not limit the specific manner of generating the instruction for connecting the second wireless headset. The user can determine the corresponding generation mode according to different selected execution subjects. For example, when the first wireless headset is used as an execution subject, when an instruction that the first wireless headset and the terminal are successfully connected is detected, the first wireless headset and the second wireless headset are connected. And at the moment, connecting the second wireless earphone, namely, successfully establishing the connection between the first wireless earphone and the terminal.
The present embodiment does not limit the execution subject of the first operation of establishing the connection between the first wireless headset and the second wireless headset. For example, the first wireless headset first sends a first operation to the second wireless headset to start establishing a connection; it is of course also possible that the second wireless headset first issues the first operation to the first wireless headset to start establishing a connection. In this embodiment, a specific process of establishing a connection between the first wireless headset and the second wireless headset is not limited, and the current specific process of establishing a connection between the first wireless headset and the second wireless headset may be referred to.
Further, the embodiment does not limit the corresponding subsequent operation when the connection between the first wireless earphone and the terminal fails to be established, and the user can set the operation according to actual requirements. For example, when the connection between the first wireless earphone and the terminal fails, the first wireless earphone is set to be in a waiting connection state; or when the first wireless earphone fails to establish connection with the terminal, establishing connection with the second wireless earphone. Or when the first wireless earphone fails to establish connection with the terminal, the connection request is sent to the terminal at regular time.
Further, when the user only needs one wireless earphone (i.e. the first wireless earphone) to work alone, the connection is already completed after the first wireless earphone is connected with the terminal. In order to avoid that the first wireless headset is connected by other devices, it is preferable that the connection state of the first wireless headset is modified to a state that it cannot be connected and discovered by other devices. At this point the other devices will not scan for the first wireless headset. When a user needs two wireless earphones (namely a first wireless earphone and a second wireless earphone) to work together, the first wireless earphone is connected with a terminal, and the first wireless earphone and the second wireless earphone are connected to avoid the first wireless earphone and/or the second wireless earphone being connected by other equipment. Preferably, the connection state of the first wireless headset is modified to a state in which it is not connectable and discoverable by other devices. And/or modifying the connection state of the second wireless headset to a non-connectable and discoverable state by other devices.
Based on the above technical solution, the method for connecting two wireless earphones provided by the embodiments of the present invention solves the problems in the prior art that the connection process is long and the user experience is poor because the first wireless earphone needs to connect the second wireless earphone first and then connect the terminal after the connection is overtime or successful by changing the connection sequence of the first wireless earphone and the terminal. For the user, the connection mode of the invention only can see the connection process of the first wireless earphone and the terminal, namely, the time for the user to wait for connecting the wireless earphone is shortened.
Based on the foregoing embodiment, in order to further increase the speed of connecting the first wireless headset to the terminal, the process of establishing connection with the terminal in this embodiment may include:
judging whether existing connection pairing information exists or not;
if so, establishing connection with the terminal by using the connection pairing information;
if not, when receiving a connection request sent by the terminal, establishing connection with the terminal.
Specifically, in this embodiment, before establishing a connection with a terminal, the first wireless headset needs to first determine whether existing connection pairing information exists, and if so, a connection request may be directly initiated to the corresponding terminal according to the connection pairing information. For example, when the first wireless headset stores the connection pairing information of the previously connected mobile phone, the connection request may be directly sent to the mobile phone by using the MAC address in the connection pairing information. Thus, the time for the first wireless earphone to wait for connection can be reduced, and the time for the first wireless earphone to establish connection with the terminal is further shortened. When the first wireless earphone does not have the existing connection pairing information, the first wireless earphone waits to be connected by the terminal, namely waits to receive a connection request sent by the terminal. The first wireless headset can only establish a connection with the terminal when it receives a connection request sent by the terminal. At this time, the first wireless headset may save connection pairing information with the terminal for subsequent connection use.
The present embodiment does not limit the storage location of the connection pairing information, for example, to store the connection pairing information in a flash. Further, the present embodiment also does not limit the number of connection pairing information, and usually only has one connection pairing information (at this time, the old connection pairing information may be automatically overwritten each time new connection pairing information is encountered). Of course, the present embodiment also does not limit the rule of establishing connection with the terminal using the connection pairing information when there are a plurality of connection pairing information. For example, the first connection pairing information may be selected, that is, the terminal corresponding to the first connection pairing information is connected.
The following describes the above process by using a specific example, where the terminal is specifically a mobile phone, and the process is specifically as follows:
1. and after the two wireless earphones are started, judging whether the first wireless earphone is the first wireless earphone or not through role information stored in the flash.
2. And the first wireless earphone judges whether a matched mobile phone exists or not according to the connection matching information stored in the flash.
3. If the connection pairing information exists, the first wireless earphone is actively connected with the mobile phone; if there is no connection pairing information, the first wireless headset waits to be connected by the handset.
4. After the first wireless earphone is successfully connected with the mobile phone, the first earphone records information such as the MAC address of the mobile phone.
5. And the first wireless earphone is connected with the second wireless earphone, and after the connection is successful, the information such as the MAC address of the mobile phone is sent to the second wireless earphone. And stores information such as the MAC address of the second wireless headset. If the connection is over time, the first wireless headset operates alone.
6. The second wireless earphone stores the information such as the MAC addresses of the mobile phone and the first wireless earphone.
7. The first wireless headset and the second wireless headset change the connection state to a non-connectable and discoverable state by other devices.
Based on any embodiment described above, in order to improve the accuracy of the connection of the first wireless headset with the terminal. In this embodiment, the establishing of the connection between the first wireless earphone and the terminal may include:
deleting the existing connection pairing information when a re-pairing request is received;
and when receiving a connection request sent by the terminal, establishing connection with the terminal.
In particular, there may be more than one terminal connected to the first wireless headset, such as a user's mobile phone or tablet, or a mobile phone of the user's family, etc. Therefore, if the first wireless headset determines that the connection pairing information exists, the first wireless headset may be connected to the terminal according to the connection pairing information, and the connection may be improper. The embodiment avoids the situation of improper connection through the re-pairing request. For example, when a user needs to connect the first wireless headset to a new terminal or the terminal connected with the first wireless headset at this time is inconsistent with the terminal connected with the first wireless headset at the previous time, that is, the user needs to change the terminal connected with the first wireless headset, a re-pairing request may be sent to the first wireless headset, when the first wireless headset receives the re-pairing request, the existing connection pairing information may be deleted, the terminal is waited to send the connection request, and when the connection request sent by the terminal is received, the connection is established with the terminal. Of course, at this time, the wireless headset may also send a re-pairing request to the second wireless headset at the same time, so that the second wireless headset also deletes the existing connection pairing information.
The embodiment does not limit the form of the re-pairing request, for example, the re-pairing request may be a specific high level or a specific low level; or a small piece of data code; or a label, etc., which may be determined as the case may be.
The embodiment does not limit the execution subject for generating the re-pairing request, and may be, for example, the first wireless headset, or a charging device. Further, the embodiment also does not limit the manner of generating the re-pairing request, and may be triggered by a key, for example.
The above process is described below by using a specific example, in this example, the terminal is specifically a mobile phone, the charging device is a charging box, and the process is specifically as follows:
1. and after the two wireless earphones are started, judging whether the first wireless earphone is the first wireless earphone or not through role information stored in the flash.
2. And sending a message through the charging box, and erasing the connection pairing information stored in the earphone when the first wireless earphone detects the re-pairing request to wait for being connected by the mobile phone.
3. After the first wireless earphone is successfully connected with the mobile phone, the first earphone records information such as the MAC address of the mobile phone.
4. And the first wireless earphone is connected with the second wireless earphone, and after the connection is successful, the information such as the MAC address of the mobile phone is sent to the second wireless earphone. And stores information such as the MAC address of the second wireless headset. If the connection is over time, the first wireless headset operates alone.
5. The second wireless earphone stores the information such as the MAC addresses of the mobile phone and the first wireless earphone.
6. The first wireless headset and the second wireless headset change the connection state to a non-connectable and discoverable state by other devices.
The following describes a dual wireless headset connection device, a wireless headset, a TWS headset, and a computer readable storage medium according to embodiments of the present invention, and the dual wireless headset connection device, the wireless headset, the TWS headset, and the computer readable storage medium described below may be referred to in correspondence with the method for pairing the wireless headset described above.
Referring to fig. 2, fig. 2 is a block diagram of a device for connecting dual wireless headsets according to an embodiment of the present invention, wherein the dual wireless headsets include a first wireless headset and a second wireless headset, and the device may include:
afirst connection module 100, configured to establish a connection with a terminal when a first wireless headset detects a preset event that triggers a connection operation;
and asecond connection module 200, configured to establish a connection with a second wireless headset when an ear-to-ear connection instruction is detected after the connection with the terminal is established.
Based on the above embodiment, the apparatus may further include:
the role judging module is used for judging whether the role information of the first wireless earphone is a main earphone or not;
the first connection module is specifically a module that the first wireless headset detects a preset event triggering a connection operation and establishes a connection with the terminal when the first wireless headset is a main headset.
Based on any of the above embodiments, thefirst connection module 100 includes:
the judging unit is used for judging whether existing connection pairing information exists or not;
the active connection unit is used for establishing connection with the terminal by using the connection pairing information if the existing connection pairing information exists;
the first passive connection unit is used for establishing connection with the terminal when receiving a connection request sent by the terminal if the existing connection pairing information does not exist.
Based on any of the above embodiments, thefirst connection module 100 includes:
a deleting unit, configured to delete existing connection pairing information when a re-pairing request is received;
and the second passive connection unit is used for establishing connection with the terminal when receiving the connection request sent by the terminal.
Based on any of the above embodiments, thesecond connection module 200 is specifically a module for establishing a connection between the first wireless headset and the second wireless headset when detecting an instruction that the first wireless headset and the terminal successfully establish a connection.
Referring to fig. 3, fig. 3 is a block diagram of another dual wireless earphone connection device according to an embodiment of the present invention; the apparatus may further include:
astate modification module 300, configured to modify the connection state to a state that is not connectable to other devices and is not discoverable. In particular, the second wireless headset may also be provided with astate modification module 300.
It should be noted that, based on any of the above embodiments, the apparatus may be implemented based on a programmable logic device, where the programmable logic device includes an FPGA, a CPLD, a single chip, and the like. The programmable logic devices may be disposed in the first wireless headset.
An embodiment of the present invention further provides a wireless headset, including: communication interface, memorizer, processor; wherein the memory is configured to store a computer program, and the processor is configured to implement the steps of the method for connecting a dual wireless headset according to any of the above embodiments when executing the computer program. If the processor is used for executing the computer program, the first wireless earphone is connected with the terminal when detecting a preset event triggering the connection operation; and when detecting an instruction of connecting the second wireless earphone after the connection with the terminal is established, establishing connection with the second wireless earphone.
An embodiment of the present invention further provides a TWS headset, where the TWS headset includes a first wireless headset and a second wireless headset, and the first wireless headset is the wireless headset according to the above embodiment.
Based on the above embodiment, the second wireless headset modifies the connection state to the non-connectable and discoverable state by other devices after establishing connection with the first wireless headset.
The present invention also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method for dual wireless headset connection according to any of the embodiments described above. If the computer program is executed by the processor, the first wireless earphone is connected with the terminal when detecting a preset event triggering the connection operation; and when detecting an instruction of connecting the second wireless earphone after the connection with the terminal is established, establishing connection with the second wireless earphone.
The computer-readable storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The connections described in the above embodiments are all wireless connections, such as BT connections, or BLE connections. The embodiments in the present application do not limit the connection process, and reference may be made to the prior art.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above detailed description is provided for a method and apparatus for dual wireless headset connection, a wireless headset, a TWS headset, and a computer readable storage medium according to the present invention. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.