CN102263780A - Method for realizing multicast communication and node - Google Patents
Method for realizing multicast communication and node Download PDFInfo
- Publication number
- CN102263780A CN102263780A CN2010101951769A CN201010195176A CN102263780A CN 102263780 A CN102263780 A CN 102263780A CN 2010101951769 A CN2010101951769 A CN 2010101951769A CN 201010195176 A CN201010195176 A CN 201010195176A CN 102263780 A CN102263780 A CN 102263780A
- Authority
- CN
- China
- Prior art keywords
- multicast
- node
- port
- message
- sets
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
The invention discloses a method for realizing multicast communication and a node. The method for realizing multicast communication comprises the steps of: using a preset name for the node, and establishing multicast connection; establishing a multicast transmitting queue and a multicast receiving queue corresponding to the name; and realizing multicast communication by using the multicast transmitting queue and the multicast receiving queue. The method for realizing multicast communication disclosed by the invention can be used for reducing network impact and performance cost of the node.
Description
Technical field
The present invention relates to the communications field, in particular to a kind of implementation method and node of cast communication.
Background technology
Cluster is meant by effectively working in coordination with in the computer network, makes many computers that the unified function and the characteristic of powerful disposal ability service externally are provided.The core requirement of trunking communication is to set up efficient and reliable communication mechanism on internal network, during certain node failure, can and handle by the quick perception of other node in cluster.
According to the requirement of trunking communication, at first need in cluster, set up unicast communication in the trunking communication between all nodes and connect, make and safeguard all between any two nodes that are in together in the cluster that reliable unicast communication connects.The mode that extensively adopts for the processing of multicast in the trunking communication is broadcasting, sends by all nodes in cluster to send when broadcasting realizes a plurality of node messages.
Transparent interprocess communication TIPC is present emerging cluster network communication protocol, and has been used in the communications field widely.In the TIPC communication,, adopt and in whole network, set up ways of connecting, reliable unicast mechanisms is provided for each communication node in the Cluster (cluster).
Fig. 1 is the schematic diagram according to cast communication structure in the cluster of correlation technique.The multicast functionality that the TIPC agreement provides sends broadcasting by all nodes in cluster and realizes, particularly, the multicast of each multicast group can be by the node of broadcast transmission to all multicast group among Fig. 1.
But under number of nodes increase condition, above-mentioned broadcasting will increase the impact to network traffics, and a lot of node processing and oneself irrelevant broadcasting will increase its performance cost and waste a lot of times.
Summary of the invention
Realize by broadcasting between all nodes at cast communication, thereby increase the problem of network-impacting and increase joint behavior expense and propose the present invention, for this reason, main purpose of the present invention is to provide a kind of implementation method and node of cast communication, to address the above problem.
To achieve these goals, according to an aspect of the present invention, provide a kind of implementation method of cast communication.
Implementation method according to cast communication of the present invention comprises: node uses default title, sets up multicast and connects; On multicast connects, set up multicast transmit queue corresponding and multicast and receive formation with title; Use multicast transmit queue and multicast to receive formation, realize cast communication.
Further, node uses default title, sets up the multicast connection and comprises: set up and the default corresponding multicast port of title; Be the corresponding multicast address of multicast port configuration; Use multicast address, set up multicast and connect.
Further, set up after the multicast port corresponding with default title, also comprise: the type that multicast port is set is a multicast transmission.
Further, on multicast connects, set up the multicast transmit queue corresponding and comprise: on multicast is connected, sends and carry denominative multicast initial message with multicast reception formation with default title; Receive the multicast initialize acknowledge message that connects last other node except that node from multicast, wherein, the multicast initialize acknowledge message is used to indicate other node and node to be in identical multicast port; Use the multicast initialize acknowledge message, set up multicast transmit queue and multicast and receive formation.
Further, after denominative multicast initial message is carried in transmission, also comprise: other node uses title, confirms node and lays oneself open to identical multicast port; According to the multicast initial message, the multicast that upgrades oneself receives formation.
Further, use multicast transmit queue and multicast to receive formation, realize that cast communication comprises: node obtains other node in the multicast port; Node and other node are realized cast communication.
Further, the multicast initialize acknowledge message sends by unicast messages.
Further, also comprise: the deletion multicast port.
Further, the deletion multicast port comprises: on multicast port, send the message of the deletion be used to indicate multicast port; In the given time, receive the message of deletion that is used to confirm multicast port that connect to go up other node except that node from multicast; The deletion multicast connects and multicast address; Carry out the operation of the deletion of multicast port.
Further, also comprise: the message that sends the deletion that is used to announce multicast port by unicast messages to other nodes.
To achieve these goals, according to another aspect of the present invention, also provide a kind of node.
Node according to the present invention comprises: first sets up module, is used to use default title, sets up multicast and connects; Second sets up module, is used for connecting at multicast, sets up multicast transmit queue corresponding with title and multicast and receives formation; The cast communication module is used to use multicast transmit queue and multicast to receive formation, realizes cast communication.
Further, first sets up module comprises: first sets up submodule, is used to set up and the default corresponding multicast port of title; The configuration submodule is used to the corresponding multicast address of multicast port configuration; Second sets up submodule, is used to use multicast address, sets up multicast and connects.
Further, second sets up module comprises: send submodule, be used for connecting at multicast, send and carry denominative multicast initial message; Receive submodule, be used to receive the multicast initialize acknowledge message that connects last other node except that node from multicast, wherein, the multicast initialize acknowledge message is used to indicate other node and node to be in identical multicast port; The 3rd sets up submodule, is used to use the multicast initialize acknowledge message, sets up multicast transmit queue and multicast and receives formation.
By the present invention, adopt node to use the multicast port corresponding to realize cast communication with default title, solved the problem that cast communication is realized by broadcasting between all nodes, thereby reduced network-impacting and reduce the joint behavior expense.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the schematic diagram according to cast communication structure in the cluster of correlation technique;
Fig. 2 is according to cast communication structural representation in the cluster of the embodiment of the invention;
Fig. 3 is the flow chart according to the implementation method of the cast communication of the embodiment of the invention;
Fig. 4 is the flow chart of setting up multicast port according to the embodiment of the invention;
Fig. 5 is the flow chart that multicast connects of setting up according to the embodiment of the invention;
Fig. 6 is according to the multicast proper communication of the embodiment of the invention and the flow chart of multicast and acknowledging;
Fig. 7 is the structured flowchart according to the node of the embodiment of the invention.
Embodiment
Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.Describe the present invention below with reference to the accompanying drawings and in conjunction with the embodiments in detail.
Fig. 3 is the flow chart according to the implementation method of the cast communication of the embodiment of the invention, comprises following step:
Step S302, node uses default title, sets up multicast and connects.
Step S304 on multicast connects, sets up multicast transmit queue corresponding with default title and multicast and receives formation.
Step S306 uses multicast transmit queue and multicast to receive formation, realizes cast communication.
In the correlation technique, cast communication is realized by broadcasting between all nodes, thereby is increased network-impacting and increase the joint behavior expense.In the embodiment of the invention, it is corresponding that multicast transmit queue and multicast receive the title that formation and node preset, therefore, node uses this multicast reception formation to carry out cast communication, can only in having a plurality of nodes of this title, carry out the transmission and the reception of multicast, thereby reduce network-impacting and reduce the joint behavior expense.
Preferably, node uses default title, sets up the multicast connection and comprises: set up and the default corresponding multicast port of title; Be the corresponding multicast address of multicast port configuration; Use multicast address, set up multicast and connect.
Need to prove that this preferred embodiment is that the multicast services in the cluster is distinguished different multicast port by COS,, realize multicast for the different multicast mac address of different multicast port configurations.Then, be of a plurality of multicast messages reception formations of multicast port configuration pin to node, reliable multicast communication between all nodes of assurance same multicast port.In this preferred embodiment, the multicast port of same names is the basis of cast communication, the cast communication service that can provide upper layer application to realize same function type.
Need to prove that on this multicast connects, can set up multicast transmit queue and multicast and receive formation, wherein, the multicast transmit queue is generally one, multicast receives formation can be for a plurality of, corresponding to destination node (being the node of same multicast port).Preferably, can set up a plurality of above-mentioned multicasts on this multicast connects and receive formation, it can be used for the affirmation of the normal group broadcast message between multicast port of the same name, thereby guarantees the reliability of multicast message.
In addition, after multicast port is set up, need set up multicast and connect, guarantee the reliability of multicast transmission.Multicast connects needs to determine the initial message numbering, can adopt generating algorithm at random, and the initial message numbering as this multicast connects begins to be numbered from the initial message numbering to each message to be sent that enters transmit queue.Set up transmit queue for each multicast connects, multicast port is set up article one message of back by multicast, receives formation for set up multicast with each node of multicast port, and upgrades the multicast port count.
Preferably, set up after the multicast port corresponding with default title, also comprise: the type that multicast port is set is the reliable multicast transmission.
Preferably, on multicast connects, set up the multicast transmit queue corresponding with default title and receive formation with multicast and comprise: on multicast was connected, transmission carried the multicast initial message of above-mentioned default title; Receive the multicast initialize acknowledge message that connects last other node except that node from multicast, wherein, the multicast initialize acknowledge message is used to indicate other node and node to be in identical multicast port; Use the multicast initialize acknowledge message, set up multicast transmit queue and multicast and receive formation.
Need to prove, in this preferred embodiment, carry the multicast initial message of above-mentioned default title, make with the corresponding multicast MAC of above-mentioned default title and can be learnt by exchange chip by transmission.Other node that has port of the same name in the system also can be discerned the multicast services that this node ports having has added this real name port by this multicast initial message.
Preferably, after denominative multicast initial message is carried in transmission, also comprise: other node uses title, confirms node and lays oneself open to identical multicast port; According to the multicast initial message, the multicast that upgrades oneself receives formation.
Preferably, use multicast transmit queue and multicast to receive formation, realize that cast communication comprises: node obtains other node in the multicast port; Node and other node are realized cast communication.
Need to prove, in this preferred embodiment, realize that cast communication can comprise multicast process of transmitting, multicast receiving course and multicast and acknowledging process, described respectively below.
1. multicast process of transmitting.
The multicast process of transmitting can adopt the prior art sliding window protocal to carry out message and send.At first search the purpose multicast by the name port and connect, seek the multicast mac address of correspondence in connecting, the transmission interface by the network-driven layer sends to node corresponding with message to be sent by this purpose multicast MAC again.Promote transmit queue by sliding window protocal and continue to send next bar multicast according to the order of sequence, the multicast message that has sent enters the re-transmission state, but transmit leg is not initiatively initiated re-transmission, retransmits the affirmation that only depends on the opposite end usually.Unless this node multicast port transmit queue is full, transmit leg can urge other node of confirming with multicast port outstanding message to finish the message authentication process as early as possible to this multicast port detect-message.
2. multicast receiving course.
When node receives multicast message, at first search multicast and connect according to multicast port, in multicast connects, search purpose and receive formation according to the node number of source transmit leg, receive according to the order of sequence by corresponding reception formation, finish message authentication.By existing sliding window protocal, accept the message sequence number in normal continuous sequence number range of receiving, carry out port message and upwards distribute, and the reception formation to this node in the multicast port is reduced; If port needles has been received the multicast message that sequence number repeats to the multicast of specific node, directly deletion is not handled.Full or the affirmation timer expiry when the multicast receive window sends and confirms that ACK is to multicast sender.If it is discontinuous that multicast receives the message sequence number, send out of order affirmation NACK at once to the source transmit leg, and inform that this port needles is to the last received message according to the order of sequence of source node sequence number.
3. multicast and acknowledging process
When multicast sender is received any one NACK, at once message sequence number among the NACK is taken out, all multicast messages that this message sequence number is later all retransmit.When multicast sender receives ACK, the multicast and acknowledging counting is subtracted one.One sends the affirmation that multicast message is received all multicast port of the same name up to the multicast connection, just can be with this multicast message deletion.If have node to withdraw from service in the middle cluster, because the requirement of intra cluster communication, this node is connected with other internodal unicast communication can at first chain rupture.Depend on the chain rupture announcement that unicast communication connects, the node that comprises multicast port of the same name during the deletion multicast connects receives formation, and this port multicast node counts is subtracted one.
Preferably, the multicast initialize acknowledge message sends by unicast messages.
Preferably, said method can realize based on the TIPC agreement, also can be based on traditional realizations such as Transmission Control Protocol.
For a plurality of network port devices that are used for trunking communication on the same node, same multicast MAC may be set, when sending multicast message, can send simultaneously to a plurality of network interfaces simultaneously, also can select in turn to send to one or several network interface.Active when relying on the multicast reception is filtered the multicast message that will repeat to receive and is filtered out.
After new multicast port receives the initialization multicast and acknowledging of other multicast port of the same name, the node counts in the multicast connection is added one, and be that the multicast that multicast port is set up at destination node receives formation, and the recording messages receive sequence number.As can be seen, comprise a plurality of message sink formations that all multicast port of the same name are set up in the cluster during a multicast connects.
If initialization multicast or multicast and acknowledging are lost, cause the node of multicast in connecting to be less than the multicast node that exists in the real system, by follow-up normal multicast and normally multicast and acknowledging also can finish and be connected the process of foundation.When requiring multicast port of the same name to receive the multicast message of the same name of unknown node or multicast and acknowledging, need to start immediately the connection of setting up this node, if normal multicast also needs initiatively to respond immediately multicast and acknowledging, the assistance peer node connects.
Multicast under the normal condition connects and comprises---the double layer network address of multicast port correspondence, the message send queue of this multicast port, multicast port quantity of the same name in the cluster, message sink formation of setting up at each multicast port of the same name in the cluster and message sink sequence number etc.
Message authentication mechanism by purpose multicast reception formation realizes the reliable communication of multicast port.
Cast communication need be determined initial message numbering, can adopt fixed number or generating algorithm at random, the initial message numbering that connects as this multicast.Set up unified transmit queue for each multicast connects, each message to be sent that enters message send queue is begun to be numbered from the initial message numbering.After multicast connected foundation, the node of follow-up adding multicast port can notify other node messages of multicast port of the same name initially to number when initialization is consulted.
Preferably, said method also comprises: the deletion multicast port.It comprises: on multicast port, send the message of the deletion be used to indicate multicast port; In the given time, receive the message of deletion that is used to confirm multicast port that connect to go up other node except that node from multicast; The deletion multicast connects and multicast address; Carry out the operation of the deletion of multicast port.
Preferably, said method also comprises: the message that sends the deletion that is used to announce multicast port by unicast messages to other nodes.
The present invention also provides a preferred embodiment, combines the technical scheme of above-mentioned a plurality of preferred embodiments, describes in detail below in conjunction with Fig. 4 to Fig. 6.
Based on the reliable multicast technology of name port, comprise following basic handling step in described a kind of trunking communication provided by the present invention of the present invention:
Step 1, initialization are set up the name multicast port, are the different multicast address of each multicast port configuration;
Step 2 is set up multicast for multicast port identical in the cluster and is connected, and according to the issue of cluster inside multicast port, the multicast of dynamically setting up at destination node for multicast port receives formation;
Step 3, the message authentication mechanism based on a plurality of purpose multicasts reception formations realizes the reliable communication of multicast port.
In the described step 1, the user specifies and sets up the name multicast port, distinguishes different multicast port in the cluster by system of real name, and each name of port is represented the application service of same type.The present invention sets up the mapping relations table of real name multicast port and Layer 2 Multicast address (multicast mac address), for each name multicast port is specified independent Layer 2 Multicast address, and this multicast address is set on the network equipment.By the certain multicast address of different name multicast port is set, when sending multicast, can specify the purpose side's multicast address that sends data according to different name ports, guarantee that multicast message can be received by multicast port of the same name.As shown in Figure 2, the multicast message that different multicast group send can only send to the node of having set up identical name multicast port, and remaining clustered node can not receive this multicast message.
Fig. 4 is the flow chart of setting up multicast port according to the embodiment of the invention, has described and at first need set up the unicast communication connection in the trunking communication between all nodes in cluster, makes to safeguard all between any two nodes that are in together in the cluster that reliable unicast communication connects.Can use prior art,, also can use traditional agreements such as TCP to realize such as the TIPC agreement.Comprise following step:
Step S402, before all multicast port are set up, at first set up the real name of name port and the mapping relations of double layer network multicast address (setting up multicast name port and multicast address transformational relation table), guarantee corresponding unique double layer network multicast address of multicast port of each real name.
Step S404 according to user appointed information, sets up multicast name port.General COS and the instance number used determined the port title in the cluster, and being combined in the cluster of COS and instance number is unique, can visit by real name;
Step S406, the mapping relations table that the real-name query step S402 by the name port sets up finds the MAC Address of the cast communication that this multicast port is used for.
Step S408, the MAC Address that step S406 is found is set on the network equipment.
By above-mentioned steps, after multicast port was set up, the multicast message of same multicast port can not send to multicast message on the node irrelevant in the cluster by same multicast address communication.
Fig. 5 sets up the schematic flow sheet that multicast connects in the embodiment of the invention, describe the interior identical multicast port of cluster and need set up the multicast connection, give out information according to the article one that sends to the inner same multicast port of cluster, the multicast of dynamically setting up at destination node for multicast port receives formation.Comprise following step:
Step S502, after setting up multicast port and setting up, structure article one initialization multicast message is also finished transmission, carries local node information and local port message in this message and sends initial sequence number.
Step S504, the multicast port node of identical real name receive new multicast port initialization multicast message.
Step S506, the node that the nodes records of identical real name multicast port increases newly.
Step S508, the node of identical real name multicast port are that the node that increases multicast port newly increases the message sink formation.
Step S510, the node of identical real name multicast port send multicast to the node that increases multicast port newly and connect the foundation affirmation, and carry the nodal information and the multicast message sequence number of this real name multicast port.
Step S512, the node receiving group that increases multicast port newly connects sets up acknowledge message, same, is the node increase message sink formation and the receiving multicast message sequence number of identical real name multicast port.As can be seen, comprise a plurality of message sink formations that all multicast port of the same name are set up in the cluster during a multicast connects.
This shows, the multicast of setting up in the present embodiment connects and comprises---the double layer network address of multicast port correspondence, the message send queue of this multicast port and transmission initial sequence number, multicast port quantity of the same name in the cluster, message sink formation of setting up at each multicast port of the same name in the cluster and message sink sequence number etc.After multicast connected foundation, application can use the name multicast port to realize cast communication.
Fig. 6 is the schematic flow sheet of multicast proper communication and multicast and acknowledging in the embodiment of the invention, the message authentication mechanism that receives formation based on the purpose multicast has been described, realize the reliable communication of multicast port, avoid multicast message message in transmission course out of order and lose.Comprise following step:
Step S602, the cast communication of searching multicast name port correspondence connects, and adds transmission message to message send queue, enters the connection process of transmitting;
Step S604 presses the multicast numeric order and sends multicast message, uses the multicast mac address of this name port correspondence to send multicast message has multicast port of the same name to all node, and the multicast node number that needs affirmation is set;
Step S606, node receives multicast message, at first searches multicast according to multicast port and connects, and searches purpose according to the node number of source transmit leg then in multicast connects and receives formation;
Step S608, inspection group's broadcast message sequence number in the purpose message sink formation of the node number correspondence of source transmit leg is distributed the multicast message that all arrive according to the order of sequence, upgrades the receiving multicast message sequence number that multicast receives formation, and the affirmation timer is set; The multicast message that does not arrive is according to the order of sequence responded out of order affirmation to the source transmit leg; Full or the affirmation timer expiry when the multicast receive window sends and confirms that ACK is to multicast sender;
Step S610, transmit leg multicast message confirm to handle, if normally confirm, the multicast node number of acknowledge message subtracts one with sending in the message queue; If out of order affirmation, can trigger the multicast retransmission of transmit leg, wait for that the recipient determines whether to receive according to the order of sequence once more;
Step S612, transmit leg receive the message authentication of all multicast port nodes of the same name, and the multicast node number that promptly this message need be confirmed in the transmit queue is reduced to 0, then delete this message in the message send queue.
Need to prove that the message authentication numbering can be carried in other multicast message of port proper communication of the same name, to reduce the inter-net communication flow.
Need to prove, can in computer system, carry out in the step shown in the flow chart of accompanying drawing such as a set of computer-executable instructions, and, though there is shown logical order in flow process, but in some cases, can carry out step shown or that describe with the order that is different from herein.
The embodiment of the invention provides a kind of node, and this node can be used to realize the implementation method of above-mentioned cast communication.Fig. 7 is the structured flowchart according to the node of the embodiment of the invention, comprises that first sets up module 72, second and set up module 74 and cast communication module 76.
First sets up module 72, is used to use default title, sets up multicast and connects; Second sets up module 74, is connected to first and sets up module 72, is used for setting up the multicast connection that module 72 is set up first, sets up multicast transmit queue corresponding with title and multicast and receives formation; Cast communication module 76 is connected to second and sets up module 74, is used to use second to set up multicast transmit queue and the multicast reception formation that module 74 is set up, and realizes cast communication.
In the correlation technique, cast communication is realized by broadcasting between all nodes.In the embodiment of the invention, second to set up the multicast port that module 74 sets up corresponding with the title of presetting for node, therefore, cast communication module 76 is used this multicast connection carrying out cast communication, can only in having a plurality of nodes of this title, carry out the transmission and the reception of multicast, thereby reduce network-impacting and reduce the joint behavior expense.
Preferably, first set up module 72 comprise first set up submodule 722, the configuration submodule 724 and second set up submodule 726.
First sets up submodule 722, is used to set up and the default corresponding multicast port of title; Configuration submodule 724 is connected to first and sets up submodule 722, is used to first to set up the corresponding multicast address of multicast port configuration that submodule 722 is set up; Second sets up submodule 726, is connected to configuration submodule 724, is used to use the multicast address of configuration submodule 724 configurations, sets up multicast and connects.
Preferably, second set up module 74 and comprise and send submodule 742, receive submodule 744 and the 3rd and set up submodule 746.
Send submodule 742, be connected to second and set up submodule 726, be used for setting up the multicast connection that submodule 726 is set up, send and carry denominative multicast initial message second; Receive submodule 744, be used to receive the multicast initialize acknowledge message that connects last other node except that node from multicast, wherein, the multicast initialize acknowledge message is used to indicate other node and node to be in identical multicast port; The 3rd sets up submodule 746, is connected to receive submodule 744, is used to use receive the multicast initialize acknowledge message that submodule 744 receives, and sets up multicast transmit queue and multicast and receives formation.
Need to prove that the node of describing among the device embodiment is corresponding to above-mentioned method embodiment, its concrete implementation procedure had been carried out detailed description in method embodiment, do not repeat them here.
In sum, the above embodiment of the present invention connects on the basis at the inner unicast communication of cluster, for multicast port and multicast address are divided in application service, setting up message at all nodes of setting up multicast port of the same name in the cluster connects, use the message authentication mechanism of a plurality of message sink formations of multicast port of the same name, guarantee the reliability of cast communication, the scope of cast communication is limited between the node of setting up multicast port of the same name.In addition, the present invention can effectively reduce the flow of broadcast communication in the network, avoids clustered node to receive and processing and oneself irrelevant multicast message, has improved the system handles performance, has also effectively guaranteed the privacy of telex network simultaneously.Therefore, implementation method and node by cast communication of the present invention, adopt node to use the multicast port corresponding to realize cast communication, solved the problem that cast communication is realized by broadcasting between all nodes, thereby reduced network-impacting and reduce the joint behavior expense with default title.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the storage device and carry out by calculation element, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (13)
1. the implementation method of a cast communication is characterized in that, comprising:
Node uses default title, sets up multicast and connects;
On described multicast connects, set up multicast transmit queue corresponding and multicast and receive formation with described title;
Use described multicast transmit queue and described multicast to receive formation, realize described cast communication.
2. method according to claim 1 is characterized in that, described node uses described default title, sets up described multicast connection and comprises:
Set up and the described default corresponding multicast port of title;
Be the corresponding multicast address of described multicast port configuration;
Use described multicast address, set up described multicast and connect.
3. method according to claim 2 is characterized in that, sets up after the multicast port corresponding with described default title, and also comprise: the type that described multicast port is set is a multicast transmission.
4. method according to claim 2 is characterized in that, on described multicast connects, sets up described multicast transmit queue and the described multicast reception formation corresponding with described default title and comprises:
On described multicast connects, send the multicast initial message that carries described title;
Receive the multicast initialize acknowledge message that goes up other node except that described node from described multicast connection, wherein, described multicast initialize acknowledge message is used to indicate described other node to be in identical multicast port with described node;
Use described multicast initialize acknowledge message, set up described multicast transmit queue and described multicast and receive formation.
5. method according to claim 4 is characterized in that, after transmission carries the described multicast initial message of described title, also comprises:
Described other node uses described title, confirms described node and lays oneself open to identical multicast port;
According to described multicast initial message, the multicast that upgrades oneself receives formation.
6. method according to claim 4 is characterized in that, uses described multicast transmit queue and described multicast to receive formation, realizes that described cast communication comprises:
Described node obtains described other node in the described multicast port;
Described node and described other node are realized described cast communication.
7. according to each described method in the claim 4 to 6, it is characterized in that described multicast initialize acknowledge message sends by unicast messages.
8. method according to claim 2 is characterized in that, also comprises: delete described multicast port.
9. method according to claim 8 is characterized in that, deletes described multicast port and comprises:
On described multicast port, send the message of the deletion be used to indicate described multicast port;
In the given time, receive the message of deletion that is used to confirm described multicast port that connects other node of going up except that described node from described multicast;
Deleting described multicast connects and described multicast address;
Carry out the operation of the deletion of described multicast port.
10. method according to claim 9 is characterized in that, also comprises: the message that sends the deletion that is used to announce described multicast port by unicast messages to described other nodes.
11. a node is characterized in that, comprising:
First sets up module, is used to use default title, sets up multicast and connects;
Second sets up module, is used for connecting at described multicast, sets up multicast transmit queue corresponding with described title and multicast and receives formation;
The cast communication module is used to use described multicast transmit queue and described multicast to receive formation, realizes described cast communication.
12. node according to claim 11 is characterized in that, described first sets up module comprises:
First sets up submodule, is used to set up and the described default corresponding multicast port of title;
The configuration submodule is used to the corresponding multicast address of described multicast port configuration;
Second sets up submodule, is used to use described multicast address, sets up described multicast and connects.
13. node according to claim 11 is characterized in that, described second sets up module comprises:
Send submodule, be used for connecting, send the multicast initial message that carries described title at described multicast;
Receive submodule, be used to receive the multicast initialize acknowledge message that goes up other node except that described node from described multicast connection, wherein, described multicast initialize acknowledge message is used to indicate described other node to be in identical multicast port with described node;
The 3rd sets up submodule, is used to use described multicast initialize acknowledge message, sets up described multicast transmit queue and described multicast and receives formation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010101951769A CN102263780A (en) | 2010-05-25 | 2010-05-25 | Method for realizing multicast communication and node |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010101951769A CN102263780A (en) | 2010-05-25 | 2010-05-25 | Method for realizing multicast communication and node |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102263780A true CN102263780A (en) | 2011-11-30 |
Family
ID=45010235
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010101951769A Pending CN102263780A (en) | 2010-05-25 | 2010-05-25 | Method for realizing multicast communication and node |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102263780A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103530960A (en) * | 2013-10-23 | 2014-01-22 | 浪潮齐鲁软件产业有限公司 | Mass network invoice data cluster broadcasting method |
WO2019024440A1 (en) * | 2017-07-31 | 2019-02-07 | 南通海鑫信息科技有限公司 | Method for system communication of onu device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101119220A (en) * | 2007-09-24 | 2008-02-06 | 中兴通讯股份有限公司 | Gb passive optical network based multicast service implementing method and apparatus |
US20080089264A1 (en) * | 2006-10-12 | 2008-04-17 | Samsung Electronics Co., Ltd. | Apparatus and method for providing news service using multicast and broadcast service in broadband wireless access system |
CN101217543A (en) * | 2008-01-21 | 2008-07-09 | 中兴通讯股份有限公司 | A method of communications in sequence according to PRI in multi physical channels of the cluster |
CN101478490A (en) * | 2009-02-05 | 2009-07-08 | 中兴通讯股份有限公司 | Method and apparatus for TIPC supporting multi-cluster network communication |
US20090296621A1 (en) * | 2008-05-27 | 2009-12-03 | Samsung Electronics Co. Ltd. | Information service apparatus and method in wireless communication system |
-
2010
- 2010-05-25 CN CN2010101951769A patent/CN102263780A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080089264A1 (en) * | 2006-10-12 | 2008-04-17 | Samsung Electronics Co., Ltd. | Apparatus and method for providing news service using multicast and broadcast service in broadband wireless access system |
CN101119220A (en) * | 2007-09-24 | 2008-02-06 | 中兴通讯股份有限公司 | Gb passive optical network based multicast service implementing method and apparatus |
CN101217543A (en) * | 2008-01-21 | 2008-07-09 | 中兴通讯股份有限公司 | A method of communications in sequence according to PRI in multi physical channels of the cluster |
US20090296621A1 (en) * | 2008-05-27 | 2009-12-03 | Samsung Electronics Co. Ltd. | Information service apparatus and method in wireless communication system |
CN101478490A (en) * | 2009-02-05 | 2009-07-08 | 中兴通讯股份有限公司 | Method and apparatus for TIPC supporting multi-cluster network communication |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103530960A (en) * | 2013-10-23 | 2014-01-22 | 浪潮齐鲁软件产业有限公司 | Mass network invoice data cluster broadcasting method |
CN103530960B (en) * | 2013-10-23 | 2016-04-20 | 浪潮齐鲁软件产业有限公司 | A kind of mass network invoice data cluster broadcasting method |
WO2019024440A1 (en) * | 2017-07-31 | 2019-02-07 | 南通海鑫信息科技有限公司 | Method for system communication of onu device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Lindgren et al. | Probabilistic routing protocol for intermittently connected networks | |
JP4697490B2 (en) | Road-to-vehicle communication system, base station apparatus and mobile station apparatus | |
KR100699391B1 (en) | A method and apparatus for routing data in a communication device | |
KR100498932B1 (en) | Apparatus and method for session establishment in radio network organized mobile nodes | |
CN104660952A (en) | Video conference communication method and system | |
KR20140017678A (en) | Multipath overlay network and its multipath management protocol | |
CN102571302A (en) | Auto retransmission request problem of notifying application of circuit service | |
US20240048645A1 (en) | Point-to-point database synchronization over a transport protocol | |
CN102984070A (en) | Method for realizing data forwarding through unnumbered interface of Ethernet | |
CN110771117B (en) | Session layer communication using ID-oriented network | |
CN102263780A (en) | Method for realizing multicast communication and node | |
CN100464547C (en) | A method for implementing information transmission between equipments of different communication protocols | |
US7116775B2 (en) | Apparatus and method for managing BLF information in an inter-networking system | |
JP2007036624A (en) | Communication management apparatus, device, and communication system | |
WO2007023966A1 (en) | Communication apparatus, communication method, communication protocol processing method, communication terminal apparatus, communication method thereof, communication system and communication method thereof | |
Ke et al. | Reliable mobile multicast protocol (RMMP): A reliable multicast protocol for mobile IP networks | |
US20090052446A1 (en) | Communications Interface | |
KR100736913B1 (en) | A reliable transport supporting method for a wireless sensor network | |
JPWO2008072576A1 (en) | Communication continuation method and communication terminal used in the method | |
CN102523572A (en) | Call request information processing method and device | |
CA2641269C (en) | Protocol circuit layer | |
Tobe et al. | A lightweight transport protocol for home networks | |
KR20020051396A (en) | Multicast structure and its method using ring structure | |
JP2017195490A (en) | Radio communication system | |
Davies et al. | Internet Research Task Force (IRTF) A. Lindgren Request for Comments: 6693 SICS Category: Experimental A. Doria |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20111130 |