CN108683617A - Message diversion method, device and shunting interchanger - Google Patents

Message diversion method, device and shunting interchanger Download PDF

Info

Publication number
CN108683617A
CN108683617A CN201810400232.4A CN201810400232A CN108683617A CN 108683617 A CN108683617 A CN 108683617A CN 201810400232 A CN201810400232 A CN 201810400232A CN 108683617 A CN108683617 A CN 108683617A
Authority
CN
China
Prior art keywords
message
port
shunted
regularization term
sent
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
CN201810400232.4A
Other languages
Chinese (zh)
Other versions
CN108683617B (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.)
New H3C Technologies Co Ltd
Original Assignee
New H3C 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201810400232.4A priority Critical patent/CN108683617B/en
Publication of CN108683617A publication Critical patent/CN108683617A/en
Application granted granted Critical
Publication of CN108683617B publication Critical patent/CN108683617B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • H04L49/00Packet switching elements
    • H04L49/25Routing or path finding in a switch fabric

Landscapes

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

Abstract

A kind of message diversion method of disclosure offer, device and shunting interchanger, shunting interchanger are configured with multiple loopback ports, and each loopback port corresponds to the service groups for including multiple exit ports;Method includes:Message to be shunted is received, by message redirecting to be shunted to the shunting multicast group and multicast for including each loopback port to each loopback port;For each loopback port, the communication feature information carried according to message to be shunted, exit port corresponding with the message to be shunted is searched in preconfigured first ACL in the loopback port, and when finding corresponding exit port, message to be shunted is sent to the exit port found and is sent.First message to be shunted is replicated by way of to loopback port multicast, then exit port is selected in matching acl rule, it is identical in exit port quantity, reduce the ACL quantity needed to configure, can solve the problems, such as that ACL resources may be insufficient when exit port is excessive.

Description

Message diversion method, device and shunting interchanger
Technical field
This disclosure relates to which network communication technology field, is handed in particular to a kind of message diversion method, device and shunting It changes planes.
Background technology
In some communication scenes, shunting interchanger may need the message that will be received to be copied into more parts, and according to report The message of duplication is sent respectively to different industry by the communication feature (for example, MAC information or port information that message carries) of text Business equipment is handled.May include multiple service groups in network safety system system for example, please referring to Fig. 1, it is not of the same trade or business Business group is used to execute different safe handling work, and each service groups include multiple business devices, and each business device corresponds to two One exit port of fraction flow device.Two level shunting device, can be according to the logical of message after level-one shunting device receives message Letter characteristic information selection needs message duplication being sent to wherein one or more service groups, and determination is sent to these business Which exit port of group, for a kind of message of communication feature, at most being selected at a business device in a service groups Manage the message.In general, two level shunting device is provided with accesses control list (Access Control Lists, abbreviation in advance ACL), after receiving message, corresponding exit port is searched in ACL according to the communication feature information of message, then by message It replicates and is redirected to these exit ports and sent.
In the message shunting scheme that the prior art uses, typically first according to the communication feature information of message preset Corresponding exit port is searched in ACL, then message is replicated to and is redirected to these exit ports sending.If for example, there is 4 Service groups access the shunting interchanger for carrying out message shunting, and the message needs with communication feature X1 are copied to from service groups 1 exit port 1.3 and the exit port 3.2 of service groups 3 are sent, and the message needs with communication feature X2 are copied to from service groups 1 Exit port 1.3 and the exit ports 2.1 of service groups 2 send, then need to configure record communication feature X1 and an exit port 1.3 and ACL and record communication feature X2 and 2.1 correspondence of exit port 1.3 and exit port of 3.2 correspondence of exit port ACL, as shown in table 1.
Table 1
Communication feature Service groups 1 Service groups 2 Service groups 3 Service groups 4
X1 Exit port 1.3 Exit port 3.2
X2 Exit port 1.3 Exit port 2.1
The business device for accessing two level shunting device is more, and the ACL quantity needed to configure is also more, but two level shunts The ACL resources of equipment are limited, that is, a two level shunting device is only capable of supporting to configure a certain number of ACL, when access two level When the business device of shunting device is excessive, in fact it could happen that the ACL inadequate resources of two level shunting device lead to the two level shunting device Message shunting operation cannot successfully be carried out.For example, in said program, if accessed in 4 service groups of the equipment of the communication, Each service groups correspond to 255 exit ports, then have the possible port combination of 256^4 kinds, that is, need 256^4 ACL could completely All possibilities are covered, but general interchanger does not support the ACL of configuration so multi-quantity.
Invention content
In a first aspect, the disclosure provides a kind of message diversion method, it is applied to shunting interchanger, the shunting interchanger is matched Multiple loopback ports are equipped with, each loopback port corresponds to the service groups for including multiple exit ports;The method includes:
Message to be shunted is received, by the message redirecting to be shunted to the shunting multicast group and group for including each loopback port It broadcasts to each loopback port;
For each loopback port, according to the communication feature information that the message to be shunted carries, at the loopback end Exit port corresponding with the message to be shunted is searched in mouthful preconfigured first ACL, and when finding corresponding exit port, The message to be shunted is sent to the exit port found to send.
Second aspect, the disclosure provide a kind of message part flow arrangement, are applied to shunting interchanger, and the shunting interchanger is matched Multiple loopback ports are equipped with, each loopback port corresponds to the service groups for including multiple exit ports;Described device includes:
The message redirecting to be shunted is extremely included each loopback port for receiving message to be shunted by group broadcasting module It shunts multicast group and multicast is to each loopback port;
Sending module, for being directed to each loopback port, according to the communication special reference of the message carrying to be shunted Breath, searches exit port corresponding with the message to be shunted in preconfigured first ACL in the loopback port, and is finding pair When the exit port answered, the message to be shunted is sent to the exit port found and is sent
The third aspect, the disclosure provide a kind of shunting interchanger, including processor and and machine readable storage medium, it is described Machine readable storage medium is stored with the machine-executable instruction that can be executed by the processor, described in the processor executes Machine-executable instruction is to realize the message diversion method of disclosure offer.
In terms of existing technologies, the disclosure has the advantages that:
Message diversion method, device and the shunting interchanger that the embodiment of the present disclosure provides, match in advance on shunting interchanger These loopback ports are given the message multicast to be shunted received to, according to each in loopback corresponding with each service groups port set ACL is configured on loopback port by message redirecting to the exit port of corresponding service group.It is first by way of to loopback port multicast Message to be shunted is replicated, then selects exit port in matching acl rule, it is identical in exit port quantity, Reduce the ACL quantity needed to configure, can solve the problems, such as that ACL resources may be insufficient when exit port is excessive.
Description of the drawings
It, below will be to needed in the embodiment attached in order to illustrate more clearly of the technical solution of the embodiment of the present disclosure Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the disclosure, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the application scenarios schematic diagram of message shunting;
Fig. 2 is the flow diagram for the message diversion method that the embodiment of the present disclosure provides;
Fig. 3 is the message shunting principle schematic diagram that the embodiment of the present disclosure provides;
Fig. 4 is the loopback port ALC schematic diagrames that the embodiment of the present disclosure provides;
Fig. 5 is the hardware architecture diagram for the shunting interchanger that the embodiment of the present disclosure provides;
Fig. 6 is the high-level schematic functional block diagram for the message part flow arrangement that the embodiment of the present disclosure provides.
Icon:100- shunts interchanger;110- message part flow arrangements;111- group broadcasting modules;112- sending modules;120- is deposited Reservoir;130- processors.
Specific implementation mode
To keep the purpose, technical scheme and advantage of the embodiment of the present disclosure clearer, below in conjunction with the embodiment of the present disclosure In attached drawing, the technical solution in the embodiment of the present disclosure is clearly and completely described, it is clear that described embodiment is Disclosure a part of the embodiment, instead of all the embodiments.The disclosure being usually described and illustrated herein in the accompanying drawings is implemented The component of example can be arranged and be designed with a variety of different configurations.
Therefore, below the detailed description of the embodiment of the disclosure to providing in the accompanying drawings be not intended to limit it is claimed The scope of the present disclosure, but be merely representative of the selected embodiment of the disclosure.Based on the embodiment in the disclosure, this field is common The every other embodiment that technical staff is obtained without creative efforts belongs to the model of disclosure protection It encloses.
It should be noted that:Similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined, then it further need not be defined and explained in subsequent attached drawing in a attached drawing.
In the description of the disclosure, it should be noted that term " first ", " second ", " third " etc. are only used for distinguishing and retouch It states, is not understood to indicate or imply relative importance.
In the description of the disclosure, it is also necessary to which explanation is unless specifically defined or limited otherwise, term " setting ", " installation ", " connected ", " connection " shall be understood in a broad sense, for example, it may be fixedly connected, may be a detachable connection or one Connect to body;It can be mechanical connection, can also be electrical connection;It can be directly connected, it can also be indirect by intermediary It is connected, can is the connection inside two elements.For the ordinary skill in the art, on being understood with concrete condition State the concrete meaning of term in the disclosure.
The present embodiment provides a kind of shunting interchanger, which includes at least connect with upper layer shunting device Inbound port for receiving message to be shunted, and connect with business device for sends shunt after message multiple outlets Mouthful.Wherein, each service groups correspond to multiple exit ports of shunting interchanger, for each service groups, have a certain communication feature Message be at most sent to business device from an exit port in the service groups and handled.The communication feature of message can be with MAC information, port-mark or IP address including message etc..
It shunts interchanger and is configured with multiple loopback ports, each loopback port corresponds to a business for including multiple exit ports Group, each loopback port are configured with the first ACL of service groups corresponding with the loopback port, and the first ACL is used for according to report The communication feature information message redirecting that receives loopback port of text is to the corresponding exit port of the service groups.Message to be shunted Inbound port be configured with the 2nd ACL, the 2nd ACL is used for the message redirecting that receives the inbound port to shunting multicast group, with Multicast gives each loopback port.
Fig. 2 is please referred to, the present embodiment provides a kind of message diversion method applied to above-mentioned shunting interchanger, the messages Shunt method includes at least step S210 and step S220.
Step S210 receives message to be shunted, by the message redirecting to be shunted to the shunting for including each loopback port Simultaneously multicast gives each loopback port to multicast group.
In the present embodiment, shunting interchanger receives the message to be shunted from the inbound port of message to be shunted, according to Preconfigured 2nd ACL on the inbound port of the message to be shunted, by the message redirecting to be shunted to the shunt group Broadcast a group progress multicast.
Step S220, for each loopback port, according to the communication feature information that the message to be shunted carries, Exit port corresponding with the message to be shunted is searched in preconfigured first ACL in the loopback port, and corresponding finding When exit port, the message to be shunted is sent to the exit port found and is sent.
Specifically, the first ACL includes sending regularization term and processing priority less than the refusal for sending regularization term Regularization term, the correspondence for sending regularization term and being used for the communication feature information and exit port of recorded message.
The shunting interchanger is pre-configured with according to the communication feature information of the message to be shunted in the loopback port The first ACL in match and corresponding send regularization term.
If being matched to corresponding transmission regularization term, which is sent to the outlet of transmission regularization term record Mouth is sent.Specifically, the multicast message for being sent to the loopback port is switched into unicast message and is redirected to the transmission The exit port of regularization term record is sent.
If not being matched to corresponding transmission regularization term, which is abandoned according to the refusal regularization term.
For convenience those skilled in the art understand that the method for the present embodiment, illustrates the present embodiment below by an example Scheme.
In shunting interchanger provided in this embodiment level-one shunting device and business are connected to frequently as two level shunting device Between equipment.Level-one shunting device be used for message to be shunted carry out Hash and according to preset rules to the MAC information of message into Row modification, makes message to be shunted being sent to two level shunting device preceding source MAC and purpose MAC all be according to service groups, port and CPU Corresponding modification is made.After two level shunting device (shunting interchanger i.e. provided in this embodiment) receives message to be shunted, root Selection exit port is sent to industry after the communication features selection such as the MAC information carried according to message to be shunted and port-mark replicates message Business equipment.
Fig. 3 is please referred to, is that each service groups configure a virtual loopback port, loopback end on the shunting interchanger Mouth 1 to 4 corresponds to service groups 1 to 4 respectively.Then a shunting multicast group is added in these loopback ports, so as to the shunting multicast The multicast message that group is sent can be multicast to each loopback port.For the loopback port that data traffic is larger, the loopback end Mouth can be configured to be formed by multiple subrings time port trunking.
For each loopback port, service groups corresponding with the loopback port are configured in the direction that enters of the loopback port First ACL, so that the message for being sent to the loopback port is redirected to the corresponding exit port of the service groups according to the first ACL It is sent.The 2nd ACL into direction is configured on the inbound port of message to be shunted, so as to be received by the inbound port When message to be shunted, according to the 2nd ACL by message redirecting to be shunted to the shunting multicast group.
For example, referring once again to Fig. 3, shunting interchanger includes multiple exit ports, and wherein exit port 1.1 to 1.N is business The exit port of group 1, exit port 2.2 to 2.N are the exit port of service groups 2, and exit port 3.1 to 3.N is the exit port of service groups 3, Exit port 4.1 arrives the exit port that 4.N is service groups 4.
If the message with communication feature X3 needs to send from exit port 1.3 and exit port 3.2, on loopback port 1 The first ACL of configuration one article of record communication feature X3 and 1.3 correspondence of exit port, and a note is configured on loopback port 3 The first ACL of communication feature X3 and 3.2 correspondence of exit port are recorded, as shown in Figure 4.Each loopback port is also equipped with one preferentially The lower refusal regularization term for sending regularization term of grade.
Based on above-mentioned configuration, when shunting the inbound port of interchanger to receive feature communication being the message of X3, according to configuration 2nd ACL is by message redirecting to be shunted to shunting multicast group, and multicast is to each loopback port in shunting multicast group.Also It is to say, be duplicated into multicast procedures more parts of message to be shunted are multicast per portion to a corresponding loopback port.
When the feature communication that loopback port 1 receives multicast is the message of X3, the first of configuration in the loopback port 1 Corresponding transmission regularization term is matched in ACL, since the communication feature of message is X3, it is exit port 1.3 that can be matched to exit port Regularization term is sent, then is sent the message redirecting to exit port 1.3.
Similarly, when the feature communication that loopback port 3 receives multicast is the message of X3, the configuration in the loopback port 3 Corresponding transmission regularization term is matched in first ACL, since the communication feature of message is X3, it is exit port that can be matched to exit port 3.2 transmission regularization term then sends the message redirecting to exit port 3.2.
When the feature communication that loopback port 2 receives multicast is the message of X3, the first of configuration in the loopback port 2 Matched in ACL it is corresponding send regularization term, since the communication feature of message is X3, matching is less than corresponding transmission regularization term, then root The message is abandoned according to refusal regularization term.
Similarly, when the feature communication that loopback port 4 receives multicast is the message of X3, the configuration in the loopback port 4 Corresponding transmission regularization term is matched in first ACL, since the communication feature of message is X3, is matched less than corresponding transmission regularization term, The message is then abandoned according to refusal regularization term.
Finally, the message that communication feature is X3 is sent from the exit port 1.3 and exit port 3.2 of shunting interchanger.
It will first be waited for by way of multicast message to be shunted in the shunting multicast group in loopback port based on said program It shunts message and indiscriminate duplication is carried out to each service groups, then each service groups correspond to the first ACL on loopback mouth and select Port.In this way, if accessed in 4 service groups of the equipment of the communication, each service groups correspond to 255 exit ports, then only need 256 ACL of configuration on loopback port corresponded in each service groups and meet be possible to exit port combined situation, that is, in total Only need 256*4 ACL that can cover the possibility of all of the port combination, compared with prior art in need the side of 256^4 ACL Case, scheme provided in this embodiment largely reduce the configuration amount of acl rule, avoid in message shunting scene because going out Port excessively leads to the problem of ACL deficiencies.
Fig. 5 is please referred to, Fig. 5 is a kind of hardware architecture diagram for shunting interchanger 100 that the embodiment of the present disclosure provides.Institute It includes message part flow arrangement 110, memory 120 and processor 130 to state server 100.
The memory 120, processor 130 are directly or indirectly electrically connected between each other, to realize the transmission of data Or interaction.It is electrically connected for example, these elements can be realized between each other by one or more communication bus or signal wire.It is described Message part flow arrangement 110 can be stored in the memory 120 including at least one in the form of software or firmware (firmware) In or the software function module that is solidificated in the operating system (operating system, OS) of the server 100.The place Reason device 130 is used to execute the executable module stored in the memory 120, such as included by the message part flow arrangement 110 Software function module and computer program etc..
Wherein, the memory 120 may be, but not limited to, random access memory (Random Access Memory, RAM), read-only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc..Wherein, memory 120 is for storing program, the processor 130 after receiving and executing instruction, Execute described program.
Fig. 5 is please referred to, the present embodiment also provides a kind of message part flow arrangement 110 applied to the shunting interchanger 100, It functionally divides, the message part flow arrangement 110 may include group broadcasting module 111 and sending module 112.
Described group of broadcasting module 111, for receiving message to be shunted, by the message redirecting to be shunted to including each loopback The shunting multicast group and multicast of port give each loopback port.
In the present embodiment, described group of broadcasting module 111 can be used for executing step S210 shown in Fig. 2, about the multicast mould The specific descriptions of block 111 can join the description to the step S210.
Optionally, in the present embodiment, described group of broadcasting module 111 is specifically used for receiving institute from the inbound port of message to be shunted Message to be shunted is stated, according to preconfigured 2nd ACL on the inbound port of the message to be shunted, by the message to be shunted It is redirected to the shunting multicast group and carries out multicast.
The sending module 112, for being directed to each loopback port, according to the communication of the message carrying to be shunted Characteristic information is searched exit port corresponding with the message to be shunted in preconfigured first ACL in the loopback port, and is being looked into When finding corresponding exit port, the message to be shunted is sent to the exit port found and is sent.
In the present embodiment, the sending module 112 can be used for executing step S220 shown in Fig. 2, about the transmission mould The specific descriptions of block 112 can join the description to the step S220.
Optionally, in the present embodiment, the first ACL includes sending regularization term and processing priority less than the transmission The refusal regularization term of regularization term, it is described to send communication feature information with exit port corresponding pass of the regularization term for recorded message System;The sending module 112 is specifically used for advance in the loopback port according to the communication feature information of the message to be shunted Corresponding transmission regularization term is matched in first ACL of configuration;When being matched to corresponding transmission regularization term, by the message to be shunted The exit port for being sent to transmission regularization term record is sent;When not being matched to corresponding transmission regularization term, according to described Refusal regularization term abandons the message to be shunted.
Optionally, in the present embodiment, which is being sent to the transmission regularization term by the sending module 112 When the exit port of record is sent, the multicast message for being sent to the loopback port is switched into unicast message and is redirected to this The exit port for sending regularization term record is sent.
Optionally, in the present embodiment, the loopback port is returned port trunking by multiple subrings and is formed.
In conclusion message diversion method, device and shunting interchanger that the embodiment of the present disclosure provides, in shunting interchanger These loopback ports are given the message multicast to be shunted received in upper preconfigured loopback corresponding with each service groups port, According to configuring ACL on each loopback port by message redirecting to the exit port of corresponding service group.By to loopback port multicast Mode first message to be shunted is replicated, then matching acl rule select exit port, it is identical in exit port quantity In the case of, it is possible to reduce the ACL quantity needed to configure solves the problems, such as that ACL resources may be insufficient when exit port is excessive.
In the embodiment that the disclosure is provided, it should be understood that disclosed device and method, it can also be by other Mode realize.The apparatus embodiments described above are merely exemplary, for example, the flow chart and block diagram in attached drawing are shown According to the device, the architectural framework in the cards of method and computer program product, function of multiple embodiments of the disclosure And operation.In this regard, each box in flowchart or block diagram can represent one of a module, section or code Point, a part for the module, section or code includes one or more for implementing the specified logical function executable Instruction.It should also be noted that at some as in the realization method replaced, the function of being marked in box can also be attached to be different from The sequence marked in figure occurs.For example, two continuous boxes can essentially be basically executed in parallel, they also may be used sometimes To execute in the opposite order, this is depended on the functions involved.It is also noted that each of block diagram and or flow chart The combination of box in box and block diagram and or flow chart, function or the dedicated of action are based on as defined in execution The system of hardware is realized, or can be realized using a combination of dedicated hardware and computer instructions.
In addition, each function module in each embodiment of the disclosure can integrate to form an independent portion Point, can also be modules individualism, can also two or more modules be integrated to form an independent part.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module It is stored in a computer read/write memory medium.Based on this understanding, the technical solution of the disclosure is substantially in other words The part of the part that contributes to existing technology or the technical solution can be expressed in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be People's computer, server or network equipment etc.) execute each embodiment the method for the disclosure all or part of step. And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic disc or CD.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
The above, the only specific implementation mode of the disclosure, but the protection domain of the disclosure is not limited thereto, it is any Those familiar with the art can easily think of the change or the replacement in the technical scope that the disclosure discloses, and should all contain It covers within the protection domain of the disclosure.Therefore, the protection domain of the disclosure shall be subject to the protection scope of the claim.

Claims (10)

1. a kind of message diversion method, which is characterized in that be applied to shunting interchanger, the shunting interchanger is configured with multiple rings Port is gone back to, each loopback port corresponds to the service groups for including multiple exit ports;The method includes:
Message to be shunted is received, the message redirecting to be shunted is extremely included to the shunting multicast group of each loopback port, and multicast To each loopback port;
It is pre- in the loopback port according to the communication feature information that the message to be shunted carries for each loopback port Exit port corresponding with the message to be shunted is searched in the first accesses control list first configured, and is finding corresponding outlet When mouth, the message to be shunted is sent to the exit port found and is sent.
2. according to the method described in claim 1, it is characterized in that, it is described by the message redirecting to be shunted to include each ring The step of returning the shunting multicast group progress multicast of port, including:
The message to be shunted is received from the inbound port of message to be shunted, according to advance on the inbound port of the message to be shunted The message redirecting to be shunted to the shunting multicast group is carried out multicast by the second accesses control list of configuration.
3. according to the method described in claim 1, it is characterized in that, first accesses control list include send regularization term and Processing priority is less than the refusal regularization term for sending regularization term, the communication feature for sending regularization term and being used for recorded message The correspondence of information and exit port;The communication feature information carried according to the message to be shunted, in the loopback port Search exit port corresponding with the message to be shunted in preconfigured first accesses control list, and find it is corresponding go out When port, the message to be shunted is sent to the step of exit port found is sent, including:
According to the communication feature information of the message to be shunted in preconfigured first accesses control list in the loopback port Middle matching is corresponding to send regularization term;
If be matched to it is corresponding send regularization term, by the message to be shunted be sent to the exit port of transmission regularization term record into Row is sent;
If not being matched to corresponding transmission regularization term, which is abandoned according to the refusal regularization term.
If 4. according to the method described in claim 3, it is characterized in that, it is described be matched to it is corresponding send regularization term, this is waited for The step of exit port that shunting message is sent to transmission regularization term record is sent, including:
If being matched to corresponding transmission regularization term, according to the transmission regularization term, the group that will be sent to the loopback port is reported Text switch to unicast message and be redirected to the transmission regularization term record exit port sent.
5. according to the method described in claim 1, it is characterized in that, port trunking shape is returned in the loopback port by multiple subrings At.
6. a kind of message part flow arrangement, which is characterized in that be applied to shunting interchanger, the shunting interchanger is configured with multiple rings Port is gone back to, each loopback port corresponds to the service groups for including multiple exit ports;Described device includes:
Group broadcasting module, for receiving message to be shunted, by the message redirecting to be shunted to the shunting for including each loopback port Simultaneously multicast gives each loopback port to multicast group;
Sending module, for for each loopback port, according to the communication feature information that the message to be shunted carries, Exit port corresponding with the message to be shunted is searched in preconfigured first accesses control list in the loopback port, and is being searched When to corresponding exit port, the message to be shunted is sent to the exit port found and is sent.
7. device according to claim 6, which is characterized in that described group of broadcasting module is used for the inbound port from message to be shunted The message to be shunted is received, according to preconfigured second accesses control list on the inbound port of the message to be shunted, The message redirecting to be shunted to the shunting multicast group is subjected to multicast.
8. device according to claim 6, which is characterized in that first accesses control list include send regularization term and Processing priority is less than the refusal regularization term for sending regularization term, the communication feature for sending regularization term and being used for recorded message The correspondence of information and exit port;The sending module is used for the communication feature information according to the message to be shunted described Corresponding transmission regularization term is matched in preconfigured first accesses control list in loopback port;It is advised when being matched to corresponding send Then when item, the exit port which is sent to transmission regularization term record is sent;It is corresponding when not being matched to When sending regularization term, which is abandoned according to the refusal regularization term.
9. installation method according to claim 8, which is characterized in that the sending module is sent to by the message to be shunted When the exit port of transmission regularization term record is sent, the multicast message for being sent to the loopback port is switched into unicast message And the exit port for being redirected to transmission regularization term record is sent.
10. a kind of shunting interchanger, which is characterized in that including processor and and machine readable storage medium, it is described machine readable Storage medium is stored with the machine-executable instruction that can be executed by the processor, and the processor executes the machine and can hold Row instruction is to realize any methods of claim 1-5.
CN201810400232.4A 2018-04-28 2018-04-28 Message distribution method and device and distribution switch Active CN108683617B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810400232.4A CN108683617B (en) 2018-04-28 2018-04-28 Message distribution method and device and distribution switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810400232.4A CN108683617B (en) 2018-04-28 2018-04-28 Message distribution method and device and distribution switch

Publications (2)

Publication Number Publication Date
CN108683617A true CN108683617A (en) 2018-10-19
CN108683617B CN108683617B (en) 2021-01-01

Family

ID=63802546

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810400232.4A Active CN108683617B (en) 2018-04-28 2018-04-28 Message distribution method and device and distribution switch

Country Status (1)

Country Link
CN (1) CN108683617B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112087400A (en) * 2020-09-16 2020-12-15 浙江中烟工业有限责任公司 Network flow mirroring system and method based on EtherCAT slave station chip
CN114205172A (en) * 2021-12-28 2022-03-18 杭州迪普信息技术有限公司 Table item issuing method and message forwarding method
CN114363272A (en) * 2020-09-27 2022-04-15 华为技术有限公司 Configuration method of switch and related equipment
CN114760108A (en) * 2022-03-22 2022-07-15 杭州迪普科技股份有限公司 Message matching method and device
CN115086253A (en) * 2022-06-16 2022-09-20 苏州盛科通信股份有限公司 Ethernet switching chip and high-bandwidth message forwarding method
CN115567464A (en) * 2022-09-19 2023-01-03 浪潮思科网络科技有限公司 BUM message sending method, device and storage medium in VXLAN network
WO2024114157A1 (en) * 2022-12-02 2024-06-06 中兴通讯股份有限公司 Message sending method and device, and storage medium and bearer network device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267331A (en) * 2008-04-23 2008-09-17 华为技术有限公司 A search method and device for multicast forward table
CN101425979A (en) * 2008-12-10 2009-05-06 中兴通讯股份有限公司 Data packet forwarding method for Ether ring network
CN101478496A (en) * 2009-01-21 2009-07-08 杭州华三通信技术有限公司 Data packet forwarding method and switching device
CN102185785A (en) * 2011-06-07 2011-09-14 杭州华三通信技术有限公司 Layer 2 forwarding chip and realization method thereof
US20130156031A1 (en) * 2011-12-19 2013-06-20 Fujitsu Limited Communication apparatus and communication method
US20130242992A1 (en) * 2012-03-14 2013-09-19 International Business Machines Corporation Multicast traffic generation using hierarchical replication mechanisms for distributed switches
EP2689562A1 (en) * 2011-03-24 2014-01-29 NEC Europe Ltd. Method for operating a flow-based switching system and switching system
CN104618247A (en) * 2014-12-30 2015-05-13 杭州华三通信技术有限公司 Multicast message transmission method and device
CN105791109A (en) * 2014-12-25 2016-07-20 中兴通讯股份有限公司 Method and apparatus for carrying out multicast forwarding on MPLS (Multi-Protocol Label Switching) intermediate node
CN106685786A (en) * 2016-12-30 2017-05-17 盛科网络(苏州)有限公司 Multi-level ACL chip realizing method in WLAN system
CN107566267A (en) * 2016-06-30 2018-01-09 中兴通讯股份有限公司 A kind of message forwarding method and device based on aggregated links

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267331A (en) * 2008-04-23 2008-09-17 华为技术有限公司 A search method and device for multicast forward table
CN101425979A (en) * 2008-12-10 2009-05-06 中兴通讯股份有限公司 Data packet forwarding method for Ether ring network
CN101478496A (en) * 2009-01-21 2009-07-08 杭州华三通信技术有限公司 Data packet forwarding method and switching device
EP2689562A1 (en) * 2011-03-24 2014-01-29 NEC Europe Ltd. Method for operating a flow-based switching system and switching system
CN102185785A (en) * 2011-06-07 2011-09-14 杭州华三通信技术有限公司 Layer 2 forwarding chip and realization method thereof
US20130156031A1 (en) * 2011-12-19 2013-06-20 Fujitsu Limited Communication apparatus and communication method
US20130242992A1 (en) * 2012-03-14 2013-09-19 International Business Machines Corporation Multicast traffic generation using hierarchical replication mechanisms for distributed switches
CN105791109A (en) * 2014-12-25 2016-07-20 中兴通讯股份有限公司 Method and apparatus for carrying out multicast forwarding on MPLS (Multi-Protocol Label Switching) intermediate node
CN104618247A (en) * 2014-12-30 2015-05-13 杭州华三通信技术有限公司 Multicast message transmission method and device
CN107566267A (en) * 2016-06-30 2018-01-09 中兴通讯股份有限公司 A kind of message forwarding method and device based on aggregated links
CN106685786A (en) * 2016-12-30 2017-05-17 盛科网络(苏州)有限公司 Multi-level ACL chip realizing method in WLAN system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
URJITA THAKAR; LALIT PUROHIT; AKHILESH PAHADE: "《An approach to improve performance of a packet-filtering firewall》", 《2012 NINTH INTERNATIONAL CONFERENCE ON WIRELESS AND OPTICAL COMMUNICATIONS NETWORKS (WOCN)》 *
徐晶: "《基于IPv6的ACL系统的设计及其报文匹配算法的优化》", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
王嘉霖: "《高端路由器板间报文分流改进方法研究》", 《金陵科技学院学报》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112087400A (en) * 2020-09-16 2020-12-15 浙江中烟工业有限责任公司 Network flow mirroring system and method based on EtherCAT slave station chip
CN112087400B (en) * 2020-09-16 2023-03-14 浙江中烟工业有限责任公司 Network flow mirroring system and method based on EtherCAT slave station chip
CN114363272A (en) * 2020-09-27 2022-04-15 华为技术有限公司 Configuration method of switch and related equipment
CN114363272B (en) * 2020-09-27 2023-03-31 华为技术有限公司 Configuration method of switch and related equipment
CN114205172A (en) * 2021-12-28 2022-03-18 杭州迪普信息技术有限公司 Table item issuing method and message forwarding method
CN114760108A (en) * 2022-03-22 2022-07-15 杭州迪普科技股份有限公司 Message matching method and device
CN114760108B (en) * 2022-03-22 2023-04-25 杭州迪普科技股份有限公司 Message matching method and device
CN115086253A (en) * 2022-06-16 2022-09-20 苏州盛科通信股份有限公司 Ethernet switching chip and high-bandwidth message forwarding method
CN115086253B (en) * 2022-06-16 2024-03-29 苏州盛科通信股份有限公司 Ethernet exchange chip and high-bandwidth message forwarding method
CN115567464A (en) * 2022-09-19 2023-01-03 浪潮思科网络科技有限公司 BUM message sending method, device and storage medium in VXLAN network
WO2024114157A1 (en) * 2022-12-02 2024-06-06 中兴通讯股份有限公司 Message sending method and device, and storage medium and bearer network device

Also Published As

Publication number Publication date
CN108683617B (en) 2021-01-01

Similar Documents

Publication Publication Date Title
CN108683617A (en) Message diversion method, device and shunting interchanger
US8989188B2 (en) Preventing leaks among private virtual local area network ports due to configuration changes in a headless mode
CN108809836B (en) Multicast data message forwarding method and device
US8855116B2 (en) Virtual local area network state processing in a layer 2 ethernet switch
CN105744579B (en) Method, switching control and the access device that terminal switches between AP
CN105897444B (en) Multicast group management method and device
CN106878084B (en) Authority control method and device
CN107819615B (en) Equipment self-adaptive access method and device and master control equipment
CN103795602A (en) Network strategy configuration method and device of virtual network
CN108683615A (en) Message diversion method, device and shunting interchanger
CN107948042A (en) A kind of message forwarding method and device
CN105791109B (en) Method, device and node for multicast forwarding of multi-protocol label switching intermediate node
CN109756411B (en) Message forwarding method and device, first VTEP device and storage medium
CN109561004A (en) Message forwarding method, device and interchanger
US20220321380A1 (en) Data processing method based on network slices and apparatus therefor
CN110061898B (en) Message forwarding method and device
CN106028303B (en) Intelligent device discovery method and device
CN103457864A (en) Method, device and network equipment for processing next-hop of routing
CN101222408B (en) VLAN topological generating method and device
CN104980287A (en) Multicast group distribution method and multicast management node
CN113918504A (en) Method and device for realizing isolation group
CN114362956A (en) Cross-link communication architecture and method of alliance link
CN113923174B (en) Message distribution method, device and medium
CN113438334B (en) Port PVID configuration method, device and system
EP3048755B1 (en) Method, system and computer program product, using a virtual diameter edge agent

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant