CN108551415A - Intelligent domestic system, intelligent gateway and its control method - Google Patents

Intelligent domestic system, intelligent gateway and its control method Download PDF

Info

Publication number
CN108551415A
CN108551415A CN201810637163.9A CN201810637163A CN108551415A CN 108551415 A CN108551415 A CN 108551415A CN 201810637163 A CN201810637163 A CN 201810637163A CN 108551415 A CN108551415 A CN 108551415A
Authority
CN
China
Prior art keywords
channel
zigbee
module
processor
zigbee 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.)
Pending
Application number
CN201810637163.9A
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.)
Shenzhen Bincent Technology Co Ltd
Original Assignee
Shenzhen Bincent 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 Shenzhen Bincent Technology Co Ltd filed Critical Shenzhen Bincent Technology Co Ltd
Priority to CN201810637163.9A priority Critical patent/CN108551415A/en
Publication of CN108551415A publication Critical patent/CN108551415A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/54Allocation or scheduling criteria for wireless resources based on quality criteria
    • H04W72/541Allocation or scheduling criteria for wireless resources based on quality criteria using the level of interference
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • G05B19/4185Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the network communication
    • G05B19/4186Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the network communication by protocol, e.g. MAP, TOP
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/16Gateway arrangements
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L2012/284Home automation networks characterised by the type of medium used
    • H04L2012/2841Wireless
    • 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
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Manufacturing & Machinery (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention belongs to Smart Home technical fields, more particularly to a kind of intelligent domestic system, intelligent gateway and its control method, intelligent gateway includes that multiple subnets close, subnet pass includes processor, WIFI module and ZigBee module, when the processor receives the channel reading instruction that the router is sent, the processor judges whether the WIFI module and the ZigBee module are to initialize for the first time;The processor judges that the WIFI module and the ZigBee module are when initializing for the first time, the channel that the ZigBee module uses is set, and the WIFI module is set and disables channel identical with the channel that the ZigBee module uses, the technical program obtains the channel that ZigBee module and WIFI module use respectively, and ZigBee module and WIFI module are set before transmitting the data and use different channels, it avoids using caused by same channel the problem of signal interference.

Description

Intelligent domestic system, intelligent gateway and its control method
Technical field
The invention belongs to Smart Home technical field, more particularly to a kind of intelligent domestic system, intelligent gateway and its control Method.
Background technology
In existing technical solution, intelligent domestic system includes that gateway and various information terminal apparatus and intelligent appliance are set Standby, gateway is the pass of bridge and digital home's various businesses and application that entire home network is contacted with external network Key can receive signal of communication from different external networks, deliver a signal to some equipment by home network, such as print Mechanical, electrical refrigerator, computer, TV etc., gateway includes processor and wireless module in the prior art, and wireless module is usually WIFI moulds Block, WIFI module is operated in 2.4GHZ, and the licensed band of ZigBee module is also in 2.4GHZ, has been natively very crowded Frequency range, it is this dry when especially two kinds of wireless modules are also existed simultaneously in the same equipment if equipment distance is very close Disturb it is just particularly evident, in order to avoid this WiFi module existed simultaneously in an equipment and ZigBee module signal interference, There is scheme manufacturer to use the pattern that software and hardware is combined and specify Anti-interference Strategy, but this solution effect is not to manage very much Think and various problem may be brought.
Invention content
The purpose of the present invention is to provide a kind of intelligent domestic system, intelligent gateway and its control methods, solve existing skill The problem of being present in WiFi module and ZigBee module signal interference in an equipment while proposition in art.
The invention is realized in this way first aspect present invention provides a kind of intelligent gateway, the intelligent gateway and routing Device connects, and the intelligent gateway includes that multiple subnets close, and the subnet pass includes processor, WIFI module and ZigBee module, The processor is separately connected the WIFI module and the ZigBee module, and the processor is also connected with the router, institute It states WIFI module and connects at least one terminal, the ZigBee module connects at least one terminal;
When the processor receives the channel reading instruction that the router is sent, the processor judges the WIFI moulds Whether block and the ZigBee module are to initialize for the first time;
The processor judges that the WIFI module and the ZigBee module are when initializing for the first time, described in setting The channel that ZigBee module uses, and the WIFI module is set and disables letter identical with the channel that the ZigBee module uses Road;
The processor judges that the WIFI module and the ZigBee module are not when initializing for the first time, described in acquisition ZigBee module and WIFI module channel currently in use.
Second aspect of the present invention provides a kind of control method of intelligent gateway, and the intelligent gateway is connect with router, institute It includes that multiple subnets close to state intelligent gateway, and the subnet pass includes processor, WIFI module and ZigBee module, the processor It is separately connected the WIFI module and the ZigBee module, the processor is also connected with the router, the WIFI module At least one terminal is connected, the ZigBee module connects at least one terminal;
The control method includes:
When the processor receives the channel reading instruction that the router is sent, the processor judges the WIFI moulds Whether block and the ZigBee module are to initialize for the first time;
The processor judges that the WIFI module and the ZigBee module are when initializing for the first time, described in setting The channel that ZigBee module uses, and the WIFI module is set and disables letter identical with the channel that the ZigBee module uses Road;
The processor judges that the WIFI module and the ZigBee module are not when initializing for the first time, described in acquisition ZigBee module and WIFI module channel currently in use.
Third aspect present invention provides a kind of intelligent domestic system, and the intelligent domestic system includes intelligent router, more Intelligent gateway described in a terminal and first aspect.
The invention belongs to Smart Home technical field, more particularly to a kind of intelligent domestic system, intelligent gateway and its control Method, intelligent gateway include that multiple subnets close, and subnet pass includes processor, WIFI module and ZigBee module, the processor When receiving the channel reading instruction that the router is sent, the processor judges the WIFI module and the ZigBee module Whether it is to initialize for the first time;The processor judges that the WIFI module and the ZigBee module are when initializing for the first time, if The channel that the ZigBee module uses is set, and the WIFI module is set and disables the channel phase used with the ZigBee module Same channel, the technical program obtains the channel that ZigBee module and WIFI module use respectively, and is arranged before transmitting the data ZigBee module and WIFI module use different channels, avoid using caused by same channel the problem of signal interference.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description be only the present invention some Embodiment for those of ordinary skill in the art without having to pay creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the structural schematic diagram that the subnet in a kind of intelligent gateway that an embodiment of the present invention provides closes;
Fig. 2 is a kind of structural schematic diagram for intelligent gateway that an embodiment of the present invention provides;
Fig. 3 is a kind of flow chart of the control method for intelligent gateway that an embodiment of the present invention provides;
Fig. 4 is a kind of flow chart of the control method for intelligent gateway that an embodiment of the present invention provides;
Fig. 5 is a kind of flow chart of the control method for intelligent gateway that an embodiment of the present invention provides;
Fig. 6 is a kind of flow chart of the control method for intelligent gateway that an embodiment of the present invention provides;
Fig. 7 is a kind of structural schematic diagram for intelligent domestic system that an embodiment of the present invention provides.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
In order to illustrate technical scheme of the present invention, illustrated below by specific embodiment.
Embodiment 1
The embodiment of the present invention 1 provides a kind of intelligent gateway, as shown in Figure 1, the intelligent gateway is connect with router, it is described Intelligent gateway includes that multiple subnets close 201, and it includes processor 210, WIFI module 211 and ZigBee module that the subnet, which closes 201, 212, the processor 210 is separately connected the WIFI module 211 and the ZigBee module 212, and the processor 210 also connects The router is connect, the WIFI module 211 connects at least one terminal, the connection of the ZigBee module 212 at least one A terminal;
When the processor 210 receives the channel reading instruction that the router is sent, the processor 210 judges described Whether WIFI module 211 and the ZigBee module 212 are to initialize for the first time;
The processor 210 judges that the WIFI module 211 and the ZigBee module 212 are when initializing for the first time, if The channel that the ZigBee module 212 uses is set, and the disabling of the WIFI module 211 is arranged with the ZigBee module 212 to make The identical channel of channel;
The processor 210 judges that the WIFI module 211 and the ZigBee module 212 are not when initializing for the first time, Obtain 211 channel currently in use of the ZigBee module 212 and the WIFI module.
Wherein, when router is by intelligent gateway transmission data, each module transfer data in intelligent gateway are first obtained Channel, processor 210 judge whether WIFI module 211 and ZigBee module 212 are for the first time when getting channel reading instruction Initialization, when to initialize for the first time, the channel that need to be used ZigBee module 212 and WIFI module 211 is configured, first The channel of ZigBee module 212 is configured, when the channel then used again WIFI module 211 is configured, is avoided The channel of ZigBee module 212, when not being to initialize for the first time, at this point, the ZigBee module 212 and the WIFI module 211 have completed setting channel, read the channel set by ZigBee module 212 first, then read set by WIFI module 211 Channel.
Further, when processor 210 obtains the channel of ZigBee module 212, according to the ZigBee channels that prestore with Correspondence between WIFI channels obtains WIFI channels, then controls WIFI module 211 and disable acquired WIFI channels.
Specifically, ZigBee module 212 usually can determine whether channel when creating network, and provided really according to agreement Channel can be dynamically adjusted after determining channel, when the channel of ZigBee module 212 just determines substantially when creating network, base Determining channel can be informed into system after ZigBee module 212 creates network in this characteristic, system is by ZigBee module 212 The channel used forecloses, and shows that the channel that ZigBee module 212 uses is believed for the 11st channel and the 26th by largely testing Interference that road is subject to is minimum, the 11st channel of ZigBee module 212 and the 26th channel corresponds to the 1st channel of WIFI module 211 with 13rd channel, if ZigBee module 212 uses 11 channels, control WIFI module 211 do not use 1 channel, similarly if ZigBee module 212 uses 26 channels, then controls WIFI module 211 and do not use 13 channels.
The present embodiment obtains the channel that ZigBee module 212 and WIFI module 211 use respectively in transmission data, and ZigBee module 212 is set before transmitting the data and WIFI module 211 uses different channels, avoids and is led using same channel The problem of signal interference of cause.
Optionally, as an implementation, the channel that the ZigBee module 212 uses is arranged in the processor 210, Including:
The processor 210 obtains the channel list of the ZigBee module 212, to the channel in the channel list into Row energy measuring obtains the channel power values of each channel, and channel of the channel power values beyond preset energy value range is marked For non-available channel, the processor 210 is according to the Beacon frames of reception, in remaining not labeled ZigBee channels, It determines the minimum ZigBee channels of occupancy, and can be working channel by the minimum ZigBee channel settings of the occupancy.
Wherein, processor 210 can carry out energy measuring to the ZigBee channels in ZigBee channel lists, determine each The energy value of a channel, processor 210 incrementally can be arranged each channel based on the energy value of each channel Sequence, and channel of the channel power values beyond preset energy value range can be labeled as non-available channel, ZigBee at this time Available channel by with permission energy level channel.
For example, if when energy value is characterized with LQI (link-quality instruction), processor 210 can be in a period of time Interior, the energy based on the data frame received and quality determine the average value of the energy value of above-mentioned unmarked channel, then being based on should The average value of energy value, is incrementally ranked up channel, and can be by channel power values higher than preset threshold value Channel is labeled as non-available channel.
After completing the energy screening of above-mentioned ZigBee channels, processor 210 can based on the Beacon frames received, In remaining not labeled ZigBee channels, the minimum ZigBee channels of occupancy are determined, and can be by the occupancy Minimum ZigBee channel settings are working channel.
Processor 210 can count in a scheduled time range through each remaining not labeled channel Beacon frames quantity, select the minimum channel of Beacon number of frames, optimum channel determined, as working channel.
Energy value can be higher than preset threshold value by embodiment of the present invention processor 210 in ZigBee channel lists Channel be labeled as non-available channel, and it is minimum can to select occupancy based on the quantity of the Beacon frames received ZigBee channels may be implemented to select suitable ZigBee channels as working channel.
Optionally, as an implementation, when the ZigBee module 212 in the adjoining subnetworks Central Shanxi Plain is using same channel, The interference of meeting presence signal causes two intelligent gateways that can not communicate with each other between ZigBee module 212, therefore, as two ZigBee Between module 212 exist can not transmission data when, can pass through change transmission data channel realize signal transmission.
Specifically, the processor 210, which controls the ZigBee module 212, sends Interference Detection request bag to adjoining subnetworks The ZigBee module 212 of pass;
When the processor 210 receives the acknowledgement frame of the transmission of ZigBee module 212 of adjoining subnetworks pass, described in holding The present channel of ZigBee module 212;
When the processor 210 does not receive the acknowledgement frame of the transmission of ZigBee module 212 of adjoining subnetworks pass, switch institute The present channel of ZigBee module 212 is stated to the low ZigBee channels of occupancy time, and controls the ZigBee module 212 again The ZigBee module 212 that Interference Detection request bag to adjoining subnetworks close is sent, until receiving acknowledgement frame.
In present embodiment, in the acknowledgement frame that the ZigBee module 212 for not receiving adjoining subnetworks pass is sent, adjustment Present channel used in ZigBee module 212 realizes the normal communication between adjoining subnetworks pass until receiving response.
Optionally, as an implementation, when the work same channel of WIFI module 211 in two neighboring intelligent gateway When, the transmission quality of signal can be made to be interfered and decline, therefore, when the WIFI module 211 in two neighboring intelligent gateway is deposited In interference, reduction interference can be realized by changing the channel of transmission data.
It is sent out specifically, the processor 210 controls the WIFI module 211 that the ZigBee module 212 is closed to adjoining subnetworks It is the mac address informations for simulating different equipment to send Beacon messages, the Beacon messages;
According to the Beacon Receive messages, it uses the degree of disturbance of channel to the WIFI module 211 that the adjoining subnetworks close, And the channel for selecting degree of disturbance minimum is working channel.
Concrete example illustrates below, is closed as shown in Fig. 2, subnet pass includes the first subnet pass 220 and the second subnet 230, first subnet closes 220 and includes first processor 221, the first ZigBee module 223 and the first WIFI module 222, It includes second processor 231, the second ZigBee module 233 and the second WIFI module 232 that second subnet, which closes 230,;First The working channel of ZigBee module 223 is channel 11, and the main working channel of the first WIFI module 222 is channel 21, optional work It is channel 22 and channel 23 to make channel, and the working channel that the second subnet closes the second ZigBee module 233 in 230 is channel 10, The main working channel of second WIFI module 232 is channel 21, optional working channel is channel 24 and channel 25, and the first subnet closes First processor 221 in 220 controls the first WIFI module 222 and uses 21 transmission data signal of channel, and controls the first WIFI The second WIFI module 232 that module 222 closes 230 to the second subnet sends Beacon messages, and Beacon messages are that simulation is different The mac address informations of equipment, to indicate the identity of different equipment, so that the second WIFI module 232 is carrying out work letter When the detection of road degree of disturbance, it can judge that the annoyance level that the working channel detected is subject to is serious, the second WIFI module 232 receives the The Beacon messages of one WIFI module 222 transmitting, are detected the working channel 21 being presently in, judge current operating channel Whether 21 interference relevant parameter reaches interference threshold, if then adjusting the working channel 21 being presently in, jumps to channel 22, Continue to analyze the degree of disturbance of channel 22 and channel 23 after redirecting, and the optimal channel of final choice degree of disturbance is redirected.
Present embodiment its Beacon messages are emitted by the transmission power and the different equipment of simulation for improving itself outward Mode, it is dry to obtain one to make the WIFI module in the adjoining subnetworks Central Shanxi Plain expel the interference in working channel 11 Net network environment.
Optionally, as an implementation, the first subnet closes 220 the first WIFI module of control of first processor 221 222 the second WIFI modules 232 closed to the second adjacent subnet send Beacon messages, and the second subnet closes 230 the 2nd WIFI Module 232 obtains the mark and encryption identification that the first channel logo, the first subnet that Beacon messages carry close, the 2nd WIFI moulds Block 232 obtains the second channel mark of the channel, and obtains the first channel logo corresponding the with second channel mark unanimously The mark and encryption identification that one subnet closes, and determine encryption identification in the mark and encryption identification closed from the first subnet got The mark of corresponding first subnet pass is identified to be default, and counts the quantity of the mark of first subnet pass, judges that the quantity is It is no to be less than default value, if the quantity is less than default value, indicate that the channel is inactive channel, the second WIFI module 232 passes through The channel, which does not receive, belongs to the WIFI messages that non-encrypted first subnet closes, therefore can filter out the channel, if the quantity Less than default value, which is determined as efficient channel, and the corresponding weights of the efficient channel are determined according to the quantity, and will The efficient channel is recorded with the weights in efficient channel list.
In one embodiment, since MAC Address, the first channel mark that the first subnet closes would generally be carried in BEACON messages The information such as knowledge, wherein the first channel logo is believed for indicating that the BEACON messages come to be directed toward using first channel logo First subnet in road closes, and encrypted word segment value is used to indicate that first subnet to close whether the wireless network provided is encrypted, for example, can be with Privacy field values in BEACON messages are determined as encryption identification, if Privacy field values are 1, then it represents that this first It is encrypted that subnet, which closes the wireless network provided, if Privacy field values are 0, then it represents that first subnet closes the nothing provided Gauze network is non-encrypted.Since the MAC Address that the first subnet closes can be closed with one the first subnet of unique mark, the first son The mark of gateway can be the MAC Address that the first subnet closes.
Due to there is frequency range overlapping between adjacent channel, the BEACON messages received may have using another adjacent First subnet of channel closes the BEACON messages sent, the first channel logo and second channel that can carry BEACON messages Mark compares, if unanimously, then it represents that the BEACON messages from using the first subnet of the channel to close, if it is inconsistent, The BEACON messages are indicated from the intelligent gateway for using another adjacent channel, default mark can be 0, and acquisition terminal can be first It determines that encryption identification is the MAC Address that 0 corresponding first subnet closes from all encryption identifications, then counts channel mark again Know is that corresponding first subnet of channel that second channel identifies closes quantity.In one embodiment, which can be according to reality Border demand is configured, for example, default value can be 0, as long as having the first non-encrypted subnet to close uses the channel, so that it may The channel is determined as efficient channel.
Embodiment 2
The embodiment of the present invention 2 provides a kind of control method of intelligent gateway, and the intelligent gateway is connect with router, described Intelligent gateway includes that multiple subnets close, and the subnet pass includes processor, WIFI module and ZigBee module, the processor point The WIFI module and the ZigBee module are not connected, and the processor is also connected with the router, and the WIFI module connects At least one terminal is connect, the ZigBee module connects at least one terminal;
As shown in figure 3, the control method includes:
When processor described in step S121. receives the channel reading instruction that the router is sent, the WIFI moulds are judged Whether block and the ZigBee module are to initialize for the first time.
Processor described in step S122. judges that the WIFI module and the ZigBee module are when initializing for the first time, if The channel that the ZigBee module uses is set, and the WIFI module is set and disables the channel phase used with the ZigBee module Same channel.
Processor described in step S123. judges that the WIFI module and the ZigBee module are not when initializing for the first time, Obtain the ZigBee module and WIFI module channel currently in use.
In the step S122, as shown in figure 4, the channel that the ZigBee module uses is arranged in the processor, including:
Processor described in step S201. obtains the channel list of the ZigBee module, to the letter in the channel list Road carries out the channel power values that energy measuring obtains each channel, and channel power values are exceeded to the channel of preset energy value range Labeled as non-available channel.
Processor described in step S202. is according to the Beacon frames of reception, in remaining not labeled ZigBee channels, It determines the minimum ZigBee channels of occupancy, and can be working channel by the minimum ZigBee channel settings of the occupancy.
As shown in figure 5, the control method further includes:
Processor described in step S50. controls the ZigBee module and sends what Interference Detection request bag was closed to adjoining subnetworks ZigBee module.
Step S60. keeps institute when the processor receives the acknowledgement frame of ZigBee module transmission of adjoining subnetworks pass State the present channel of ZigBee module.
Step S70. is not when the processor receives the acknowledgement frame of ZigBee module transmission of adjoining subnetworks pass, switching The present channel of the ZigBee module controls the ZigBee module and sends again to the low ZigBee channels of occupancy time The ZigBee module that Interference Detection request bag is closed to adjoining subnetworks, until receiving acknowledgement frame.
As shown in fig. 6, the control method further includes:
Processor described in step S80. controls the WIFI module that the WIFI module is closed to adjoining subnetworks and sends Beacon reports Text, the Beacon messages are the mac address informations for simulating different equipment;
According to the Beacon Receive messages, it uses the dry of channel to the WIFI module that adjoining subnetworks described in step S90. close Degree of disturbing, and the channel for selecting degree of disturbance minimum is working channel.
Embodiment 3
The embodiment of the present invention 3 provides a kind of intelligent domestic system, as shown in fig. 7, the intelligent domestic system includes routing Device 10, multiple terminals and intelligent gateway described in embodiment 1 20.
The intelligent gateway 20 is connect with router 10, the intelligent gateway 20 include multiple subnets close 201,202 to 20N, the subnet close 201 connection terminals 301,302 to 30N, and the subnet closes 202 connection terminals 311,312 to 31N, described Subnet closes 20N connections terminal 321,322 to 32N.
Wherein, for router, router has control function and a routing function, and intelligent router can be according to from network The control instruction of middle reception controls sub- gateway, can control opening or disconnecting for subnet pass, can also be closed to subnet Send operational order and correlate the terminal that connects with subnet to control, for example, can receive user by mobile terminal send to certain The operational order that a terminal is sent, which is not only the opening to switch or closing, can also be specific to terminal Realization certain function operational order, router can also be directly connected to terminal, control terminal.
The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to the foregoing embodiments Invention is explained in detail, it will be understood by those of ordinary skill in the art that:It still can be to aforementioned each implementation Technical solution recorded in example is modified or equivalent replacement of some of the technical features;And these modification or It replaces, the spirit and scope for various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution should all include Within protection scope of the present invention.

Claims (10)

1. a kind of intelligent gateway, the intelligent gateway is connect with router, which is characterized in that the intelligent gateway includes multiple sons Gateway, the subnet pass includes processor, WIFI module and ZigBee module, and the processor is separately connected the WIFI module With the ZigBee module, the processor is also connected with the router, and the WIFI module connects at least one terminal, The ZigBee module connects at least one terminal;
When the processor receives the channel that the router is sent and reads instruction, the processor judge the WIFI module with Whether the ZigBee module is to initialize for the first time;
The processor judges that the WIFI module and the ZigBee module are that the ZigBee moulds are arranged when initializing for the first time The channel that block uses, and the WIFI module is set and disables channel identical with the channel that the ZigBee module uses;
The processor judges that the WIFI module and the ZigBee module are not when initializing for the first time, to obtain the ZigBee Module and WIFI module channel currently in use.
2. intelligent gateway as described in claim 1, which is characterized in that the processor is arranged what the ZigBee module used Channel, including:
The processor obtains the channel list of the ZigBee module, and energy measuring is carried out to the channel in the channel list Channel of the channel power values beyond preset energy value range is labeled as non-available letter by the channel power values for obtaining each channel Road;
The processor determines occupancy according to the Beacon frames of reception in remaining not labeled ZigBee channels Minimum ZigBee channels, and can be working channel by the minimum ZigBee channel settings of the occupancy.
3. intelligent gateway as claimed in claim 2, which is characterized in that it is dry that the processor controls the ZigBee module transmission Disturb the ZigBee module that detection request bag is closed to adjoining subnetworks;
When the processor receives the acknowledgement frame of ZigBee module transmission of adjoining subnetworks pass, the ZigBee module is kept Present channel;
When the processor does not receive the acknowledgement frame of ZigBee module transmission of adjoining subnetworks pass, switch the ZigBee moulds The present channel of block controls the ZigBee module and sends Interference Detection request again to the low ZigBee channels of occupancy time The ZigBee module closed to adjoining subnetworks is wrapped, until receiving acknowledgement frame.
4. intelligent gateway as claimed in claim 3, which is characterized in that the processor controls the WIFI module to adjacent son The WIFI module of gateway sends Beacon messages, and the Beacon messages are the mac address informations for simulating different equipment;
According to the Beacon Receive messages, it uses the degree of disturbance of channel to the WIFI module that the adjoining subnetworks close, and selects dry The minimum channel of degree of disturbing is working channel.
5. intelligent gateway as claimed in claim 3, which is characterized in that the subnet pass includes that the first subnet closes and the second subnet It closes, first subnet pass includes first processor and the first ZigBee module, and it includes second processor and that the second subnet, which closes, Two WIFI modules;
The first processor controls the 2nd WIFI moulds that first WIFI module is closed to adjacent second subnet Block sends Beacon messages;
Second WIFI module obtains the mark and encryption mark that the first channel logo, the first subnet that Beacon messages carry close Know, second WIFI module obtains second channel mark, and obtains first channel logo pair consistent with second channel mark The mark and encryption identification that the first subnet answered closes, and determine and add in the mark and encryption identification closed from the first subnet got The close mark for being identified as corresponding first subnet of default mark and closing, and the quantity of the mark of first subnet pass is counted, judging should Whether quantity is less than default value, if the quantity is less than default value, which is determined as inactive channel, if the quantity is not small In default value, which is determined as efficient channel.
6. a kind of control method of intelligent gateway, the intelligent gateway are connect with router, which is characterized in that the intelligent gateway It is closed including multiple subnets, the subnet pass includes processor, WIFI module and ZigBee module, and the processor is separately connected institute WIFI module and the ZigBee module are stated, the processor is also connected with the router, the WIFI module connection at least one A terminal, the ZigBee module connect at least one terminal;
The control method includes:
When the processor receives the channel reading instruction that the router is sent, the WIFI module and the ZigBee are judged Whether module is to initialize for the first time;
The processor judges that the WIFI module and the ZigBee module are that the ZigBee moulds are arranged when initializing for the first time The channel that block uses, and the WIFI module is set and disables channel identical with the channel that the ZigBee module uses;
The processor judges that the WIFI module and the ZigBee module are not when initializing for the first time, to obtain the ZigBee Module and WIFI module channel currently in use.
7. control method as claimed in claim 6, which is characterized in that the processor is arranged what the ZigBee module used Channel, including:
The processor obtains the channel list of the ZigBee module, and energy measuring is carried out to the channel in the channel list Channel of the channel power values beyond preset energy value range is labeled as non-available letter by the channel power values for obtaining each channel Road;
The processor determines occupancy according to the Beacon frames of reception in remaining not labeled ZigBee channels Minimum ZigBee channels, and can be working channel by the minimum ZigBee channel settings of the occupancy.
8. control method as claimed in claim 6, which is characterized in that the control method further includes:
The processor controls the ZigBee module and sends the ZigBee module that Interference Detection request bag is closed to adjoining subnetworks;
When the processor receives the acknowledgement frame of ZigBee module transmission of adjoining subnetworks pass, the ZigBee module is kept Present channel;
When the processor does not receive the acknowledgement frame of ZigBee module transmission of adjoining subnetworks pass, switch the ZigBee moulds The present channel of block controls the ZigBee module and sends Interference Detection request again to the low ZigBee channels of occupancy time The ZigBee module closed to adjoining subnetworks is wrapped, until receiving acknowledgement frame.
9. control method as claimed in claim 8, which is characterized in that the processor controls the ZigBee module to adjacent The WIFI module that subnet closes sends Beacon messages, and the Beacon messages are the mac address informations for simulating different equipment;
According to the Beacon Receive messages, it uses the degree of disturbance of channel to the WIFI module that the adjoining subnetworks close, and selects dry The minimum channel of degree of disturbing is working channel.
10. a kind of intelligent domestic system, which is characterized in that the intelligent domestic system includes router, multiple terminals and power Profit requires the intelligent gateway described in 1 to 5 any one.
CN201810637163.9A 2018-06-20 2018-06-20 Intelligent domestic system, intelligent gateway and its control method Pending CN108551415A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810637163.9A CN108551415A (en) 2018-06-20 2018-06-20 Intelligent domestic system, intelligent gateway and its control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810637163.9A CN108551415A (en) 2018-06-20 2018-06-20 Intelligent domestic system, intelligent gateway and its control method

Publications (1)

Publication Number Publication Date
CN108551415A true CN108551415A (en) 2018-09-18

Family

ID=63493412

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810637163.9A Pending CN108551415A (en) 2018-06-20 2018-06-20 Intelligent domestic system, intelligent gateway and its control method

Country Status (1)

Country Link
CN (1) CN108551415A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109150336A (en) * 2018-10-29 2019-01-04 四川长虹电器股份有限公司 Create the method and device of Zigbee network
CN109547299A (en) * 2018-10-15 2019-03-29 深圳市欧瑞博科技有限公司 Information processing method, device, intelligence control system, intelligent gateway and server
CN110278590A (en) * 2019-06-21 2019-09-24 合肥工业大学智能制造技术研究院 A kind of intelligent luminaire communications channel selecting method
CN110824946A (en) * 2019-11-27 2020-02-21 南京博联智能科技有限公司 Intelligent equipment control system and method based on WiFi ad hoc network
CN115580912A (en) * 2022-12-07 2023-01-06 深圳市华曦达科技股份有限公司 Whole-house intelligent equipment WiFi connection management method, system and storage medium
CN116248567A (en) * 2023-02-21 2023-06-09 深圳绿米联创科技有限公司 Intelligent device testing method and device, electronic device and testing system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130155957A1 (en) * 2011-04-08 2013-06-20 The Regents Of The University Of Michigan Coordination amongst heterogeneous wireless devices
CN103517293A (en) * 2012-06-29 2014-01-15 华为技术有限公司 Anti-interference method and equipment of ZigBee network
CN104202760A (en) * 2014-09-09 2014-12-10 南京物联传感技术有限公司 Same-frequency channel interference eliminating method
CN104968000A (en) * 2015-06-19 2015-10-07 北京晶点科技有限公司 Method of reducing mutual interference between ZigBee and WiFi in same equipment
CN206314008U (en) * 2016-07-27 2017-07-07 山东大学 A kind of gateway for merging plurality of wireless networks
CN107071912A (en) * 2017-04-17 2017-08-18 北京星网锐捷网络技术有限公司 A kind of method and apparatus for distributing channel in a wireless local area network
CN107071909A (en) * 2017-02-09 2017-08-18 浙江风向标科技有限公司 The system of selection of ZigBee channels and device
CN107919901A (en) * 2016-10-10 2018-04-17 网件公司 The channel in wireless network is controlled to use

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130155957A1 (en) * 2011-04-08 2013-06-20 The Regents Of The University Of Michigan Coordination amongst heterogeneous wireless devices
CN103517293A (en) * 2012-06-29 2014-01-15 华为技术有限公司 Anti-interference method and equipment of ZigBee network
CN104202760A (en) * 2014-09-09 2014-12-10 南京物联传感技术有限公司 Same-frequency channel interference eliminating method
CN104968000A (en) * 2015-06-19 2015-10-07 北京晶点科技有限公司 Method of reducing mutual interference between ZigBee and WiFi in same equipment
CN206314008U (en) * 2016-07-27 2017-07-07 山东大学 A kind of gateway for merging plurality of wireless networks
CN107919901A (en) * 2016-10-10 2018-04-17 网件公司 The channel in wireless network is controlled to use
CN107071909A (en) * 2017-02-09 2017-08-18 浙江风向标科技有限公司 The system of selection of ZigBee channels and device
CN107071912A (en) * 2017-04-17 2017-08-18 北京星网锐捷网络技术有限公司 A kind of method and apparatus for distributing channel in a wireless local area network

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109547299A (en) * 2018-10-15 2019-03-29 深圳市欧瑞博科技有限公司 Information processing method, device, intelligence control system, intelligent gateway and server
CN109150336A (en) * 2018-10-29 2019-01-04 四川长虹电器股份有限公司 Create the method and device of Zigbee network
CN110278590A (en) * 2019-06-21 2019-09-24 合肥工业大学智能制造技术研究院 A kind of intelligent luminaire communications channel selecting method
CN110278590B (en) * 2019-06-21 2021-05-25 合肥工业大学智能制造技术研究院 Intelligent lighting lamp communication transmission channel selection method
CN110824946A (en) * 2019-11-27 2020-02-21 南京博联智能科技有限公司 Intelligent equipment control system and method based on WiFi ad hoc network
CN115580912A (en) * 2022-12-07 2023-01-06 深圳市华曦达科技股份有限公司 Whole-house intelligent equipment WiFi connection management method, system and storage medium
CN115580912B (en) * 2022-12-07 2023-03-03 深圳市华曦达科技股份有限公司 Whole-house intelligent equipment WiFi connection management method, system and storage medium
CN116248567A (en) * 2023-02-21 2023-06-09 深圳绿米联创科技有限公司 Intelligent device testing method and device, electronic device and testing system

Similar Documents

Publication Publication Date Title
CN108551415A (en) Intelligent domestic system, intelligent gateway and its control method
TWI514904B (en) Method and apparatus of improving proximity service discovery in a wireless communication system
CN101904126B (en) Scrambling code allocation in a cellular communication network
EP1987628B1 (en) Method and apparatus for providing access for a limited set of mobile stations to a restricted local access point
US8837327B2 (en) Method and device for managing network topology structure of machine to machine network
US20090124207A1 (en) Protocol Reference Model, Security and Inter-Operability in a Cognitive Communications System
CN106576351A (en) Channel selection metrics in shared spectrum
CN104363990B (en) The method and Wi-Fi access nodes of user equipment access Wireless Fidelity Wi-Fi
JP2010521088A (en) Neighbor cell self-configuration and optimization in wireless telecommunication networks
CN103228051B (en) Radio apparatus and method for controlling radio apparatus
CN111869118A (en) Beam reporting configuration for serving frequency measurements
CN105101422A (en) Information sending method, information processing method and apparatus
CN105052194A (en) Neighbor cell measurement method and device
CN106576292A (en) Method and apparatus for scanning access point in wireless lan system
CN106060816A (en) Wireless self-networking method and system
CN103369587A (en) Method and device for measurement
WO2015161516A1 (en) Base station, user equipment, resource obtaining method and system
CN105208657B (en) A kind of data transmission method, equipment and system
CN102057728A (en) Cell-selective network access
CN112532363B (en) SRS transmission method, terminal and storage medium
TW201927052A (en) Wireless network device and associated wireless network access method
US10798610B2 (en) Information issuing method, data sending method, apparatus and system
CN105578453B (en) addressing method and device
CN102857904A (en) Hot spot opening method and device
CN104619048A (en) Methods and apparatus for selecting and signaling a preferred link among a plurality of maintained wireless communications links

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180918