CN106850723B - Bluetooth and WiFi P2P coexisting communication method and device and terminal equipment - Google Patents

Bluetooth and WiFi P2P coexisting communication method and device and terminal equipment Download PDF

Info

Publication number
CN106850723B
CN106850723B CN201510894247.7A CN201510894247A CN106850723B CN 106850723 B CN106850723 B CN 106850723B CN 201510894247 A CN201510894247 A CN 201510894247A CN 106850723 B CN106850723 B CN 106850723B
Authority
CN
China
Prior art keywords
bluetooth
wifi
time
scheduling
terminal
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
Application number
CN201510894247.7A
Other languages
Chinese (zh)
Other versions
CN106850723A (en
Inventor
杨玄
朱渝林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN201510894247.7A priority Critical patent/CN106850723B/en
Publication of CN106850723A publication Critical patent/CN106850723A/en
Application granted granted Critical
Publication of CN106850723B publication Critical patent/CN106850723B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/12Wireless traffic scheduling
    • H04W72/1215Wireless traffic scheduling for collaboration of different radio technologies

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A communication method, a device and a terminal device for coexistence of Bluetooth and WiFi P2P, wherein the method is used for a terminal for sharing RF with WiFi P2P, and comprises the following steps: when the Bluetooth connection is established and the WiFi P2P is not associated, acquiring an operation clock of the Bluetooth master device; performing RF scheduling between Bluetooth and WiFi P2P according to a set time slice distribution based on an operation clock of the Bluetooth master device so as to synchronize the RF switching time sequence of the terminal and other terminals coupled with the terminal; when the WiFi P2P is associated, acquiring a running clock of the P2P master device; and performing RF scheduling between the Bluetooth terminal and the WiFi P2P according to set time slice distribution based on the running clock of the P2P master device so as to enable the RF switching time sequence of the terminal and other terminals coupled with the terminal to be consistent. The scheme can enable the terminal and other terminals to perform normal P2P association and data transmission.

Description

Bluetooth and WiFi P2P coexisting communication method and device and terminal equipment
Technical Field
The invention relates to the technical field of communication, in particular to a communication method and device with coexistence of Bluetooth and WiFi P2P, and terminal equipment.
Background
With the development of communication technology, most terminal devices currently support both Bluetooth (BT) and WiFi peer-to-peer functions, BT being a wireless technology standard, and can implement short-distance data exchange between fixed devices, mobile devices and personal area networks. WiFi Peer-to-Peer (P2P) is a P2P technology defined by WFA in the P2P protocol document. The WiFi P2P enables a plurality of Wi-Fi devices to form a network and communicate with each other without accessing an Access Point (AP).
In a practical application scenario, when bluetooth and WiFi P2P (also referred to as P2P for short herein) coexist and two terminal devices sharing RF between bluetooth and P2P use bluetooth to transmit data to each other, a situation often occurs in which one terminal device P2P is not associated with another terminal device or data transmission failure occurs while associating another terminal device with another terminal device.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a communication method, a device and a terminal device for coexistence of Bluetooth and WiFi P2P, so that normal communication can be carried out by using P2P when data are mutually transmitted by Bluetooth between mobile phones with coexistence of Bluetooth and P2P.
To solve the above technical problem, an embodiment of the present invention provides a bluetooth and WiFi P2P coexisting communication method, for a terminal in which bluetooth and WiFi P2P share RF, the method including:
when the Bluetooth connection is established and the WiFi P2P is not associated, acquiring an operation clock of the Bluetooth master device;
performing RF scheduling between Bluetooth and WiFi P2P according to a set time slice distribution based on an operation clock of the Bluetooth master device so as to synchronize the RF switching time sequence of the terminal and other terminals coupled with the terminal;
when the WiFi P2P is associated, acquiring a running clock of the WiFi P2P master device;
and performing RF scheduling between the Bluetooth and the WiFi P2P according to set time slice distribution based on the running clock of the WiFi P2P master device so as to enable the RF switching time sequence of the terminal and other terminals coupled with the terminal to be consistent.
Optionally, the performing RF scheduling according to a set time slice allocation between bluetooth and WiFi P2P based on the running clock of the bluetooth master device includes:
performing modulus operation on the running clock of the Bluetooth master equipment, wherein the divisor is the distribution period of RF;
and when the result obtained by the modulus operation is 0, performing RF scheduling according to the set time slice distribution.
Optionally, the performing RF scheduling between bluetooth and WiFi P2P according to a set time slice allocation based on the running clock of the WiFi P2P master device includes:
determining beacon frame receiving/transmitting time based on the operation clock of the WiFi P2P master device;
and according to the receiving/sending time of the beacon frame, performing RF scheduling between Bluetooth and WiFi P2P according to the set time slice.
Optionally, the performing RF scheduling according to the set time slice between bluetooth and WiFi P2P according to the beacon frame transceiving time includes:
judging whether the current time is separated from the next beacon frame receiving/sending time by a fixed time, wherein the fixed time is more than or equal to the switching time of Bluetooth and WiFi P2P;
and when the current time is separated from the next beacon frame receiving/sending time by the fixed time, performing RF scheduling according to the set time slice distribution.
Optionally, the set time slice allocation is determined as follows:
the use time of the RF is divided into Bluetooth time slices and WiFiP2P time slices in a time division multiplexing mode in the distribution period of the RF.
Optionally, the bluetooth time slice is contiguous with the WiFi P2P time slice.
Optionally, before acquiring the running clock of the bluetooth master device, the terminal and the other terminal are transmitting data using bluetooth.
The embodiment of the invention also provides a communication device with coexisting Bluetooth and WiFi P2P, which is used for a terminal with the Bluetooth and the WiFi P2P sharing RF, and the device comprises:
the Bluetooth master clock acquisition unit is suitable for acquiring the running clock of the Bluetooth master device when the Bluetooth connection is established and the WiFi P2P is not associated;
a first scheduling unit, adapted to perform RF scheduling between bluetooth and WiFi P2P according to a set time slice allocation based on an operation clock of the bluetooth master device, so as to synchronize RF switching timing of the terminal and other terminals coupled thereto;
a P2P master device running clock acquiring unit adapted to acquire a running clock of a WiFi P2P master device employed for WiFi P2P connection when the WiFi P2P has been associated;
and the second scheduling unit is suitable for performing RF scheduling between the Bluetooth and the WiFi P2P according to set time slice distribution based on the running clock of the WiFi P2P master device so as to enable the RF switching time sequences of the terminal and other terminals coupled with the terminal to be consistent.
Optionally, the first scheduling unit includes:
the modulus operation unit is suitable for performing modulus operation on the running clock of the Bluetooth master equipment, wherein the divisor is the distribution period of RF;
and the first scheduling subunit is suitable for performing RF scheduling according to the set time slice allocation when the result obtained by the modulus operation is 0.
Optionally, the second scheduling unit includes:
a beacon frame transceiving time determining subunit adapted to determine a beacon frame transceiving time based on an operation clock of the WiFi P2P master device;
and the second scheduling subunit is suitable for performing RF scheduling between Bluetooth and WiFi P2P according to the beacon frame transceiving time according to the set time slice.
Optionally, the second scheduling subunit includes:
the judging module is suitable for judging whether the current moment is separated from the next beacon frame receiving/transmitting moment by a fixed time, and the fixed time is more than or equal to the switching time of Bluetooth and WiFi P2P;
and the second scheduling submodule is suitable for performing RF scheduling according to the allocation of the set time slice when the current time is separated from the receiving/transmitting time of the next beacon frame by a fixed time.
Optionally, the set time slice allocation is determined as follows:
the use time of the RF is divided into Bluetooth time slices and WiFiP2P time slices in a time division multiplexing mode in the distribution period of the RF.
Optionally, the bluetooth time slice is contiguous with the WiFi P2P time slice.
Optionally, the terminal and the other terminal are transmitting data using bluetooth before acquiring the running clock of the bluetooth master device.
The embodiment of the invention also provides terminal equipment, which comprises the communication device with the coexistence of the Bluetooth and the P2P.
Compared with the prior art, the technical scheme of the embodiment of the invention has the following beneficial effects:
according to the technical scheme of the embodiment of the invention, when the Bluetooth connection is established and the WiFi P2P is not associated, the RF scheduling is carried out according to the set time slice distribution based on the operation clock of the Bluetooth master equipment, so that the RF switching time sequences of the terminal and other terminals establishing the Bluetooth with the terminal are synchronous, when the WiFi P2P is associated, the RF scheduling is carried out according to the set time slice distribution based on the operation clock of the P2P master equipment, so that the RF switching time sequences of the terminal and other terminals coupled with the terminal and coexisting with the Bluetooth and the P2P are consistent, and the normal P2P association and data transmission can be carried out between the terminal and the other terminals.
Drawings
Fig. 1 is a schematic diagram of RF switching timing of two terminals with bluetooth and WiFi P2P coexisting in the prior art;
fig. 2 is a flowchart of a communication method of bluetooth and WiFi P2P coexistence according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of the RF switching timing of two terminals according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a communication device in which bluetooth and WiFi P2P coexist in an embodiment of the present invention.
Detailed Description
As described in the background, when bluetooth and WiFi P2P coexist and bluetooth connection and file transfer between two terminal devices sharing RF between bluetooth and P2P are performed, a situation in which one terminal device P2P does not associate with another terminal device or data transfer failure occurs while associating with another terminal device often occurs.
The researchers of this application found that in the implementation scheme of sharing RF between bluetooth and P2P, RF is distributed in a fixed period, and each terminal switches RF according to its own timing sequence, although the RF distribution period of two terminals is the same, the time slices for distributing bluetooth and P2P are the same, and the sequence for distributing RF to bluetooth and P2P is the same, the switching timing sequences of RF of two terminals are different, and it is the problem that P2P is not associated or data transmission fails in P2P association due to the different switching timing sequences of RF of two terminals.
Referring to fig. 1, fig. 1 is a schematic diagram of an RF switching timing sequence of two terminals with bluetooth and WiFi P2P coexisting in the prior art, in fig. 1, bluetooth refers to a bluetooth time slice, P2P refers to a P2P time slice, and both terminals adopt the same RF distribution manner: the time slices allocated to bluetooth by RF and the time slices of P2P total 50ms, so the fixed period of RF allocation is 50ms, the bluetooth time slices and the P2P time slices are both 25ms, and the fixed sequence of allocation is bluetooth first and P2P second.
However, the two terminals schedule the RF randomly, which means that the starting time of the RF scheduling is random, when BT and P2P coexist, the starting time of the RF scheduling is two states of entering a P2P working state or exiting a P2P sleep state, the two states have difference in the two terminals, which results in the random starting time of the RF scheduling, the subsequent RF scheduling timing is inconsistent, and the bluetooth and P2P coexist and adopt a CTS-to-self protection mechanism, when the RF is switched to P2P, P2P does not care whether the opposite terminal RF is switched to P2P to start to transmit the data packet, which results in a large amount of data transmission failure. It should be noted that the CTS-to-self protection mechanism can be understood by those skilled in the art, and will not be described in detail.
The embodiment of the invention provides a technical scheme, which enables the RF switching time sequences of different terminals transmitting data by Bluetooth to be the same, and the technical scheme is that when the Bluetooth connection is established and WiFi P2P is not associated, RF scheduling is carried out according to set time slice distribution based on the operation clock of a Bluetooth master device, so that the RF switching time sequences of the terminals and other terminals establishing Bluetooth with the terminals are synchronous, when WiFi P2P is associated, RF scheduling is carried out according to the set time slice distribution based on the operation clock of a P2P master device, so that the RF switching time sequences of the terminals and other terminals coupled with the terminals and coexisting with the Bluetooth and the P2P are consistent, and normal P2P association and data transmission can be carried out between the terminals and the other terminals.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
Fig. 2 is a flowchart of a communication method for coexistence of bluetooth and WiFi P2P in an embodiment of the present invention.
Referring to fig. 2, the bluetooth and P2P coexisting communication method may include the following steps:
step S201: when a bluetooth connection is established and the WiFi P2P is not associated, the running clock of the bluetooth master device is acquired.
When the terminal equipment establishes Bluetooth connection with other terminal equipment, the Bluetooth equipment forms a Picnet (PICONET), and the main clock of the Picnet is the actual operation clock of the Bluetooth main equipment.
In a specific implementation, before acquiring the running clock of the bluetooth master device, the terminal device and the other terminals are transmitting data using bluetooth.
Step S202: and performing RF scheduling according to set time slice distribution between the Bluetooth and the WiFi P2P based on the running clock of the Bluetooth master device so as to synchronize the RF switching time sequence of the terminal and other terminals coupled with the terminal.
In a specific implementation, a modulus operation may be performed on the operation clock of the bluetooth master device, where a divisor is an RF distribution period, and when a result obtained by the modulus operation is 0, RF scheduling is performed according to the set time slice distribution.
For example, the first terminal device and the second terminal device are using bluetooth to transmit data, and P2P of the first terminal device and the second terminal device are not related, and the allocation period of RF is 25ms for both bluetooth and P2P, so that the first terminal device and the second terminal device perform modulo 50 operation on the running clock of the bluetooth master device, and perform RF scheduling according to the allocation of the set slots, i.e., 25ms for bluetooth slot and 25ms for P2P slot, at the time when the modulo operation result is 0, so that the RF scheduling timings of the first terminal device and the second terminal device are the same, as shown in fig. 3, where bluetooth is a bluetooth slot, and P2P is a P2P slot.
Step S203: when the WiFi P2P has been associated, the running clock of the WiFi P2P master device is acquired.
In a specific implementation, before P2P association, each terminal device operates according to a respective Timing Synchronization Function (TSF) clock, and when P2P is associated, acquires the TSF clock of a P2P master device, where the P2P master device is referred to herein as the role go (group owner) of P2P.
Step S204: and performing RF scheduling between the Bluetooth and the WiFi P2P according to set time slice distribution based on the running clock of the WiFi P2P master device so as to enable the RF switching time sequence of the terminal and other terminals coupled with the terminal to be consistent.
In particular implementations, to ensure that beacon (beacon) frames are received at the TBTT time, the TSF of P2P needs to be reused for synchronization.
In a specific implementation, a Beacon frame Transmission Time (TBTT) may be determined based on the TSF clock of the WiFi P2P master device, and according to the Beacon frame Transmission Time, RF scheduling is performed between bluetooth and WiFi P2P according to the set Time slice allocation, where the set Time slice allocation specifically allocates bluetooth and P2P Time slices, and may be set as needed, and the TBTT Time is a Time when the TSF clock of the WiFi P2P master device modulo a Beacon frame Transmission/reception Time interval to zero.
In a specific implementation, to further ensure that the beacon frame is received, the timing of synchronizing P2P may be advanced, so that the synchronization timing is advanced with respect to the transceiving timing of the beacon frame. Specifically, a fixed time may be preset, where the fixed time is greater than or equal to the switching time between bluetooth and P2P, and it is determined whether the current time is separated from the next beacon frame receiving/transmitting time by the fixed time, and when the current time is separated from the next beacon frame receiving/transmitting time by the fixed time, RF scheduling is performed according to the set time slice allocation.
In a specific implementation, the set time slice allocation may be determined as follows: dividing the RF use time into a Bluetooth time slice and a WiFi P2P time slice in a time division multiplexing mode in the RF distribution period, wherein the Bluetooth time slice is continuous with the WiFi P2P time slice.
For example, the allocation period of the RF is 50ms, and the usage time of the RF is divided into bluetooth time slices and WiFi P2P time slices in a time division multiplexing manner within 50 ms.
In the embodiment, when the bluetooth connection is established and the WiFi P2P is not associated, the RF scheduling is performed according to the set time slice allocation based on the operation clock of the bluetooth master device, so that the RF switching timings of the terminal and other terminals with which the bluetooth is established are synchronized, and when the WiFi P2P is associated, the RF scheduling is performed according to the set time slice allocation based on the operation clock of the WiFi P2P master device, so that the RF switching timings of the terminal and other terminals with which the bluetooth and WiFi P2P coupled coexist are consistent, and thus the normal WiFi P2P association and data transmission can be performed between the terminal and other terminals.
Fig. 4 is a communication device with coexisting bluetooth and WiFi P2P in an embodiment of the present invention, such as the communication device 40 with coexisting bluetooth and P2P shown in fig. 4, which may include: the bluetooth master clock acquisition unit 401, the first scheduling unit 402, the P2P master device run clock acquisition unit 403, and the second scheduling unit 404.
Wherein:
the bluetooth master clock acquiring unit 401 is adapted to acquire an operation clock of the bluetooth master device when a bluetooth connection is established and the WiFi P2P is not associated;
the first scheduling unit 402 is adapted to perform RF scheduling between bluetooth and WiFi P2P according to a set time slice allocation based on an operation clock of the bluetooth master device, so as to synchronize RF switching timing of the terminal and other terminals coupled thereto;
the P2P master device running clock acquiring unit 403 is adapted to acquire a running clock of the WiFi P2P master device adopted for WiFi P2P connection when the WiFi P2P is associated;
the second scheduling unit 404 is adapted to perform RF scheduling between bluetooth and WiFi P2P according to a set time slice allocation based on the running clock of the P2P master device, so as to make the RF switching timing of the terminal and other terminals coupled thereto coincide.
In a specific implementation, before acquiring the running clock of the bluetooth master device, the terminal device and the other terminals are transmitting data using bluetooth.
In a specific implementation, the first scheduling unit 402 includes:
the modulus operation unit is suitable for performing modulus operation on the running clock of the Bluetooth master equipment, wherein the distribution period of the RF is divided;
and the first scheduling subunit is suitable for performing RF scheduling according to the set time slice allocation when the result obtained by the modulus operation is 0.
In a specific implementation, the second scheduling unit 404 includes:
a beacon frame transceiving time determining subunit adapted to determine a beacon frame transceiving time based on an operation clock of the WiFi P2P master device;
and the second scheduling subunit is suitable for performing RF scheduling between Bluetooth and WiFi P2P according to the beacon frame transceiving time according to the set time slice.
In a specific implementation, the second scheduling subunit may include:
the judging module is suitable for judging whether a fixed time is separated from the next beacon frame receiving/sending time at the current time, wherein the fixed time is more than or equal to the switching time of Bluetooth and WiFi P2P;
and the second scheduling submodule is suitable for performing RF scheduling according to the allocation of set time slices when the current time is separated from the next beacon frame receiving/transmitting time by a fixed time.
In a specific implementation, the set time slice allocation is determined as follows: the use time of the RF is divided into Bluetooth time slices and WiFi P2P time slices in a time division multiplexing mode in the distribution period of the RF.
In an implementation, the bluetooth time slice is contiguous with the P2P time slice.
In the embodiment, when the bluetooth connection is established and the WiFi P2P is not associated, the RF scheduling is performed according to the set time slice allocation based on the operation clock of the bluetooth master device, so that the RF switching timing of the terminal and other terminals with which the bluetooth is established are synchronized, and when the WiFi P2P is associated, the RF scheduling is performed according to the set time slice allocation based on the operation clock of the P2P master device, so that the RF switching timing of the terminal and other terminals with which the bluetooth and P2P coupled coexist are consistent, and thus the normal P2P association and data transmission can be performed between the terminal and other terminals.
The embodiment of the present invention further provides a terminal device, where the terminal device adopts the communication apparatus 40 shown in fig. 4 where bluetooth and wifi 2P coexist.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer-readable storage medium, and the storage medium may include: ROM, RAM, magnetic or optical disks, and the like.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (13)

1. A communication method for coexistence of bluetooth and WiFi P2P for a terminal that bluetooth shares RF with WiFi P2P, comprising:
when the Bluetooth connection is established and the WiFi P2P is not associated, acquiring an operation clock of the Bluetooth master device;
performing RF scheduling between Bluetooth and WiFi P2P according to a set time slice distribution based on an operation clock of the Bluetooth master device so as to synchronize the RF switching time sequence of the terminal and other terminals coupled with the terminal;
when the WiFi P2P is associated, acquiring a running clock of the WiFi P2P master device;
performing RF scheduling between Bluetooth and WiFi P2P according to set time slice distribution based on the running clock of the WiFi P2P master device so as to enable the RF switching time sequence of the terminal and other terminals coupled with the terminal to be consistent;
wherein, the performing RF scheduling according to the allocation of the set time slice between bluetooth and WiFi P2P based on the running clock of the bluetooth master device includes:
performing modulus operation on the running clock of the Bluetooth master equipment, wherein the divisor is the distribution period of RF;
and when the result obtained by the modulus operation is 0, performing RF scheduling according to the set time slice distribution.
2. The method of claim 1, wherein the performing RF scheduling between bluetooth and WiFi P2P according to a set time slice allocation based on the running clock of the WiFi P2P master device comprises:
determining beacon frame receiving/transmitting time based on the operation clock of the WiFi P2P master device;
and according to the receiving/sending time of the beacon frame, performing RF scheduling between Bluetooth and WiFi P2P according to the set time slice.
3. The method of claim 2, wherein the performing RF scheduling between Bluetooth and WiFi P2P in the predetermined time slice according to the beacon frame transceiving time comprises:
judging whether the current time is separated from the next beacon frame receiving/sending time by a fixed time, wherein the fixed time is more than or equal to the switching time of Bluetooth and WiFi P2P;
and when the current time is separated from the next beacon frame receiving/sending time by the fixed time, performing RF scheduling according to the set time slice distribution.
4. The method of any of claims 1-3, wherein the allocation of the set time slices is determined by:
the use time of the RF is divided into Bluetooth time slices and WiFi P2P time slices in a time division multiplexing mode in the distribution period of the RF.
5. The method of claim 4, wherein the Bluetooth and WiFi P2P time slices are contiguous with the WiFi P2P time slices.
6. The bluetooth and WiFi P2P coexisting communication method according to any one of claims 1-3, wherein the terminal and the other terminal are transmitting data using bluetooth before acquiring the running clock of the bluetooth master device.
7. A bluetooth and WiFi P2P coexisting communication device for a bluetooth RF sharing terminal with a WiFi P2P, comprising:
the Bluetooth master clock acquisition unit is suitable for acquiring the running clock of the Bluetooth master device when the Bluetooth connection is established and the WiFi P2P is not associated;
a first scheduling unit, adapted to perform RF scheduling between bluetooth and WiFi P2P according to a set time slice allocation based on an operation clock of the bluetooth master device, so as to synchronize RF switching timing of the terminal and other terminals coupled thereto;
a P2P master device running clock acquiring unit adapted to acquire a running clock of a WiFi P2P master device employed for WiFi P2P connection when the WiFi P2P has been associated;
a second scheduling unit adapted to perform RF scheduling between bluetooth and WiFi P2P in a set time slice allocation based on an operation clock of the WiFi P2P master device so as to coincide RF switching timings of the terminal and other terminals coupled thereto;
wherein the first scheduling unit includes:
the modulus operation unit is suitable for performing modulus operation on the running clock of the Bluetooth master equipment, wherein the divisor is the distribution period of RF;
and the first scheduling subunit is suitable for performing RF scheduling according to the set time slice allocation when the result obtained by the modulus operation is 0.
8. The bluetooth and WiFi P2P coexisting communication device according to claim 7, wherein the second scheduling unit comprises:
a beacon frame transceiving time determining subunit adapted to determine a beacon frame transceiving time based on an operation clock of the WiFi P2P master device;
and the second scheduling subunit is suitable for performing RF scheduling between Bluetooth and WiFi P2P according to the beacon frame transceiving time according to the set time slice.
9. The bluetooth and WiFi P2P coexisting communication device according to claim 8, wherein the second scheduling subunit comprises:
the judging module is suitable for judging whether the current moment is separated from the next beacon frame receiving/transmitting moment by a fixed time, and the fixed time is more than or equal to the switching time of Bluetooth and WiFi P2P;
and the second scheduling submodule is suitable for performing RF scheduling according to the allocation of the set time slice when the current time is separated from the receiving/transmitting time of the next beacon frame by a fixed time.
10. The bluetooth and WiFi P2P coexisting communication device according to any of claims 7-9, wherein the configured time slice allocation is determined by:
the use time of the RF is divided into Bluetooth time slices and WiFi P2P time slices in a time division multiplexing mode in the distribution period of the RF.
11. The bluetooth and WiFi P2P coexisting communication device according to claim 10, wherein the bluetooth slots are consecutive with the WiFi P2P slots.
12. The bluetooth and WiFi P2P coexisting communication device according to any of claims 7-9, wherein the terminal and the other terminal are transmitting data using bluetooth before acquiring the running clock of the bluetooth master device.
13. A terminal device comprising the bluetooth and WiFi P2P coexisting communications apparatus according to any one of claims 7-12.
CN201510894247.7A 2015-12-07 2015-12-07 Bluetooth and WiFi P2P coexisting communication method and device and terminal equipment Active CN106850723B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510894247.7A CN106850723B (en) 2015-12-07 2015-12-07 Bluetooth and WiFi P2P coexisting communication method and device and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510894247.7A CN106850723B (en) 2015-12-07 2015-12-07 Bluetooth and WiFi P2P coexisting communication method and device and terminal equipment

Publications (2)

Publication Number Publication Date
CN106850723A CN106850723A (en) 2017-06-13
CN106850723B true CN106850723B (en) 2020-02-11

Family

ID=59152044

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510894247.7A Active CN106850723B (en) 2015-12-07 2015-12-07 Bluetooth and WiFi P2P coexisting communication method and device and terminal equipment

Country Status (1)

Country Link
CN (1) CN106850723B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107071070A (en) * 2017-06-15 2017-08-18 北京号码生活网络科技有限公司 A kind of P2P mobile communication networks based on shared radio frequency resource
JP6702916B2 (en) * 2017-07-04 2020-06-03 キヤノン株式会社 Communication device, external device, communication device control method, external device control method, and program
CN109392177B (en) * 2018-04-27 2022-03-01 展讯通信(上海)有限公司 WiFi and Bluetooth coexistence scheduling method and device and mobile terminal
CN109673044A (en) * 2018-12-28 2019-04-23 江苏惠通集团有限责任公司 Communication control method, chip, the gateway apparatus of chip
CN111867148B (en) * 2019-04-30 2024-08-06 青岛海信移动通信技术有限公司 Method and device for establishing device connection and data transmission
CN113873626A (en) * 2021-09-27 2021-12-31 歌尔科技有限公司 Method, device and medium for transmitting data
CN114007211B (en) * 2021-12-30 2022-03-08 成都市安比科技有限公司 Multi-connection scheduling method for wireless Bluetooth audio system
WO2023206890A1 (en) * 2022-04-24 2023-11-02 华为技术有限公司 Data transmission method, apparatus and system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101646245A (en) * 2008-06-16 2010-02-10 美国博通公司 Method and system for bluetooth and wimax coexistence
US8730935B2 (en) * 2008-08-19 2014-05-20 Broadcom Corporation Method and system for bluetooth connection setup in a multi-standard multi-radio communication system
US8412263B2 (en) * 2008-12-04 2013-04-02 Intel Corporation Coexistence interface for multiple radio modules using a reduced number of connections
CN106411350A (en) * 2010-06-18 2017-02-15 联发科技股份有限公司 System and method for coordinating multiple radio transceivers
US20120155437A1 (en) * 2010-12-16 2012-06-21 Richard Lee-Chee Kuo Method and apparatus for avoiding in-device coexistence interference in a wireless communication system
US9860754B2 (en) * 2014-02-19 2018-01-02 Mediatek Inc. Coexistence operation method and related wireless system
CN104661229A (en) * 2015-02-04 2015-05-27 广东顺德中山大学卡内基梅隆大学国际联合研究院 Method for reducing mutual interference during working of Bluetooth and Wi-Fi

Also Published As

Publication number Publication date
CN106850723A (en) 2017-06-13

Similar Documents

Publication Publication Date Title
CN106850723B (en) Bluetooth and WiFi P2P coexisting communication method and device and terminal equipment
AU2014290696B2 (en) LTE channel access over unlicensed bands
EP2728764B1 (en) Synchronous access method, and communication device and system in frequency hopping radio communication
US10172146B2 (en) Wi-Fi and bluetooth coexistence
EP2705703B1 (en) Methods and apparatus for timing synchronization for peer to peer devices operating in wwan spectrum
US20180054804A1 (en) Resource Processing Method and Device
US9788351B2 (en) Establishing a bluetooth classic connection using an existing bluetooth low energy connection
CN102740444B (en) Initialization is from the method for community, subscriber equipment and base station in a cellular communication system
WO2014111868A2 (en) Network-assisted ue detection in direct mode ue-to-ue communication
WO2022152003A1 (en) Method and apparatus for data transmission in inactive state
US10575268B2 (en) NAN solicited synchronization
KR101991347B1 (en) Device-to-device communication method and apparatus
KR101692661B1 (en) Slot-based d2d communication method and apparatus
WO2019201222A1 (en) Data channel transmission method and apparatus, and data channel receiving method and apparatus
JP7174859B2 (en) Random access method, device and system
JP2023081964A (en) Method, transmitting device, and receiving device
US10397767B2 (en) NAN further availability schedule indications
CN103813437A (en) Mobile wireless ad hoc network clock synchronization method based on time domain narrow pulse
US11109216B2 (en) Operation optimization for trigger-based instant communication
CN111836372B (en) Communication method and device
KR20120048978A (en) Synchronization method of mobile terminals in ad-hoc network
CN103491547B (en) A kind of frequency spectrum switching method based on cognitive radio system and equipment
CN102696255A (en) Method and device for frequency spectrum share in different wireless communication systems
US20170164313A1 (en) Method and System for Realizing D2D Communication Synchronization, and Base Station
CN110234135B (en) Method and device for data transmission by using single radio frequency and user equipment

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