Specific embodiment
A hereby just preferred embodiment of the invention cooperates attached drawing, and detailed description is as follows.
It refering to fig. 1, is the self-organizing network configuration diagram of the first specific embodiment of the invention.In the embodiment of Fig. 1
A building 1 is disclosed, which has multiple regions, with a first area Z1, a second area Z2, a third in Fig. 1
For a region Z3 and the fourth region Z4.
In the present embodiment, different self-organizing networks is respectively provided in the Z1-Z4 of four region, wherein first area Z1
Self-organizing network include a zone controller (Zone Controller, ZC) 2 and connect with the zone controller 2 one
A radio node 3;The self-organizing network of second area Z2 includes the zone controller 2 and connects with the zone controller 2
Two connect the radio node 3;The self-organizing network of third region Z3 includes the zone controller 2 and controls with the region
Two radio nodes 3 that device 2 processed connects;The self-organizing network of the fourth region Z4 include the zone controller 2 and with
Three radio nodes 3 of the zone controller 2 connection.Signified self-organizing network, is primarily referred to as radio individual in the present invention
Local Area Network (Wireless Personal Area Network, WPAN).
By can be seen that in the embodiment of Fig. 1, the self-organizing network of construction might have different configuration sides in different zones
Formula, and may have the radio node 3 of different number.In addition, the quantity of the zone controller 2 in each self-organizing network
Predominantly one, but be not limited.
In the present embodiment, those radio nodes 3 can be device controller or sensor.More specifically, which uses
To sense the environmental parameter of region indoor and outdoor;The device controller connects the electronic equipment in the region, such as fan, sky
Tune, electric light etc., and instruct the environmental parameter provided with the sensor to control the electronic equipment according to the zone controller 2,
To adjust the ambient condition in the region;The zone controller 2 to the device controller and is somebody's turn to do according to the actual demand in the region
Sensor assigns instruction.It whereby, can be by the zone controller 2, the device controller and the sensor come the adjust automatically area
The environmental degree of comfort in domain.It may simultaneously include one or more equipment in a self-organizing network framework and according to different demands
Controller and one or more sensors, it is also possible to which only there is the device controller and or the sensor.
In the embodiment of Fig. 1, respectively the radio node 3 has all linked to the zone controller 2 in the same area respectively,
And respectively form the self-organizing network in region.The present invention mainly discloses a kind of method for building up, those regions is enabled to control
Device 2 and those radio nodes 3 can establish the self-organizing network of region after the starting that is powered automatically.
Referring to Fig.2, being the automatic Establishing process figure of the first specific embodiment of the invention.Firstly, when those regions control
Device 2 is respectively installed in each region and is powered after starting, can be interconnected to form a Local Area Network (such as Fig. 4 institute
The Local Area Network 4 shown) (step S10).In the present embodiment, those 2 systems of zone controller are mutual by purple honeybee (Zigbee) agreement
Connection, and signal is transmitted using identical transmission power (TxPower), which is ZigBee network.
Those zone controllers 2 are established after the Local Area Network 4, one of them can be assigned to be used as the region by coordinating
A main region controller (main region controller 20 as shown in Figure 5) (step S12) in network.It is noted that
If those zone controllers 2 are interconnected using Zigbee protocol, which is in Zigbee protocol
Main coordinator (Zigbee coordinator), and other zone controllers 2 can be then the biography in Zigbee protocol
Loser (Zigbee router) or other coordinators (Zigbee coordinator) or end equipment (Zigbee
end device)。
After step S12, which can be transmitted a control instruction (control instruction I1 as shown in Figure 5)
All zone controllers 2 into the Local Area Network, with enable in the Local Area Network all zone controllers 2 (including this
Main region controller 20) open a networking function (step S14).Those radio nodes after step S14, in each region
3 can issue line request to those zone controllers 2 after the presence for searching those zone controllers 2.
Please refer to Fig. 4, Fig. 5 and Fig. 6, the first of the first specific embodiment respectively of the invention establish action diagram,
Second, which establishes action diagram, establishes action diagram with third.As shown in figure 4, multiple zone controller 2 can interconnect, on establishing
State the Local Area Network 4.Also, respectively the zone controller 2 is also established respectively a respective controller network 5.In the implementation of Fig. 4
In example, respectively the zone controller 2 is not yet turned on the networking function, therefore even if those radio nodes 3 have searched those regions
The presence of controller 2, also can not with those 2 lines of zone controller and be added in those controller networks 5.
More specifically, above-mentioned networking function refers mainly to the function of allowing the equipment line other than zone controller.
Preferably, can first judge the dress for issuing line request when one of those zone controllers 2 receive line request
Whether set is another zone controller (such as can be identified by the device code in package).If so, allowing line, enabling should
Another zone controller is added in the Local Area Network 4.If the device for issuing line request is not zone controller, the region
Controller 2 first judges whether the networking function has turned on.If the networking function has turned on, line is allowed;Conversely, then paying no attention to
Understand line request.In other words, before the networking function is not yet turned on, those zone controllers 2 can only allow others
The line request that zone controller is proposed.
Then as shown in figure 5, when one of those zone controllers 2 be designated as the main region controller 20 it
Afterwards, which can enable all zone controllers 2 (comprising the master by the transmission of control instruction I1
Want zone controller 20) all open the networking function.Again as shown in fig. 6, the networking function when those zone controllers 2 is opened
(the step S14 relative to Fig. 2) afterwards, those radio nodes 3 can search those zone controllers 2 (mainly comprising this
Zone controller 20) presence after, issue line request to one of those zone controllers 2, and be added corresponding
In the controller network 5 (step S16).
More specifically, all regions control of those radio nodes 3 after the starting that is powered, i.e., near sustainable search
Device 2, and after searching one or more zone controllers 2, line request is issued to those zone controllers 2.Only, in
Before those zone controllers 2 are not yet turned on the networking function, the line of those radio nodes 3 is not allowed to request.And in those
After zone controller 2 opens the networking function, this can be allowed after receiving the line request of the radio node 3 sending
3 line of radio node is simultaneously added in the corresponding controller network 5.In the present embodiment, the radio node 3 can only be linked to
One zone controller 2.Also, the default signal that links to of the radio node 3 is most by force or apart from the nearest zone controller
2, but be not limited.
Fig. 2 is returned to, after step S16, which can be controlled by those regions in the Local Area Network 4
Device 2 (including the main region controller 20) processed collects the information of those radio nodes 3, and produces respectively for the respectively radio node 3
A raw configuration information (step S18).Specifically, those zone controllers 2 (including the main region controller 20) are being opened
It, can be with one or more 3 lines of radio node, and after line, items that tracer signal generates when transmitting after the networking function
Information, and unified return gives the main region controller 20.Whereby, which can control according to those regions
The information that device 2 processed is returned generates the configuration information for the respectively radio node 3 respectively.In the present embodiment, which mainly remembers
A best line object of those radio nodes 3 is carried, wherein the best line object is that (including should for multiple zone controller 2
One of main region controller 20).
Action diagram is established please refer to Fig. 7, for the first specific embodiment of the invention the 4th.In the embodiment of Fig. 7
In, respectively the radio node 3 can send all areas controller (including the Fig. 7 of a test signal T1 into the Local Area Network 4 respectively
In the main region controller 20 and all zone controllers 2), the main region controller 20 and all regions control
Device 2 can obtain respectively, record and/or return above- mentioned information (being detailed later) by test signal T1.In the present embodiment, the master
Zone controller 20 and all zone controllers 2 is wanted at least to record the hair for issuing the radio node 3 of test signal T1
Power (TxPower) is penetrated, and records the transmission power, or the transmission power is reported to the main region controller 20.
After the completion of the configuration information of those corresponding radio nodes 3 all generates, which can be sent out
All zone controllers 2 of another control instruction I1 into the Local Area Network 4 are sent, to enable those zone controllers 2 (include
The main region controller 20) the respective controller network 5 is disconnected, and simultaneously switch off the Local Area Network 4 (step S20).Tool
For body, although those radio nodes 3 can be with multiple area after those zone controllers 2 open the networking function
One of domain controller 2 line.However, there is no by calculating, be not that this is best for the line object of those radio nodes 3
Line object.In other words, the connection relationship that those radio nodes 3 and those zone controllers 2 are established in step S16,
The demand of administrative staff may not met (for example, establishing the radio node 3 of line and the zone controller 2 may be installed on
Different zones).
Technical characteristics of the invention are first to disconnect existing all companies after producing those above-mentioned configuration informations
Line, then enable respectively the radio node 3 come respectively with the best line object according to those configuration informations (that is, multiple region controls
A best region controller in device 2) line, and the corresponding controller network 5 (step S22) is added.In those wireless sections
After point 3 has been separately added into the optimal controller network 5, it can those controller networks 5 respectively as each region from
Network is organized, and those self-organizing networks by re-establishing provide regional service (step S24).
Refering to Fig. 8 and Fig. 9, the 5th of the first specific embodiment respectively of the invention establishes action diagram and the 6th foundation is dynamic
Mapping.As shown in figure 8, existing all lines can be disconnected by the control instruction I1 after the completion of those configuration informations generate.
It is noted that the main region controller 20 can revert to general zone controller at this time, above-mentioned association is no longer served as
Tune person.If also, those zone controllers 2 and those radio nodes 3 carry out line, the control of those regions using Zigbee protocol
Device 2 processed can serve as the coordinator in each self-organizing network respectively.
Then as shown in figure 9, respectively the radio node 3 can be sent out respectively according to those configuration informations to the best line object
The line is requested out, with the best line object line and be added in the corresponding controller network 5.So far, each region
Controller 2 is respectively that respective self-organizing network is established in region.
It is the configuration flow figure of the first specific embodiment of the invention refering to Fig. 3.Specifically, respectively being walked shown in Fig. 3
It suddenly, is that clearer explanation is done to the step S18 of above-mentioned Fig. 2.
Below in explanation, will only it be illustrated with the single radio node 3.After the step S16 of Fig. 2,
The radio node 3 can be with one of those zone controllers 2 line, and in technical solution of the present invention, this is wireless section
Point 3 is mainly by the zone controller 2 of line as the router between the main region controller 20.
After step S16, which externally sends the test signal T1 (step S30).If those zone controllers
2 can receive test signal T1, then respectively the zone controller 2 replys a test reported information respectively and gives sending test signal T1
The radio node 3 (step S32).Wherein, which includes at least the device code of the zone controller 2, and
Receive the signal receiving strength (Recived Signal Strength, RSS) when test signal T1.Meanwhile each region
Controller 2 can upload a reported information to the main region controller 20 (step S34) respectively.In the present embodiment, return letter
Breath mainly may include the device code of the radio node 3, the zone controller 2 device code, issue the nothing of test signal T1
The information such as the transmission power (TxPower) of line node 3 and the RSS, to be that this is wireless as the main region controller 20
The foundation of the generation of node 3 configuration information.
The purpose of above-mentioned step S30 and step S32 are to carry out the best line object of the radio node 3
Filtering.Specifically, the radio node 3 externally sends test signal T1 with one first transmission power (TxPower1), if should
There are five zone controllers 2 can receive around radio node 3 with the test signal T1 of first transmission power transmission, then
The radio node 3 can receive five groups of test reported informations, and (the main region controller 20 also will receive five groups of return letters
Breath);If only having two zone controllers 2 around the radio node 3 can receive the survey sent with first transmission power
Trial signal T1, then the radio node 3 only will receive two groups of test reported informations (the main region controller 20 also will receive two
Organize the reported information), and so on.In this way, can reach the effect of filtering.
For example, if only having a first area controller in the Local Area Network 4 can receive with a second area controller
With first transmission power issue test signal T1, then the radio node 3 can receive as ZC1 (TxPower1, RSS1) with
The test reported information of two groups of ZC2 (TxPower1, RSS1).Wherein, ZC1 represent the first area controller device code,
Device code, the TxPower1 that ZC2 represents the second area controller represent first transmission power, RSS1 represents each region control
Device receives received signal strength when test signal T1.
Similarly, the first area controller and the second area controller also can generate this time according to above-mentioned data respectively
It notifies breath, and is uploaded to the main region controller 20.By those reported informations, which can determine whether which
One zone controller is the best line object for the radio node 3.For example, in the transmission power of test signal T1
In identical situation (being all TxPower1), if the RSS of the first area controller comes than the RSS of the second area controller
Greatly, mean that the distance between the first area controller and the radio node 3 than the second area controller and the wireless section
The distance between point 3 comes closely, therefore the first area controller can be considered as to the best line pair of the radio node 3
As.
After step S32 or step S34, which judges whether to be completed (step S36), if it is not, then holding
Row step S38;If so, thening follow the steps S40.
The technical solution adopted by the present invention is that the radio node 3 is enabled to carry out multiple survey with the transmission power of varying strength
Examination, such as test signal T1 sequentially can be externally sent to the transmission power of the 5th intensity with the transmission power of the first intensity,
It uses and carries out above-mentioned filter action.For example, when the first transmission power with maximum intensity sends test signal T1, the nothing
Line node 3 may can receive five groups of test reported informations (that is, there are five the zone controller 2 receptions to obtain);When with most
When 5th transmission power of small intensity sends test signal T1, which may be only capable of receiving one group of test return
Information (that is, the reception of only one zone controller 2 obtains).
When the radio node 3 sends test signal T1 with the transmission power of minimum strength, but still there are multiple regions to control
When device 2 processed can receive to obtain, then which region can be judged by the main region controller 20 with the size of the RSS
Controller 2 belongs to the best line object for the radio node 3.
If the radio node 3 judges that not yet test knot is finished in step S36, which adjusts test letter
The transmission power (step S38) of number T1, and step S30 is returned to, test letter is sent again with transmission power adjusted
Number T1, further to be filtered.And as it was noted above, information (such as device of the radio node 3 relevant to test
Code, the transmission power of test signal T1, received signal strength when receiving test signal T1 etc.) it can all be routed to this
Main region controller 20.
Conversely, being that the radio node 3 is analyzed by the main region controller 20 if the radio node 3 has been completed
The best line object (step S40).More specifically, the main region controller 20 is according to those received reported informations of institute
It is analyzed, to find the best line object of the radio node 3 in multiple zone controller 2.Preferably implement in one
In example, which, which mainly finds minimum transmission power for the radio node 3, can be obtained highest received signal
The line object of intensity (min_TxPower, max_RSS), using as the best line object.
It is noted that the radio node 3 can come according to the above-mentioned minimum transmission power with the best line object into
Row line, the effect of to reach power saving.Alternatively, all radio nodes 3 in the building 1 can all pass through identical transmitting function
Rate and the respective best line object carry out line and reach order whereby but regardless of the minimum transmission power with unified standard
The effect of administrative staff are easily managed.
After step S40, which is that the radio node 3 generates the configuration information according to analysis result
(step S42).In the present embodiment, which at least records the medium plan (Media for having the radio node 3
Access Control, MAC) address and/or the best line object MAC Address.Furthermore if the radio node 3 and those
Zone controller 2 is connected using Zigbee protocol, then the configuration information record radio node 3 and/or the best line object
EUI-64 code.
After step S42, the main region controller 20 by the configuration information be sent in the Local Area Network 4 it is all should
Zone controller 2 or the radio node 3, or it is sent to all zone controllers 2 and the 3 (step of radio node simultaneously
S44).Wherein, which can be routed by those zone controllers 2, which is transmitted
To the radio node 3.
In the first embodiment of the present invention, which only can send the configuration information to the region
All zone controllers 2 in network 4.It uses, in the line request for receiving the radio node 3, respectively the region is controlled
The configuration information can be read in device 2, to determine whether to allow the line of the radio node 3 to request (that is, by the configuration information
Judge oneself whether be the radio node 3 the best line object).
In the second embodiment of the present invention, it is wireless which only can send the configuration information to this
Node 3.It uses, which directly can issue the line to the best line object and ask according to the content of the configuration information
It asks, to shorten the line time.
In the third embodiment of the present invention, which can send the configuration information to the nothing simultaneously
Line node 3 and those zone controllers 2.Whereby, no matter line established using above-mentioned any mode, it all can be in line success
After reaffirmed (double check), to ensure the correctness of line.
The foregoing is merely preferred embodiments of the invention, and therefore, it does not limit the scope of the patents of the invention, therefore such as
It with the equivalence changes carried out by the content of present invention, is similarly all included within the scope of the present invention, Chen Ming is given in conjunction.