CN109041152A - A kind of method and apparatus of network reconfiguration - Google Patents
A kind of method and apparatus of network reconfiguration Download PDFInfo
- Publication number
- CN109041152A CN109041152A CN201810768257.XA CN201810768257A CN109041152A CN 109041152 A CN109041152 A CN 109041152A CN 201810768257 A CN201810768257 A CN 201810768257A CN 109041152 A CN109041152 A CN 109041152A
- Authority
- CN
- China
- Prior art keywords
- networking
- new channel
- networked devices
- channel
- equipment
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/06—Reselecting a communication resource in the serving access point
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of methods and apparatus of network reconfiguration, to solve the problem of that network causes network can not work normally when being interfered.Networking equipment first of the embodiment of the present invention is in the new channel for needing after networking, to use after selecting networking again in the channel for meet disturbed condition again;Then the networking equipment notifies the information of the new channel of selection to the networked devices in network;After the last networking equipment is switched to new channel, the networked devices for accessing new channel with application carry out networking.The above method guarantees that network works normally by realizing that network reconfiguration, the channel that can more renew in time when network is interfered and can not work normally improve network communication quality.
Description
Technical field
The present invention relates to Internet of Things and smart home field, in particular to a kind of network reconfiguration method and apparatus.
Background technique
At present in the presence of numerous wireless protocols, the identical equipment of various frequencies can occupy radio channel resource,
Interference is formed to the other equipment carried out wireless communication in cochannel, communication quality generation is seriously affected, its communication is caused to lose
Packet significantly rises or even can not normal communication.Such as Zigbee used by smart home field (- purple honeybee) wireless communication protocol,
The agreement operates in ISM (Industrial Scientific Medical, the industry of 2.4GHz (gigahertz, gigahertz)
Scientific Medical) frequency range.And there is also other communication protocols such as WIFI in the ISM band of 2.4GHz for home environment at present
(Wireless Fidelity, Wireless Fidelity), Bluetooth (bluetooth), Thread (family's Internet of Things communications protocol technology),
Proprietary protocol etc..Be especially in the presence of the communication equipment of larger transmission power, wider channel width as WIFI, can to
The communication quality generation of the low-power ZigBee equipment to work in this frequency bandwidth and in close frequencies channel seriously affects, and makes
Significantly rising at its communication packet loss even can not normal communication.
Due to the regulation of network protocol layer, such as the regulation of above-mentioned Zigbee protocol layer, once ZigBee-network networking at
Function, channel are fixed, and when there is high reject signal to interfere with this channel, often can not work normally ZigBee-network.
In conclusion network reconfiguration method is easy to cause when by identical frequency or close frequencies air interference at present
Communication quality decline causes network can not work normally.
Summary of the invention
The present invention provides a kind of method and apparatus of network reconfiguration, to solve current network reconfiguration method by identical
When frequency or close frequencies air interference, communication quality is caused to decline the problem of causing network can not work normally.
In a first aspect, the method for network reconfiguration provided in an embodiment of the present invention includes:
Networking equipment uses after selecting networking again in the channel for meet disturbed condition after needing networking again first
New channel;Then the networking equipment notifies the information of the new channel of selection to the networked devices in network;Finally
After the networking equipment is switched to new channel, the networked devices for accessing new channel with application carry out networking.
The above method replaces communication channel networking again by realizing, can have persistently stronger identical frequency in discovery
Or when close frequencies air interference, the channel timely more renewed is reduced because of the communication failure caused by conflict of former channel competition
And packet loss, the communication quality of network is improved, guarantees that network works normally.
In one possible implementation, the networking equipment is instructed by resetting again networking and/or is restarted again
Networking instruction notifies the information of the new channel of selection to the networked devices in network.
The above method instructs and/or restarts networking again to instruct two different networkings by setting resetting again networking
Family can be used to carry out selecting most suitable networking mode according to the actual situation for mode, enrich networking mode, and application is stronger.
In one possible implementation, the networking equipment backs up the topology information of current networking;It is described
After networking equipment is switched to new channel, further includes: if application accesses the MAC Address of the networked devices of new channel described in the backup
In topology information, and resetting networking instruction again is sent to the networked devices that the application accesses new channel, then the networking is set
It is standby that the topology information is sent to the networked devices that the application accesses new channel.
The above method, by checking the MAC Address for accessing the networked devices of new channel whether in the topology information of backup,
To judge whether the networked devices of the new channel of application access are original equipment, while being in the determining networked devices for accessing new channel
After original equipment, the topology information is sent to the networked devices that the application accesses new channel by the networking equipment, is made current
Networked devices information under new channel again after networking is consistent with networked devices under former channel, so that realization is truly to original
The promotion of channel communication quality guarantees the progress of intelligent interaction.
The method of second aspect, network reconfiguration provided in an embodiment of the present invention includes:
The information of the new channel of networked devices reception networking equipment notice first, wherein the new channel is that the networking is set
For what is selected from the channel for meet disturbed condition after needing networking again;Then the networked devices are restarted or are carried out
After network reset, channel search is carried out according to the information of the new channel;The last networked devices are to the networking equipment Shen
The new channel searched please be access, and completes network reconfiguration.
The above method can preferably guarantee to access again by selecting new channel in the channel for meeting disturbed condition
New channel in communication quality, guarantee the progress of intelligent interaction, while networked devices are by receiving the new of networking equipment notice
The information of channel searches for new channel and applies for the new channel that access searches, to preferably smoothly complete network reconfiguration.
In one possible implementation, it is connect when the topology information of backup is sent to the application by the networking equipment
When entering the networked devices of new channel, the networked devices receive the topology information that the networking equipment is sent.
The topology information of backup is sent to the networked devices that the application accesses new channel in networking equipment by the above method
When, the networked devices receive the topology information that the networking equipment is sent, to preferably realize the networking for accessing new channel
The consistency of the networked devices of equipment and former channel.
The third aspect, the embodiment of the invention also provides a kind of equipment of network reconfiguration, which includes: at least one
Manage unit and at least one storage unit, wherein the storage unit is stored with program code, when said program code is by institute
When stating processing unit execution, so that the processing unit executes the function of each embodiment of above-mentioned first aspect.
Fourth aspect, the embodiment of the invention also provides a kind of equipment of network reconfiguration, which includes: at least one
Manage unit and at least one storage unit, wherein the storage unit is stored with program code, when said program code is by institute
When stating processing unit execution, so that the processing unit executes the function of each embodiment of above-mentioned second aspect.
5th aspect, the embodiment of the present invention also provide a kind of equipment of network reconfiguration, which includes: selecting module, leads to
Know module and networking module, which has the function of realizing each embodiment of above-mentioned first aspect.
6th aspect, the embodiment of the present invention also provide a kind of equipment of network reconfiguration, which includes: receiving module, searches
Rope module and networking module, the equipment have the function of realizing each embodiment of above-mentioned second aspect.
7th aspect, the application also provide a kind of computer storage medium, are stored thereon with computer program, the program quilt
The step of first aspect the method is realized when processor executes.
Eighth aspect, the application also provide a kind of computer storage medium, are stored thereon with computer program, the program quilt
The step of second aspect the method is realized when processor executes.
In addition, third aspect technical effect brought by any implementation into eighth aspect can be found in first party
Face technical effect brought by different implementations into second aspect, details are not described herein again.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this
For the those of ordinary skill in field, without any creative labor, it can also be obtained according to these attached drawings
His attached drawing.
Fig. 1 is a kind of system schematic of network reconfiguration provided in an embodiment of the present invention;
Fig. 2 is the method schematic diagram of the first network reconfiguration of the embodiment of the present invention;
Fig. 3 is that the embodiment of the present invention resets network-building method schematic diagram again;
Fig. 4 is that the embodiment of the present invention restarts network-building method schematic diagram again;
Fig. 5 is the method schematic diagram of second of network reconfiguration of the embodiment of the present invention;
Fig. 6 is the related procedure operation chart of the method for network reconfiguration of the embodiment of the present invention;
Fig. 7 is the structural schematic diagram of the equipment of the first network reconfiguration of the embodiment of the present invention;
Fig. 8 is the structural schematic diagram of the equipment of second of network reconfiguration of the embodiment of the present invention;
Fig. 9 is the structural schematic diagram of the equipment of the third network reconfiguration of the embodiment of the present invention;
Figure 10 is the structural schematic diagram of the equipment of the 4th kind of network reconfiguration of the embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into
It is described in detail to one step, it is clear that the described embodiments are only some of the embodiments of the present invention, rather than whole implementation
Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts
All other embodiment, shall fall within the protection scope of the present invention.
The some words occurred in text are explained below:
(1) term " multiple " refers to two or more in the embodiment of the present application, and other quantifiers are similar therewith.
(2) "and/or" describes the incidence relation of affiliated partner, indicates may exist three kinds of relationships, for example, A and/or B,
Can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.Character "/" typicallys represent forward-backward correlation pair
As if a kind of relationship of "or".
(3) " ZigBee " of meaning of the embodiment of the present invention refers to the wireless communication technique of a kind of short distance, low-power consumption.
(4) " coordinator " of meaning of the embodiment of the present invention refer to will need both include communicated with multiple ZigBee nodes it is complete
Function device includes the multistage network for only executing the reduced function device of point-to-point connection again.
(5) " network topology structure " of meaning of the embodiment of the present invention refers to the physics cloth that various equipment are interconnected with transmission media
Office connects the equipment such as computer in network with what mode.
As shown in Figure 1, the embodiment of the present invention provides a kind of system of network reconfiguration, which includes:
Networking equipment 100 is used for after needing networking again, after selecting networking again in the channel for meet disturbed condition
The new channel used;The information of the new channel of selection is notified to the networked devices in network;After being switched to new channel, with
The networked devices that application accesses new channel carry out networking.
Networked devices 101, the information of the new channel for receiving networking equipment notice, wherein the new channel is described group
What net equipment was selected from the channel for meet disturbed condition after needing networking again;After being restarted or carrying out network reset,
Channel search is carried out according to the information of the new channel;The new channel searched is accessed to the networking equipment application, and is completed
Network reconfiguration.
In the embodiment of the present invention, when networking equipment more renews channel and re-starts network reconfiguration, networking equipment exists first
After needing networking again, the new channel that is used after selecting networking again in the channel for meet disturbed condition;Then the networking
Equipment notifies the information of the new channel of selection to the networked devices in network;The last networking equipment is switched to new letter
Behind road, the networked devices for accessing new channel with application carry out networking.Network communication channels networking again is replaced by realizing, it can be with
When discovery has persistently stronger identical frequency or close frequencies air interference, the channel timely more renewed is reduced because in original
Communication failure and packet loss caused by channel competition conflicts improve network communication quality, guarantee that network works normally.
Due to successfully realizing network reconfiguration, networking equipment and networked devices is needed to complete jointly, according to different equipment classes
Type, the scheme that the embodiment of the present invention is taken also are not quite similar, and the embodiment of the invention provides two kinds of corresponding distinct device types
Method, enumerated respectively below.
Device type one, networking equipment.
As shown in Fig. 2, the embodiment of the present invention provides a kind of method of network reconfiguration when device type is networking equipment,
This method comprises:
Step 200, networking equipment are after needing networking again, after selecting networking again in the channel for meet disturbed condition
The new channel used;
Step 201, the networking equipment notify the information of the new channel of selection to the networked devices in network;
After step 202, the networking equipment are switched to new channel, the networked devices for accessing new channel with application carry out group
Net.
Above scheme is replaced network communication channels networking again by realizing, can be had in discovery persistently stronger identical
When frequency or close frequencies air interference, the channel timely more renewed is reduced because communicating caused by former channel competition conflict
Failure and packet loss improve network communication quality, guarantee that network works normally.
Wherein, networking equipment needs to continue to monitor network communication quality, according to real-time monitoring knot before needing networking again
Fruit judges whether to need to carry out networking again.
Specifically, networking equipment continues to monitor network communication quality, when networking equipment discovery communication quality is lower than threshold value
Time be more than setting time threshold, network no longer communicated, and channel signal intensity is still relatively strong, then is interfered from meeting
The new channel used after networking again is selected in the channel of condition.
Assuming that being currently ZigBee-network, ZigBee-network communication quality is continued to monitor by networking equipment, wherein networking
A time threshold is arranged in equipment, when networking equipment discovery communication quality continues poor, time of the communication quality lower than threshold value
More than the time threshold of setting, ZigBee-network is no longer communicated, and channel signal intensity is still relatively strong, illustrates that ZigBee believes
Road is interfered by other equipment, at this point, networking equipment selects new channel from the channel for meet disturbed condition, as networking again
The new channel used afterwards.
Wherein, networking equipment makes after selecting networking again in the channel for meet disturbed condition after needing networking again
There are many ways to new channel, is set forth below several.
New channel selective mode 1, random selection.
Specifically, networking equipment continues to monitor network communication quality, when networking equipment discovery communication quality is more than setting
Time threshold is lasting poor, and network is no longer communicated, and channel signal intensity is still relatively strong, then is spread and believed according to wireless channel
Number and the feature of carrier frequency randomly choose the few channel of a signal interference as the new channel used after networking again.
For example be currently ZigBee-network, and the time threshold that networking equipment is set is Y, when networking equipment continues to monitor
ZigBee-network communication quality, when discovery communication quality has been up to the M time, communication quality is poor always, and wherein the M time is greater than Y
Time, and channel signal intensity is still relatively strong, needs to re-start networking in this case, then networking equipment expands according to wireless
The feature of frequency signal and carrier frequency, finds multiple qualified channels, including channel 1, channel 2, channel 3, channel 4, most
Networking equipment is from channel 1 afterwards, channel 2, channel 3, and one channel of random selection is as the new letter used after networking again in channel 4
Road.
New channel selective mode 2, selection frequency are minimum.
Specifically, networking equipment continues to monitor network communication quality, when networking equipment discovery communication quality is more than setting
Time threshold is lasting poor, and network is no longer communicated, and channel signal intensity is still relatively strong, then is spread and believed according to wireless channel
Number and carrier frequency the minimum channel of one frequency of feature selecting as the new channel used after networking again.
For example be currently ZigBee-network, and the time threshold that networking equipment is set is Y, when networking equipment continues to monitor
ZigBee-network communication quality, when discovery communication quality has been up to the M time, communication quality is poor always, and wherein the M time is greater than Y
Time, and channel signal intensity is still relatively strong, needs to re-start networking in this case, then networking equipment expands according to wireless
The feature of frequency signal and carrier frequency, finds multiple qualified channels, including channel 1, channel 2, channel 3, channel 4, and
1 frequency of channel < 3 frequencies of channel < 4 frequencies of channel < channel, 2 frequency, last networking equipment is from channel 1, channel 2, channel 3, channel 4
The middle channel for selecting frequency minimum selects channel 1 as making after networking again as the new channel used after networking again
New channel.
After networking equipment described in the embodiment of the present invention is switched to new channel, the networking equipment is by the new channel of selection
Information notify to make to the networked devices in network it be set forth below several there are many instructions of networking again.
Networking instructs again for networking instruction 1, resetting.
Specifically, the networking equipment by reset again networking instruction by the information of the new channel of selection notify to
Networked devices in network.
As shown in figure 3, the networking equipment is led to the information of the new channel of selection by resetting the instruction of networking again
Know to the networked devices in network, wherein assuming that being currently ZigBee-network, networking equipment is coordinator, the specific steps are as follows:
Step 300, coordinator save information included in current network topology structure and network topology structure.
Wherein, the information in network topology structure includes some or all of in following:
Network PAN ID (Personal Area Network ID, network identifier), equipment MAC (Medium Access
Control, media access control) key messages such as address and short address, networking Key (key).
Step 301, coordinator send resetting networking instruction again, and all networked devices carry out network resets.
Step 302, coordinator maintain PAN ID constant, and change wireless channel is new channel, and broadcasting network beacon waits
Former networked devices, which network, to be applied.
After step 303, coordinator receive networked devices networking application, whether the MAC Address of networked devices is checked in networking
In the network topology structure record that equipment is saved, original networked devices in this way, the record data saved according to networking equipment will
The key messages such as former short address, networking Key are distributed to corresponding networked devices, and networked devices networking is allowed to network.
Step 304, coordinator end record all networkings in data validation original network structure according to former network topology structure and set
It is standby that networking networking whether is completed, it networks as networked devices have been fully completed networking, then networking equipment closes network beacon broadcast,
Networks are completed.
Below in the embodiment of the present invention, the information in the saved current network topology structure of networking equipment is specifically situated between
It continues.
(1) " the network PAN ID " of meaning of the embodiment of the present invention refers to domain net address, usually adjoint to determine channel
After, for distinguishing different ZigBee-networks, the PAN ID of all nodes is unique, network only one PAN ID.
(2) " MAC Address " of meaning of the embodiment of the present invention refers to media access control, or is physical address, hardware
Location, for defining the position of the network equipment.One host has a MAC Address, and each network site have one it is exclusive
In its IP address, it is fixed that MAC Address, which is that network interface card determines,.
(3) " short address " of meaning of the embodiment of the present invention, it is one short for very long MAC Address (16BYTE) to be shorten to
Address (4BYTE).
(4) signified " networking Key " of the embodiment of the present invention refers to networking key cipher.
Wherein, the networking equipment is notified the information of the new channel of selection to net by resetting the instruction of networking again
Networked devices in network, if there are also networked devices not to complete network reconfiguration in network, networking equipment persistently broadcasts beacon, waits connection
Net equipment networks.
Specifically, the networking equipment by reset again networking instruction by the information of the new channel of selection notify to
Networked devices in network, if there are also networked devices not to complete network reconfiguration in network, networking equipment persistently broadcasts beacon, until
All original networked devices networking successes, wherein to reduce power consumption, intermittence can be taken to search net plan low-power consumption networking equipment
Slightly, prevent battery from consuming excessively.
For example can gradually widen and search net interval, for example, preceding 10s, 1 time per second, previous minute, every five seconds is primary, first 15 minutes
Every 10 seconds primary, and previous hour each minute is primary, and then per half an hour is primary, can reduce power consumption and maximum limit
The networking success of degree.If power consumption pursuit is ultimate attainment, a time-out time can also be set, is networked for example, being terminated after 12 hours.
The instruction of networking again is restarted in networking instruction 2.
Specifically, the networking equipment by restart networking again instruction by the information of the new channel of selection notify to
Networked devices in network.
As shown in figure 4, the networking equipment is led to the information of the new channel of selection by restarting the instruction of networking again
Know to the networked devices in network, wherein assuming that being currently ZigBee-network, networking equipment is coordinator, the specific steps are as follows:
Step 400, coordinator save information included in current network topology structure and network topology structure.
Wherein, for details, reference can be made to above-mentioned resettings again networking for the current network topology structural information content that coordinator is saved
Instruction is introduced, and details are not described herein.
Step 401, coordinator transmission restart the instruction of networking again, and new wireless channel are notified all networkings in instruction
Equipment;
After step 402, all networked devices receive instruction, itself ZigBee-network is restarted;
Step 403, coordinator maintain PAN ID constant, and change wireless channel is new channel, and broadcasting network beacon waits
Former networked devices network;
After step 404, networked devices network are restarted, the Information invariabilities such as PANID, short address, Key, by communication channel by original
After having channel to be changed to new channel, net state is searched into networking again is restarted;
After step 405, coordinator end receive networked devices networking application, allows networked devices to network, complete network reconfiguration.
Above scheme instructs and/or restarts networking again to instruct two different networkings by setting resetting again networking
Family can be used to carry out selecting most suitable networking mode according to the actual situation for mode, enrich networking mode, and application is stronger.
It is specific which kind of method above used, it sets and uses when networking equipment can be determined or be dispatched from the factory according to the user's choice
Which kind of method.
It should be noted that above-named method is merely illustrative, any method for being able to carry out network reconfiguration is all
It is applicable in the embodiment of the present invention.
Due to after networking again, being likely to result in the loss of information, while former networked devices may lose after networking again
Remove original attribute, lost to preferably reduce information after networking again, at the same in order to make former networked devices after new networking according to
Old holding raw information, the networking equipment select group again after needing networking again from the channel for meet disturbed condition
After the new channel used after net, it is also necessary to proceed as follows:
Specifically, the networking equipment backs up the topology information of current networking;The networking equipment is switched to newly
After channel, further includes: if application accesses the MAC Address of the networked devices of new channel in the topology information of backup, and to
The networked devices that the application accesses new channel send resetting, and networking instructs again, then the networking equipment is by the topology information
It is sent to the networked devices that the application accesses new channel.
Above scheme, by checking the MAC Address for accessing the networked devices of new channel whether in the topology information of backup,
To judge whether the networked devices of the new channel of application access are original equipment, while being in the determining networked devices for accessing new channel
After original equipment, the topology information is sent to the networked devices that the application accesses new channel by the networking equipment, is made current
Networked devices information under new channel again after networking is consistent with networked devices under former channel, so that realization is truly to original
The promotion of network channel communication quality guarantees the progress of intelligent interaction.
Device type two, networked devices.
After networking equipment sends new channel information to networked devices, networked devices need the new letter sent to networking equipment
The information in road is received, to complete network reconfiguration.
As shown in figure 5, the embodiment of the present invention provides a kind of method of network reconfiguration when device type is networked devices,
Specifically includes the following steps:
Step 501, networked devices receive the information of the new channel of networking equipment notice, wherein the new channel is described group
What net equipment was selected from the channel for meet disturbed condition after needing networking again;
After step 502, the networked devices are restarted or carry out network reset, carried out according to the information of the new channel
Channel search;
Step 503, the networked devices access the new channel searched to the networking equipment application, and complete network weight
Group.
Through the above scheme, new channel is selected in the channel for meeting disturbed condition, can preferably guarantee to access again
New channel in communication quality, guarantee the progress of intelligent interaction, while networked devices are by receiving the new of networking equipment notice
The information of channel searches for new channel and applies for the new channel that access searches, to preferably smoothly complete network reconfiguration.
After networked devices access the new channel searched to networking equipment application, the networking equipment also needs to back up
Topology information be sent to networked devices, so that it is kept the consistency with the networked devices in former channel.
Specifically, being set when the topology information of backup is sent to the networking that the application accesses new channel by the networking equipment
When standby, the networked devices receive the topology information that the networking equipment is sent.
Through the above scheme, the topology information of backup is sent to the networking that the application accesses new channel in networking equipment
When equipment, the networked devices receive the topology information that the networking equipment is sent, and access new channel to preferably realize
The consistency of the networked devices of networked devices and former channel.
Which kind of it should be noted that above-named mode is merely illustrative, can specifically be set by user using mode
It sets.To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention is made further below in conjunction with attached drawing
Detailed description, it is clear that the described embodiments are only some of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts all other
Embodiment shall fall within the protection scope of the present invention.
The method of network reconfiguration a kind of in the embodiment of the present invention is described in further detail with reference to the accompanying drawings of the specification,
It is currently wherein ZigBee-network, networking equipment is coordinator, and selection is restarted illustrates under the instruction operational scenarios of networking again
Explanation.
As shown in fig. 6, the related procedure operation of the method for network reconfiguration described in the embodiment of the present invention includes:
Step 600: coordinator persistently detects ZigBee-network communication quality.
Step 601: coordinator judge current network communication quality lower than threshold value duration whether be more than setting time
Threshold value, if so, step 602 is executed, if it is not, executing step 600.
Step 602: coordinator detects ZigBee channel disturbance situation, finds out the few channel of signal interference.
Step 603: coordinator saves current network topology structure.
Step 604: recombination net instruction is restarted in coordinator transmission, and notifies all networkings to set new wireless channel in instruction
It is standby, after all networked devices receive instruction, restart itself ZigBee-network.
Step 605: coordinator maintains PAN ID constant, and change wireless channel is new channel, and broadcasting network beacon waits
Former networked devices network.
Step 606: after networked devices progress network is restarted, the Information invariabilities such as PANID, short address, Key, by communication channel
After being changed to new channel by original channel, net state is searched into networking is restarted.
Step 607: after coordinator end receives networked devices networking application, allowing networked devices to network, complete network reconfiguration.
In some possible embodiments, the various aspects of network reconfiguration provided in an embodiment of the present invention can also be realized
For a kind of form of program product comprising program code, when said program code is run on a computing device, the journey
Sequence code is for making the computer equipment execute illustrative embodiments various according to the present invention described in this specification
Step in the method for data transmission.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter
Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example may be-but not limited to-electricity, magnetic, optical, electromagnetic, red
The system of outside line or semiconductor, device or device, or any above combination.The more specific example of readable storage medium storing program for executing
(non exhaustive list) includes: the electrical connection with one or more conducting wires, portable disc, hard disk, random access memory
(RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc
Read memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
The program product for data forwarding control of embodiment according to the present invention, can use Portable, compact
Disk read-only memory (CD-ROM) and including program code, and can be run on server apparatus.However, program of the invention
Product is without being limited thereto, and in this document, readable storage medium storing program for executing can be any tangible medium for including or store program, the program
It can be used by information transmission, device or device or in connection.
Readable signal medium may include in a base band or as the data-signal that carrier wave a part is propagated, wherein carrying
Readable program code.The data-signal of this propagation can take various forms, including --- but being not limited to --- electromagnetism letter
Number, optical signal or above-mentioned any appropriate combination.Readable signal medium can also be other than readable storage medium storing program for executing it is any can
Medium is read, which can send, propagates or transmit for being used by periodic network moving system, device or device
Or program in connection.
The program code for including on readable medium can transmit with any suitable medium, including --- but being not limited to ---
Wirelessly, wired, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages
Code, described program design language include object oriented program language-Java, C++ etc., further include conventional
Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user
It calculates and executes in equipment, partly executes on a user device, being executed as an independent software package, partially in user's calculating
Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far
Journey calculates in the situation of equipment, and remote computing device can pass through the network of any kind --- including local area network (LAN) or extensively
Domain net (WAN)-be connected to user calculating equipment, or, it may be connected to external computing device.
As shown in fig. 7, the embodiment of the present invention provides a kind of equipment of network reconfiguration, which includes: at least one processing
Unit 700 and at least one storage unit 701, wherein the storage unit 701 is stored with program code, works as described program
When code is executed by the processing unit 700, so that the processing unit 700 executes following process:
For networking equipment after needing networking again, what is used after selecting networking again in the channel for meet disturbed condition is new
Channel;The networking equipment notifies the information of the new channel of selection to the networked devices in network;The networking equipment
After being switched to new channel, the networked devices for accessing new channel with application carry out networking.
Optionally, the processing unit 700 is specifically used for:
The networking equipment instructs by resetting again networking and/or restarts the instruction of networking again by the new letter of selection
The information in road is notified to the networked devices in network.
Optionally, the processing unit 700 is specifically used for:
The networking equipment backs up the topology information of current networking;After the networking equipment is switched to new channel,
Further include: if application accesses the MAC Address of the networked devices of new channel in the topology information of backup, and to the application
The networked devices for accessing new channel send resetting networking instruction again, then the topology information is sent to institute by the networking equipment
State the networked devices that application accesses new channel.
As shown in figure 8, the embodiment of the present invention provides a kind of equipment of network reconfiguration, including selecting module 800, notification module
801 and networking module 802:
Selecting module 800: for networking equipment after needing networking again, weight is selected from the channel for meet disturbed condition
The new channel used after new networking;
Notification module 801: the information of the new channel of selection is notified to the connection in network for the networking equipment
Net equipment;
Networking module 802: after being switched to new channel for the networking equipment, the networked devices of new channel are accessed with application
Carry out networking.
Optionally, the notification module 802 is specifically used for:
The networking equipment instructs by resetting again networking and/or restarts the instruction of networking again by the new letter of selection
The information in road is notified to the networked devices in network.
Optionally, the networking module 800 is specifically used for:
The networking equipment backs up the topology information of current networking;After the networking equipment is switched to new channel,
Further include: if application accesses the MAC Address of the networked devices of new channel in the topology information of backup, and to the application
The networked devices for accessing new channel send resetting networking instruction again, then the topology information is sent to institute by the networking equipment
State the networked devices that application accesses new channel.
As shown in figure 9, the embodiment of the present invention provides a kind of equipment of network reconfiguration, which includes: at least one processing
Unit 900 and at least one storage unit 901, wherein the storage unit 901 is stored with program code, works as described program
When code is executed by the processing unit 900, so that the processing unit 900 executes following process:
Networked devices receive the information of the new channel of networking equipment notice, wherein the new channel is that the networking equipment exists
It needs to select from the channel for meet disturbed condition after networking again;Network reset is restarted or carried out to the networked devices
Afterwards, channel search is carried out according to the information of the new channel;The networked devices are searched to networking equipment application access
New channel, and complete network reconfiguration.
Optionally, the processing unit 900 is specifically used for:
When the topology information of backup is sent to the application by the networking equipment accesses the networked devices of new channel, institute
It states networked devices and receives the topology information that the networking equipment is sent.
As shown in Figure 10, the embodiment of the present invention provides a kind of equipment of network reconfiguration, including receiving module 1000, search mould
Block 1001 and networking module 1002:
Receiving module 1000: the information of the new channel of networking equipment notice is received for networked devices, wherein the new letter
Road is that the networking equipment is selected from the channel for meet disturbed condition after needing networking again;
Search module 1001: after being restarted for the networked devices or carry out network reset, according to the new channel
Information carry out channel search;
Networking module 1002: accessing the new channel searched to the networking equipment application for the networked devices, and
Complete network reconfiguration.
Optionally, the receiving module 1000 is specifically used for:
When the topology information of backup is sent to the application by the networking equipment accesses the networked devices of new channel, institute
It states networked devices and receives the topology information that the networking equipment is sent.
The embodiment of the present invention also provides a kind of computer-readable non-volatile memory medium, including program code, when described
When program code is run on the computing device, said program code is for making the calculating equipment execute the embodiments of the present invention
The step of method of network reconfiguration.
Above by reference to showing according to the method, apparatus (system) of the embodiment of the present application and/or the frame of computer program product
Figure and/or flow chart describe the application.It should be understood that can realize that block diagram and or flow chart is shown by computer program instructions
The combination of the block of a block and block diagram and or flow chart diagram for figure.These computer program instructions can be supplied to logical
With computer, the processor of special purpose computer and/or other programmable data processing units, to generate machine, so that via meter
The instruction that calculation machine processor and/or other programmable data processing units execute creates for realizing block diagram and or flow chart block
In specified function action method.
Correspondingly, the application can also be implemented with hardware and/or software (including firmware, resident software, microcode etc.).More
Further, the application can take computer usable or the shape of the computer program product on computer readable storage medium
Formula has the computer realized in the medium usable or computer readable program code, to be made by instruction execution system
It is used with or in conjunction with instruction execution system.In the present context, computer can be used or computer-readable medium can be with
It is arbitrary medium, may include, stores, communicates, transmits or transmit program, is made by instruction execution system, device or equipment
With, or instruction execution system, device or equipment is combined to use.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (10)
1. a kind of network reconfiguration method, which is characterized in that the described method includes:
Networking equipment is in the new letter for needing after networking, to use after selecting networking again in the channel for meet disturbed condition again
Road;
The networking equipment notifies the information of the new channel of selection to the networked devices in network;
After the networking equipment is switched to new channel, the networked devices for accessing new channel with application carry out networking.
2. the method as described in claim 1, which is characterized in that the networking equipment leads to the information of the new channel of selection
Know to the networked devices in network, comprising:
The networking equipment instructs by resetting again networking and/or restarts the instruction of networking again by the new channel of selection
Information is notified to the networked devices in network.
3. method according to claim 2, which is characterized in that the networking equipment is dry from meeting after needing networking again
After disturbing the new channel used after selecting networking again in the channel of condition, further includes:
The networking equipment backs up the topology information of current networking;
After the networking equipment is switched to new channel, further includes:
If application accesses the MAC address of the networked devices of new channel in the topology information of backup, and
The networked devices for accessing new channel to the application send resetting, and networking instructs again, then the networking equipment believes the topology
Breath is sent to the networked devices that the application accesses new channel.
4. a kind of network reconfiguration method, which is characterized in that the described method includes:
Networked devices receive the information of the new channel of networking equipment notice, wherein the new channel is that the networking equipment is needing
Again it is selected from the channel for meet disturbed condition after networking;
After the networked devices are restarted or carry out network reset, channel search is carried out according to the information of the new channel;
The networked devices access the new channel searched to the networking equipment application, and complete network reconfiguration.
5. method as claimed in claim 4, which is characterized in that the networked devices are accessed to the networking equipment application and searched for
After the new channel arrived, comprising:
It is described when the topology information of backup is sent to the application by the networking equipment accesses the networked devices of new channel
Net equipment receives the topology information that the networking equipment is sent.
6. a kind of equipment of network reconfiguration, which is characterized in that the terminal includes: at least one processing unit and at least one is deposited
Storage unit, wherein the storage unit is stored with program code, when said program code is executed by the processing unit, makes
It obtains the processing unit and executes following process:
Networking equipment is in the new letter for needing after networking, to use after selecting networking again in the channel for meet disturbed condition again
Road;The networking equipment notifies the information of the new channel of selection to the networked devices in network;The networking equipment is cut
After changing to new channel, the networked devices for accessing new channel with application carry out networking.
7. equipment as claimed in claim 6, which is characterized in that the networking equipment leads to the information of the new channel of selection
Know that, to the networked devices in network, the processing unit is specifically used for:
The networking equipment instructs by resetting again networking and/or restarts the instruction of networking again by the new channel of selection
Information is notified to the networked devices in network.
8. equipment as claimed in claim 7, which is characterized in that the networking equipment is dry from meeting after needing networking again
After disturbing the new channel used after selecting networking again in the channel of condition, the processing unit is also used to:
The networking equipment backs up the topology information of current networking;After the networking equipment is switched to new channel, also wrap
It includes: if application accesses the MAC Address of the networked devices of new channel in the topology information of backup, and accesses to the application
The networked devices of new channel send resetting, and networking instructs again, then the topology information is sent to the Shen by the networking equipment
It please access the networked devices of new channel.
9. a kind of equipment of network reconfiguration, which is characterized in that the processing unit is used for:
Networked devices receive the information of the new channel of networking equipment notice, wherein the new channel is that the networking equipment is needing
Again it is selected from the channel for meet disturbed condition after networking;After the networked devices are restarted or carry out network reset,
Channel search is carried out according to the information of the new channel;The networked devices search new to networking equipment application access
Channel, and complete network reconfiguration.
10. equipment as claimed in claim 9, which is characterized in that the networked devices are searched to networking equipment application access
After the new channel that rope arrives, the processing unit is used for:
It is described when the topology information of backup is sent to the application by the networking equipment accesses the networked devices of new channel
Net equipment receives the topology information that the networking equipment is sent.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810768257.XA CN109041152A (en) | 2018-07-13 | 2018-07-13 | A kind of method and apparatus of network reconfiguration |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810768257.XA CN109041152A (en) | 2018-07-13 | 2018-07-13 | A kind of method and apparatus of network reconfiguration |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109041152A true CN109041152A (en) | 2018-12-18 |
Family
ID=64642065
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810768257.XA Pending CN109041152A (en) | 2018-07-13 | 2018-07-13 | A kind of method and apparatus of network reconfiguration |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109041152A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112423284A (en) * | 2020-11-20 | 2021-02-26 | 北京自如信息科技有限公司 | Zigbee equipment pairing method and device, gateway, electronic equipment and storage medium |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2886711Y (en) * | 2005-12-13 | 2007-04-04 | 李劲 | Open type intelligent wireless sensor based on ZigBee mode |
CN101035358A (en) * | 2006-03-10 | 2007-09-12 | 华为技术有限公司 | Method and system for channel switching in the radio communication system |
CN101674634A (en) * | 2009-10-14 | 2010-03-17 | 南京邮电大学 | Multichannel based reactive routing method in cognitive radio system |
CN101765117A (en) * | 2008-12-26 | 2010-06-30 | 华为技术有限公司 | Method, device and system for allocating channels and realizing communication |
CN102063796A (en) * | 2010-09-26 | 2011-05-18 | 广西工学院 | Intelligent traffic control system and method based on wireless Mesh ad hoc network |
CN102857327A (en) * | 2012-04-16 | 2013-01-02 | 华为技术有限公司 | Data transmission method and apparatus |
CN202758471U (en) * | 2012-07-31 | 2013-02-27 | 中国科学技术大学苏州研究院 | Wireless intelligent node monitoring alarm system |
CN103179696A (en) * | 2013-03-15 | 2013-06-26 | 北京邮电大学 | Cognitive radio based communication network system in intelligent power grid and networking method |
CN104394561A (en) * | 2008-03-03 | 2015-03-04 | 三星电子株式会社 | Method for managing frequency bands in a wireless communication system, base station and mobile station |
CN104955016A (en) * | 2014-03-27 | 2015-09-30 | 浙江大华技术股份有限公司 | Method of automatically joining ZigBee network and terminal equipment |
CN105959985A (en) * | 2006-07-14 | 2016-09-21 | 高通股份有限公司 | Configurable downlink and uplink channels in a wireless communication system |
CN106162684A (en) * | 2015-03-31 | 2016-11-23 | 华为技术有限公司 | Based on ZigBee-network data transmission method, Apparatus and system |
US20170142757A1 (en) * | 2015-11-18 | 2017-05-18 | Bernard McKibben | System for prioritizing emergency services within a self organizing network |
-
2018
- 2018-07-13 CN CN201810768257.XA patent/CN109041152A/en active Pending
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2886711Y (en) * | 2005-12-13 | 2007-04-04 | 李劲 | Open type intelligent wireless sensor based on ZigBee mode |
CN101035358A (en) * | 2006-03-10 | 2007-09-12 | 华为技术有限公司 | Method and system for channel switching in the radio communication system |
CN105959985A (en) * | 2006-07-14 | 2016-09-21 | 高通股份有限公司 | Configurable downlink and uplink channels in a wireless communication system |
CN104394561A (en) * | 2008-03-03 | 2015-03-04 | 三星电子株式会社 | Method for managing frequency bands in a wireless communication system, base station and mobile station |
CN101765117A (en) * | 2008-12-26 | 2010-06-30 | 华为技术有限公司 | Method, device and system for allocating channels and realizing communication |
CN101674634A (en) * | 2009-10-14 | 2010-03-17 | 南京邮电大学 | Multichannel based reactive routing method in cognitive radio system |
CN102063796A (en) * | 2010-09-26 | 2011-05-18 | 广西工学院 | Intelligent traffic control system and method based on wireless Mesh ad hoc network |
CN102857327A (en) * | 2012-04-16 | 2013-01-02 | 华为技术有限公司 | Data transmission method and apparatus |
CN202758471U (en) * | 2012-07-31 | 2013-02-27 | 中国科学技术大学苏州研究院 | Wireless intelligent node monitoring alarm system |
CN103179696A (en) * | 2013-03-15 | 2013-06-26 | 北京邮电大学 | Cognitive radio based communication network system in intelligent power grid and networking method |
CN104955016A (en) * | 2014-03-27 | 2015-09-30 | 浙江大华技术股份有限公司 | Method of automatically joining ZigBee network and terminal equipment |
CN106162684A (en) * | 2015-03-31 | 2016-11-23 | 华为技术有限公司 | Based on ZigBee-network data transmission method, Apparatus and system |
US20170142757A1 (en) * | 2015-11-18 | 2017-05-18 | Bernard McKibben | System for prioritizing emergency services within a self organizing network |
Non-Patent Citations (1)
Title |
---|
INTEL CORPORATION (RAPPORTEUR): "Email discussion report on [NR-AH1801#07][NR] Reply LS to CT1 on AC", 《3GPP TSG RAN WG2 MEETING #101 R2-1802937》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112423284A (en) * | 2020-11-20 | 2021-02-26 | 北京自如信息科技有限公司 | Zigbee equipment pairing method and device, gateway, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11234166B2 (en) | Dynamic frequency selection in distributed Wi-Fi networks | |
KR101602899B1 (en) | Network entry and device discovery for cognitive radio networks | |
US9526061B2 (en) | Method and apparatus for a wireless home mesh network with network topology visualizer | |
JP5976978B2 (en) | Automatic selection of adjustment functions in hybrid communication networks | |
TWI522002B (en) | Automatic configuration of a network device | |
CN113473518B (en) | Network access method and device | |
US20130258872A1 (en) | System and method for changing network topology based on energy consumption | |
CN113596089B (en) | Distribution network binding method and device of equipment, storage medium and electronic device | |
CN108184260A (en) | The network state identification method and device of Zigbee nodes | |
CN111314185B (en) | Ad hoc network method, ad hoc network response method, controlled equipment and gateway | |
US20230146079A1 (en) | Counteracting MAC address randomization and spoofing attempts | |
CN109041152A (en) | A kind of method and apparatus of network reconfiguration | |
CN108064089B (en) | ZigBee-based non-central node ad hoc network method | |
JP2007151048A (en) | Method of managing table for storing information regarding partner terminal | |
Cao Minh et al. | DISON: a self-organizing network management framework for wireless sensor networks | |
US8149803B2 (en) | Apparatus for a beacon-enabled wireless network, transmission time determination method, and tangible machine-readable medium thereof | |
JP6222314B2 (en) | Wireless communication device | |
CN105847022B (en) | A kind of network collocating method and system of the local area network of power line communication PLC | |
KR101749203B1 (en) | Method for autonomy of base station, base band unit, base station and cloud base station system | |
CN113395705A (en) | Wireless gateway configuration method, wireless networking system and storage medium | |
JP2022553529A (en) | Apparatus, method and computer program for operating network devices | |
US20220248407A1 (en) | Data transmission method and data transmission device | |
CN110120858A (en) | A kind of method and device updating system information in Internet of Things | |
JP5994893B2 (en) | Wireless communication apparatus, wireless communication system, wireless communication method, and program | |
Reynders et al. | The Trade-offs of Connected VS Broadcast BLE Mesh Networking. |
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 |
Application publication date: 20181218 |
|
RJ01 | Rejection of invention patent application after publication |