The present invention relates to the automatic assigning of devices, particularly to a method and an apparatus for automatic assigning of devices, based on the wireless technology.
Nowadays, device arrays are deployed on a large scale in various buildings and areas, such as arrays constituted by a very large number of illuminating devices, so as to provide multiple functions such as illumination, decoration or display functions. Systems such as a building management system remote monitor and manage the illumination device array, control each illumination device's turn-on, turn-off and switch its illuminating mode, and so on. In order to improve on multiple functions, like illumination, decoration or display, the system must be able to obtain the location of each illumination device accurately, for example, the corresponding relation between the Unique Identification (abbrev. UID) of each device and its installation node position on the design topological graph, so as to send different instructions to all illumination devices at different node positions and thus realize desired illumination, decoration and display functions. If the position of each device obtained by the system is not its real physical position, then this will cause the illumination array not to work properly. The assigning of the device array, performed before normal operation thereof, is for the purpose of solving this problem, so as to make each device correspond to one known node in the topological graph.
Due to the large number of devices in a device array, it is very difficult to carry out manual assigning, and errors may easily occur if doing so. Therefore, the aforesaid assigning work can be performed by making use of the propagation characteristics of radio signals in the air; for example, automatic assigning can be performed by means of the triangulation measurement technology on the basis of the obtained information regarding the distance between the devices. The distance-related information can be obtained through transmission parameters such as Received Signal Strength Indication (abbrev. RSSI) or time of flight of radio signal. By measuring RSSI or time of flight, the distance between two devices can be obtained indirectly so as to carry out the assigning. However, several problems are encountered in the prior art. The first problem is the assigning accuracy of the devices. Since the transmission of radio signals is influenced by many factors, transmission parameters between two devices at the same distance may cause large deviations in different multi-path environments, in the case of different gains of antennas or different interferences, which may cause the distance determined by the transmission parameters to contain large errors, so that the assigning accuracy is affected. The second problem is that, for spaces having two or more dimensions, the determination of positions of all the devices in the whole topological graph based on information about the distance between every two devices proves to be a difficult nondeterministic polynomial
(abbrev. NP) problem. The computation complexity will grow exponentially with the number of devices in the area. The third problem is that, when the number of devices of a device array is very large, the error probability of the assigning in the whole topological graph will increase, and the erroneous assigning will then cause error dispersion, which will lead to more assigning errors.
To eliminate the drawbacks of the aforementioned prior art, increasing the accuracy of the device-assigning process, reducing the computation complexity of the assigning and improving the assigning success rate of the whole topological graph are several technical problems in the art that need to be solved. The so-called device comprises the aforesaid illumination devices, and also comprises temperature adjusting devices, audio regeneration devices and so on.
To better address the aforementioned one or more concerns, according to an embodiment of an aspect of the present invention, there is provided a method of determining each target device's position in the topological graph, wherein the method comprises the steps of: a. establishing wireless connections between at least two reference devices and each target device, each of said reference devices' position in the topological graph being known, and said topological graph comprising position information of multiple nodes; b. based on said wireless connections, measuring each target device's measured distance-related information with respect to said at least two reference devices, and obtaining distance reference information; c. based on said distance reference information, determining to which position of said nodes each target device corresponds.
According to a preferred embodiment of one aspect, said step b further comprises the following steps: on the assumption that each target device is at the position of an assigning node in said topological graph, obtaining each target device's assumed distance-related information with respect to said at least two reference devices; corresponding to each target device, said distance reference information comprises the difference between the measured distance-related information and the assumed distance-related information for said assigning node; said step c further comprises: for said assigning node, selecting one target device, from one or more target devices, with a relatively smaller difference between the assumed distance-related information and the measured distance-related information, as the target device corresponding to said assigning node.
According to a preferred embodiment of another aspect, the position of each node in said topological graph being grid-shaped, said step b comprises: enumerating all candidate groups constituted by a predefined number of multiple target devices of said target devices, and determining a mathematical combination of the measured distance-related information of said predefined number of multiple target devices of each candidate group with respect to said at least two reference devices according to a predefined combination rule, and said distance reference information comprises corresponding mathematical combinations of all candidate groups; said step c comprises: c1. based on corresponding mathematical combinations of all candidate groups, selecting one target candidate group according to a predefined rule, and selecting the predefined number of multiple target devices of said target candidate group as selected devices corresponding to a predefined number of multiple assigning nodes neighboring said at least two reference devices; c2. based on said measured distance-related information of predefined multiple selected devices with respect to at least one of said at least two reference devices, determining to which assigning node each of said predefined number of multiple selected devices corresponds respectively.
According to an embodiment of another aspect of the present invention, there is provided a method of determining each target device's position in the topological graph, said topological graph comprising position information of multiple nodes, wherein the method comprises: A. dividing said topological graph into a certain number of sub-topology blocks to be assigned, and determining a reference block, said reference block is adjacent to one or more of said sub-topology blocks to be assigned; B. taking reference devices of said reference block adjacent to said target sub-topology blocks to be assigned as initial reference devices, using an initial assigning method to carry out initial assigning and presuming the presence of (?) said target devices to which each node of said target sub-topology blocks corresponds; C. using verification reference devices different from said initial reference devices and/or a verification assigning method different from said initial assigning method to carry out verification assigning and presuming the presence of (?) said target devices to which each node of said target sub-topology blocks corresponds respectively; D. if the presumption result of said verification assigning is identical to that of said initial assigning, then, judging that said target sub-topology block has been assigned, otherwise judging that said target sub-topology block remains to be assigned; E. taking all of said sub-topology blocks having been assigned as reference blocks and repeating said steps B to D so as to assign all other sub-topology blocks to be assigned.
According to a method or an apparatus associated with one aspect of the present invention, by comparing the measured distance-related information, obtained through actual measurement, with the assumed distance-related information, under the assumption that the device corresponds to assigning nodes, the target devices having the smallest difference between assumed and measured information are selected as corresponding to the assigning nodes, and the assigning has a strong fault tolerance capacity and the assigning accuracy of the devices is substantially improved; according to a method or an apparatus relating to another aspect of the present invention, by determining multiple target devices corresponding to multiple nodes, along with a large safety margin based on multiple reference devices, the computation complexity of the assigning is reduced and the assigning accuracy of the devices is improved; according to a method or an apparatus relating to another aspect, by dividing the topological graph into sub-topology blocks, and assigning and verifying each sub-topology block respectively, the assigning success rate of sub-topology blocks is increased and error dispersion caused by device assigning errors in sub-topology blocks is avoided, so that the assigning success rate of the topological graph is increased.
These and other features of the present invention will be elucidated in detail in the following embodiment part.
Features, objects and advantages of the present invention will be more easily understood by means of the following detailed description of non-limiting exemplary embodiments with reference to appended drawings. In the drawings, same or similar reference signs denote same or similar means.
Below, embodiments of the present invention will be elucidated in respect of the system method, with reference to
As shown in
In this embodiment, in order to determine the nodes where all the target illumination devices are located respectively, firstly, nodes where at least two illumination devices are located should be determined, and then nodes where other devices are located are determined by taking the two illumination devices as reference devices. Like the square shown in
As shown in
It will be understood that propagation attenuation of radio signals generally satisfies the following formula:
RSSI(dB)=10lgC−λ10lgd (1),
wherein C is the coefficient related to the antenna gains and the frequency etc., λ is the path loss factor, and d is the distance between the sending device and the receiving device. As can be seen, the change tendency of RSSI is contrary to that of the distance. In a practical environment, RSSI may be influenced by other factors. Therefore, in order to determine a few illumination devices at a few nodes, the measurement results of more target illumination devices can be taken into consideration, in order to avoid the omission of target devices caused by RSSI measurement errors. In this embodiment, in order to determine an illumination device installed at the assigning node (2,2), the wireless network 100 can measure and obtain the measured RSSI (can be an upstream RSSI from target devices to reference devices, or a downstream RSSI from reference devices to target devices, or the mean of upstream and downstream RSSI) of six illumination devices with larger RSSI with respect to the three reference devices 1, 2 and 5, and provide the measured RSSI to the automatic assigning system 300, so as to reduce computations considerably; the wireless network 100 can also provide the measured RSSI from all 13 target devices to the reference devices to the automatic assigning system.
Then, in step S11, the automatic assigning system 300 receives the measured RSSI between each target device of the wireless network 100 and each of the three reference devices 1, 2 and 5. The system 300 also assumed that each target illumination device was located at the assigning node (2,2). The relative assumed RSSI of each target illumination device with respect to three reference devices 1, 2 and 5 at the reference positions is calculated respectively under the assumed condition, wherein the relative assumed RSSI is denoted by RSSIref
The automatic assigning system 300 employs the relative RSSI vector as the norm to describe the RSSI between target devices and reference devices 1, 2 and 5. For the assigning node (2,2) the assumed RSSI vector is defined as corresponding to the following formula:
V_assumed=(0,
RSSIref
(2)
As can be known from formula (1), the vector element RSSIref
The relative measured RSSI is defined as corresponding to the following formula:
V_measured(devicej)=(0,
RSSIref
(3)
It will be understood that RSSIref
Then, the automatic assigning system 300 calculates the difference between the relative measured RSSI vector of each target device and the relative assumed RSSI vector thereof with respect to the assigning node (2,2), wherein the difference is used as the distance reference information of each target device. Concretely, the difference of the vectors can be the mode of the vector difference, and can also be calculated by the following formula:
wherein, V_measured(devicej)n and V_assumedn represent the nth element of the relative measured RSSI vector and the nth element of the relative assumed RSSI vector, respectively.
After that, in step S12, for the assigning node (2,2), the automatic assigning system 300 compares of each target device the calculated difference between its relative measured RSSI vector and the relative assumed RSSI vector thereof with respect to the assigning node (2,2), so as to determine the target illumination device corresponding to the assigning node (2,2). This is similar to the maximum likelihood sequence detection, such as the Viterbi Decoding Algorithm. It will be understood that the aforesaid formula (4) is only used as an example, i.e. those skilled in the art can modify it by setting weighted coefficients and so on, so as to adapt it to the practical network environment.
In one case, in order to reduce computations, the automatic assigning system 300 selects the target illumination device having the smallest difference between its assumed value and its measured value as the illumination device at the assigning node (2,2).
Above, the present invention is elucidated by taking relative RSSI as an example. In this case, the relative assumed RSSI vector can be determined by the ratio of the distances between assigning node and each reference position. It will be understood that the use of the relative RSSI is for the purpose of simplifying the measurement of the wireless communication environment in the topological graph and at the same time eliminating the antenna gain difference of wireless communication modules of illumination devices. According to the teaching of the embodiment, those skilled in the art will know that the present invention can be based on the comparison between the absolute assumed RSSI of the distance between assigning nodes and each reference position and the absolute measured RSSI thereof. According to formula (1), the system 300 obtains parameter C of each illumination device, including its antenna gain, so as to determine the absolute assumed RSSI between the illumination device and each reference device under the assumption that the illumination device is at the assigning node, compares the absolute assumed RSSI with the absolute measured RSSI and selects the target device having the smallest difference between the assumed value and the measured value as the illumination device at the assigning node (2,2), so that the measurement distortion caused by the change of the propagation characteristics can be maximally reduced.
In another case, in order to ensure the correctness of the selection, in step S120, the automatic assigning system 300 takes multiple target devices having a smaller difference between the assumed value and the measured value as candidate illumination devices corresponding to the assigning node (2,2), and then verifies each candidate illumination device so as to determine which illumination device is most likely to be located at the assigning node (2,2).
Concretely, in step S121, the automatic assigning system 300 takes the multiple candidate illumination devices as the first auxiliary reference device, which is used together with the reference device 1, 2 and 5 to presume auxiliary target devices correspond to multiple auxiliary reference nodes nearby. In order to facilitate the description, in the present invention, kcan represents the number of multiple candidate illumination devices, kref represents the number of auxiliary reference nodes. The automatic assigning system 300 can select a suitable number kcan of candidate illumination devices, and suitable auxiliary reference nodes and their number kref according to the scale of the topology and the computational capacity of the system. As shown in
Then, by using the method similar to the aforesaid steps S10 to S12 for determining the assigning node (2,2), in step S122, the automatic assigning system 300 takes the positions of the reference devices 1, 2 and 5 and five auxiliary reference nodes (1,3), (2,3), (3,1), (3,2), (3,3) as reference positions. For kcan6 combinations of candidate illumination devices and auxiliary target devices, the automatic assigning system 300 obtains the measured RSSI of corresponding candidate illumination devices with respect to reference devices 1, 2, 5 and corresponding auxiliary target devices for each combination, and a total of kcan6 measured RSSI corresponding to kcan6 combinations should be obtained. For kcan6 combinations of candidate illumination devices and auxiliary target devices, the automatic assigning system 300 obtains also the assumed RSSI of each candidate illumination device with respect to the reference devices 1, 2 and 5 and corresponding auxiliary target devices, under the assumption that each candidate illumination device is located at the assigning node (2,2), and a total of kcan6 assumed RSSI corresponding to kcan6 combinations should be obtained. The assumed RSSI can be a relative RSSI or an absolute RSSI.
Finally, in step S123, the automatic assigning system 300 determines the combination having the smallest difference between the measured RSSI and the corresponding assumed RSSI of candidate target devices, among kcan6 combinations, and selects the candidate target device in this combination at the assigning node (2,2) as the target device at this node. The concrete comparison method can be based on relative RSSI or absolute RSSI and will not be described further. Compared with the aforesaid method in which no verification is performed, the present method presumes the presence of (?) multiple candidate target devices, and performs a comparative verification of their likelihood based on methods like the maximum likelihood, and determines the illumination device which is most likely to be located at the assigning node (2,2), so that the success rate of the assigning is increased.
Preferably, after the illumination device corresponding to the assigning node has been determined, the illumination device can be taken as a reference device together with the reference devices 1, 2 and 5. The system 300 repeats the above steps S10 to S12, determines whether illumination devices are installed at other assigning nodes, until all the target devices corresponding to all the assigning nodes in the topological graph are determined, and then the assigning process of the topological graph is completed. It will be understood that, in the assigning process of assigning nodes, the more reference devices the assigning is based on, the higher the accuracy of the assigning should be. The automatic assigning system should select reference nodes at suitable positions according to the practical scale of the topological graph and the computation capacity of the system, which not only ensures the accuracy of the assigning but also substantially reduces the computational load involved in assigning.
Above, the present invention is described by taking RSSI as an example; it should however be understood that the present invention can also be used for comparison of other distance-related information, for example, the difference between the actually measured time of flight and the assumed time of flight, under the assumption that illumination devices are located at assigning nodes, and the system then determines the illumination devices installed at each assigning node, based on the difference. Furthermore, RSSI can also be employed together with time of flight. Based on the teachings of the present invention, those skilled in the art can obviously devise other methods, according to the present invention, based on the comparison of the difference between the assumed and measured other distance-related information, which methods are also within the scope of the appended claims of the present invention, and hence the specification will not give further details herein.
Similar to the aforementioned method, in one aspect of the present invention, the automatic assigning system 300 can comprise corresponding means to fulfill the function of each step. Concretely, it comprises a receiver configured to communicate with the wireless network 100, i.e. the receiver can communicate with one or more devices in the wireless network 100 via a wireless or cable interface, and obtain measured distance-related information such as RSSI from among the devices; a receiver and a first obtaining means configured to fulfill step S11, a candidate illumination determining means configured to fulfill step S120, an auxiliary target device presuming the presence of (?) means configured to fulfill step S121, a second obtaining device configured to fulfill step S122 and a first determining means configured to fulfill step S123. Preferably, the auxiliary target device presuming the presence of (?) means can also comprise a third obtaining means configured to fulfill step S1210, a fourth obtaining means configured to fulfill step S1211 and a second determining means configured to fulfill step S1212. As shown in
It can be understood that an aspect of the present invention according to the above embodiment is not limited to the two-dimensional grid-shaped topological graph shown in
Hereinabove, according to an aspect of the present invention, a method and apparatus have been elucidated in detail, namely an automatic assigning system compares the measured distance-related information between each target device and reference devices with the assumed distance-related information between each target device and reference devices with respect to one assigning node, and selects the target device having the smallest difference as the target device. Below, an assigning method according to another aspect of the present invention will be elucidated.
Before the embodiment according to another aspect of the present invention is described, related knowledge about the safety margin of the assigning will be introduced first. As shown in
While assigning two target devices at the closest two assigning nodes (2,1) and (2,2) simultaneously, based on the two reference devices 1 and 2, the assigning is, for example, based on the following principle: the sum of five RSSI, i.e. one is the RSSI between the two target devices at the two assigning nodes and the other four are the RSSI between each of the two target devices and each of the two reference devices respectively, that is the largest. By enumerating and calculating all combinations of two target illumination devices of all target illumination devices, the system selects two target devices, with the largest combination, as being at the assigning nodes (2,1) and (2,2). Meanwhile, the two illumination devices at the illumination positions (2,2) and (1,3) are the second closest to the reference devices. Likewise, it can be obtained by calculation that the sum of its five RSSI, i.e. one is the RSSI between the two illumination devices at the two illumination positions (2,2) and (1,3) and the other four are the RSSI between each of the two illumination devices and each of the two reference devices respectively, is smaller than the sum of the five RSSI corresponding to the two illumination devices at the assigning nodes (2,1) and (2,2) by m′=10λlg2 dB. As can be seen, the safety margin of the assigning method is improved as compared with the safety margin m=10λlg√{square root over (2)} dB of the aforesaid method, in which one reference device is used to assign one target illumination device.
According to another aspect of the present invention, the safety margin is improved, after measuring the measured distance-related information between each target device and reference devices respectively, by (?) enumerating all candidate groups constituted by a predefined number of multiple target devices of all target devices, determining for all said candidate groups a mathematical combination of the measured distance-related information of the predefined number of multiple target devices with respect to said at least two reference devices according to a predefined combination rule, selecting one target candidate group according to a predefined rule, selecting a predefined number of multiple target devices of the target candidate group as selected devices corresponding to a predefined number of multiple assigning nodes adjacent to reference devices, and then determining assigning nodes corresponding to each selected device, based on the measured distance-related information between each selected device and reference devices respectively.
Below, this aspect of the present invention will be elucidated through an embodiment. As shown in
As shown in
Then, in step S11′, the automatic assigning system 300 can obtain the actual RSSI from each of the target illumination devices to each of the three reference devices 1, 2 and 3, based on the wireless network 100. Suppose RSSIij represents the measured RSSI between the reference position j and the assigning node i. Then, for each assigning node, defining parameter Di=RSSIi1−RSSIi3, this parameter is related to the ratio of the distance between the assigning node i and the reference device 1 and the distance between the assigning node i and the reference device 3.
According to the grid structure shown in
D(1,1)>D(3,1)<D(3,2)=D(2,2)< (5)
And, as is clear from the grid-shaped topological graph shown in
In compliance with the above two principles, based on the RSSI between each target illumination device and the reference devices 1, 2 and 3, the automatic assigning system 300 respectively combines the RSSI between each target illumination device and each of the reference devices 1, 2 and 3 according to the linear combination rule described by the following formula:
A
device=RSSIdevice1+RSSIdevice2−0.5×RSSIdevice3 (6).
wherein the variable device represents each target illumination device, RSSIdevicer,r=1, 2, 3 represents the RSSI between the target illumination device and the reference device r
Then, in step S120′, the automatic assigning system 300 compares the value A of all target illumination devices and selects the two target illumination devices having the largest and the second largest value A, respectively, as the selected devices corresponding to the assigning nodes (2,1) and (2,2). In order to ensure the correctness of the order, the nodes where the two selected devices are located respectively remain(?) unknown and will be determined in successive steps.
Then, based on the two selected devices, the third selected device at the assigning node (2,3) is presumed from remaining target illumination devices. According to the grid-shaped topological graph shown in
B
device=RSSIdevice2+RSSIdevice3+RSSIdeviceL (7),
wherein, the variable device represents each remaining target illumination device, RSSIdeviceL is the relatively large one of the two RSSI between the target illumination device and each of the first two selected devices.
Then, the automatic assigning system 300 compares the value B of all remaining target illumination devices, and selects the target illumination device having the largest value B as the third selected device.
The above mentioned linear combination formula (6) and (7), for determining three selected devices, are heuristic algorithm formulas based on the grid-shaped topological graph. Those skilled in the art will understand that the present invention is not limited to the above formulas; through algorithm design, other methods and formulas used to determine three selected devices corresponding to three assigning nodes can be designed, such as another example shown below.
As shown in
After determining three selected devices at three assigning nodes, in step S122′, the automatic assigning system 300 determines the assigning nodes where the three selected devices are respectively located, based on the distance-related information between the three selected devices and the three reference devices.
Concretely, according to the grid topological graph such as shown in
1. Let variable Ci=RSSIi1−RSSIi3 be the difference between the RSSI from the selected device which should be at the assigning point i to the reference device 1 and the RSSI from the aforesaid selected device to the reference device 3, for the three assigning nodes, the variable Ci should satisfy the following relations:
C(2,1)>C(2,2)>C(2,3) (8)
|C(2,2)|<C(2,1)|=C(2,3)| (9)
2. The sum of the RSSI from the selected device at the middle position (2,2) to two other selected devices should be the largest; suppose RSSIi,j is the RSSI from the selected device at the assigning node i to the selected device at the assigning node j, and variable
with the following relation:
E
(2,2)
>E
(2,1)
=E
(2,3) (10)
Based on the above two conditions, by first comparing the difference (corresponding to value Ci) between the RSSI from the selected device to the reference device 1 and the RSSI from the selected device to the reference device 3, the three selected devices are determined at the assigning nodes (2,1), (2,2) and (2,3) according to the order of the difference from large to small. In order to further improve the accuracy of the assigning, the selected device at the middle position (2,2) will be verified again. The difference (corresponding to Ei−|Ci|) between the sum (corresponding to value Ei) of the RSSI from the selected device at the middle position to the other two selected devices and the absolute value of the difference (corresponding to value Ci) between the RSSI from the selected device at the middle position to the reference device 1 and to the reference device 3 should be the largest. If the selected device with the largest difference is not located at the middle position after verification, then it should be exchanged with the selected device currently at the middle position.
It will be understood that the above method and the formulas (8), (9) and (10) for determining assigning nodes where three selected devices are located respectively, are not unique, but are heuristic algorithm formulas based on the grid-shaped topological graph. Through algorithm design, those skilled in the art can design other methods and formulas for determining assigning nodes where selected devices are located respectively, for example, weighting RSSI or performing non-linear combinations and so on, which are also within the protective scope of the present invention.
After determining three selected devices respectively at the assigning nodes (2,1), (2,2) and (2,3), the automatic assigning system 300 takes the three selected devices at the nodes (2,1), (2,2) and (2,3) as new reference devices, and assigns other target illumination devices adjacent to the nodes (2,1), (2,2) and (2,3). As shown in
Above, RSSI is taken as an example to elucidate the present invention, however, it will be understood that the present invention can also use other distance-related information, such as time of flight or a combination of time of flight and RSSI. According to the teachings of the present invention about RSSI, those skilled in the art can obviously find methods of determining multiple devices based on multiple reference devices, which are also within the scope of the appended claims of the present invention, and about which the specification will not give further details herein.
The automatic assigning system 300 can comprise corresponding means configured to fulfill the function of each step respectively, for example a receiver and a first obtaining means configured to fulfill step S11′, a candidate group determining means configured to fulfill step S120′ and a third determining means configured to fulfill step S121′. These means can be realized through a programmed CPU, which is similar to that shown in
It will be understood that an aspect of the present invention according to the above embodiment is not limited to the two-dimensional grid-shaped topological graph shown in
Above, according to an aspect of the present invention, a method and apparatus have been elucidated, namely the automatic assigning system that determines multiple illumination devices at multiple target nodes simultaneously with a large safety margin, based on multiple reference devices, and that then determines target nodes where the multiple illumination devices are located respectively. Below, an assigning method according to another aspect of the present invention will be described in detail.
The assigning success rate of the whole topological graph is related to the node number of the topological graph. As shown in
In order to solve this problem, according to another aspect of the present invention, as shown in
Concretely, as shown in
In step S20, the automatic assigning system 300 further determines a reference block Br. The reference block is adjacent to the sub-topology blocks B1 and B2 to be assigned, as shown at the top left corner of
After determining the reference block Br, as shown in
Then, in step S22, the automatic assigning system 300 uses the devices R3, different from the initial reference devices R1 and related to the target sub-topology block B1, as verification reference devices, employs a verification assigning method to perform verification assigning based on the verification reference devices and presumes that (?) each target device is installed at each node of the target sub-topology block B1. The verification reference devices can be other devices of the target sub-topology block B1 that are (?) presumed based on the initial reference device R1 in step S21, or still other reference devices known beforehand which are adjacent to or in the target sub-topology block B1. It will be understood that, under the circumstances that the verification reference devices are different from the aforementioned initial reference devices, the verification assigning method can be the same as or different from the aforementioned initial assigning method, and both of their assigning results can serve the function of verification; likewise, the initial reference devices can also further be used, and a verification assigning method different from the initial assigning method is employed; in this case the assigning result can also serve the function of verification.
Then, in step S23, the automatic assigning system 300 judges and verifies whether the presumption result, corresponding to the reference device R3 and/or the verification assigning method, is identical with the presumption result corresponding to the reference device R1 and the initial assigning method. If they are identical, then the automatic assigning system 300 judges that the target sub-topology block B1 has been successfully assigned and doesn't need to be verified again; the sub-topology block B1 can then be taken as a reference block to assign other neighboring sub-topology blocks to be assigned. If the presumption results are different, then the target sub-topology block B1 remains to be assigned; this topology block may still be assigned successfully; the details will be elucidated in the following part of the description.
Irrelevant to the above steps S21 to step S23, based on the reference device R2 adjacent to sub-topology block B2, the system 300 presumes that (?) each target device is installed at each node in the target sub-topology block B2 and verifies whether the assigning is successful. If B2 is assigned successfully, then it can be taken as a reference block to assign other neighboring sub-topology blocks, such as B3. Likewise, if B3 is assigned successfully, since it is adjacent to the sub-topology block B1, which under the aforesaid circumstances not assigned successfully, devices of B3, which are adjacent to B1, can be taken as reference devices, and assigning of B1 will be performed again. In this way, the assigning time of B1 is increased and the assigning success rate is improved.
For the whole topological graph, the above steps are repeated, all assigned sub-topology blocks are taken as reference blocks to assign other sub-topology blocks to be assigned. The simulation result in the following table illustrates the assigning success rate of the assigning method according to this embodiment:
As can be seen from the table, the assigning success rate of a topological graph having multiple sub-topology blocks is higher than that of single sub-topology block. This is because sub-topology blocks with assigning errors may still be assigned several times, therefore, the assigning success rate of the whole topological graph is substantially increased.
It is worth noting that in the process of repetition, the following situation may exist: all sub-topology blocks, having been assigned successfully, are taken as reference blocks to assign the neighboring sub-topology blocks to be assigned, but there are still sub-topology blocks to be assigned which cannot obtain a correct assigning result after they have been assigned based on all their neighboring reference blocks. In this case, the whole method of operation of the present invention can be repeated, the topological graph is divided into blocks, measured and assigned again. It will be understood that the reason why successful assigning of the topological graph cannot be ensured is that it cannott be guaranteed that the assigning algorithm cannot be influenced at all by the deviation of the practical communication environment and that each sub-topology block can be assigned correctly. Based on the content disclosed in this embodiment, those skilled in the art will understand that the whole method of operation of the present invention is reproducible and can be implemented repeatedly, and its repeated implementation does not depend on the randomness of the assigning of sub-topology blocks.
The automatic assigning system 300 can comprise corresponding means configured to fulfill the functions of each step respectively, for example, a block-dividing means and a reference block-determining means configured to fulfill step S20, an initial assigning means configured to fulfill step S21, a verification assigning means configured to fulfill step S22 and a judging means configured to fulfill step S23. Preferably, the reference block-determining means further comprises a third assigning means configured to fulfill step S200, and a fourth assigning means configured to fulfill step S201. These means can be realized through programmed CPU. Based on the above detailed description, those skilled in the art can design corresponding means and their working process, which is also within the scope of the appended claims of the present invention, and thus the specification will not give further details thereof.
It can be understood that an aspect of the present invention according to the above embodiments is not limited to the topological graph shown in
Number | Date | Country | Kind |
---|---|---|---|
200810169990.6 | Oct 2008 | CN | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/IB09/54511 | 10/14/2009 | WO | 00 | 4/13/2011 |