CN108093051A - Packet copy method and device - Google Patents

Packet copy method and device Download PDF

Info

Publication number
CN108093051A
CN108093051A CN201711390808.5A CN201711390808A CN108093051A CN 108093051 A CN108093051 A CN 108093051A CN 201711390808 A CN201711390808 A CN 201711390808A CN 108093051 A CN108093051 A CN 108093051A
Authority
CN
China
Prior art keywords
message
characteristic value
multicast group
object message
control list
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
CN201711390808.5A
Other languages
Chinese (zh)
Other versions
CN108093051B (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.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu 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 Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN201711390808.5A priority Critical patent/CN108093051B/en
Publication of CN108093051A publication Critical patent/CN108093051A/en
Application granted granted Critical
Publication of CN108093051B publication Critical patent/CN108093051B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

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

Abstract

This application provides a kind of packet copy method and device, this method includes:Based on preconfigured accesses control list, object message to be copied in source port in interchanger is obtained;The object message is redirected in the multicast group pre-established according to the accesses control list, wherein, including at least one destination interface in the interchanger in the multicast group.Pass through this method, pass through this method, it need not be completed again by increasing mirror image resources into original, it is achieved thereby that realizing copy packet to a large amount of destination interfaces without any cost is increased in electronic equipment, to the Dependence Problem of image hardware resource when solving message duplication, in addition, the above method is in implementation process, flexibly message can also be screened, only replicated object message, convenient for managing and safeguarding.

Description

Packet copy method and device
Technical field
This application involves communication equipment field, in particular to a kind of packet copy method and device.
Background technology
In switch network, when need the message by some or multiple ports copy to some specific port when It waits, generally requires using Port Mirroring function, and all messages that Port Mirroring function is all based on port go to be replicated, no Targetedly only some special packet in port can be replicated, therefore, to by some special packet in A ports It copies in B ports, all messages in A ports can only all be copied to B ports.
In addition, Port Mirroring function is all the mirror image resources using exchange chip.However the resource is in various exchanger cores Quantity is seldom in piece, once it needs message copying to substantial amounts of destination interface or copies to a large amount of specific messages largely Destination interface when, it will can not realize.
The content of the invention
In view of this, the embodiment of the present application is designed to provide a kind of packet copy method and device, to alleviate above-mentioned Problem.
In a first aspect, the embodiment of the present application provides a kind of packet copy method, the described method includes:Based on being pre-configured with Accesses control list, obtain object message to be copied in source port in interchanger;According to the accesses control list by institute Object message is stated to be redirected in the multicast group pre-established, wherein, include in the multicast group in the interchanger at least One destination interface.This method in the process of implementation, screens object message by arranging access control list, and passes through access Order in control list is redirected to object message as multicast source in multicast group, and then multicasts to included by the multicast group At least one destination interface in, in this process, not only realize the screening to object message, also provided without using mirror image In the case of source, the duplication to object message is completed, to the Dependence Problem of image hardware resource when solving message duplication.
Include in the first embodiment of the application first aspect, in the accesses control list it is preconfigured extremely A few characteristic value, it is described based on preconfigured accesses control list, obtain target to be copied in source port in interchanger Message, including:The message got in the source port is matched at least one characteristic value;Determine with it is described extremely The message that a few characteristic value matches is object message.Different messages has different characteristic values, by will be in source port All messages are matched with the characteristic value of object message, so as to be filtered to the message in source port, by successful match Message is determined as object message, solves in the prior art, it is impossible to the defects of being screened to object message.
In second of embodiment of the application first aspect, at least one characteristic value is including target source IP Location, it is described to match the every message got in the source port at least one characteristic value, including:By described in The source IP address of the message got in source port is matched with the target source IP address.By some target source IP address , can be by the message by port as the characteristic value in accesses control list, institute's source IP address is for target source IP The message filter of location out as object message, realizes the screening to special packet.
In the third embodiment of the application first aspect, each characteristic value binding at least one characteristic value There is the multicast group pre-established, the object message is redirected to the multicast group pre-established according to the accesses control list It is interior, including:Based on the corresponding characteristic value of the object message, the object message is redirected to corresponding with the object message Characteristic value binding multicast group at so that the object message is sent to all purposes port for adding in the multicast group. Accesses control list can be by object message to be copied according to bound in the object message multicast group ID, object message The port that user wishes to copy to is redirected to, it is achieved thereby that being replicated to the orientation of object message.
In the 4th kind of embodiment of the application first aspect, the multicast group bound in each characteristic value is different. The quantity of multicast group could be provided as it is multiple, correspondingly, in same accesses control list can also include multiple characteristic values, Multicast group corresponding to each characteristic value is arranged to different, you can the object message that different characteristic values is filtered out replicates It is gone to different multicast groups so that this method can simultaneously replicate substantial amounts of object message.
Second aspect, the embodiment of the present application provide a kind of message reproducing unit, and described device includes:Acquisition module and Redirection module.Acquisition module for being based on preconfigured accesses control list, obtains to be copied in source port in interchanger Object message;Redirection module pre-establishes for being redirected to the object message according to the accesses control list Multicast group in, wherein, including at least one destination interface in the interchanger in the multicast group.This method was performing Cheng Zhong screens object message by arranging access control list, and passes through the order in accesses control list object message It is redirected in multicast group as multicast source, and then multicasts at least one destination interface included by the multicast group, at this During a, the screening to object message is not only realized, also in the case of without using mirror image resources, is completed to target report The duplication of text, to the Dependence Problem of image hardware resource when solving message duplication.
Include in the first embodiment of the application second aspect, in the accesses control list it is preconfigured extremely A few characteristic value, the acquisition module, including:Matched sub-block, for the message that will be got in the source port and institute At least one characteristic value is stated to be matched;Determination sub-module, for determining the message to match at least one characteristic value For target.Different messages has different characteristic values, by by all messages in source port and the characteristic value of object message into Row matching, so as to be filtered to the message in source port, is determined as object message by the message of successful match, solves existing In technology, it is impossible to the defects of being screened to object message.
In second of embodiment of the application second aspect, at least one characteristic value is with including target source IP Location, the matched sub-block, for the source IP address of message and the target source IP address that will be got in the source port It is matched.Using some target source IP address as the characteristic value in accesses control list, the message of port can will be passed through In, institute's source IP address is out used as object message for the message filter of the target source IP address, realizes to special packet Screening.
In the third embodiment of the application second aspect, each characteristic value binding at least one characteristic value There are the multicast group pre-established, the redirection module, for being based on the corresponding characteristic value of the object message, by the target At the multicast group that message redirecting is bound to characteristic value corresponding with the object message, so that the object message is sent to Add in all purposes port of the multicast group.Accesses control list can be by object message to be copied according to the object message Object message is redirected to the port that user wishes to copy to, it is achieved thereby that target report by the ID of bound multicast group The orientation of text replicates.
In the 4th kind of embodiment of the application second aspect, the multicast group bound in each characteristic value is different. The quantity of multicast group could be provided as it is multiple, correspondingly, in same accesses control list can also include multiple characteristic values, Multicast group corresponding to each characteristic value is arranged to different, you can the object message that different characteristic values is filtered out replicates It is gone to different multicast groups so that this method can simultaneously replicate substantial amounts of object message.
For the above-mentioned purpose of the application, feature and advantage is enable to be clearer and more comprehensible, preferred embodiment cited below particularly, and coordinate Appended attached drawing, is described in detail below.
Description of the drawings
It in order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of scope, 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 running environment schematic diagram provided in an embodiment of the present invention;
Fig. 2 is the flow chart for the packet copy method that first embodiment of the invention provides;
Fig. 3 is a kind of embodiment flow chart for the packet copy method that first embodiment of the invention provides;
Fig. 4 is the structure diagram for the message reproducing unit that second embodiment of the invention provides;
Fig. 5 is a kind of structure diagram of the embodiment for the message reproducing unit that second embodiment of the invention provides.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present application, the technical solution in the embodiment of the present application is carried out clear, complete Ground describes, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.Usually exist The component of the embodiment of the present application described and illustrated in attached drawing can configure to arrange and design with a variety of herein.Cause This, the detailed description of the embodiments herein to providing in the accompanying drawings is not intended to limit claimed the application's below Scope, but it is merely representative of the selected embodiment of the application.Based on embodiments herein, those skilled in the art are not doing Go out all other embodiments obtained on the premise of creative work, shall fall in the protection scope of this application.
It should be noted that:Similar label and letter represents 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.Meanwhile the application's In description, term " first ", " second " etc. are only used for distinguishing description, and it is not intended that instruction or hint relative importance.
The term involved by the application is briefly introduced first:
ACL(Access Control List):Accesses control list, is router and the instruction list of exchange interface, For the data packet of control port disengaging.
It redirects (Redirect):A various network requests again fixed direction are gone into other positions (such as:Webpage is reset To, the redirection of domain name, data message via path redirection).
Before the technical solution during the application applicant proposes the embodiment of the present application, to realize in switch network Some or multiple ports message copy to some specific port when, generally require using Port Mirroring function.
However, applicant has found that Port Mirroring function is all during the technical solution of the embodiment of the present application is realized All messages based on port go to be replicated, it is impossible to targetedly only some special packet in port replicated, It, can only be foolproof by all messages in A ports when therefore, to some special packet in A ports is copied in B ports All copy to B ports.Meanwhile the mirror image resources negligible amounts in exchanger chip, therefore, (the example under special applications scene If desired for message is copied to substantial amounts of destination interface or a large amount of specific messages are copied to substantial amounts of destination interface) mirror As resource far can not meet the needs of we are to message copy function, the limitation of exchange hardware resource is received.For upper Problem is stated, applicant proposed a kind of packet copy method, device, storage medium and electronic equipments.
It is worth noting that the defects of present in above scheme, be that applicant is obtaining after putting into practice and carefully studying It is going out as a result, therefore, the solution that the discovery procedure of the above problem and hereinafter the embodiment of the present application are proposed regarding to the issue above Certainly scheme all should be the contribution that applicant makes the application during the application.
The embodiment of the present application is introduced below:
The embodiment of the present application provides a kind of packet copy method and device, and applied to electronic equipment, which can be with It is but not limited to the network equipments such as interchanger, router.Electronic equipment is illustrated by taking interchanger 100 as an example below, please be join See Fig. 1, interchanger 100 can be communicatively coupled by network and user terminal 200 and server 300, to form communication System is to realize the interaction of data.Wherein, the user terminal can be people's computer (personal computer, PC), tablet Computer, smart mobile phone, personal digital assistant (personal digital assistant, PDA) etc..User can pass through user Terminal 200 accesses network, so as to which substantial amounts of message is sent in interchanger 100.Interchanger 100 can be implemented by the application The scheme that example is provided filters out the object message in the message got, so as to copy to destination interface, such as some clothes It is handled in business device 300.
First embodiment
Fig. 2 is refer to, Fig. 2 is a kind of flow chart for packet copy method that the application first embodiment provides.Below will Flow shown in Fig. 2 is described in detail, the described method includes:
Step S110:Based on preconfigured accesses control list, target to be copied in source port in interchanger is obtained Message.
Interchanger can be according to the user instruction received, arranging access control list (ACL) in memory in advance. Order line in ACL can bind condition and action group in advance, and the action group includes but not limited to:Forwarding, discarding etc..ACL It can be by the action group that judges whether to meet condition to decide whether to perform bound under the conditions of this.
In the embodiment of the present application, the ACL in interchanger can sieve message when interchanger receives message Choosing, so as to filter out object message to be copied.
As a kind of embodiment, the characteristic value that is previously written can be included in ACL, by by eigenvalue assignment to ACL The screening to object message is realized in included order line, this feature value is the screening conditions of object message.For example, it is desired to The message that source IP address is A as object message is replicated, then can configure ACL using source IP address A as characteristic value, If certain message meets source IP address for A, which is determined as object message.
Interchanger can match all messages received with screening conditions, so as to filter out all target reports Text, specific steps refer to Fig. 3, can include:
Step S111:The message got in the source port is matched with characterizing the characteristic value of screening conditions.
Certainly, characteristic value is not necessarily limited to the source IP address of message, can also be purpose IP address, the message of message MAC Address and UDP port number etc., no longer excessively repeat herein.
Step S112:Determine that with the message that at least one characteristic value matches be object message.
By above-mentioned steps, the message of all successful match can be determined as object message.
Wherein, object message can be determined according to the actual demand of user, correspondingly, can be corresponding by configuring ACL Ground changes the characteristic value in screening conditions.
For example, it is desired to using the sensitive IP address of user's access as object message, then it can be by the way that sensitive IP address be made Value is characterized, sensitive IP address is filtered out by ACL.
It is of course also possible to by configuring ACL, all messages that source port is entered to direction or outgoing direction are all determined as target Message, i.e. the embodiment of the present application can not only provide the screening to the special packet by port, can also complete to passing through end The screening of all messages of mouth.
Step S120:The object message is redirected to the multicast group pre-established according to the accesses control list It is interior, wherein, including at least one destination interface in the interchanger in the multicast group.
Since the order line in ACL can bind condition and action group in advance, in the application implementation, tied up with screening conditions Fixed action group is:Object message is redirected in the multicast group pre-established.
Certainly, the ID of the multicast group pre-established can be bound by characterizing in the characteristic value of screening conditions, interchanger can be with Based on characteristic value corresponding with object message, object message is redirected at the ID for the multicast group bound with characteristic value.
Each multicast group includes ID, multicast source and destination interface, and multicast group can will be forwarded in multicast group id Message as multicast source, while multicast in all purposes port, that is, the object message being redirected in multicast group will lead to Multicast is crossed to be sent in the multicast group all purposes port.
Wherein, one or more destination interface can be added in the multicast group pre-established, which is mesh The port that mark message needs are copied to.For example, it is desired to object message is copied to port A, port B and port C simultaneously, then Port A, port B and port C can be added to same multicast group.Based on this, when needing to copy to object message During substantial amounts of port, these destination interfaces can be added in multicast group, be copied to largely so as to fulfill by object message In port.
Such as the sensitive IP address mentioned above for accessing user is as during object message, it can be by different servers Port is arranged to the destination interface in multicast group, and the sensitive IP address so as to which user is accessed is redirected in multicast group not At same Service-Port so that different servers can get sensitive IP address simultaneously, complete to sensitive IP address It replicates.
Further, different servers can be directed to different users parallel parsing simultaneously, can share by a service The performance pressures that device analysis is brought, and then the monitoring of internet behavior is realized to user.
It is worth noting that the above method is in implementation process, it is no longer necessary to using the mirror image resources in electronic equipment, together When, there are substantial amounts of multicast resources in electronic equipment.Therefore, when needing message copying to a large amount of destination interfaces, it is not necessary to again It is completed by increasing mirror image resources into original, it is achieved thereby that being realized in electronic equipment without any cost is increased Copy packet is to a large amount of destination interfaces, to the Dependence Problem of image hardware resource when solving message duplication, in addition, the above method In implementation process, flexibly message can also be screened, only replicated object message, convenient for managing and safeguarding.
Further, a certain partaof resource reservation in electronic equipment for message can be replicated and be used alone, kept away Exempt from that hardware resource conflict occurs with existing multicast correlation technique.
Certainly, as a kind of embodiment, multiple characteristic values can be included in an ACL, i.e., there are multiple screening items Part, the ID of the multicast group bound in each characteristic value can be different, can so realize and answer different object messages It makes in different ports.
It is worth noting that the packet copy method that the embodiment of the present application is provided, can carry out in a VLAN, also It can be carried out with travelling across VLAN, in implementation process, it is only necessary to configure corresponding vlan port.
A kind of packet copy method that the application first embodiment provides is primarily based on preconfigured access control row Table screens message, so as to obtain object message to be copied in source port in interchanger;Then according still further to access control The object message is redirected in the multicast group pre-established by list, as the source port in the multicast group, by target report Text is copied at least one destination interface included in multicast group, realizes the duplication to object message.In this way, not It must be completed again by increasing mirror image resources into original, it is achieved thereby that increased without any cost in electronic equipment Copy packet is realized to a large amount of destination interfaces, to the Dependence Problem of image hardware resource when solving message duplication, in addition, above-mentioned Method can also flexibly screen message in implementation process, only replicate object message, convenient for managing and tieing up Shield.
Second embodiment
A kind of structure diagram of message reproducing unit 400 of Fig. 4 Fig. 4 the application second embodiment offer is provided.Below The structure diagram that Fig. 4 shows will be illustrated, shown device includes:Acquisition module 410 and redirection module 420.
Acquisition module 410 for preconfigured accesses control list, obtains mesh to be copied in source port in interchanger Mark message;
Redirection module 420 pre-establishes for being redirected to the object message according to the accesses control list Multicast group in, wherein, including at least one destination interface in the interchanger in the multicast group.
Further refer to Fig. 5, include as a kind of embodiment, in the accesses control list it is preconfigured extremely A few characteristic value, the acquisition module 410 can include:
Matched sub-block 411, message and at least one characteristic value for will be got in the source port carry out Matching;
Determination sub-module 412, for determining that with the message that at least one characteristic value matches be target.
As a kind of embodiment, at least one characteristic value includes target source IP address, the matched sub-block 411, specifically for the source IP address of the message got in the source port is matched with the target source IP address.
As a kind of embodiment, each characteristic value binds the multicast for having and pre-establishing at least one characteristic value Specifically for being based on the corresponding characteristic value of the object message, the object message is reset for group, the redirection module 420 To at the multicast group bound to characteristic value corresponding with the object message, so that the object message is sent to described in addition The all purposes port of multicast group.Wherein, the multicast group bound in each characteristic value is different.
The process of the respective function of each Implement of Function Module for the device 400 that the present embodiment replicates message, refers to above-mentioned Fig. 1 is to the content described in embodiment illustrated in fig. 3, and details are not described herein again.
In addition, corresponding to the packet copy method in first embodiment, the embodiment of the present application additionally provides a kind of readable deposit Storage media, the readable storage medium storing program for executing memory contains computer program, when the computer program is read out by the processor and runs, So that processor performs the method described in any embodiment in first embodiment.
In addition, corresponding to the packet copy method in first embodiment, the embodiment of the present application additionally provides a kind of electronics and sets It is standby, including readable storage medium storing program for executing and processor, computer program, the computer program are stored on the readable storage medium storing program for executing Electronic equipment is caused to perform the method described in any embodiment in first embodiment when being read and run by the processor.
In conclusion packet copy method and device that the embodiment of the present application proposes, are primarily based on preconfigured access Control list screens message, so as to obtain object message to be copied in source port in interchanger;Then according still further to visit Ask that the object message is redirected in the multicast group pre-established by control list, it, will as the source port in the multicast group Object message is copied at least one destination interface included in multicast group, realizes the duplication to object message.By this Method, it is not necessary to be completed again by increasing mirror image resources into original, it is achieved thereby that increasing in electronic equipment without any cost In the case of realize copy packet to a large amount of destination interfaces, to the Dependence Problem of image hardware resource when solving message duplication, In addition, the above method in implementation process, can also flexibly screen message, only object message is replicated, just In management and safeguard.
In several embodiments provided herein, it should be understood that disclosed apparatus and method can also pass through Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, flow chart and block diagram in attached drawing Show the devices of multiple embodiments according to the application, method and computer program product architectural framework in the cards, Function and operation.In this regard, each box in flow chart or block diagram can represent the one of a module, program segment or code Part, a part for the module, program segment or code include one or more and are used to implement holding for defined logic function Row instruction.It should also be noted that at some as in the realization method replaced, the function that is marked in box can also be to be different from The order marked in attached drawing occurs.For example, two continuous boxes can essentially perform substantially in parallel, they are sometimes It can perform in the opposite order, this is depending on involved function.It is it is also noted that every in block diagram and/or flow chart The combination of a box and the box in block diagram and/or flow chart can use function or the dedicated base of action as defined in performing It realizes or can be realized with the combination of specialized hardware and computer instruction in the system of hardware.
In addition, each function module in each embodiment of the application can integrate to form an independent portion Point or modules individualism, can also two or more modules be integrated to form an independent part.
If the function is realized in the form of software function module and is independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, the technical solution of the application is substantially in other words The part contribute to the prior art or the part of the technical solution can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, is used including some instructions so that a computer equipment (can be People's computer, server or user terminal etc.) perform each embodiment the method for the application all or part of step. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-OnlyMemory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic disc or CD.This is deposited When computer program on storage media is run, be able to carry out above-mentioned packet copy method, can to equipment without any Copy packet is realized in the case of cost is increased to a large amount of destination interfaces, so as to solve image hardware to be provided when message replicates The dependence in source, convenient for managing and safeguarding.
The above is only the specific embodiment of the application, but the protection domain of the application is not limited thereto, any In the technical scope that those familiar with the art discloses in the application, change or replacement can be readily occurred in, should all be contained It covers within the protection domain of the application.Therefore, the protection domain of the application described should be subject to the protection scope in claims.

Claims (10)

1. a kind of packet copy method, which is characterized in that the described method includes:
Based on preconfigured accesses control list, object message to be copied in source port in interchanger is obtained;
The object message is redirected in the multicast group pre-established according to the accesses control list, wherein, described group It broadcasts in group including at least one destination interface in the interchanger.
2. according to the method described in claim 1, it is characterized in that, the accesses control list in include it is preconfigured at least One characteristic value, it is described based on preconfigured accesses control list, obtain target report to be copied in source port in interchanger Text, including:
The message got in the source port is matched at least one characteristic value;Determine with it is described at least one The message that characteristic value matches is object message.
3. according to the method described in claim 2, it is characterized in that, at least one characteristic value include target source IP address, It is described to match the every message got in the source port at least one characteristic value, including:
The source IP address of the message got in the source port is matched with the target source IP address.
4. according to the method described in claim 2, it is characterized in that, at least one characteristic value the binding of each characteristic value have The object message is redirected to the multicast group pre-established according to the accesses control list by the multicast group pre-established It is interior, including:
Based on the corresponding characteristic value of the object message, the object message is redirected to spy corresponding with the object message At the multicast group of value indicative binding, so that the object message is sent to all purposes port for adding in the multicast group.
5. according to the method described in claim 4, it is characterized in that, the multicast group bound in each characteristic value is different.
6. a kind of message reproducing unit, which is characterized in that described device includes:
Acquisition module for being based on preconfigured accesses control list, obtains target to be copied in source port in interchanger Message;
Redirection module, for the object message to be redirected to the multicast group pre-established according to the accesses control list It is interior, wherein, including at least one destination interface in the interchanger in the multicast group.
7. device according to claim 6, which is characterized in that include in the accesses control list it is preconfigured at least One characteristic value, the acquisition module, including:
Matched sub-block, for the message got in the source port to be matched at least one characteristic value;
Determination sub-module, for determining that with the message that at least one characteristic value matches be object message.
8. device according to claim 7, which is characterized in that at least one characteristic value includes target source IP address, The matched sub-block, the source IP address of the message for will be got in the source port are carried out with the target source IP address Matching.
9. device according to claim 7, which is characterized in that there is each characteristic value binding at least one characteristic value The multicast group pre-established, the redirection module, is used for
Based on the corresponding characteristic value of the object message, the object message is redirected to spy corresponding with the object message At the multicast group of value indicative binding, so that the object message is sent to all purposes port for adding in the multicast group.
10. device according to claim 9, which is characterized in that the mutual not phases of the ID of the multicast group bound in each characteristic value Together.
CN201711390808.5A 2017-12-20 2017-12-20 Message copying method and device Active CN108093051B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711390808.5A CN108093051B (en) 2017-12-20 2017-12-20 Message copying method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711390808.5A CN108093051B (en) 2017-12-20 2017-12-20 Message copying method and device

Publications (2)

Publication Number Publication Date
CN108093051A true CN108093051A (en) 2018-05-29
CN108093051B CN108093051B (en) 2021-02-05

Family

ID=62177778

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711390808.5A Active CN108093051B (en) 2017-12-20 2017-12-20 Message copying method and device

Country Status (1)

Country Link
CN (1) CN108093051B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108768866A (en) * 2018-09-06 2018-11-06 迈普通信技术股份有限公司 Across the card retransmission method of multicast message, device, the network equipment and readable storage medium storing program for executing
CN112565309A (en) * 2021-02-26 2021-03-26 腾讯科技(深圳)有限公司 Message processing method, device, equipment and storage medium
CN113132257A (en) * 2021-04-29 2021-07-16 杭州迪普信息技术有限公司 Message processing method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008080314A1 (en) * 2006-12-29 2008-07-10 Huawei Technologies Co., Ltd. A method, forwarding engine and communication device for message acces control
CN102307136A (en) * 2011-07-06 2012-01-04 杭州华三通信技术有限公司 Method for processing message and device thereof
WO2012167541A1 (en) * 2011-11-09 2012-12-13 华为技术有限公司 Method, system and apparatus for implementing intercommunication multicast in passive optical network
CN103986658A (en) * 2014-05-14 2014-08-13 北京锐安科技有限公司 Message output method and device
CN104734986A (en) * 2013-12-19 2015-06-24 华为技术有限公司 Message forwarding method and device
CN105335307A (en) * 2014-08-13 2016-02-17 华为技术有限公司 ACL rule loading 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
CN105939324A (en) * 2016-01-11 2016-09-14 杭州迪普科技有限公司 Message forwarding method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008080314A1 (en) * 2006-12-29 2008-07-10 Huawei Technologies Co., Ltd. A method, forwarding engine and communication device for message acces control
CN102307136A (en) * 2011-07-06 2012-01-04 杭州华三通信技术有限公司 Method for processing message and device thereof
WO2012167541A1 (en) * 2011-11-09 2012-12-13 华为技术有限公司 Method, system and apparatus for implementing intercommunication multicast in passive optical network
CN104734986A (en) * 2013-12-19 2015-06-24 华为技术有限公司 Message forwarding method and device
CN103986658A (en) * 2014-05-14 2014-08-13 北京锐安科技有限公司 Message output method and device
CN105335307A (en) * 2014-08-13 2016-02-17 华为技术有限公司 ACL rule loading 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
CN105939324A (en) * 2016-01-11 2016-09-14 杭州迪普科技有限公司 Message forwarding method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
KAOA000: "ACL配置与管理——2", 《CSDN》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108768866A (en) * 2018-09-06 2018-11-06 迈普通信技术股份有限公司 Across the card retransmission method of multicast message, device, the network equipment and readable storage medium storing program for executing
CN108768866B (en) * 2018-09-06 2021-08-03 迈普通信技术股份有限公司 Cross-card forwarding method and device for multicast message, network equipment and readable storage medium
CN112565309A (en) * 2021-02-26 2021-03-26 腾讯科技(深圳)有限公司 Message processing method, device, equipment and storage medium
CN112565309B (en) * 2021-02-26 2021-05-14 腾讯科技(深圳)有限公司 Message processing method, device, equipment and storage medium
CN113132257A (en) * 2021-04-29 2021-07-16 杭州迪普信息技术有限公司 Message processing method and device

Also Published As

Publication number Publication date
CN108093051B (en) 2021-02-05

Similar Documents

Publication Publication Date Title
US20240155039A1 (en) Private service endpoints in isolated virtual networks
US10057112B2 (en) Fault detection of service chains in a SDN/NFV network environment
US9407539B1 (en) Techniques for utilizing network destination identifiers simultaneously announced from multiple locations
JP5702477B2 (en) Powerful rights management for computing application functions
US8549347B1 (en) Techniques for network replication
CN107690800A (en) Manage dynamic IP addressing distribution
CN108093051A (en) Packet copy method and device
CN106487850A (en) The methods, devices and systems of mirror image are obtained under a kind of cloud environment
CN104461826B (en) The method, apparatus and system of Object flow monitoring
US9369674B2 (en) Dialing device and method for video conferencing
CN106169963A (en) The access method of service page and system, proxy server
CN106201769A (en) Server system, non-provisional computer-readable recording medium and in order to the method strengthening the memory fault-tolerant rate in server system
Shanmugam et al. DEIDtect: towards distributed elastic intrusion detection
CN106686104A (en) Method and device used for operation and maintenance of target server
CN106027356A (en) Tunnel identifier conversion method and device
CN108418907A (en) IP address distribution method and device
CN107241312B (en) A kind of right management method and device
Di Florio et al. Bypassing censorship: A proven tool against the recent internet censorship in Turkey
CN108156412A (en) Data transmission method, device, user terminal and storage medium
CN108683615A (en) Message diversion method, device and shunting interchanger
US10009291B1 (en) Programmable switching fabric for dynamic path selection
CN106789287A (en) Front end load balanced device, back-end server and register method
CN106027354A (en) Backflow method and device for VPN (Virtual Private Network) client
Özdem et al. Subscriber aware dynamic service function chaining
CN113839949B (en) Access right management and control system, method, chip and electronic equipment

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