CN105050288B - A kind of lamp control method based on bluetooth dynamic group net - Google Patents
A kind of lamp control method based on bluetooth dynamic group net Download PDFInfo
- Publication number
- CN105050288B CN105050288B CN201510531057.9A CN201510531057A CN105050288B CN 105050288 B CN105050288 B CN 105050288B CN 201510531057 A CN201510531057 A CN 201510531057A CN 105050288 B CN105050288 B CN 105050288B
- Authority
- CN
- China
- Prior art keywords
- lamp
- network
- control
- bluetooth
- module
- 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
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The present invention relates to a kind of lamp control method based on bluetooth dynamic group net, this method includes the following steps:The first step:Bluetooth module is installed in each lamp, network characterization number is configured with the bluetooth module, network is created in PC control ends, in PC control end setting network tag numbers;Second step:Lamp in first addition network is as first node, and lamp enters networking state, and lamp is connected with PC control end networkings;Several lamps enter networking state, turn into the node in network, networking between lamp and lamp after lamp networking;3rd step:The lamp entered in PC control ends in control port, unrestricted choice control upper layer network.The lamp control method based on bluetooth dynamic group net of the present invention, this method is simple to operate, disclosure satisfy that people to Intelligent housing operating experience demand, and the autonomy of this method lamp control is high, and unrestricted choice is controlled in control process.
Description
Technical field
The invention belongs to lamp control field, the lamp prosecutor method of bluetooth is based especially on, and in particular to a kind of dynamic based on bluetooth
The lamp control method of state networking.
Background technology
With the maturation and the proposition of smart home concept of PC and the communication technology, increasing intelligence control system should
Use in lamp control field.For example, in the control of LED string, LED string effect control originally is generally based on manual wireline case
Color change effect is realized in lower control, and this original control mode can only merely control a variety of colors effect of LED string
Change, and could control in case of a wired connection;Wireless control method then is occurred in that, using WIFI module in netting twine
Network environment, which is issued to, to realize control effect in the case of connection line.It is this to be based on WIFI lamp control system independences
Poor, if some WIFI node breaks down in the entire system, whole network breaks down, inconvenient for use.
With the development of wireless network, the lamp tele-control system using GPRS technologies, this remote control have also appeared
System, it is more to be typically employed in Street lamps control, but this technology is influenceed by GPRS technology person's characters, and this system has data
Efficiency of transmission is not high, and reliability not enough strong shortcoming.
Accordingly, it is now desired to which a kind of lamp prosecutor method, this method is the Cluster tree network (clusters based on bluetooth BLE4.0
Set network), cluster tree network is a kind of cordless communication network simple in construction, with low cost, and it is in low electric energy and poor throughput
It is possibly realized in application environment using wireless connection.Compared with WLAN, the Cluster tree networks based on bluetooth BLE4.0 are only
Need seldom infrastructure, in this embodiment it is not even necessary to infrastructure, it is intended to be low between distinct device in personal or home-ranges
Speed interconnection provides unified standard.
The content of the invention
In order to solve the above technical problems, the invention provides a kind of lamp control method based on bluetooth dynamic group net, the party
Method is simple to operate, disclosure satisfy that people to Intelligent housing operating experience demand, and the autonomy of this method lamp control
Height, unrestricted choice is controlled in control process.
To reach above-mentioned purpose, technical scheme is as follows:
A kind of lamp control method based on bluetooth dynamic group net, this method is based on cluster tree network constructing system, the system
Upper layer network including connecting composition between lamp and lamp, the bottom-layer network of some PC control ends compositions, the lamp and PC control ends
Between connect, this method include the following steps:
The first step:Bluetooth module is installed in each lamp, network characterization number is configured with the bluetooth module, in PC controls
End processed creates network, in PC control end setting network tag numbers;
Second step:Lamp in first addition network is as first node, and lamp enters networking state, lamp and PC control ends
Networking is connected;Several lamps enter networking state, turn into the node in network, networking between lamp and lamp after lamp networking;
3rd step:The lamp entered in PC control ends in control port, unrestricted choice control upper layer network.
In the preferred embodiment of the present invention, further comprise, the networking process described in second step is specifically included
Following steps:
Step one:First node of the Network finding of PC control ends, first node broadcasts its network characterization number;
Step 2:PC control ends verify whether the network characterization number of first node is consistent, first net if consistent
Network node and PC control end successful connections, first lamp add network;
Step 3:Second lamp is found as second node of networking by first node, verifies network characterization number
Afterwards, networking success, the like, by several lamp networkings.
In the preferred embodiment of the present invention, further comprise, the bluetooth module includes:
Memory module, the memory module is used for the information for storing network characterization number and lamp;
Broadcast module, the broadcast module is used to broadcast the network characterization number in bluetooth module;
Receiving module, the receiving module receives the network characterization number for carrying out the broadcast module broadcast;
Authentication module, the network characterization number and the network of itself that the authentication module checking receiving module is received is special
Whether the number of levying is consistent;
Link block, the link block links together the lamp with identical network tag number, and will have phase
The bottom-layer network of same network characterization number is connected with lamp, lamp control network of the composition with some nodes;
Transport module, the transport module is used for the synchronizing information of each node of internal system.
In the preferred embodiment of the present invention, further comprise, the PC control ends and the bluetooth module are propped up
Hold bluetooth BLE4.0 host-host protocols.
In the preferred embodiment of the present invention, further comprise, the PC control ends and the control of the bluetooth module
Scope processed is 10-100 meters.
In the preferred embodiment of the present invention, further comprise, PC control ends enter control end described in the 3rd step
The mode of mouth includes following several:PC control ends download control APP, from conventional social software entrance or the entrance from webpage.
In the preferred embodiment of the present invention, further comprise, the network characterization number includes ID tag numbers and close
Code, user's registration ID and setting password in bottom-layer network.
The beneficial effects of the invention are as follows:
The lamp control method based on bluetooth dynamic group net of one, the present invention, this method is simple to operate, disclosure satisfy that people
To Intelligent housing operating experience demand, and the autonomy of this method lamp control is high, the unrestricted choice in control process
Control.
Secondly, the present invention networking be a process based on cluster tree network, in the network having had built up, if certain
One lamp either some node that breaks down departs from network, remaining node can quickly networking again, autonomy is high, not shadow
Ring Web vector graphic.
Thirdly, system architecture of the present invention it is simple, infrastructure is few, and cost is relatively low, with personal or family's model
Enclose the unified standard of the low speed interconnection between interior distinct device.
Brief description of the drawings
Technical scheme in technology in order to illustrate the embodiments of the present invention more clearly, in being described below to embodiment technology
The required accompanying drawing used is briefly described, it should be apparent that, drawings in the following description are only some realities of the present invention
Example is applied, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to these accompanying drawings
Obtain other accompanying drawings.
Fig. 1 flow charts of the method for the present invention.
Fig. 2 is the method flow diagram of lamp networking of the present invention.
Fig. 3 is the schematic diagram of the bluetooth module of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
Embodiment
A kind of lamp control method based on bluetooth dynamic group net is disclosed in the present embodiment, this method is based on cluster tree group of networks
Net system, said system includes connecting the upper layer network of composition between lamp and lamp, the bottom-layer network of some PC control ends compositions, on
State and connected between lamp and PC control ends, in above-mentioned whole network, be connected between lamp and lamp, also may be used between lamp and PC control ends
To connect, but the lamp in upper layer network is controlled if several PC control ends, is not networked between several PC control ends,
But the information between PC control ends can be synchronous, because the information in whole network is point-to-point transfer mode, whole
Control information in network can be synchronous.
As shown in figure 1, this method includes the following steps:
The first step:Bluetooth module is installed in each lamp, network characterization number is configured with above-mentioned bluetooth module, in PC controls
End processed creates network, in PC control end setting network tag numbers;Above-mentioned network characterization number includes ID tag numbers and password, in bottom
User's registration ID and setting password in network.
Second step:Lamp in first addition network is as first node, and lamp enters networking state, lamp and PC control ends
Networking is connected;Several lamps enter networking state, turn into the node in network, networking between lamp and lamp after lamp networking.
3rd step:The lamp entered in PC control ends in control port, unrestricted choice control upper layer network;Above-mentioned PC control ends
Mode into control port is including following several:PC control ends download control APP, from conventional social software entrance or from net
Entrance in page.
Specifically, as shown in Figure 2, above-mentioned networking process specifically includes following steps in second step:
Step one:First node of the Network finding of PC control ends, first node broadcasts its network characterization number.
Step 2:PC control ends verify whether the network characterization number of first node is consistent, first net if consistent
Network node and PC control end successful connections, first lamp add network.
Step 3:Second lamp is found as second node of networking by first node, verifies network characterization number
Afterwards, networking success, the like, by several lamp networkings.
In the present embodiment, after the completion of networking, the upper layer network being made up of lamp is actually to play a part of route, lamp
Why can as the autonomous networking of cluster tree network node, be because be internally provided with bluetooth module in lamp, as shown in figure 3,
Above-mentioned bluetooth module includes:
Memory module, above-mentioned memory module is used for the information for storing network characterization number and lamp.
Broadcast module, above-mentioned broadcast module is used to broadcast the network characterization number in bluetooth module.
Receiving module, above-mentioned receiving module receives the network characterization number for carrying out above-mentioned broadcast module broadcast.
Authentication module, the network characterization number and the network of itself that the above-mentioned receiving module of above-mentioned authentication module checking is received is special
Whether the number of levying is consistent.
Link block, above-mentioned link block links together the lamp with identical network tag number, and will have phase
The bottom-layer network of same network characterization number is connected with lamp, lamp control network of the composition with some nodes.
Transport module, above-mentioned transport module is used for the synchronizing information of each node of internal system.
In the present embodiment, above-mentioned PC control ends and above-mentioned bluetooth module support bluetooth BLE4.0 host-host protocols.It is above-mentioned
PC control ends and the control range of above-mentioned bluetooth module are 10-100 meters.
If the sphere of action of node exceedes above-mentioned control range, network, which can divide, to fragmentate, if reentering control
In the range of, the node of splinter reformulates network.
In the present embodiment, above-mentioned PC control ends are by taking mobile phone as an example, and the control principle flow of the lamp control system is:Every
Being provided with individual lamp in bluetooth module, bluetooth module has unique network characterization number, and network (setting ID is created at mobile phone control end
Tag number and password), lamp is added one by one enters networking state between network, lamp, then lamp is recognized has identical network with it
The mobile phone of tag number, lamp and mobile phone networking.
In above-mentioned network, lamp and mobile phone can be connected as node between lamp and lamp, and lamp is connected with mobile phone, still
Do not connected between mobile phone and mobile phone, lamp constitutes upper layer network with lamp, play a part of route, mobile phone constitutes bottom control network,
The information of network internal can be synchronous, and the information between lamp and lamp can be transmitted, control information of one of mobile phone to lamp
Can be synchronous with remaining mobile phone.
The lamp control method based on bluetooth dynamic group net of the present invention, this method is simple to operate, disclosure satisfy that people to intelligence
Energy home control operating experience demand, and the autonomy of this method lamp control is high, and unrestricted choice is controlled in control process.
The networking of the present invention is a process based on cluster tree network, in the network having had built up, if some
Lamp either some node that breaks down departs from network, remaining node can quickly networking again, autonomy is high, does not influence net
Network is used.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or using the present invention.
A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention
The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one
The most wide scope caused.
Claims (6)
1. a kind of lamp control method based on bluetooth dynamic group net, this method is based on cluster tree network constructing system, the system bag
Include the upper layer network that composition is connected between lamp and lamp, the bottom-layer network of some PC control ends compositions, the lamp and PC control ends it
Between connect, it is characterised in that this method include the following steps:
The first step:Bluetooth module is installed in each lamp, network characterization number is configured with the bluetooth module, in PC control ends
Network is created, in PC control end setting network tag numbers;
Second step:Lamp in first addition network is as first node, and lamp enters networking state, lamp and PC control end networkings
Connection;Several lamps enter networking state, turn into the node in network, networking between lamp and lamp after lamp networking;
3rd step:The lamp entered in PC control ends in control port, unrestricted choice control upper layer network;
Networking process described in second step specifically includes following steps:
Step one:First node of the Network finding of PC control ends, first node broadcasts its network characterization;
Step 2:PC control ends verify whether the network characterization number of first node is consistent, first network section if consistent
Point and PC control end successful connections, first lamp add network;
Step 3:Second lamp is found as second node of networking by first node, after checking network characterization number, group
Net successfully, the like, by several lamp networkings.
2. a kind of lamp control method based on bluetooth dynamic group net according to claim 1, it is characterised in that the bluetooth
Module includes:
Memory module, the memory module is used for the information for storing network characterization number and lamp;
Broadcast module, the broadcast module is used to broadcast the network characterization number in bluetooth module;
Receiving module, the receiving module receives the network characterization number for carrying out the broadcast module broadcast;
Authentication module, the authentication module verifies the network characterization number and the network characterization number of itself that the receiving module is received
It is whether consistent;
Link block, the link block links together the lamp with identical network tag number, and will have identical
The bottom-layer network of network characterization number is connected with lamp, lamp control network of the composition with some nodes;
Transport module, the transport module is used for the synchronizing information of each node of internal system.
3. a kind of lamp control method based on bluetooth dynamic group net according to claim 2, it is characterised in that the PC controls
End processed and the bluetooth module support bluetooth BLE4.0 host-host protocols.
4. a kind of lamp control method based on bluetooth dynamic group net according to claim 3, it is characterised in that the PC controls
The control range of end processed and the bluetooth module is 10-100 meters.
5. a kind of lamp control method based on bluetooth dynamic group net according to claim 1, it is characterised in that in the 3rd step
The PC control ends enter the mode of control port including following several:PC control ends download control APP, from conventional social soft
Part entrance or the entrance from webpage.
6. a kind of lamp control method based on bluetooth dynamic group net according to claim 1, it is characterised in that the network
Tag number includes ID tag numbers and password, user's registration ID and setting password in bottom-layer network.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510531057.9A CN105050288B (en) | 2015-08-26 | 2015-08-26 | A kind of lamp control method based on bluetooth dynamic group net |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510531057.9A CN105050288B (en) | 2015-08-26 | 2015-08-26 | A kind of lamp control method based on bluetooth dynamic group net |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105050288A CN105050288A (en) | 2015-11-11 |
CN105050288B true CN105050288B (en) | 2017-10-31 |
Family
ID=54456352
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510531057.9A Active CN105050288B (en) | 2015-08-26 | 2015-08-26 | A kind of lamp control method based on bluetooth dynamic group net |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105050288B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110035590A (en) * | 2019-04-22 | 2019-07-19 | 深圳仙苗科技有限公司 | A kind of low standby power loss intelligent lamp control system using novel networking technology |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105279940A (en) * | 2015-12-01 | 2016-01-27 | 广州碧德电子科技有限公司 | Monitoring network networking method based on low-power Bluetooth |
CN106373398B (en) * | 2016-11-04 | 2020-06-02 | 南京理工大学 | Traffic sensor networking method based on Bluetooth communication |
CN108135049B (en) * | 2017-12-14 | 2019-07-12 | 惠州市海尼克电子科技有限公司 | The network-building method of lighting system |
CN110351929B (en) * | 2019-07-17 | 2021-11-16 | 苏州佩林软件技术有限公司 | Wireless lamp control system based on Bluetooth technology |
CN110602682A (en) * | 2019-10-11 | 2019-12-20 | 张洋 | Network management system and method based on Bluetooth BLE and mesh mixing |
CN112752226B (en) * | 2019-10-30 | 2022-06-24 | 惠州迪芬尼声学科技股份有限公司 | Method and system for Bluetooth low-power network configuration |
CN113259860B (en) * | 2021-06-15 | 2021-10-19 | 四川九通智路科技有限公司 | Ad hoc network method based on Bluetooth broadcast communication |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102123551A (en) * | 2011-01-10 | 2011-07-13 | 中山兴瀚科技有限公司 | Intelligent illuminating control system based on distributed control |
CN102984868B (en) * | 2012-12-20 | 2014-12-03 | 苏州东山精密制造股份有限公司 | Control system and method for luminaires |
CN204482087U (en) * | 2015-03-12 | 2015-07-15 | 深圳市昇润科技有限公司 | Smart bluetooth LED integrated lighting equipment |
-
2015
- 2015-08-26 CN CN201510531057.9A patent/CN105050288B/en active Active
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110035590A (en) * | 2019-04-22 | 2019-07-19 | 深圳仙苗科技有限公司 | A kind of low standby power loss intelligent lamp control system using novel networking technology |
CN110035590B (en) * | 2019-04-22 | 2021-08-17 | 深圳仙苗科技有限公司 | Low-standby-power-consumption intelligent lamp control system applying novel networking technology |
Also Published As
Publication number | Publication date |
---|---|
CN105050288A (en) | 2015-11-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105050288B (en) | A kind of lamp control method based on bluetooth dynamic group net | |
CN206712845U (en) | A kind of things-internet gateway equipment, internet of things equipment group network system | |
CN107493214A (en) | A kind of plug and play realizes smart home Internet of Things network control system and method | |
CN103916295B (en) | Data transmission method, equipment and gateway | |
CN103825821A (en) | Message forwarding method and network access device | |
CN107425879A (en) | A kind of wireless communications method based on common flue environment | |
CN110324907A (en) | A kind of service bearer configuration method and device | |
CN106209430A (en) | The method of a kind of wireless network extension and wireless router | |
CN202617367U (en) | Wireless transmission module | |
WO2015103848A1 (en) | Method, system and terminal for realizing network access via wifi | |
CN108712739A (en) | A kind of IOS systems obtain the method and device of Bluetooth address | |
CN106998605A (en) | A kind of router working station indicator intelligence control system and method | |
CN106793013A (en) | Wireless access system and its exchange method based on L2TP | |
CN107733760A (en) | The integrated intelligent domestic gateway of more communications based on Session Initiation Protocol and control method | |
CN108616847A (en) | A kind of linking bluetooth method, apparatus and bluetooth equipment | |
CN104125656B (en) | A kind of method of equipment connection, electronic equipment and connection system | |
CN103763676B (en) | Communication means and equipment between AP and AC | |
CN104066201B (en) | Data transmission method, device and electronic equipment | |
CN102244940A (en) | Heterogeneous wireless network transmission system based on Bluetooth and ZigBee | |
CN104333842A (en) | Intelligent device program resource sharing method and system based on WIFI | |
CN208768305U (en) | A kind of remote transport gateway based on LoRa technology | |
CN107342943B (en) | A method of the channel SCN is established under SPTN system Overlay scene | |
CN105427564A (en) | Outdoor shooting system and method based on WIFI (Wireless Fidelity) clone mode | |
CN103813287A (en) | Emergency communication network construction method | |
CN107770196A (en) | The unidirectional processing platform of network data based on wireless communication module and SOC |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CB03 | Change of inventor or designer information |
Inventor after: Cai Yi Inventor after: Chen Yuke Inventor before: Xu Weigang |
|
CB03 | Change of inventor or designer information |