CN105430597A - Bluetooth device, and Bluetooth Scatternet networking method and device thereof - Google Patents

Bluetooth device, and Bluetooth Scatternet networking method and device thereof Download PDF

Info

Publication number
CN105430597A
CN105430597A CN201510716922.7A CN201510716922A CN105430597A CN 105430597 A CN105430597 A CN 105430597A CN 201510716922 A CN201510716922 A CN 201510716922A CN 105430597 A CN105430597 A CN 105430597A
Authority
CN
China
Prior art keywords
neighbor node
node
neighbor
self
information
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.)
Pending
Application number
CN201510716922.7A
Other languages
Chinese (zh)
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.)
Nanjing Wanghe Intelligent Technology Co Ltd
Original Assignee
Nanjing Wanghe Intelligent 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 Nanjing Wanghe Intelligent Technology Co Ltd filed Critical Nanjing Wanghe Intelligent Technology Co Ltd
Priority to CN201510716922.7A priority Critical patent/CN105430597A/en
Publication of CN105430597A publication Critical patent/CN105430597A/en
Pending legal-status Critical Current

Links

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
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0203Power saving arrangements in the radio access network or backbone network of wireless communication networks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses a Bluetooth device, and a Bluetooth Scatternet networking method and device thereof. The method comprises: discovering each neighbor node, and updating and maintaining a self neighbor node information table, the neighbor node information table including neighbor node quantity information, a neighbor list, father node information and sub-node information; responding to the connection invitation of a first neighbor mode, building Bluetooth connection with the first neighbor node in a calling mode, and using the first neighbor mode as a sub-node; according to the neighbor node quantity information of each neighbor node and self neighbor node quantity information, determining a neighbor node and self priority sorting order; and sending a connection invitation to a second neighbor node which has a highest priority and is higher than a self priority, and using the second neighbor node as a father node.

Description

A kind of bluetooth equipment and Bluetooth Scatternet network-building method thereof and device
Technical field
The present invention relates to wireless communication technology field, particularly relate to a kind of bluetooth equipment and Bluetooth Scatternet network-building method thereof and device.
Background technology
Bluetooth technology is a kind of radiotechnics for equipment room short haul connection, can carry out wireless messages exchange between numerous equipment such as mobile phone, PDA, bluetooth earphone, notebook computer, wearable device, Smart Home product.Bluetooth is formulated in 1994 by telecommunications giant Ericsson at first, and nowadays bluetooth is by bluetooth sig (BluetoothSpecialInterestGroup is called for short SIG) management.Bluetooth has and connects a series of features such as simple, chip volume is little, power consumption is low, and this technology is widely used in the limited internet of things equipment of volume, electricity.Bluetooth equipment connected mode common is at present piconet (Piconet), there is a main equipment and be less than 7 from equipment, all connecting with main equipment from equipment communicates.Utilize via node, multiple piconet is connected, the blueteeth network that component devices is more, be called Bluetooth Scatternet (Scatternet).
Along with the fast development of Internet industry and the quick raising of national economy level, the intelligent requirements of people to life staying idle at home is more and more higher, comprises comfortableization of home environment, safe, hommization, intellectuality, and the high-efficiency environment friendly of household electrical appliance.Smart Home (SmartHome, HomeAutomation) being take house as platform, utilize comprehensive wiring technology, the network communications technology, security precautions technology, automatic control technology, audio frequency and video technology by integrated for facility relevant for life staying idle at home, build the management system of efficient housing facilities and family's schedule affairs, promote house security, convenience, comfortableness, artistry, and realize the living environment of environmental protection and energy saving.Smart Home is an extremely potential rising industry, just enters Rapid development stage.The Internet of Things industries such as Smart Home industry and wearable computing equipment flourish, bluetooth equipment recoverable amount is constantly increased, the connected mode of piconet is more and more difficult to the connection needs adapting to a large amount of bluetooth equipment among a small circle, and the demand of bluetooth group is day by day strong.For this reason, bluetooth sig and in December, 2013 announce and adopt bluetooth core specification 4.1 version, this protocol version introduces important attributes of network, namely a bluetooth equipment can work different piconet as main equipment with from equipment simultaneously, and this makes the real realization of Bluetooth Scatternet become possibility.Now, a kind of Bluetooth Scatternet networking plan based on bluetooth 4.1 agreement is needed.
Meanwhile, numerous equipment such as current Smart Home product, wearable device is constantly to miniaturization, portability, intelligentized future development.The constraint and the battery technology that are limited to equipment volume develop in recent years comparatively slowly, need in a large number to make the continuous working period of battery-powered equipment often can not reach the expection of people, and this just has higher requirement to the reduction of equipment power dissipation.Therefore, the establishment of Bluetooth Scatternet not only needs to realize communication, same need to adopt reasonably scatternet topological structure to reduce system energy consumption.
Summary of the invention
For solving the technical problem of existing existence, the embodiment of the present invention is expected to provide a kind of bluetooth equipment and Bluetooth Scatternet network-building method thereof and device, can set up reasonably scatternet topological structure to reduce system energy consumption.
The technical scheme of the embodiment of the present invention is achieved in that
The embodiment of the present invention provides a kind of Bluetooth Scatternet network-building method of bluetooth equipment, and described method comprises:
Find each neighbor node, the information of neighbor nodes table of updating maintenance self, comprise in described information of neighbor nodes table: neighbor node quantity information, neighbor list, parent information, child node information;
The connection responding the first neighbor node is invited, and sets up bluetooth and is connected, using described first neighbor node as child node with calling mode with described first neighbor node;
According to each neighbor node and self neighbor node quantity information, determine each neighbor node and self order of priority;
And second neighbor node transmission connection of higher than self priority the highest to priority is invited, using described second neighbor node as father node.
In such scheme, the information of neighbor nodes table of each neighbor node updating maintenance of described discovery self comprises:
Receive and resolve the broadcast packet of neighbor node, described broadcast packet comprises neighbor node quantity information and the MAC Address of described neighbor node;
When the MAC Address of described neighbor node is new address, the neighbor node quantity information of described neighbor node and MAC Address are added described neighbor list;
Upgrade the neighbor node quantity information of self;
When the content of neighbor list no longer upgrades under specified conditions, determine that completing neighbor node finds.
In such scheme, described specified conditions comprise:
After receiving continuous T _ p broadcast packet; Or
After continuing T_t second.
In such scheme, described neighbor node quantity packets of information is drawn together: the neighbor node number sum of neighbor node number, each neighbours;
Send the broadcast packet carrying neighbor node quantity information.
In such scheme, described according to each neighbor node and self neighbor node quantity information determines each neighbor node and self order of priority comprises:
Following rule determines the order of priority of two nodes:
First compare the neighbor node number of the two, the node priority that neighbor node number is larger is high;
When the neighbor node number of the two is identical, then compare the neighbor node number sum of each neighbours of the two, the node priority that the neighbor node number sum of each neighbours is larger is high;
When the neighbor node number sum of each neighbours of the two is also identical, compare the MAC Address of the two, the node priority that MAC Address is larger is high.
In such scheme, arrange the networking time limit in bluetooth equipment, described method also comprises:
Whether when after networking time limit time-out, not having the bluetooth equipment of father node to check in neighbor list is not the neighbor node of self child node;
If described in existing be not the neighbor node of self child node, the 3rd neighbor node that priority is the highest wherein sends to connect invites, using described 3rd neighbor node as father node.
The present invention also provides a kind of Bluetooth Scatternet network device of bluetooth equipment, and described device comprises: find that neighbours' module, response invitation module, preference order module and first invite sending module; Wherein,
Find neighbours' module, for finding each neighbor node, the information of neighbor nodes table of updating maintenance self, comprises in described information of neighbor nodes table: neighbor node quantity information, neighbor list, parent information, child node information;
Module is invited in response, invites, set up bluetooth and be connected, using described first neighbor node as child node with calling mode with described first neighbor node for the connection responding the first neighbor node;
Preference order module, for according to each neighbor node and self neighbor node quantity information, determine each neighbor node and self order of priority;
First invites sending module, sends connection invitation, using described second neighbor node as father node for the highest to priority and higher than self priority the second neighbor node.
In such scheme, described discovery neighbours module comprises:
Receive radio unit, for receiving and resolving the broadcast packet of neighbor node, described broadcast packet comprises neighbor node quantity information and the MAC Address of described neighbor node;
Add neighboring units, for when the MAC Address of described neighbor node is new address, the neighbor node quantity information of described neighbor node and MAC Address are added described neighbor list;
Upgrade quantity information unit, for upgrading the neighbor node quantity information of self;
Determine unit, for when the content of neighbor list no longer upgrades under specified conditions, determined that completing neighbor node finds.
In such scheme, described network device also comprises:
Checking module, whether for when after networking time limit time-out, not having the bluetooth equipment of father node to check in neighbor list is not the neighbor node of self child node;
Second invites sending module, if the neighbor node for described in existence not being self child node, the 3rd neighbor node that priority is the highest wherein sends to connect invites, using described 3rd neighbor node as father node.
The present invention also provides a kind of bluetooth equipment, and this bluetooth equipment comprises any one Bluetooth Scatternet network device above-mentioned.
The bluetooth equipment that the embodiment of the present invention provides and Bluetooth Scatternet network-building method thereof and device, utilize the acquisition to adjacent node information, autotelic selection connected node, greatly reduce the quantity of host node and main and subordinate node in scatternet, found through experiments, when Bluetooth chip is only as when carrying out work from node, its power consumption is far smaller than host node or simultaneously as the energy consumption of main and subordinate node, therefore, networking plan of the present invention effectively can reduce the system total energy consumption of Bluetooth Scatternet.
Accompanying drawing explanation
The realization flow schematic diagram of the Bluetooth Scatternet network-building method that Fig. 1 provides for the embodiment of the present invention;
Fig. 2 (1) is the process schematic that application Bluetooth Scatternet network-building method provided by the invention carries out networking to 2 (4);
Fig. 3 is the embodiment of the present invention 1 neighbor node discovery procedure schematic flow sheet;
Fig. 4 is the schematic flow sheet that the embodiment of the present invention 1 connects selection course;
The composition structural representation of the Bluetooth Scatternet network device that Fig. 5 provides for the embodiment of the present invention.
Embodiment
In order to be illustrated more clearly in the embodiment of the present invention and technical scheme, be described in detail technical scheme of the present invention below in conjunction with drawings and Examples, obviously, described embodiment is a part of embodiment of the present invention, instead of whole embodiment.Based on embodiments of the invention, the every other embodiment that those of ordinary skill in the art obtain under the prerequisite not paying creative work, all belongs to the scope of protection of the invention.
In embodiments of the present invention, the bluetooth equipment of composition Bluetooth Scatternet node, based on bluetooth 4.1 agreement, can utilize Bluetooth broadcast bag to the neighbor node quantity information of neighbor node broadcast self.
The realization flow schematic diagram of the Bluetooth Scatternet network-building method that Fig. 1 provides for the embodiment of the present invention, as shown in Figure 1, the method comprises:
Step 101, finds each neighbor node, the information of neighbor nodes table of updating maintenance self, comprises in described information of neighbor nodes table: neighbor node quantity information, neighbor list, parent information, child node information;
Concrete, each bluetooth equipment all needs the information of neighbor nodes table safeguarding self, comprises in this information of neighbor nodes table: neighbor node quantity information, neighbor list, parent information, child node information; Wherein,
Neighbor node quantity information can comprise: the neighbor node number sum N_indirect of neighbor node number N_scan, each neighbours;
Neighbor list is mainly used in the relevant information of preserving neighbor node, can comprise: the neighbor node number sum N_indirect of MAC Address, neighbor node number N_scan, each neighbours;
Parent information mainly comprises: the MAC Address of father node, is empty time initial;
Child node information spinner will comprise: son node number N_child and child list, and time initial, son node number N_child is 0, and child list is empty.
In one embodiment, each bluetooth equipment needs the form of the information of neighbor nodes table of updating maintenance as shown in table 1:
Table 1
Each bluetooth equipment all constantly outwards sends broadcast packet, broadcasts the neighbor node number sum N_indirect of the MAC Address of oneself, current neighbor nodes number N_scan, each neighbours current; So bluetooth equipment finds that the process of neighbor node can comprise:
Receive and resolve the broadcast packet of neighbor node, described broadcast packet comprises the current neighbor node quantity information of described neighbor node and MAC Address;
When the MAC Address of described neighbor node is new address, namely the MAC Address of broadcast packet does not find in neighbor list Near_list, then by the information of this new neighbor node, namely neighbor node quantity information and MAC Address add in the neighbor list of bluetooth equipment;
Meanwhile, the neighbor node quantity information of bluetooth equipment renewal self, that is: the N_scan of bluetooth equipment increases by 1; Recalculate the N_indirect of bluetooth equipment, add the neighbor node number of new neighbor node;
When the content of neighbor list no longer upgrades under specified conditions, determine that completing neighbor node finds.Namely when after receiving continuous T _ p broadcast packet or after lasting T_t second, the neighbor list Near_list of bluetooth equipment does not all upgrade again, then determine that bluetooth equipment completes the discovery procedure of neighbor node.Here, T_p and T_t can build the experience setting of personnel according to Bluetooth Scatternet, generally, T_p can be set to 10, and T_t can be set to 3
So, following Bluetooth Scatternet connection establishment process can be carried out further.
Step 102, the connection responding the first neighbor node is invited, and sets up bluetooth and is connected, using described first neighbor node as child node with calling mode with described first neighbor node;
Concrete, bluetooth equipment detects the connection whether received from neighbor node and invites, and here, connection invitation refers to and requires that bluetooth equipment initiates connection request as main equipment, sends the neighbor node connecting invitation and is called the first neighbor node;
When receiving above-mentioned connection and inviting, bluetooth equipment is initiated bluetooth with main equipment pattern and is connected, and sets up bluetooth be connected with above-mentioned first neighbor node;
The MAC Address of the first neighbor node added in the child list Child_list of self, accordingly, the son node number N_child of bluetooth equipment increases by 1, using described first neighbor node as child node.
Step 103, according to each neighbor node and self neighbor node quantity information, determine each neighbor node and self order of priority;
Concrete, bluetooth equipment determines the order of priority of two nodes according to following rule:
First compare the neighbor node number N_scan of the two, the node priority that neighbor node number N_scan is larger is high;
When the neighbor node number N_scan of the two is identical, then compare the neighbor node number sum N_indirect of each neighbours of the two, the node priority that the neighbor node number sum N_indirect of each neighbours is larger is high;
When the neighbor node number sum N_indirect of each neighbours of the two is also identical, compare the MAC Address of the two, the node priority that MAC Address is larger is high.
Node in neighbor list sorts according to priority according to above-mentioned rule by bluetooth equipment from high to low, prepares for finding father node;
Same bluetooth equipment also determines the order of priority of self and neighbor node according to above-mentioned rule.
Step 104, and second neighbor node transmission connection of higher than self priority the highest to priority is invited, using described second neighbor node as father node.
Concrete, neighbor node the highest to self and priority compares by bluetooth equipment, when priority higher than bluetooth equipment self of the priority of this neighbor node, claims this neighbor node to be the second neighbor node; Bluetooth equipment sends to connect to this second neighbor node and invites, and asks the second neighbor node initiatively to connect oneself; When after bluetooth connection establishment, the MAC Address of this second neighbor node is recorded as parent node address, it can be used as the father node of oneself.
Further, for preventing the incomplete situation of scatternet connection establishment, also can arrange the networking time limit in bluetooth equipment, this networking time limit can be determined according to the density of the bluetooth equipment disposed, and be generally set to 8 seconds, then above-mentioned network-building method also comprises:
Whether when after networking time limit time-out, not having the bluetooth equipment of father node to check in neighbor list is not the neighbor node of self child node;
If exist, the neighbor node that priority is the highest wherein, is called the 3rd neighbor node, sends to connect to invite, using described 3rd neighbor node as father node.
Concrete, neighbor node the highest for priority in self and neighbor list compares by bluetooth equipment, when the priority of this neighbor node is equal to or less than the priority of bluetooth equipment self, judges that whether the networking time limit is overtime;
If the networking time limit is overtime, then bluetooth equipment judges that whether this node is self child node, judges by the child list inquiring about self;
When this node is the child node of bluetooth equipment, bluetooth equipment checks that whether neighbor node that priority in neighbor list is time high is self child node, the like, until being checked through is not the neighbor node of self child node, i.e. the 3rd neighbor node;
Bluetooth equipment sends to connect to the 3rd neighbor node and invites, and request the 3rd neighbor node initiatively connects oneself; When after bluetooth connection establishment, the MAC Address of the 3rd neighbor node is recorded as parent node address, it can be used as the father node of oneself.
So, the full-mesh of Bluetooth Scatternet can be guaranteed.
Embodiment 1
Fig. 2 (1) is one group to 2 (4) and applies by 6 bluetooth equipments the process schematic that above-mentioned Bluetooth Scatternet network-building method carries out networking.In each bluetooth equipment in figure, all safeguard information of neighbor nodes table as shown in table 1.
In Fig. 2 (1), dotted line circle represents each node communication scope.After bluetooth equipment node starts, will open broadcast scan and broadcast listening simultaneously, enter neighbor node discovery procedure, neighbor node discovery procedure flow chart as shown in Figure 3, comprises the following steps:
Step 3.1, bluetooth nodes constantly outwards sends broadcast packet, broadcasts oneself current N_scan and N_indirect;
Step 3.2, while broadcast, constantly scans broadcast packet, after scanning broadcast packet, looks for whether there is corresponding list item according to source address in Near_list, if exist, upgrades contents in table according to broadcast packet; Otherwise add new list item in Near_list, N_scan increases by 1 simultaneously.
Step 3.3, recalculates N_indirect, and its value is the value sum of all node N_scan in Near_list list item.
Step 3.4, for a node, when it receives the content that T_p broadcast packet does not but upgrade Near_list continuously, or continuous T _ t does not upgrade the content of Near_list second, then enter link selection course (step 2), the value of T_p and T_t can according to circumstances set with experience.
As shown in Fig. 2 (2), in two tuples below each node, the former is the value of N_scan, and the latter is the value of N_indirect.Node 3 sends broadcast, and node 0, node 4 receive this broadcast packet.For node 0, it finds that node 3 is not in the Near_list list of self, so added list, and makes N_scan increase by 1; Node 4 in like manner.Next, as shown in Fig. 2 (3), node 0 sends broadcast packet, and node 1,2,3 receives this broadcast packet.For node 1, the information of node 0 in its Near_list list, does not therefore add in list by node 0, and sues for peace the N_scan of list items all in Near_list as the value of N_indirect.Node 2,3 is by same mode undated parameter.
Upgrade through broadcast after a while, reception and parameter, each node parameter tends towards stability.For this example, the N_scan value of each node and N_indirect value are as shown in Fig. 2 (4).Now, each node enters link selection course successively.The flow chart connecting selection course as shown in Figure 4, comprises the following steps:
Step 4.1 detects the connection request whether receiving other nodes, if receive connection request, goes to step 4.2, otherwise goes to step 4.3;
Step 4.2 and Correspondent Node connect, will to side mac address stored in Child_list [] list, and the value of N_child increases by 1;
List item in step 4.3 couple Near_list according to following regular priority resolution height, and sorts to low from high:
First, compare the value of N_scan, N_scan large person priority is high;
If N_scan is equal, then the priority that N_indirect value is little is high;
If when N_indirect is still equal, compare both MAC Address, MAC Address the greater priority is high.
Then, the priority of priority soprano node_m and node self in contrast Near_list, comparison rule is shown in step 4.3 to step 4.4.When self priority is lower than node_m, perform step 4.7.When self priority is equal to or higher than node_m, whether overtimely check: if time-out, perform step 4.5; Not time-out, performs step 4.1;
Whether Already in step 4.5 judges node_m in Child_list list, if exist, then performs step 4.6; Otherwise perform step 4.7;
Step 4.6 gets the next item down in Near_list as node_m, if got the Near_list end, has connected selection course and terminates; Otherwise perform step 4.5;
Step 4.7 is carried data notification node_m by broadcast packet and is initiatively connected oneself, and after foundation to be connected, node_m becomes aggregation node, and record Parent is the address of node_m, performs step 4.1.
For node 3, in its Near_list, store node 0, node 4 two nodes.After sorting to it, the N_scan value of node 0 is comparatively large, ranks the first.The information of getting node 0 self compares with node 3, and node 0 weights are larger, then node 3 determines the child node as node 0, and broadcasts a message to node 0, asks the other side to initiate connection establishment.After node 0 receives the connection request of node 3, by node 3 stored in the middle of Child_list, and connect with node 3.Node 1,2,5 is connected according to establishing with father node with the similar process of node 3.
For node 4, each node weights in its Near_list are all large less than self, can not initiate to connect, time out event is triggered after a period of time, first from Near_list, take out the higher node of weights 3, find that node 3 is not in the Child_list list of self, so with node 3 for father node connects.
For node 0, in its Near_list, have the information of node 1,2,3, and each node weights are all less than node 0.Trigger time out event after a period of time, take out node 3,2,1 successively, find all in the middle of self Child_list, process terminates.Now, networking process completes, and the annexation between equipment is as shown in Fig. 2 (4).
Found through experiments, when Bluetooth chip is only as when carrying out work from node, its power consumption is far smaller than host node or simultaneously as the energy consumption of main and subordinate node.Networking plan of the present invention is by the acquisition to adjacent node information, and autotelic selection connected node, greatly reduces the quantity of host node and main and subordinate node, reduces system total energy consumption.
Fig. 5 is the composition structural representation of the Bluetooth Scatternet network device of the bluetooth equipment that the embodiment of the present invention provides, as shown in Figure 5, this network device comprises: find that neighbours' module 501, response invitation module 502, preference order module 503 and first invite sending module 504; Wherein,
Find neighbours' module 501, for finding each neighbor node, the information of neighbor nodes table of updating maintenance self, comprises in described information of neighbor nodes table: neighbor node quantity information, neighbor list, parent information, child node information;
Module 502 is invited in response, invites, set up bluetooth and be connected, using described first neighbor node as child node with calling mode with described first neighbor node for the connection responding the first neighbor node;
Preference order module 503, for according to each neighbor node and self neighbor node quantity information, determine each neighbor node and self order of priority;
First invites sending module 504, sends connection invitation, using described second neighbor node as father node for the highest to priority and higher than self priority the second neighbor node.
In above-mentioned network device, find that neighbours' module 501 comprises:
Receive radio unit, for receiving and resolving the broadcast packet of neighbor node, described broadcast packet comprises neighbor node quantity information and the MAC Address of described neighbor node;
Add neighboring units, for when the MAC Address of described neighbor node is new address, the neighbor node quantity information of described neighbor node and MAC Address are added described neighbor list;
Upgrade quantity information unit, for upgrading the neighbor node quantity information of self;
Determine unit, for when the content of neighbor list no longer upgrades under specified conditions, determined that completing neighbor node finds.
In above-mentioned network device, described network device also comprises:
Checking module, whether for when after networking time limit time-out, not having the bluetooth equipment of father node to check in neighbor list is not the neighbor node of self child node;
Second invites sending module, if the neighbor node for described in existence not being self child node, the 3rd neighbor node that priority is the highest wherein sends to connect invites, using described 3rd neighbor node as father node.
In above-mentioned network device, described network device also comprises:
Broadcast transmission module, for sending the broadcast packet carrying neighbor node quantity information.
Above-mentioned modules and unit in actual applications, all can realize by being arranged in the central processing unit (CPU) of bluetooth equipment, microprocessor (MPU), digital signal processor (DSP) or field programmable gate array (FPGA).
The present invention also provides a kind of bluetooth equipment, and this bluetooth equipment comprises the Bluetooth Scatternet network device of any one bluetooth equipment above-mentioned.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of hardware embodiment, software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Again illustrate; the foregoing is only embodiments of the invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; such as the be combineding with each other of technical characteristic between each embodiment; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. a Bluetooth Scatternet network-building method for bluetooth equipment, is characterized in that, described method comprises:
Find each neighbor node, the information of neighbor nodes table of updating maintenance self, comprise in described information of neighbor nodes table: neighbor node quantity information, neighbor list, parent information, child node information;
The connection responding the first neighbor node is invited, and sets up bluetooth and is connected, using described first neighbor node as child node with calling mode with described first neighbor node;
According to each neighbor node and self neighbor node quantity information, determine each neighbor node and self order of priority;
And second neighbor node transmission connection of higher than self priority the highest to priority is invited, using described second neighbor node as father node.
2. network-building method according to claim 1, is characterized in that, the information of neighbor nodes table of each neighbor node updating maintenance of described discovery self comprises:
Receive and resolve the broadcast packet of neighbor node, described broadcast packet comprises neighbor node quantity information and the MAC Address of described neighbor node;
When the MAC Address of described neighbor node is new address, the neighbor node quantity information of described neighbor node and MAC Address are added described neighbor list;
Upgrade the neighbor node quantity information of self;
When the content of neighbor list no longer upgrades under specified conditions, determine that completing neighbor node finds.
3. network-building method according to claim 2, is characterized in that, described specified conditions comprise:
After receiving continuous T _ p broadcast packet; Or
After continuing T_t second.
4. the network-building method according to any one of claims 1 to 3, is characterized in that, described neighbor node quantity packets of information is drawn together: the neighbor node number sum of neighbor node number, each neighbours;
Send the broadcast packet carrying neighbor node quantity information.
5. network-building method according to claim 4, is characterized in that, described according to each neighbor node and self neighbor node quantity information determines each neighbor node and self order of priority comprises:
Following rule determines the order of priority of two nodes:
First compare the neighbor node number of the two, the node priority that neighbor node number is larger is high;
When the neighbor node number of the two is identical, then compare the neighbor node number sum of each neighbours of the two, the node priority that the neighbor node number sum of each neighbours is larger is high;
When the neighbor node number sum of each neighbours of the two is also identical, compare the MAC Address of the two, the node priority that MAC Address is larger is high.
6. network-building method according to claim 4, is characterized in that, arranges the networking time limit in bluetooth equipment, and described method also comprises:
Whether when after networking time limit time-out, not having the bluetooth equipment of father node to check in neighbor list is not the neighbor node of self child node;
If described in existing be not the neighbor node of self child node, the 3rd neighbor node that priority is the highest wherein sends to connect invites, using described 3rd neighbor node as father node.
7. a Bluetooth Scatternet network device for bluetooth equipment, is characterized in that, described device comprises: find that neighbours' module, response invitation module, preference order module and first invite sending module; Wherein,
Find neighbours' module, for finding each neighbor node, the information of neighbor nodes table of updating maintenance self, comprises in described information of neighbor nodes table: neighbor node quantity information, neighbor list, parent information, child node information;
Module is invited in response, invites, set up bluetooth and be connected, using described first neighbor node as child node with calling mode with described first neighbor node for the connection responding the first neighbor node;
Preference order module, for according to each neighbor node and self neighbor node quantity information, determine each neighbor node and self order of priority;
First invites sending module, sends connection invitation, using described second neighbor node as father node for the highest to priority and higher than self priority the second neighbor node.
8. network device according to claim 7, is characterized in that, described discovery neighbours module comprises:
Receive radio unit, for receiving and resolving the broadcast packet of neighbor node, described broadcast packet comprises neighbor node quantity information and the MAC Address of described neighbor node;
Add neighboring units, for when the MAC Address of described neighbor node is new address, the neighbor node quantity information of described neighbor node and MAC Address are added described neighbor list;
Upgrade quantity information unit, for upgrading the neighbor node quantity information of self;
Determine unit, for when the content of neighbor list no longer upgrades under specified conditions, determined that completing neighbor node finds.
9. network device according to claim 7, is characterized in that, described network device also comprises:
Checking module, whether for when after networking time limit time-out, not having the bluetooth equipment of father node to check in neighbor list is not the neighbor node of self child node;
Second invites sending module, if the neighbor node for described in existence not being self child node, the 3rd neighbor node that priority is the highest wherein sends to connect invites, using described 3rd neighbor node as father node.
10. a bluetooth equipment, is characterized in that, this bluetooth equipment comprises the network device according to any one of claim 7 to 9.
CN201510716922.7A 2015-10-30 2015-10-30 Bluetooth device, and Bluetooth Scatternet networking method and device thereof Pending CN105430597A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510716922.7A CN105430597A (en) 2015-10-30 2015-10-30 Bluetooth device, and Bluetooth Scatternet networking method and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510716922.7A CN105430597A (en) 2015-10-30 2015-10-30 Bluetooth device, and Bluetooth Scatternet networking method and device thereof

Publications (1)

Publication Number Publication Date
CN105430597A true CN105430597A (en) 2016-03-23

Family

ID=55508469

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510716922.7A Pending CN105430597A (en) 2015-10-30 2015-10-30 Bluetooth device, and Bluetooth Scatternet networking method and device thereof

Country Status (1)

Country Link
CN (1) CN105430597A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106681774A (en) * 2016-12-30 2017-05-17 Tcl通力电子(惠州)有限公司 Software upgrading method of Bluetooth loudspeaker and intelligent terminal
CN107071703A (en) * 2017-03-14 2017-08-18 建荣半导体(深圳)有限公司 A kind of bluetooth nodes, intelligent terminal, the network-building method of bluetooth nodes and system
CN107592605A (en) * 2017-09-14 2018-01-16 上海肖克利信息科技股份有限公司 Ad hoc network method and system based on low-power consumption bluetooth
CN108540502A (en) * 2018-07-18 2018-09-14 重庆信络威科技有限公司 A kind of Networking protocol based on Bluetooth communication
CN115022816A (en) * 2022-04-21 2022-09-06 南京西觉硕信息科技有限公司 Equipment networking method, device and system based on Bluetooth LE audio

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020065045A1 (en) * 2000-11-27 2002-05-30 Samsung Electronics Co., Ltd. Method of information sharing between cellular and local wireless communication systems
CN101217490A (en) * 2008-01-09 2008-07-09 西南科技大学 A Bluetooth wireless transducer network organizing and routing method
CN101415255A (en) * 2008-11-27 2009-04-22 上海交通大学 Automatic classifying and networking method for bluetooth equipment
CN104883656A (en) * 2015-04-23 2015-09-02 惠州Tcl移动通信有限公司 Method for establishing steady state piconet based on bluetooth and system for establishing steady state piconet based on bluetooth

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020065045A1 (en) * 2000-11-27 2002-05-30 Samsung Electronics Co., Ltd. Method of information sharing between cellular and local wireless communication systems
CN101217490A (en) * 2008-01-09 2008-07-09 西南科技大学 A Bluetooth wireless transducer network organizing and routing method
CN101415255A (en) * 2008-11-27 2009-04-22 上海交通大学 Automatic classifying and networking method for bluetooth equipment
CN104883656A (en) * 2015-04-23 2015-09-02 惠州Tcl移动通信有限公司 Method for establishing steady state piconet based on bluetooth and system for establishing steady state piconet based on bluetooth

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李香,杨孝宗: "一个两步蓝牙散射网形成算法TBSF", 《计算机研究与发展》 *
郭勇: "为可穿戴式设备做准备蓝牙4.1解析", 《电脑迷》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106681774A (en) * 2016-12-30 2017-05-17 Tcl通力电子(惠州)有限公司 Software upgrading method of Bluetooth loudspeaker and intelligent terminal
CN106681774B (en) * 2016-12-30 2021-01-12 Tcl通力电子(惠州)有限公司 Software upgrading method of Bluetooth loudspeaker and intelligent terminal
CN107071703A (en) * 2017-03-14 2017-08-18 建荣半导体(深圳)有限公司 A kind of bluetooth nodes, intelligent terminal, the network-building method of bluetooth nodes and system
CN107592605A (en) * 2017-09-14 2018-01-16 上海肖克利信息科技股份有限公司 Ad hoc network method and system based on low-power consumption bluetooth
CN108540502A (en) * 2018-07-18 2018-09-14 重庆信络威科技有限公司 A kind of Networking protocol based on Bluetooth communication
CN115022816A (en) * 2022-04-21 2022-09-06 南京西觉硕信息科技有限公司 Equipment networking method, device and system based on Bluetooth LE audio
CN115022816B (en) * 2022-04-21 2023-07-21 南京西觉硕信息科技有限公司 Bluetooth LE audio-based equipment networking method, device and system

Similar Documents

Publication Publication Date Title
US9204390B2 (en) Energy-saving mobile node control method using wireless multi-interfaces
CN103068070B (en) A kind of machinery of consultation of protocol version, mobile terminal, base station and communication system
CN105430597A (en) Bluetooth device, and Bluetooth Scatternet networking method and device thereof
JP5805873B2 (en) Method and apparatus for M2M device subscription
CN102652424B (en) Adopt based on the dynamic declaration of operating condition and effective service declaration in the cycle of discovery in peer-to-peer networked environment and find
CN102508473B (en) A kind of intelligent home control system, control method and control device
CN105392181B (en) A kind of networking method of smart machine, apparatus and system
CN103179635A (en) Bluetooth based networking and communication methods for Anddroid mobile equipment
CN103891355A (en) Method, device, and system for registering and discovering service
JP5462410B2 (en) Method and apparatus for accessing a wireless sensor network
CN102377686A (en) Message subscription system, method and device
CN109075860B (en) Communication method based on visible light, related equipment and system
CN111565474B (en) Method and system for establishing communication connection between AP (access point) equipment and target terminal based on Mesh network
CN104918302B (en) A kind of method and wireless sound box for building wireless mesh network
CN104426927A (en) Intercom terminal parameter arrangement method and system
CN103369578A (en) Group generation and maintenance method in wireless self-organizing network environment
CN106487583A (en) A kind of method for setting up network connection and LAN system
JP2014078785A (en) Radio communication device, program and communication control method
CN105282829B (en) A kind of method and wireless sound box connecting network
CN104883719A (en) Method, apparatus and system of accessing to wireless local area network by wireless input device
CN113207113B (en) Multi-connection networking system, method, storage medium and electronic device
CN102484600A (en) Mobile node assignement to a router in a wpan
CN103945567A (en) Inverter system communication networking method
US7801097B2 (en) Setting up of a wireless network by determining and utilizing local topology information
CN103731569A (en) Control method based on mobile phone and mobile phone

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
DD01 Delivery of document by public notice
DD01 Delivery of document by public notice

Addressee: NANJING WANGHE INTELLIGENT TECHNOLOGY CO., LTD.

Document name: the First Notification of an Office Action

DD01 Delivery of document by public notice
DD01 Delivery of document by public notice

Addressee: NANJING WANGHE INTELLIGENT TECHNOLOGY CO., LTD.

Document name: Notification that Application Deemed to be Withdrawn

WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160323