Summary of the invention
The embodiment of the present invention first object is the method providing the first territory access control, apply this technical scheme to be conducive to improving the probability that register node is added to existing territory, be conducive to avoiding due to already present object territory cannot be found and newly-built territory thus the situation causing domain name to conflict, be conducive to avoiding message redundancy in territory, reduce the signaling consumption in territory.
The embodiment of the present invention second object is the method providing the access control of the second territory, apply this technical scheme to be conducive to improving the probability that register node is added to existing territory, be conducive to avoiding due to already present object territory cannot be found and newly-built territory thus the situation causing domain name to conflict, be conducive to avoiding message redundancy in territory, reduce the signaling consumption in territory.
The embodiment of the present invention the 3rd object is the method providing the third territory access control, apply this technical scheme to be conducive to improving the probability that register node is added to existing territory, be conducive to avoiding due to already present object territory cannot be found and newly-built territory thus the situation causing domain name to conflict, be conducive to avoiding message redundancy in territory, reduce the signaling consumption in territory.
The embodiment of the present invention the 4th object is a kind of method providing territory to search, apply this technical scheme to be conducive to improving register node and to be added to the probability in existing territory, be conducive to avoiding due to already present object territory and newly-built territory cannot be found thus the situation causing domain name to conflict.
The embodiment of the present invention the 5th object is to provide the first communication equipment, apply this technical scheme to be conducive to improving the probability that register node is added to existing territory, be conducive to avoiding due to already present object territory cannot be found and newly-built territory thus the situation causing domain name to conflict, be conducive to avoiding message redundancy in territory, reduce the signaling consumption in territory.
The embodiment of the present invention the 6th object is to provide the second communication equipment, apply this technical scheme to be conducive to improving the probability that register node is added to existing territory, be conducive to avoiding due to already present object territory cannot be found and newly-built territory thus the situation causing domain name to conflict, be conducive to avoiding message redundancy in territory, reduce the signaling consumption in territory.
The embodiment of the present invention the 7th object is to provide the third communication equipment, apply this technical scheme to be conducive to improving the probability that register node is added to existing territory, be conducive to avoiding due to already present object territory cannot be found and newly-built territory thus the situation causing domain name to conflict, be conducive to avoiding message redundancy in territory, reduce the signaling consumption in territory.
The embodiment of the present invention the 8th object is to provide the 4th kind of communication equipment, apply this technical scheme to be conducive to improving register node and to be added to the probability in existing territory, be conducive to avoiding due to already present object territory and newly-built territory cannot be found thus the situation causing domain name to conflict.
The embodiment of the present invention the 5th object is to provide the 5th kind of communication equipment, apply this technical scheme to be conducive to improving the probability that register node is added to existing territory, be conducive to avoiding due to already present object territory cannot be found and newly-built territory thus the situation causing domain name to conflict, be conducive to avoiding message redundancy in territory, reduce the signaling consumption in territory.
The embodiment of the present invention the 6th object is to provide the 6th kind of communication equipment, apply this technical scheme to be conducive to improving the probability that register node is added to existing territory, be conducive to avoiding due to already present object territory cannot be found and newly-built territory thus the situation causing domain name to conflict, be conducive to avoiding message redundancy in territory, reduce the signaling consumption in territory.
The embodiment of the present invention the 7th object is to provide the 7th kind of communication equipment, apply this technical scheme to be conducive to improving the probability that register node is added to existing territory, be conducive to avoiding due to already present object territory cannot be found and newly-built territory thus the situation causing domain name to conflict, be conducive to avoiding message redundancy in territory, reduce the signaling consumption in territory.
The method of the first territory access control that the embodiment of the present invention provides, comprising:
Domain node acceptance domain searches request message, and described territory is searched request message and comprised information: the domain name identification of the mark of register node and each aiming field corresponding to described register node;
If the domain name identification in territory, described domain node place searches in request message the identical of the domain name identification of the arbitrary described aiming field comprised with described territory,
Further, before the feedback moment of searching request message feedback field search response message according to described territory arrives, do not receive territory and search response message, the mark that request message comprises described register node is searched in described territory, then:
Described domain node feeds back described territory and searches response message;
Described domain node receives the described territory registration request that described register node sends,
Described domain node is the access control of described register node execution domains according to described territory registration request.
Alternatively, described domain node, specifically in the mode of broadcast transmission, feeds back described territory and searches response message.
Alternatively, described domain node is the access control of described register node execution domains according to described territory registration request, specifically:
If described domain node is: primary domain controller, then described domain node is according to the actual conditions in described domain node and territory, described domain node place and described territory registration request, judge whether to allow register node to join territory, described domain node place, and to described register node feedback judged result;
Otherwise described domain node forwards described territory registration request to the primary domain controller in territory, described domain node place,
For described primary domain controller according to described territory registration request, and judge whether to allow register node to join territory, described domain node place, and to described register node feedback judged result.
Alternatively, in step: domain node acceptance domain also comprises after searching request message:
If all not identical of the domain name identification of all described aiming field comprised is searched in request message in the domain name identification in territory, described domain node place and described territory,
Or, before the feedback moment of searching request message feedback field search response message according to described territory arrives, have and receive territory search response message: the mark that response message comprises described register node is searched in described territory, then:
Described domain node is ignored described territory and is searched request message.
Alternatively, in the described feedback moment, be specially:
Search after request disappears receiving described territory, wait for the moment after the random time intervals time,
Described random time intervals is: described domain node calculates the time interval random value obtained after receiving described territory search request message.
Alternatively, described domain node is: described primary domain controller,
Described broadcast domain searches the feedback moment of response message, is specially:
Search after request disappears receiving described territory, wait for the moment behind zero-time interval.
The method of the second territory access control that the embodiment of the present invention provides, comprising:
Domain node acceptance domain searches request message, and described domain node is: primary domain controller or beacon agency,
Described territory is searched request message and is comprised information: the domain name identification of the mark of register node and each aiming field corresponding to described register node;
If the domain name identification in territory, described domain node place searches in request message the identical of the domain name identification of the arbitrary described aiming field comprised with described territory,
Further, before next delivery time of beacon frame arrives, do not receive beacon frame: described beacon frame comprises the mark of described register node, and do not receive territory search response message: the mark that response message comprises described register node is searched in described territory, then:
Described domain node sends beacon frame, comprises the mark of described register node in described beacon frame;
Described domain node receives the described territory registration request that described register node sends,
Described domain node is the access control of described register node execution domains according to described territory registration request.
Alternatively, in described beacon frame, comprise the mark of described register node, specifically:
In described beacon frame, comprise register node additional field, comprise in described register node additional field: the mark of described register node.
Alternatively, described domain node specifically in a broadcast manner, sends described beacon frame.
Alternatively, described domain node is the access control of described register node execution domains according to described territory registration request, specifically:
If described domain node is: primary domain controller, then described domain node is according to the actual conditions in described domain node and territory, described domain node place and described territory registration request, judge whether to allow register node to join territory, described domain node place, and to described register node feedback judged result;
Otherwise, described domain node forwards described territory registration request to the primary domain controller in territory, described domain node place, for described primary domain controller according to described territory registration request, and judge whether to allow register node to join territory, described domain node place, and to described register node feedback judged result.
Alternatively, in step: domain node acceptance domain also comprises after searching request message:
If all not identical of the domain name identification of all described aiming field comprised is searched in request message in the domain name identification in territory, described domain node place and described territory,
Or, before next delivery time of beacon frame arrives, have and receive territory and search response message: the mark that response message comprises described register node is searched in described territory, or have and receive beacon frame: described beacon frame comprises the mark of described register node, then:
Described domain node is ignored described territory and is searched request message.
The method of the 3rd territory access control that the embodiment of the present invention provides, comprising:
Domain node acceptance domain searches request message, and described domain node is: except other the arbitrary domain nodes except primary domain controller and beacon agency,
Described territory is searched request message and is comprised information: the domain name identification of the mark of register node and each aiming field corresponding to described register node;
If the domain name identification in territory, described domain node place searches in request message the identical of the domain name identification of the arbitrary described aiming field comprised with described territory,
And, before the feedback moment of searching request message feedback field search response message according to described territory arrives, do not receive beacon frame: described beacon frame comprises the mark of described register node, and do not receive territory and search response message: the mark that response message comprises described register node is searched in described territory, then:
Described domain node feeds back described territory and searches response message;
Described domain node receives the described territory registration request that described register node sends,
Described domain node is the access control of described register node execution domains according to described territory registration request.
Alternatively, described domain node, specifically in the mode of broadcast transmission, feeds back described territory and searches response message.
Alternatively, described domain node is the access control of described register node execution domains according to described territory registration request, specifically:
Described domain node forwards described territory registration request to the primary domain controller in territory, described domain node place, for described primary domain controller according to described territory registration request, and judge whether to allow register node to join territory, described domain node place, and to described register node feedback judged result.
Alternatively, in step: domain node acceptance domain also comprises after searching request message:
If all not identical of the domain name identification of all described aiming field comprised is searched in request message in the domain name identification in territory, described domain node place and described territory,
Or, before the feedback moment of searching request message feedback field search response message according to described territory arrives, have and receive beacon frame: described beacon frame comprises the mark of described register node, or have and receive territory search response message: the mark that response message comprises described register node is searched in described territory, then:
Described domain node is ignored described territory and is searched request message.
Alternatively, in the described feedback moment, be specially:
Search after request disappears receiving described territory, wait for the moment after the random time intervals time,
Described random time intervals is: described domain node calculates the time interval random value obtained after receiving described territory search request message.
Alternatively, described random time intervals is greater than: the beacon frame information time interval of the primary domain controller in territory, described domain node place.
Alternatively, described random time intervals is also greater than: the beacon frame information time interval of arbitrary beacon agency in territory, described domain node place.
The method that a kind of territory that the embodiment of the present invention provides is searched, comprising:
Whether register node monitoring receives beacon frame;
If do not receive beacon frame in the monitoring periods of described beacon frame: described beacon frame comprises the domain name identification of arbitrary aiming field of described register node, then:
Request message is searched in described register node broadcast transmission territory, searches the mark that request message comprises described register node in described territory;
Whether described register node monitoring receives territory is searched response message,
Comprise if response message is searched in described territory: the domain name identification of arbitrary aiming field of described register node, then:
Described register node searches response message according to described territory, determines final purpose territory,
Described register node searches response message according to the described territory of the domain name identification comprising described final purpose territory, sending domain registration request, the destination address of described territory registration request is the transmitting terminal address that response message is searched in described territory, in the registration request of described territory, comprise the request adding described final purpose territory.
Alternatively, described register node searches response message according to described territory, determines final purpose territory, specifically:
The domain name identification comprised in response message is searched in the described territory received first by described register node, is defined as the domain name identification in described final purpose territory.
Alternatively, described register node searches response message according to described territory, determines final purpose territory, specifically:
Described register node is searched in response monitoring periods in predetermined territory, receives at least two described territories and searches response message,
The domain name identification that response message comprises is searched in wherein arbitrary described territory by described register node, is defined as the domain name identification in described final purpose territory.
Alternatively, in step: when whether described register node monitoring receives territory search response message, also comprise:
Whether described register node monitoring receives beacon frame;
In step: described register node searches response message according to described territory, before determining final purpose territory,
If receive beacon frame: described beacon frame comprises the domain name identification of arbitrary aiming field of described register node, then:
According to described beacon frame, determine described final purpose territory;
Described register node is according to the described beacon frame of domain name identification comprising described final purpose territory, sending domain registration request, the destination address of described territory registration request is: the transmitting terminal address of described beacon frame, in the registration request of described territory, comprise the request adding described final purpose territory.
Described register node stops monitoring whether receiving beacon frame and beacon frame.
The first communication equipment that the embodiment of the present invention provides, comprising:
Receiving element, for receipt message;
Transmitting element, for sending message;
CPU, is connected with described receiving element, transmitting element respectively, for:
After described receiving element receives territory search request message, if the domain name identification in territory, described communication equipment place searches in request message the identical of the domain name identification of the arbitrary described aiming field comprised with described territory, and, before the feedback moment of searching request message feedback field search response message according to described territory arrives, do not receive territory and search response message: the mark that response message comprises described register node is searched in described territory, control described transmitting element and feed back described territory search response message
And, after described receiving element receives described registration request, for sending the register node execution domains access control of described registration request.
Alternatively, CPU, after described receiving element receives described registration request, for sending the register node execution domains access control of described registration request, is specially:
Described CPU is after described receiving element receives described registration request, according to actual conditions and the described territory registration request in described equipment and territory, described equipment place, judge whether that allowing to send described register node joins territory, described equipment place, and to described register node feedback judged result.
Alternatively, CPU, after described receiving element receives described registration request, for sending the register node execution domains access control of described registration request, is specially:
Described CPU, after described receiving element receives described registration request, controls described transmitting element and forwards described territory registration request to the primary domain controller in territory, described equipment place,
Judge whether to allow register node to join territory, described equipment place according to described territory registration request for described primary domain controller, and to described register node feedback judged result according to the actual conditions in described equipment and territory, described equipment place and described territory registration request, judge whether that allowing to send described register node joins territory, described equipment place, and to described register node feedback judged result.
The second communication equipment that the embodiment of the present invention provides, comprising:
Receiving element, for receipt message;
Transmitting element, for sending message;
CPU, is connected with described receiving element, transmitting element respectively, for:
After described receiving element receives territory search request message, if the domain name identification in territory, described communication equipment place searches in request message the identical of the domain name identification of the arbitrary described aiming field comprised with described territory, and, before next delivery time of beacon frame arrives, do not receive beacon frame: described beacon frame comprises the mark of described register node, and do not receive territory and search response message: the mark that response message comprises described register node is searched in described territory, control described transmitting element and send beacon frame, the mark of described register node is comprised in described beacon frame,
And, after described receiving element receives registration request, according to described registration request, for sending the register node execution domains access control of described registration request.
Alternatively, described CPU, after described receiving element receives registration request, for according to described registration request, for sending the register node execution domains access control of described registration request, is specially:
Described CPU, according to actual conditions and the described territory registration request in described domain node and territory, described domain node place, judge whether to allow register node to join territory, described domain node place, and to the described transmitting element of control to described register node feedback judged result.
Alternatively, described CPU, after described receiving element receives registration request, for according to described registration request, for sending the register node execution domains access control of described registration request, is specially:
Transmitting element described in described central processing unit controls forwards described territory registration request to the primary domain controller in territory, described equipment place,
For described primary domain controller according to described territory registration request, and judge whether to allow register node to join territory, described domain node place, and to described register node feedback judged result.
The third communication equipment that the embodiment of the present invention provides, comprising:
Receiving element, for receipt message;
Transmitting element, for sending message;
CPU, is connected with described receiving element, transmitting element respectively, for:
After described receiving element receives described territory search request message, if the domain name identification in territory, described communication equipment place searches in request message the identical of the domain name identification of the arbitrary described aiming field comprised with described territory, and, before the feedback moment of searching request message feedback field search response message according to described territory arrives, do not receive beacon frame: described beacon frame comprises the mark of described register node, and do not receive territory and search response message: the mark that response message comprises described register node is searched in described territory, then control described transmitting element and feed back described territory search response message,
And, after described receiving element receives registration request, according to described registration request, for sending the register node execution domains access control of described registration request.
Alternatively, described CPU is used for after described receiving element receives registration request, for according to described registration request, for sending the register node execution domains access control of described registration request, is specially:
After described receiving element receives registration request, described CPU forwards described territory registration request for controlling described transmitting element to the primary domain controller in territory, described equipment place,
For described primary domain controller according to described territory registration request, and judge whether to allow register node to join territory, described domain node place, and to described register node feedback judged result.
The 4th communication equipment that the embodiment of the present invention provides, comprising:
Receiving element, for receipt message;
Transmitting element, for sending message;
CPU, is connected with described receiving element, transmitting element respectively, for:
In the monitoring periods of described beacon frame, beacon frame is not received: when described beacon frame comprises the domain name identification of arbitrary aiming field of described register node at described receiving element, control described transmitting element broadcast transmission territory and search request message, search the mark that request message comprises described register node in described territory;
And, receive territory at described receiving element and search response message, described territory is searched response message and is comprised: during the domain name identification of arbitrary aiming field of described register node, response message is searched according to described territory, determine final purpose territory, and search response message sending domain registration request for controlling described transmitting element according to the described territory of the domain name identification comprising described final purpose territory, the destination address of described territory registration request is the transmitting terminal address that response message is searched in described territory, in the registration request of described territory, comprise the request adding described final purpose territory.
The 5th communication equipment that the embodiment of the present invention provides, comprising:
Receiver, for receipt message;
Transmitter, for sending message;
Central processing unit, is connected with described receiver, transmitter respectively, for:
After described receiver receives territory search request message, if the domain name identification in territory, described communication equipment place searches in request message the identical of the domain name identification of the arbitrary described aiming field comprised with described territory, and, before next delivery time of beacon frame arrives, do not receive beacon frame: described beacon frame comprises the mark of described register node, and do not receive territory and search response message: the mark that response message comprises described register node is searched in described territory, control described transmitter and send beacon frame, in described beacon frame, comprise the mark of described register node;
And, after described receiver receives registration request, according to described registration request, for sending the register node execution domains access control of described registration request.
Alternatively, described central processing unit, after described receiver receives registration request, for according to described registration request, for sending the register node execution domains access control of described registration request, is specially:
Described central processing unit, according to actual conditions and the described territory registration request in described domain node and territory, described domain node place, judge whether to allow register node to join territory, described domain node place, and to the described transmitter of control to described register node feedback judged result.
Or described central processing unit, after described receiver receives registration request, for according to described registration request, for sending the register node execution domains access control of described registration request, is specially:
Described central processing unit controls described transmitter and forwards described territory registration request to the primary domain controller in territory, described equipment place,
For described primary domain controller according to described territory registration request, and judge whether to allow register node to join territory, described domain node place, and to described register node feedback judged result.
The 6th communication equipment that the embodiment of the present invention provides, comprising:
Receiver, for receipt message;
Transmitter, for sending message;
Central processing unit, is connected with described receiver, transmitter respectively, for:
After described receiver receives described territory search request message, if the domain name identification in territory, described communication equipment place searches in request message the identical of the domain name identification of the arbitrary described aiming field comprised with described territory, and, before the feedback moment of searching request message feedback field search response message according to described territory arrives, do not receive beacon frame: described beacon frame comprises the mark of described register node, and do not receive territory and search response message: the mark that response message comprises described register node is searched in described territory, then control described transmitter and feed back described territory search response message,
And, after described receiver receives registration request, according to described registration request, for sending the register node execution domains access control of described registration request.
Alternatively, described central processing unit is used for after described receiver receives registration request, for according to described registration request, for sending the register node execution domains access control of described registration request, is specially:
After described receiver receives registration request, described central processing unit forwards described territory registration request for controlling described transmitter to the primary domain controller in territory, described equipment place,
For described primary domain controller according to described territory registration request, and judge whether to allow register node to join territory, described domain node place, and to described register node feedback judged result.
The 7th communication equipment that the embodiment of the present invention provides, comprising:
Receiver, for receipt message;
Transmitter, for sending message;
Central processing unit, is connected with described receiver, transmitter respectively, for:
In the monitoring periods of described beacon frame, beacon frame is not received: when described beacon frame comprises the domain name identification of arbitrary aiming field of described register node at described receiver, control described transmitter broadcast transmission territory and search request message, search the mark that request message comprises described register node in described territory;
And, receive territory at described receiver and search response message, described territory is searched response message and is comprised: during the domain name identification of arbitrary aiming field of described register node, response message is searched according to described territory, determine final purpose territory, and search response message sending domain registration request for controlling described transmitter according to the described territory of the domain name identification comprising described final purpose territory, the destination address of described territory registration request is the transmitting terminal address that response message is searched in described territory, in the registration request of described territory, comprise the request adding described final purpose territory.
Therefore, application the present embodiment technical scheme, for the arbitrary domain node in arbitrary territory, it is after request message is searched in the territory receiving register node, if territory, this domain node place is after one of aiming field of register node, and after receiving this territory and searching request message, search the feedback moment arrival of response message in territory before, do not receive the territory search response that IncFlds searches the mark of the register node in request message, domain node just can be broadcasted feedback field and be searched response message, the object territory that can add near this register node and sending domain registration request to whom can be known according to this search response message to make register node.
Relative to register node each in prior art according to beacon frame directly to DM or BPR sending domain registration request technical scheme for, the present embodiment technical scheme has the following advantages:
First: adopt the present embodiment technical scheme, even if in following situation: the object territory of register node exists, but current register node is positioned at the edge in object territory, register node present position is beyond the coverage of DM or BPR in this territory, and register node cannot receive the message that DM or BPR sends.In this case, as long as other domain node of the neighbouring existence of register node, application the present embodiment technical scheme, this register node still can join in this existing territory.
And in the prior art, each register node only initiatively or the passive beacon frame that sends according to DM or BPR and add territory, once register node exceeds the coverage of DM or BPR, even if this register node position has the territory of beacon, the DNI in this existing territory is identical with the DNI of one of them aiming field in equipment, but the relative current device of DM or BPR in existing territory is hidden (information that namely DM or BPR sends cannot arrive this equipment), register node cannot receive any message (containing beacon frame) of DM or BPR, therefore register node cannot join existing territory, now register node take arbitrary DNI of this register node aiming field as the newly-built territory of DNI in this newly-built territory, cause there is the identical territory of two or more DNI in a communication network, affect the normal work in each territory on communication network.
By above-mentioned comparison, visible adopt the present embodiment technical scheme, be conducive to improving register node and be added to probability in existing territory, avoid, due to already present object territory and newly-built territory cannot be found, causing the situation that domain name is conflicted.
The method of the territory access control that the present embodiment provides stands good in the communication equipment (calling register node in the following text) for arbitrary any one territory do not added in communication network and sets up territory connection, so that this register node joins arbitrary territory of communication network, so that this communication equipment can carry out network communicating function by this territory.
Second: domain node is receiving after territory that register node sends searches request message, after judging that territory, this domain node place is as the aiming field of this register node, and before feedback field searches response message, do not receive other domain nodes response message is searched to the territory that request is searched in this territory, just feedback field searches response message, each domain node in network can be avoided to search request message for territory, a territory respond respectively, be conducive to avoiding internet message redundancy, reduce network signaling overhead.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment 1:
Present embodiments provide the method for a kind of territory access control, the method is applicable to set up territory for arbitrary communication equipment (calling register node in the following text) not adding any one territory in communication network and connects, so that this register node joins arbitrary territory of communication network, thus this communication equipment is made to realize network communicating function.Wherein this communication network can be, but not limited to as beacon network.
For convenience of description, in the present embodiment, the communication equipment in the current any territory do not added in any communication network is designated as: register node, is designated as the communication equipment in the territory added in communication network: domain node.
Shown in Figure 1, the arbitrary domain node in a kind of join domain that the present embodiment provides is the method that arbitrary register node of does not join domain sets up territory access control, and it mainly comprises following process step:
Step 101: domain node acceptance domain searches request message.
In the present embodiment, arbitrary territory is searched request message and is comprised: send the domain name identification that the mark of the register node of request message and each aiming field corresponding to this register node are searched in this territory.
More detailed content can be, but not limited to see shown in embodiment 2,3.
Step 102: if the identical of the DNI of the arbitrary aiming field comprised is searched in request message in the DNI in territory, domain node place and territory, and, search the feedback moment arrival of response message in territory before, do not receive territory and search response message: the mark that response message comprises register node is searched in territory, then perform step 103; Otherwise can be, but not limited to perform step 106.
If: the identical of the DNI of the arbitrary aiming field comprised is searched in request message in DNI and the territory in territory, domain node place, and, before the following feedback moment, do not receive territory search response message, or the mark (namely sending the mark that the register node of request message is searched in this territory) that request message does not comprise register node is searched in the territory received, then all perform step 103; Otherwise, can perform according to step 106 (also can conventionally or other other flow processs of predetermined strategy execution).
The above-mentioned feedback moment is specially: this domain node searches according to territory the feedback moment that request message feedback field searches response message.
Step 103: domain node feedback field searches response message.
Request message is searched in the territory that this domain node receives according to step 101, feedback field searches response message in a broadcast manner, for opposite end register node and response message can be searched according to this territory and determine the information in this domain node information and territory, this domain node place, and search response message according to territory and send territory access request to this domain node.
Search in response message in this territory and can be, but not limited to comprise information: the mark that the register node comprised in request message is searched in territory corresponding to response message is searched in the DNI in this domain node address, territory, this domain node place, the territory synchronizing information in territory, this domain node place and this territory.
Step 104: domain node receives the territory registration request that register node sends.
After domain node sends territory search response message, register node can be searched response message according to territory and be sent territory registration request to domain node, comprises the request joining this territory, domain node place at territory registration request.
Concrete flow process can be, but not limited to conventionally perform.
Step 105: domain node is the access control of register node execution domains according to territory registration request.
In the present embodiment, can, according to the actual conditions of this domain node in territory, place, be the access control of register node execution domains according to territory registration request.
Such as: this domain node is DM, then domain node is according to the actual conditions in domain node and territory, domain node place and territory registration request, judges whether to allow register node to join territory, domain node place, and to register node feedback judged result.
This domain node is not DM, and domain node forwards territory registration request to the DM in territory, domain node place, below performing for DM:
According to territory registration request and judge whether to allow register node to join territory, domain node place, and feed back judged result as via node to register node by this domain node.
Step 106: domain node is ignored this territory and searched request message.
Domain node is ignored this territory and is searched request message, does not search request message do any further process to territory.
In the present embodiment, if when judgement is in a step 102 no, can perform according to this step, also can conventionally or other other flow processs of predetermined strategy execution.
But internet message redundancy can be avoided further according to the process of this steps flow chart, reduce network signaling overhead.
Therefore, adopt the present embodiment technical scheme, for the arbitrary domain node in arbitrary territory, it is after request message is searched in the territory receiving register node, if territory, this domain node place is after one of aiming field of register node, and after receiving this territory and searching request message, search the feedback moment arrival of response message in territory before, do not receive the territory search response that IncFlds searches the mark of the register node in request message, domain node just can be broadcasted feedback field and be searched response message, the object territory that can add near this register node and sending domain registration request to whom can be known according to this search response message to make register node.
Relative to register node each in prior art according to beacon frame directly to DM or BPR sending domain registration request technical scheme for, the present embodiment technical scheme has the following advantages:
First: adopt the present embodiment technical scheme, even if in following situation: the object territory of register node exists, but current register node is positioned at the edge in object territory, register node present position is beyond the coverage of DM or BPR in this territory, and register node cannot receive the message that DM or BPR sends.In this case, as long as other domain node of the neighbouring existence of register node, application the present embodiment technical scheme, this register node still can join in this existing territory.
And in the prior art, each register node only initiatively or the passive beacon frame that sends according to DM or BPR and add territory, once register node exceeds the coverage of DM or BPR, even if this register node position has the territory of beacon, the DNI in this existing territory is identical with the DNI of one of them aiming field in equipment, but the relative current device of DM or BPR in existing territory is hidden (information that namely DM or BPR sends cannot arrive this equipment), register node cannot receive any message (containing beacon frame) of DM or BPR, therefore register node cannot join existing territory, now register node take arbitrary DNI of this register node aiming field as the newly-built territory of DNI in this newly-built territory, cause there is the identical territory of two or more DNI in a communication network, affect the normal work in each territory on communication network.
By above-mentioned comparison, visible adopt the present embodiment technical scheme, be conducive to improving register node and be added to probability in existing territory, avoid, due to already present object territory and newly-built territory cannot be found, causing the situation that domain name is conflicted.
The method of the territory access control that the present embodiment provides stands good in the communication equipment (calling register node in the following text) for arbitrary any one territory do not added in communication network and sets up territory connection, so that this register node joins arbitrary territory of communication network, so that this communication equipment can carry out network communicating function by this territory.
Second: domain node is receiving after territory that register node sends searches request message, after judging that territory, this domain node place is as the aiming field of this register node, and before feedback field searches response message, do not receive other domain nodes response message is searched to the territory that request is searched in this territory, just feedback field searches response message, each domain node in network can be avoided to search request message for territory, a territory respond respectively, be conducive to avoiding internet message redundancy, reduce network signaling overhead.
Embodiment 2:
The method of the territory access control that the present embodiment provides stands good in the communication equipment (calling register node in the following text) for arbitrary any one territory do not added in communication network and sets up territory connection, so that this register node joins arbitrary territory of communication network, so that this communication equipment can carry out network communicating function by this territory.
The concrete enforcement of the present embodiment to embodiment 1 is further described in detail.
Shown in Figure 2, the arbitrary domain node in a kind of join domain that the present embodiment provides is the method that arbitrary register node of does not join domain sets up territory access control, and it mainly comprises following process step:
Step 201: domain node acceptance domain searches request message.
Register node current need join domain time, first this register node determines the current object territory that can add, and sends this territory registration request adding object territory (i.e. the path of sending domain registration request) to whom.
As one of the concrete enforcement of embodiment, this register node when start powers on, initiatively can send this territory and search request message; Also can after powering in start, register node is carrying out the monitoring of beacon frame, cannot successful join domain according to beacon frame, or after not listening to beacon frame, sends and and should search request message.
In the present embodiment, register node in order to determine the current object territory that can add, and sends this territory registration request adding object territory to whom, register node externally in a broadcast manner sending domain search request message.Search in request message in this territory and include: the DNI of the mark of this register node and each aiming field of register node.
Wherein, the mark of this register node can be, but not limited to for: when this register node is dispatched from the factory, preset in register node (equipment) by producer, for the device name of define equipment identity, the mark of this register node can be, but not limited to as EUI-64(64-bit Extended Unique Identifier, the unique identification of 64 bit expanded) address.
Each aiming field corresponding to register node is: be predefined in this register node, each territory that this register node can add.The aiming field of the scheduled justice of arbitrary register node can be one also can be multiple.Each aiming field is respectively by the DNI unique identification of each aiming field.
The DNI of each aiming field that register node is corresponding can be, but not limited to into: by user by user interface (User Interfcae is called for short UI) corresponding to this register node in this equipment, the DNI of each aiming field that this register node preset is corresponding.
Wherein, above-mentioned register node externally sends territory and searches the transmission of request message and be specially and adopt the mode of broadcast to send.
Send territory in any one register node to search after request message, this register node can in communication range, the current arbitrary domain node having added the arbitrary territory of communication network all may receive this territory and search request message.
For receiving arbitrary domain node of territory search request message, according to the function of this domain node in territory, this domain node place, this domain node can be: DM or BPR in territory, domain node place or common domain node (other the arbitrary domain nodes namely in territory, domain node place except DM and BPR).
Below to receive the workflow that arbitrary domain node of request message is searched in territory, the present embodiment is described in detail.
Step 202: domain node judges: the whether whether identical with the DNI in this territory, domain node place of the DNI of the arbitrary aiming field comprised in request message is searched in territory.
Domain node is after receiving territory search request message, and relatively the DNI in territory, this domain node place searches the whether identical of the DNI of arbitrary aiming field that request message comprises with the current territory received.
Step 203: if identical, then perform step 204; Otherwise perform step 111.
If the DNI in territory, this domain node place is identical with the DNI that the aiming field that request message comprises is searched in the current territory received, then perform step 204; If the DNI that all aiming fields that request message comprises are searched in the DNI in territory, this domain node place and the current territory received is all not identical, then judge: territory, this domain node place is not as the object territory of this register node, and redirect performs step 111.
Step 204: domain node is determined further, after request message is searched in the territory receiving step 201, before this domain node searches the feedback moment arrival of request message broadcast domain search response message according to territory, whether received territory and searched response message, and the mark that the register node in response message is searched in this territory is identical with the mark that the register node comprised in request message is searched in the territory received in step 201.
Determining that territory, domain node place is on the basis in one of the object territory of this register node, before this domain node performs step 206, domain node is determined further, search according to territory the feedback moment arrival that request message broadcast domain searches response message at this domain node, whether this domain node has the territory search response message receiving and have following characteristics:
The mark of searching the register node comprised in response message in this territory is identical with the mark that the register node comprised in request message is searched in the territory received in step 201.
If receive the territory with above-mentioned feature to search response message, then jump to step 111, ignore field searches request message, and this is ignored and comprises: do not search request message feedback field according to this territory and search response message;
If do not receive the territory with above-mentioned feature to search response message, then determine that other domain nodes (can be DM or BPR or ordinary node) are not searched request message feedback field for the territory in step 201 and searched response message.
Step 205: if do not received, there is above-mentioned territory search response message, then perform step 206 further; Have above-mentioned territory search response message if received, redirect performs step 111.
Step 206: domain node broadcast feedback field searches response message.
This domain node searches request message according to the current territory received, and sends territory in a broadcast manner and searches response message, and any domain node for register node and this territory or other territories all can receive this territory search response message.
Search in response message in this territory and comprise information: the mark that the register node comprised in request message is searched in territory corresponding to response message is searched in the DNI in this domain node address, territory, this domain node place, the territory synchronizing information in territory, this domain node place and this territory.
If the domain node sending search response message in territory current is domain node a, and territory, this domain node a current place is territory A, and the register node that response message is searched corresponding in this territory is register node b.Then:
Register node b is after receiving this territory search response message, the DNI of the territory A that territory is searched in response message by register node b is defined as the DNI in the object territory that the current reality of register node b can add, and register node b is synchronous with this territory A according to " synchronizing information in territory ", register node b sends territory registration request according to domain node a address to domain node a, comprises the request of request join domain A in this territory registration request.
Other any nodes receiving this territory search response message except domain node a and register node b, then this node can search the mark of the register node b comprised in response message according to this territory, determine currently had other domain nodes to search request message to the territory of register node b to have made response, this domain node can ignore the territory search request message that register node b sends, and the territory without the need to sending for register node b is searched request message and fed back any response.
Step 207: domain node receives the territory registration request that register node sends.
After domain node sends territory search response message, in register node side, register node is searched response message according to territory and is determined the current object territory added of this register node, and the routing information that the object territory that can add is corresponding.
The territory synchronizing information that register node can be sought in response message according to territory is synchronous with this territory, and the destination address of transmitting terminal address (i.e. the domain node address of transmitting terminal) as the territory registration request sent of response message is sought using this territory, to domain node sending domain registration request, in this territory registration request, comprise the solicited message that request adds this territory, domain node place.
Particularly, register node can be, but not limited to directly search response message according to the territory received the earliest, and response message is searched in the territory this received the earliest, is designated as ND_Probe.rsp
0if, ND_Probe.rsp
0message is sent by domain node a, and territory, domain node a place is territory A, and register node is according to ND_Probe.rsp
0territory synchronizing information in message is synchronized in the A of territory, and to domain node a sending domain registration request, comprises the solicited message of request join domain A in this territory registration request.
In addition, this register node can also but be not limited to adopt following technical scheme:
In register node sends after territory searches request receiving, the monitoring time interval T predetermined ' in monitor the territory that receives search response message, be located at monitoring time interval T ', register node receives N number of territory search response message, is respectively:
ND_Probe.rsp
1, this territory is searched response message and is sent by domain node a, and territory, domain node a place is territory A;
ND_Probe.rsp
2, this territory is searched response message and is sent by domain node b, and territory, domain node b place is territory A;
ND_Probe.rsp
3, this territory is searched response message and is sent by domain node c, and territory, domain node c place is territory C;
ND_Probe.rsp
i, this territory is searched response message and is sent by domain node i, and territory, domain node i place is territory I;
ND_Probe.rsp
nthis territory is searched response message and is sent by domain node n, territory, domain node n place is territory N, register node is in monitoring time interval T ' at the expiration after, response message is searched in all territories according to receiving, determines territory A, C, I ... link field node (domain node a, b, c, the i in object territory that N is object territory that this register node can add, can adds ... n).Register node is according to predetermined strategy, from multiple object territory A, C, I of adding ... one of them object territory that finally will add as this register node (being designated as final purpose territory) is chosen in N, the territory synchronizing information that register node is searched in response message according to territory corresponding to this final purpose territory is synchronized in this final purpose territory, and send this territory registration request to the domain node that final purpose territory is corresponding, in this territory registration request, comprise the solicited message that request adds this territory, domain node place.
Step 208: if domain node is: DM, then process according to step 209, otherwise process according to step 110.
If this domain node is DM, then carries out continuation process according to step 209, if this domain node is the node of non-DM, then process according to step 110.
Step 209: domain node sends registration confirmation message according to the territory registration request received to register node, and indicate whether to allow register node to join territory, domain node place.
If this domain node is DM, then domain node is according to the actual conditions in this domain node and territory, place, according to described territory registration request, judge whether to allow register node to join in this territory, if allowed, registration confirmation message is forwarded to register node by domain node, and can be included as the information such as the node address of register node distribution in registration confirmation message; If do not allowed, the registration feedback message of refusal registration is fed back to register node by domain node, so that register node is according to predetermined registration policy, registration request is resubmited in next registration moment, or carry out the registration request process of other aiming fields after repeatedly submitting registration request to, or newly-built territory.
This step can be, but not limited to conventionally process.
Step 110: domain node forwards territory registration request to the DM in territory, domain node place, so that DM is according to described territory registration request, judges whether to allow register node to join in this territory.
If this domain node is the domain node of non-DM, then domain node is after receiving this territory registration request, this territory registration request is transmitted to DM(in this territory when domain node is directly connected with DM), or be transmitted to DM(in this territory when domain node is connected with DM by other via nodes by other via nodes in this territory), so that DM is according to the actual conditions in this DM and territory, place, according to described territory registration request, judge whether to allow register node to join in the A of this territory, if allowed, DM by above-mentioned domain node as information forward relay, registration confirmation message is forwarded to register node, and can be included as the information such as the node address of register node distribution in registration confirmation message, if do not allowed, DM by above-mentioned domain node as information forward relay, the registration feedback message of refusal registration is fed back to register node, so that register node is according to predetermined registration policy, registration request is resubmited in next registration moment, or carry out the registration request process of other aiming fields after repeatedly submitting registration request to, or newly-built territory.。Ordinary node is after forwarded this registration request, and the registration confirmation message after also DM process will being sent is forwarded to register node again.
Step 211: domain node is ignored this territory and searched request message, does not search request message to territory and does any further process.
After domain node acceptance domain searches request message, occur the arbitrary of following two kinds of situations, this domain node is all ignored the current field search and is searched request message, externally feedback field can not search response message:
If the DNI that situation 1 receives all aiming fields of this register node comprised in territory search request message is all not identical with the DNI in territory, this domain node place;
The DNI that situation 2, territory search one of them aiming field of this register node comprised in request message is identical with the DNI in territory, this domain node place, but, this domain node receive this territory search this domain node after request message to search according to this territory feedback moment that request message broadcast domain searches response message arrive before have to receive and comprise the territory of searching the mark of the register node in request message with this territory and search response message.
Therefore, adopt the present embodiment technical scheme, for the arbitrary domain node in arbitrary territory, it is after request message is searched in the territory receiving register node, if territory, this domain node place is after one of aiming field of register node, and after receiving this territory and searching request message, before this domain node searches the feedback moment arrival of request message broadcast domain search response message according to territory, do not receive territory to search response message or the territory that receives to search the mark of the register node in response message different from the mark that the register node in request message is searched in territory, domain node just can be broadcasted feedback field and be searched response message, the object territory that can add near this register node and sending domain registration request to whom can be known according to this search response message to make register node.
Relative to register node each in prior art according to beacon frame directly to DM or BPR sending domain registration request technical scheme for, the present embodiment technical scheme has the following advantages:
First: adopt the present embodiment technical scheme, even if in following situation: the object territory of register node exists, but current register node is positioned at the edge in object territory, register node present position is beyond the coverage of DM or BPR in this territory, and register node cannot receive the message that DM or BPR sends.
In this case, as long as other domain node of the neighbouring existence of register node, application the present embodiment technical scheme, this register node still can join in this existing territory.
And in the prior art, each register node only initiatively or the passive beacon frame that sends according to DM or BPR and add territory, once register node exceeds the coverage of DM or BPR, even if this register node position has the territory of beacon, the DNI in this existing territory is identical with the DNI of one of them aiming field in equipment, but the relative current device of DM or BPR in existing territory is hidden (information that namely DM or BPR sends cannot arrive this equipment), register node cannot receive any message (containing beacon frame) of DM or BPR, therefore register node cannot join existing territory, now register node take arbitrary DNI of this register node aiming field as the newly-built territory of DNI in this newly-built territory, cause there is the identical territory of two or more DNI in a communication network, affect the normal work in each territory on communication network.
By above-mentioned comparison, visible adopt the present embodiment technical scheme, be conducive to improving register node and be added to probability in existing territory, avoid, due to already present object territory and newly-built territory cannot be found, causing the situation that domain name is conflicted.
Second: for arbitrary domain node in any territory, this domain node is receiving after territory that register node sends searches request message, and after judging that territory, this domain node place is not as the aiming field of this register node, domain node is to the response of this territory search request message.
And when this domain node determines that territory, place is one of aiming field of this register node after searching request message according to territory, domain node is before this domain node feedback field searches the feedback moment of response message, below domain node monitoring: whether received other domain nodes and response message is searched to the territory that request is searched in this territory, once receive, then domain node ignore field searches request message, feedback field can not search response message.Therefore adopt this technical scheme to be conducive to reducing each node in communication network to the response of the territory login request message of same register node, to avoid internet message redundancy, reduce network signaling overhead.
It should be noted that, in embodiment 1-12, the domain node that feedback field searches response message is the equipment possessing relay forwarding function.
If the domain node that request message is searched in the territory receiving register node does not possess relay forwarding function, then this domain node is not owing to possessing relay forwarding function, even if it searches response message to register node feedback field, but it does not possess function territory registration request being transmitted to DM or BPR, login request message cannot be forwarded for register node, therefore do not possess relay forwarding functional domain node after receiving territory search request message, directly ignore this territory and search request message.
Embodiment 3:
The method of the territory access control that the present embodiment provides stands good in the communication equipment (calling register node in the following text) for arbitrary any one territory do not added in communication network and sets up territory connection, so that this register node joins arbitrary territory of communication network, so that this communication equipment can carry out network communicating function by this territory.
Shown in Figure 3, the arbitrary domain node in a kind of join domain that the present embodiment provides is that the method that arbitrary register node of does not join domain sets up territory access control mainly comprises following:
Step 301: domain node acceptance domain searches request message.
Corresponding steps in like manner in embodiment 1,2.
Step 302: domain node judges: the whether whether identical with the DNI in this territory, domain node place of the DNI of the arbitrary aiming field comprised in request message is searched in territory.
Corresponding steps in like manner in embodiment 1,2.
Step 303: if identical, then perform step 304; Otherwise perform step 311.
Step 304: calculate and determine a random time intervals.
After domain node determines that the DNI of an aiming field of the register node comprised in the current territory search request message received is identical with the DNI in territory, this domain node place, then perform this step: this domain node runs the random value mathematical algorithm program prestored, the random value in one time interval, is designated as random time intervals.This random time intervals is made to be greater than arbitrary time interval of a predetermined time interval.
Now, for each domain node of synchronization, the random time intervals that each domain node obtains respectively is different, and each domain node waits for the random time intervals that this domain node is corresponding respectively after receiving territory search request message, if still do not receive at the expiration to comprise at random time intervals and send the territory search response message that the current field searches the mark of the register node of request message, domain node just broadcast domain searches response message, therefore the feedback on reservation moment that response message is searched in the territory of each domain node is also relatively different, arbitrary domain node searches the feedback moment arrival of response message during in the territory of this domain node, the territory search response message probability receiving the broadcast of other domain nodes improves greatly, for same domain node not in the same time for, the random time intervals that each moment obtains is different.
If it is T that the present embodiment calculates the random time intervals determined, this T can adopt following functional expression to represent:
T=T0+Random(Boff1,Boff2),
Wherein T0 is predetermined nominal time interval,
Random(Boff1, Boff2) be the function expression arbitrary at random between duration Boff1 to duration Boff2.
At the present embodiment, predetermined time interval T0 corresponding for each domain node in arbitrary territory is set to identical; Can the predetermined time interval T0 in territory each in communication network be set to identical, also can be set to difference.
In addition, login request message is sent according to the response of the DM in territory directly to DM in order to make register node further, in the present embodiment, can for each territory, DM in territory searches request message and after judging in message that target DNI is identical with the DNI in this territory receiving described territory, direct feedback field searches response message, and other domain nodes except DM after execution step 303, continue again after need waiting for nominal time interval T0 to wait for a period of time, during this period of time from Stochastic choice between Boff1 and Boff2.Or, predetermined DM feedback field time of searching response message can also be fixed as T0, and the time that other non-DM domain node feedback field search response messages is fixed as T=T0+Random(Boff1, Boff2), be specifically not limited to this.
Step 3051: start during random time intervals timer.
Step 3052: whether monitoring domain node receives to comprise sends the territory search response message that the current field searches the mark of the register node of request message.
This domain node is monitored this domain node and whether is received the search response message in territory with following characteristics: the mark of searching the register node in response message in this territory is identical with the mark that the register node in request message is searched in the territory that step 301 receives.
Step 3053: if response message is searched in the territory receiving above-mentioned feature, then redirect performs step 311; Otherwise, perform step 3054.
Receive the territory with above-mentioned feature once current and search response message, then jump to step 311, ignore this territory and search request message, comprise not feedback field and search response message; If do not received, then continue to perform step 3054, determine whether that timing arrives predetermined random time intervals T.
Step 3054: determine whether the timing duration of random time intervals timer arrives random time intervals, if arrived, then redirect performs step 306; Otherwise, return step 3052.
Judge whether the timing duration of the random time intervals timer on this domain node reaches random time intervals T.
If do not arrived, then return step 3052, continue whether this domain node of monitoring receive that other domain nodes send with search response message, and the mark of searching the register node comprised in response message in this territory is identical with the mark that the register node comprised in request message is searched in the current territory received;
If arrived, be then defined as: in the random time intervals of this domain node after receiving territory and searching request message, all do not monitor the territory with above-mentioned feature and search response message, then perform step 306.
Step 306: domain node broadcast feedback field searches response message.
The step 206 of this step in like manner in embodiment 2 step.
Step 307: domain node receives the territory registration request that register node sends.
The step 107 of this step in like manner in embodiment 2 step.
Step 308: if domain node is: DM, then process according to step 309, otherwise process according to step 310.
The step 208 of this step in like manner in embodiment 2 step.
Step 309: domain node sends registration confirmation message according to the territory registration request received to register node, and indicate whether to allow register node to join territory, domain node place.
The step 209 of this step in like manner in embodiment 2 step.
Step 310: domain node forwards territory registration request to the DM in territory, domain node place, so that DM is according to described territory registration request, judges whether to allow register node to join in this territory.
The step 210 of this step in like manner in embodiment 2 step.
Step 311: domain node is ignored this territory and searched request message, does not search request message to territory and does any further process.
The step 211 of this step in like manner in embodiment 2 step.
Therefore the present embodiment, except possessing the beneficial effect described in embodiment 1,2, also possesses following beneficial effect:
Because each domain node of the present embodiment is after receiving territory search request message, before feedback field searches response message, whether receive the time interval of searching response message (mark of register node is wherein identical with the mark that the register node in request message is searched in territory) in territory for monitoring this domain node be: domain node receive territory search request message after receiving after territory searches request message, obtain a time interval random value.Can guaranteeing arbitrary domain node in communication network to send territory, to search feedback moment of response message all not identical, then for arbitrary domain node, the probability that response message is searched in its territory receiving other domain nodes feedback before sending territory to search the moment arrival of response message improves greatly, therefore utilize the present embodiment advantageous in the situation avoiding multiple domain node jointly to search response message to register node feedback field further, avoid the response message redundancy in network, reduce network signaling overhead.
Embodiment 4:
Present embodiments provide the method for a kind of territory access control, be specially adapted to DM or BPR of the communication network working in beacon patterns.
Shown in Figure 4, the arbitrary domain node in a kind of join domain that the present embodiment provides is the method that arbitrary register node of does not join domain sets up territory access control, and it mainly comprises following process step:
Step 401: domain node acceptance domain searches request message.
In like manner step 101 in embodiment 1.
The domain name identification that request message comprises the mark of register node that sends and search request message and each aiming field corresponding to register node is searched in territory.
Step 402: if the identical of the DNI of the arbitrary aiming field comprised is searched in request message in the DNI in territory, domain node place and territory, and, before next delivery time of this domain node beacon frame arrives, do not receive beacon frame: beacon frame comprises the mark of register node, and do not receive territory and search response message: the mark that response message comprises register node is searched in territory, then perform step 403; Otherwise perform step 406.
All execution steps 403 of all points of situations below meeting; Otherwise perform step 406, concrete each situation is respectively:
Situation 1: the identical of the DNI of the arbitrary aiming field comprised is searched in request message in DNI and the territory in territory, domain node place,
Situation 2: before next delivery time of this domain node beacon frame arrives, do not receive beacon frame: beacon frame comprises the mark of described register node,
Situation 3: before next delivery time of this domain node beacon frame arrives, does not receive territory and searches response message: the mark that request message comprises register node is searched in territory.
Step 403: domain node sends beacon frame, comprises the mark of register node within a beacon frame.
Domain node arrived the moment in the predetermined beacon frame information moment, increase the mark (mark of the register node comprised in request message is searched in the territory that step 401 receives) of register node within a beacon frame, for opposite end register node and response message can be searched according to this territory and determine the information in this domain node information and territory, this domain node place, and send territory access request according to territory search response message to this domain node, and can know according to this beacon frame for other arbitrary domain nodes: this beacon frame is the response made according to the territory search request message of this register node.
Step 404: domain node receives the territory registration request that register node sends.
After register node receives the beacon frame of the mark of the register node comprised, send territory registration request according to beacon frame to domain node, comprise the request joining this territory, domain node place at territory registration request.
Step 405: domain node is the access control of register node execution domains according to territory registration request.
In the present embodiment, can, according to the actual conditions of this domain node in territory, place, be the access control of register node execution domains according to territory registration request.
Such as: this domain node is DM, then DM is according to the actual conditions in territory, this DM and this DM place and territory registration request, judges whether to allow register node to join territory, this DM place, and to register node feedback judged result.
This domain node is BPR, and this BPR forwards territory registration request to the DM in territory, place, below performing for DM:
According to territory registration request and judge whether to allow register node to join territory, domain node place, and feed back judged result as via node to register node by this BPR.
Step 406: domain node is ignored this territory and searched request message, conventionally at the beacon frame of next delivery time prior art structure.
Domain node is ignored this territory and is searched request message, does not search request message and does any further process, namely conventionally can send beacon frame to territory.
In the present embodiment, if when judgement is in a step 102 no, can perform according to this step, also can conventionally or other other flow processs of predetermined strategy execution.
But internet message redundancy can be avoided further according to the process of this steps flow chart, reduce network signaling overhead.
Therefore the present embodiment and embodiment 1,2 and 3 differences are:
The present embodiment technical scheme has been specially adapted to beacon network (no matter this network is sync beacon network or asynchronous beacon network), make full use of beacon frame in beacon network, guarantee after DM or BPR receives territory search request, before next feedback moment of the beacon frame of DM or BPR arrives, this DM or BPR sends beacon frame in a broadcast manner, and comprise the mark that the register node comprised in request is searched in this territory in this beacon frame, thus make, after other any domain nodes receive this beacon frame, can according to this beacon frame determine DM or BPR current be to this territory search request message feedback beacon frame, therefore these domain nodes can not respond above-mentioned territory search request message, be conducive to the redundancy reducing internet message, and reduce network signaling overhead.
Embodiment 5:
Present embodiments provide the method for a kind of territory access control, be specially adapted to the communication network working in beacon patterns.
Shown in Figure 5, arbitrary register node that the arbitrary domain node (the non-BPR of non-DM) in a kind of join domain that the present embodiment provides is does not join domain sets up the method for territory access control, and it mainly comprises following process step:
Step: 501: domain node acceptance domain searches request message.
The domain name identification that request message comprises the mark of register node that sends and search request message and each aiming field corresponding to register node is searched in territory.
Step 502: if the identical of the DNI of the arbitrary aiming field comprised is searched in request message in the DNI in territory, domain node place and territory, and, search the feedback moment arrival of response message in this domain node territory before, do not receive beacon frame: beacon frame comprises the mark of register node, and do not receive territory and search response message: the mark that response message comprises register node is searched in territory, then perform step 503; Otherwise perform step 506.
All execution steps 503 of all points of situations below meeting; Otherwise perform step 506, concrete each situation is respectively:
Situation 1: the identical of the DNI of the arbitrary aiming field comprised is searched in request message in DNI and the territory in territory, domain node place,
Situation 2: search the feedback moment arrival of response message in this domain node territory before, do not receive beacon frame: beacon frame comprises the mark of described register node,
Situation 3: search the feedback moment arrival of response message in this domain node territory before, do not receive territory and search response message: the mark that request message comprises register node is searched in territory.
Step 503: domain node feedback field searches response message.
Search in response message in the territory of feedback and comprise: the mark of the register node comprised in request message is searched in corresponding territory.
Domain node specifically can be, but not limited to the mode with broadcast transmission, feeds back this territory and searches response message.
Step 504: domain node receives the territory registration request that register node sends.
After register node receives the beacon frame of the mark of the register node comprised, send territory registration request according to beacon frame to domain node, comprise the request joining this territory, domain node place at territory registration request.
Step 505: domain node is the access control of register node execution domains according to territory registration request.
In the present embodiment, can, according to the actual conditions of this domain node in territory, place, be the access control of register node execution domains according to territory registration request.
In the present embodiment, specifically this domain node forwards territory registration request to the DM in territory, place, or forwards territory registration request by the BPR between this domain node and DM to DM, below performing for DM:
According to territory registration request and judge whether to allow register node to join territory, domain node place, and feed back judged result as via node to register node by this BPR.
Step 506: domain node is ignored this territory and searched request message.
Domain node is ignored this territory and is searched request message, does not search request message do any further process to territory.
In the present embodiment, if when judgement is in step 502 no, can perform according to this step, also can conventionally or other other flow processs of predetermined strategy execution.
But internet message redundancy can be avoided further according to the process of this steps flow chart, reduce network signaling overhead.
Therefore, the present embodiment and embodiment 1-3 are in like manner, adopt the present embodiment technical scheme, even if in following situation: the object territory of register node exists, but current register node is positioned at the edge in object territory, register node present position is beyond the coverage of DM or BPR in this territory, and register node cannot receive the beacon frame that DM or BPR sends.In this case, as long as other domain node of the neighbouring existence of register node, application the present embodiment technical scheme, the territory that this register node still can be fed back according to these domain nodes is searched response message and is joined in this existing territory, visible employing the present embodiment technical scheme, be conducive to improving register node and be added to probability in existing territory, avoid, due to already present object territory and newly-built territory cannot be found, causing the situation that domain name is conflicted.
Second: for arbitrary domain node in any territory, this domain node is receiving after territory that register node sends searches request message, only after judging that territory, this domain node place is as the aiming field of this register node, and search the feedback moment of response message in this domain node feedback field before, only have do not receive other domain nodes to this territory search request territory search response message be not subject to yet DM or BPR to this territory search response request message feedback beacon frame, this domain node is just searched request message feedback field according to this territory and is searched response message, be conducive to avoiding internet message redundancy, reduce network signaling overhead.
Embodiment 6:
Present embodiments provide the method for a kind of territory access control, be specially adapted to the communication network working in beacon patterns.
Shown in Figure 6, the arbitrary domain node in a kind of join domain that the present embodiment provides is the method that arbitrary register node of does not join domain sets up territory access control, and it mainly comprises following process step:
Step 601: domain node acceptance domain searches request message.
In like manner step 201 in step 101 and embodiment 2 in embodiment 1.
Step 602: domain node judges: the whether whether identical with the DNI in this territory, domain node place of the DNI of the arbitrary aiming field comprised in request message is searched in territory.
In like manner step 202 in step 102 and embodiment 2 in embodiment 1.
Step 603: if identical, then perform step 604; Otherwise perform step 611.
Step 6041: judge this domain node whether as DM or BPR, if be DM or BPR, then performs step 6042; Otherwise, jump procedure 6052.
If the arbitrary identical with the DNI in territory, this domain node place of the DNI of each aiming field comprised in request message is searched in the territory received current, then think that territory, this domain node place is send this territory to search one of aiming field of the register node of request message, whether be then DM or BPR according to this domain node, perform different flow processs.
Step 6042: domain node beacon frame the next one feedback moment arrive before, below monitoring: whether received comprise send the current field search request message register node mark territory search response message; Or whether receive and comprise register node additional field, and the beacon frame that the mark of register node in register node additional field is identical with the mark that the register node comprised in request message is searched in the current territory received.
This domain node is DM or BPR, the monitoring time to above-mentioned Contents for Monitoring: this domain node receives this territory and searches the request message moment and play the next one feedback duration that stops of moment to beacon frame.
Step 6043: if before the next one feedback moment of beacon frame arrives, have and receive above-mentioned territory and search response message or have and receive above-mentioned beacon frame, then redirect performs step 6047; Otherwise perform step 6044.
If do not receive territory to search response message before next feedback moment of beacon frame arrives, or the mark that the register node comprised in request message is searched in the territory that the receives mark of searching the register node in response message and the territory that step 601 receives is not identical; And, do not receive beacon frame, or the beacon frame received does not comprise register node additional field, or the mark that the register node comprised in request message is searched in the mark of the register node in the register node additional field in the beacon frame received and the territory that step 601 receives is not identical, perform step 6044; Otherwise redirect performs step 6047.
Step 6044: domain node sends the beacon frame of following structure in next feedback moment: increase newly and be added with register node additional field, and comprise information in register node additional field: the mark of the register node comprised in request message is searched in the territory that step 601 receives.
Domain node is being treated to increase register node additional field in the beacon frame that next feedback moment sends, and comprises in register node additional field: be included in the mark that the register node in request message is searched in territory that step 601 receives.
Domain node is being treated to increase by a territory in the beacon frame that next feedback moment sends, and the territory this newly increased is defined as: register node additional field.And in this register node additional field, comprise information: the mark being included in the register node in the search request message that step 601 receives.
Domain node is when the next one feedback moment of beacon frame arrives, and the beacon frames broadcast this being contained register node additional field sends, and all can receive the beacon frame of this ad hoc structure for register node and other adjacent domain nodes.
Particularly, register node is after the beacon frame receiving band register node additional field, the DNI in the territory in beacon frame is defined as the DNI in the object territory that the current reality of register node can add by register node, and during register node is synchronous with this territory according to " the territory synchronizing information " in beacon frame, register node is according to the transmission address of beacon frame, to this DM or BPR sending domain registration request, in this territory registration request, comprise the solicited message in request territory, join domain node place, judge whether register node can add in the current field for DM according to this territory registration request.
Other domain nodes except register node are after receiving the beacon frame of this ad hoc structure, this domain node is after determining to comprise register node additional field in beacon frame, and whether the mark comparing the register node comprised in the mark territory whether this domain node the receives search request message of the register node be encapsulated in register node additional field is further consistent; If consistent, then domain node can determine that current DM or BPR searches request message to the territory of register node and made response, and this domain node is ignored this territory and searched request message, responds without the need to searching request message to territory, searches response message without the need to sending territory.
Step 6045: domain node receives the territory registration request that register node sends.
In like manner step 207 in embodiment 2.
Step 6046: domain node sends registration confirmation message according to the territory registration request received to register node, and indicate whether to allow register node to join territory, domain node place.
In like manner step 209 in embodiment 2.
Step 6047: domain node is ignored this territory and searched request message, conventionally at the beacon frame of next feedback moment prior art structure.
If judged in step 6043: had before next feedback moment of beacon frame arrives and receive territory and search response message and territory to search the mark of the register node in response message identical with the mark that the register node comprised in request message is searched in the territory that step 601 receives; Or, receive beacon frame, and the beacon frame received comprises register node additional field, and the mark that the register node comprised in request message is searched in the territory that the mark of the register node in register node additional field and step 601 receive is identical, perform this step: when next feedback moment arrives, send the beacon frame of prior art structure, without register node additional field in this beacon frame.
Step 6052: in the very first time interval of domain node after request message is searched in the territory receiving step 601, further below monitoring: response message is searched in the territory whether having received the mark comprising the register node sending the current field search request message; Or whether receive and comprise register node additional field, and the beacon frame that the mark of register node in register node additional field is identical with the mark that the register node comprised in request message is searched in the current territory received.
If this domain node is other arbitrary domain nodes of the non-BPR of non-DM, the very first time is spaced apart: this domain node receives the moment of above-mentioned territory searching request message and plays the duration stopped to the feedback moment that this domain node feedback field searches response message.
With step 304-3053 in embodiment 3 in like manner, in the present embodiment, can be, but not limited to after domain node determines that the DNI of an aiming field of the register node comprised in the current territory search request message received is identical with the DNI in territory, this domain node place, then perform this step:
This domain node runs the random value mathematical algorithm program prestored, and the random value in a time interval, is designated as random time intervals.This random time intervals is made to be greater than arbitrary time interval of a predetermined time interval.
Especially, this random time intervals is greater than a predetermined time interval in the present embodiment.This random time intervals specifically can be made to be greater than the transmission time interval of the beacon frame of DM and BPR in this territory.
Like this, for each common domain node of synchronization, the random time intervals that each common domain node obtains respectively is different, namely the moment that the feedback field that each common domain node is predetermined searches response message is inconsistent, and the predetermined feedback field of each common domain node searches DM or BPR in this territory, moment all delayed territory of response message, the probability of the beacon frame with register node additional field that territory search response message, particularly DM or BPR that then each common domain node receives other domain nodes feedback before feedback field searches response message send improves greatly.Therefore utilize technique scheme to be conducive to avoiding multiple domain node all to search the situation of response message or beacon frame to register node feedback field further, avoid the response message redundancy in network, reduce network signaling overhead.Further, register node is guaranteed preferentially according to the beacon frame information territory registration request of DM or BPR.
Step 6053: if in random time intervals, has and receives this territory search response message or above-mentioned beacon frame, then redirect performs step 611; Otherwise perform step 6054.
Step 6054: domain node broadcast feedback field searches response message.
In like manner step 206 in embodiment 2.
Step 6055: domain node receives the territory registration request that register node sends.
In like manner step 107 in embodiment 1.
Step 6056: domain node forwards territory registration request to the DM in territory, domain node place, so that DM is according to described territory registration request, judges whether to allow register node to join in this territory.
In like manner step 210 in embodiment 1.
Step 611: domain node is ignored this territory and searched request message, does not search request message to territory and does any further process.
In like manner step 211 in embodiment 1.
Therefore, the present embodiment and embodiment 1 difference are: the present embodiment technical scheme has been specially adapted to beacon network (no matter this network is sync beacon network or asynchronous beacon network), make full use of beacon frame in beacon network, guarantee after DM or BPR receives territory search request, before next feedback moment of the beacon frame of DM or BPR arrives, this DM or BPR sends beacon frame in a broadcast manner, and increase newly in this beacon frame and be added with register node additional field, comprise in register node additional field: be included in the mark that the register node in request message is searched in the current territory received, thus guarantee that having other the least possible domain nodes to search request message to this territory makes response.
Whether after other any domain nodes receive this beacon frame, can determine that DM or BPR is current according to this beacon frame has the above-mentioned territory of response to search request message; If DM or BPR searches request message to this territory make response, then this domain node can ignore this territory search request message.
With embodiment 1,2 in like manner, the present embodiment technical scheme has the following advantages:
First: adopt the present embodiment technical scheme, even if in following situation: the object territory of register node exists, but current register node is positioned at the edge in object territory, register node present position is beyond the coverage of DM or BPR in this territory, therefore register node cannot receive the message that DM or BPR sends.
In this case, as long as other domain node of the neighbouring existence of register node, application the present embodiment technical scheme, this register node still can join in this existing territory.
And adopt prior art, each register node only initiatively or the passive beacon frame that sends according to DM or BPR and add territory, once register node exceeds the coverage of DM or BPR, even if this register node position has the territory of beacon, the DNI in this existing territory is identical with the DNI of one of them aiming field in equipment, but DM or BPR in the relatively existing territory of current device is concealed nodes (information that namely DM or BPR sends cannot arrive this equipment), register node cannot receive any message (containing beacon frame) of DM or BPR, therefore register node cannot join existing territory, now register node take arbitrary DNI of this register node aiming field as the newly-built territory of DNI in this newly-built territory, cause there is the identical territory of two or more DNI in a communication network, affect the normal work in each territory on communication network.
By above-mentioned comparison, visible adopt the present embodiment technical scheme, be conducive to improving register node and be added to probability in existing territory, avoid, due to already present object territory and newly-built territory cannot be found, causing the situation that domain name is conflicted.
Second: adopt the present embodiment technical scheme, for arbitrary domain node in any territory, this domain node is receiving after territory that register node sends searches request message, after judging that territory, this domain node place is not as the aiming field of this register node, domain node does not search the response of request message to this territory.
And when this domain node determines that territory, place is one of aiming field of this register node after searching request message according to territory, domain node is before this domain node feedback field searches the feedback moment of response message, below domain node monitoring: whether received other domain nodes search request response (response message or beacon frame are searched in territory) to this territory, once receive, then domain node ignore field search request message responds, and feedback field can not search response message.Therefore adopt this technical scheme to be conducive to reducing each node in communication network to the response of the territory login request message of same register node, to avoid internet message redundancy, reduce network signaling overhead.。
It should be noted that, above-mentioned beacon frame can be the beacon frame of each type, such as can for the beacon frame sent by DM, the R-beacon frame that also can send for BPR.
Embodiment 7:
Shown in Figure 7, the method that a kind of territory that the present embodiment provides is searched, the method that register node is searched according to this territory searches network, adds in the territory of this network, and it mainly comprises following process step:
Step 701: whether register node monitoring receives beacon frame.
After register node powers on start, register node, in a predetermined very first time restriction, is monitored this register node and whether is received beacon frame.
Beacon frame can be the beacon frame of each type, such as can for the beacon frame sent by DM, the R-beacon frame that also can send for BPR.
Step 702: if received, then perform step 703; Otherwise perform step 705.
Step 703: register node judges that whether the DNI in beacon frame is identical with the DNI of arbitrary aiming field of this register node, if identical, performs step 704; Otherwise, perform step 705.
If the DNI in beacon frame is identical with the DNI of arbitrary aiming field of this register node, then think that the territory sending beacon frame is one of aiming field corresponding to this register node.
In the present embodiment, register node once determine that the DNI in the beacon frame received is identical with the DNI of arbitrary aiming field of this register node, is then thought that the territory sending beacon frame is one of aiming field corresponding to this register node, is performed step 704, start territory register flow path, join in this territory.
Step 704: register node according to beacon frame to DM or the BPR sending domain registration request sending this beacon frame.
Register node is when once determining the aiming field that can add in the present embodiment, by this as final goal territory, to its sending domain registration request.
The request adding the territory, DM or BPR place sending this beacon frame is comprised in the registration request of described territory, if what register node received is the beacon frame that DM sends, then directly to DM sending domain registration request, if the R-beacon frame that the BPR that register node receives sends, then directly to BPR sending domain registration request, this registration request is forwarded to DM by BPR, according to the actual conditions in this domain node and territory, place, judge whether to allow register node to join in this territory according to territory registration request, if allowed, registration confirmation message is forwarded to register node by domain node, and can be included as the information such as the node address of register node distribution in registration confirmation message, if do not allowed, the registration feedback message of refusal registration is fed back to register node by domain node, so that register node is according to predetermined registration policy, registration request is resubmited in next registration moment, or carry out the registration request process of other aiming fields after repeatedly submitting registration request to, or newly-built territory.
Step 705: if whether very first time restriction expires, then perform step 706; Otherwise return step 701.
If register node cannot obtain the beacon frame identical with the DNI of arbitrary aiming field of this register node of the DNI in beacon frame in the restriction of the predetermined very first time, then may there is following several situation:
One is, does not really have territory near current register node;
Two are, have territory to exist near current register node, but existing territory is the territory without beacon patterns, therefore register node can not receive beacon frame;
Three are, territory is had to exist near current register node, and existing territory is the territory having beacon patterns, but this register node is concealed nodes relative to DM or BPR in these existing territories, register node not in the coverage of these DM or BPR, register node cannot with DM or BPR direct communication.
If register node according to beacon frame join domain, then cannot enter the flow process of step 706, to be sent by active
Step 706: request message is searched in register node broadcast transmission territory.
Register node is doomed transmission one territory and is searched request message, searches in request message include in this territory: the DNI of the mark of this register node and each aiming field corresponding to this register node.
Other further instructions are shown in that the response in embodiment 2 step 201 describes in detail.
Register node sends above-mentioned territory in a broadcast manner and searches request message, any arbitrary domain node being arranged in arbitrary territory near register node all can receive this territory and search request message, to receive the arbitrary domain node in arbitrary territory searching request message in territory seeking request message feedback response message according to predetermined agreement to this territory, so that register node can obtain the information such as the information in these territories, node place and domain node address according to response message.
Originally receive in implementing the arbitrary domain node searching arbitrary territory of request message in territory the flow process of request message feedback response message is sought to this territory can according to shown in the flow process in embodiment 1-6.But be not limited to this.
Step 707: whether register node monitoring receives territory and search response message.
Register node is after sending territory search request message, and in the second predetermined binding hours, whether monitoring receives territory and search response message.
In the present embodiment, territory is searched in response message and is comprised information: send this territory and search the mark that the register node comprised in request message is searched in territory corresponding to the domain node address of response message, the DNI sending the territory, domain node place of this territory search response message, the territory synchronizing information sending the territory, domain node place of this territory search response message and the current field search response message.
Step 708: if receive territory to search response message, then perform step 709; Otherwise perform step 710.
Step 709: whether the DNI that register node decision space searches response message is identical with the DNI of arbitrary aiming field of this register node, if identical, performs step 710; Otherwise, perform step 712.
If the DNI that the territory received is searched in response message is identical with the DNI of an aiming field of this register node, then determining that the territory of response message is searched in territory is one of aiming field corresponding to this register node, perform step 710 and start territory register flow path, join in this territory, otherwise perform step 712.
Step 710: register node will send the territory, domain node place of this search response message, be defined as the final purpose territory of this register node.
Register node is when once determining the aiming field that can add in the present embodiment, by this as final goal territory, to its sending domain registration request.
Step 711: register node is to the domain node sending domain registration request of search response message sending the DNI comprising final purpose territory.
Register node is when once determining the aiming field that can add in the present embodiment, by this as final goal territory, to its sending domain registration request.
The solicited message adding and send this and add the territory, node place sending this territory search response message is comprised in the registration request of territory.。
Receive the domain node of this territory registration request, territory registration request is forwarded to the DM in this territory, so that DM is according to the actual conditions in this DM and territory, place, judge whether to allow register node to join in the A of this territory according to territory registration request, if allowed, registration confirmation message as information forward relay, is forwarded to register node by above-mentioned domain node by DM, and can be included as the information such as the node address of register node distribution in registration confirmation message; If do not allowed, DM by above-mentioned domain node as information forward relay, the registration feedback message of refusal registration is fed back to register node, so that register node is according to predetermined registration policy, registration request is resubmited in next registration moment, or carry out the registration request process of other aiming fields after repeatedly submitting registration request to, or newly-built territory.The registration confirmation message sent after DM process, after forwarded this registration request, also will be forwarded to register node by ordinary node again.
Step 712: if the second time restriction at the expiration, then performs step 713; Otherwise return step 707.
If register node cannot obtain territory and search response message in predetermined time restriction, or the DNI that all territories received are searched in response message is all not identical with the DNI of arbitrary aiming field of this register node, then may there is following several situation:
One is, does not really have aiming field near current register node;
Two are, there is aiming field near current register node, and existing territory is the territory without beacon patterns, but any node in this existing territory and register node cannot communicate to connect;
Three are, there is aiming field near current register node, and existing territory is the territory having beacon patterns, and register node is not in the coverage of these DM or BPR, and any node in register node and existing territory all cannot communicate to connect.
If register node both also cannot cannot search response message join domain according to territory according to beacon frame join domain, then entered the flow process of step 713.
Step 713: register node is current cannot add existing territory, according to predetermined policy, newly-built territory.
Therefore, application the present embodiment technical scheme, register node is after passing through the failure of beacon frame join domain, also initiatively send territory further and search request, to wait for that response message join domain is searched in territory, like this, as long as there is aiming field near register node, no matter there is beacon patterns in this territory or without beacon patterns, no matter whether this register node is in the coverage that this has DM or BPR in the territory of beacon patterns, as long as arbitrary domain node of this aiming field can with register node direct communication, then register node can add this existing aiming field, and can not newly-built territory, the present embodiment technical scheme is adopted to be conducive to improving the probability that register node searches existing aiming field relative to prior art, to avoid when there is register node aiming field register node still newly-built territory and cause there are two identical territories of DNI in network, affect the normal work in each territory on communication network.
Embodiment 8:
Shown in Figure 7, the method that the another kind of territory present embodiments providing the network being applicable to beacon is searched, search network to add in the territory of this network for register node according to the method that this territory is searched, it mainly comprises following process step:
Step 801: whether register node monitoring receives beacon frame.
After register node powers on start, whether register node monitoring in the restriction of the predetermined very first time receives beacon frame.
Beacon frame can be the beacon frame of each type, such as can for the beacon frame sent by DM, the R-beacon frame that also can send for BPR.
Step 802: if received, then perform step 803; Otherwise perform step 805.
Step 803: register node judges that whether the DNI in beacon frame is identical with the DNI of arbitrary aiming field of this register node, if identical, performs step 804; Otherwise, perform step 805.
Register node once receive beacon frame and the DNI of DNI in beacon frame whether arbitrary aiming field of this register node of territory is identical, then thinks that the territory sending beacon frame is one of aiming field corresponding to this register node.
Step 804: register node according to beacon frame to DM or the BPR sending domain registration request sending this beacon frame.
Step 805: if whether very first time restriction expires, then perform step 806; Otherwise return step 801.
Step 806: register node sending domain searches request message.
In step 801-806 and embodiment 7, step 701-706 in like manner.
Step 807: whether register node monitoring receives territory and search response message and beacon frame.
Register node is after sending territory search request message, and in the second predetermined time restriction, whether monitoring receives territory is searched response message and monitors whether receive beacon frame.
In the present embodiment, territory is searched in response message and is comprised information: send this territory and search the mark that the register node comprised in request message is searched in territory corresponding to the domain node address of response message, the DNI sending the territory, domain node place of this territory search response message, the territory synchronizing information sending the territory, domain node place of this territory search response message and the current field search response message.
Step 808: if receive above-mentioned territory to search response message or beacon frame, then perform step 809; Otherwise perform step 810.
Step 809: whether the DNI that register node decision space searches response message or beacon frame is identical with the DNI of arbitrary aiming field of this register node, if identical, performs step 810; Otherwise, perform step 811.
If the DNI in the beacon frame received is identical with the DNI of an aiming field of this register node, then determines that the territory of beacon frame is one of aiming field corresponding to this register node, perform step 810 and start territory register flow path, join in this territory, otherwise perform step 812.
If the DNI in the beacon frame received is identical with the DNI of an aiming field of this register node, then determines that the territory of beacon frame is one of aiming field corresponding to this register node, perform step 810, otherwise perform step 812.
If the DNI that the territory that receives is searched in response message is identical with the DNI of an aiming field of this register node, then determines that territory that response message is searched in territory is one of aiming field corresponding to this register node, perform step 810, otherwise execution step 812.
Step 810: register node will send the territory, domain node place of this search response message or beacon frame, is defined as one of aiming field that this register node can add.
Register node stores the current aiming field that respectively can add determined, and the transmitting terminal address (DM or BPR or other domain node addresses) of the message that the current aiming field added is corresponding (response message is searched in beacon frame or territory), after predetermined time restriction at the expiration, to determine a final goal territory in multiple aiming field added.
Step 811: if the second limiting time at the expiration, then performs step 812; Otherwise return step 807.
This step and step 712 in embodiment 7 are in like manner.
Step 812: register node, in all aiming fields added determined, determines final purpose territory.
A final goal territory is determined in multiple aiming field added.
Step 813: register node is to the domain node sending domain registration request of search response message sending the DNI comprising final purpose territory.
This step and step 710 in embodiment 7 are in like manner.
Step 814: register node is current cannot add existing territory, according to predetermined policy, newly-built territory.
This step and step 713 in embodiment 7 are in like manner.
Therefore the present embodiment and embodiment 7 differences are mainly:
1, monitoring whether territory is searched in response message process is continued to monitor whether receive beacon frame;
2, the present embodiment is after response message and beacon frame are searched in monitoring territory, not the aiming field added determined first as described in Example 7 is as final goal territory, but after monitoring time restriction at the expiration, in multiple aiming field added, choose one as final goal territory according to predetermined strategy.
Visible, the present embodiment, except possessing the beneficial effect shown in embodiment 7, also has following advantage further:
1, due to above-mentioned difference 1, and the probability that register node searches out existing aiming field is improved further;
2, in the multiple aiming fields added determined, one is chosen as final goal territory according to predetermined strategy.Be conducive to choosing wherein most suitable territory and, as final goal territory, be conducive to the optimization collocation of territory net.
Embodiment 9:
Shown in Figure 9.It mainly comprises to present embodiments provide a kind of communication equipment: receiving element 901, transmitting element 902 and CPU 903.
Receiving element 901 is for receipt message.Transmitting element 902 is for sending message.
CPU 903, is connected with receiving element 901, transmitting element 902 respectively, and for controlling the work of receiving element 901 and transmitting element 902, specific works principle is as follows:
After receiving element 901 receives territory search request message, if the identical of the domain name identification of the arbitrary aiming field comprised is searched in request message territory in the domain name identification in territory, communication equipment place and the territory that receiving element 901 receives, and, search the feedback moment arrival of response message (searching request message feedback according to territory) in transmitting element 902 feedback field of this communication equipment before, response message is searched in the territory not receiving the mark comprising register node, then CPU 903 controls transmitting element 902 feedback field and searches response message, the mark comprising register node in response message is searched in the territory of feedback, for opposite end register node and response message can be searched according to this territory and determine the information in this communication equipment information and territory, this domain node place, and send territory access request according to territory search response message to this communication equipment.
After receiving element 901 receives territory search request message, CPU 903, according to the actual conditions of this communication equipment in territory, place, is the access control of register node execution domains according to territory registration request.Such as: this communication equipment is DM, then communication equipment is according to the actual conditions in domain node and territory, communication equipment place and territory registration request, judges whether to allow register node to join territory, domain node place, and to register node feedback judged result.
This domain node is not DM, and communication equipment forwards territory registration request to the DM in territory, domain node place, below performing for DM:
According to territory registration request and judge whether to allow register node to join territory, domain node place, and feed back judged result as via node to register node by this domain node.
Further flow process is see the detailed description of embodiment 1,2,3.
Therefore, adopt the present embodiment technical scheme, this communication equipment is applied as arbitrary domain node in arbitrary territory, it is after communication equipment receives the territory search request message of register node, if territory, this communication equipment place is after one of aiming field of register node, and after receiving this territory and searching request message, search the feedback moment arrival of response message in territory before, do not receive the territory search response that IncFlds searches the mark of the register node in request message, communication equipment just can be broadcasted feedback field and be searched response message, the object territory that can add near this register node can be known according to this search response message and to communication equipment sending domain registration request to make register node.
Relative to register node each in prior art according to beacon frame directly to DM or BPR sending domain registration request technical scheme for, the present embodiment technical scheme has the following advantages:
First: adopt the present embodiment technical scheme, even if in following situation: the object territory of register node exists, but current register node is positioned at the edge in object territory, register node present position is beyond the coverage of DM or BPR in this territory, and register node cannot receive the message that DM or BPR sends.Application this programme, as long as other domain node of the neighbouring existence of register node, application the present embodiment technical scheme, this register node still can join in this existing territory.Visible employing the present embodiment technical scheme, is conducive to improving register node and is added to probability in existing territory, avoids, owing to cannot find already present object territory and newly-built territory, causing the situation that domain name is conflicted.
Second: domain node is receiving after territory that register node sends searches request message, after judging that territory, this domain node place is as the aiming field of this register node, and before feedback field searches response message, do not receive other domain nodes response message is searched to the territory that request is searched in this territory, just feedback field searches response message, each domain node in network can be avoided to search request message for territory, a territory respond respectively, be conducive to avoiding internet message redundancy, reduce network signaling overhead.
Embodiment 10:
Shown in Figure 10.Present embodiments provide a kind of communication equipment, it can as DM or the BPR application in territory, and it mainly comprises: receiving element 1001, transmitting element 1002 and CPU 1003.
Receiving element 1001 is for receipt message.Transmitting element 1002 is for sending message.
CPU 1003, is connected with receiving element 1001, transmitting element 1002 respectively, and for controlling the work of receiving element 1001 and transmitting element 1002, specific works principle is as follows:
After receiving element 1001 receives territory search request message, if the identical of the domain name identification of the arbitrary aiming field comprised is searched in request message in the domain name identification in territory, communication equipment place and territory, and, before next delivery time of beacon frame arrives, do not receive beacon frame: beacon frame comprises the mark of described register node, and do not receive territory and search response message: the mark that response message comprises described register node is searched in territory, control transmitting element 1002 and send beacon frame, comprise the mark of register node within a beacon frame, for opposite end register node and the information in this communication equipment information and territory, this domain node place can be determined according to this beacon frame, and send territory access request according to territory search response message to this communication equipment.
After receiving element 1001 receives registration request, CPU 1003, according to the actual conditions of this communication equipment in territory, place, is the access control of register node execution domains according to territory registration request.Such as:
This communication equipment is DM, then communication equipment is according to the actual conditions in domain node and territory, communication equipment place and territory registration request, judges whether to allow register node to join territory, domain node place, and to register node feedback judged result.
This domain node is BPR, and communication equipment forwards territory registration request to the DM in territory, domain node place, below performing for DM:
According to territory registration request and judge whether to allow register node to join territory, domain node place, and feed back judged result as via node to register node by this domain node.
Further flow process is see the detailed description of embodiment 4,6.
Therefore, adopt the present embodiment technical scheme, this communication equipment is applied as arbitrary DM or BPR in arbitrary territory, it is after communication equipment receives the territory search request message of register node, if territory, this communication equipment place is after one of aiming field of register node, and after receiving this territory and searching request message, before next delivery time of beacon frame arrives, do not receive the territory search response that IncFlds searches the mark of the register node in request message, communication equipment just can send beacon frame, and comprise the mark that the register node comprised in request is searched in this territory in this beacon frame, thus make, after other any domain nodes receive this beacon frame, can according to this beacon frame determine DM or BPR current be to this territory search request message feedback beacon frame, therefore these domain nodes can not respond above-mentioned territory search request message, be conducive to the redundancy reducing internet message, and reduce network signaling overhead.
Embodiment 11:
Shown in Figure 11.Present embodiments provide a kind of communication equipment, this communication equipment be specially adapted in beacon frame mode network the common domain node of the non-BPR of non-DM.
This communication equipment mainly comprises: receiving element 1101, transmitting element 1102 and CPU 1103.
Receiving element 1101 is for receipt message.Transmitting element 1102 is for sending message.
CPU 1103, is connected with receiving element 1101, transmitting element 1102 respectively, and for controlling the work of receiving element 1101 and transmitting element 1102, specific works principle is as follows:
After receiving element 1101 receives described territory search request message, if the identical of the domain name identification of the arbitrary aiming field comprised is searched in request message in the domain name identification in territory, communication equipment place and the territory that receiving element 1101 receives, and, before the feedback moment of searching request message feedback field search response message according to territory arrives, do not receive beacon frame (and beacon frame comprises the mark of described register node), and do not receive territory and search response message (and the mark that response message comprises described register node is searched in territory), then CPU 1103 controls transmitting element 1102 feedback field and searches response message, the mark comprising register node in response message is searched in territory, for opposite end register node and response message can be searched according to this territory and determine the information in this communication equipment information and territory, this domain node place, and send territory access request according to territory search response message to this communication equipment.
And, after receiving element 1101 receives registration request, CPU 1103 according to registration request, for sending the register node execution domains access control of described registration request.Such as:
Communication equipment forwards territory registration request to the DM in territory, domain node place, or forwards this territory registration request as relaying to DM by the BPR that this communication equipment is connected with DM, below performing for DM:
According to territory registration request and judge whether to allow register node to join territory, domain node place, and feed back judged result as via node to register node by this domain node.
Further flow process is see the detailed description of embodiment 5,6.
Therefore, the present embodiment and embodiment 9 are in like manner, adopt the present embodiment technical scheme, even if in following situation: the object territory of register node exists, but current register node is positioned at the edge in object territory, register node present position is beyond the coverage of DM or BPR in this territory, and register node cannot receive the beacon frame that DM or BPR sends.In this case, as long as the domain node shown in neighbouring this communication equipment of existence of register node, application the present embodiment technical scheme, this register node still can be searched response message according to the territory of this communication device feeding back and be joined in this existing territory, visible employing the present embodiment technical scheme, be conducive to improving register node and be added to probability in existing territory, avoid, due to already present object territory and newly-built territory cannot be found, causing the situation that domain name is conflicted.
Second: for arbitrary domain node in any territory, communication equipment is receiving after territory that register node sends searches request message, only after judging that territory, this communication equipment place is as the aiming field of this register node, and search the feedback moment of response message in this communication device feeding back territory before, only have do not receive other domain nodes to this territory search request territory search response message be not subject to yet DM or BPR to this territory search response request message feedback beacon frame, this communication equipment is just searched request message feedback field according to this territory and is searched response message, be conducive to avoiding internet message redundancy, reduce network signaling overhead.
Embodiment 12:
Shown in Figure 12, present embodiments provide a kind of communication equipment, this communication equipment has been specially adapted to beacon frame mode network, and this communication equipment is stronger as territory search capability during register node.
This communication equipment mainly comprises: receiving element 1201, transmitting element 1202 and CPU 1203.
CPU 1203, is connected with receiving element 1201, transmitting element 1202 respectively, and for controlling the work of receiving element 1201 and transmitting element 1202, specific works principle is as follows:
If receiving element 1201 does not receive beacon frame in the monitoring periods of beacon frame, or when the beacon frame received does not comprise the domain name identification of arbitrary aiming field of register node, CPU 1203 controls transmitting element 1202 broadcast transmission territory and searches request message, searches the mark that request message comprises this communication equipment in territory;
After receiving element 1201 receives territory search response message, comprise if response message is searched in territory: during the domain name identification of arbitrary aiming field of register node, CPU 1203 searches response message according to territory, determine final purpose territory, and CPU 1203 controls transmitting element 1202 according to territory search response message (response message is searched in the territory comprising the domain name identification in described final purpose territory) sending domain registration request, the request adding final purpose territory is comprised in the registration request of territory, so that the domain node of opposite end is the territory access process that this register node performs response according to this registration request, if this domain node is DM, then directly execution domains access control, otherwise be transmitted to the DM in this territory, so that this DM execution domains access control.
Further flow process is in detail see shown in the corresponding contents in embodiment 1-11, and therefore not to repeat here.
Therefore, application the present embodiment technical scheme, this communication equipment is when as register node, after by the failure of beacon frame join domain, also initiatively send territory further and search request, to wait for that response message join domain is searched in territory, like this, as long as there is aiming field near communication equipment, no matter there is beacon patterns in this territory or without beacon patterns, no matter whether this communication equipment is in the coverage that this has DM or BPR in the territory of beacon patterns, as long as arbitrary domain node of this aiming field can with communication equipment direct communication, then communication equipment can add this existing aiming field, and can not newly-built territory, the present embodiment technical scheme is adopted to be conducive to improving the probability that communication equipment searches existing aiming field relative to prior art, to avoid when there is communication equipment aiming field communication equipment still newly-built territory and cause there are two identical territories of DNI in network, affect the normal work in each territory on communication network.
Embodiment 13:
Shown in Figure 13.It mainly comprises to present embodiments provide a kind of communication equipment: receiver 1301, transmitter 1302 and central processing unit 1303.
Receiver 1301 is for receipt message.Transmitter 1302 is for sending message.
Central processing unit 1303, is connected with receiver 1301, transmitter 1302 respectively, and for controlling the work of receiver 1301 and transmitter 1302, specific works principle is as follows:
After receiver 1301 receives territory search request message, if the identical of the domain name identification of the arbitrary aiming field comprised is searched in request message territory in the domain name identification in territory, communication equipment place and the territory that receiver 1301 receives, and, search the feedback moment arrival of response message (searching request message feedback according to territory) in transmitter 1302 feedback field of this communication equipment before, response message is searched in the territory not receiving the mark comprising register node, then central processing unit 1303 controls transmitter 1302 feedback field and searches response message, the mark comprising register node in response message is searched in the territory of feedback, for opposite end register node and response message can be searched according to this territory and determine the information in this communication equipment information and territory, this domain node place, and send territory access request according to territory search response message to this communication equipment.
After receiver 1301 receives territory search request message, central processing unit 1303, according to the actual conditions of this communication equipment in territory, place, is the access control of register node execution domains according to territory registration request.Such as: this communication equipment is DM, then communication equipment is according to the actual conditions in domain node and territory, communication equipment place and territory registration request, judges whether to allow register node to join territory, domain node place, and to register node feedback judged result.
This domain node is not DM, and communication equipment forwards territory registration request to the DM in territory, domain node place, below performing for DM:
According to territory registration request and judge whether to allow register node to join territory, domain node place, and feed back judged result as via node to register node by this domain node.
Further flow process is see the detailed description of embodiment 1,2,3.
Therefore, adopt the present embodiment technical scheme, this communication equipment is applied as arbitrary domain node in arbitrary territory, it is after communication equipment receives the territory search request message of register node, if territory, this communication equipment place is after one of aiming field of register node, and after receiving this territory and searching request message, search the feedback moment arrival of response message in territory before, do not receive the territory search response that IncFlds searches the mark of the register node in request message, communication equipment just can be broadcasted feedback field and be searched response message, the object territory that can add near this register node can be known according to this search response message and to communication equipment sending domain registration request to make register node.
Relative to register node each in prior art according to beacon frame directly to DM or BPR sending domain registration request technical scheme for, the present embodiment technical scheme has the following advantages:
First: adopt the present embodiment technical scheme, even if in following situation: the object territory of register node exists, but current register node is positioned at the edge in object territory, register node present position is beyond the coverage of DM or BPR in this territory, and register node cannot receive the message that DM or BPR sends.Application this programme, as long as other domain node of the neighbouring existence of register node, application the present embodiment technical scheme, this register node still can join in this existing territory.Visible employing the present embodiment technical scheme, is conducive to improving register node and is added to probability in existing territory, avoids, owing to cannot find already present object territory and newly-built territory, causing the situation that domain name is conflicted.
Second: domain node is receiving after territory that register node sends searches request message, after judging that territory, this domain node place is as the aiming field of this register node, and before feedback field searches response message, do not receive other domain nodes response message is searched to the territory that request is searched in this territory, just feedback field searches response message, each domain node in network can be avoided to search request message for territory, a territory respond respectively, be conducive to avoiding internet message redundancy, reduce network signaling overhead.
Embodiment 14:
Shown in Figure 14.Present embodiments provide a kind of communication equipment, it can as DM or the BPR application in territory, and it mainly comprises: receiver 1401, transmitter 1402 and central processing unit 1403.
Receiver 1401 is for receipt message.Transmitter 1402 is for sending message.
Central processing unit 1403, is connected with receiver 1401, transmitter 1402 respectively, and for controlling the work of receiver 1401 and transmitter 1402, specific works principle is as follows:
After receiver 1401 receives territory search request message, if the identical of the domain name identification of the arbitrary aiming field comprised is searched in request message in the domain name identification in territory, communication equipment place and territory, and, before next delivery time of beacon frame arrives, do not receive beacon frame: beacon frame comprises the mark of described register node, and do not receive territory and search response message: the mark that response message comprises described register node is searched in territory, control transmitter 1402 and send beacon frame, comprise the mark of register node within a beacon frame, for opposite end register node and the information in this communication equipment information and territory, this domain node place can be determined according to this beacon frame, and send territory access request according to territory search response message to this communication equipment.
After receiver 1401 receives registration request, central processing unit 1403, according to the actual conditions of this communication equipment in territory, place, is the access control of register node execution domains according to territory registration request.Such as:
This communication equipment is DM, then communication equipment is according to the actual conditions in domain node and territory, communication equipment place and territory registration request, judges whether to allow register node to join territory, domain node place, and to register node feedback judged result.
This domain node is BPR, and communication equipment forwards territory registration request to the DM in territory, domain node place, below performing for DM:
According to territory registration request and judge whether to allow register node to join territory, domain node place, and feed back judged result as via node to register node by this domain node.
Further flow process is see the detailed description of embodiment 4,6.
Therefore, adopt the present embodiment technical scheme, this communication equipment is applied as arbitrary DM or BPR in arbitrary territory, it is after communication equipment receives the territory search request message of register node, if territory, this communication equipment place is after one of aiming field of register node, and after receiving this territory and searching request message, before next delivery time of beacon frame arrives, do not receive the territory search response that IncFlds searches the mark of the register node in request message, communication equipment just can send beacon frame, and comprise the mark that the register node comprised in request is searched in this territory in this beacon frame, thus make, after other any domain nodes receive this beacon frame, can according to this beacon frame determine DM or BPR current be to this territory search request message feedback beacon frame, therefore these domain nodes can not respond above-mentioned territory search request message, be conducive to the redundancy reducing internet message, and reduce network signaling overhead.
Embodiment 15:
Shown in Figure 15.Present embodiments provide a kind of communication equipment, this communication equipment be specially adapted in beacon frame mode network the common domain node of the non-BPR of non-DM.
This communication equipment mainly comprises: receiver 1501, transmitter 1502 and central processing unit 1503.
Receiver 1501 is for receipt message.Transmitter 1502 is for sending message.
Central processing unit 1503, is connected with receiver 1501, transmitter 1502 respectively, and for controlling the work of receiver 1501 and transmitter 1502, specific works principle is as follows:
After receiver 1501 receives described territory search request message, if the identical of the domain name identification of the arbitrary aiming field comprised is searched in request message in the domain name identification in territory, communication equipment place and the territory that receiver 1501 receives, and, before the feedback moment of searching request message feedback field search response message according to territory arrives, do not receive beacon frame (and beacon frame comprises the mark of described register node), and do not receive territory and search response message (and the mark that response message comprises described register node is searched in territory), then central processing unit 1503 controls transmitter 1502 feedback field and searches response message, the mark comprising register node in response message is searched in territory, for opposite end register node and response message can be searched according to this territory and determine the information in this communication equipment information and territory, this domain node place, and send territory access request according to territory search response message to this communication equipment.
And, after receiver 1501 receives registration request, central processing unit 1503 according to registration request, for sending the register node execution domains access control of described registration request.Such as:
Communication equipment forwards territory registration request to the DM in territory, domain node place, or forwards this territory registration request as relaying to DM by the BPR that this communication equipment is connected with DM, below performing for DM:
According to territory registration request and judge whether to allow register node to join territory, domain node place, and feed back judged result as via node to register node by this domain node.
Further flow process is see the detailed description of embodiment 5,6.
Therefore, the present embodiment and embodiment 9 are in like manner, adopt the present embodiment technical scheme, even if in following situation: the object territory of register node exists, but current register node is positioned at the edge in object territory, register node present position is beyond the coverage of DM or BPR in this territory, and register node cannot receive the beacon frame that DM or BPR sends.In this case, as long as the domain node shown in neighbouring this communication equipment of existence of register node, application the present embodiment technical scheme, this register node still can be searched response message according to the territory of this communication device feeding back and be joined in this existing territory, visible employing the present embodiment technical scheme, be conducive to improving register node and be added to probability in existing territory, avoid, due to already present object territory and newly-built territory cannot be found, causing the situation that domain name is conflicted.
Second: for arbitrary domain node in any territory, communication equipment is receiving after territory that register node sends searches request message, only after judging that territory, this communication equipment place is as the aiming field of this register node, and search the feedback moment of response message in this communication device feeding back territory before, only have do not receive other domain nodes to this territory search request territory search response message be not subject to yet DM or BPR to this territory search response request message feedback beacon frame, this communication equipment is just searched request message feedback field according to this territory and is searched response message, be conducive to avoiding internet message redundancy, reduce network signaling overhead.
Embodiment 12:
Shown in Figure 16, present embodiments provide a kind of communication equipment, this communication equipment has been specially adapted to beacon frame mode network, and this communication equipment is stronger as territory search capability during register node.
This communication equipment mainly comprises: receiver 1601, transmitter 1602 and central processing unit 1603.
Central processing unit 1603, is connected with receiver 1601, transmitter 1602 respectively, and for controlling the work of receiver 1601 and transmitter 1602, specific works principle is as follows:
If receiver 1601 does not receive beacon frame in the monitoring periods of beacon frame, or when the beacon frame received does not comprise the domain name identification of arbitrary aiming field of register node, central processing unit 1603 controls transmitter 1602 broadcast transmission territory and searches request message, searches the mark that request message comprises this communication equipment in territory;
After receiver 1601 receives territory search response message, comprise if response message is searched in territory: during the domain name identification of arbitrary aiming field of register node, central processing unit 1603 searches response message according to territory, determine final purpose territory, and central processing unit 1603 controls transmitter 1602 according to territory search response message (response message is searched in the territory comprising the domain name identification in described final purpose territory) sending domain registration request, the request adding final purpose territory is comprised in the registration request of territory, so that the domain node of opposite end is the territory access process that this register node performs response according to this registration request, if this domain node is DM, then directly execution domains access control, otherwise be transmitted to the DM in this territory, so that this DM execution domains access control.
Further flow process is in detail see shown in the corresponding contents in embodiment 1-11, and therefore not to repeat here.
Therefore, application the present embodiment technical scheme, this communication equipment is when as register node, after by the failure of beacon frame join domain, also initiatively send territory further and search request, to wait for that response message join domain is searched in territory, like this, as long as there is aiming field near communication equipment, no matter there is beacon patterns in this territory or without beacon patterns, no matter whether this communication equipment is in the coverage that this has DM or BPR in the territory of beacon patterns, as long as arbitrary domain node of this aiming field can with communication equipment direct communication, then communication equipment can add this existing aiming field, and can not newly-built territory, the present embodiment technical scheme is adopted to be conducive to improving the probability that communication equipment searches existing aiming field relative to prior art, to avoid when there is communication equipment aiming field communication equipment still newly-built territory and cause there are two identical territories of DNI in network, affect the normal work in each territory on communication network.
It should be noted that, communication equipment described in the various embodiments described above mainly this equipment may be used for as the communication node (being called domain node in concrete a certain territory) in communication network and names, but in fact this communication equipment is except the function for may be used for realizing other except communicating, such as is specifically as follows power line communications apparatus.
In the various embodiments described above beacon frame can be the beacon frame of each type, such as:
If when this communication equipment is DM in the territory of network, what it sent is beacon frame.
If when this communication equipment is BPR in the territory of network, what it sent is R-beacon frame.
Device embodiment described above is only schematic, the wherein said unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of module wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.Those of ordinary skill in the art, when not paying performing creative labour, are namely appreciated that and implement.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that each execution mode can add required general hardware platform by software and realize, and can certainly pass through hardware.Based on such understanding, technique scheme can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product can store in a computer-readable storage medium, as ROM/RAM, magnetic disc, CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or power line communications apparatus etc.) perform the method described in some part of each embodiment or embodiment.
Above-described execution mode, does not form the restriction to this technical scheme protection range.The amendment done within any spirit at above-mentioned execution mode and principle, equivalently to replace and improvement etc., within the protection range that all should be included in this technical scheme.