IP Library Granted Patent US 10,172,138
Granted Patent B2
US 10,172,138 · App. 14/733,796 · Granted Jan 1, 2019

Method, apparatus, and storage medium for wireless communication

Inventors: Zhigang Liang (Shenzhen, CN); Wen Zhang (Shenzhen, CN); Xin Wan (Shenzhen, CN); Mingjin Wu (Shenzhen, CN); Lingling Zou (Shenzhen, CN)
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
H04W72/048H04L69/14H04W4/023H04W4/80H04W76/15H04W84/12H04W84/18
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,172,138
App. No.
14/733,796
Granted
Jan 1, 2019
Kind
B2
Abstract

The present disclosure is related to the communication field, and provides method, apparatus, and storage medium for wireless communication. The method includes: establishing a WIFI channel and a Bluetooth channel between communication devices; detecting a communication distance between the communication devices; and transmitting multimedia data between communication devices through the WIFI channel and transmitting a control command between communication devices through the Bluetooth channel when the communication distance between the communication devices is less than or equal to a distance threshold. With the method provided in the present disclosure, a seamless switch between Bluetooth and WIFI can be implemented, respective advantages of Bluetooth and WIFI can be combined, thereby ensuring an unobstructed communication link in a small range wireless communication system, and improving the communication quality.

Claims (71)

1. A wireless communication method, comprising:

establishing a WIFI channel and a Bluetooth channel between a first communication device and a second communication device;

detecting a communication distance between the first communication device and the second communication device; and

transmitting multimedia data between the first communication device and the second communication device through the WIFI channel and transmitting a control command between the first communication device and the second communication device through the Bluetooth channel, when the communication distance between the first communication device and the second communication device is less than or equal to a distance threshold,

wherein the step of transmitting the multimedia data through the WIFI channel when the communication distance is less than or equal to the distance threshold further comprises:

detecting a strength of a WIFI signal when the communication distance between the first communication device and the second communication device is less than or equal to the distance threshold;

directly using, when it is determined according to the strength of the WIFI signal that the WIFI channel is available, the WIFI channel to transmit the multimedia data; and

switching, when it is determined according to the strength of the WIFI signal that the WIFI channel is unavailable, to the Bluetooth channel and transmitting the multimedia data through the Bluetooth channel,

wherein the step of transmitting the control command through the Bluetooth channel when the communication distance between the first communication device and the second communication device is less than or equal to a distance threshold comprises:

detecting a strength of a Bluetooth signal when the communication distance between the first communication device and the second communication device is less than or equal to the distance threshold;

directly using, when it is determined according to the strength of the Bluetooth signal that the Bluetooth channel is available, the Bluetooth channel to transmit the control command; and

switching, when it is determined according to the strength of the Bluetooth signal that the Bluetooth channel is unavailable, to the WIFI channel and transmitting the control command through the WIFI channel by:

adding additional control command that needs to be transmitted to a head of a WIFI transmission queue, and

transmitting data according to the WIFI transmission queue.

2. The method according to claim 1 , wherein the distance threshold is a Bluetooth communication distance.

3. The method according to claim 1 , further comprising:

communicating, by the first communication device and the second communication device, with each other through the WIFI channel when the communication distance between the first communication device and the second communication device is greater than the distance threshold.

4. The method according to claim 3 , wherein the step of communicating comprises:

detecting a strength of a WIFI signal when the communication distance between the first communication device and the second communication device is greater than the distance threshold;

outputting a transmission failure prompt when it is determined according to the strength of the WIFI signal that the WIFI channel is unavailable; and

communicating, by the first communication device and the second communication device, with each other through the WIFI channel when it is determined according to the strength of the WIFI signal that the WIFI channel is available.

5. The method according to claim 1 , wherein the step of switching to the Bluetooth channel and transmitting the multimedia data through the Bluetooth channel when it is determined according to the strength of the WIFI signal that the WIFI channel is unavailable comprises:

adding additional multimedia data that needs to be transmitted to a tail of a Bluetooth transmission queue, and

transmitting the multimedia data according to the Bluetooth transmission queue.

6. A wireless communication apparatus, comprising:

a channel establishing unit, configured to establish a WIFI channel and a Bluetooth channel between a first communication device and a second communication device;

a communication distance detection unit, configured to detect a communication distance between the first communication device and the second communication device; and

a first data transmission unit, configured to transmit multimedia data between the first communication device and the second communication device through the WIFI channel and transmit a control command between the first communication device and the second communication device through the Bluetooth channel, when the communication distance between the first communication device and the second communication device is less than or equal to a distance threshold,

wherein the first data transmission unit further comprises:

a second WIFI signal detection module, configured to detect a strength of a WIFI signal when the communication distance between the first communication device and the second communication device is less than or equal to the distance threshold;

a second WIFI communication module, configured to directly use, when it is determined according to the strength of the WIFI signal that the WIFI channel is available, the WIFI channel to transmit the multimedia data; and

a first Bluetooth communication module, configured to switch, when it is determined according to the strength of the WIFI signal that the WIFI channel is unavailable, to the Bluetooth channel and transmit the multimedia data through the Bluetooth channel,

wherein the first data transmission unit comprises:

a Bluetooth signal detection module, configured to detect a strength of a Bluetooth signal when the communication distance between the first communication device and the second communication device is less than or equal to the distance threshold;

a second Bluetooth communication module, configured to directly use, when it is determined according to the strength of the Bluetooth signal that the Bluetooth channel is available, the Bluetooth channel to transmit the control command; and

a third WIFI communication module, configured to switch, when it is determined according to the strength of the Bluetooth signal that the Bluetooth channel is unavailable, to the WIFI channel and transmit the control command through the WIFI channel,

wherein the third WIFI communication module is further configured to add additional control command that needs to be transmitted to a head of a WIFI transmission queue, and transmit data according to the WIFI transmission queue.

7. The apparatus according to claim 6 , further comprising:

a second data transmission unit, configured to enable the first communication device and the second communication device to communicate with each other through the WIFI channel when the communication distance between the first communication device and the second communication device is greater than the distance threshold.

8. The apparatus according to claim 7 , wherein the second data transmission unit comprises:

a first WIFI signal detection module, configured to detect a strength of a WIFI signal when the communication distance between the first communication device and the second communication device is greater than the distance threshold;

a transmission failure prompt module, configured to output a transmission failure prompt when it is determined according to the strength of the WIFI signal that the WIFI channel is unavailable; and

a first WIFI communication module, configured to enable the first communication device and the second communication device to communicate with each other through the WIFI channel when it is determined according to the strength of the WIFI signal that the WIFI channel is available.

9. The apparatus according to claim 6 , wherein the first Bluetooth communication module is further configured to add additional multimedia data that needs to be transmitted to a tail of a Bluetooth transmission queue, and transmit data according to the Bluetooth transmission queue.

10. A non-transitory computer readable storage medium comprising a computer readable program stored thereon, wherein, when being executed, the computer readable program causes a computer to implement a wireless communication method, the method comprising:

establishing a WIFI channel and a Bluetooth channel between a first communication device and a second communication device;

detecting a communication distance between the first communication device and the second communication device; and

transmitting multimedia data between the first communication device and the second communication device through the WIFI channel and transmitting a control command between the first communication device and the second communication device through the Bluetooth channel, when the communication distance between the first communication device and the second communication device is less than or equal to a distance threshold,

wherein the step of transmitting the multimedia data through the WIFI channel when the communication distance is less than or equal to the distance threshold further comprises:

detecting a strength of a WIFI signal when the communication distance between the first communication device and the second communication device is less than or equal to the distance threshold;

directly using, when it is determined according to the strength of the WIFI signal that the WIFI channel is available, the WIFI channel to transmit the multimedia data; and

switching, when it is determined according to the strength of the WIFI signal that the WIFI channel is unavailable, to the Bluetooth channel and transmitting the multimedia data through the Bluetooth channel,

wherein the step of transmitting the control command through the Bluetooth channel when the communication distance between the first communication device and the second communication device is less than or equal to a distance threshold further comprises:

detecting a strength of a Bluetooth signal when the communication distance between the first communication device and the second communication device is less than or equal to the distance threshold;

directly using, when it is determined according to the strength of the Bluetooth signal that the Bluetooth channel is available, the Bluetooth channel to transmit the control command; and

switching, when it is determined according to the strength of the Bluetooth signal that the Bluetooth channel is unavailable, to the WIFI channel and transmitting the control command through the WIFI channel by:

adding additional control command that needs to be transmitted to a head of a WIFI transmission queue, and

transmitting data according to the WIFI transmission queue.

11. The non-transitory computer readable storage medium according to claim 10 , wherein the step of transmitting comprises:

detecting a strength of a WIFI signal when the communication distance between the first communication device and the second communication device is greater than the distance threshold;

outputting a transmission failure prompt when it is determined according to the strength of the WIFI signal that the WIFI channel is unavailable; and

communicating, by the first communication device and the second communication device, with each other through the WIFI channel when it is determined according to the strength of the WIFI signal that the WIFI channel is available.

12. The non-transitory computer readable storage medium according to claim 10 , wherein the step of switching to the Bluetooth channel and transmitting the multimedia data through the Bluetooth channel when it is determined according to the strength of the WIFI signal that the WIFI channel is unavailable comprises:

adding additional multimedia data that needs to be transmitted to a tail of a Bluetooth transmission queue, and

transmitting the multimedia data according to the Bluetooth transmission queue.

13. The method according to claim 1 , wherein the first communication device is a remote control, and the second communication device is a set-up box.

14. The method according to claim 1 , wherein the detecting a strength of a Bluetooth signal when the communication distance between the communication devices is less than or equal to the distance threshold further comprises:

determining whether a strength of the Bluetooth signal is within a range of a Bluetooth strength threshold;

when it is determined that the strength of the Bluetooth signal is within a range of a Bluetooth strength threshold, determining that the Bluetooth channel is unavailable; and

when it is determined that the strength of the Bluetooth signal is not within the range of the Bluetooth strength threshold, determining that the Bluetooth channel is available,

wherein the range of the Bluetooth strength threshold refers to the strength range of the Bluetooth signal when the Bluetooth channel is unavailable, and the strength of the Bluetooth signal is divided into a plurality of levels.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 9, 2015
From: LIANG, ZHIGANG; ZHANG, WEN; WAN, XIN; WU, MINGJIN; ZOU, LINGLING
To: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Reel/Frame 035871/0936 →
Priority Claims (1)
CN 2012 1 0519192 · Dec 6, 2012 · national
Continuity (2)
Continuation PCTCN2013084829 · Oct 8, 2013
Related Publication 20150271808A1 · Sep 24, 2015