CN106411752A - Multicast packet transceiving method and system - Google Patents
Multicast packet transceiving method and system Download PDFInfo
- Publication number
- CN106411752A CN106411752A CN201610867943.3A CN201610867943A CN106411752A CN 106411752 A CN106411752 A CN 106411752A CN 201610867943 A CN201610867943 A CN 201610867943A CN 106411752 A CN106411752 A CN 106411752A
- Authority
- CN
- China
- Prior art keywords
- mac address
- management switch
- switch
- multicast message
- management
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/16—Multipoint routing
Abstract
Embodiments of the present invention provide a multicast packet transceiving method and system, relating to the technical field of communication. A first non-managed switch sends a multicast packet to a second managed switch according to a first MAC address; and/or a second non-managed switch sends the multicast packet to an information receive end according to a second unicast MAC address, wherein the first MAC address is a first unicast MAC address acquired by an information transmit end after the information transmit end receives a first notification and/or a second MAC address is the second unicast MAC address acquired by the second managed switch after the second managed switch receives a second notification. When the multicast packet transceiving method and system are used for transmitting the multicast packet, the information transmit end fails to receive all multicast streams sent by other information transmit ends, so that the impact of the multicast streams on the device is prevented, therefore, downlink congestion is avoided; and/or the information receive end fails to receive the multicast streams requested by other information receive ends, so that security risk is eliminated.
Description
Technical field
The present invention relates to communication technical field, in particular to a kind of multicast message receiving/transmission method and system.
Background technology
With standardization and the network technology of easy extension and video coding technique continuous development, the intelligence of IP based network
Video Supervision Technique is also developed rapidly, video encoding and decoding standard picture H.264, MPEG4 rely on outstanding code efficiency and
Adopted by numerous security protection producers, on the premise of being simultaneous for how saving network link bandwidth, ensure the group of multimedia service quality
The technology of broadcasting is widely used.One monitoring network runs multicasting technology if necessary, then need the switch in network
All support multicast, three-layer equipment runs three layers of multicast routing protocol, two-layer equipment needs to run IGMP snooping (referred to as
IGSP) agreement, but be intended to support IGMP snooping function essentially have a management switch, but have management switch
Price comparison is expensive, and cost is very high.
For cost-effective and input, in prior art, substantial amounts of front end access side or user's receiving terminal would generally make
No manage switch with low-cost.Do not support the multicast protocols such as IGSP due to no managing switch, multicast can be led to flood.
In information receiving end side, an information receiving end can receive the multicast data flow of other information receiving terminal request, there is safety wind
Danger;In information transmitting terminal, an IPC can receive whole multicast data flows of other IPC transmission, by multicast data flow impact to equipment meeting
Produce impact, be likely to result in downlink congestion simultaneously.
Content of the invention
It is an object of the invention to provide a kind of multicast message receiving/transmission method and system, to improve above-mentioned technical problem.
To achieve these goals, the technical scheme that the embodiment of the present invention adopts is as follows:
In a first aspect, embodiments providing a kind of multicast message receiving/transmission method, it is applied to multicast message transmitting-receiving system
System, described multicast message receive-transmit system include NM server, first no management switch and/or second no manage switch,
First has management switch, second has management switch, information transmitting terminal and information receiving end, described multicast message transmitting-receiving side
Method includes:
Described NM server reads described first management switch, the described second address resolution having a management switch
Protocol item, MAC Address list item, to obtain the network topology structure of described multicast message receive-transmit system;
Described NM server sends first according to described network topology structure and notifies to described information transmitting terminal, and/or
Send second and notify there is management switch to described second, described first notifies to be with the first unicast mac address for purpose MAC ground
Sending the notice of multicast message, described second notifies to be to send multicast with the second unicast mac address for purpose MAC Address for location
The notice of message.
Described information transmitting terminal, after receiving the first notice, obtains the as transmission multicast message target MAC (Media Access Control) address
One MAC Address, and by the described multicast message carrying the first MAC Address send to described first no manage switch, described
First no management switch has management switch according to described first MAC Address transmission multicast message to described second;
Described second has management switch after receiving the second notice, obtains as with receiving multicast message purpose MAC
Second MAC Address of location, and will carry the second MAC Address multicast message send to described second no manage switch, described
Second no management switch sends described multicast message to described information receiving terminal according to described second unicast mac address;
Wherein, the first unicast MAC that the first MAC Address gets after receiving the first notice for described information transmitting terminal
Address and/or the second MAC Address are described second to have the second unicast that management switch gets after receiving the second notice
MAC Address.
Second aspect, present invention also offers multicast message receive-transmit system, described multicast message receive-transmit system includes described
Multicast message receive-transmit system includes NM server, the first no management switch and/or second no manages switch, first has pipe
Reason switch, second there are management switch, information transmitting terminal and information receiving end, described NM server has with described first
Management switch, described second have management switch all set up communication connection,
Described NM server be used for read described first have management switch, described second have management switch address
Analytic protocol table entry, MAC Address list item, to obtain the network topology structure of described multicast message receive-transmit system;
Described NM server is additionally operable to notify to described information transmitting terminal according to described network topology structure transmission first,
And/or transmission second notifies there is management switch to described second, described first notifies to be for the purpose of the first unicast mac address
Sending the notice of multicast message, described second notifies to be to send out with the second unicast mac address for purpose MAC Address MAC Address
Send the notice of multicast message;
Described information transmitting terminal is used for, after receiving the first notice, obtaining as transmission multicast message target MAC (Media Access Control) address
The first MAC Address, and by the described multicast message carrying the first MAC Address send to described first no manage switch;
Described first no management switch is used for there is pipe according to described first MAC Address transmission multicast message to described second
Reason switch;
And/or described second have management switch be used for after receiving the second notice, obtain as receive multicast message
Second MAC Address of target MAC (Media Access Control) address, and will carry the second MAC Address multicast message send to described second no management hand over
Change planes;
Described second no management switch is extremely described for sending described multicast message according to described second unicast mac address
Information receiving end;
Wherein, the first unicast MAC that the first MAC Address gets after receiving the first notice for described information transmitting terminal
Address and/or the second MAC Address are described second to have the second unicast that management switch gets after receiving the second notice
MAC Address.
With respect to prior art, the invention has the advantages that:A kind of multicast message provided in an embodiment of the present invention
Receiving/transmission method and system, have management to hand over according to the first MAC Address transmission multicast message to second using the first no management switch
Change planes;And/or described second no management switch according to second unicast mac address send described multicast message connect to described information
Receiving end;Wherein, the first unicast MAC ground that the first MAC Address gets after receiving the first notice for described information transmitting terminal
Location and/or the second MAC Address are described second to have the second unicast MAC that management switch gets after receiving the second notice
Address.When sending multicast message using this multicast message receiving/transmission method and system, information transmitting terminal will not receive other information
Whole multicast data flows that transmitting terminal sends, it is to avoid be subject to the impact of multicast data flow can produce impact to equipment, thus not causing down
Uplink congestion, and/or information receiving end will not receive the multicast data flow of other information receiving terminal request, it is to avoid safety wind
Danger.
For enabling the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate
Appended accompanying drawing, is described in detail below.
Brief description
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below will be attached to use required in embodiment
Figure is briefly described it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, and it is right to be therefore not construed as
The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this
A little accompanying drawings obtain other related accompanying drawings.
Fig. 1 shows the multicast message receiving/transmission method flow chart that present pre-ferred embodiments provide.
Fig. 2 shows the interactive schematic diagram of the multicast message receive-transmit system that present pre-ferred embodiments provide.
Wherein, the corresponding relation between reference and component names is as follows:NM server 101, the first no management is handed over
Change planes 102, first has management switch 103, and second has management switch 104, and second no manages switch 105, and information sends
End 106, information receiving end 107.
Specific embodiment
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Ground description is it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.Generally exist
The assembly of the embodiment of the present invention described and illustrated in accompanying drawing can be arranged with various different configurations and design herein.Cause
This, be not intended to limit claimed invention to the detailed description of the embodiments of the invention providing in the accompanying drawings below
Scope, but it is merely representative of the selected embodiment of the present invention.Based on embodiments of the invention, those skilled in the art are not doing
The every other embodiment being obtained on the premise of going out creative work, broadly falls into the scope of protection of the invention.
It should be noted that:Similar label and letter represent similar terms in following accompanying drawing, therefore, once a certain Xiang Yi
It is defined in individual accompanying drawing, then do not need it to be defined further and explains in subsequent accompanying drawing.Meanwhile, the present invention's
In description, term " first ", " second " etc. are only used for distinguishing description, and it is not intended that indicating or hint relative importance.
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Ground description is it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.Generally exist
The assembly of the embodiment of the present invention described and illustrated in accompanying drawing can be arranged with various different configurations and design herein.Cause
This, be not intended to limit claimed invention to the detailed description of the embodiments of the invention providing in the accompanying drawings below
Scope, but it is merely representative of the selected embodiment of the present invention.Based on embodiments of the invention, those skilled in the art are not doing
The every other embodiment being obtained on the premise of going out creative work, broadly falls into the scope of protection of the invention.
It should be noted that:Similar label and letter represent similar terms in following accompanying drawing, therefore, once a certain Xiang Yi
It is defined in individual accompanying drawing, then do not need it to be defined further and explains in subsequent accompanying drawing.Meanwhile, the present invention's
In description, term " first ", " second " etc. are only used for distinguishing description, and it is not intended that indicating or hint relative importance.
Refer to Fig. 1, Fig. 2, a kind of multicast message receiving/transmission method provided in an embodiment of the present invention, it is applied to multicast message and receive
The system of sending out, described multicast message receive-transmit system includes NM server 101, first and no manages switch 102, second no managing friendship
Changing planes 105, first has management switch 103, second has management switch 104, information transmitting terminal 106 and information receiving end
107, NM server 101 and first have management switch 103, second have management switch 104 all set up communication connection, described
Multicast message receiving/transmission method includes:
Step S101:NM server 101 read first have management switch 103, second have management switch 104 ground
Location analytic protocol table entry, MAC Address list item, to obtain the network topology structure of described multicast message receive-transmit system.
In the present embodiment, items of address analyzing protocol table (Address Resolution Protocol, ARP), is according to IP
One ICP/IP protocol list item of address acquisition physical address.MAC (Media Access Control or Medium
Access Control) address, i.e. physical address, hardware address, for defining the position of the network equipment.Network topology structure is
Refer to the interconnective form of each website in network, for example bus-type topology, Star topology, ring topology, tree topology are (by total
Line style develops) and their mixed type.In the present embodiment, information transmitting terminal 106, first have management switch 103, net
Pipe server 101, second there is management switch 104, information receiving end 107 may be constructed a network topology structure.
In addition, in the present embodiment, first has management switch 103, second has management switch 104 to be L3 Switching
Machine, three-tier switch has detail router function, can accelerate the data exchange within large-scale LAN, the route work(having
Can be also to service for this purpose, can accomplish once to route multiple forwarding.For regular processes such as packet forwardings by hard
Part realization of High Speed, and as the functions such as updating route information, routing table maintenance, router-level topology, route determination are realized by software.First
Have management switch 103, second have management switch 104 support NM server management, support three layers of multicast functionality.First no
Management switch 102, second no manages switch 105 and is Layer 2 switch, and Layer 2 switch works in the 2nd of osi model
Layer (data link layer), so referred to as Layer 2 switch.The development of Layer2 switching technology comparative maturity, Layer 2 switch belongs to
Data link layer device, can be forwarded according to MAC Address with the mac address information in identification data bag, and by these MAC
Address is recorded in oneself internal address table with corresponding port, only supports the forwarding of message.
Step S102:NM server 101 judges information transmitting terminal 106, first has pipe according to described network topology structure
Between reason switch 103 whether communication link be connected to first no management switch 102 and information receiving end 107, second have management to hand over
Changing planes between 104, whether communication link is connected to second no manages switch 105.
It should be noted that in the present embodiment, also can in advance by information transmitting terminal 106, first have management switch 103 it
Between be connected with first no manage switch 102;And information receiving end 107, second have management switch 104 between be connected with second
No manage switch 105, and NM server 101 arrange default information transmitting terminal 106, first have management switch 103
Between be connected with first no manage switch 102;And information receiving end 107, second have and be connected with the between management switch 104
Two programs no managing switch 105, thus step S102 can be saved.
In addition, in the present embodiment, information transmitting terminal 106 is multicast source, and in the present embodiment, information transmitting terminal 106 is permissible
Using but be not limited to web camera (IP Camera).
Specifically, step S102 can include NM server 101 check first have management switch 103 each interface
Whether learn the MAC Address at least two, if it is, judge information transmitting terminal 106, first have management switch 103 it
Between be connected with described first no manage switch 102.
When first each interface having management switch 103 learn at least two MAC Address when, then explanation first has
The MAC Address that the MAC Address that management switch 103 learns includes the first no management switch 102 is sent out with least one information
The MAC Address of sending end 106, that is, descriptive information receiving terminal 107, first have management switch 103 be connected with first no management exchange
Machine 102.
NM server 101 checks whether second each interface having management switch 104 learns the MAC at least two
Address, if it is, judge described information receiving terminal 107, second have management switch 104 between be connected with second no management hand over
Change planes 105.
When second each interface having management switch 104 learn at least two MAC Address when, then explanation second has
Management switch 104 learns to include the second no MAC Address of management switch 105 and reception of at least one information to MAC Address
End 107 MAC Address, that is, descriptive information receiving terminal 107, second have management switch 104 be connected with second no manage switch
105.
Step S103:NM server 101 sends first according to network topology structure and notifies to information transmitting terminal 106, and
Send second and notify there is management switch 104 to second.
In the present embodiment, the quantity of information transmitting terminal 106 is but is not limited to 3.And first notify to be with the first unicast MAC
Address to send the notice of multicast message for purpose MAC Address, and second notifies to be with the second unicast mac address for purpose MAC ground
Location is sending the notice of multicast message.
Step S104:Information transmitting terminal 106, after receiving the first notice, obtains as transmission multicast message purpose MAC
First MAC Address of address, and by the multicast message carrying the first MAC Address send to first no manage switch 102.
Wherein, the first unicast MAC that the first MAC Address gets after receiving the first notice for information transmitting terminal 106
Address, the second MAC Address be second have management switch 104 get after receiving the second notice second unicast MAC ground
Location.
Step S105:First no management switch 102 has management switch 103 according to the first MAC Address by first
Multicast message is sent to have management switch 104 to second.
Specifically, first after no management switch 102 receives multicast message, has management switch 103 according to first
MAC Address sends multicast message has management switch 103 to first, and first has management switch 103 receiving multicast message
Judge whether the first unicast mac address receiving is consistent with the MAC Address of itself afterwards, if it is, two layers of encapsulation are peeled off
And forwarded according to IP layer address.When checking that IP layer purpose IP is multicast message, report will be organized according to multicast routing protocol
Literary composition sends has management switch 104 to second.In the present embodiment, the first unicast mac address can be sent using information transmitting terminal 106
First reading during multicast message has the MAC Address of management switch 103, and wherein, first has the MAC of management switch 103
Address is specifically represented by for example:" 0000-1111-2222 ".Multicast message is sent by information transmitting terminal 106 no manages to first
Reason switch 102, the first no management switch 102 is according to the multicast message carries first MAC Address having management switch 103
Multicast message is sent has management switch 103 to first, without sending multicast message to other information transmitting terminal
106, also will not receive the multicast message of other information transmitting terminal 106 transmission, it is to avoid information transmitting terminal 106 is subject to group simultaneously
Broadcast the impact of stream, thus not causing downlink congestion.
Step S106:Second has management switch 104 after receiving the second notice, obtains as reception multicast message mesh
MAC Address the second MAC Address, and will carry the second MAC Address multicast message send to second no manage switch
105.
Step S107:Second no management switch 105 sends multicast message to information reception according to the second unicast mac address
End 107.
In the present embodiment, the quantity of information receiving end 107 can be but be not limited to 3, and this information receiving end 107 is permissible
It is, but be not limited to smart mobile phone, PC (personal computer, PC), panel computer, personal digital assistant
(personal digital assistant, PDA), mobile internet surfing equipment (mobile Internet device, MID) etc..
In the present embodiment, described second unicast mac address can be but be not limited to described second and have management switch 104
Send the MAC Address of the information receiving end 107 reading during multicast message.For example, the MAC Address of information receiving end 107 is concrete
The form of expression can be " 0000-0000-0001 ".If information receiving end 107 has the demand receiving multicast message, can send
IGMP message has management switch 104 to second, and second has management switch receiving the transmission of this information receiving end 107
After IGMP message, multicast message is sent and no manages switch to second, the second no management switch 105 is according to information receiving end
107 MAC Address sends described multicast message to this information receiving end 107.
Second has management switch 104 to send the MAC Address carrying information receiving end 107 exchanges to the second no management
Machine 105, second no management switch 105 according to information receiving end 107 MAC Address send described multicast message to read
Second unicast mac address association information receiving end 107 so that each information receiving end 107 will not receive other
The multicast data flow of information receiving end 107 request, it is to avoid security risk.
If in addition, there being multiple information receiving ends 107 to have the demand receiving multicast message, second has management switch 104
The multicast message carrying the MAC Address of multiple information receiving ends 107 is respectively sent to send the demand receiving multicast message
Information receiving end 107.For example, two information receiving ends 107 all have the demand receiving multicast message, and have sent IGMP report
Literary composition, the MAC Address of two information receiving ends 107 is respectively " 0000-0000-0001 ", " 0000-0000-0003 ", therefore
Second has management switch 104 according to the second unicast mac address " 0000-0000-0001 ", " 0000-0000-0003 " point
Fa Song not multicast message extremely described two information receiving ends 107.
It should be noted that multicast message receive-transmit system provided in an embodiment of the present invention can also only include first no managing
Reason switch 102 or second no manages switch 105.No manage switch when multicast message receive-transmit system only includes first
When 102, achievable information receiving end 107 also will not receive the multicast message of other information transmitting terminal transmission, it is to avoid information
Transmitting terminal 106 is impacted by multicast data flow, thus not causing downlink congestion;When multicast message receive-transmit system only includes
Second when no managing switch 105, can achieve that each information receiving end 107 will not receive other information receiving terminal 107 and asks
Multicast data flow, it is to avoid security risk.Therefore the embodiment of the present invention provides multicast message receive-transmit system to include the first no management and hands over
102 and second no management switches 105 of changing planes are preferably networking mode.
Refer to Fig. 2, the embodiment of the present invention additionally provides a kind of multicast message receive-transmit system, it should be noted that this reality
Apply the multicast message receive-transmit system that example is provided, the technique effect of its ultimate principle and generation is identical with above-described embodiment, for letter
Describe, the present embodiment part does not refer to part, refers to corresponding contents in the above embodiments.Specifically, described group of report
Civilian receive-transmit system includes NM server 101, first and no manages switch 102, second no managing switch 105, first having pipe
Reason switch 103, second there are management switch 104, information transmitting terminal 106 and information receiving end 107, NM server 101
With first have management switch 103, second have management switch 104 all set up communication connection.
NM server 101 is used for reading first has management switch 103, the second address having management switch 104 to solve
Analysis protocol item, MAC Address list item, to obtain the network topology structure of described multicast message receive-transmit system.
Described NM server 101 is additionally operable to judge information transmitting terminal 106, first have pipe according to described network topology structure
Between reason switch 103 whether communication link be connected to first no management switch 102 and information receiving end 107, second have management to hand over
Changing planes between 104, whether communication link is connected to second no manages switch 105.
Specifically, NM server 101 is used for checking whether first each interface having management switch 103 learns to extremely
The MAC Address of few two, if it is, judge information transmitting terminal 106, first have be connected between management switch 103 described
First no manages switch 102;With check second have management switch 104 each interface whether learn at least two
MAC Address, if it is, judging described information receiving terminal 107, second having and be connected with second and no manage between management switch 104
Reason switch 105.
If information transmitting terminal 106, first have management switch 103 between communication link be connected to first no manage switch 102;
Information receiving end 107, second have management switch 104 between communication link be connected to second no manage switch 105, NM server
101 are used for notifying to information transmitting terminal 106 according to network topology structure transmission first, and transmission second notifies there is management to second
Switch 104.
In the present embodiment, first notifies to be to send the logical of multicast message with the first unicast mac address for purpose MAC Address
Know, second notifies to be the notice to send multicast message with the second unicast mac address for purpose MAC Address.
It should be noted that in the present embodiment, it should be noted that in the present embodiment, also can be in advance by information transmitting terminal
106th, first have management switch 103 between be connected with first no manage switch 102;And information receiving end 107, second have pipe
It is connected with second between reason switch 104 and no manages switch 105, and send in NM server 101 setting default information
End 106, first have management switch 103 between be connected with first no manage switch 102;And information receiving end 107, second have
It is connected with the second program no managing switch 105, thus NM server 101 can be saved judging between management switch 104
Step.
Described information transmitting terminal 106 is used for, after receiving the first notice, obtaining as with sending multicast message purpose MAC
First MAC Address of location, and by the multicast message carrying the first MAC Address send to first no manage switch 102.
In the present embodiment, described first unicast mac address can be but be not limited to, described information transmitting terminal 106 transmission group
Reporting first reading during literary composition has the MAC Address of management switch.
Described first no management switch 102 is used for there is management switch transmission group according to the first MAC Address by first
Reporting literary composition has management switch 104 to second.
Specifically, first after no management switch 102 receives multicast message, has management switch 103 according to first
MAC Address sends multicast message has management switch 103 to first, and first has management switch 103 receiving multicast message
Afterwards, judge whether the first unicast mac address receiving is consistent with the MAC Address of itself, if it is, two layers of encapsulation are peeled off
And forwarded according to IP layer address, message will send and have management switch 104 to second.
Second has management switch 104 to be used for, after receiving the second notice, obtaining as reception multicast message purpose MAC
Second MAC Address of address, and will carry the second MAC Address multicast message send to second no manage switch 105.
In the present embodiment, described second unicast mac address can be but be not limited to, described second unicast mac address is institute
Stating second has management switch 104 to send the MAC Address of the information receiving end 107 reading during multicast message.
Second no management switch 105 is used for sending multicast message to information receiving end according to the second unicast mac address
107.
It should be noted that the embodiment of the present invention provides multicast message receive-transmit system can also only include first no managing
Switch 102 or second no manages switch 105.No manage switch 102 when multicast message receive-transmit system only includes first
When, achievable information receiving end 107 also will not receive the multicast message of other information transmitting terminal transmission, it is to avoid information transmission
End 106 is impacted by multicast data flow, thus not causing downlink congestion;When multicast message receive-transmit system only includes second
When no managing switch 105, can achieve that each information receiving end 107 will not receive the group of other information receiving terminal 107 request
Broadcast stream, it is to avoid security risk.Therefore the embodiment of the present invention provides multicast message receive-transmit system to include first and no manages switch
102 and second no management switches 105 are more preferential networking mode.
In sum, a kind of multicast message receiving/transmission method provided in an embodiment of the present invention and system, no manage using first
Switch 102 sends multicast message according to the first MAC Address has management switch 104 to second;No manage switch with second
105 send multicast message to information receiving end 107 according to the second unicast mac address;Wherein, the first MAC Address sends for information
The first unicast mac address that end 106 gets after receiving the first notice and the second MAC Address have management switch for second
108 the second unicast mac address getting after receiving the second notice.Sent using this multicast message receiving/transmission method and system
During multicast message, information transmitting terminal will not receive the whole multicast data flows of other information transmitting terminal transmission, it is to avoid is subject to multicast
The impact of stream can produce impact to equipment, thus not causing downlink congestion, and/or information receiving end 107 will not receive
Multicast data flow to the request of other information receiving terminal, it is to avoid security risk.
It should be understood that disclosed apparatus and method are it is also possible to pass through in several embodiments provided herein
Other modes are realized.Device embodiment described above is only schematically, for example, the flow chart in accompanying drawing and block diagram
Show the device of multiple embodiments according to the present invention, the architectural framework in the cards of method and computer program product,
Function and operation.At this point, each square frame in flow chart or block diagram can represent the one of a module, program segment or code
Part, a part for described module, program segment or code comprises holding of one or more logic function for realizing regulation
Row instruction.It should also be noted that at some as in the implementation replaced, the function of being marked in square frame can also be to be different from
The order being marked in accompanying drawing occurs.For example, two continuous square frames can essentially execute substantially in parallel, and they are sometimes
Can execute in the opposite order, this is depending on involved function.It is also noted that it is every in block diagram and/or flow chart
The combination of the square frame in individual square frame and block diagram and/or flow chart, can be with the special base of the function of execution regulation or action
System in hardware to be realized, or can be realized with combining of computer instruction with specialized hardware.
In addition, each functional module in each embodiment of the present invention can integrate one independent portion of formation
Divide or modules individualism is it is also possible to two or more modules are integrated to form an independent part.
If described function realized using in the form of software function module and as independent production marketing or use when, permissible
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
Partly being embodied in the form of software product of part that prior art is contributed or this technical scheme, this meter
Calculation machine software product is stored in a storage medium, including some instructions with so that a computer equipment (can be individual
People's computer, server, or network equipment etc.) execution each embodiment methods described of the present invention all or part of step.
And aforesaid storage medium includes:USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory), random access memory are deposited
Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality
Body or operation are made a distinction with another entity or operation, and not necessarily require or imply these entities or deposit between operating
In any this actual relation or order.And, term " inclusion ", "comprising" or its any other variant are intended to
Comprising of nonexcludability, wants so that including a series of process of key elements, method, article or equipment and not only including those
Element, but also include other key elements being not expressly set out, or also include for this process, method, article or equipment
Intrinsic key element.In the absence of more restrictions, the key element that limited by sentence "including a ..." it is not excluded that
Also there is other identical element including in the process of described key element, method, article or equipment.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, made any repair
Change, equivalent, improvement etc., should be included within the scope of the present invention.It should be noted that:Similar label and letter exist
Representing similar terms in figure below, therefore, once being defined in a certain Xiang Yi accompanying drawing, being then not required in subsequent accompanying drawing
It is defined further and to be explained.
Claims (10)
1. a kind of multicast message receiving/transmission method it is characterised in that being applied to multicast message receive-transmit system, receive and dispatch by described multicast message
System include NM server, first no management switch and/or second no manage switch, first have manage switch, the
Two have management switch, information transmitting terminal and an information receiving end, described NM server with described first have management switch,
Described second has management switch all to set up communication connection, and described multicast message receiving/transmission method includes:
Described NM server reads described first management switch, the described second address resolution protocol having a management switch
List item, MAC Address list item, to obtain the network topology structure of described multicast message receive-transmit system;
Described NM server sends first according to described network topology structure and notifies to described information transmitting terminal, and/or sends
Second notifies there is management switch to described second, and described first notifies to be to come with the first unicast mac address for purpose MAC Address
Send the notice of multicast message, described second notifies to be to send multicast message with the second unicast mac address for purpose MAC Address
Notice.
Described information transmitting terminal, after receiving the first notice, obtains as the MAC sending multicast message target MAC (Media Access Control) address
Address, and the described multicast message carrying the first MAC Address is sent no manage switch to described first, described first no
Management switch has management switch to send multicast message according to described first MAC Address by described first and has to described second
Management switch;
And/or described second have management switch after receiving the second notice, obtain as receive multicast message purpose MAC ground
Second MAC Address of location, and will carry the second MAC Address multicast message send to described second no manage switch, described
Second no management switch sends described multicast message to described information receiving terminal according to described second unicast mac address;
Wherein, the first unicast mac address that the first MAC Address gets after receiving the first notice for described information transmitting terminal
And/or second MAC Address be described second have management switch get after receiving the second notice second unicast MAC ground
Location.
2. the multicast message receiving/transmission method according to claim is it is characterised in that in described NM server according to described
Network topology structure sends first and notifies to described information transmitting terminal, and/or transmission second notifies have management to hand over to described second
Before the step changed planes, methods described also includes:
Described NM server judges described information transmitting terminal, described first has management switch according to described network topology structure
Between whether communicated to connect described first no management switch and/or described information receiving terminal, described second have management exchange
Whether communicate to connect described second between machine and no managed switch;
Described NM server sends first according to described network topology structure and notifies to described information transmitting terminal, and/or sends
Second notifies to include to the described second step having management switch:If described information transmitting terminal, described first have management exchange
Between machine communication connection have described first no management switch and/or described information receiving terminal, described second have management switch
Between communication connection have described second no to manage switch, described NM server according to described network topology structure, sends the
One notifies to described information transmitting terminal, and/or transmission second notifies there is management switch to described second.
3. multicast message receiving/transmission method according to claim 2 is it is characterised in that described NM server is according to described net
Network topological structure judges described information transmitting terminal, described first has whether communicated to connect described first no between management switch
Management switch and/or described information receiving terminal, described second have management switch between whether communicated to connect described second
The step of no management switch includes:
Described NM server checks whether described first each interface having management switch learns at least two MAC ground
Location, if it is, judge described information transmitting terminal, described first have management switch between communication connection have described first no to manage
Reason switch;
And/or described NM server checks whether described second each interface having management switch learns at least two
MAC Address, if it is, judging described information receiving terminal, described second having communication connection between management switch to have described the
Two no manage switch.
4. multicast message receiving/transmission method according to claim 1 is it is characterised in that described first unicast mac address is institute
State the first MAC Address having management switch, the described first no management switch passes through described the according to described first MAC Address
One has management switch to send multicast message includes to the described second step having management switch:
Described first no management switch receive multicast message after, according to described first have management switch MAC Address send out
Multicast message is sent to have management switch to described first, described first has management switch to judge to connect after receiving multicast message
Whether the first unicast mac address receiving is consistent with the MAC Address of itself, if it is, multicast message is sent to described
Two have management switch.
5. multicast message receiving/transmission method according to claim 1 is it is characterised in that described second unicast mac address is institute
State the MAC Address of information receiving end, the described second no management switch sends described multicast according to described second unicast mac address
Message includes to the step of described information receiving terminal:
Described second no management switch receive multicast message after, according to described information receiving terminal MAC Address send multicast
Message is to described information receiving terminal.
6. a kind of multicast message receive-transmit system it is characterised in that described multicast message receive-transmit system include NM server, first
No management switch and/or second no manage switch, first have management switch, second have management switch, information transmission
End and information receiving end, described NM server with described first have management switch, described second have manage switch equal
Set up communication connection,
Described NM server be used for read described first have management switch, described second have management switch address resolution
Protocol item, MAC Address list item, to obtain the network topology structure of described multicast message receive-transmit system;
Described NM server is additionally operable to notify to described information transmitting terminal according to described network topology structure transmission first, and/
Or transmission second notifies there is management switch to described second, described first notifies to be with the first unicast mac address for purpose MAC
Sending the notice of multicast message, described second notifies to be to send group with the second unicast mac address for purpose MAC Address for address
Report the notice of literary composition;
Described information transmitting terminal is used for, after receiving the first notice, obtaining the as transmission multicast message target MAC (Media Access Control) address
One MAC Address, and by the described multicast message carrying the first MAC Address send to described first no manage switch;
Described first no management switch is used for the described first no management switch and passes through described the according to described first MAC Address
One has management switch to send multicast message has management switch to described second;
And/or described second have management switch be used for after receiving the second notice, obtain as receive multicast message purpose
Second MAC Address of MAC Address, and will carry the second MAC Address multicast message send to described second no manage switch;
Described second no management switch is used for sending described multicast message to described information according to described second unicast mac address
Receiving terminal;
Wherein, the first unicast mac address that the first MAC Address gets after receiving the first notice for described information transmitting terminal
And/or second MAC Address be described second have management switch get after receiving the second notice second unicast MAC ground
Location.
7. multicast message receive-transmit system according to claim 6 is it is characterised in that described NM server is additionally operable to foundation
Described network topology structure judge described information transmitting terminal, described first have whether communicated to connect between management switch described
First no management switch and/or described information receiving terminal, described second have management switch between whether communicate to connect
State second and no manage switch;
If described information transmitting terminal, described first have management switch between communication connection have described first no manage switch
And/or described information receiving terminal, described second have management switch between communication connection have described second no manage switch, institute
State NM server to notify to described information transmitting terminal for according to described network topology structure, sending first, and/or send the
Two notify there is management switch to described second.
8. multicast message receive-transmit system according to claim 7 is it is characterised in that described NM server is used for checking institute
State the MAC Address whether first each interface having management switch learns at least two, if it is, judging described information
Transmitting terminal, described first have management switch between communication connection have described first no manage switch;
And/or described NM server is additionally operable to check whether described second each interface having management switch learns at least
The MAC Address of two, if it is, judge described information receiving terminal, described second have management switch between communication link be connected to
Described second no manages switch.
9. multicast message receive-transmit system according to claim 6 is it is characterised in that described first unicast mac address is institute
State the first MAC Address having management switch,
Described first no management switch be used for receiving multicast message after, according to described first have management switch MAC ground
Location sends multicast message has management switch to described first;
Described first has management switch to be used for judging after receiving multicast message the first unicast mac address of receiving whether
Consistent with the MAC Address of itself, if it is, multicast message is sent having management switch to described second.
10. multicast message receive-transmit system according to claim 6 is it is characterised in that described second unicast mac address is institute
State the MAC Address of information receiving end, the described second no management switch is used for after receiving multicast message, according to described information
The MAC Address of receiving terminal sends multicast message to described information receiving terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610867943.3A CN106411752B (en) | 2016-09-30 | 2016-09-30 | Multicast message receiving/transmission method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610867943.3A CN106411752B (en) | 2016-09-30 | 2016-09-30 | Multicast message receiving/transmission method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106411752A true CN106411752A (en) | 2017-02-15 |
CN106411752B CN106411752B (en) | 2019-06-11 |
Family
ID=59228870
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610867943.3A Active CN106411752B (en) | 2016-09-30 | 2016-09-30 | Multicast message receiving/transmission method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106411752B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101378365A (en) * | 2008-10-07 | 2009-03-04 | 北京星网锐捷网络技术有限公司 | Method for stacking network appliances and stacking port |
CN101447915A (en) * | 2008-12-30 | 2009-06-03 | 吉林中软吉大信息技术有限公司 | Method for realizing automatic and smooth switch among different network topology structures and network device thereof |
CN102331751A (en) * | 2010-07-13 | 2012-01-25 | 北京国电智深控制技术有限公司 | Real-time industrial control system monitoring method and system |
CN103841028A (en) * | 2014-03-24 | 2014-06-04 | 杭州华三通信技术有限公司 | Method and device for forwarding messages |
US20140177511A1 (en) * | 2004-11-05 | 2014-06-26 | Ruckus Wireless, Inc. | Unicast to multicast conversion |
CN105306357A (en) * | 2015-11-10 | 2016-02-03 | 上海斐讯数据通信技术有限公司 | System and method for detecting loopback |
CN105939276A (en) * | 2015-10-29 | 2016-09-14 | 杭州迪普科技有限公司 | Forwarding method and forwarding device of multicast data message |
-
2016
- 2016-09-30 CN CN201610867943.3A patent/CN106411752B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140177511A1 (en) * | 2004-11-05 | 2014-06-26 | Ruckus Wireless, Inc. | Unicast to multicast conversion |
CN101378365A (en) * | 2008-10-07 | 2009-03-04 | 北京星网锐捷网络技术有限公司 | Method for stacking network appliances and stacking port |
CN101447915A (en) * | 2008-12-30 | 2009-06-03 | 吉林中软吉大信息技术有限公司 | Method for realizing automatic and smooth switch among different network topology structures and network device thereof |
CN102331751A (en) * | 2010-07-13 | 2012-01-25 | 北京国电智深控制技术有限公司 | Real-time industrial control system monitoring method and system |
CN103841028A (en) * | 2014-03-24 | 2014-06-04 | 杭州华三通信技术有限公司 | Method and device for forwarding messages |
CN105939276A (en) * | 2015-10-29 | 2016-09-14 | 杭州迪普科技有限公司 | Forwarding method and forwarding device of multicast data message |
CN105306357A (en) * | 2015-11-10 | 2016-02-03 | 上海斐讯数据通信技术有限公司 | System and method for detecting loopback |
Also Published As
Publication number | Publication date |
---|---|
CN106411752B (en) | 2019-06-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105207853B (en) | A kind of LAN method for managing and monitoring | |
CN109640029A (en) | The method and apparatus that wall is shown on a kind of video flowing | |
CN110493351B (en) | Video networking access method, device, equipment and storage medium | |
CN105556916B (en) | The information statistical method and device of network flow | |
CN104954333B (en) | A kind of method to E-Packet, system | |
CN107968751A (en) | A kind of information processing method and device | |
CN110163484A (en) | Suporting structure intelligence operation management system Internet-based and method | |
CN102812744A (en) | Inter-working of EFM-OAM and CFM-OAM for mobile backhaul networks | |
CN109788247A (en) | A kind of method and apparatus monitoring instruction identification | |
CN109787873A (en) | A kind of method and apparatus of multi-to-multi incoming communication | |
CN110381119A (en) | A kind of acquisition methods of log information, system and device and storage medium | |
CN106961400A (en) | A kind of method and system for realizing cloud platform virtual port mirror image | |
CN107277652B (en) | Across the disk LACP link aggregation method and device of PON access system | |
CN107005479A (en) | The method, apparatus and system of data forwarding in software defined network SDN | |
WO2012119428A1 (en) | Method, system and device for implementing multicast in shared network | |
CN106210166B (en) | A kind of system of the capacity of extended wireless controller equiment mac address forwarding table | |
CN103595967B (en) | The monitoring method and device of a kind of suitable multi-operator client access | |
CN109525463A (en) | A kind of method and apparatus of 64 view networking protocol communication functions of detection | |
CN102694734B (en) | Two-layer switching equipment realizes the method for multicast based on linux kernel bridge | |
CN108206819A (en) | A kind of grouping tree sorting method and its system | |
CN102124698B (en) | System and method for exporting structured data in a network management environment | |
CN106411752A (en) | Multicast packet transceiving method and system | |
CN109873817A (en) | A kind of method and apparatus of one-to-one access network | |
CN110618773A (en) | Menu processing method and device, electronic equipment and readable storage medium | |
CN110401683A (en) | A kind of mobile command vehicle traveling track display method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |