Patent Description:
In current wireless communication technologies, many products have cooperation work between multiple devices, and a lot of information interaction needs to be performed between devices. For example, in our common wireless stereo headphone disclosure, a mobile phone is wirelessly connected with a master device and a slave device of a Bluetooth true wireless stereo (TWS) device through Bluetooth, which involves a connection of three devices including the mobile phone, a TWS master headset, and a TWS slave headset, or a connection of similar devices such as Bluetooth speakers. Each connection between these multiple devices needs to establish an actual communication link, and then relies on the actual link to transmit data information between the devices, such as audio data.

Interaction between multiple devices in the related art generally has following several ways. First, in a connection relationship established as shown in <FIG>, an actual communication link <NUM> is established between a data source device and a device <NUM>, and an actual communication link <NUM> is established between the device <NUM> and a device <NUM>, an addition of the actual communication link <NUM> may divide original time slices belonging to link <NUM>, while complexity of a system including the actual communication link <NUM> and the actual communication link <NUM> increases, etc., and the communication links become more complex along with increasing of the devices. Second, in a connection relationship established as shown in <FIG>, each device communicates with each other in a form of broadcast by one device or multiple devices, a device <NUM> transmits information that needs to be notified to a device <NUM>, a device <NUM>, and a device <NUM> in a broadcast mode, the way needs to introduce a broadcast communication mode, and also occupies time slices between the data source device and the device <NUM>, and logical complexity of an entire communication system may also be correspondingly increased. <CIT> discloses embodiments of wireless audio systems and methods for wirelessly communicating audio information. In one example, a wireless audio system includes a first and a second wireless headphones. The first wireless headphone is configured to receive, from an audio source, audio information using a short-range wireless communication; in response to successfully receiving the audio information, generate an error correcting code based on the audio information; and transmit an error correcting message including the error correcting code. The second wireless headphone is configured to receive, from the audio source, the audio information using the short-range wireless communication; receive, from the first wireless headphone, the error correcting message including the error correcting code; and in response to successfully receiving the audio information based on the error correcting code, transmit an ACK message to the audio source. One of the first and second wireless headphones works in a snoop mode to communicate with the audio source based on communication parameters of another one of the first and second wireless headphones. <CIT> discloses embodiments of wireless audio systems and methods for operation mode switch of wireless headphones. In one example, a wireless audio system includes a first wireless headphone and a second wireless headphone. The first wireless headphone is configured to establish a first short-range wireless link with an audio source; transmit, to a second wireless headphone, link information associated with the first short-range wireless link; and remove the first short-range wireless link with the audio source in response to the second wireless headphone successfully establishing a second short-range wireless link with the audio source based on the link information. The second wireless headphone is configured to receive, from the first wireless headphone, the link information associated with the first short-range wireless link; and establish the second short-range wireless link with the audio source based on the link information. <CIT> discloses systems, methods and apparatus, including computer programs encoded on computer storage media for reliable communication between a source device, and two or more sink devices. In one aspect, a sink device closest in proximity to the source device can establish a wireless data transfer with the source device. In another aspect, the sink device having the more favorable radio channel conditions can establish a wireless data transfer with the source device. In some aspects, the sink devices can forward audio data received from the source device over a secondary communication link. The audio data can be forwarded to the other sink device automatically, or upon request from the other sink device. The secondary communication link can be implemented as a magnetic communication link, or as a Bluetooth communication link. <CIT> discloses methods performed by a first sink device, a source device, or a second sink device. The first sink device is connected to a source device via a first communication link and a second sink device via a second communication link, wherein the second sink device is configured to eavesdrop on communications between the first sink device and the source device on the first communication link. The methods include determining an occurrence of a trigger event and modifying an operation of at least one of the first sink device, the second sink device or the source device based at least on the trigger event occurring. <CIT> discloses device communication method and system for a wireless communication system. The method comprises the steps that S100 slave equipment establishes a monitoring link for communication between master equipment and host equipment; S200 the slave equipment negotiates with the master equipment to enter a monitoring confirmation mode; the monitoring link enters a monitoring confirmation mode; the master equipment and the host equipment enter the monitoring confirmation mode; and S300 the communication link between the slave equipment and the master equipment exits the monitoring confirmation mode after information interaction is completed. The system comprises the master equipment carrying a Bluetooth communication protocol, the slave equipment and the host equipment. <CIT> discloses a device master-slave role switching system and method for wireless communication. <CIT> discloses a communication method of a wireless earphone, the wireless earphone and a wireless earplug.

In view of this, a main purpose of the present disclosure is to provide a wireless communication method, which is able to simplify a communication connection mode between multiple devices.

An embodiment of the present disclosure is implemented as follows, a wireless communication method, including:.

Furthermore, preferably, a step of interacting the second device with the first device through the first communication link includes:
obtaining communication data and interacting with the first device, by the second device, when the first device sends the communication data to the source device.

Furthermore, preferably, a step of obtaining the communication data and interacting with the first device, by the second device, includes:
monitoring the communication data by the second device, where the communication data is in the first communication link; the communication data is interaction data in a predefined format in the first communication link, and the interaction data in the predefined format sent by the first device to the source device is the data information that the first device wants to interact with the second device.

Furthermore, preferably, the interaction data in the predefined format includes an ID number of the interaction data, a length of the interaction data, and content of the interaction data.

Furthermore, preferably, the second device comprises at least one wireless communication device, and respectively switching the at least one wireless communication device into the shadow device of the first device after obtaining the link information of the first communication link by the at least one wireless communication device.

Furthermore, preferably, the wireless communication method further includes:
dynamically setting an interaction frequency between the first device, the source device, and/or the second device according to usage scenarios.

Furthermore, preferably, a step of dynamically setting the interaction frequency between the first device, the source device, and/or the second device according to the usage scenarios includes:.

Furthermore, preferably, the wireless communication method further includes:
performing a relationship switching between the second device and the first device, wherein when it is necessary to exchange roles of the first device and the second device in the state of the shadow device, the first device and the second device agree on a timing point for exchange, and when the time point is reached, the second device becomes a real device that interacts with the source device to establish a real link communication, and the first device becomes the shadow device of the second device.

Furthermore, preferably, the wireless communication method further includes:
switching the second device into a receiving time sequence, and receiving data sent by the first device to the source device, by the second device.

In another aspect, the present disclosure further provides a wireless communication device, which is able to simplify a communication connection mode between multiple devices.

One embodiment of the wireless communication device of the present disclosure is implemented as follows, including an obtaining device, a switching device, and an interaction device. The obtaining device is configured to obtain link information of a first communication link established between a source device and a first device, the switching device is configured to switch the wireless communication device itself into a shadow device of the first device according to the link information of the first communication link so as the wireless communication device is able to monitor communication data in the first communication link between the first device and the source device to obtain interaction data that the first device needs to transmit to the wireless communication device, and the interaction device is configured to interact with the first device through the first communication link by obtaining the interaction data that the first device needs to transmit to the wireless communication device through the first communication link; wherein, for obtaining the link information of the first communication link, the wireless communication device enters into a specific discovery mode, and accesses the first communication link through a specific access code of the specific discovery mode, wherein the specific access code is an identification number or an identification code pre-agreed between the wireless communication device and the first device, and is used for realizing agreed interaction between the wireless communication device and the first device; the specific discovery mode is a search and scanning access method using the specific access code; the link information of the first communication link is the communication link information parameter set(s) of the first communication link established by the source device and the first device.

Furthermore, preferably, the interaction device further includes a monitoring device. The monitoring device is configured to obtain communication data and interact with the first device when the first device sends the communication data to the source device, the communication data is interaction data in a predefined format in the first communication link, and the interaction data in the predefined format sent by the first device to the source device is the data information that the first device wants to interact with the wireless communication device.

According to above technical solutions, the embodiments of the present disclosure have following effects: at least one second device obtains communication link information between the source device and the first device, so that a state of the at least one second device is able to be changed into the shadow device of the first device, and the communication data between the first device and the source device is obtained by becoming a shadow device. The second device uses a specific access code to access the first communication link through a specific discovery mode to obtain the interaction data that the first device needs to transmit to the second device. By adopting the technical solutions, wireless communication between multiple devices is able to be realized without adding an additional communication mode, but only by properly borrowing a current communication link path.

Other features, objects and advantages of the present disclosure become more apparent upon reading detailed description of non-limiting embodiments with reference to the following drawings.

The present disclosure is further described in detail below with reference to the accompanying drawings and embodiments, it's understandable that specific embodiments described are merely used for explaining the relevant disclosure, rather than limiting the present disclosure. In addition, it should be noted that, for convenience of description, only a part related to the present disclosure is shown in the accompanying drawings.

As shown in <FIG>, which, however, does not show all of the features required by the claimed invention, <FIG> is a wireless communication method according to an embodiment of the present disclosure, including the following steps:.

The first communication link is established between the source device and the first device, and the communication data is able to be sent between the source device and the first device, for example, after the communication link is established between the first device and the source device, the first device is able to receive audio data, voice data, and other data sent by the source device. When the second device needs to join a communication network with the first device and the source device, the second device obtains the link information of the first communication link, and then the second device switches its own state into the shadow device of the first device, and the second device interacts with the first device through the first communication link. The shadow device is relative to the first device, that is, the second device has two states or forms at different times, the second device is in one state before switching to the shadow device of the first device, and is in another state after switching to the shadow device. The second device obtains communication link information parameter set(s) of the first communication link established by the source device and the first device, so that the second device is able to monitor or eavesdrop the communication data of the first communication link, so as to realize that the first device is able to interact with the second device as the shadow device. After the second device obtains the communication link information parameter set(s) of the first communication link and then switches to the shadow device, the second device is able to pretend to be same as the first device, and monitor the communication data in the first communication link, so that data of interaction information that the first device needs to interact with the second device can also be obtained, so as to implement information interaction between the first device and the second device.

According to an optional embodiment of the present disclosure, in a flow of the above embodiment, the step of the second device interacting with the first device through the first communication link specifically includes: when the first device sending communication data to the source device, the second device obtaining the communication data and interacting with the first device. In the embodiment, when the first device wants to perform data interaction with the second device, data transmission is not directly performed to the second device, but the first device sends the communication data to the source device through the first communication link, at this time, the second device monitors the communication data of sent to the source device as the state of the shadow device, in this way, the interaction of the first device to send the communication data to the second device is completed. As shown in <FIG> (which does not show all of the features required by the claimed invention), a communication network relationship between multiple devices is described in detail. According to the invention, the second device entering a specific discovery mode, and the specific discovery mode accessing the first communication link by using a specific access code. The link information between the source device and the first device is obtained through the specific discovery mode, the first device enters the specific discovery mode through external event triggering, a preset key or a predetermined instruction etc., and at this time, the second device changes itself into the shadow device of the first device, so as to monitor transmission data between the first device and the source device. The specific access code is an identification number or an identification code pre-agreed between the second device and the first device, and is used for realizing agreed interaction between the second device and the first device. The specific discovery mode is a search and scanning access method using the specific access code.

The present disclosure provides another embodiment, as shown in <FIG> (which does not show all of the features required by the claimed invention), the step of the second device obtaining the communication data and interacting with the first device includes: the second device monitoring the communication data in the first communication link, the communication data is interaction data in a specific format in the first communication link, and the interaction data in the specific format is information that needs to be interacted between the first device and the second device. In actual use, the first device needs to perform data interaction with the second device, for example, it needs to agree to play or other applications, as shown in <FIG> does not show all of the features required by the claimed invention), a format or a scene may be deployed or set according to situations.

The first device sends the interaction data in the specific format to the source device through a current path between the first device and the source device, and when the first device sends the interaction data in the specific format to the source device, the second device switches to the receiving time sequence as the shadow device at this time, and receives the data sent by the first device to the source device. The second device receives the data sent by the first device, so as to achieve a purpose of exchanging information between the first device and the second device. The interaction data in the specific format sent by the first device to the source device in the first communication link is the data information that the first device wants to interact with the second device. In the first communication link, the source device does also receive these data, but the source device may not know true meaning of these data due to a lack of the specific access code. Of course, in a design, the source device may also be preset to understand the specific discovery mode, so the source device may accurately analyze the interaction information in the specific format. In actual transmission, a format of the interactive data in the specific format is shown in Table <NUM> below, which includes an ID number of the interaction data "Data ID", a length of the interaction data "Data Len", and content of the interaction data "data".

According to an optional embodiment of the present disclosure, the second device includes at least one wireless communication device, and the at least one wireless communication device respectively obtaining link information of the first communication link and then switching to the shadow device of the first device. As shown in <FIG>, <FIG>, the second device may be one or more wireless communication devices, when each wireless communication device needs to interact with the first device, it can change itself into the shadow device of the first device through a solution of any of the above embodiments, so that each second device can monitor the communication data between the first device and the source device to implement the data interaction between the first device and itself.

Further, the method further includes: dynamically setting an interaction frequency between the first device, the source device, and/or the second device according to usage scenarios. Specifically, following situations are included:.

When the first device is a master in the first communication link, the first device selecting a preset quality of service parameter and adjusting a poll period. After establishing a connection between the first device and the source device, the first device acts as a master role, and then the first device may select a corresponding quality of service parameter to adjust the Poll period, thereby ensuring that the data sent by the first device to the source device is able to be transmitted as soon as possible, so as to ensure the frequency of the data interaction between the first device and the second device.

When the first device is a slave in the first communication link, the first device selecting the preset quality of the service parameter, obtaining a response consent of the source device, and then adjusting the poll period. The connection is established between the first device and the source device, the first device acts as a slave role, and then the first device may select a corresponding quality of the service parameter, interact with the source device at same time, and adjust the poll period after obtaining the response from the source device, so as to ensure the frequency of the data interaction between the first device and the second device.

Adjusting a sniff period of the first communication link, and also adjust a sniff period between the first device and the source device, so as to ensure the frequency of the data interaction between the first device and the second device.

According to an optional embodiment of the present disclosure, on a basis of the above embodiment, a relationship between the second device and the first device is switched. Specifically, after the first communication link is established between the first device and the source device, the second device switches to become the shadow device of the first device. If it is necessary to exchange roles of the first device and the second device in the state of the shadow device at this time, the first device and the second device agree on a timing point for exchange, and when the time point is reached, the second device becomes a real device that interacts with the source device to establish a real link communication, and the first device becomes the shadow device of the second device.

According to another aspect of an embodiment of the present disclosure, the embodiment of the present disclosure further provides a wireless communication device. The wireless communication device described in the embodiment mainly refers to the second device that may be switched into the state of the shadow device in the above wireless communication method. The embodiment of the present disclosure is implemented as follows, the wireless communication device includes an obtaining device, a switching device, and an interaction device. The obtaining device is configured to obtain link information of a first communication link established between a source device and a first device, the switching device is configured to switch a second device into a shadow device of the first device according to the link information of the first communication link, and the interaction device is configured to interact with the first device through the first communication link. Further features, not mentioned in the foregoing, are required by the claimed invention.

Specifically, a first communication link is established between the source device and the first device in an external communication network, and communication data may be sent between the source device and the first device. For example, after the communication link is established between the first device and the source device, the first device is able to receive audio data, voice data, and other data sent by the source device. When the wireless communication device in the embodiment of the present disclosure needs to join the communication network with the first device and the source device, the link information of the first communication link is obtained by the obtaining device, the switching device switches its own state into the shadow device of the first device according to the link information of the first communication link, the interaction device enables the wireless communication device to interact with the first device through the first communication link. The shadow device is relative to the first device, that is, the wireless communication device has two states or forms at different times. The obtaining device obtains the communication link information parameter set(s) of the first communication link established by the source device and the first device, the interaction device interacts the communication data in the first communication link, so as to realize that the first device is able to interact with the wireless communication device as the shadow device. After the obtaining device obtains the communication link information parameter set(s) of the first communication link, and then the switching device switches itself as the shadow device to pretend to be same as the first device, and the interaction device monitors the communication data in the first communication link, so that data of interaction information that the first device needs to interact with the wireless communication device can also be obtained, so as to implement information interaction between the wireless communication device and the first device.

The embodiments of the present disclosure also provides an optional embodiment, on a basis of the above embodiment, the wireless communication device further includes a monitoring device, configured to obtain communication data and interact with the first device when the first device sends the communication data to the source device, the communication data is interaction data in a specific format in the first communication link, and the interaction data in the specific format is information that needs to be interacted between the first device and the second device.

Specifically, when the first device wants to perform data interaction with the the wireless communication device provided by the embodiment of the present disclosure, data transmission is not directly performed, but the first device sends the communication data to the source device through the first communication link, the wireless communication device monitors the communication data of sent by the first device to the source device as the state of the shadow device, in this way, the interaction of the first device to transmit the communication data to the wireless communication device is completed. As shown in <FIG>, the wireless communication device (the second device in the <FIG>) enters a specific discovery mode, and uses a specific access code to access the first communication link. The obtaining device obtains the link information between the source device and the first device through the specific discovery mode, the first device enters the specific discovery mode through external event triggering, a preset key or a predetermined instruction etc., and at this time, the switching device changes the wireless communication device itself to the shadow device of the first device, so as to monitor transmission data between the first device and the source device.

The embodiments of the present disclosure related to a part of the wireless communication device have been described in detail in the above method flow, and details are not described again.

Claim 1:
A wireless communication method, comprising:
S101: establishing a first communication link between a source device and a first device; and the method further comprises the following steps
S102: obtaining link information of the first communication link by a second device, and switching the second device into a shadow device of the first device so as the second device is able to monitor communication data in the first communication link between the first device and the source device to obtain interaction data that the first device needs to transmit to the second device; and
S103: interacting the second device with the first device through the first communication link by obtaining the interaction data that the first device needs to transmit to the second device through the first communication link,
wherein the step of obtaining link information of the first communication link by a second device comprises:
entering the second device into a specific discovery mode, and accessing the first communication link through a specific access code of the specific discovery mode, wherein the specific access code is an identification number or an identification code pre-agreed between the second device and the first device, and is used for realizing agreed interaction between the second device and the first device; the specific discovery mode is a search and scanning access method using the specific access code; the link information of the first communication link is the communication link information parameter set(s) of the first communication link established by the source device and the first device.