CN105119846A - Multicast message control method and switch - Google Patents

Multicast message control method and switch Download PDF

Info

Publication number
CN105119846A
CN105119846A CN201510419849.7A CN201510419849A CN105119846A CN 105119846 A CN105119846 A CN 105119846A CN 201510419849 A CN201510419849 A CN 201510419849A CN 105119846 A CN105119846 A CN 105119846A
Authority
CN
China
Prior art keywords
multicast message
priority
control method
switch
multicast
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
Application number
CN201510419849.7A
Other languages
Chinese (zh)
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.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication Technology 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201510419849.7A priority Critical patent/CN105119846A/en
Publication of CN105119846A publication Critical patent/CN105119846A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/20Support for services
    • H04L49/201Multicast operation; Broadcast operation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/30Peripheral units, e.g. input or output ports
    • H04L49/3027Output queuing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/90Buffering arrangements

Landscapes

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

Abstract

The invention discloses a multicast message control method and a switch. The method comprises providing N channels for sending multicast messages associated to M priorities, wherein N and M are natural numbers, and M>N, mapping the multicast messages associated to M1 continuous priorities to the M1 channels to be sent, wherein M1=M-M2, and M1<N, and mapping the multicast messages associated to the M2 residual continuous priorities to the (N-M1) residual channels to be sent. The invention is advantageous in that the invention provides the multicast message control method, the multicast message control method can effectively solve a congestion phenomenon generated because the multicast messages may cannot find outlet queues when the multicast message priorities are more than the outlet queues, and then the problem of abnormal loss, brought by congestion of the multicast messages in the switch, of the multicast message is solved.

Description

A kind of multicast message control method and switch
Technical field
The present invention relates to network control technology field, particularly relate to a kind of multicast message control method and switch.
Background technology
Along with the development of internet, the new business such as video request program, video conference, distance learning, computer cooperative design are there is.Traditional point to point link mode, not only waste a large amount of network bandwidths, and efficiency is very low.Multicast (MultiCast) is the communication mode of a kind of point-to-multipoint (or how point-to-multipoint), and namely multiple recipient receives the identical information that a source sends simultaneously.Effectively utilize the technology of existing bandwidth to be exactly a multicasting technology, therefore multicasting technology seems particularly important.
Existing switch, the gate region of usual process multicast message will be less than the gate region of process unicast message, and when processing multicast message especially when port corresponding to former interface being caused to relearn MAC Address after exchange interface plug, and the MAC Address of study before making it is lost, thus make partial multicast message become unknown unicast message, the unicast message of gate region process the unknown of process multicast message is generally adopted due to existing switch, and then it is congested to cause the unicast message of these the unknowns to be formed in a switch because can not find gate region, the follow-up multicast message entered further is caused directly to be lost, cannot the follow-up multicast message entered of storage forwarding normally.
Summary of the invention
For the problems referred to above of the existence of switch in prior art in multicast message storage forwarding process, now provide a kind of the multicast message control method and the switch that are intended to solve the improper loss of multicast message.
Concrete technical scheme is as follows:
A kind of multicast message control method, is applied to switch, comprises:
There is provided N number of passage, for sending the multicast message being associated with M priority, N, M are natural number, and M>N;
The described multicast message being associated with a continuous print M1 priority is mapped to M1 described passage to send, M1=M-M2, and M1<N;
The described multicast message being associated with a remaining continuous print M2 priority is mapped to remaining N-M1 described passage to send.
Preferably, be No. 0 to No. 3 for being associated with the described port number of the multicast message of M1 priority described in sending, totally 4 described passages.
Preferably, M described priority of described multicast message association is the 0th grade to the 7th grade, totally 8 described priority.
Preferably, M2=4, M2 are multicast message priority number.
Preferably, be associated with the described multicast message of a continuous print M1 priority, for being associated with the 0th grade of described multicast message to 3rd level totally 4 priority.
Preferential, also comprise, judge that the message entering switch is multicast message or unicast message, be unicast message as what enter switch, then sent by following steps:
Step S1, provide J passage, report literary composition for sending the described clean culture being associated with J priority, J is natural number;
Step S2, the described unicast message being associated with a continuous print J priority is mapped to J described passage and sends.
Preferably, the port number that literary composition is reported in the described clean culture for being associated with J priority described in sending is No. 0 to No. 7, totally 8 described passages.
Preferably, J described priority of described unicast message association is the 0th grade to the 7th grade, totally 8 described priority.
Also comprise, a kind of switch, be applied to described a kind of multicast message control method.
Preferably, described switch uses BCM56845 chip.
Technique scheme tool has the following advantages or beneficial effect: provide a kind of multicast message control method, effectively can solve the congestion phenomenon because multicast message priority may produce because can not find gate region more than multicast message during gate region, thus solve the improper loss problem of multicast message that is that bring because multicast message is congested in a switch.
Accompanying drawing explanation
With reference to appended accompanying drawing, to describe embodiments of the invention more fully.But, appended accompanying drawing only for illustration of and elaboration, do not form limitation of the scope of the invention.
Fig. 1 is the flow chart of the embodiment of a kind of multicast message control method of the present invention;
Fig. 2 is the flow chart of the embodiment that the unicast message of a kind of multicast message control method of the present invention sends.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under the prerequisite of not making creative work, all belongs to the scope of protection of the invention.
It should be noted that, when not conflicting, the embodiment in the present invention and the feature in embodiment can combine mutually.
Below in conjunction with the drawings and specific embodiments, the invention will be further described, but not as limiting to the invention.
Technical solution of the present invention comprises a kind of multicast message control method, is applied to switch, wherein, comprising:
There is provided N number of passage, for sending the multicast message being associated with M priority, N, M are natural number, and M>N;
The multicast message being associated with a continuous print M1 priority is mapped to M1 passage send, M1=M-M2, and M1<N;
The multicast message being associated with a remaining continuous print M2 priority is mapped to a remaining N-M1 passage send.
In preferably execution mode, as shown in Figure 1, following steps can be adopted to implement:
Step S11, provides N number of passage, and for sending the multicast message being associated with M priority, N, M are natural number, and M>N;
Step S12, is mapped to M1 passage by the multicast message being associated with a continuous print M1 priority and sends, M1=M-M2, and M1<N;
Step S13, is mapped to a remaining N-M1 passage by the multicast message being associated with a remaining continuous print M2 priority and sends.
In a particular embodiment, can be by priority level initializing 0 grade to M-1 level, passage and gate region can be set as No. 0 to No. N-1, when multicast message enters in switch, if the priority entering multicast message be 0 grade to any one-level in M1-1 level, the passage then this multicast message being mapped to No. 0 correspondence to M1-1 passage sends, if the priority entering the multicast message in switch is that M1 level is to any one-level in M-1 level, the passage then this multicast message being mapped to No. M1 correspondence to N-1 passage sends, the present embodiment sends owing to the multicast message of different priorities to be mapped to different passage, thus solve multicast message and send in a switch and cause the improper loss problem of the congested multicast message brought of multicast message because can not find corresponding passage.
On such scheme basis, further, the port number for sending the multicast message being associated with M priority can be set as No. 0 to No. 3, totally 4 passages.
On such scheme basis, further, M priority of multicast message association can be set as the 0th grade to the 7th grade, totally 8 priority.
On such scheme basis, further, M2=4, namely M2 is 4 priority of multicast message.
On such scheme basis, further, be associated with the multicast message of a continuous print M1 priority, for being associated with the 0th grade of multicast message to 3rd level totally 4 priority.
In a particular embodiment, M1 may correspond to the multicast message of 4 priority, be the 0th grade to 3rd level, corresponding No. 0 to No. 34 passage of the multicast message of 4 priority that M1 is corresponding sends;
The multicast message of corresponding 4 priority of M2 is the 4th grade to the 7th grade, and corresponding No. 41 passage of multicast message of 4 priority that M2 is corresponding sends.
On such scheme basis, further, as shown in Figure 2, also comprise, judge that the message entering switch is multicast message or unicast message, be unicast message as what enter switch, then sent by following steps:
Step S1, provide J passage, report literary composition for sending the clean culture being associated with J priority, J is natural number;
Step S2, the unicast message being associated with a continuous print J priority is mapped to J passage sends.
In a particular embodiment, if the message be sent in switch is unicast message, the 0th grade can be total to the unicast message of J priority to J-1 level by No. 0 to No. J-1 J passage transmission altogether.
On such scheme basis, further, the port number reporting literary composition for sending the clean culture being associated with J priority can be set as No. 0 to No. 7, totally 8 passages.
On such scheme basis, further, J priority of unicast message association can be set as the 0th grade to the 7th grade, totally 8 priority.
A kind of switch is also provided, in order to apply above-mentioned multicast message control method in technical scheme of the present invention.
On such scheme basis, further, above-mentioned switch uses BCM56845 chip.
Technique scheme tool has the following advantages or beneficial effect: provide a kind of multicast message control method, effectively can solve the transmission that multicast message priority is greater than the multicast message of 4, thus solve multicast message and send in a switch and cause the improper loss problem of the congested multicast message brought of multicast message because can not find corresponding passage.
The foregoing is only preferred embodiment of the present invention; not thereby embodiments of the present invention and protection range is limited; to those skilled in the art; should recognize and all should be included in the scheme that equivalent replacement done by all utilizations specification of the present invention and diagramatic content and apparent change obtain in protection scope of the present invention.

Claims (10)

1. a multicast message control method, is applied to switch, it is characterized in that,
There is provided N number of passage, for sending the multicast message being associated with M priority, N, M are natural number, and M>N;
The described multicast message being associated with a continuous print M1 priority is mapped to M1 described passage to send, M1=M-M2, and M1<N;
The described multicast message being associated with a remaining continuous print M2 priority is mapped to remaining N-M1 described passage to send.
2. multicast message control method as claimed in claim 1, is characterized in that, is No. 0 to No. 3 for being associated with the described port number of the multicast message of M priority described in sending, totally 4 described passages.
3. multicast message control method as claimed in claim 2, is characterized in that, M described priority of described multicast message association is the 0th grade to the 7th grade, totally 8 described priority.
4. multicast message control method as claimed in claim 3, is characterized in that, M2=4.
5. multicast message control method as claimed in claim 3, is characterized in that, be associated with the described multicast message of a continuous print M1 priority, for being associated with the 0th grade of described multicast message to 3rd level totally 4 priority.
6. multicast message control method as claimed in claim 1, is characterized in that, also comprise, and judges that the message entering switch is multicast message or unicast message, is unicast message, is then sent by following steps as what enter switch:
Step S1, provide J passage, report literary composition for sending the described clean culture being associated with J priority, J is natural number;
Step S2, the described unicast message being associated with a continuous print J priority is mapped to J described passage and sends.
7. multicast message control method as claimed in claim 6, is characterized in that, the port number that literary composition is reported in the described clean culture for being associated with J priority described in sending is No. 0 to No. 7, totally 8 described passages.
8. multicast message control method as claimed in claim 6, is characterized in that, J described priority of described unicast message association is the 0th grade to the 7th grade, totally 8 described priority.
9. a switch, is characterized in that, applies as multicast message control method as described in arbitrary in claim 1-8.
10. switch as claimed in claim 9, is characterized in that, described switch uses BCM56845 chip.
CN201510419849.7A 2015-07-16 2015-07-16 Multicast message control method and switch Pending CN105119846A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510419849.7A CN105119846A (en) 2015-07-16 2015-07-16 Multicast message control method and switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510419849.7A CN105119846A (en) 2015-07-16 2015-07-16 Multicast message control method and switch

Publications (1)

Publication Number Publication Date
CN105119846A true CN105119846A (en) 2015-12-02

Family

ID=54667741

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510419849.7A Pending CN105119846A (en) 2015-07-16 2015-07-16 Multicast message control method and switch

Country Status (1)

Country Link
CN (1) CN105119846A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018210310A1 (en) * 2017-05-19 2018-11-22 闫晓峰 Ethernet-based multi-channel switch, channel arbitration method, and communication method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101163112A (en) * 2007-11-15 2008-04-16 福建星网锐捷网络有限公司 Packet processing method in switchboard stacked system and switchboard equipment
CN101938403A (en) * 2009-06-30 2011-01-05 中国电信股份有限公司 Assurance method of multi-user and multi-service quality of service and service access control point
US8121133B2 (en) * 2008-05-15 2012-02-21 Cisco Technology, Inc. Stream regulation in a peer to peer network
CN102857440A (en) * 2012-08-17 2013-01-02 杭州华三通信技术有限公司 Data processing method and switchboard
CN104125161A (en) * 2014-08-14 2014-10-29 三星电子(中国)研发中心 Data priority distinguishing multicast transmission method, data priority distinguishing multicast transmission system and data priority distinguishing multicast transmission device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101163112A (en) * 2007-11-15 2008-04-16 福建星网锐捷网络有限公司 Packet processing method in switchboard stacked system and switchboard equipment
US8121133B2 (en) * 2008-05-15 2012-02-21 Cisco Technology, Inc. Stream regulation in a peer to peer network
CN101938403A (en) * 2009-06-30 2011-01-05 中国电信股份有限公司 Assurance method of multi-user and multi-service quality of service and service access control point
CN102857440A (en) * 2012-08-17 2013-01-02 杭州华三通信技术有限公司 Data processing method and switchboard
CN104125161A (en) * 2014-08-14 2014-10-29 三星电子(中国)研发中心 Data priority distinguishing multicast transmission method, data priority distinguishing multicast transmission system and data priority distinguishing multicast transmission device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018210310A1 (en) * 2017-05-19 2018-11-22 闫晓峰 Ethernet-based multi-channel switch, channel arbitration method, and communication method
US11398974B2 (en) 2017-05-19 2022-07-26 Beijing NE-net Technology Co. Ltd. Ethernet-based multi-channels switch, channel arbitration method and communication method thereof

Similar Documents

Publication Publication Date Title
US8934486B2 (en) System and method for implementing multicast over a label-switched core network
CN1194508C (en) Multicasting messag transmission method base on two layer exchange device
US20120294193A1 (en) Method and System for Increasing Forwarding Efficiency of Virtual Private LAN Service Network
CN102625986A (en) Method, device and network equipment for processing loops in two layer network
CN108259333A (en) A kind of BUM flow control methods, relevant apparatus and system
WO2016095574A1 (en) Sdn-based mpls network control system and method
US9306758B2 (en) Dynamic adjustment of MLDP tunnel and PIM binding
CN102098202B (en) Virtual private topology control method, device and system
US20140241351A1 (en) Dynamic determination of the root node of an mldp tunnel
CN102281148B (en) Method for establishing multicast distribution tree in mode of inter-virtual private network (VPN), equipment and system thereof
CN104869125A (en) SDN-based method for dynamically preventing MAC address spoofing
CN103125100A (en) Layer 2 network loop processing method, device and network device
CN106209559B (en) A kind of method and apparatus for establishing Multicast Tunnel
CN105119846A (en) Multicast message control method and switch
CN101262446A (en) A generation method and device for Hello packet
WO2016101600A1 (en) Line card determination, determination processing method and device, and line card determination system
CN102238040B (en) Method for monitoring CE (Customer Edge router) and routing device
EP2093932B1 (en) Multicast method and device
CN110120906A (en) For realizing the method and apparatus at the dual-active access garden TRILL edge
CN102647359A (en) Method for implementing network bridge IGMP (internet group management protocol) Snooping based on DSA TAG (digital signature algorithm tag) and user-defined protocol stack
CN103581027A (en) Method for establishing optimized PIM-SM multicast route
CN103354567A (en) Method for synchronizing media access control (MAC) addresses and device
CN106375219A (en) Method and device for forwarding message
CN102932228A (en) Communication method, device and system for TRILL (Transparent Interconnection of Lots of Links) network
CN100421410C (en) Method for realizing mobile communication network multimedia enhancement service

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20151202

RJ01 Rejection of invention patent application after publication