CN101052006A - Message up sending method and interface plate and router for realizing said method - Google Patents

Message up sending method and interface plate and router for realizing said method Download PDF

Info

Publication number
CN101052006A
CN101052006A CNA2007101020801A CN200710102080A CN101052006A CN 101052006 A CN101052006 A CN 101052006A CN A2007101020801 A CNA2007101020801 A CN A2007101020801A CN 200710102080 A CN200710102080 A CN 200710102080A CN 101052006 A CN101052006 A CN 101052006A
Authority
CN
China
Prior art keywords
message
multicast group
interface board
main frame
state
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.)
Granted
Application number
CNA2007101020801A
Other languages
Chinese (zh)
Other versions
CN101052006B (en
Inventor
张海峰
刘毅松
周小牛
程松明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2007101020801A priority Critical patent/CN101052006B/en
Publication of CN101052006A publication Critical patent/CN101052006A/en
Priority to PCT/CN2008/070806 priority patent/WO2008138248A1/en
Application granted granted Critical
Publication of CN101052006B publication Critical patent/CN101052006B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention is used for increasing the message processing speed of router. The method comprises: the interface board receives a message of changing the state of multicast group from a first host machine, and sends an enquiry message to second host machine; if not receiving a message of changing the state of multicast group from the second host machine in at the appointed time, the interface board updates the state of said multicast group according to the message of changing the state of multicast group.

Description

The method of message up sending and realize the interface board and the router of this method
Technical field
The present invention relates to communication field, relate in particular to a kind of method, interface board and router of message up sending.
Background technology
The architecture majority of router is a distributed frame.Under distributed routing environment, control plane is realized the processing of agreement, and datum plane is realized message forwarding.Usually, the unit of being responsible for control plane is called master control borad, is responsible for the interface board that is called of datum plane.A general master control borad and a plurality of interface board of existing in the distribution router.After interface board is received protocol massages from physical interface, can protocol massages be delivered to master control borad by the bus between plate and handle.
The IP multicast is that certain that in IP network packet is sent in the network with the form that transmits is as possible determined the node subclass, and this subclass is called multicast group.The basic thought of IP multicast is, source host only sends a piece of data, and the destination address in this piece of data is a multicast group address; All recipients in the multicast group can receive same data copy, and have only the main frame in the multicast group can receive these data, and other main frames can not be received in the network.
The Internet group member management protocol (IGMP, Internet Group Management Protocol) is that the IPv4 field is used for realizing that main frame adds the agreement of particular multicast group, has three versions, is respectively IGMPv1/v2/v3.In the v1 version, main frame adds certain specific multicast group by the router of Report message notifying adjacency, after router is received, the multicast group timer is set, and creates corresponding multicast group and is used for instructing forwarding; Whether router sends common query message (General-Query) termly and determines to also have under each interface multicast group to exist to main frame; After main frame is received common ground query message, can add the ground multicast group sends to adjacency with the form of Report message router to main frame; After router is received the Report message of existing multicast group, upgrade the multicast group timer; If do not receive the Report message of certain group in a period of time, the multicast group timer expiry, the state of this group is also deleted.
Among the IGMPv2, on the basis of v1, increase the transmission of Leave message.If main frame has left some multicast group, send the router of Leave message to adjacency.After router is received, send group polling message (General-Query) immediately, whether determine to also have under this interface other main frame to want to continue to receive the data of this multicast group, the All hosts that does not leave this group resends the Report message, shows the existence of this main frame.
In IGMPv3, on the basis of v2, increased the overanxious mechanism in source, main frame is by sending the Report message, show that this main frame only wants to receive the data from some particular source, or except that crossing some particular source, data from other sources can receive, respectively corresponding two states: INCLUDE (A) (data in other sources that expression A set is outer do not receive) and EXCLUDE (B) (data in other sources that expression B set is outer all can receive); After main frame is received query message, respond the Report message of IS IN or IS EX type respectively according to the state of each group, if the source that main frame can receive increases or reduces, then initiatively transmission types is that ALLOW (increase) is the Report message of BLOCK (minimizing) type.Cause that the message that the multicast group state changes is called state change message.
In the prior art for IGMP/ multicast listener discovery (MLD, Multicast Listener Discovery) message, the multicast group state that each main frame sends changes message and sends to master control borad by the interface board that is connected with main frame by bus, and master control borad sends to each main frame that is connected with interface board to the query message that each main frame sends by bus.Under the situation that has a large amount of IGMP/MLD main frames to exist, every tens seconds, receive the query message that router sends, each main frame in the network all can be responded a current multicast group state message to master control borad by connected interface board, and message is sent to master control borad by bus from interface board; Bus run between master control borad and the interface board greatly may cause obstruction because bandwidth is certain like this, causes the bottleneck that protocol massages is handled.Master control borad will be handled the message that a plurality of interface boards are received in the router, when in network, having a large amount of message up sending, master control borad has little time to handle at short notice a large amount of messages, at this moment the main frame in the network can be waited for the response of master control borad and can not carry out other work, can not carry out corresponding work with the equipment in other networks that the main frame of waiting for is connected, thereby cause whole network each task to lag behind, exchanges data has some setbacks in the network.
Summary of the invention
The technical problem to be solved in the present invention provide a kind of message up sending method, and realize the interface board and the router of this method improving the efficient that router is handled message.
For solving the problems of the technologies described above, the objective of the invention is to be achieved through the following technical solutions:
The invention provides a kind of method of message up sending, comprising:
Interface board receives the multicast group state change message that first main frame sends; Interface board sends query message to second main frame; When interface board is not received the multicast group state message of second main frame feedback at the appointed time, change message according to described multicast group state and upgrade described multicast group state, and send the described multicast group state change message of preset number to master control borad.
The present invention also provides the method for another kind of a kind of message up sending, and described message comprises for joining message:
Interface board receives joining message of first main frame transmission; When not storing the multicast group of record in the joining message that described first main frame sends in the described interface board, interface board adds the multicast group of record in described the joining message, and sends the described of preset number to master control borad and join message.
The present invention also provides a kind of interface board, comprising:
The first message receiving element is used to receive the multicast group state change message that first main frame sends; The query message transmitting element is used for sending query message to second main frame after the described first message receiving element receives that described multicast group state changes message; Updating block is used for changing the described multicast group state that message updating interface plate is stored according to the described multicast group state that the described first message receiving element receives; Transmitting element is used for multicast group state that the described first message receiving element with preset number receives and changes message and send to master control borad.
The present invention also provides another kind of interface board, comprising: the first message receiving element is used to receive joining message of first main frame transmission; Memory cell is used to store the multicast Groups List; Adding device is used for when described memory cell is not stored the multicast group of record in the joining message of the described first message receiving element reception multicast group of adding record in described the joining message; Transmitting element is used for joining message of described first message receiving element reception sent to master control borad.
The present invention also provides a kind of router, comprising: interface board: be used to receive the message that main frame sends, and send query message to described main frame; When not receiving the multicast group state message of described main frame transmission at the appointed time, the message that sends according to described main frame upgrades the multicast group state, and sends the message of the described main frame transmission of preset number; Master control borad is used to receive the message that the described main frame of the described preset number that described interface board sends sends, and the message that sends according to the described main frame of described preset number upgrades the state of described multicast group.
Above technical scheme as can be seen, because after interface board receives that the multicast group state changes message among the present invention, second main frame sends query message in network, the current multicast group state of second main frame in the requester network, if interface board is received the multicast group state message that second main frame sends, then the multicast group timer is made zero, during the query message of second main frame sends in not receiving network source, just the multicast group state that sends preset number to master control borad changes message; The router interface plate is handled the message that self receives respectively like this, to all need disperse by the message that master control borad is handled to handle by the interface board that receives this message, reduce the data traffic of bus between interface board and the master control borad, prevent to cause between interface board and the master control borad and always go up data congestion, accelerated the speed of main frame transmission message in the router processing network effectively.
Description of drawings
Fig. 1 is the total method figure of message up sending that the embodiment of the invention provides;
Fig. 2 is the method figure of the multicast group source status changes message up sending that provides of the embodiment of the invention;
Fig. 3 be the embodiment of the invention provide join message on the method figure that send;
Fig. 4 is the method figure that send on the leave message that provides of the embodiment of the invention;
Fig. 5 is the interface board structure chart that the embodiment of the invention provides;
Fig. 6 is the router topology figure that the embodiment of the invention provides.
Embodiment
The embodiment of the invention provides a kind of method, interface board and router of message up sending, improves the efficient that router is handled message.
Seeing also Fig. 1 is the total method figure of message up sending provided by the invention.
After message up sending can be understood as the message that the router interface plate receives that main frame in the network sends in the embodiment of the invention, sending to the router master control borad through corresponding the processing.
S1) interface board receives the multicast group state change message that first main frame sends;
For convenience of description, embodiment of the invention definition: first main frame is to send the main frame that the multicast group state changes message to router in the network.
S2) interface board sends query message to second main frame;
For convenience of description, embodiment of the invention definition: second main frame is not send the main frame that the multicast group state changes message to interface board in the network.Interface board sends query message to second main frame, and whether the main frame that does not send multicast group state change message in the inquiry network also will carry out the change of multicast group state; If interface board is received the current multicast group state message of main frame feedback, then execution in step S3 at the appointed time); If interface board is not received the current multicast group state message of second main frame feedback in the network, then execution in step S4 at the appointed time).
S3) the multicast group timer makes zero;
If interface board is received the current multicast group state message of second main frame feedback at the appointed time, the multicast group timer makes zero, and no longer carries out following step, finishes this flow process.The multicast group tabulation of storing in the router, router can upgrade the state of each multicast group in the tabulation in timer time; Behind the multicast group list update, the multicast group timer makes zero, and restarts timing.
Need to prove, when interface board receives that the multicast group state of first main frame transmission changes message, can send several last membership query messages to second main frame, whether first main frame that inquiry sends multicast group state change message is last main frame in this multicast group; Interface board sends several last membership query messages respectively in certain time interval, this time interval is called last membership query at interval, and the number of times that interface board sends several last membership query messages is called last membership query number of times.Interface board receives the stipulated time described in the current multicast group state message of main frame feedback at the appointed time and is specially: the value that last membership query is multiplied each other and obtained with last membership query number of times at interval.Send in the process of last membership query message at interface board,, no longer send last membership query message if receive the current multicast group state message that second main frame sends.
S4) interface board changes message renewal multicast group state according to the multicast group state;
When interface board is not received the current multicast group state message of main frame feedback at the appointed time, change message according to the multicast group state and upgrade the multicast group state, and carry out S5).
Interface board does not receive the stipulated time described in the current multicast group state message of main frame feedback at the appointed time and is specially: the value that last membership query is multiplied each other and obtained with last membership query number of times at interval.
S5) interface board changes message to the multicast group state that master control borad sends preset number;
After interface board is received the multicast group state change message that first main frame sends in the network, if these multicast group states change message and cause that the multicast group current state changes, one or several in the multicast group change message that interface board can send first main frame send to master control borad.
The multicast group of preset number changes message and sets in advance in interface board, and interface board sends the number that the multicast group state changes message to master control borad, can be set to 1,2,3 etc.The preset number that the embodiment of the invention preferably is provided with is 1 or 2.Preset number is set, and the message amount that makes interface board report to master control borad is far smaller than the message amount that interface board receives, and reduces the work of master control borad, accelerates the speed that router is handled message.
S6) master control borad upgrades the multicast group state according to the multicast group state message.
It is not overtime that the embodiment of the invention is provided with in the master control borad multicast group timer, and master control borad directly changes message according to the multicast group state and revises the multicast group state that self stores after receiving that the multicast group state changes message.
The method figure total according to above-mentioned message up sending the invention provides the embodiment of the message up sending of different content.
Following providing according to different multicast group state changes message, sets forth interface board and receives the treatment step behind the message and the treatment step of master control borad.
See also on Fig. 2 multicast group source status changes message and send the enforcement illustration.
A1) interface board is received the multicast group source status changes message that first main frame sends;
In the network that router exists, first main frame is to send the main frame that the multicast group state changes message to router in the network in the embodiment of the invention.
A2) interface board sends the source query message to second main frame;
In the embodiment of the invention, second main frame is the main frame that does not send multicast group source status changes message in the network to interface board in the network.Interface board second main frame in network sends the source query message, and whether the main frame that does not send the source query message in the inquiry network also will carry out the change of multicast group source state; When interface board is received the current multicast group source state message of main frame feedback at the appointed time, execution in step A3); When interface board is not received the current multicast group source state message of the feedback of second main frame in the network at the appointed time, execution in step A4).The afore mentioned rules time is specially: the value that last membership query is multiplied each other and obtained with last membership query number of times at interval.
A3) the multicast group timer makes zero;
Interface board makes zero the multicast group timer.Need to prove, if the multicast group timer expiry, interface board deletion multicast group; Interface board sends leave message to described master control borad, and master control borad is received the multicast group that writes down in the deletion leave message after the leave message that interface board sends.
A4) interface is revised multicast group source state according to described multicast group source status changes message;
Situation 1: the state of supposing current group is INCLUDE (A), interface board receives that it is TO_IN (B) message (TO_IN (B) message represents that the source tabulation of organizing changes the B set into) that the multicast group state that send on first main frame in the network changes message, and then interface board is INCLUDE (B) with the source status modifier of group.
Situation 2: the state of supposing current group is INCLUDE (A), and interface board is received TO_EX (B) message that send on first main frame in the network, then interface board with the group the source status modifier be EXCLUDE (NULL, B).(NULL, B) source of expression except the B set all can receive EXCLUDE.
Situation 3: the state of supposing current group is INCLUDE (A), and interface board is received ALLOW (B) message of first main frame in the network, and then interface board is INCLUDE (A+B) with the source status modifier of group.
Situation 4: the state of supposing current group is INCLUDE (A), and interface board is received BLOCK (B) message of first main frame in the network, and then interface board is INCLUDE (A-B) with the source status modifier of group.
Situation 5: the state of supposing current group be EXCLUDE (X, Y), interface board is received first main frame TO_IN (A) message in the network, then interface board with the group the source status modifier be INCLUDE (A).
Situation 6: the state of supposing current group be EXCLUDE (X, Y), interface board is received first main frame TO_EX (A) message in the network, then interface board with the group the source status modifier be EXCLUDE (NULL, A).
Situation 7: the state of supposing current group be EXCLUDE (X, Y), interface board is received first host A LLOW (A) message in the network, then interface board with the group the source status modifier be EXCLUDE (X+A, Y-A).
Situation 8: the state of supposing current group be EXCLUDE (X, Y), interface board is received first host B LOCK (A) message in the network, then interface board with the group the source status modifier be EXCLUDE (X-A, Y+A).
A5) interface board sends the multicast group source status changes message of preset number to master control borad;
The multicast group of preset number change message be in interface board, set in advance send the number of multicast group source status changes message to master control borad, can be set to 1,2,3 etc.Those skilled in the art are provided with according to the workability of current network conditions and router; The preset number that the embodiment of the invention preferably is provided with is 1 or 2.Preset number is set, and the message amount that makes interface board report to master control borad is far smaller than the message amount that interface board receives, and reduces the work of master control borad, accelerates the speed that router is handled message.
A6) master control borad is revised the source state of the multicast group of master control borad storage according to multicast group source state message;
After master control borad is received multicast group source status changes message, revise the state of the multicast group of master control borad storage according to the information of multicast group state change.
It is not overtime that the group timer is set on the master control borad.
After master control borad was received multicast group source state message (Report) message that send on the interface board, following change took place in the state of multicast group:
Situation 1: the state of supposing current group is INCLUDE (A), receives TO_IN (B) message that send on the interface board, and then Zu state-transition is INCLUDE (B).
Situation 2: the state of supposing current group is INCLUDE (A), receives TO_EX (B) message that send on the interface board, then Zu state-transition be EXCLUDE (NULL, B).(EXCLUDE (NULL, B) source of expression except the B set all can receive)
Situation 3: the state of supposing current group is INCLUDE (A), receives ALLOW (B) message that send on the interface board, and then Zu state-transition is INCLUDE (A+B).
Situation 4: the state of supposing current group is INCLUDE (A), receives BLOCK (B) message that send on the interface board, and then Zu state-transition is INCLUDE (A-B).
Situation 5: the state of supposing current group is that (X Y), receives TO_IN (A) message that send on the interface board to EXCLUDE, and then Zu state-transition is INCLUDE (A).
Situation 6: the state of supposing current group be EXCLUDE (X Y), receives TO_EX (A) message that send on the interface board, then Zu state-transition be EXCLUDE (NULL, A).
Situation 7: the state of supposing current group be EXCLUDE (X Y), receives ALLOW (A) message that send on the interface board, then Zu state-transition be EXCLUDE (X+A, Y-A).
Situation 8: the state of supposing current group be EXCLUDE (X Y), receives BLOCK (A) message that send on the interface board, then Zu state-transition be EXCLUDE (X-A, Y+A).
So far, router finishes for the processing that causes the message that multicast group source state changes that sends in the network.
See also Fig. 3 and be the enforcement illustration that send on the joining message that the embodiment of the invention provides.
B1) interface board is received joining message of first main frame transmission;
For convenience of description, embodiment of the invention definition: first main frame is to send the main frame that joins message to router in the network.
Described first main frame of storage sends in the interface board join message in during the multicast group of record, execution in step B2); When not storing the multicast group of record in the joining message that described first main frame sends in the interface board, execution in step B3).
B2) interface board makes zero the multicast group timer, and adds first main frame to multicast group;
Interface board makes zero the multicast group timer, and first main frame is added in the multicast group of the middle record that joins message, and no longer carries out following step.
Need to prove that if the multicast group timer expiry, interface board deletion multicast group sends leave message to described master control borad, described master control borad is deleted the multicast group that writes down in the described leave message.
The multicast group tabulation of storing in the router, router can upgrade the state of each multicast group in the tabulation in timer time; Behind the multicast group list update, the multicast group timer makes zero, and restarts timing.
B3) interface board adds described multicast group, and sends joining message of preset number to master control borad;
Preset number join message be in interface board, set in advance send the number join message to master control borad, can be set to 1,2,3 etc.Those skilled in the art are provided with according to the workability of current network conditions and router; The preset number that the embodiment of the invention preferably is provided with is 1 or 2.Preset number is set, and the message amount that makes interface board report to master control borad is far smaller than the message amount that interface board receives, and reduces the work of master control borad, accelerates the speed that router is handled message.Interface board sends to master control borad with joining message of first main frame transmission in the network with Report message form; Interface board add this join message in the record multicast group, execution in step B4).
B4) multicast group of record during master control borad joins message;
The multicast group of record during the master control borad storage joins message.
See also Fig. 4 and be the enforcement illustration that send on the leave message that the embodiment of the invention provides.
C1) interface board is received the leave message that first main frame sends;
For convenience of description, embodiment of the invention definition: first main frame is the main frame that sends leave message to the router interface plate.
C2) interface board sends the group polling message to second main frame;
For convenience of description, embodiment of the invention definition: second main frame is the main frame that does not send leave message in the network to router.
The group polling message is whether router will withdraw from the multicast group that writes down in the leave message to the inquiry main frame that main frame sends.When interface board is received joining message that second main frame sends in the network at the appointed time, execution in step C3), when interface board is not received joining message that second main frame sends in the network at the appointed time, execution in step C4).The afore mentioned rules time is specially: the value that last membership query is multiplied each other and obtained with last membership query number of times at interval.
Need to prove, if the multicast group timer expiry, interface board deletion multicast group; Interface board sends leave message to described master control borad, and described master control borad is deleted the multicast group that writes down in the described leave message.
C3) abandon leave message, and the multicast group timer is made zero;
Abandon the leave message that main frame sends, interface board can not revised the multicast group of its storage.The multicast group tabulation of storing in the router, router can upgrade the state of each multicast group in the tabulation in timer time; Behind the multicast group list update, the multicast group timer makes zero, and restarts timing.
C4) multicast group that writes down in the interface board deletion leave message;
The entry of the multicast group that writes down in the leave message of interface board deletion self storage.
C5) interface board sends the leave message of preset number to master control borad;
The leave message of preset number sends the number of leave message for what set in advance to master control borad in interface board, can be set to 1,2,3 etc.Those skilled in the art are provided with according to the workability of current network conditions and router; The preset number that the embodiment of the invention preferably is provided with is 1 or 2.Preset number is set, and the message amount that makes interface board report to master control borad is far smaller than the message amount that interface board receives, and reduces the work of master control borad, accelerates the speed that router is handled message.
The leave message that interface board sends main frame sends to master control borad with the form of Report message.
C6) multicast group that writes down in the master control borad deletion leave message;
After master control borad is received leave message, delete the entry of the multicast group that writes down in the leave message of self storing.
Seeing also Fig. 5 is the interface board structure chart that the embodiment of the invention provides.
If it is multicast group source status changes message that the multicast group state that send on the interface board changes message, interface board comprises:
The first message receiving element 110 is used to receive the multicast group state change message that first main frame sends;
Query message transmitting element 120 is used for sending query message to second main frame after the described first message receiving element receives that described multicast group state changes message;
Updating block 130 is used for changing the described multicast group state that message updating interface plate is stored according to the described multicast group state that the described first message receiving element receives;
Transmitting element 140 is used for multicast group state that the described first message receiving element with preset number receives and changes message and send to master control borad.
After existing second main frame to receive the query message of interface board transmission in the network, when interface board sends the multicast group state message, described interface board also comprises: the second message receiving element 150, be used at described query message transmitting element after second main frame sends query message, receiving the multicast group state message of second main frame feedback;
Timer processing unit 160 when being used for the described at the appointed time second message receiving element and receiving the multicast group state message of network second main frame feedback, makes zero the multicast group timer.
If the multicast group state that first main frame sends to interface board in the network changes message for joining message, the structure of interface board is as follows:
The first message receiving element 110 is used to receive joining message of first main frame transmission;
Memory cell 170 is used to store the multicast Groups List;
Adding device 180 is used for when described memory cell is not stored the multicast group of record in the joining message of the described first message receiving element reception multicast group of adding record in described the joining message;
Transmitting element 140 is used for joining message of described first message receiving element reception sent to master control borad.
Because the difference of the multicast group of interface board cell stores tabulation, described interface board also comprises timer processing unit 160;
Described timer processing unit 160 is used for joining message during the multicast group that writes down that the described first message receiving element of described cell stores receives the multicast group timer being made zero;
Described adding device 180 adds first main frame in the multicast group that writes down that joins message of described first receiving element reception to.
Above-mentioned according on the deliver newspaper difference of literary composition the internal structure of interface board is described respectively, but interface board simultaneously can more than send multicast group source status changes message, therefore join message and leave message, the different structure of the interface board of describing according to the difference of message all is present in the interface board.
For intactly realizing the inventive method embodiment, the embodiment of the invention also provides the structure chart of router.Seeing also Fig. 6 is the router topology figure that the embodiment of the invention provides.
As shown in the figure, router comprises:
Interface board 100: be used to receive the message that main frame sends, and send query message to described main frame; When not receiving the multicast group state message of described main frame transmission at the appointed time, the message that sends according to described main frame upgrades the multicast group state, and sends the message of the described main frame transmission of preset number;
Master control borad 200 is used to receive the message that the described main frame of the described preset number that described interface board sends sends, and the message that sends according to the described main frame of described preset number upgrades the state of described multicast group.
Because different situations in the network, to the refinement of router interface board function: when described interface board 100 is received the multicast group state message that described main frame sends at the appointed time, the multicast group timer is made zero.
Need to prove, have a plurality of interface boards in next router device of normal conditions, and correspondingly in router device have a master control borad; Each interface board all links to each other with master control borad.
Find out that by above technical scheme the embodiment of the invention is set forth the processing of multicast group source status changes message and leave message interface board respectively and reported master control borad, the processing of master control borad; Send process on the concrete message, convenient enforcement.
Further, because after interface board is received and is joined message in the embodiment of the invention, if there has been the multicast group of the middle record that joins message in interface board self storage, interface board only upgrades oneself state, and in interface board, not having to store the middle multicast group that writes down that joins message, interface board just sends joining message of preset number to master control borad; Send quantity on joining message between minimizing interface board and the master control borad, reduce the data traffic on the bus.
Further, in the embodiment of the invention in the interface board if the multicast group timer expiry, interface board can be deleted described multicast group, sends the leave message of described multicast group again to master control borad, reduces master control borad work of treatment amount.
More than the method for a kind of message up sending provided by the present invention, a kind of interface board and router are described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (15)

1, a kind of method of message up sending is characterized in that, comprising:
Interface board receives the multicast group state change message that first main frame sends;
Interface board sends query message to second main frame;
When interface board is not received the multicast group state message of second main frame feedback at the appointed time, change message according to described multicast group state and upgrade described multicast group state, and send the described multicast group state change message of preset number to master control borad.
2, the method for message up sending according to claim 1 is characterized in that, during the described multicast group state message of receiving second main frame feedback at the appointed time, the multicast group timer is made zero.
3, the method for message up sending according to claim 1, it is characterized in that, described master control borad receives that the multicast group state of described preset number changes message, upgrades the state of the described multicast group of master control borad storage according to the multicast group state message of described preset number.
4, the method for message up sending according to claim 3 is characterized in that,
It is multicast group source state message that described multicast group state changes message; Described query message is the source query message.
The multicast group state change message that described interface board receives the transmission of first main frame is a multicast group source state message,
Described interface board is the source query message to the query message that second main frame sends;
Described interface board receives that the multicast group state message that second main frame sends is a multicast group source state message;
Described interface board is a multicast group source status changes message to the described multicast group state change message that master control borad sends preset number;
Described master control borad is a source state of revising the described multicast group of master control borad storage according to the source status changes message of described preset number according to the state of the described multicast group of the multicast group state message renewal master control borad storage of described preset number.
5, the method for message up sending according to claim 3 is characterized in that, the multicast group state change message that described interface board receives the transmission of first main frame is a leave message,
Described interface board is the group polling message to the query message that second main frame sends;
Described interface board receives that at the appointed time multicast group state message that second main frame sends is when joining message, and described interface board abandons described leave message, and the multicast group timer is made zero;
Described interface board changes message according to described multicast group state, and to upgrade described multicast group state be the multicast group that writes down in the described leave message of deletion, and to change message to the described multicast group state that master control borad sends preset number be leave message;
Described master control borad upgrades the state of described multicast group of master control borad storage according to described preset number according to the multicast group state message of described preset number, delete the multicast group that writes down in the described leave message.
According to the method for claim 4 or 5 described message up sending, it is characterized in that 6, if described multicast group timer expiry, described interface board is deleted described multicast group, and send leave message to described master control borad;
Described master control borad is deleted the multicast group that writes down in the described leave message.
7, a kind of method of message up sending, described message is characterized in that for joining message, comprising:
Interface board receives joining message of first main frame transmission;
When not storing the multicast group of record in the joining message that described first main frame sends in the described interface board, interface board adds the multicast group of record in described the joining message, and sends the described of preset number to master control borad and join message.
8, the method for message up sending according to claim 7, it is characterized in that, during described first main frame of storage sends in the described interface board in joining message multicast group, interface board makes zero described multicast group timer, first main frame is added in the multicast group of the described record that joins message.
9, the method for message up sending according to claim 8 is characterized in that, master control borad is received joining message of described preset number, adds the multicast group of record in described the joining message.
10, the method for message up sending according to claim 9 is characterized in that, if described multicast group timer expiry, described interface board is deleted described multicast group, and sends leave message to described master control borad;
Described master control borad is deleted the multicast group that writes down in the described leave message.
11, a kind of interface board is characterized in that, comprising:
The first message receiving element is used to receive the multicast group state change message that first main frame sends;
The query message transmitting element is used for sending query message to second main frame after the described first message receiving element receives that described multicast group state changes message;
Updating block is used for changing the described multicast group state that message updating interface plate is stored according to the described multicast group state that the described first message receiving element receives;
Transmitting element is used for multicast group state that the described first message receiving element with preset number receives and changes message and send to master control borad.
12, interface board according to claim 11, it is characterized in that, described interface board also comprises: the second message receiving element is used at described query message transmitting element receiving the multicast group state message of second main frame feedback after second main frame sends query message;
The timer processing unit when being used for the described at the appointed time second message receiving element and receiving the multicast group state message of network second main frame feedback, makes zero the multicast group timer.
13, a kind of interface board is characterized in that, comprising:
The first message receiving element is used to receive joining message of first main frame transmission;
Memory cell is used to store the multicast Groups List;
Adding device is used for when described memory cell is not stored the multicast group of record in the joining message of the described first message receiving element reception multicast group of adding record in described the joining message;
Transmitting element is used for joining message of described first message receiving element reception sent to master control borad.
14, interface board according to claim 13 is characterized in that, described interface board also comprises timer;
Described timer processing unit is used for joining message during the multicast group that writes down that the described first message receiving element of described cell stores receives the multicast group timer being made zero;
Described adding device adds first main frame in the multicast group that writes down that joins message of described first receiving element reception to.
15, a kind of router is characterized in that, comprising:
Interface board: be used to receive the message that main frame sends, and send query message to described main frame; When not receiving the multicast group state message of described main frame transmission at the appointed time, the message that sends according to described main frame upgrades the multicast group state, and sends the message of the described main frame transmission of preset number;
Master control borad is used to receive the message that the described main frame of the described preset number that described interface board sends sends, and the message that sends according to the described main frame of described preset number upgrades the state of described multicast group.
CN2007101020801A 2007-05-14 2007-05-14 Message up sending method and interface plate and router for realizing said method Expired - Fee Related CN101052006B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2007101020801A CN101052006B (en) 2007-05-14 2007-05-14 Message up sending method and interface plate and router for realizing said method
PCT/CN2008/070806 WO2008138248A1 (en) 2007-05-14 2008-04-25 A method, an interface board and a router for transmitting the message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101020801A CN101052006B (en) 2007-05-14 2007-05-14 Message up sending method and interface plate and router for realizing said method

Publications (2)

Publication Number Publication Date
CN101052006A true CN101052006A (en) 2007-10-10
CN101052006B CN101052006B (en) 2010-06-09

Family

ID=38783203

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101020801A Expired - Fee Related CN101052006B (en) 2007-05-14 2007-05-14 Message up sending method and interface plate and router for realizing said method

Country Status (2)

Country Link
CN (1) CN101052006B (en)
WO (1) WO2008138248A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008138248A1 (en) * 2007-05-14 2008-11-20 Huawei Technologies Co., Ltd. A method, an interface board and a router for transmitting the message
CN102843297A (en) * 2012-08-29 2012-12-26 上海斐讯数据通信技术有限公司 Method for processing query message by router
CN107888991A (en) * 2017-11-10 2018-04-06 深圳市创维软件有限公司 Network link processing method, device and computer-readable recording medium
US10771595B2 (en) 2016-11-02 2020-09-08 Huawei Technologies Co., Ltd. Packet sending method and apparatus, chip, and terminal
CN115424422A (en) * 2022-07-29 2022-12-02 上海金铎禹辰水环境工程有限公司 Water area early warning method, device, equipment and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8521686B2 (en) * 2009-07-13 2013-08-27 Vmware, Inc. Concurrency control in a file system shared by application hosts
CN113691462B (en) * 2021-07-29 2023-09-15 杭州迪普科技股份有限公司 Response method and device of Internet group management protocol

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100499562C (en) * 2003-12-12 2009-06-10 华为技术有限公司 Control method of multicast board-spanning forwarding
KR100625118B1 (en) * 2004-03-25 2006-09-20 삼성전자주식회사 Apparatus and method for improving traffic bandwidth in bts
CN100361470C (en) * 2004-12-30 2008-01-09 华为技术有限公司 Method for realizing multicast by using secondary frame in access for digital subscriber line
CN100426886C (en) * 2006-03-17 2008-10-15 华为技术有限公司 Method for realizing stream media service
CN101052006B (en) * 2007-05-14 2010-06-09 华为技术有限公司 Message up sending method and interface plate and router for realizing said method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008138248A1 (en) * 2007-05-14 2008-11-20 Huawei Technologies Co., Ltd. A method, an interface board and a router for transmitting the message
CN102843297A (en) * 2012-08-29 2012-12-26 上海斐讯数据通信技术有限公司 Method for processing query message by router
CN102843297B (en) * 2012-08-29 2015-08-19 上海斐讯数据通信技术有限公司 The method of router process query message
US10771595B2 (en) 2016-11-02 2020-09-08 Huawei Technologies Co., Ltd. Packet sending method and apparatus, chip, and terminal
CN108023683B (en) * 2016-11-02 2020-12-25 华为技术有限公司 Method, device, chip and terminal for sending message
CN107888991A (en) * 2017-11-10 2018-04-06 深圳市创维软件有限公司 Network link processing method, device and computer-readable recording medium
CN107888991B (en) * 2017-11-10 2020-04-10 深圳市创维软件有限公司 Network link processing method, device and computer readable storage medium
CN115424422A (en) * 2022-07-29 2022-12-02 上海金铎禹辰水环境工程有限公司 Water area early warning method, device, equipment and storage medium
CN115424422B (en) * 2022-07-29 2023-07-21 上海金铎禹辰水环境工程有限公司 Water area early warning method, device, equipment and storage medium

Also Published As

Publication number Publication date
WO2008138248A1 (en) 2008-11-20
CN101052006B (en) 2010-06-09

Similar Documents

Publication Publication Date Title
CN100346605C (en) A method and system for multicast source control
CN101052006A (en) Message up sending method and interface plate and router for realizing said method
Pusateri Distance vector multicast routing protocol
CN1237755C (en) Subgroup multicasting in communications network
CN1780298A (en) System and method for a distributed server for peer-to-peer networks
CN1777149A (en) Method for realizing multicast translation in three-layer switching unit
CN1976313A (en) High performance router routing protocol distribution parallel realizing method
CN1868178A (en) Packet distribution control method
CN1697354A (en) Method for reliable transmitting data through multicast and unicast protocol, and host of receiving data
CN1783880A (en) Softrouter dynamic binding protocol
CN1791054A (en) Virtual special network multicast method by virtual router mode
CN1929324A (en) Master-salve switching method and system for mutual backup device
CN101043429A (en) Method for establishing multicasting LSP in MPLS field and multicasting data communication system
CN1747447A (en) IP group broadcasting method for supporting different service quality in specification service network domain
CN1805388A (en) Method for establishing pier-to-pier direct channels
CN101060494A (en) A route selection method, system and router
CN1859304A (en) Method for realizing neighbour discovery
CN1801711A (en) Multicast group member identification method and apparatus
CN101047651A (en) Method, system and equipment for setting IP priority level
CN1848807A (en) Group broadcasting business realizing method
CN1929444A (en) Operator's boundary notes, virtual special LAN service communication method and system
CN1764155A (en) Transmission method and edge apparatus for multicast between fields
CN1881935A (en) Mobile Internet protocol route processing method and system and router
CN1852261A (en) Method for maintenance of neighbor entry
CN1976289A (en) Program arranging method and system based on distributing network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100609

Termination date: 20160514

CF01 Termination of patent right due to non-payment of annual fee