CN111903097B - Transmission device, transmission method, and computer-readable storage medium - Google Patents
Transmission device, transmission method, and computer-readable storage medium Download PDFInfo
- Publication number
- CN111903097B CN111903097B CN201880091737.5A CN201880091737A CN111903097B CN 111903097 B CN111903097 B CN 111903097B CN 201880091737 A CN201880091737 A CN 201880091737A CN 111903097 B CN111903097 B CN 111903097B
- Authority
- CN
- China
- Prior art keywords
- frame
- transmission
- server
- transmission device
- mac address
- 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.)
- Expired - Fee Related
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 264
- 238000000034 method Methods 0.000 title claims description 26
- 230000006870 function Effects 0.000 claims abstract description 30
- 230000000903 blocking effect Effects 0.000 claims description 24
- 238000012423 maintenance Methods 0.000 claims description 3
- 238000001514 detection method Methods 0.000 claims 1
- 230000006854 communication Effects 0.000 description 73
- 238000004891 communication Methods 0.000 description 73
- 238000012545 processing Methods 0.000 description 36
- 238000012546 transfer Methods 0.000 description 16
- 238000010586 diagram Methods 0.000 description 10
- 238000010276 construction Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 2
- 230000007175 bidirectional communication Effects 0.000 description 1
- 239000002131 composite material Substances 0.000 description 1
- 230000001771 impaired effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
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
- H04L12/437—Ring fault isolation or reconfiguration
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The transmission device (10) forms a ring network. An acquisition unit (302) acquires a transmission frame. A server unit (301) executes a server function. The transmission device (10) is connected to an RPL which communicates a server traffic frame for synchronizing the server unit (301) with a server unit (301) of an adjacent transmission device (10) and blocks a user traffic frame which is a transmission frame other than the server traffic frame. A learning selection unit (308) selects whether to execute MAC address learning for a transport frame, depending on whether or not the transport frame is a server traffic frame transmitted from an RPL. When the transmission frame is a user traffic frame, a port selection unit (304) selects an output port of the user traffic frame based on a MAC address table (40) in which MAC addresses are registered by a learning selection unit (308).
Description
Technical Field
The invention relates to a transmission device, a transmission method, and a transmission program.
Background
A network structure such as a mesh structure or a ring structure has redundant paths. Therefore, the reliability of these network structures is high. In addition, a way to block a particular link is embedded in these network structures. According to this method, a Network loop (Network loop) can be avoided. Further, according to this manner, a broadcast storm (broadcast storm) in the network can be prevented.
Specific examples of this method include a path construction method such as STP, ERP, or RPR. STP is an abbreviation of Spanning Tree Protocol (Spanning Tree Protocol). ERP is an abbreviation of Ethernet (registered trademark) Ring Protection. ERP is a path construction mode standardized by ITU-T G.8032. The RPR is an abbreviation of Resilient Protection Ring. These path construction methods construct paths of the network in a plug and play manner. Further, the communication terminal connected to the network performs communication using the path constructed by the path construction method.
In these path construction methods, when a network failure occurs, path switching is performed to minimize interruption of communication. Therefore, a highly reliable network can be constructed by these path construction methods. Specifically, in ERP and RPR, the path can be switched at a speed of 50 ms.
In the network of patent document 1, a transmission device has a blocking port and a forwarding port. In a state where no failure occurs, communication is performed using the forwarding port. When a failure is detected, the blocking of the blocked port is released and communication resumes using the blocked port.
Documents of the prior art
Patent document
Patent document 1: international publication No. 2005/027427
Disclosure of Invention
Problems to be solved by the invention
The ring network constructed using ERP standardized by ITU-T g.8032 has high reliability. In the ring network, there are a plurality of switches, i.e., a plurality of transmission devices. The master system server and the slave system server are connected to the respective transmission apparatuses. Large-capacity communication for data synchronization is generated between the master system server and the slave system server. In the ring network, a communication terminal that performs real-time communication is also connected to each transmission device. Further, real-time communication between the communication terminals is also performed. This causes congestion in communication used for large-capacity communication and communication used for real-time communication, and takes time for data synchronization.
Therefore, there is a system in which 2 adjacent transmission devices sandwiching a blocked port of a ring network have a server function. The adjacent 2 transmission devices sandwiching the blocked port are the RPL owner device and the RPL neighbor device. In this method, information between servers is shared using RPL (Ring Protection Link) which is a Link to which a blocked port is connected. This method enables a highly reliable network to be realized that can efficiently utilize the unused frequency band of the network and can achieve high-speed synchronization between servers in a duplicated manner. In addition, in this method, the real-time performance of the communication terminal connected to the network is not hindered, and frame loss due to the inter-server synchronization traffic is not caused.
However, when the inter-server synchronization traffic is communicated by the RPL, MAC (Media Access Control) address learning is performed on all communications between servers at the RPL owner device and the RPL neighbor devices at the block port. Thus, general communication between servers uses RPL for communication. On the other hand, since the general communication is discarded in the blocked port, there is a problem that the general communication between the servers cannot be performed.
The purpose of the present invention is to selectively learn the MAC address of traffic received by RPL, thereby avoiding the situation that general communication between servers cannot be performed.
Means for solving the problems
A transmission device of the present invention is a transmission device included in a plurality of transmission devices constituting a ring network, wherein the transmission device includes: an acquisition unit which acquires a transmission frame; and a server unit that performs a server function of providing a service, the transmission device being connected to the following link path: the link path connects the transmission device and an adjacent transmission device, and blocks a user traffic frame, which is a transmission frame other than the server traffic frame, by communicating the server traffic frame synchronized with the server portion of the adjacent transmission device, the transmission device further including: a learning selection unit that selects whether to perform MAC address learning for the transmission frame, depending on whether or not the transmission frame is the server traffic frame transmitted from the link path; and a port selection unit that selects an output port of the transport frame based on the MAC address table in which the MAC address is registered by the learning selection unit when the transport frame is the user traffic frame.
ADVANTAGEOUS EFFECTS OF INVENTION
In the transmission device of the present invention, the learning selection unit selects whether to perform MAC address learning for the transmission frame, based on whether or not the transmission frame is a server traffic frame transmitted from the link path. When the transport frame is a user traffic frame, the port selection unit selects an output port of the transport frame based on the MAC address table in which the MAC address is registered by the learning selection unit. Thus, according to the transmission device of the present invention, MAC address learning can be selectively performed for the server traffic frame. Further, by selectively performing MAC address learning for the server traffic frame, it is possible to avoid a situation in which communication of user traffic frames other than the server traffic frame is not possible.
Drawings
Fig. 1 is a configuration diagram of a network system according to embodiment 1.
Fig. 2 is a diagram showing that a failure has occurred in the network system of fig. 1.
Fig. 3 is a configuration diagram of a transmission device according to embodiment 1.
Fig. 4 is a flowchart showing an operation at the time of startup of the server unit according to embodiment 1.
Fig. 5 is a flowchart showing the operation of the communication processing unit according to embodiment 1.
Fig. 6 is a diagram showing a server traffic frame selection condition.
Fig. 7 is a diagram showing a user traffic frame selection condition.
Fig. 8 is a flowchart showing the operation of the network system in the case where the network system is in an Idle state.
Fig. 9 is a flowchart showing an operation of the network system when the network system is in a Protection state and the RPL is blocked.
Detailed Description
Embodiments of the present invention will be described below with reference to the drawings. In the drawings, the same or corresponding portions are denoted by the same reference numerals. In the description of the embodiments, the description of the same or corresponding parts will be omitted or simplified as appropriate.
Embodiment mode 1
Description of the structure
The configuration of the network system 50 according to the present embodiment will be described with reference to fig. 1.
The network system 50 includes transmission devices 10a, 10b, 10c, 10d, 10e, and 10 f. The transmission devices 10a, 10b, 10c, 10d, 10e, 10f form a ring network. The transmission devices 10a, 10b, 10c, 10d, 10e, and 10f are connected to the adjacent transmission devices via link paths 51, respectively. The transmission devices 10a, 10b, 10c, 10d, 10e, and 10f perform bidirectional communication with adjacent transmission devices via the link paths 51, respectively. Some or all of the transmission devices 10a, 10b, 10c, 10d, 10e, 10f are sometimes referred to as transmission devices 10. Further, the link path 51 is also referred to as a communication medium.
The network system 50 forms a ring network by a plurality of transmission apparatuses 10. The network system 50 is a ring network constructed by ERP. ERP blocks one port of the ring network, thereby enabling communication with high reliability. The blocked port is referred to as a blocked port. Further, a link path that can be blocked by a blocking port is referred to as RPL. The link path refers to a path connecting a transmission device and a transmission device adjacent to the transmission device. The RPL is a link path connecting a transmission device and an adjacent transmission device. Further, the RPL causes server traffic frames to be communicated between the transmitting device and an adjacent transmitting device. In addition, the RPL blocks transmission frames other than server traffic frames.
The transmission devices 10a, 10b, 10c, 10d, 10e, 10f are respectively equipped with functions to realize ERP.
In the network system 50, an RPL owner device and an RPL neighbor device are set. In fig. 1, the transmission device 10a is set as an RPL owner device. Further, the transmitting device 10b is set as an RPL neighbor device. Also, the port that the RPL owner device has and that is located between the RPL owner device and the RPL neighbor device is set as the blocking port. Here, the port 12a of the transmission device 10a is set as a blocking port. At this time, the RPL55 is a link path connecting the transmission device 10a and the transmission device 10b adjacent to the transmission device 10 a.
The ports 11a, 11b, 11c, 11d, 11e, and 11f are ports to which communication terminals are connected, respectively. The transmission device 10 transmits data communicated between communication terminals connected to the network system 50. The data transmitted by the transmission apparatus 10 is referred to as a transmission frame. The transmission frame is transmitted to the destination communication terminal using the MAC address table possessed by the transmission device 10. The MAC address table is generated by a MAC address learning function of the learning selection unit. The MAC address table is also known as the FDB (forwarding Data base) table.
Fig. 2 is a diagram showing that a failure 990 has occurred in the network system 50 of fig. 1. As shown in fig. 2, when a failure 990 occurs between the transmission device 10d and the transmission device 10e, the blocking of the port 12a is released. By releasing the port 12a from the block, the real-time communication using the transfer port via the transmission devices 10c, 10d, 10e, and 10f is performed using the block port. As a result, the network system 50 can avoid the failure 990 occurring between the transmission device 10d and the transmission device 10e, and can continue the real-time communication.
The configuration of the transmission device 10 according to the present embodiment will be described with reference to fig. 3.
The transmission device 10 is included in a plurality of transmission devices constituting a ring network. The transmission device 10 is a computer. The transmission device 10 includes a processor 201, and other hardware such as a memory 202, a communication interface 203, a communication processing processor 204, and a setting interface 205. The processor 201 is connected to other hardware via a signal line, and controls the other hardware.
The processor 201 is an ic (integrated circuit) that performs arithmetic processing. Specific examples of the processor 201 include a CPU (Central Processing Unit), a DSP (digital Signal processor), and a GPU (graphics Processing Unit).
The memory 202 is a storage device that temporarily stores data. The memory 202 may be an sram (static Random Access memory) or a dram (dynamic Random Access memory). Further, the memory 202 may be a built-in RAM.
The transmission device 10 includes a server unit 301 and a communication processing unit 309 as functional elements. The communication processing unit 309 includes an acquisition unit 302, a recognition unit 303, a learning selection unit 308, a port selection unit 304, an attribute holding unit 305, a state management unit 306, and a blocking management unit 307. The MAC address table 40 is constituted by a built-in RAM in the communication processing unit 309.
The functions of the server section 301 are realized by the processor 201 and the memory 202. The function of the communication processing section 309 is realized by the communication processing processor 204.
The setting interface 205 is an interface for setting the attribute of the transmission device 10. The attributes of the transmission apparatus 10 are set by the user via the setting interface 205. The attribute of the transmission device 10 is information indicating which device among the RPL owner device, the RPL neighbor device, and other transmission devices the transmission device 10 is. The attribute of the transmission device 10 is held in the attribute holding section 305 as the attribute information 52.
When the transfer device 10 is set as an RPL owner device, the server section 301 functions as a main system server. When the transfer device 10 is set to be an RPL-adjacent device, the server unit 301 functions as a slave system server. When the transmission device 10 is set as another transmission device, the server 301 does not function as a server.
The communication interface 203 is an interface for communicating with a transmission device adjacent to the transmission device 10 and a communication terminal connected to the transmission device 10.
The communication processing processor 204 is a dedicated electronic circuit that realizes the function of the communication processing unit 309. Specifically, the communication processing processor 204 is a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, a logic IC, a GA, an ASIC, or an FPGA. GA is an abbreviation for Gate Array (Gate Array). ASIC is an abbreviation for Application Specific Integrated Circuit (Application Specific Integrated Circuit). An FPGA is an abbreviation of Field-Programmable Gate Array (Field-Programmable Gate Array).
The function of the communication processing unit 309 may be realized by 1 electronic circuit, or may be realized by being distributed to a plurality of electronic circuits. Alternatively, a part of the functions of the communication processing unit 309 may be realized by an electronic circuit, and the remaining functions may be realized by software.
Description of the function
The attribute holding section 305 holds the attribute information 52. The attribute information 52 is set by the user via the setting interface 205. The attribute information 52 is information indicating which device among the RPL owner device, the RPL neighbor device, and the other transmission devices the transmission device 10 is. The attribute holding section 305 is also referred to as ERP attribute holding.
The status management unit 306 manages the status information 53. The status information 53 is information indicating whether or not there is a failure in the ring network. Specifically, the state management unit 306 monitors the state of the network system 50 by using a method specified in ITU-T g.8032. The state management unit 306 determines whether the state of the network system 50 is a normal operation state or a failure occurrence state. Then, the state management unit 306 manages the determination result as the state information 53. The normal operating state is referred to as the Idle state. The failure occurrence state is referred to as a Protection state. The state management section 306 is also referred to as a state machine section or ERP state machine.
The blocking management unit 307 manages the blocking information 54. The occlusion information 54 is information indicating whether the RPL55 is occluded. RPL55 is the connection line between servers. RPL55 is a link path that blocks transmission frames other than server traffic frames. The server traffic frame is a frame for synchronizing the server unit with the server unit of the transmission device adjacent to the transmission device. The block management unit 307 is also referred to as RPL block state management. Specifically, the block management unit 307 performs the Connectivity verification of the RPL55 using a Connectivity Check frame in Ethernet (registered trademark) OAM or a protocol defined in an application layer (application level) of a layer 2 or higher. OAM is an abbreviation of Operations Administration Maintenance (Operations Administration Maintenance). For example, the block management unit 307 transmits a Connectivity Check frame to the RPL and determines whether or not the RPL55 is blocked. Alternatively, the occlusion management unit 307 transmits a Ping frame to the RPL and determines whether or not the RPL55 is occluded. Ping is an abbreviation for Packet Internet Groper.
The server portion 301 executes a server function of providing a service. The server 301 authenticates a communication terminal connected to the network system 50. Specifically, the server unit 301 executes radius (remote Authentication Dial In User service) Authentication on the communication terminal. The server section 301 functions as a master system server or a slave system server based on the attribute information 52 held in the attribute holding section 305.
The acquisition unit 302 acquires a transmission frame from the input lines 31 and 32. The acquisition unit 302 multiplexes the transmission frames acquired from the input lines 31 and 32 into multiplexed data. Then, the acquisition unit 302 outputs the multiplexed data to the multiplexed bus 33.
The identifying unit 303 identifies whether the transmission frame is a server traffic frame or a general user traffic frame. The identification section 303 identifies a server traffic frame used for data synchronization between the master system server and the slave system server from the transmission frame multiplexed as the multiplexed data. The transmission frame has a flag indicating whether it is a server traffic frame. The identifying unit 303 sets the flag identifying the transmission frame as the server traffic frame to valid.
The learning selection section 308 selects whether to perform MAC address learning for a transmission frame according to whether the transmission frame is a server traffic frame transmitted from an RPL as a link path. The learning selection unit 308 does not perform MAC address learning for the transport frame when the transport frame is a server traffic frame transmitted from the RPL. Further, the learning selection unit 308 performs MAC address learning for the transport frame when the transport frame is a transport frame other than the server traffic frame transmitted from the RPL. Specifically, the learning selection unit 308 acquires the transmission frame via the line 341. The learning selection unit 308 selectively performs MAC address learning according to the transmission frame. Specifically, in the Idle state, which is a normal operation state, the learning selector 308 does not learn the MAC address of the server traffic frame received from the RPL. Thus, in the MAC address table 40, the output port of the transmission frame received from the RPL is not the RPL but a normal transfer port.
When the transport frame is a user traffic frame, the port selection unit 304 selects an output port of the transport frame from the MAC address table 40 in which the MAC address is registered by the learning selection unit 308. The port selection unit 304 acquires a transmission frame via the line 34. The port selection unit 304 selects an output port of a transmission frame. The transmission frame is output from the output port to the output lines 35, 36. The port selection unit 304 selects an output port from which a transmission frame is to be output, based on the state information 53, the blocking information 54, and the MAC address table 40. The port selection unit 304 selects an output destination port from the output line 35 based on the result of MAC address learning for the user traffic frame for general communication. The port selection unit 304 selects an RPL link as an output destination port for the server traffic frame by a method described later.
Description of actions
Next, the operation of the transmission device 10 according to the present embodiment will be described.
First, an operation at the time of startup of the server unit 301 according to the present embodiment will be described with reference to fig. 4.
In step S101, the server 301 refers to the attribute information 52 held in the attribute holding unit 305. When the attribute information 52 indicates the RPL owner device, the server unit 301 proceeds to step S102. If the attribute information 52 does not indicate an RPL owner device, the server unit 301 proceeds to step S103.
In step 102, the server section 301 activates the function of the main system server.
In step S103, when the attribute information 52 indicates an RPL neighboring device, the server unit 301 proceeds to step S104. When the attribute information 52 does not indicate an RPL neighboring device, the server unit 301 ends the process.
In step 104, the server section 301 activates the function of the slave system server.
Fig. 5 is a flowchart showing the operation of the communication processing unit 309 according to the present embodiment.
In step S201, the acquisition unit 302 multiplexes the plurality of transmission frames acquired from the input lines 31 and 32 into multiplexed data. The acquisition unit 302 outputs the multiplexed data to the multiplexed bus 33. The transmission frame acquired from the input line 31 is data input from a communication terminal connected to the transmission device 10 and data input from the link path 51. The transmission frame acquired by the communication processing unit 309 from the input line 32 is data input from the server unit 301.
In step S202, the identification unit 303 acquires multiplexed data from the multiplexed bus 33. Then, the identifying unit 303 acquires the transmission frame multiplexed into the multiplexed data.
In step S203, the identification unit 303 determines whether the transmission device 10 is an RPL owner device using the attribute information 52. If the transmission device 10 is an RPL owner device, the identification unit 303 proceeds to step S204. If the transmission device 10 is not the RPL owner device, the identification unit 303 proceeds to step S206.
In step S204, the identifying unit 303 determines whether or not the transmission frame is a server traffic frame. Specifically, the identifying unit 303 determines whether or not the transmission frame is a server traffic frame using the destination MAC address and the setting protocol. The identifying unit 303 determines that the transport frame is a server traffic frame when the destination MAC address is the MAC address of the RPL neighbor device and the set protocol is a protocol indicating data synchronization. If the transmission frame is a server traffic frame, the identification unit 303 proceeds to step S205. If the transmission frame is not a server traffic frame, the identification unit 303 proceeds to step S206.
In step S205, the identification unit 303 validates the flag of the transmission frame.
Next, a learning selection process in which the learning selection unit 308 selectively performs MAC address learning will be described.
In step S251, the learning selector 308 acquires the state information 53 from the state manager 306. The learning selection unit 308 determines whether the status information 53 is in the Idle status and whether the transport frame is a server traffic frame received from the RPL. If the Idle state is the server traffic frame, the process proceeds to step S252. If the status is not Idle or the frame is not a server traffic frame, the flow proceeds to step S253.
In step S252, the learning selection unit 308 does not perform MAC address learning.
In step S253, the learning selection unit 308 performs normal MAC address learning.
Through the above processing, the output port of the transmission frame received from the RPL in the MAC address table 40 is not the RPL but a transfer port.
In step S206, the port selection unit 304 acquires the status information 53 from the status management unit 306. Further, the port selection unit 304 acquires the blocking information 54 from the blocking management unit 307. The port selection unit 304 selects an output port from which a transmission frame is to be output, based on the state information 53, the blocking information 54, and the MAC address table 40.
The port selection unit 304 searches the MAC address table 40 using the destination MAC address as a key for a transmission frame other than the server traffic frame, and selects an output port.
The port selection unit 304 selects an output port from which a transport frame is to be output, for a server traffic frame, based on the state information 53, the blocking information 54, and the MAC address table 40.
The port selection unit 304 selects an output port for a transmission frame addressed to the server unit 301 in the transmission device 10, based on the MAC address of the server unit 301. An output port that outputs a communication frame destined to the server section 301 in the transmission device 10 is an output port that outputs to the output line 36. The port selection unit 304 selects an output port to be output to the output line 36, based on the MAC address of the server unit 301.
Fig. 6 is a diagram showing the server traffic frame selection condition 41 according to the present embodiment. The server traffic frame selection condition 41 is a selection condition of an output port that outputs a server traffic frame.
When the ring network has no failure, the port selection unit 304 selects an output port that outputs a server traffic frame to the RPL 55.
When the ring network has a failure and RPL55 is not blocked, port selection unit 304 selects an output port that outputs a server traffic frame to RPL 55.
When the ring network has a failure and RPL55 is blocked, port selection unit 304 selects an output port that outputs a server traffic frame to the MAC address of server unit 301 of the adjacent transfer device, based on MAC address table 40.
A port selection process of an output port from which a server traffic frame is output will be described with reference to fig. 6.
When the status information 53 indicates the Idle status, the port selection unit 304 selects an output port to be output to the RPL 55.
When the state information 53 indicates the Protection state, the port selection unit 304 selects an output port corresponding to the blocking information 54. When the state information 53 is in the Protection state and the blocking information 54 is not blocked, the port selection unit 304 selects an output port to be output to the RPL 55. This is because RPL55 can be used as usual even if the ring network fails. When the state information 53 is in the Protection state and the blocking information 54 indicates a blocking, the port selection unit 304 selects an output port that outputs a server traffic frame to the MAC address of the server unit 301 of the adjacent transfer device, using the MAC address table 40. That is, when the state information 53 is in the Protection state and the blocking information 54 indicates that there is a blocking, the port selection unit 304 selects an output port as a transfer port of the server traffic frame using the MAC address table 40 and the MAC address of the destination server unit.
Fig. 7 is a diagram showing the user traffic frame selection condition 42. The user traffic frame selection condition 42 is a selection condition of an output port that outputs a transmission frame other than the server traffic frame, that is, a user traffic frame.
When the transport frame is a user traffic frame, the port selection unit 304 selects an output port, which is a normal transfer port, using the MAC address table 40 and the destination MAC address, regardless of the state information 53 or the blocking information 54.
Next, the operation of the transmission device 10 will be specifically described with reference to fig. 8 and 9. In fig. 8 and 9, functional elements of the transmission devices 10a and 10b are denoted by suffixes a and b, respectively.
Fig. 8 is a diagram showing the operation of the network system 50 in the Idle state.
The input line 311a is connected to the output line 351b via the RPL 55. The output line 351a is connected to the input line 311b via the RPL 55. The transmission device 10a is an RPL owner device. Thereby, the server section 301a is activated as a main system server.
The server traffic frame 61 output from the server unit 301a is input to the port selection unit 304a via the acquisition unit 302a, the recognition unit 303a, and the learning selection unit 308 a. The server traffic frame 61 is output to the output line 351a via the port selection unit 304 a. The server traffic frame 61 output from the output line 351a is input to the input line 311b via the RPL 55. The server traffic frame 61 input to the input line 311b is input to the port selection unit 304b via the acquisition unit 302b, the recognition unit 303b, and the learning selection unit 308 b. The port selection unit 304b determines that the server traffic frame 61 is the server traffic frame 61 addressed to the server unit 301 b. Then, the server traffic frame 61 is transmitted to the server section 301b via the output line 36 b. The path of the server traffic frame 61 is path 400 in fig. 7.
The transmitting device 10b is an RPL neighbor device. Thereby, the server portion 301b is activated as a slave system server.
The server traffic frame 62 output from the server unit 301b is input to the port selection unit 304b via the acquisition unit 302b, the recognition unit 303b, and the learning selection unit 308 b. The server traffic frame 62 is output to the output line 351b via the port selection unit 304 b. The server traffic frame 62 output from the output line 351b is input to the input line 311a via the RPL 55. The server traffic frame 62 input to the input line 311a is input to the port selection unit 304a via the input line 311a, the acquisition unit 302a, the recognition unit 303a, and the learning selection unit 308 a. The port selection unit 304a determines that the server traffic frame 62 is the server traffic frame 62 addressed to the server unit 301 a. Then, the server traffic frame 62 is transmitted to the server section 301a via the output line 36 a. The paths of the server traffic frame 62 are paths 401, 402 in fig. 8.
The port selection unit 304 selects an output port for a transmission frame addressed to the server unit 301 in the transmission apparatus 10, based on the MAC address of the server unit 301. An output port that outputs a communication frame destined to the server section 301 in the transmission apparatus 10 is an output port that outputs the communication frame to the output line 36. The port selection unit 304 selects an output port to be output to the output line 36, based on the MAC address of the server unit 301.
In fig. 8, the communication of the user traffic frame between the server 301a of the transfer device 10a and the server 301b of the transfer device 10b, that is, the general communication between the servers is transferred using the transfer port. That is, the user traffic frame directed from the server portion 301a of the transmission device 10a to the server portion 301b of the transmission device 10b is transmitted to the server portion 301b of the transmission device 10b via the transmission devices 10c, 10d, 10e, and 10 f. The user traffic frame transmitted from the server 301b of the transmission device 10b to the server 301a of the transmission device 10a is transmitted to the server 301a of the transmission device 10a via the transmission devices 10f, 10e, 10d, and 10 c.
Fig. 9 is a diagram showing an operation of the network system 50 when the network system 50 is in the Protection state and the RPL55 is blocked. As shown in fig. 6, even if the network system 50 is in the Protection state, if the RPL55 is not blocked, the server traffic frame is communicated using the path described with reference to fig. 8.
The RPL55 connecting the transmission device 10a as the RPL owner device and the transmission device 10b as the RPL neighbor device is blocked. That is, RPL55 is unable to make any communications. When the RPL55 is blocked, the server 301a and the server 301b perform data synchronization communication via the transfer devices 10c to 10 f.
The input line 312a is connected to the output line 352b via the transmission devices 10c to 10 f. The output line 352a is connected to the input line 312b via the transmission devices 10c to 10 f. The transmission device 10a is an RPL owner device. Thereby, the server section 301a is activated as a main system server.
The server traffic frame 63 output from the server unit 301a is input to the port selector 304a via the acquisition unit 302a, the recognition unit 303a, and the learning selector 308 a. The server traffic frame 63 is output to the output line 352a via the port selector 304 a. The server traffic frame 63 output from the output line 352a is input to the input line 312b via the transmission devices 10c, 10d, 10e, and 10 f. The server traffic frame 63 input to the input line 312b is input to the port selection unit 304b via the acquisition unit 302b, the recognition unit 303b, and the learning selection unit 308 b. The port selection unit 304b determines that the server traffic frame 63 is the server traffic frame 63 addressed to the server unit 301 b. Then, the server traffic frame 63 is transmitted to the server section 301b via the output line 36 b. The path of the server traffic frame 63 is path 403 in fig. 9.
The transmitting device 10b is an RPL neighbor device. Thereby, the server portion 301b is activated as a slave system server.
The server traffic frame 64 output from the server unit 301b is input to the port selection unit 304b via the acquisition unit 302b, the recognition unit 303b, and the learning selection unit 308 b. The server traffic frame 64 is output to the output line 352b via the port selector 304 b. The server traffic frame 64 output from the output line 352b is input to the input line 312a via the transmission devices 10f, 10e, 10d, and 10 c. The server traffic frame 64 input to the input line 312a is input to the port selection unit 304a via the acquisition unit 302a, the recognition unit 303a, and the learning selection unit 308 a. The port selection unit 304a determines that the server traffic frame 64 is the server traffic frame 64 addressed to the server unit 301 a. Then, the server traffic frame 64 is transmitted to the server section 301a via the output line 36 a. The paths of the server traffic frame 64 are paths 404, 405 in fig. 9.
In fig. 9, the communication of the user traffic frame between the server 301a of the transfer device 10a and the server 301b of the transfer device 10b, that is, the general communication between the servers is transferred using the transfer port. That is, the user traffic frame sent from the server 301a of the transmission device 10a to the server 301b of the transmission device 10b is transmitted to the server 301b of the transmission device 10b via the transmission devices 10c, 10d, 10e, and 10 f. The user traffic frame transmitted from the server 301b of the transmission device 10b to the server 301a of the transmission device 10a is transmitted to the server 301a of the transmission device 10a via the transmission devices 10f, 10e, 10d, and 10 c.
Other structure
In the present embodiment, the function of the communication processing unit 309 is realized by hardware. However, as a modification, the function of the communication processing unit 309 may be realized by software.
A program for realizing the function of the communication processing unit 309 is referred to as a transmission program. Here, a modified example in which the processor 201 executes the transmission program will be described.
The transmission device 10 has an auxiliary storage device that stores the transmission program. The auxiliary storage device is a storage device that stores data. A specific example of the auxiliary storage device is an HDD. The auxiliary storage device may be a removable storage medium such as an SD (registered trademark) memory card, CF, NAND flash memory, a flexible disk, an optical disk, a compact disk, a blu-ray (registered trademark) disk, or a DVD. In addition, the HDD is an abbreviation of Hard Disk Drive. SD (registered trademark) is an abbreviation for Secure Digital. CF is an abbreviation of CompactFlash (registered trademark). DVD is the abbreviation of Digital Versatile Disk.
The transmission program is read into the processor 201 and executed by the processor 201. The memory 202 stores not only the transmission program but also an os (operating system). The processor 201 executes the OS and the transfer program. The transfer program and the OS may also be stored in the auxiliary storage device. The transfer program and the OS stored in the auxiliary storage device are loaded into the memory 202 and executed by the processor 201. In addition, a part or all of the transmission program may be embedded in the OS.
The transmission apparatus 10 may also have a plurality of processors instead of the processor 201. The plurality of processors share execution of the transmission program. Like the processor 201, each processor is a device that executes a transmission program.
Data, information, signal values, and variable values utilized, processed, or output by the transfer program are stored in memory 202, a secondary storage device, or registers or caches within processor 201.
The transmission program may rewrite "section" of each section of the communication processing section 309 to "process", "procedure", or "procedure". The transfer program may rewrite "processing" of the acquisition processing, the recognition processing, the learning selection processing, the port selection processing, the attribute holding processing, the state management processing, and the block management processing to "a program", "a program product", or "a computer-readable storage medium storing a program". The transmission program causes the computer to execute each process, each step, or each step after rewriting the "part" of each part to "process", "step", or "step". Further, the transmission method is a method that the transmission device 10 realizes by executing the transmission program.
The transmission program may be provided by being stored in a computer-readable recording medium. Further, the transmission program may be provided as a program product.
The processor and the communication processing processor are respectively referred to as processing circuitry. That is, in the transmission device 10, the function of the communication processing unit 309 is realized by a processing line.
Description of effects of the present embodiment
As described above, the network system according to the present embodiment includes the server unit, and the master system server function is activated when the transmission apparatus is the RPL owner apparatus, and the slave system server function is activated when the transmission apparatus is the RPL neighbor apparatus. Thus, in a network in which ring redundancy is performed between transmission devices, 2 adjacent transmission devices sandwiching a closed portion in a ring can be provided with a server function. Further, in the network system according to the present embodiment, the server traffic is internally discriminated, and when the RPL link can be used, the master system server and the slave system server can directly communicate with each other, and data synchronization communication between the servers is performed using the RPL link to which a general communication frame is not transmitted. Further, since the MAC address learning is selectively performed on the communication frame received by the RPL, the unused band of the network is effectively used, the real-time performance of another communication terminal connected to the network is not impaired, and the frame loss due to the inter-server synchronization traffic is not caused. As described above, according to the network system of the present embodiment, a highly reliable network can be realized in which synchronization between servers can be performed in a double manner at a high speed without affecting general communication between servers.
In embodiment 1, each part of the transmission device is described as an independent functional block. However, the structure of the transmission device may not be the same as that of the above-described embodiment. The functional blocks of the transmission device may have any configuration as long as they can realize the functions described in the above embodiments.
A plurality of portions in embodiment mode 1 can be combined. Alternatively, 1 part in this embodiment mode can be implemented. Moreover, the whole or a part of the embodiments may be implemented in any combination.
The above embodiments are essentially preferable examples, and are not intended to limit the scope of the present invention, the scope of the application of the present invention, and the scope of the application of the present invention. The above embodiment can be variously modified as necessary.
Description of the reference symbols
10. 10a, 10b, 10c, 10d, 10e, 10 f: a transmission device; 11a, 11b, 11c, 11d, 11e, 11f, 12 a: a port; 31. 31a, 31b, 32a, 32 b: an input line; 33: multiplexing the buses; 34. 341: a line; 35. 35a, 35b, 36a, 36 b: an output line; 40: a MAC address table; 41: server traffic frame selection conditions; 42: a user traffic frame selection condition; 50: a network system; 51: a link path; 52: attribute information; 53: status information; 54: blocking information; 55: RPL; 61. 62, 63, 64: a server traffic frame; 201: a processor; 202: a memory; 203: a communication interface; 204: a communication processing processor; 205: setting an interface; 301. 301a, 301 b: a server section; 302. 302a, 302 b: an acquisition unit; 303. 303a, 303 b: an identification unit; 304. 304a, 304 b: a port selection unit; 305. 305a, 305 b: an attribute holding section; 306. 306a, 306 b: a state management unit; 307. 307a, 307 b: a block management unit; 308. 308a, 308 b: a learning selection unit; 309: a communication processing unit; 311a, 311b, 312a, 312 b: an input line; 351a, 351b, 352a, 352 b: an output line; 400. 401, 402, 403, 404, 405: a path; 990: and (4) failure.
Claims (23)
1. A transmission apparatus included in a plurality of transmission apparatuses constituting a ring network, wherein,
the transmission device has:
an acquisition unit which acquires a transmission frame; and
a server section that executes a server function of providing a service,
the transmission device is connected with the following link paths: the link path connects the transmission device and an adjacent transmission device, and blocks a user traffic frame, which is a transmission frame other than the server traffic frame, from communicating between the transmission device and the adjacent transmission device, the server traffic frame being a frame for synchronizing the server unit and the server unit of the adjacent transmission device,
the transmission device further has:
a learning selection unit that selects whether to perform MAC address learning for the transmission frame, depending on whether or not the transmission frame is the server traffic frame transmitted from the link path; and
a port selection unit that selects an output port of the transport frame based on the MAC address table in which the MAC address is registered by the learning selection unit when the transport frame is the user traffic frame.
2. The transmission apparatus according to claim 1,
the learning selection unit does not perform MAC address learning for the transmission frame when the transmission frame is the server traffic frame transmitted from the link path, and performs MAC address learning for the transmission frame when the transmission frame is a transmission frame other than the server traffic frame transmitted from the link path.
3. The transmission apparatus according to claim 1,
the transmission device has:
a state management unit that manages state information indicating whether or not the ring network has a failure; and
a block management unit that manages block information indicating whether or not the link path is blocked,
the port selection unit selects an output port of the server traffic frame based on the state information and the blocking information when the transmission frame is the server traffic frame.
4. The transmission apparatus according to claim 2,
the transmission device has:
a state management unit that manages state information indicating whether or not the ring network has a failure; and
a block management unit that manages block information indicating whether or not the link path is blocked,
the port selection unit selects an output port of the server traffic frame based on the state information and the blocking information when the transmission frame is the server traffic frame.
5. The transmission apparatus according to claim 3,
the port selection unit selects an output port that outputs the server traffic frame to the link path when the ring network has no failure.
6. The transmission apparatus according to claim 4,
the port selection unit selects an output port that outputs the server traffic frame to the link path when the ring network has no failure.
7. The transmission apparatus according to claim 3,
the port selection unit selects an output port that outputs the server traffic frame to the link path when the ring network has a failure and the link path is not blocked.
8. The transmission apparatus according to claim 4,
the port selection unit selects an output port that outputs the server traffic frame to the link path when the ring network has a failure and the link path is not blocked.
9. The transmission apparatus according to claim 5,
the port selection unit selects an output port that outputs the server traffic frame to the link path when the ring network has a failure and the link path is not blocked.
10. The transmission apparatus according to claim 6,
the port selection unit selects an output port that outputs the server traffic frame to the link path when the ring network has a failure and the link path is not blocked.
11. The transmission apparatus according to claim 3,
the port selection unit selects an output port using the MAC address table and the MAC address of the server unit of the adjacent transmission device when the ring network has a failure and the link path is blocked.
12. The transmission apparatus according to claim 4,
the port selection unit selects an output port using the MAC address table and the MAC address of the server unit of the adjacent transmission device when the ring network has a failure and the link path is blocked.
13. The transmission apparatus according to claim 5,
the port selection unit selects an output port using the MAC address table and the MAC address of the server unit of the adjacent transmission device when the ring network has a failure and the link path is blocked.
14. The transmission apparatus according to claim 6,
the port selection unit selects an output port using the MAC address table and the MAC address of the server unit of the adjacent transmission device when the ring network has a failure and the link path is blocked.
15. The transmission apparatus according to claim 7,
the port selection unit selects an output port using the MAC address table and the MAC address of the server unit of the adjacent transmission device when the ring network has a failure and the link path is blocked.
16. The transmission apparatus according to claim 8,
the port selection unit selects an output port using the MAC address table and the MAC address of the server unit of the adjacent transmission device when the ring network has a failure and the link path is blocked.
17. The transmission apparatus according to claim 9,
the port selection unit selects an output port using the MAC address table and the MAC address of the server unit of the adjacent transmission device when the ring network has a failure and the link path is blocked.
18. The transmission apparatus according to claim 10,
the port selection unit selects an output port using the MAC address table and the MAC address of the server unit of the adjacent transmission device when the ring network has a failure and the link path is blocked.
19. The transmission device according to any one of claims 3 to 18,
the block management unit determines whether or not the link path is blocked, using a connectivity detection frame in operation management maintenance of the ethernet or a protocol defined in an application layer higher than the layer 2.
20. The transmission device according to any one of claims 1 to 18,
the ring network is formed by an Ethernet ring protection mode,
the link path is a loop protection link that can be blocked in the ring network.
21. The transmission apparatus of claim 19,
the ring network is formed by an Ethernet ring protection mode,
the link path is a loop protection link that can be blocked in the ring network.
22. A transmission method of a transmission apparatus included in a plurality of transmission apparatuses constituting a ring network, wherein,
the acquisition unit acquires a transmission frame and transmits the transmission frame,
the server part performs a server function of providing a service,
the transmission device is connected with the following link paths: the link path connects the transmission device and an adjacent transmission device, and blocks a user traffic frame, which is a transmission frame other than the server traffic frame, from communicating between the transmission device and the adjacent transmission device, the server traffic frame being a frame for synchronizing the server unit and the server unit of the adjacent transmission device,
a learning selection section selects whether to perform MAC address learning for the transmission frame according to whether the transmission frame is the server traffic frame transmitted from the link path,
the port selection unit selects an output port of the transport frame based on a MAC address table in which MAC addresses are registered by the learning selection unit when the transport frame is the user traffic frame.
23. A computer-readable storage medium in which a transmission program of a transmission device included in a plurality of transmission devices constituting a ring network, the transmission device having a server section that performs a server function of providing a service is stored, wherein,
the transmission device is connected with the following link paths: the link path connects the transmission device and an adjacent transmission device, and blocks a user traffic frame, which is a transmission frame other than the server traffic frame, from communicating between the transmission device and the adjacent transmission device, the server traffic frame being a frame for synchronizing the server unit and the server unit of the adjacent transmission device,
the transmission program causes a transmission device as a computer to execute:
an acquisition process of acquiring a transmission frame;
a learning selection process of selecting whether to perform MAC address learning for the transmission frame according to whether the transmission frame is the server traffic frame transmitted from the link path; and
a port selection process of selecting an output port of the transmission frame according to a MAC address table in which a MAC address is registered by the learning selection process in a case where the transmission frame is the user traffic frame.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2018/013845 WO2019187089A1 (en) | 2018-03-30 | 2018-03-30 | Transfer device, transfer method, and transfer program |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111903097A CN111903097A (en) | 2020-11-06 |
CN111903097B true CN111903097B (en) | 2022-02-22 |
Family
ID=68058662
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201880091737.5A Expired - Fee Related CN111903097B (en) | 2018-03-30 | 2018-03-30 | Transmission device, transmission method, and computer-readable storage medium |
Country Status (3)
Country | Link |
---|---|
JP (1) | JP6667742B2 (en) |
CN (1) | CN111903097B (en) |
WO (1) | WO2019187089A1 (en) |
Family Cites Families (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003318933A (en) * | 2002-04-22 | 2003-11-07 | Hitachi Ltd | Effective use of redundant ports |
JP2005252672A (en) * | 2004-03-04 | 2005-09-15 | Hitachi Cable Ltd | Switching hub |
CN100341299C (en) * | 2004-09-28 | 2007-10-03 | 中兴通讯股份有限公司 | Method for providing end-to-end service on resilient packet ring (RPR) |
CN100566279C (en) * | 2005-12-09 | 2009-12-02 | 松下电器产业株式会社 | Network system and relay |
JP2008061091A (en) * | 2006-09-01 | 2008-03-13 | Hitachi Communication Technologies Ltd | Path setting method and node device |
CN101145981B (en) * | 2006-09-13 | 2011-06-22 | 中兴通讯股份有限公司 | Loop detection and switching method of multi-loop Ethernet |
KR101223716B1 (en) * | 2008-04-22 | 2013-01-18 | 한국전자통신연구원 | Force protection switching method in Ethernet ring network |
CN102130776B (en) * | 2010-01-19 | 2013-05-01 | 新浪网技术(中国)有限公司 | Communication method and system |
US8655909B2 (en) * | 2010-02-25 | 2014-02-18 | Mitsubishi Electric Corporation | Communication apparatus and address learning method |
CN101815107B (en) * | 2010-05-13 | 2013-10-09 | 华为技术有限公司 | Method, system and device for address management in Ethernet ring network |
US9491041B2 (en) * | 2011-03-07 | 2016-11-08 | Tejas Networks Limited | Ethernet chain protection switching |
CN102291290A (en) * | 2011-08-08 | 2011-12-21 | 浙江中控技术股份有限公司 | Method and system for failure detection and connection of Ethernet ring network |
CN102368734A (en) * | 2011-11-03 | 2012-03-07 | 中兴通讯股份有限公司 | Processing method of MAC address forwarding table of Ethernet ring network and apparatus thereof |
CN102710482B (en) * | 2012-03-29 | 2015-03-18 | 浙江宇视科技有限公司 | Method and device for looped network protection |
US9264254B2 (en) * | 2012-03-30 | 2016-02-16 | Ciena Corporation | Generalized service protection systems and methods |
CN102710484B (en) * | 2012-05-26 | 2015-03-04 | 济南凌康数控技术有限公司 | Ring redundant real-time Ethernet communication method |
JP5821815B2 (en) * | 2012-09-11 | 2015-11-24 | 日立金属株式会社 | Communication system and communication system processing method |
WO2014199471A1 (en) * | 2013-06-12 | 2014-12-18 | 三菱電機株式会社 | Communication system, communication device, and protection method |
JP2017139621A (en) * | 2016-02-03 | 2017-08-10 | APRESIA Systems株式会社 | Repeating device and repeating system |
CN105847147B (en) * | 2016-03-17 | 2019-04-30 | 浙江宇视科技有限公司 | A data transmission method and device |
-
2018
- 2018-03-30 JP JP2019566980A patent/JP6667742B2/en active Active
- 2018-03-30 CN CN201880091737.5A patent/CN111903097B/en not_active Expired - Fee Related
- 2018-03-30 WO PCT/JP2018/013845 patent/WO2019187089A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
JPWO2019187089A1 (en) | 2020-04-30 |
JP6667742B2 (en) | 2020-03-18 |
CN111903097A (en) | 2020-11-06 |
WO2019187089A1 (en) | 2019-10-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7970007B2 (en) | Communication apparatus and retrieval table management method used for communication apparatus | |
CN101330370B (en) | Node and communication method | |
RU2493677C2 (en) | Method and router for implementing mirroring | |
CN115460068A (en) | Method and system for high availability enhancement of computer networks | |
US20160142225A1 (en) | Communication system, communication apparatus, and protection method | |
US20030223379A1 (en) | Method and system for inter-domain loop protection using a hierarchy of loop resolving protocols | |
US20170118066A1 (en) | Data plane to forward traffic based on communications from a software defined (sdn) controller during a control plane failure | |
JPWO2004075485A1 (en) | Network system, spanning tree configuration method and configuration program, spanning tree configuration node | |
WO2016101488A1 (en) | Ternary content addressable memory (tcam) table search method and device | |
CN108322338B (en) | Broadcast suppression method and VTEP device | |
CN111130893A (en) | A message transmission method and device | |
JPWO2007086539A1 (en) | Network node, frame transfer program, and frame transfer method | |
US11664890B2 (en) | Service processing method, control device, and storage medium | |
US20070058602A1 (en) | Transmission apparatus and frame transmission method | |
CN104104596B (en) | A kind of IRF divides treating method and apparatus | |
US20210242953A1 (en) | Network device, network system, network method, and computer readable medium | |
CN111903097B (en) | Transmission device, transmission method, and computer-readable storage medium | |
CN111034131B (en) | Transmission device, transmission method, and computer-readable recording medium | |
CN112104471B (en) | Fault transmission method and device | |
CN102164094B (en) | Multi-link traffic reallocation method and device | |
CN113810281B (en) | Dual-homing protection method, system and device | |
CN103227994B (en) | The management method and system of shared resource | |
CN113992605B (en) | Switch dynamic link backup and expansion method, device, equipment and storage medium | |
WO2011070913A1 (en) | On-chip parallel processing system and communication method | |
CN1322705C (en) | A method of datum plane reset for forwarding equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20220222 |
|
CF01 | Termination of patent right due to non-payment of annual fee |