Dual-mode device and method for achieving the simultaneous communication therein
First Claim
1. A method for achieving the simultaneous communication in a dual-mode device, wherein the dual-mode device has a dual-mode protocol stack scheduling mechanism and uniformly schedules transmission events of a Bluetooth protocol stack and a ZigBee protocol stack, the method comprising:
- the dual-mode device conducting Bluetooth connection maintenance according to a preset interval and processing information exchange with the ZigBee target device at each Bluetooth connection interval after the dual-mode device completes matching with a Bluetooth host as a slave and matching with a ZigBee target device as a control device,wherein the dual-mode device periodically exchanges data with the Bluetooth host device during the Bluetooth low power consumption connection maintenance period so as to flexibly schedule timing for receiving and sending the ZigBee datawherein the dual-mode device, in the step of sending data to or receiving data from the ZigBee target device at each Bluetooth connection interval, receives a request for sending or receiving the ZigBee data from an application layer;
after receiving the request for sending or receiving the ZigBee data from the application layer, the method comprising;
starting the ZigBee transmission immediately if the dual-mode device determines that there is enough time to complete the ZigBee transmission; and
starting the ZigBee transmission after a next Bluetooth maintenance connection if the dual-mode device determines that there is no enough time to complete the ZigBee transmission before the next Bluetooth maintenance connection.
1 Assignment
0 Petitions
Accused Products
Abstract
The present disclosure relates to the electronic communication field and discloses a dual-Mode device and a method for achieving the simultaneous communication therein. The dual-mode device has a dual-mode protocol stack scheduling mechanism and uniformly schedules the transmission event of the Bluetooth protocol stack and the ZigBee protocol stack. The method comprising the following steps: after matching the dual-mode device with a Bluetooth host as a slave and the ZigBee target device as a control device, the dual-mode device conducting the Bluetooth connection maintenance according to preset interval and processing the information exchange with the ZigBee target device at each Bluetooth connection interval. Compared to the prior art, the present disclosure allows the smart devices to support two types of communication protocols, achieves the interaction between the smart devices using the two different wireless standards, and greatly improves the communication efficiency of network with the Bluetooth and ZigBee devices.
8 Citations
5 Claims
-
1. A method for achieving the simultaneous communication in a dual-mode device, wherein the dual-mode device has a dual-mode protocol stack scheduling mechanism and uniformly schedules transmission events of a Bluetooth protocol stack and a ZigBee protocol stack, the method comprising:
-
the dual-mode device conducting Bluetooth connection maintenance according to a preset interval and processing information exchange with the ZigBee target device at each Bluetooth connection interval after the dual-mode device completes matching with a Bluetooth host as a slave and matching with a ZigBee target device as a control device, wherein the dual-mode device periodically exchanges data with the Bluetooth host device during the Bluetooth low power consumption connection maintenance period so as to flexibly schedule timing for receiving and sending the ZigBee data wherein the dual-mode device, in the step of sending data to or receiving data from the ZigBee target device at each Bluetooth connection interval, receives a request for sending or receiving the ZigBee data from an application layer; after receiving the request for sending or receiving the ZigBee data from the application layer, the method comprising; starting the ZigBee transmission immediately if the dual-mode device determines that there is enough time to complete the ZigBee transmission; and starting the ZigBee transmission after a next Bluetooth maintenance connection if the dual-mode device determines that there is no enough time to complete the ZigBee transmission before the next Bluetooth maintenance connection. - View Dependent Claims (2, 3, 4)
-
-
5. A dual-mode device, comprising a dual-mode scheduling module, a protocol stack, a ZigBee protocol stack, a matching module and a communication module, wherein
the dual-mode scheduling module is configured to uniformly schedule transmission events of the Bluetooth protocol stack and the ZigBee protocol stack; -
the matching module is configured to match with a Bluetooth host and a ZigBee target device; the communication module is configured to, after the matching module completes matching with the Bluetooth host and the ZigBee target device, conduct Bluetooth connection maintenance based on scheduling by the dual-mode scheduling module at a preset interval, and process information exchange with the ZigBee target device at each Bluetooth connection interval, wherein the dual-mode scheduling module controls the communication module to periodically exchange data with the Bluetooth host device during a Bluetooth low power consumption connection maintenance period, so as to flexibly schedule timing for receiving and sending the ZigBee data, wherein, after the communication module monitors a connection request of the ZigBee target device, the dual-mode scheduling module determines whether there is enough time to complete the ZigBee transmission before a next Bluetooth maintenance connection, and triggers the communication module to start the ZigBee transmission immediately when determining that there is enough time to complete the ZigBee transmission, and triggers the communication module to start the ZigBee transmission after the next Bluetooth maintenance connection when determining that there is no enough time to complete the ZigBee transmission.
-
Specification