CN108738002B - Bluetooth Scatternet scheduling method - Google Patents

Bluetooth Scatternet scheduling method Download PDF

Info

Publication number
CN108738002B
CN108738002B CN201810374591.7A CN201810374591A CN108738002B CN 108738002 B CN108738002 B CN 108738002B CN 201810374591 A CN201810374591 A CN 201810374591A CN 108738002 B CN108738002 B CN 108738002B
Authority
CN
China
Prior art keywords
bluetooth
piconet
bluetooth device
priority
user
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
CN201810374591.7A
Other languages
Chinese (zh)
Other versions
CN108738002A (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.)
Chengdu Thunder Software Technology Co ltd
Original Assignee
Chengdu Thunder Software Technology 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 Chengdu Thunder Software Technology Co ltd filed Critical Chengdu Thunder Software Technology Co ltd
Priority to CN201810374591.7A priority Critical patent/CN108738002B/en
Publication of CN108738002A publication Critical patent/CN108738002A/en
Application granted granted Critical
Publication of CN108738002B publication Critical patent/CN108738002B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/50Allocation or scheduling criteria for wireless resources
    • H04W72/56Allocation or scheduling criteria for wireless resources based on priority criteria
    • H04W72/566Allocation or scheduling criteria for wireless resources based on priority criteria of the information or information source or recipient
    • H04W72/569Allocation or scheduling criteria for wireless resources based on priority criteria of the information or information source or recipient of the traffic information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks

Abstract

The invention discloses a Bluetooth Scatternet scheduling method, which is characterized in that after setting a profile scene of a Bluetooth device in a Piconet participating in the Bluetooth device, the priority level of the Bluetooth device for performing the profile scene in each Piconet participating in the Bluetooth device is also set, and the priority level of a process initiated by a Bluetooth device processing user is set to be at least higher than the priority level of the Bluetooth device for performing the profile scene in one Piconet participating in the Bluetooth device. After receiving the process initiated by the user, the Bluetooth device firstly judges the priority of the process initiated by the user in the next Piconet and the priority of the process initiated by the user processed by the Bluetooth device before switching the Piconet to perform the process scene each time, if the priority of the process initiated by the user is higher, the process initiated by the user is processed, otherwise, the Bluetooth device is switched to the next Piconet to perform the process scene. Therefore, the invention can improve the efficiency of Bluetooth device pairing and connection among piconets in the scatternet, thereby improving the satisfaction degree of users.

Description

Bluetooth Scatternet scheduling method
Technical Field
The invention relates to the technical field of Bluetooth communication, in particular to a Bluetooth Scatternet scheduling method.
Background
Currently, Piconet refers to a micro network that uses bluetooth technology to form bluetooth devices in a small area. Meanwhile, a plurality of Piconets can be interconnected to form a scattering network (Scatternet). The piconet is established by connecting a bluetooth device as a master device to a plurality of other bluetooth devices as slave devices, and is formed by 8 bluetooth devices at most. In a piconet, only one pair of bluetooth devices works at the same time, if the inquiry, page, inquiry scan or page scan processes of other bluetooth devices happen at the same time, and the processes are carried out after the work of several bluetooth devices in the previous piconet is completed.
Moreover, two bluetooth devices are working with profile of a certain bluetooth in a piconet, and since a bluetooth device can be used as not only a master device but also a slave device, when the bluetooth device is used as the master device in one piconet and the bluetooth device is used as the slave device in another piconet, if an inquiry, page, inquiry scan or page scan procedure is initiated in the piconet in which the bluetooth device is used as the master device at this time, the conventional scatter scheduling method will switch to the procedures to process after the work of all bluetooth devices in the active piconet is completed. If the number of piconets is large, the waiting time is longer, which causes poor user experience and makes the user feel that the process of pairing and connecting the bluetooth devices is inefficient.
Disclosure of Invention
The invention aims to: an improved Bluetooth scatternet scheduling method is provided, which can improve the efficiency of Bluetooth device pairing and connection between piconets, thereby improving the satisfaction degree of users.
In order to achieve the above purpose, the invention provides the following technical scheme:
a Bluetooth Scatternet scheduling method comprises the following steps,
setting a profile scene of the Bluetooth equipment in each Piconet in which the Bluetooth equipment participates;
setting the priority level of the profile scene in each Piconet in which the Bluetooth equipment participates; setting the priority of the process initiated by the user processed by the Bluetooth equipment to be at least higher than the priority of the profile scene performed by the Bluetooth equipment in one Piconet in which the Bluetooth equipment participates;
after receiving a process initiated by a user, before switching a Piconet to perform a profile scene each time, the Bluetooth device firstly judges the priority of the profile scene performed in the next Piconet and the priority of the process initiated by the user, if the priority of the process initiated by the user is higher, the process initiated by the user is processed, otherwise, the Bluetooth device is switched to the next Piconet to perform the profile scene.
According to a specific implementation mode, in the bluetooth scatter scheduling method of the present invention, a profile scene of the bluetooth device and the Piconet using the bluetooth device as a master device is A2 DP.
According to a specific implementation mode, in the bluetooth scatter scheduling method, the profile scene of the bluetooth device and the Piconet which takes the bluetooth device as a master device and a slave device is HID or OPP.
Further, the priority of the profile scene of the bluetooth device performing HID in the Piconet is higher than that of the profile scene of the bluetooth device performing OPP.
Based on the same inventive concept, the invention also provides the Bluetooth Scatternet for process processing and scheduling by adopting the Bluetooth Scatternet scheduling method.
Compared with the prior art, the invention has the beneficial effects that:
the Bluetooth Scatternet scheduling method also sets the priority level of the Bluetooth equipment for performing the profile scene in each participating Piconet after setting the profile scene of the Bluetooth equipment in the participating Piconet, and sets the priority level of the process initiated by the Bluetooth equipment processing user to be at least higher than the priority level of the process performed by the Bluetooth equipment in one participating Piconet. And after receiving the process initiated by the user, the Bluetooth device judges the priority of the process initiated by the user in the next Piconet and the priority of the process initiated by the user processed by the Bluetooth device before switching the Piconet to perform the process scene each time, if the priority of the process initiated by the user is higher, the process initiated by the user is processed, otherwise, the Bluetooth device switches to the next Piconet to perform the process scene. Therefore, the Bluetooth Scatternet scheduling method can improve the Bluetooth equipment pairing and connection efficiency among piconets in a Scatternet, thereby improving the satisfaction degree of users.
Description of the drawings:
fig. 1 is a schematic flow chart of a bluetooth scatter net scheduling method according to the present invention;
FIG. 2 is a diagram illustrating a scheduling sequence according to the prior art;
FIG. 3 is a diagram illustrating a scheduling sequence according to the present invention.
Detailed Description
The present invention will be described in further detail with reference to test examples and specific embodiments. It should be understood that the scope of the above-described subject matter is not limited to the following examples, and any techniques implemented based on the disclosure of the present invention are within the scope of the present invention.
Technical term interpretation:
inquiry: the inquiry of the bluetooth device, i.e. when the bluetooth device does not know what devices are around, needs to go to the inquiry, similar to broadcasting.
Inquiry scan: inquiry scanning of the Bluetooth device, namely the Bluetooth device in the inquiry scanning can respond to the inquiry of other Bluetooth devices.
Page: direct paging of a bluetooth device, i.e. the bluetooth device initiating the connection (master device) knows the address of the bluetooth device to be connected.
Page scan: paging of the bluetooth device indicates that the bluetooth device is in a paging waiting state.
A2DP Advanced Audio Distribution Profile Bluetooth Audio Transmission model protocol.
HID: the human-computer interaction equipment of the Hunman Interface Device and the HID specification enable input and control peripheral equipment of HID hosts of different platforms to achieve real interoperability.
OPP: object store specification (Object Push Profile). One of the bluetooth specifications is the exchange of data between a server and an agent.
Fig. 1 is a schematic flow chart of a bluetooth scatter scheduling method according to the present invention; wherein, first, a profile scene of the bluetooth device in each Piconet in which it participates is set.
Then, setting the priority level of the profile scene in each Piconet in which the Bluetooth equipment participates; setting the priority of the process initiated by the user processed by the Bluetooth equipment to be at least higher than the priority of the profile scene performed by the Bluetooth equipment in one Piconet in which the Bluetooth equipment participates;
after receiving a process initiated by a user, before switching a Piconet to perform a profile scene each time, the Bluetooth device firstly judges the priority of the profile scene performed in the next Piconet and the priority of the process initiated by the user, if the priority of the process initiated by the user is higher, the process initiated by the user is processed, otherwise, the Bluetooth device switches to the next Piconet to perform the profile scene. Since the priority of the bluetooth device for processing the process initiated by the user is at least higher than the priority of the bluetooth device for performing the profile scene in the Piconet in which the bluetooth device participates, the process initiated by the user does not wait for the final processing.
In connection with the prior art scheduling sequence diagram shown in fig. 2; the bluetooth device a is a master device in the Piconet1, and performs a profile scene A2DP with another bluetooth device in Piconet 1. Furthermore, bluetooth device a performs a profile scene of HID with another bluetooth device of Piconet2 as a slave device in Piconet 2; the bluetooth device a also acts as a slave in Piconet 3, and performs profile scene of OPP with other bluetooth devices in Piconet 3. For the bluetooth device a, its scatter scheduling method is performed in the order of Piconet1 → Piconet2 → Piconet 3 → inquiry/page/inquiry scan/page scan.
Specifically, when the bluetooth device a serving as a master device in Piconet1 performs a profile scene of A2DP with the bluetooth device a serving as a slave device in Piconet1, the user initiates an inquiry/page/inquiry scan/pagescan process, at this time, since the master device and the slave device of Piconet1 have not completed the profile scene of A2DP this time, the bluetooth device a continues to complete the profile scene of A2DP this time, and after completion, since the bluetooth device a also serves as a slave device of Piconet2 and performs a profile scene of HID with the master bluetooth device of Piconet2, the conventional scatter scheduling method switches the bluetooth device a to the profile scene of HID with Piconet 2. Meanwhile, as the primary and secondary devices of the Piconet2 do not complete the current interaction of the HID, the bluetooth device a continues to complete the current profile scene of the HID, and after the completion, the bluetooth device a also serves as a secondary device of the Piconet 3 and performs the profile scene of the OPP with the primary bluetooth device of the Piconet 3.
Finally, after the bluetooth device a completes all profile scenes of the Piconet, the conventional scatter scheduling method next processes the inquiry/page/inquiry scan/page scan process initiated by the bluetooth device a before processing. Therefore, in the conventional scatter scheduling method, if more piconets are involved by one bluetooth device, the longer the waiting time of the user is, the worse the user experience is when there is an inquiry/page/inquiry scan/page scan process.
FIG. 3 is a schematic diagram of the scheduling sequence of the present invention; the bluetooth device a serves as a master device in Piconet1, and performs a profile scene A2DP with another bluetooth device in Piconet 1. Moreover, the bluetooth device a acts as a slave device in the Piconet2, and performs a profile scene of HID with other bluetooth devices of the Piconet 2; the bluetooth device a also acts as a slave in Piconet 3, and performs profile scene of OPP with other bluetooth devices in Piconet 3.
Meanwhile, the priority of the bluetooth device a for performing profile scene in picoet 1 is set higher than the priority of the profile scene in picoet 2 for performing HID and the priority of the profile scene in picoet 3 for performing OPP. Meanwhile, the priority of the bluetooth device a for processing the user-initiated process is set to be higher than the priority of the profile scene in which it performs HID in picoset 2 and the profile scene in which it performs OPP in picoset 3. Moreover, the priority of the profile scene of the bluetooth device performing HID in the Piconet is higher than that of the profile scene of the bluetooth device performing OPP.
Therefore, when the bluetooth device a performs a profile scene in the Piconet1, a process initiated by the user is received, and before the bluetooth device a switches to the Piconet2 to perform the profile scene, the priority of the process initiated by the user in the Piconet2 and the priority of the process initiated by the user are determined first, and the priority of the process initiated by the user is obtained according to the set priority, so that the priority of the process initiated by the user is higher, and therefore the bluetooth device a processes the process initiated by the user first and then switches to the Piconet2 to perform the profile scene. Thereby improving the efficiency of bluetooth device pairing and connection between piconets in the scatternet.
Therefore, compared with the prior art, the Bluetooth Scatternet scheduling method greatly improves the Bluetooth equipment pairing and connecting efficiency among piconets in a Scatternet, and can effectively improve the satisfaction degree of users.

Claims (3)

1. A Bluetooth Scatternet scheduling method is characterized by comprising the following steps,
setting a profile scene of the Bluetooth equipment in each Piconet in which the Bluetooth equipment participates; wherein, the profile scene of the Bluetooth device and the Piconet taking the Bluetooth device as the master device is A2DP or HID or OPP;
setting the priority level of the profile scene in each Piconet in which the Bluetooth equipment participates; setting the priority of the process initiated by the user processed by the Bluetooth equipment to be at least higher than the priority of the profile scene performed by the Bluetooth equipment in one Piconet in which the Bluetooth equipment participates;
after receiving inquiry/page/inquiry scan/page scan processes initiated by a user, before switching a Piconet to perform a profile scene each time, the Bluetooth device firstly judges the priority of the profile scene in the next Piconet and the priority of the process initiated by the user, if the priority of the process initiated by the user is higher, the process initiated by the user is processed, and if not, the Bluetooth device is switched to the next Piconet to perform the profile scene.
2. The bluetooth scatteret scheduling method according to claim 1, wherein when the profile scene of the bluetooth device and the Piconet with the bluetooth device as the master device and the slave device is HID or OPP, the priority of the bluetooth device for HID in the Piconet is higher than the priority of the bluetooth device for OPP.
3. A bluetooth Scatternet, characterized in that, the bluetooth Scatternet scheduling method according to any of claims 1-2 is used for process processing scheduling.
CN201810374591.7A 2018-04-24 2018-04-24 Bluetooth Scatternet scheduling method Active CN108738002B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810374591.7A CN108738002B (en) 2018-04-24 2018-04-24 Bluetooth Scatternet scheduling method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810374591.7A CN108738002B (en) 2018-04-24 2018-04-24 Bluetooth Scatternet scheduling method

Publications (2)

Publication Number Publication Date
CN108738002A CN108738002A (en) 2018-11-02
CN108738002B true CN108738002B (en) 2021-04-02

Family

ID=63939267

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810374591.7A Active CN108738002B (en) 2018-04-24 2018-04-24 Bluetooth Scatternet scheduling method

Country Status (1)

Country Link
CN (1) CN108738002B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113395576B (en) * 2021-06-28 2023-02-17 深圳Tcl新技术有限公司 Scene switching method, computer equipment and storage medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7016372B2 (en) * 2001-02-28 2006-03-21 Telefonaktiebolaget Lm Ericsson (Publ) Dynamic bandwidth allocation in AD hoc wireless piconets
EP2003556A1 (en) * 2007-05-25 2008-12-17 Axalto SA Method of processing by a portable electronical device of applicative commands originating from physical channels, corresponding device and system
CN101340212A (en) * 2007-07-03 2009-01-07 艾威梯软件技术(北京)有限公司 Method, apparatus and system for triggering automatic switchover of Bluetooth connecting device by key pressing
CN101499824A (en) * 2008-02-01 2009-08-05 中兴通讯股份有限公司 Method for connecting Bluetooth audio equipment
US8265017B2 (en) * 2008-04-11 2012-09-11 Apple Inc. Methods and apparatus for network capacity enhancement for wireless device coexistence
CN103617803A (en) * 2013-11-08 2014-03-05 中标软件有限公司 Multi-sound-source automatic switching method and system on vehicle-mounted system
CN105282691A (en) * 2015-11-05 2016-01-27 广东欧珀移动通信有限公司 Bluetooth equipment connection method and device
CN106231684B (en) * 2016-07-14 2019-12-10 深圳市元征软件开发有限公司 Connection control method and system for Bluetooth of vehicle machine
CN107704172B (en) * 2017-10-10 2020-11-13 惠州Tcl移动通信有限公司 Multimedia application switching control method, system and storage device

Also Published As

Publication number Publication date
CN108738002A (en) 2018-11-02

Similar Documents

Publication Publication Date Title
CN108419226B (en) Method for connecting Bluetooth devices and Bluetooth devices
CN102930705B (en) Device control method and device
WO2019015428A1 (en) Data transmission method, device, terminal, and computer-readable storage medium
US9906935B2 (en) Bluetooth low energy beacon device and advertising method
WO2019015427A1 (en) Data transmission method and device, terminal and computer-readable storage medium
CN105392166B (en) A kind of method and apparatus of double card electric terminal data network switching
CN105516960A (en) Non-perceptual authentication method system, management method and system based on the method system
CN103607779A (en) Multi-screen coordination intelligent input system and realization method thereof
JP2021114697A (en) Mobile terminal test device and out-of-service-area test control method thereof
CN105681542A (en) Information processing method and system and terminal
CN110582998A (en) Group communication method and device, computer storage medium and computer equipment
CN113766477A (en) Device connection method, device, electronic device and computer readable medium
EP3182787A1 (en) Communication method and device
CN112492631A (en) Switching method and device
CN108738002B (en) Bluetooth Scatternet scheduling method
CN109005594A (en) A kind of D2D communication connecting method and device, equipment, storage medium
WO2019015429A1 (en) Data transmission method, device, terminal and computer-readable storage medium
JP6872318B2 (en) Game system, processing program, processing method, and game device
KR101567136B1 (en) Multipoint conference device and switching method from point-to-point communication to multipoint conference
CN110601986A (en) Router supporting peripheral control over mobile terminal equipment, control method and device
CN103001948A (en) Method and system for controlling computer terminal by handheld device through scan codes
CN112543484B (en) Method and equipment for maintaining service continuity
CN101834808A (en) Method and system for realizing information interaction based on instant messaging (IM) paging enterprises end
WO2015180017A1 (en) Method for transmitting signal in device to device proximity service, base station and user equipment
CN106162776A (en) A kind of method for switching network, device and mobile terminal

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