CN106209552A - Plug and play network-building method, Apparatus and system - Google Patents
Plug and play network-building method, Apparatus and system Download PDFInfo
- Publication number
- CN106209552A CN106209552A CN201610559831.1A CN201610559831A CN106209552A CN 106209552 A CN106209552 A CN 106209552A CN 201610559831 A CN201610559831 A CN 201610559831A CN 106209552 A CN106209552 A CN 106209552A
- Authority
- CN
- China
- Prior art keywords
- mac address
- test packet
- network
- bridge mac
- transmission equipment
- 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
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/42—Loop networks
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/42—Loop networks
- H04L2012/421—Interconnected ring systems
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the present invention provides a kind of plug and play network-building method, Apparatus and system, and in looped network one meshed network transmission equipment sends test packet as test packet promoter to looped network;After present node web-transporting device listens to the test packet that previous node web-transporting device is sent, extract the sender's bridge MAC Address in test packet, it is compared with the bridge MAC Address of present node web-transporting device, using big for bridge MAC Address person as the sender's bridge MAC Address in the present node web-transporting device test packet that a meshed network transmission equipment sends backward;Test packet after forwarding a circle based on circulation finds out the meshed network transmission equipment that looped network jackshaft MAC Address is maximum;The secondary port blocking the maximum meshed network transmission equipment of bridge MAC Address makes it be only capable of receiving the message that target MAC (Media Access Control) address is test packet multicast address.The present invention can be prevented effectively from broadcast storm, improves the reliability and stability of looped network.
Description
Technical field
The present invention relates to digital information transmission technical field, be specifically related to a kind of plug and play network-building method, device and be
System.
Background technology
Ethernet ring network, is called for short looped network, and it is to be constituted loop network system by a group node network equipment.Due to each node
The network equipment only with adjacent two meshed network equipment physical connections, therefore less input for the network layout of looped network;Due to looped network
In two meshed network equipment between can directly or indirectly carry out network service, and message transmit in looped network maximum time
Between fixing, therefore looped network has good real-time and higher reliability.
Looped network supports point-to-point, the network traffic such as point-to-multipoint, how point-to-multipoint;Looped network supports clean culture, multicast, wide
The multiple network data communication mode such as broadcast, can effectively prevent the out-of-sequence of data and repeat.But, but radio network data communication
Pattern, a broadcasting packet that sender's meshed network equipment sends to looped network broadcast address can be sent to all by looped network duplication
Meshed network equipment, broadcasting packet is full of looped network, takies a large amount of looped network bandwidth, cause looped network hydraulic performance decline, even paralyse, namely
There is broadcast storm.
Therefore, eliminate the broadcast storm in looped network, be that network communication technology field expectation solves the technical problem that.
Summary of the invention
It is an object of the invention to provide a kind of plug and play network-building method, device that can be prevented effectively from broadcast storm and be
System, is beneficial to improve the reliability and stability of looped network.
To achieve these goals, the technical scheme that the embodiment of the present invention uses is as follows:
First aspect, embodiments provides a kind of plug and play network-building method, is applied to for building looped network
Meshed network transmission equipment, when the present node web-transporting device that meshed network transmission equipment passes through as message, it is secondary
The message that port is sent for the previous node web-transporting device monitored and receive in looped network, its master port is in looped network
Later section spot net transmission equipment send message;The method includes:
In looped network one meshed network transmission equipment sends test packet as test packet promoter to looped network;Wherein,
Target MAC (Media Access Control) address in test packet is test packet multicast address, and the sender's bridge MAC Address in test packet is test report
The bridge MAC Address of literary composition promoter;
After present node web-transporting device listens to the test packet that previous node web-transporting device is sent, extract and survey
Sender's bridge MAC Address in examination message, compares it, by bridge with the bridge MAC Address of present node web-transporting device
The big person of MAC Address is as sending out in the present node web-transporting device test packet that a meshed network transmission equipment sends backward
The person's of sending bridge MAC Address;
The meshed network transmission that test packet after forwarding a circle based on circulation finds out looped network jackshaft MAC Address maximum sets
Standby;
The secondary port blocking the maximum meshed network transmission equipment of bridge MAC Address makes it be only capable of receiving target MAC (Media Access Control) address to be
The message of test packet multicast address.
Second aspect, the embodiment of the present invention additionally provides a kind of plug and play network device, is applied to for building looped network
Meshed network transmission equipment, when the present node web-transporting device that meshed network transmission equipment passes through as message, its
The message that secondary port is sent out for the previous node web-transporting device monitored and receive in looped network, its master port is in looped network
Later section spot net transmission equipment send message;This device includes:
Test packet initiates unit, is used for using a meshed network transmission equipment in looped network as test packet promoter to ring
Net sends test packet;Wherein, the target MAC (Media Access Control) address in test packet is test packet multicast address, sending out in test packet
The person's of sending bridge MAC Address is the bridge MAC Address of test packet promoter;
Sender's bridge MAC Address comparison adjustment unit, sender's bridge MAC Address comparison adjustment unit includes sender's bridge
MAC Address extraction unit, bridge MAC Address comparing unit, sender's bridge MAC Address amendment unit;
Sender's bridge MAC Address extraction unit, present node web-transporting device listens to the transmission of previous node network and sets
After the test packet that preparation is come, for extracting the sender's bridge MAC Address in test packet;
Bridge MAC Address comparing unit, for transmitting the sender's bridge MAC Address in test packet with present node network
The bridge MAC Address of equipment compares;
Sender's bridge MAC Address adjustment unit, for using big for bridge MAC Address person as present node web-transporting device to
Sender's bridge MAC Address in the test packet that later section spot net transmission equipment sends;
Unit selected by the meshed network transmission equipment of bridge MAC Address maximum, forwards the test packet after a circle based on circulation
Find out the meshed network transmission equipment that looped network jackshaft MAC Address is maximum;
The meshed network transmission equipment of bridge MAC Address maximum arranges unit, for blocking the node net that bridge MAC Address is maximum
The secondary port of network transmission equipment makes it be only capable of receiving the message that target MAC (Media Access Control) address is test packet multicast address.
The third aspect, the embodiment of the present invention additionally provides a kind of plug and play group network system, sets including meshed network transmission
Standby, meshed network transmission equipment includes microprocessor, memorizer, and microprocessor bus connects memorizer;Multiple meshed networks pass
The looped network that transfer device connects and composes according to ring topology progressive network, when meshed network transmission equipment as message pass through current
During meshed network transmission equipment, the report that its secondary port is sent out for the previous node web-transporting device monitored and receive in looped network
Literary composition, its master port sends message for the later section spot net transmission equipment in looped network;
This system also includes that plug and play network device, plug and play network device are installed in memorizer and include one
Or the multiple software function module performed by microprocessor;
Plug and play network device includes:
Test packet initiates unit, is used for using a meshed network transmission equipment in looped network as test packet promoter to ring
Net sends test packet;Wherein, the target MAC (Media Access Control) address in test packet is test packet multicast address, sending out in test packet
The person's of sending bridge MAC Address is the bridge MAC Address of test packet promoter;
Sender's bridge MAC Address comparison adjustment unit, sender's bridge MAC Address comparison adjustment unit includes sender's bridge
MAC Address extraction unit, bridge MAC Address comparing unit, sender's bridge MAC Address amendment unit;
Sender's bridge MAC Address extraction unit, present node web-transporting device listens to the transmission of previous node network and sets
After the test packet that preparation is come, for extracting the sender's bridge MAC Address in test packet;
Bridge MAC Address comparing unit, for transmitting the sender's bridge MAC Address in test packet with present node network
The bridge MAC Address of equipment compares;
Sender's bridge MAC Address adjustment unit, for using big for bridge MAC Address person as present node web-transporting device to
Sender's bridge MAC Address in the test packet that later section spot net transmission equipment sends;
Unit selected by the meshed network transmission equipment of bridge MAC Address maximum, forwards the test packet after a circle based on circulation
Find out the meshed network transmission equipment that looped network jackshaft MAC Address is maximum;
The meshed network transmission equipment of bridge MAC Address maximum arranges unit, for blocking the node net that bridge MAC Address is maximum
The secondary port of network transmission equipment makes it be only capable of receiving the message that target MAC (Media Access Control) address is test packet multicast address.
The plug and play network-building method of embodiment of the present invention offer, Apparatus and system, circulate repeating process at test packet
In, test packet is often by a present node web-transporting device, based on the sender bridge MAC in the test packet listened to
Address and the bridge MAC Address comparative result of present node web-transporting device, the survey that present node web-transporting device is forwarded
Sender's bridge MAC Address in examination message is revised as the big person of bridge MAC Address, so that in the test packet after circulation forwarding one circle
Sender's bridge MAC Address be the bridge MAC Address of the meshed network transmission equipment that bridge MAC Address is maximum on looped network, by this bridge
MAC Address finds out the meshed network transmission equipment that on looped network, bridge MAC Address is maximum, is passed by meshed network maximum for MAC Address
The secondary port block of transfer device makes it be only capable of receiving the message that target MAC (Media Access Control) address is test packet multicast address, other purposes MAC
The message of address is all abandoned not to be forwarded, thus eliminates looped network by the change of looped network logical topological structure and broadcast wind occurs
Sudden and violent possibility.
For making the above-mentioned purpose of the present invention, feature and advantage to become apparent, preferred embodiment cited below particularly, and coordinate
Appended accompanying drawing, is described in detail below.
Accompanying drawing explanation
Fig. 1 shows the structural representation of embodiment of the present invention applied environment.
Fig. 2 shows and eliminates a kind of plug and play group that the video monitoring system looped network broadcast storm embodiment of the present invention provides
The flow chart of network method.
Fig. 3 shows the schematic network structure of video monitoring system looped network.
Fig. 4 shows that the schematic network structure of link failure occurs in video monitoring system looped network.
Fig. 5 show video monitoring system loop network link fault self-recovery reparation after in looped network the trend of business datum flow show
It is intended to.
Fig. 6 shows what the meshed network transmission equipment of video monitoring system looped network jackshaft MAC Address maximum broke down
Schematic network structure.
Fig. 7 shows that eliminating the maximum meshed network transmission equipment of video monitoring system looped network jackshaft MAC Address event occurs
The flow chart of a kind of plug and play network-building method that the barrier embodiment of the present invention provides.
Fig. 8 shows the structural representation of a kind of plug and play network device that the embodiment of the present invention provides.
Fig. 9 shows the structural representation of sender's bridge MAC Address comparison adjustment unit.
Figure 10 shows the structural representation of sender's bridge MAC Address adjustment unit.
Figure 11 shows the structural representation of a kind of plug and play group network system that the embodiment of the present invention provides.
Wherein, the corresponding relation between reference and component names is as follows:
Meshed network transmission equipment 100, microprocessor 1001, memorizer 1002, master port 1003, secondary port 1004, the
One meshed network transmission equipment 110, secondary nodal point web-transporting device 120, the 3rd meshed network transmission equipment 130, Section four
Spot net transmission equipment 140, the 5th meshed network transmission equipment 150, terminal unit 200, web camera 210, monitor client
End 220, video wall 230, plug and play network device 300, the most secondary port block unit 310, test packet initiates unit
320, sender's bridge MAC Address comparison adjustment unit 330, sender's bridge MAC Address extraction unit 331, bridge MAC Address is more single
Unit 332, sender's bridge MAC Address adjustment unit 333, sender's bridge MAC Address holding unit 3331, sender's bridge MAC Address
Amendment unit 3332, the meshed network transmission equipment of bridge MAC Address maximum selectes unit 340, the node net of bridge MAC Address maximum
Network transmission equipment arranges unit 350, and Fisrt fault repairs unit 360, the second fault restoration unit 370.
Detailed description of the invention
At present, in Ring network technologies field, main use based on Ethernet fault detect with based on switching protection agreement
The proprietary protocol that exhibition is got up eliminates the broadcast storm in looped network.Switch protection, refer to a upper joint when active link breaks down
Data stream is switched to protect on link by spot net transmission equipment, or when host apparatus breaks down, work equipment is from master
With device switching to stand-by equipment.
The proprietary protocol being currently used for eliminating the broadcast storm in looped network mainly has, and the ERP of Ericsson, ERP are
The RRPP of the English abbreviation of EthernetRingProtectionSwitching, Huawei and H3C, RRPP are
The English abbreviation of RapidRingProtechionProtocol, in the ZESR, ZESR of emerging technology be
The English abbreviation of ZTEEthernetSmartRing.Wherein, RRPP is a link layer protocol being specifically applied to Ethernet ring,
When Ethernet ring generation broadcast storm, by disconnecting active link, be switched to data stream protect on link simultaneously recover with
Too communication link between each meshed network transmission equipment on net ring, thus eliminate broadcast storm.
Inventor finds during realizing the present invention, and the broadcast storm using RRPP to eliminate in looped network carries out looped network group
Net, technology implementation difficulty is high, and network configuration is more complicated, and network operation workload is big, and ring network cost is high, can only be suitable for
Build the key looped network that budget is higher., the ring network of cost sensitivity relatively low for networking budget, such as safety-protection system looped network group
Net, industry monitoring control system ring network, water, electricity and gas supply communication system ring network, Internet bar's system ring network, based on
The cable television system ring network of Set Top Box, using the broadcast storm in RRPP elimination looped network to carry out ring network scheme can be real
The property executed is the strongest.
Inventor finds during realizing the present invention, it is not necessary to use based on switching what protection agreement grew up
Proprietary protocol could effectively eliminate broadcast storm.Theoretically, if the logical topological structure when ring network to looped network
It is modified and also can eliminate the broadcast storm in looped network.
Inventor is based on above-mentioned cognition, it is provided that a kind of plug and play network-building method, Apparatus and system.The method, device and
System, elects a meshed network transmission equipment as message forward node web-transporting device in looped network, and it receives transmission
The broadcasting packet that person's meshed network transmission equipment sends, and E-Packet according to message broadcasting address.
The method can be applicable in applied environment as shown in Figure 1.As it is shown in figure 1, this applied environment is by multiple nodes
The looped network that web-transporting device 100 connects and composes according to ring topology progressive network, this looped network also includes transmitting with meshed network
The terminal unit 200 that equipment 100 network connects.
In the embodiment of the present invention, looped network can be the wireless looped network using wireless connections to constitute, it is also possible to be that employing is same
The wired ring networks that at least one wired connection in shaft cable, twisted-pair feeder, optical fiber is constituted, it is also possible to be wireless connections and wired company
Connect the looped network being used in conjunction with constituting.
In the embodiment of the present invention, meshed network transmission equipment 100 can be at least in router, the network switch
Kind, meshed network transmission equipment 100 has Primary port and secondary port.
In the embodiment of the present invention, terminal unit 200, for having the equipment of network communicating function.Terminal unit 200 is permissible
It is at least one in server, industrial computer, work station, client, network input equipment, network outut device.Wherein,
Server can be file server, management server, database server, apps server, WEB service
One in device.
Industrial computer, for the computer for industrial stokehold.
Work station, for having the computer of higher information, figure, image, video processing capabilities compared to personal computer.
Client can be that to have dish client can also be without dish client;
Network input equipment, can be the data acquisition equipment with network function, such as web camera, network sensing
Device, network sound pick-up outfit, network scanner, network telephone;Can also be to include host computer and data acquisition equipment data acquisition
Collecting system.
Network outut device can be network display apparatus, can also be network hard disk video recorder, it is also possible to be that network is beaten
Print outut device, the such as network printer.
Apply below in conjunction with reality, with reference to embodiment of the present invention accompanying drawing, the technical scheme in the embodiment of the present invention is entered
Row clearly and completely describes, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole realities
Execute example.
First embodiment
Described first embodiment is so that during safety defense monitoring system ring network, from mechanism, elimination looped network generation broadcast storm can
As a example by energy, the plug and play network-building method of the present invention is illustrated.
Safety defense monitoring system network includes video monitoring system network and gate control system network.Safety defense monitoring system network
Meshed network transmission equipment includes being arranged on the meshed network transmission equipment of administrative center and being arranged on the node net of security protection section
Network transmission equipment, the meshed network transmission equipment network connection being arranged on administrative center has monitor client, video display devices,
The meshed network transmission equipment network connection being arranged on security protection section has network input equipment, such as web camera, Men Jinshe
Standby.For safety defense monitoring system, administrative center is additionally provided with video data processing apparatus, such as network hard disk video recorder, regards
Frequently server, correspondingly, the meshed network transmission equipment being arranged on administrative center is connected with video data processing apparatus network, depending on
Frequently data processing equipment is connected with monitor client, video display devices network respectively.Above-mentioned web camera, English full name I
PCamera, English abbreviation I PC, for having the video camera of network communicating function for video monitoring.
Compared to gate control system network, the business datum flow of safety defense monitoring system network is bigger, the stability to network
Higher with reliability requirement, therefore, i.e. inserting of the present invention with video monitoring system ring network is by first embodiment of the invention
Illustrate with network-building method, but it should be noted that the plug and play network-building method that first embodiment of the invention provides, equally
It is applicable to gate control system ring network.
Fig. 2 shows and eliminates a kind of plug and play group that the video monitoring system looped network broadcast storm embodiment of the present invention provides
The flow chart of network method.Refer to shown in Fig. 2, the method, it is applied to the meshed network transmission equipment for building looped network, works as joint
During the present node web-transporting device that spot net transmission equipment passes through as message, its secondary port is used for monitoring and receiving looped network
In the message sent of previous node web-transporting device, its master port is for the later section spot net transmission equipment in looped network
Send message;The method includes:
S110, in looped network one meshed network transmission equipment sends test packet as test packet promoter to looped network;
Wherein, the target MAC (Media Access Control) address in test packet is test packet multicast address, and the sender's bridge MAC Address in test packet is
The bridge MAC Address of test packet promoter;
In the first embodiment of the invention, any node web-transporting device in looped network all can be initiated as test packet
Person, the embodiment of the present invention is to selecting which platform meshed network transmission equipment to limit as test packet promoter.Node net
Network transmission equipment sends test packet as test packet promoter to looped network, automatically can carry out at default time point, example
As automatically carried out when meshed network transmission equipment powers on, it is possible to carry out in looped network maintenance time section.The embodiment of the present invention is not
The time point that to looped network, test packet promoter is sent test packet limits.
In the first embodiment of the invention, test packet is protocol massages, and type of message can be universal class, it is also possible to
It it is customization type.Source MAC in test packet is the bridge MAC Address of test packet promoter, the mesh in test packet
MAC Address be test packet multicast address, such as 0180-C200-1234, the sender's bridge MAC Address in test packet is
The bridge MAC Address of test packet promoter;At safety-security area, after the monitoring business of security protection section and security protection section determines, security protection
The topological structure of monitoring system looped network, traffic data transmission path and transmission means also determine that, corresponding message multicast ground
Location also determines that, therefore, test packet multicast address generally uses the message multicast address in actual application, certain test packet
Multicast address can not use the message multicast address in actual application.
In the first embodiment of the invention, test packet promoter sends test packet by its master port to looped network, is
Refer to that test packet promoter is positioned at later section spot net thereafter on looped network by its master port and transmits on physical topological structure
Equipment sends test packet.The secondary port of test packet promoter forwards, for monitoring and receiving circulation, the test packet of returning.
S120, after present node web-transporting device listens to the test packet that previous node web-transporting device is sent,
Extract the sender's bridge MAC Address in test packet, it is compared with the bridge MAC Address of present node web-transporting device
Relatively, using big for bridge MAC Address person as the present node web-transporting device test report that a meshed network transmission equipment sends backward
Sender's bridge MAC Address in literary composition;
In the first embodiment of the invention, the test packet that test packet promoter sends to looped network, on looped network according to
Meshed network transmission equipment order on physical topological structure is sequentially forwarded by meshed network transmission equipment, and test packet passes through
Present node web-transporting device, after listening to the test packet that previous node web-transporting device is sent, extract test report
Sender's bridge MAC Address in literary composition, compares it with the bridge MAC Address of present node web-transporting device, by bridge MAC ground
The big person in location is as the sender in the present node web-transporting device test packet that a meshed network transmission equipment sends backward
Bridge MAC Address.
Wherein, big for bridge MAC Address person is sent out as a present node web-transporting device meshed network transmission equipment backward
The step of the sender's bridge MAC Address in the test packet sent includes:
When the sender's bridge MAC Address in the test packet that previous meshed network transmission equipment is sent is more than present node net
During the bridge MAC Address of network transmission equipment, by the survey that a meshed network transmission equipment sends backward of present node web-transporting device
Sender's bridge MAC Address in examination message keeps constant;
When the sender's bridge MAC Address in the test packet that previous meshed network transmission equipment is sent is less than present node net
During the bridge MAC Address of network transmission equipment, by the survey that a meshed network transmission equipment sends backward of present node web-transporting device
Sender's bridge MAC Address in examination message is revised as the bridge MAC Address of present node web-transporting device.
After test packet circulates forwarding one circle on looped network, test packet can tested message promoter or test report
The secondary port snoop of literary composition promoter's meshed network switching equipment below and reception.
In the first embodiment of the invention, test packet, often by a meshed network transmission equipment, will listen to test
Sender's bridge MAC Address in message, compares with the bridge MAC Address of this meshed network transmission equipment, by test packet
Sender's bridge MAC Address replace to the big person of bridge MAC Address, therefore, test packet circulates the process of forwarding on looped network and is, also
It it is the process of test bridge MAC Address the maximum searching.
S130, the test packet after forwarding a circle based on circulation is found out the maximum meshed network of looped network jackshaft MAC Address and is passed
Transfer device;
In the first embodiment of the invention, it is thus achieved that circulation forwards the test packet after a circle, can initiate from test packet
At person obtain, it is also possible to the meshed network switching equipment after test packet promoter obtains, the embodiment of the present invention not to from
Which platform meshed network switching equipment obtains the test packet after circulation forwards a circle and limits.
In the first embodiment of the invention, the sender's bridge MAC Address in test packet after circulation forwards a circle is ring
Online bridge MAC Address the maximum, the meshed network transmission equipment that this bridge MAC Address the maximum is corresponding is bridge MAC Address on looped network
Maximum meshed network transmission equipment.
In the first embodiment of the invention, test packet is sent to bridge MAC Address from test packet promoter to looped network
The determination of big meshed network transmission equipment completes in 1 millisecond to 20 millisecond, far faster than switching 50 milliseconds of protection.
S140, the secondary port blocking the maximum meshed network transmission equipment of bridge MAC Address makes it be only capable of receiving purpose MAC ground
Location is the message of test packet multicast address.
In the first embodiment of the invention, the secondary port blocking the maximum meshed network transmission equipment of bridge MAC Address makes it
Being only capable of receiving the message that target MAC (Media Access Control) address is test packet multicast address, the message of other target MAC (Media Access Control) address is all abandoned not
Give forwarding, namely eliminated the possibility of looped network generation broadcast storm by the change of looped network logical topological structure.
In the first embodiment of the invention, usual test packet multicast address is the message multicast address in actual application,
If test packet multicast address is not the message multicast address in actual application, then by the test packet group in step S140
Broadcast the message multicast address that address is revised as in actual application.
In the first embodiment of the invention, the meshed network transmission equipment that MAC Address is maximum can turn as broadcasting packet
The meshed network transmission equipment sent out, it is also possible to the meshed network transmission equipment forwarded as multicast message, no matter which kind of situation is equal
Can effectively eliminate the possibility of looped network generation broadcast storm.
In order to improve test packet forward efficiency, in shorter time, obtain the network topology of looped network, further scheme
It is,
Before step S110, the secondary port block of multiple meshed network transmission equipments of looped network make it be only capable of receiving purpose
MAC Address is the message of test packet multicast address;Correspondingly,
The secondary port blocking the maximum meshed network transmission equipment of bridge MAC Address makes it be only capable of receiving target MAC (Media Access Control) address to be
The step of the message of test packet multicast address is:
The described secondary port blocking the maximum meshed network transmission equipment of described bridge MAC Address is maintained to make it be only capable of receiving institute
State the message that target MAC (Media Access Control) address is described test packet multicast address, and meshed network maximum for looped network jackshaft MAC Address is passed
The secondary port of the meshed network transmission equipment outside transfer device is decontroled.
Owing to the secondary port of the multiple meshed network transmission equipments in looped network is blocked, the secondary port after obstruction is only capable of receiving
Target MAC (Media Access Control) address is the message of test packet multicast address, therefore, in looped network forward message amount be greatly reduced, each work as
Front nodal point web-transporting device listens only to and processes test packet, the most significantly shortens the acquisition time of looped network network topology, carries
The networking efficiency of high looped network.
The plug and play network-building method that first embodiment of the invention provides, in test packet circulation repeating process, test
Message often by a present node web-transporting device, based on the sender's bridge MAC Address in the test packet listened to
The bridge MAC Address comparative result of present node web-transporting device, the test packet that present node web-transporting device is forwarded
In sender's bridge MAC Address be revised as the big person of bridge MAC Address so that circulation forward one circle after test packet in transmission
Person's bridge MAC Address is the bridge MAC Address of the meshed network transmission equipment that bridge MAC Address is maximum on looped network, by this bridge MAC Address
Find out the meshed network transmission equipment that on looped network, bridge MAC Address is maximum, by meshed network transmission equipment maximum for MAC Address
Secondary port block makes it be only capable of receiving the message that target MAC (Media Access Control) address is test packet multicast address, the report of other target MAC (Media Access Control) address
Literary composition is all abandoned and is not forwarded, thus by the change of looped network logical topological structure eliminate looped network generation broadcast storm can
Energy.
Based on network structure and business datum same or like, that first embodiment of the invention provides plug and play group
Network method, is not limited to safety-protection system ring network, be also applied for industry monitoring control system, water, electricity and gas supply communication system,
Internet bar's system ring network, applies also for cable television system ring network based on Set Top Box, such as video on-demand system ring
Net networking.
Second embodiment
As a example by there is link failure when safety defense monitoring system loop-net operation in described second embodiment, the most slotting to the present invention
I.e. illustrate with network-building method.
As first embodiment of the invention, the safety defense monitoring system looped network of second embodiment of the invention is by multiple nodes
The looped network that web-transporting device progressive network connects and composes, the master port of multiple meshed network transmission equipments is for sending to looped network
Message, secondary port is for the message monitored and receive in looped network.It should be noted that the safety monitoring of second embodiment of the invention
System looped network, just makes it only by the secondary port of the meshed network transmission equipment of obstruction bridge MAC Address maximum when ring network
The message that target MAC (Media Access Control) address is test packet multicast address can be received, from mechanism, eliminate safety defense monitoring system looped network produce wide
Broadcast the possibility of storm.
During safety defense monitoring system loop-net operation, link failure occurs, refer to when safety defense monitoring system looped network comes into operation, ring
Interrupted communication link between two meshed network transmission equipments in net.
The technical problem of link failure occurs during for the ease of being clearly understood that loop-net operation, and is easy to fairly set out the present invention
The technical scheme of the second embodiment, as first embodiment of the invention, in second embodiment of the invention, supervises with video equally
As a example by Ore-controlling Role looped network, the plug and play network-building method to the present invention illustrates.
Meanwhile, in order to reduce the understanding difficulty of the technical scheme of second embodiment of the invention, in second embodiment of the invention
In, it is assumed that the quantity of administrative center is one, and the quantity of monitoring section is four.But it should be recognized that the present invention second is real
Executing example and being not limited to the quantity of administrative center is one, the situation that quantity is four of monitoring section, second embodiment of the invention
The quantity of administrative center and monitoring section is not construed as limiting.
Fig. 3 shows the schematic network structure of video monitoring system looped network.Refer to, shown in Fig. 3, set in administrative center
Put a meshed network transmission equipment, be defined as primary nodal point web-transporting device 110, set respectively at four monitoring sections
Put a meshed network transmission equipment, be respectively defined as secondary nodal point web-transporting device the 120, the 3rd meshed network transmission equipment
130, fourth node web-transporting device the 140, the 5th meshed network transmission equipment 150.Primary nodal point web-transporting device 110,
Secondary nodal point web-transporting device the 120, the 3rd meshed network transmission equipment 130, fourth node web-transporting device the 140, the 5th
The physics looped network that meshed network transmission equipment 150 connects and composes according to ring topology progressive network.
Wherein, secondary nodal point web-transporting device the 120, the 3rd meshed network transmission equipment 130, the transmission of fourth node network
Equipment the 140, the 5th meshed network transmission equipment 150 is connected to web camera 210, and web camera 210 is in real time
Gathering the live video image of web camera 210 place monitoring section, the live video figure obtained recorded by web camera 210
As data stream transmitting passes to corresponding meshed network transmission equipment, corresponding meshed network transmission equipment by logistics looped network
Primary nodal point web-transporting device 110.
Primary nodal point web-transporting device 110 network connects monitor client 220 and video wall 230, by monitoring visitor
The live video image that multichannel network camera is recorded is shown by family end 220 or video wall 230 in real time.
Fig. 4 shows that the schematic network structure of link failure occurs in video monitoring system looped network.Refer to shown in Fig. 4,
When this video monitoring system ring network, according to the node that secondary nodal point web-transporting device 120 is MAC Address maximum
The logical topological structure of this video monitoring system looped network is modified by web-transporting device, namely blocks bridge secondary nodal point network
The secondary port of transmission equipment 120 makes it be only capable of receiving the message that target MAC (Media Access Control) address is test packet multicast address.This video monitoring
When system looped network comes into operation, test packet multicast address that is to say message multicast address.
This video monitoring system looped network comes into operation after operation a period of time, fourth node web-transporting device 140 and the
Between five meshed network transmission equipments 150, network communication link interrupts, at this moment from the main side of secondary nodal point web-transporting device 120
The message that target MAC (Media Access Control) address is message multicast address that mouth sends, it is impossible to arrive the secondary end of secondary nodal point web-transporting device 120
Mouthful, namely the integrity of this video monitoring system looped network goes wrong.
The situation of link failure occur for video monitoring system looped network, second embodiment of the invention is real in the present invention first
A kind of plug and play network-building method is provided on the basis of executing example.When link failure occurs in looped network, the method is in the present invention first
Further comprise the steps of: on the basis of embodiment
The secondary port of meshed network transmission equipment maximum for blocked bridge MAC Address is decontroled so that it is looped network can be received
The message of other target MAC (Media Access Control) address outside middle test packet multicast address.
Fig. 5 show video monitoring system loop network link fault self-recovery reparation after in looped network the trend of business datum flow show
It is intended to.Refer to shown in Fig. 5, after the secondary port relieving that secondary nodal point web-transporting device 120 is blocked, link failure one end
Fourth node web-transporting device 140 send video stream business data message sequentially through the 3rd meshed network transmission equipment 130,
Secondary nodal point web-transporting device 120 is transmitted to primary nodal point web-transporting device 110, primary nodal point web-transporting device 110
Video stream business data message is transmitted to monitor client 220 and TV display wall again, and monitor client 220 and TV show
Wall real-time display monitoring video image.
The video stream business data message that 5th meshed network transmission equipment 150 of the link failure other end sends is transmitted to
Primary nodal point web-transporting device 110, video stream business data message is transmitted to prison by primary nodal point web-transporting device 110 again
Control client 220 and TV display wall, monitor client 220 and TV display wall real-time display monitoring video image.
Equally, the network shooting that the 3rd meshed network transmission equipment 130, secondary nodal point web-transporting device 120 receive
The video stream business data of machine 210, also can be transmitted to primary nodal point web-transporting device 110 with the form of message, monitor client
It is right with the 3rd meshed network transmission equipment 130, secondary nodal point web-transporting device 120 that end 220 and TV display wall show in real time
The monitor video image that the web camera 210 answered is recorded.
, there is link failure at video monitoring system looped network in the plug and play network-building method that second embodiment of the invention provides
Time, the secondary port of meshed network transmission equipment maximum for blocked bridge MAC Address is decontroled and can receive purpose in looped network
MAC Address is other messages outside test packet multicast address, thus in the case of link not being carried out peripheral doses, passes through
The amendment of looped network logical topological structure, it is achieved the self-healing reparation of video monitoring system loop network link fault.
Based on network structure and business datum same or like, that second embodiment of the invention provides plug and play group
Network method, is not limited to safety-protection system ring network, be also applied for industry monitoring control system, water, electricity and gas supply communication system,
Internet bar's system ring network, applies also for cable television system ring network based on Set Top Box, such as video on-demand system ring
Net networking.
3rd embodiment
As a example by described 3rd embodiment meshed network transmission equipment fault occurs when safety defense monitoring system loop-net operation, right
The plug and play network-building method of the present invention illustrates.
As first embodiment of the invention and second embodiment of the invention, the safety monitoring system of third embodiment of the invention
System looped network is the looped network connected and composed by multiple meshed network transmission equipment progressive networks, the master of multiple meshed network transmission equipments
Port is for sending message to looped network, and secondary port is for the message monitored and receive in looped network.It should be noted that the present invention
The safety defense monitoring system looped network of three embodiments, the meshed network transmission just maximum by blocking bridge MAC Address when ring network
The secondary port of equipment makes it be only capable of receiving the message that target MAC (Media Access Control) address is test packet multicast address, eliminates security protection from mechanism
Monitoring system looped network produces the possibility of broadcast storm.
Meshed network transmission equipment fault occurs during safety defense monitoring system loop-net operation, refers to that safety defense monitoring system looped network is thrown
When entering to use, the meshed network transmission equipment in looped network breaks down, it is impossible to realizes message monitoring and receives and/or message forwarding.
Meshed network transmission equipment fault, the meshed network transmission equipment maximum including looped network jackshaft MAC Address breaks down and bridge MAC
Address off-peak meshed network transmission equipment breaks down.
The technical problem of meshed network transmission equipment fault occurs during for the ease of being clearly understood that loop-net operation, and is easy to clear
Chu illustrates the technical scheme of third embodiment of the invention, as first embodiment of the invention, second embodiment of the invention, at this
Invent in the 3rd embodiment and as a example by video monitoring system looped network, the plug and play network-building method of the present invention is illustrated equally.
Meanwhile, in order to reduce the understanding difficulty of the technical scheme of third embodiment of the invention, third embodiment of the invention
As the video monitoring system looped network of video monitoring system looped network and second embodiment of the invention is in network structure.
If meshed network transmission equipment fault is bridge MAC Address, off-peak meshed network transmission equipment breaks down,
At this moment the effect that meshed network transmission equipment fault is brought is and the looped network video monitoring system in second embodiment of the invention
Occur that the effect of link failure is the same, correspondingly, break down for MAC Address off-peak meshed network transmission equipment, this
That invents the 3rd embodiment offer i.e. i.e. uses spontaneous recovery network-building method with what spontaneous recovery network-building method and second embodiment of the invention provided
Identical, for convenience and simplicity of description, the process of implementing can refer to second embodiment of the invention provide i.e. use spontaneous recovery networking
The specific descriptions of method, this is no longer going to repeat them.
Fig. 6 shows what the meshed network transmission equipment of video monitoring system looped network jackshaft MAC Address maximum broke down
Schematic network structure.Referring to shown in Fig. 6, the meshed network transmission equipment maximum when looped network jackshaft MAC Address breaks down,
Namely secondary nodal point web-transporting device breaks down, then the secondary port of primary nodal point web-transporting device, can not monitor
The message that purpose MAC is message multicast address is sent to the master port that can not receive secondary nodal point web-transporting device.
Fig. 7 shows that eliminating the maximum meshed network transmission equipment of video monitoring system looped network jackshaft MAC Address event occurs
The flow chart of a kind of plug and play network-building method that the barrier embodiment of the present invention provides.Refer to shown in Fig. 7, the method is in the present invention
On the basis of first embodiment, further comprising the steps of:
S310, the node being connected with the meshed network transmission equipment network that port secondary in looped network is maximum with stating bridge MAC Address
Web-transporting device sends test packet as test packet promoter to looped network;Wherein, the target MAC (Media Access Control) address in test packet
For test packet multicast address, the bridge MAC Address that sender's bridge MAC Address is test packet promoter in test packet;
The process of implementing refer to step S110 of first embodiment of the invention.Step with first embodiment of the invention
Unlike S110, in step S310, test packet promoter is the node net that in looped network, secondary port is maximum with stating bridge MAC Address
The meshed network transmission equipment that network transmission equipment network connects.
S320, after present node web-transporting device listens to the test packet that previous node web-transporting device is sent,
Extract the sender's bridge MAC Address in test packet, it is compared with the bridge MAC Address of self, by big for bridge MAC Address person
As the sender bridge MAC ground in the present node web-transporting device test packet that a meshed network transmission equipment sends backward
Location;
The process of implementing refer to step S120 of first embodiment of the invention.
S330, the meshed network being connected based on the meshed network transmission equipment network that master port is maximum with stating bridge MAC Address
Transmission equipment is monitored or is received test packet and finds out the meshed network transmission equipment that looped network jackshaft MAC Address is second largest.
The process of implementing refer to step S130 of first embodiment of the invention.Although to find out in step S330 is ring
The meshed network transmission equipment that net jackshaft MAC Address is second largest, but it is also that the bridge MAC Address that in looped network, energy is properly functioning is maximum
Meshed network transmission equipment.Unlike step S110 of first embodiment of the invention, step S330 is used for find out ring
The test packet of the meshed network transmission equipment that net jackshaft MAC Address is second largest is, based on master port with to state bridge MAC Address maximum
Meshed network transmission equipment network connect meshed network transmission equipment monitor or receive test packet.
The plug and play network-building method that third embodiment of the invention provides, passes at the off-peak meshed network of bridge MAC Address
The method that second embodiment of the invention is identical is used, in the situation that link is not carried out peripheral doses when transfer device breaks down
Under, by the amendment of looped network logical topological structure, it is achieved the off-peak meshed network of video monitoring system ring bridge MAC address passes
The self-healing reparation of transfer device fault;When the meshed network transmission equipment that bridge MAC Address is maximum breaks down, by looped network
Properly functioning meshed network transmission equipment finds out the meshed network transmission equipment that bridge MAC Address is maximum, namely looped network jackshaft MAC
The meshed network transmission equipment that address is second largest, repaiies the meshed network transmission equipment that bridge MAC Address is maximum not being carried out physics
In the case of Fu, by the change of looped network logical topological structure, it is achieved the joint that video monitoring system looped network jackshaft MAC Address is maximum
The self-healing reparation of spot net transmission equipment fault.
Based on network structure and business datum same or like, that third embodiment of the invention provides plug and play group
Network method, is not limited to safety-protection system ring network, be also applied for industry monitoring control system, water, electricity and gas supply communication system,
Internet bar's system ring network, applies also for cable television system ring network based on Set Top Box, such as video on-demand system ring
Net networking.
It should be noted that either in second embodiment of the invention, or in third embodiment of the invention, either chain
Road fault or meshed network transmission equipment fault, the ring after the plug and play network-building method reparation that the embodiment of the present invention provides
The secondary port of the meshed network transmission equipment that bridge MAC Address properly functioning in net is maximum cannot receive what its master port sent
Receiving the message that target MAC (Media Access Control) address is message multicast address, therefore its secondary port does not blocks, and also will not cause broadcast storm.
Simultaneously also, it should be noted joint in second embodiment of the invention link fault and third embodiment of the invention
Business datum flow convergence time after spot net transmission equipment fault, depends on that meshed network transmission equipment sends purpose MAC
Message for message multicast address is spaced, and this message interval can be set according to the performance of actual node web-transporting device,
Such as message is set to 10 milliseconds, 50 milliseconds or 1 second etc. interval time.
4th embodiment
Described 4th embodiment provides a kind of plug and play network device.This device can be applicable to the present invention first and implements
Applied environment in example, the second embodiment, the 3rd embodiment.
Fig. 8 shows the structural representation of a kind of plug and play network device 300 that the embodiment of the present invention provides.Refer to
Shown in Fig. 8, this plug and play network device 300, it is applied to the meshed network transmission equipment for building looped network, works as meshed network
During the present node web-transporting device that transmission equipment passes through as message, its secondary port is before monitoring and receiving in looped network
The message that one meshed network transmission equipment is sent out, its master port sends report for the later section spot net transmission equipment in looped network
Literary composition;
Plug and play network device 300 is installed in memorizer 1002 and includes one or more being held by microprocessor 1001
The software function module of row;This plug and play network device 300 includes that test packet initiates unit 320, sender's bridge MAC Address
The meshed network transmission equipment of comparison adjustment unit 330, bridge MAC Address maximum selectes unit 340, the joint of bridge MAC Address maximum
Spot net transmission equipment arranges unit 350.Wherein,
Test packet initiates unit 320, for using a meshed network transmission equipment in looped network as test packet promoter
Test packet is sent to looped network;Wherein, the target MAC (Media Access Control) address in test packet is test packet multicast address, in test packet
The bridge MAC Address that sender's bridge MAC Address is test packet promoter;
Sender's bridge MAC Address comparison adjustment unit 330, as it is shown in figure 9, sender's bridge MAC Address comparison adjustment unit
330 include sender's bridge MAC Address extraction unit 331, bridge MAC Address comparing unit 332, sender's bridge MAC Address amendment
Unit 3332;
Sender's bridge MAC Address extraction unit 331, present node web-transporting device listens to the transmission of previous node network
After the test packet that equipment is sent, for extracting the sender's bridge MAC Address in test packet;
Bridge MAC Address comparing unit 332, for by the sender's bridge MAC Address in test packet and present node network
The bridge MAC Address of transmission equipment compares;
Sender's bridge MAC Address adjustment unit 333, for setting big for bridge MAC Address person as the transmission of present node network
Sender's bridge MAC Address in the standby backward test packet that a meshed network transmission equipment sends;
Wherein, as shown in Figure 10, sender's bridge MAC Address adjustment unit 333 includes:
Sender's bridge MAC Address holding unit 3331, when in the test packet that previous meshed network transmission equipment is sent
When sender's bridge MAC Address is more than the bridge MAC Address of present node web-transporting device, for the transmission of present node network is set
Sender's bridge MAC Address in the standby backward test packet that a meshed network transmission equipment sends keeps constant;
Sender's bridge MAC Address amendment unit 3332, when in the test packet that previous meshed network transmission equipment is sent
When sender's bridge MAC Address is less than the bridge MAC Address of present node web-transporting device, for the transmission of present node network is set
Sender's bridge MAC Address in the standby backward test packet that a meshed network transmission equipment sends is revised as present node network and passes
The bridge MAC Address of transfer device.
Unit 340 selected by the meshed network transmission equipment of bridge MAC Address maximum, forwards the test report after a circle based on circulation
The meshed network transmission equipment that looped network jackshaft MAC Address is maximum found out in literary composition;
The meshed network transmission equipment of bridge MAC Address maximum arranges unit 350, for blocking the joint that bridge MAC Address is maximum
The secondary port of spot net transmission equipment makes it be only capable of receiving the message that target MAC (Media Access Control) address is test packet multicast address.
In order to improve the efficiency that test packet circulation forwards, in shorter time, obtain the network topology of looped network, further
Scheme be, plug and play network device 300, also include all secondary port block unit 310;
The most secondary port block unit 310, in looped network one meshed network transmission equipment as test packet promoter
Before looped network sends test packet, for making it be only capable of connecing the secondary port block of multiple meshed network transmission equipments of looped network
Receive the message that target MAC (Media Access Control) address is test packet multicast address;
The meshed network transmission equipment of bridge MAC Address maximum arranges unit 350, the test after forwarding a circle based on circulation
After message finds out the meshed network transmission equipment that looped network jackshaft MAC Address is maximum, it is used for maintaining the described bridge MAC Address of obstruction
It is described test packet multicast that the described secondary port of big meshed network transmission equipment makes it be only capable of receiving described target MAC (Media Access Control) address
The message of address, and by the pair of the meshed network transmission equipment outside meshed network transmission equipment maximum for looped network jackshaft MAC Address
Port is decontroled.
Repair link failure for spontaneous recovery or looped network jackshaft MAC Address off-peak meshed network transmission equipment goes out
Existing fault, further scheme is, plug and play network device 300 also includes that Fisrt fault repairs unit 360, when looped network occurs
When link failure or looped network jackshaft MAC Address off-peak meshed network transmission equipment break down, for by blocked
The secondary port of the meshed network transmission equipment that bridge MAC Address is maximum is decontroled so that it is can receive test packet multicast address in looped network
The message of other outer target MAC (Media Access Control) address.
The meshed network transmission equipment repairing bridge MAC Address maximum for spontaneous recovery breaks down, and further scheme is, i.e.
Plug-and-play network device 300 also includes:
Second fault restoration unit 370, the second fault restoration unit 370 includes that test packet initiates unit 320, sender
Unit selected by the second largest meshed network transmission equipment of bridge MAC Address adjustment unit 333, bridge MAC Address;Wherein,
Test packet initiates unit 320, and the meshed network transmission equipment maximum when looped network jackshaft MAC Address breaks down
Time, it is additionally operable to the meshed network being connected with the meshed network transmission equipment network that port secondary in looped network is maximum with stating bridge MAC Address
Transmission equipment sends test packet as test packet promoter to looped network;Wherein, the target MAC (Media Access Control) address in test packet is for surveying
Examination message multicast address, the bridge MAC Address that sender's bridge MAC Address is test packet promoter in test packet;
Sender's bridge MAC Address adjustment unit 333 includes sender's bridge MAC Address extraction unit 331, bridge MAC Address ratio
Relatively unit 332, sender's bridge MAC Address amendment unit 3332;
Sender's bridge MAC Address extraction unit 331, present node web-transporting device listens to the transmission of previous node network
After the test packet that equipment is sent, for extracting the sender's bridge MAC Address in test packet;
Bridge MAC Address comparing unit 332, for by the sender's bridge MAC Address in test packet and present node network
The bridge MAC Address of transmission equipment compares;
Sender's bridge MAC Address adjustment unit 333, for setting big for bridge MAC Address person as the transmission of present node network
Sender's bridge MAC Address in the standby backward test packet that a meshed network transmission equipment sends;
Unit selected by the second largest meshed network transmission equipment of bridge MAC Address, when the node that looped network jackshaft MAC Address is maximum
When web-transporting device breaks down, for the meshed network transmission equipment network maximum with stating bridge MAC Address based on master port
The meshed network transmission equipment connected is monitored or is received test packet and finds out the node net that looped network jackshaft MAC Address is second largest
Network transmission equipment.
The process that realizes of fourth embodiment of the invention and the effect of acquirement can to should refer to first embodiment of the invention, this
Bright second embodiment, third embodiment of the invention.
Each unit module in the fourth embodiment of the present invention can be by software code realization, now, and above-mentioned each mould
Block is installed in memorizer 1002.Above each unit is equally realized by hardware such as IC chip.Art
Technical staff is it can be understood that arrive, for convenience and simplicity of description, and the specific descriptions of the functional module of foregoing description are permissible
With reference to the specific descriptions of aforesaid corresponding method step, this is no longer going to repeat them.
5th embodiment
Described 5th embodiment provides a kind of plug and play group network system.This system can be applicable to the application of first embodiment
Environment.
Figure 11 shows the structural representation of a kind of plug and play group network system that the embodiment of the present invention provides.Refer to figure
Shown in 11, this system, including meshed network transmission equipment 100, meshed network transmission equipment 100 includes microprocessor 1001, deposits
Reservoir 1002, microprocessor 1001 bus connects memorizer 1002;Multiple meshed network transmission equipments 100 are suitable according to ring topology
The looped network that secondary network connects and composes, when the present node web-transporting device that meshed network transmission equipment 100 passes through as message
When 100, the message of its secondary port 1004 previous node web-transporting device 100 for monitoring and receive in looped network, it is main
Port 1003 sends message for the later section spot net transmission equipment 100 in looped network;
This system also includes that plug and play network device 300, plug and play network device 300 are installed in memorizer 1002
And include one or more software function module performed by microprocessor 1001;
Plug and play network device 300 includes:
Test packet initiates unit 320, for initiating using a meshed network transmission equipment 100 in looped network as test packet
Person sends test packet to looped network;Wherein, the target MAC (Media Access Control) address in test packet is test packet multicast address, test packet
In the bridge MAC Address that sender's bridge MAC Address is test packet promoter;
Sender's bridge MAC Address comparison adjustment unit 330, sender's bridge MAC Address comparison adjustment unit 330 includes sending
Person's bridge MAC Address extraction unit, bridge MAC Address comparing unit, sender's bridge MAC Address amendment unit;
Sender's bridge MAC Address extraction unit, present node web-transporting device 100 listens to the transmission of previous node network
After the test packet that equipment 100 is sent, for extracting the sender's bridge MAC Address in test packet;
Bridge MAC Address comparing unit, for transmitting the sender's bridge MAC Address in test packet with present node network
The bridge MAC Address of equipment 100 compares;
Sender's bridge MAC Address adjustment unit, is used for big for bridge MAC Address person as present node web-transporting device
Sender's bridge MAC Address in 100 test packets that a meshed network transmission equipment 100 sends backward;
Unit 340 selected by the meshed network transmission equipment of bridge MAC Address maximum, forwards the test report after a circle based on circulation
The meshed network transmission equipment 100 that looped network jackshaft MAC Address is maximum found out in literary composition;
The meshed network transmission equipment of bridge MAC Address maximum arranges unit 350, for blocking the joint that bridge MAC Address is maximum
The secondary port 1004 of spot net transmission equipment 100 makes it be only capable of receiving the message that target MAC (Media Access Control) address is test packet multicast address.
With reference to fourth embodiment of the invention, fifth embodiment of the invention is increasing the most secondary port block unit 310, and will
The meshed network transmission equipment of bridge MAC Address maximum arranges unit 350 and is adjusted to the test report after forwarding a circle based on circulation
After the meshed network transmission equipment 100 that looped network jackshaft MAC Address is maximum found out in literary composition, for looped network jackshaft MAC Address is maximum
Meshed network transmission equipment 100 outside meshed network transmission equipment 100 secondary port 1004 decontrol in the case of, can significantly contract
The acquisition time of becate network topology, improve the networking efficiency of looped network.
With reference to fourth embodiment of the invention, fifth embodiment of the invention repairs the situation of unit 360 increasing Fisrt fault
Under, can be applicable to applied environment and the applied environment of the 3rd embodiment of the second embodiment.
With reference to fourth embodiment of the invention, fifth embodiment of the invention is increasing the situation of the second fault restoration unit 370
Under, can be applicable to the applied environment of the 3rd embodiment.
The work process of the plug and play group network system of fifth embodiment of the invention refer to fourth embodiment of the invention
The implementation process that plug and play network device 300 is corresponding.
In sum, the plug and play network-building method of embodiment of the present invention offer, Apparatus and system, be to find out bridge in looped network
The transmission equipment that MAC Address is maximum, making it be only capable of receiving target MAC (Media Access Control) address its secondary port block is test packet multicast address
Message, the message of other target MAC (Media Access Control) address is all abandoned not to be forwarded, thus by the change of looped network logical topological structure
Eliminate the possibility of looped network generation broadcast storm.By decontroling blocked secondary port, it is achieved in the case of not carrying out peripheral doses,
Link failure and bridge MAC Address off-peak meshed network transmission equipment fault is repaired by change logical topology self-healing.Logical
Cross and find out the meshed network transmission equipment that bridge MAC Address is maximum, Ye Jihuan at the meshed network transmission equipment that looped network is properly functioning
The meshed network transmission equipment that net jackshaft MAC Address is second largest, is not entering the meshed network transmission equipment that bridge MAC Address is maximum
In the case of row peripheral doses, it is achieved the meshed network transmission equipment fault that video monitoring system looped network jackshaft MAC Address is maximum
Self-healing reparation.
Claims (11)
1. plug and play network-building method, is applied to the meshed network transmission equipment for building looped network, when described meshed network passes
During the present node web-transporting device that transfer device passes through as message, its secondary port for monitor and receive in looped network previous
The message that meshed network transmission equipment is sent, its master port sends report for the later section spot net transmission equipment in looped network
Literary composition;It is characterized in that, described method includes:
In described looped network, a meshed network transmission equipment sends test packet as test packet promoter to described looped network;Its
In, the target MAC (Media Access Control) address in described test packet is test packet multicast address, the sender bridge MAC in described test packet
Address is the bridge MAC Address of described test packet promoter;
After described present node web-transporting device listens to the test packet that described previous node web-transporting device is sent, carry
Take the sender's bridge MAC Address in described test packet, it is compared with the bridge MAC Address of present node web-transporting device
Relatively, big for bridge MAC Address person is sent as described present node web-transporting device to described later section spot net transmission equipment
Test packet in sender's bridge MAC Address;
Test packet after forwarding a circle based on circulation finds out the meshed network transmission equipment that looped network jackshaft MAC Address is maximum;
The described secondary port blocking the maximum meshed network transmission equipment of described bridge MAC Address makes it be only capable of receiving described purpose
MAC Address is the message of described test packet multicast address.
Plug and play network-building method the most according to claim 1, it is characterised in that described using big for bridge MAC Address person as
Described present node web-transporting device sender's bridge in the test packet that described later section spot net transmission equipment sends
The step of MAC Address includes:
When the sender's bridge MAC Address in the test packet that described previous node web-transporting device is sent works as prosthomere more than described
During the bridge MAC Address of spot net transmission equipment, described present node web-transporting device is transmitted to described later section spot net
Sender's bridge MAC Address in the test packet that equipment sends keeps constant;
When the sender's bridge MAC Address in the test packet that described previous node web-transporting device is sent works as prosthomere less than described
During the bridge MAC Address of spot net transmission equipment, described present node web-transporting device is transmitted to described later section spot net
Sender's bridge MAC Address in the test packet that equipment sends is revised as the bridge MAC ground of described present node web-transporting device
Location.
Plug and play network-building method the most according to claim 1 and 2, it is characterised in that in step is with described looped network one
Meshed network transmission equipment is as test packet promoter before described looped network sends test packet, and described method also includes:
It is made to be only capable of receiving described purpose the described secondary port block of the multiple described meshed network transmission equipment of described looped network
MAC Address is the message of described test packet multicast address;
The described secondary port of the meshed network transmission equipment that described obstruction described bridge MAC Address is maximum makes it be only capable of receiving described mesh
The step of the message that MAC Address is described test packet multicast address be:
The described secondary port blocking the maximum meshed network transmission equipment of described bridge MAC Address is maintained to make it be only capable of receiving described mesh
The message that MAC Address is described test packet multicast address, and by node net maximum for bridge MAC Address described in described looped network
The secondary port of the meshed network transmission equipment outside network transmission equipment is decontroled.
Plug and play network-building method the most according to claim 1 and 2, it is characterised in that
When described looped network occurs that link failure or described looped network jackshaft MAC Address off-peak meshed network transmission equipment occur
During fault, described method also includes:
The described secondary port of meshed network transmission equipment maximum for blocked described bridge MAC Address is decontroled so that it is can receive
The message of other target MAC (Media Access Control) address outside test packet multicast address described in looped network.
Plug and play network-building method the most according to claim 1 and 2, it is characterised in that
When the meshed network transmission equipment that bridge MAC Address described in described looped network is maximum breaks down, described method also includes:
Set with the meshed network transmission that the meshed network transmission equipment network that port secondary in looped network is maximum with stating bridge MAC Address is connected
Test packet is sent to described looped network for as test packet promoter;Wherein, the target MAC (Media Access Control) address in described test packet is
Test packet multicast address, the bridge MAC that sender's bridge MAC Address the is described test packet promoter ground in described test packet
Location;
After described present node web-transporting device listens to the test packet that described previous node web-transporting device is sent, carry
Take the sender's bridge MAC Address in described test packet, it is compared with the bridge MAC Address of self, by big for bridge MAC Address
Person is as described present node web-transporting device sending out in the test packet that described later section spot net transmission equipment sends
The person's of sending bridge MAC Address;
The meshed network transmission equipment prison being connected based on the meshed network transmission equipment network that master port is maximum with stating bridge MAC Address
Listen or receive test packet and find out the meshed network transmission equipment that looped network jackshaft MAC Address is second largest.
6. plug and play network device, is applied to the meshed network transmission equipment for building looped network, when described meshed network passes
During the present node web-transporting device that transfer device passes through as message, its secondary port for monitor and receive in looped network previous
The message that meshed network transmission equipment is sent out, its master port sends message for the later section spot net transmission equipment in looped network;
It is characterized in that, described device includes:
Test packet initiates unit, is used for using a meshed network transmission equipment in described looped network as test packet promoter to institute
State looped network and send test packet;Wherein, the target MAC (Media Access Control) address in described test packet is test packet multicast address, described survey
The bridge MAC Address that sender's bridge MAC Address is described test packet promoter in examination message;
Sender's bridge MAC Address comparison adjustment unit, described sender's bridge MAC Address comparison adjustment unit includes sender's bridge
MAC Address extraction unit, bridge MAC Address comparing unit, sender's bridge MAC Address amendment unit;
Sender's bridge MAC Address extraction unit, described present node web-transporting device listens to described previous node network and passes
After the test packet that transfer device is sent, for extracting the sender's bridge MAC Address in described test packet;
Bridge MAC Address comparing unit, for transmitting the sender's bridge MAC Address in described test packet with present node network
The bridge MAC Address of equipment compares;
Sender's bridge MAC Address adjustment unit, for using big for bridge MAC Address person as described present node web-transporting device to
Sender's bridge MAC Address in the test packet that described later section spot net transmission equipment sends;
Unit selected by the meshed network transmission equipment of bridge MAC Address maximum, and the test packet after forwarding a circle based on circulation is found out
The meshed network transmission equipment that looped network jackshaft MAC Address is maximum;
The meshed network transmission equipment of bridge MAC Address maximum arranges unit, for blocking the node net that described bridge MAC Address is maximum
The described secondary port of network transmission equipment makes it be only capable of receiving the report that described target MAC (Media Access Control) address is described test packet multicast address
Literary composition.
Plug and play network device the most according to claim 6, it is characterised in that described sender's bridge MAC Address adjusts
Unit includes:
Sender's bridge MAC Address holding unit, the transmission in the test packet that described previous node web-transporting device is sent
When person's bridge MAC Address is more than the bridge MAC Address of described present node web-transporting device, for described present node network is passed
Transfer device sender's bridge MAC Address in the test packet that described later section spot net transmission equipment sends keeps constant;
Sender's bridge MAC Address amendment unit, the transmission in the test packet that described previous node web-transporting device is sent
When person's bridge MAC Address is less than the bridge MAC Address of described present node web-transporting device, for described present node network is passed
Transfer device sender's bridge MAC Address in the test packet that described later section spot net transmission equipment sends is revised as described working as
The bridge MAC Address of front nodal point web-transporting device.
8. according to the plug and play network device described in claim 6 or 7, it is characterised in that described device also includes whole pair
Port block unit;
Described whole secondary port block unit, at a meshed network transmission equipment in described looped network as test packet promoter
Before described looped network sends test packet, for by the described secondary end of the multiple described meshed network transmission equipment of described looped network
Mouth blocks makes it be only capable of receiving the message that described target MAC (Media Access Control) address is described test packet multicast address;
The meshed network transmission equipment of described bridge MAC Address maximum arranges unit, the test report after forwarding a circle based on circulation
After the meshed network transmission equipment that looped network jackshaft MAC Address is maximum found out in literary composition, it is used for maintaining the described bridge MAC Address of obstruction maximum
The described secondary port of meshed network transmission equipment to make it be only capable of receiving described target MAC (Media Access Control) address be described test packet multicast ground
The message of location, and the meshed network transmission outside meshed network transmission equipment maximum for bridge MAC Address described in described looped network is set
Standby secondary port is decontroled.
9. according to the plug and play network device described in claim 6 or 7, it is characterised in that described device also includes:
Fisrt fault repairs unit, when link failure or the described looped network off-peak joint of jackshaft MAC Address occurs in described looped network
When spot net transmission equipment breaks down, for the meshed network transmission equipment that blocked described bridge MAC Address is maximum
Described secondary port is decontroled so that it is can receive the message of other target MAC (Media Access Control) address outside test packet multicast address described in looped network.
10. according to the plug and play network device described in claim 6 or 7, it is characterised in that described device also includes:
Second fault restoration unit, described second fault restoration unit includes that test packet initiates unit, sender's bridge MAC Address
Unit selected by the second largest meshed network transmission equipment of adjustment unit, bridge MAC Address;
Described test packet initiates unit, and the meshed network transmission equipment maximum when described looped network jackshaft MAC Address breaks down
Time, it is additionally operable to the meshed network being connected with the meshed network transmission equipment network that port secondary in looped network is maximum with stating bridge MAC Address
Transmission equipment sends test packet as test packet promoter to described looped network;Wherein, purpose MAC in described test packet
Address is test packet multicast address, and the sender's bridge MAC Address in described test packet is described test packet promoter
Bridge MAC Address;
Described sender's bridge MAC Address adjustment unit include sender's bridge MAC Address extraction unit, bridge MAC Address comparing unit,
Sender's bridge MAC Address amendment unit;
Sender's bridge MAC Address extraction unit, described present node web-transporting device listens to described previous node network and passes
After the test packet that transfer device is sent, for extracting the sender's bridge MAC Address in described test packet;
Bridge MAC Address comparing unit, for transmitting the sender's bridge MAC Address in described test packet with present node network
The bridge MAC Address of equipment compares;
Sender's bridge MAC Address adjustment unit, for using big for bridge MAC Address person as described present node web-transporting device to
Sender's bridge MAC Address in the test packet that described later section spot net transmission equipment sends;
Unit selected by the second largest meshed network transmission equipment of described bridge MAC Address, when described looped network jackshaft MAC Address is maximum
When meshed network transmission equipment breaks down, for the meshed network transmission equipment maximum with stating bridge MAC Address based on master port
The meshed network transmission equipment that network connects is monitored or is received test packet and finds out the joint that looped network jackshaft MAC Address is second largest
Spot net transmission equipment.
11. plug and play group network systems, including meshed network transmission equipment, described meshed network transmission equipment includes micro-process
Device, memorizer, described microprocessor bus connects memorizer;Multiple described meshed network transmission equipments are according to ring topology sequentially
The looped network that network connects and composes, when the present node web-transporting device that described meshed network transmission equipment passes through as message
Time, the message that its secondary port is sent out for the previous node web-transporting device monitored and receive in looped network, its master port for
Later section spot net transmission equipment in looped network sends message;It is characterized in that,
Described system also includes that plug and play network device, described plug and play network device are installed in described memorizer and wrap
Include one or more software function module performed by described microprocessor;
Described plug and play network device includes:
Test packet initiates unit, is used for using a meshed network transmission equipment in described looped network as test packet promoter to institute
State looped network and send test packet;Wherein, the target MAC (Media Access Control) address in described test packet is test packet multicast address, described survey
The bridge MAC Address that sender's bridge MAC Address is described test packet promoter in examination message;
Sender's bridge MAC Address comparison adjustment unit, described sender's bridge MAC Address comparison adjustment unit includes sender's bridge
MAC Address extraction unit, bridge MAC Address comparing unit, sender's bridge MAC Address amendment unit;
Sender's bridge MAC Address extraction unit, described present node web-transporting device listens to described previous node network and passes
After the test packet that transfer device is sent, for extracting the sender's bridge MAC Address in described test packet;
Bridge MAC Address comparing unit, for transmitting the sender's bridge MAC Address in described test packet with present node network
The bridge MAC Address of equipment compares;
Sender's bridge MAC Address adjustment unit, for using big for bridge MAC Address person as described present node web-transporting device to
Sender's bridge MAC Address in the test packet that described later section spot net transmission equipment sends;
Unit selected by the meshed network transmission equipment of bridge MAC Address maximum, and the test packet after forwarding a circle based on circulation is found out
The meshed network transmission equipment that looped network jackshaft MAC Address is maximum;
The meshed network transmission equipment of bridge MAC Address maximum arranges unit, for blocking the node net that described bridge MAC Address is maximum
The described secondary port of network transmission equipment makes it be only capable of receiving the report that described target MAC (Media Access Control) address is described test packet multicast address
Literary composition.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610559831.1A CN106209552B (en) | 2016-07-15 | 2016-07-15 | Plug and play network-building method, apparatus and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610559831.1A CN106209552B (en) | 2016-07-15 | 2016-07-15 | Plug and play network-building method, apparatus and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106209552A true CN106209552A (en) | 2016-12-07 |
CN106209552B CN106209552B (en) | 2019-04-30 |
Family
ID=57476128
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610559831.1A Active CN106209552B (en) | 2016-07-15 | 2016-07-15 | Plug and play network-building method, apparatus and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106209552B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106656311A (en) * | 2016-12-15 | 2017-05-10 | 国网山东省电力公司长岛县供电公司 | Data link backup apparatus and method |
CN108768894A (en) * | 2018-04-28 | 2018-11-06 | 江苏中安智信通信科技股份有限公司 | Optimize the switch system of looped network forward-path |
CN111682978A (en) * | 2020-05-21 | 2020-09-18 | 河南理工大学 | Network communication enhancement method and system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101222402A (en) * | 2008-01-22 | 2008-07-16 | 杭州华三通信技术有限公司 | Ethernet ring protection method, system and device |
CN101741668A (en) * | 2008-11-07 | 2010-06-16 | 益网科技股份有限公司 | Backup method for loop network |
CN101764731A (en) * | 2009-12-09 | 2010-06-30 | 熊伟 | Ethernet ring network algorithm switching method |
CN102158384A (en) * | 2011-01-25 | 2011-08-17 | 武汉迈威光电技术有限公司 | Novel MRing Ethernet ring network protection technology |
CN103001799A (en) * | 2012-11-23 | 2013-03-27 | 北京东土科技股份有限公司 | Method and node for achieving redundancy on basis of chain network |
CN103297257A (en) * | 2012-02-27 | 2013-09-11 | 北京东土科技股份有限公司 | Implementation method of redundant network |
-
2016
- 2016-07-15 CN CN201610559831.1A patent/CN106209552B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101222402A (en) * | 2008-01-22 | 2008-07-16 | 杭州华三通信技术有限公司 | Ethernet ring protection method, system and device |
CN101741668A (en) * | 2008-11-07 | 2010-06-16 | 益网科技股份有限公司 | Backup method for loop network |
CN101764731A (en) * | 2009-12-09 | 2010-06-30 | 熊伟 | Ethernet ring network algorithm switching method |
CN102158384A (en) * | 2011-01-25 | 2011-08-17 | 武汉迈威光电技术有限公司 | Novel MRing Ethernet ring network protection technology |
CN103297257A (en) * | 2012-02-27 | 2013-09-11 | 北京东土科技股份有限公司 | Implementation method of redundant network |
CN103001799A (en) * | 2012-11-23 | 2013-03-27 | 北京东土科技股份有限公司 | Method and node for achieving redundancy on basis of chain network |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106656311A (en) * | 2016-12-15 | 2017-05-10 | 国网山东省电力公司长岛县供电公司 | Data link backup apparatus and method |
CN108768894A (en) * | 2018-04-28 | 2018-11-06 | 江苏中安智信通信科技股份有限公司 | Optimize the switch system of looped network forward-path |
CN111682978A (en) * | 2020-05-21 | 2020-09-18 | 河南理工大学 | Network communication enhancement method and system |
Also Published As
Publication number | Publication date |
---|---|
CN106209552B (en) | 2019-04-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7719956B2 (en) | Trunk network system for multipoint-to-multipoint relay | |
CN1992707B (en) | Fast restoration method of multicast service and network apparatus | |
US20130021896A1 (en) | Method, system, and device for protecting multicast in communication network | |
CN103297257A (en) | Implementation method of redundant network | |
CN100571205C (en) | Multicasting service protecting method in a kind of access network and system thereof, device | |
CN102137009B (en) | Method, system and equipment for processing Dual-layer service in network | |
CN103916275A (en) | BFD detection device and method | |
CN102857377B (en) | The online topological automatic generation method of a kind of train network | |
CN101005394A (en) | Method and system for protecting multicast repeat path and service router | |
CN106411750B (en) | Data distributing method and system | |
CN101127724A (en) | Multicast system, device and method based on 802.1ah protocol in MAN Ethernet network | |
CN106209552A (en) | Plug and play network-building method, Apparatus and system | |
CN102984507A (en) | Network assisting management device and concurrent management device in video monitoring system | |
CN103036724B (en) | State information transmission method, the network equipment and unit equipment | |
CN103763465A (en) | Network camera and network video monitoring system | |
CN103517155A (en) | Flow dynamic control method and device based on monitor service | |
CN105634809B (en) | A kind of detection method and device | |
CN101997724A (en) | Method and device for updating multicast forwarding entries | |
CN101345641B (en) | Multicast access equipment and method | |
CN101304359B (en) | Method and apparatus for RRPP looped network link recuperation | |
CN101106506A (en) | Network information exchange method | |
CN102710482B (en) | Method and device for looped network protection | |
CN104065516A (en) | Double-ring switching method for DCS backbone network | |
CN107547330B (en) | Method and node equipment for transmitting service data | |
CN116319358A (en) | Intelligent ball control distribution networking method for distributed ad hoc network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |