Summary of the invention
Technical problem to be solved by this invention is: implementation method and realization system that a kind of multicast services agency is provided, and a kind of node discovery method that uses this multicast services agency to realize is provided, be implemented in the site-local scope, realize that accurately and efficiently node finds with this.
For this reason, the invention provides a kind of multicast services agency's implementation method, comprising:
In network, specify or increase at least one node and act on behalf of, and distribute multicast address for it as multicast services;
Configuration multicast services proxy information on network router or Dynamic Host Configuration Protocol server;
It is in the multicast group of root that node A joins with described multicast services agency, obtains multicast services agency's unicast address;
Node A sends the nodal information request in the multicast group of obtaining according to described multicast services agency's unicast address to the multicast services agency, if store the described nodal information of desiring to obtain on the multicast services agency, then the multicast services agency directly sends to node A with the described nodal information of desiring to obtain, if do not have the described nodal information of desiring to obtain on the multicast services agency, then multicast services agency in multicast group all node sending node A obtain information request, destination node is according to the content response node A that obtains information request; Perhaps, node A sends the request of releasing news to the multicast services agency according to described multicast services agency's unicast address, then the request of releasing news of multicast services agency all node sending node A in multicast group.
Wherein, in internet protocol version 4 networks, the multicast services proxy information that disposes on described network router or the Dynamic Host Configuration Protocol server comprises the multicast address of distributing to first multicast services agency and multicast services agency's quantity.
Wherein, it is in the multicast group of root that node A joins with described multicast services agency, comprising:
Node A obtains win a MSA multicast address and multicast services agency's quantity by network router bulletin or use dynamic host configuration protocol messages.
Node A obtains multicast services agency's multicast address set according to above-mentioned information.
Node A is that parameter is selected the multicast address that desire adds with hash algorithm from described multicast address set with self node content or destination node content that can polymerization, and node A joins in the multicast group according to this multicast address.
Wherein, in the network of internet protocol version 4 or version 6, the multicast services proxy information that disposes on described network router or the Dynamic Host Configuration Protocol server comprises the set of the multicast address of distributing to the multicast services agency.
Wherein, it is in the multicast group of root that node A joins with described multicast services agency, comprising:
Node A is by the network router bulletin or use dynamic host configuration protocol messages to obtain the multicast address set;
Node A is that parameter is selected the multicast address that desire adds with hash algorithm from described multicast address set with self node content or destination node content that can polymerization, and node A joins in the multicast group according to this multicast address.
Wherein, in internet protocol version 6 networks, the multicast services proxy information that disposes on described network router or the Dynamic Host Configuration Protocol server comprises the multicast prefix of distributing to the multicast services agency, the multicast address start offset value of distributing to first multicast services agency and multicast services agency's quantity.
Wherein, it is in the multicast group of root that node A joins with described multicast services agency, comprising:
Node A is by router advertisement or use dynamic host configuration protocol messages to obtain multicast services agency's multicast prefix, the multicast address start offset value of distributing to first multicast services agency and multicast services agency's quantity.
Node A is with the multicast group number at self node content that can polymerization or destination node content self place that to be parameter calculate that desire adds with hash algorithm, and with described multicast prefix and this multicast group number formation multicast address, node A joins in the multicast group according to this multicast address.
Wherein, node A join with described multicast services agency be in the multicast group of root after, in port snooping, from the multicast message of receiving, obtain multicast services agency's unicast address.
Wherein, when node A required the request message of destination node responsive node A transmission, node A started timer, and when timer expiry, if node A does not receive the destination node response message, then node A resends request message.
Wherein, when the request message of destination node responsive node A, comprise the information that is used to save A point identifying purpose node identity in the response message of destination node, destination node directly sends response message and acts on behalf of transmitted response message to node A to node A or destination node by multicast services.
Wherein, when acting on behalf of transmitted response message at the request message of node A requirement destination node responsive node A transmission and by multicast services, the multicast services agency starts timer, when timer expiry, if the multicast services agency does not receive the destination node response message, then multicast services is acted on behalf of the request message of all node sending node A in multicast group again.
The present invention also provides a kind of multicast services agency's realization system, and this system comprises: specify or function that having of increasing periodically sends multicast message be nodes all in the multicast group of root as multicast services agency's node and with this multicast services agency;
Dispose multicast address on the described multicast services agency, it is in the multicast group of root that node A joins with described multicast services agency, obtains multicast services agency's unicast address; Node A sends the nodal information request in the multicast group of obtaining according to described multicast services agency's unicast address to the multicast services agency, if store the described nodal information of desiring to obtain on the multicast services agency, then the multicast services agency directly sends to node A with the described nodal information of desiring to obtain, if do not have the described nodal information of desiring to obtain on the multicast services agency, then multicast services agency in multicast group all node sending node A obtain information request, destination node is according to the content response node A that obtains information request; Perhaps, node A acts on behalf of the request of releasing news according to described multicast services agency's unicast address to multicast services, then the request of releasing news of multicast services agency all node sending node A in multicast group.
Wherein, the multicast services proxy records has the information of transmitting through this multicast services agency.
Wherein, multicast services is acted on behalf of a plurality of response messages that will send to same node and is encapsulated the back transmission.
The present invention also provides a kind of node discovery method, comprising:
What destination node joined himself place is in the multicast group of root with the multicast services agency, and source node adds described multicast group, obtains multicast services agency's unicast address;
Source node is acted on behalf of sending node to multicast services and is found request;
If store the information of destination node on the multicast services agency, then the multicast services agency directly sends to source node with the information of destination node; If there is not the information of destination node on the multicast services agency, then multicast services agency all nodes in its multicast group send described node and find request, and destination node is found the content response source node of request message according to described node.
Wherein, what described destination node joined himself place is in the multicast group of root with the multicast services agency, comprising:
In internet protocol version 4 networks, destination node is acted on behalf of quantity by multicast address and multicast services that router advertisement or use dynamic host configuration protocol messages obtain first multicast services agency, can obtain a multicast services agency's multicast address set in view of the above, to be parameter select self place with hash algorithm to destination node is the multicast address of the multicast group correspondence of root with the multicast services agency with self node content that can polymerization, and destination node joins in the described multicast group according to this multicast address.
Wherein, source node joins in the described multicast group, comprising:
In internet protocol version 4 networks, source node is acted on behalf of quantity by multicast address and multicast services that router advertisement or use dynamic host configuration protocol messages obtain first multicast services agency, obtain a multicast services agency's multicast address set in view of the above, to be parameter with destination node content that can polymerization select the multicast address of destination node place multicast group correspondence with Ha sh algorithm to source node, and source node joins in the described multicast group according to this multicast address.
Wherein, described router advertisement or use comprises the multicast address of distributing to first multicast services agency and multicast services agency's quantity in the dynamic host configuration protocol messages.
Wherein, what described destination node joined himself place is in the multicast group of root with the multicast services agency, comprising:
In the network of internet protocol version 4 or version 6, destination node is by router advertisement or use dynamic host configuration protocol messages to obtain multicast services agency's multicast address set, to be parameter select the destination node place with Ha sh algorithm to destination node from described multicast address set is the multicast address of the multicast group correspondence of root with the multicast services agency with self node content that can polymerization, and destination node joins in the described multicast group according to this multicast address.
Wherein, source node joins in the described multicast group, comprising:
In the network of internet protocol version 4 or version 6, source node is by router advertisement or use dynamic host configuration protocol messages to obtain multicast services agency's multicast address set, to be parameter with destination node content that can polymerization select the multicast address that of source node place multicast group correspondence with hash algorithm to source node from described multicast address set, and source node joins in the described multicast group according to this multicast address.
Wherein, the multicast services proxy information that disposes on described network router or the Dynamic Host Configuration Protocol server comprises the set of the multicast address of distributing to the multicast services agency.
Wherein, what described destination node joined himself place is in the multicast group of root with the multicast services agency, comprising:
In internet protocol version 6 networks, destination node is by router advertisement or use dynamic host configuration protocol messages to obtain the multicast prefix, distribute to first multicast services agency's multicast address start offset value and multicast services agency's quantity;
To be parameter with self content that can polymerization calculate the multicast group number at self place with hash algorithm to destination node, and what form the destination node place with multicast prefix and this multicast group number is the multicast address of root with the multicast services agency, and destination node joins in the described multicast group according to this multicast address.
Wherein, source node joins in the described multicast group, comprising:
In internet protocol version 6 networks, source node is by router advertisement or use dynamic host configuration protocol messages to obtain the multicast prefix, distribute to first multicast services agency's multicast address start offset value and multicast services agency's quantity;
To be parameter with destination node content that can polymerization calculate the multicast group number at the destination node place that desire adds with hash algorithm to source node, and with described multicast prefix and this multicast group number formation multicast address, source node joins in the described multicast group according to this multicast address.
Wherein, the multicast services proxy information that disposes on described network router or the Dynamic Host Configuration Protocol server comprises the multicast address of distributing to the multicast services agency, the multicast address start offset value of distributing to first multicast services agency and multicast services agency's quantity.
Wherein, after source node joins described multicast group,, from the multicast message of receiving, obtain multicast services agency's unicast address in port snooping.
Wherein, when described source node was acted on behalf of sending node discovery request by multicast services, the request mode comprises: source node all nodes in multicast group were announced own message, do not specify destination node information in the message, do not need destination node to respond; Source node comprises destination node message in request message, have only destination node just can respond this node and find request.
Wherein, described destination node responsive node is found request, comprises the information that is used for source node identifying purpose node identity in this response message.
Wherein, described destination node responsive node is found request, and comprising: destination node directly sends response message and acts on behalf of transmitted response message to source node to source node, destination node by multicast services.
The invention provides a kind of multicast services agency's implementation method and realization system thereof, for the node that uses the multicast services agency provides agency mechanism, make the node of desire transmission or receiving group information only need get final product to multicast services agent application agency, no longer needing to make up with the node is the multicast group of root, and its range of application comprises service discovery, broadcast announcement etc.;
The present invention also provides a kind of node discovery method that uses described multicast services agency to realize, owing to used the multicast services agency mechanism, its range of application has overcome the scope that prior art 2 in the background technology only limits to link-local, has realized that the node in the site-local scope is found; Simultaneously, this node discovery method promptly can obtain destination node information or transmission information to destination node accurately and efficiently owing to used multicast services agency mechanism, source node only need join in the multicast group at destination node place; Further, source node is in the process that joins destination node place multicast group, with destination node content that can polymerization is that parameter utilizes hash algorithm to calculate multicast address, has overcome the inefficiencies and the inaccuracy of generation Node B (destination node) the IP address described in the prior art 1 in the background technology.
Embodiment
Below, describe the present invention in conjunction with the accompanying drawings.
In network, specify or increase at least one node conduct and act on behalf of MSA, and be that it distributes multicast address, configuration MSA information on network router or DHCP (DHCP) server with multicast services:
In internet protocol version 4 (IPv4) network, the MSA information that is configured on network router or the Dynamic Host Configuration Protocol server comprises: the quantity of distributing to MSA in the multicast address of first MSA and the network;
In the network of IPv4 or IPv6, the MSA information that is configured on network router or the Dynamic Host Configuration Protocol server comprises: distribute to the multicast address set of MSA;
In the IPv6 network, the MSA information that is configured on network router or the Dynamic Host Configuration Protocol server comprises: the quantity of distributing to MSA in the multicast prefix of MSA, the start offset value of distributing to first MSA multicast address and the network;
As shown in Figure 1, in the network be to comprise node N1, N2, N3 in the multicast group of root with MSA, can also comprise other node, for example N4, N5, Nn etc. do not influence enforcement of the present invention;
As shown in Figure 2, node A desires to join in the multicast group, must know the multicast address of multicast group earlier, and for this reason, node A at first will obtain the multicast address of MSA:
In the IPv4 network, node A obtains the multicast address of first MSA and multicast services agency's quantity from router advertisement or dhcp message, obtain multicast services agency's continuous multicast address set according to above-mentioned information, and be parameter with self node content or destination node content that can polymerization, for example address name, Email domain name, organization, previous graduate college title, graduation time etc. are content, utilize hash algorithm to select the multicast address that desire adds from described multicast address set;
In the network of IPv4 or IPv6, node A obtains the multicast address set of MSA from router advertisement or dhcp message, and be parameter with self node content or destination node content that can polymerization, for example address name, Email domain name, organization, previous graduate college title, graduation time etc. are content, utilize hash algorithm to select the multicast address that desire adds from the multicast address set;
In the IPv6 network, node A obtains the multicast address prefix from router advertisement or dhcp message, and parameter that can polymerization with self, for example address name, Email domain name, organization, previous graduate college title, graduation time etc. are content, calculate the multicast group number of the MSA at the own place of node A by hash algorithm, and according to multicast prefix formation multicast address
With the IPv6 network is example, and concrete computational process is exemplified below:
MGrpID=iPos+ (Len (name)+I) mod N
Perhaps MGrpID=iPos+ (Len (Email domain name)+I) mod N
Wherein, iPos is first MSA multicast address start offset value that router or DHCP go up configuration messages; N is the MSA number, I is the increment value since 0, if mainly be to consider that the MSA calculate no longer serves as multicast services when acting on behalf of because of certain reason, node corresponding can be transferred on other the multicast services agency, MGrpID is the multicast group number of hexadecimal number, Len is for getting size operation, and mod is a modulo operation;
Multicast address=multicast prefix+MGrpID;
When node A is in the described multicast group of trial adding, utilize above-mentioned algorithm computation multicast address, if there is not success for the first time, double counting multicast group number after I is added up, the number of times of repeated attempt can dispose.For example, suppose that the multicast prefix is FF05:00DA:EFEF: :/124, iPos is 9, and N is 3, and address name is Jason, and the MGrpID that calculates so is B, corresponding multicast address is FF05:00DA:EFEF::B; If it is unsuccessful to add this address, the multicast address that calculates after I is added up is FF05:00DA:EFEF::9.
When node A in the detailed process that attempt to add multicast group as shown in Figure 2, in site-bound, router joins MSA1
a, MSA2
aIn the multicast group, receive MSA1
a, MSA2
aThe MSA assert message;
Node A sends router solicitation to router, and router sends to node A with router advertisement, and node A obtains the multicast address prefix, and draws multicast address according to above-mentioned hash algorithm, attempts adding MSA1
aMulticast group is if add MSA1
aThe multicast group failure then adds up the I value, behind the double counting multicast address, attempts adding MSA2
aMulticast group is if add MSA2
aThe multicast group success, node A obtains MSA2 by router
aThe assert message that sends; So node A has joined MSA2
aIn the multicast group at place, can with MSA2
aIntercommunication mutually;
Wherein, in the time may also having other intermediate equipments between node and router, node adds the operation of multicast group and receiving group message to be finished by intermediate equipment, and this mode does not influence enforcement of the present invention, in protection scope of the present invention;
Wherein, start at node, the user identity of node correspondence changes or MSA becomes and invalidly (comprises that it is 0 MSA assert message that node receives MSA function activation position, perhaps node is not received situations such as any MSA assert message within a certain period of time) time, node all can recomputate new multicast address according to hash algorithm, and attempts adding new multicast group;
So far, node A has obtained the multicast address of MSA, join in the multicast group at MSA place with this, and on udp port (comprising that at all nodes of definition on the multicast services agency agreement MSAP MSA is sending and receiving the MSAP message on the udp port), intercept, node A obtains the MSA unicast address from the multicast message that MSA periodically sends, at this moment, if node A wants to send message by MSA, then send unitcast request message to MSA, after MSA receives this request message, request message with multicast mode all node sending node A in multicast group, after node A receives the message of MSA multicast transmission, can judge by oneself and initiate, can suppress response, node N1 to this message, N2, after N3 obtains the request message of node A, if node N3 needs the request of responsive node A, then the response message of node N3 directly response message send to node A or indirect response message sent to MSA, send proxy response message to node A by MSA;
Wherein, the message format that the MSA multicast sends can change, and does not influence enforcement of the present invention;
Wherein, if node A wants the broadcast by MSA, do not need the response of node in the multicast group, then the node in the multicast group does not respond described request message;
If node A wants to receive message by MSA, then intercept at udp port, promptly can receive all multicast messages that send by MSA;
If node A wants to obtain by MSA the information of node N3 in the multicast group, then node A comprises the information of node N3 in the request message that MSA sends, address name for example, e-mail address etc., if store the information of node N3 among the MSA, then MSA directly sends to node A with the information of node N3, if there is not the information of node N3 among the MSA, then MSA sends to all nodes with the request message of node A with multicast mode, node N3 can decide according to the request mode (in multicast services agency agreement MSAP response mode being defined to some extent) of node A directly to node A transmission response message or by MSA transmitted response message, no matter which kind of response mode node N3 takes, all comprise in the response message of node N 3 and be used for the information that node A can discern its identity;
Wherein, adopting by in the process of MSA transmitted response information, MSA can select whether to keep the information of this forwarding.
Wherein, in node A, timer can be set, when node A requires the request message of node N3 responsive node A, when node A sends a request message, node A starts timer, when timer expiry, if node A does not receive the response message of node N3, then node A resends request message and gives MSA;
As optional, in MSA, also can be provided with timer, require the request message of node N3 responsive node A at node A, and when the MSA transmitted response message, when MSA sent multicast message, MSA started timer, when timer expiry, if MSA does not receive the response message of node N3, then MSA resends request message and gives all nodes in the multicast group.
Wherein, the time of timer is dynamic adjustable;
As shown in Figure 3, be the realization system diagram of MSA, this system comprises: the node 1 as MSA of at least one appointment or increase is all nodes in the multicast group of root with MSA node 1, enumerate 3 nodes in the present embodiment, be respectively first node 10, Section Point 11, the 3rd node 12;
On MSA node 1, dispose multicast address, on network router or Dynamic Host Configuration Protocol server, dispose the information relevant with MSA node 1, MSA node 1 is used for requesting node, and to join with MSA node 1 with the multicast address of MSA be the multicast group of root, the described request node can send multicast information to first node 10, Section Point 11, the 3rd node 12 by MSA node 1, first node 10, Section Point 11 and/or the 3rd node 12 can send message to the described request node by MSA node 1, and MSA node 1 can periodically send multicast message;
MSA node 1 records the information of transmitting through this node;
MSA node 1 can encapsulate a plurality of response messages that send to same node the back and send.
Node discovery method embodiment 1
When networking is planned, in a site-local scope, specify or increase at least one MSA, when not having domain name system services or domain name system to lose efficacy in the Internet, enable the node discovery feature that utilizes MSA mechanism, finish node and communicate by letter with internodal.
As shown in Figure 4, in the present embodiment, suppose that node A desire looks for Node B by direct response mode, then process is as follows:
At first, Node B will obtain above-mentioned information from router advertisement or dhcp message, and parameter that can polymerization with self, for example address name, Email domain name, organization, previous graduate college title, graduation time etc. are content, calculate the multicast group number of the MSA at the own place of Node B by hash algorithm, and according to multicast prefix formation multicast address, perhaps select the multicast address of the MSA at own place by hash algorithm, Node B joins in the multicast group at himself place with this multicast address;
Then, node A realizes looking for the process of Node B as follows:
In the IPv4 network, node A obtains the multicast address of first MSA and multicast services agency's quantity from router advertisement or dhcp message, obtain multicast services agency's multicast address set according to above-mentioned information, content with Node B that can polymerization is a parameter, for example address name, Email domain name, organization, previous graduate college title, graduation time etc. are content, utilize hash algorithm to select the multicast address at Node B place;
In IPv4 or IPv6 network, node A obtains the multicast address set of MSA from router advertisement or dhcp message, content with Node B that can polymerization is a parameter, for example address name, Email domain name, organization, previous graduate college title, graduation time etc. are content, utilize hash algorithm to select the multicast address at Node B place from the multicast address set;
In the IPv6 network, node A obtains the multicast address prefix, distributes to first multicast services agency's multicast address start offset value and multicast services agency's quantity from router advertisement or dhcp message, and with destination node B can polymerization parameter, for example address name, Email domain name, organization, previous graduate college title, graduation time etc. are content, calculate the multicast group number of the MSA at Node B place by hash algorithm, and form multicast address according to the multicast prefix;
Wherein, node A is in joining destination node B place multicast group the time, and when utilizing the multicast group number of MSA at hash algorithm computing node B place or multicast address, the computational methods when adding self place multicast group with node A are identical, no longer repeat at this;
Node A joins Node B place MSA with the multicast address of Node B
bIn the multicast group, router with periodically receive from MSA
bThe MSA assert message send to node A, the unicast address of node A by when udp port is intercepted, obtaining, with mode of unicast to MSA
bSending node is found request, MSA
bThis node is found that request sends to MSA in the multicast mode
bAll nodes in the multicast group comprise Node B, node C, and at this moment, the message format that the MSA multicast sends can change, and does not influence enforcement of the present invention;
Node finds to comprise in the request message information of destination node B, and the mode (directly response) that needs the Node B response, therefore, Node B directly sends response message to node A, comprise in this response message and be used for the information that node A carries out identification to Node B, the identity information of node A checking Node B;
As optional, the authentication of node A and Node B can use other security mechanism to carry out, and does not influence enforcement of the present invention;
For node C, because node finds not comprise in the request message information of node C, therefore, node C finds to ask to ignore to this node;
So far, node A has found Node B, and node A can communicate with Node B, and at this moment, node A can withdraw from the multicast group at Node B place, also can be retained in the multicast group.
Node discovery method embodiment 2
As shown in Figure 5, in the present embodiment, be that the response mode of the destination node B that comprises in the node discovery request message of node A is the indirect response mode with node discovery method embodiment 1 difference, so Node B sends to MSA with mode of unicast with indirect response message
b, pass through MSA
bSend proxy response message to node A with mode of unicast;
All the other processes are identical with node discovery method embodiment 1, no longer are repeated in this description at this.
Node discovery method embodiment 3
As shown in Figure 6, node A desire is notified to all nodes in the multicast group with the information of oneself, and the specific implementation process is as follows:
Node A obtains multicast address according to method described in the node discovery method embodiment 1, and node A joins MSA
aAfter the multicast group, router with periodically receive from MSA
aThe MSA assert message send to node A, the unicast address of node A by when udp port is intercepted, obtaining, with mode of unicast to MSA
aThe transmission request of releasing news, MSA
aIn the multicast mode this request of releasing news is sent to MSA
aAll nodes in the multicast group comprise Node B, node C, and at this moment, the message format that the MSA multicast sends can change, and does not influence enforcement of the present invention;
At this moment, all nodes all receive information releasing in the multicast group.
Node discovery method embodiment 4
As shown in Figure 7, node A joins in the multicast group at own place, waits for that other nodes find oneself, and the specific implementation process is as follows:
Node A obtains multicast address according to method described in the node discovery method embodiment 1, and node A joins MSA
aAfter the multicast group, router with periodically receive from MSA
aThe MSA assert message send to node A, node A intercepts at udp port, waits for that other node finds oneself.
In the present invention, need to use multicast services agency agreement MSAP, all nodes of definition comprise node and MSA in the multicast group in this agreement, all send and receive message at udp port.The protocol stack of realizing the MSAP protocol node as shown in Figure 8, its upper strata is the MSAP agreement, the centre is a udp protocol, lower floor is the IP agreement.
When realizing that node is found, the defined message of MSAP agreement is specific as follows:
1, MSA assert message:
MSA is the announcement message of multicast transmission periodically, comprises following content in the message:
Type of message (0x00);
MSA function activation position (whether the expression node is effective MSA); It is that 0 message is represented oneself no longer to serve as MSA that MSA can send activating position; After receiving such message, the node that has joined this multicast group should use hash algorithm to recomputate and add multicast address;
The restriction of MTU (MTU) is considered in the unicast address tabulation of MSA, allows 16 IP addresses at most.
2, node is found request message:
Send to the unicast message of MSA by source node, comprise following content in the message:
Type of message (0x01);
Query messages ID: adopt pseudo-random algorithm to generate by source node, be used for match responding message and request message;
Destination node number: represent the destination node information number that comprises in this request message, maximum 16; Response mode: the mode of the node response source node request message of feeling the pulse with the finger-tip, 0 expression does not respond, and this moment, the destination node number should be 0; The direct response mode of 1 expression, 2 expression indirect response modes, 3 keep; The source node unicast address: used address during the direct response source node of destination node request message also is used for source node the MSA query messages that receives is responded inhibition;
Source node identity information TLV: offer the information that destination node is used to differentiate the source node identity, such as the name of source node respective user, e-mail address, ID card No. etc.;
Destination node information TLV: indicate the object of source node inquiry, such as application target node respective user name, e-mail address, ID card No. etc.;
Wherein, TLV is a type lengths values.
3, MSA query messages:
MSA receives after node finds request, sends to the message of multicast member by the multicast mode, comprises following content in the message:
Type of message (0x02);
The source node number: this carries out the number of the source node of query manipulation, in fact is exactly the number of source node query messages TLV;
Source node Query Information TLV: comprise the Query Information relevant, comprise other parts except type of message in the node discovery request message with each source node;
4, direct response message:
Destination node directly sends to the response message of source node, comprises following content in the message:
Type of message (0x03);
Message id: direct message id from correlated source querying node information TLV in the MSA query messages;
The destination address number: source node can be used for the number of addresses of communicating by letter with destination node, maximum 16;
Destination address tabulation: the address that destination node provides;
Destination node identity information TLV: form is with source node identity information TLV;
5, indirect response message:
Destination node receives the response message that sends to MSA behind the MSA query messages, and when comprising the information of multiple source node in the MSA query messages, destination node is only to responding with own relevant part.Comprise following content in the message:
Type of message (0x04);
Message id: with corresponding field in the direct response message;
Destination address number: with corresponding field in the direct response message;
Destination address tabulation: with corresponding field in the direct response message;
Destination node identity information TLV: form is with source node identity information TLV;
6, proxy response message:
After MSA receives the indirect response message of destination node transmission, send to the response message of source node; Comprise following content in the message:
Type of message (0x05);
Message id: with corresponding field in the direct response message;
Destination node number: the destination node number that comprises in the message;
The address number of each destination node: with the address number that each destination node is relevant in the message;
The address list of each destination node;
The identity information of each destination node;
Wherein, MSA according to circumstances (identical) such as message id the information combination of a plurality of destination nodes of the same source node of correspondence is returned to source node in same message.
Wherein, more than the length of all message should be no more than MTU, otherwise node and MSA must carry out the Segmentation and Reassembly operation.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.