WO2016017206A1 - Communication device, communication method, program, and communication system - Google Patents

Communication device, communication method, program, and communication system Download PDF

Info

Publication number
WO2016017206A1
WO2016017206A1 PCT/JP2015/057658 JP2015057658W WO2016017206A1 WO 2016017206 A1 WO2016017206 A1 WO 2016017206A1 JP 2015057658 W JP2015057658 W JP 2015057658W WO 2016017206 A1 WO2016017206 A1 WO 2016017206A1
Authority
WO
WIPO (PCT)
Prior art keywords
frame
measurement frame
data frames
communication
communication device
Prior art date
Application number
PCT/JP2015/057658
Other languages
French (fr)
Japanese (ja)
Inventor
大介 吉岡
Original Assignee
日本電気株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 日本電気株式会社 filed Critical 日本電気株式会社
Publication of WO2016017206A1 publication Critical patent/WO2016017206A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/40Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection

Definitions

  • the present invention relates to a communication device, a communication method, a program, and a communication system.
  • Patent Document 1 discloses a technique for performing LM (Loss Measurement) measurement defined by Ethernet OAM (Ethernet Operations, Administration, Maintenance, where Ethernet is a registered trademark) via a communication device that performs link aggregation communication.
  • Link aggregation communication is a technology in which a plurality of communication links stretched in parallel between two switches are integrated and handled logically as one communication link.
  • a communication device on the transmission side of link aggregation duplicates an LM frame for each communication link related to link aggregation, and transmits the LM frame to a communication device on the reception side. Performs LM measurement based on any one of the duplicated LM frames.
  • LM measurement can be performed for MEG (Maintenance Entity Group) including a communication device that performs link aggregation communication.
  • MEG Maintenance Entity Group
  • MIP Maintenance Intermediate Point
  • the transmission order of data frames and LM frames must not be switched. Therefore, when the receiving side communication device receives an LM frame from the first communication link and does not receive an LM frame from the second communication link, further receives a data frame from the first communication link.
  • the data frame needs to be transmitted after the LM frame.
  • the receiving side communication device needs to store the data frame received from the first communication link in the buffer until the LM frame is received from the second communication link.
  • the receiving communication device needs to transmit the data frame stored in the buffer after receiving the LM frame from the second communication link and transferring the LM frame to the transfer destination communication device. Therefore, the communication device on the receiving side.
  • a transmission delay of the data frame may occur.
  • An example of an object of the present invention is to provide a communication device, a communication method, a program, and a communication system that solve the above-described problems.
  • the communication apparatus stores a plurality of data frames and the number of data frames transmitted by the first communication apparatus from each of the plurality of communication links connected to the first communication apparatus.
  • the first communication device transmits the sum of the number of data frames stored in the duplicate measurement frame duplicated from a different measurement frame and the reception unit that receives the duplicate measurement frame duplicated from the measurement frame
  • a measurement frame generation unit that generates measurement frames to be stored as the number of data frames.
  • the communication method according to the second aspect is replicated from one measurement frame storing a plurality of data frames and the number of data frames transmitted by the communication device from each of a plurality of communication links connected to the same communication device. Receiving the copied duplicate measurement frame and storing the sum of the number of data frames stored in the duplicate measurement frame copied from the different measurement frames as the number of data frames transmitted by the communication device Generating a measurement frame.
  • a program is a measurement frame for storing a plurality of data frames and the number of data frames transmitted by the communication device from each of a plurality of communication links connecting the computer to the same communication device.
  • a reception unit that receives a duplicate measurement frame copied from the same, and the sum of the number of data frames stored in the duplicate measurement frame duplicated from a different measurement frame as the number of data frames transmitted by the communication device It functions as a measurement frame generation unit that generates a measurement frame to be stored.
  • the communication system includes a first communication device and a second communication device connected by a plurality of communication links.
  • the first communication device includes, for each data frame, an assignment unit that assigns a communication link for transmitting the data frame, and one measurement frame for storing the number of data frames to be transmitted to the second communication device.
  • a measurement frame duplicating unit that generates a duplicate measurement frame duplicated for each communication link; and a transmission unit that transmits the data frame and the duplicate measurement frame to the second communication device via the communication link.
  • the second communication device stores a plurality of data frames and the duplicate measurement frame from each of the plurality of communication links, and a duplicate measurement frame duplicated from a different measurement frame.
  • a measurement frame generation unit configured to generate a measurement frame for storing the sum of the number of data frames as the number of data frames transmitted by the first communication device.
  • a step of allocating a communication link for transmitting the data frame from a plurality of communication links, and one measurement frame for storing the number of data frames to be transmitted are provided. Generating a duplicate measurement frame duplicated for each communication link; transmitting the data frame and the duplicate measurement frame via the communication link; and a plurality of data from each of the plurality of communication links.
  • 1 is a schematic block diagram illustrating a communication system according to at least one embodiment. It is a schematic block diagram which shows the structure of MEP which concerns on at least 1 embodiment. It is a schematic block diagram which shows the structure of the OAM control part which concerns on at least 1 embodiment. It is a schematic block diagram which shows the structure of MIP which concerns on at least 1 embodiment. It is a flowchart which shows operation
  • FIG. 1 is a schematic block diagram illustrating a communication system 100 according to at least one embodiment.
  • the communication system 100 includes MEP1-1 (Maintenance End Point), MEP1-2, MIP2-1, and MIP2-2.
  • MEP1-1 and MEP1-2 are collectively referred to as MEP1.
  • MIP2-1 and MIP2-2 are collectively referred to as MIP2.
  • MEP1-1 is connected to MIP2-1.
  • MIP2-1 is connected to MEP1-1 and MIP2-2.
  • MIP2-2 is connected to MIP2-1 and MEP1-2.
  • MEP1-2 is connected to MIP2-2.
  • MIP2-1 and MIP2-2 constitute a link aggregation by a plurality of communication links.
  • the communication system 100 performs LM measurement of a data frame transmitted from the MEP 1-1 to the MEP 1-2.
  • the MEP 1-1 transmits the data frame and the LM frame to the MEP 1-2 via the MIP2-1 and MIP2-2.
  • the LM frame is an OAM frame whose operation code (OpCode) is 43 (LMM frame: Loss Measurement Message) or 45 (LMR frame: Loss Measurement Reply).
  • the LM frame is an example of a measurement frame. In the LM frame, at least the number of data frames transmitted from the MEP 1-1 to the MEP 1-2 between the transmission of the previous LM frame and the transmission of the current LM frame is stored.
  • the MEP 1-1 transmits the LMM frame every predetermined time (for example, 3.3 ms, 10 ms, 100 ms, 1 s, 1 min, 10 min).
  • MEP1-2 converts the LMM frame received from MIP2-2 into an LMR frame, and transmits the LMR frame to MEP1-1. Then, the MEP 1-1 measures the frame loss by comparing the number of data frames transmitted and received in each MEP1 and each MIP2 stored in the LMR frame.
  • FIG. 2 is a schematic block diagram showing the configuration of the MEP 1 according to at least one embodiment.
  • the MEP 1 includes a frame analysis unit 11, a frame count unit 12, a counter table 13, a frame switching unit 14, a forwarding table 15, an OAM control unit 16, and a frame output unit 17.
  • the frame analysis unit 11 determines the frame type of the input frame, and transfers the data frame to the frame count unit 12 and the OAM frame to the OAM control unit 16.
  • the frame count unit 12 counts the number of input data frames and records the counter value in the counter table 13.
  • the frame count unit 12 transfers the data frame to the frame switching unit 14.
  • the frame switching unit 14 refers to the forwarding table 15 to obtain the output port information and transfers it to the frame output unit 17.
  • the forwarding table 15 stores output port information for destination address information.
  • the OAM control unit 16 performs predetermined OAM processing according to the type of OAM frame received from the frame analysis unit 11.
  • the OAM control unit 16 refers to the counter information in the counter table 13 and performs predetermined LM processing.
  • the OAM control unit 16 transfers the OAM frame to the frame output unit 17.
  • the frame output unit 17 outputs the data frame received from the frame switching unit 14 and the OAM frame received from the OAM control unit 16 to a predetermined output port.
  • FIG. 3 is a schematic block diagram illustrating a configuration of an OAM control unit according to at least one embodiment.
  • the OAM control unit 16 includes an OAM frame analysis unit 161, an LM frame control unit 162, an OAM processing unit 163, an OAM frame transfer processing unit 164, and a forwarding table 165.
  • the OAM frame analysis unit 161 analyzes the OAM frame received from the frame analysis unit 11, and transfers the LM frame to the LM frame control unit 162 and the other frames to the OAM processing unit 163.
  • the processing of the LM frame control unit 162 differs between MEP1 (MEP1-1) on the transmission side and MEP1 (MEP1-2) on the reception side.
  • MEP1 MEP1
  • MEP1-2 MEP1
  • the LM frame control unit 162 of the MEP 1-1 When receiving the LM generation trigger from the external setting interface or the like, the LM frame control unit 162 of the MEP 1-1 generates an LMM frame, writes a transmission counter value, and transfers it to the OAM frame transfer processing unit 164. Further, when receiving the LMR frame, the LM frame control unit 162 of the MEP 1-1 terminates the LMR frame. Further, the LM frame control unit 162 of the MEP 1-1 calculates an end-to-end frame loss and a frame loss for each section from the information stored in the LMR frame, and the result is stored in an external memory or an external output interface. Output.
  • the LM frame control unit 162 of the MEP 1-2 terminates the LMM frame, generates an LMR frame using information in the LMM frame, and transfers the LMR frame to the OAM frame transfer processing unit 164.
  • the OAM frame transfer processing unit 164 obtains an output port for the OAM frame received from the LM frame control unit 162 and the OAM processing unit 163 with reference to the forwarding table 165 and transfers the output port to the frame output unit 17.
  • the OAM processing unit 163 receives an OAM frame other than the LM frame from the OAM frame analysis unit 161, the OAM processing unit 163 performs predetermined OAM processing and transfers the OAM frame transfer processing unit 164.
  • the MEP 1 includes the LM frame control unit 162 and the OAM processing unit 163 as separate blocks, but is not limited thereto.
  • the LM frame control unit 162 may be included in the OAM processing unit 163.
  • the forwarding table 165 stores output port information for destination address information of the OAM frame.
  • FIG. 4 is a schematic block diagram showing the configuration of the MIP 2 according to at least one embodiment.
  • the MIP 2 includes a frame analysis unit 20, a frame count unit 21, a counter table 22, a frame switching unit 23, a forwarding table 24, an OAM-LAG control unit 25 (LAG: Link Aggregation Group), a LAG function unit 26, and a frame transfer control unit 27.
  • the frame buffer 28 and the LM frame table 29 are provided.
  • the frame analysis unit 20, the frame count unit 21, the counter table 22, the frame switching unit 23, and the forwarding table 24 are the same as the frame analysis unit 11, the frame count unit 12, the counter table 13, the frame switching unit 14, and the forwarding table 15, respectively. Perform the action.
  • the processing of the OAM-LAG control unit 25 differs between MIP2 (MIP2-1) on the transmission side and MIP2 (MIP2-2) on the reception side.
  • MIP2-1 OAM-LAG control unit 25 Upon receiving the LMM frame, the MIP2-1 OAM-LAG control unit 25 writes the transmission counter value in the LMM frame, duplicates the LMM frame by the number of communication links, and outputs the duplicate LMM frame to the LAG function unit 26. To do.
  • the duplicate LMM frame is an example of a duplicate measurement frame.
  • the OAM-LAG control unit 25 of the MIP2-1 is an example of a measurement frame duplicating unit.
  • the OAM-LAG control unit 25 of the MIP2-2 generates one LMM frame from a plurality of duplicate LMM frames from a plurality of communication links, and transfers it to the MEP1-2.
  • the OAM-LAG control unit 25 of MEP1-2 deletes duplicated LM frames that are duplicated from the same LM frame as the duplicated LM frame that has already been received.
  • the OAM-LAG control unit 25 of the MIP2-2 is an example of a measurement frame generation unit, a transfer unit, and a duplicate frame deletion unit.
  • the LAG function unit 26 implements link aggregation with the opposing MIP 2 using a plurality of ports. Specifically, the data frame is assigned to a plurality of communication links and transferred to the opposite MIP2.
  • the LAG function unit 26 of the MIP2-1 is an example of an allocation unit and a transmission unit.
  • the LAG function unit 26 of the MIP2-2 is an example of a receiving unit.
  • the frame transfer control unit 27 refers to the LM frame table 29 and records data frames in the frame buffer 28 according to the number of LM frames received by the link aggregation link.
  • the LM frame table 29 stores identification information of a communication link from which MIP2 has received an LM frame.
  • the OAM-LAG function unit 25 of the MIP2-2 generates an LM frame that stores the sum of the number of data frames stored in the duplicated LM frame duplicated from different LM frames as the number of data frames.
  • the LM frame is transmitted to MEP1-2.
  • the communication system 100 reduces the transmission delay of the data frame in the communication system 100 having the communication related to link aggregation.
  • the MIP 2-1 according to the first embodiment rewrites the TTL (Time To Live) of the received LM frame to 0 at regular intervals.
  • the MIP2-2 according to the first embodiment is a data frame of a duplicate LM frame (including a duplicate LM frame in which TTL is 0) received until all duplicate LM frames in which TTL is 0 are received.
  • An LM frame having the sum of the numbers as the number of data frames is generated and transmitted to MEP1-2.
  • the MIP2-2 determines the number of data frames of the duplicate LM frame received before the reception of the duplicate LM frame.
  • An LM frame is generated in which the sum is stored as the number of data frames.
  • FIG. 5 is a flowchart showing the operation of the MIP 2 on the transmission side according to the first embodiment.
  • the frame analysis unit 20 of the MIP2-1 determines whether the frame received from the MEP1-1 is an OAM frame or a data frame (step S11).
  • the frame count unit 21 adds 1 to the number of data frames stored in the counter table 22 (Ste S12).
  • the LAG function unit 24 assigns the received data frame to any one of the plurality of communication links, and transfers the data frame to the MIP 2-2 via the communication link (step S13).
  • the OAM-LAG control unit 25 determines whether the received OAM frame is an LM frame. Is determined (step S14). If the OAM-LAG control unit 25 determines that the received OAM frame is not an LM frame (step S14: NO), the OAM-LAG control unit 25 performs predetermined OAM processing (step S15). On the other hand, if the OAM-LAG control unit 25 determines that the received OAM frame is an LM frame (step S14: YES), it stores the number of data frames stored in the counter table 22 in the LM frame (step S16). .
  • the OAM-LAG control unit 25 resets the number of data frames stored in the counter table 22.
  • the OAM-LAG control unit 25 determines whether or not the current timing is a timing for rewriting TTL (step S17).
  • the timing is determined by, for example, the elapsed time from the timing of rewriting the previous TTL, the number of received LM frames, the number of received data frames, and the like.
  • step S17 If the OAM-LAG control unit 25 determines that the current timing is the timing for rewriting TTL (step S17: YES), it rewrites the TTL of the LM frame to 0 (step S18). When the OAM-LAG control unit 25 rewrites the TTL of the LM frame to 0 or when it is not time to rewrite the TTL (step S17: NO), the OAM-LAG control unit 25 duplicates the LM frame for each communication link. An LM frame is generated (step S19). Then, the LAG function unit 26 transmits the duplicate LM frame to the MEP 1-2 via each communication link (step S20).
  • FIG. 6 is a flowchart showing the operation of the receiving side MIP2 according to the first embodiment.
  • the frame analysis unit 20 of the MIP2-2 determines whether the frame received from the MIP2-1 is an OAM frame or a data frame (step S21).
  • the frame transfer control unit 27 transmits the data frame to the LM frame table 29. It is determined whether or not the identification information is recorded (step S22).
  • the LM frame table 29 according to the first embodiment stores identification information of a communication link that has received a duplicate LM frame in which TTL is 0.
  • the LAG function unit 24 receives the received data frame. Is transferred to MEP1-2 (step S23).
  • the frame count unit 21 adds 1 to the number of data frames stored in the counter table 22 (step S24).
  • the frame transfer control unit 27 determines that the identification information of the communication link to which the data frame is transmitted is recorded in the LM frame table 29 (step S22: YES)
  • the data frame is stored in the frame buffer 28. Store and hold transfer of the data frame (step S25).
  • the MIP 2-2 suspends transfer of the received data frame after the last received duplicate LM frame used for generating the LM frame (a duplicate LM frame with a TTL of 0).
  • MIP2-2 does not store in frame buffer 28 for the data frame received before the last received duplicated LM frame used for generating LM frame (duplicated LM frame with TTL 0).
  • the MIP2-2 does not cause a transfer delay when receiving a duplicate LM frame other than a duplicate LM frame with a TTL of 0.
  • the OAM-LAG control unit 25 determines whether the OAM frame is a duplicated LM frame. Is determined (step S26). When the OAM-LAG control unit 25 determines that the OAM frame is not a duplicated LM frame (step S26: NO), the OAM-LAG control unit 25 performs predetermined OAM processing (step S27). On the other hand, when the OAM-LAG control unit 25 determines that the OAM frame is a duplicate LM frame (step S26: YES), the OAM-LAG control unit 25 determines whether the TTL of the duplicate LM frame is 0 (step S28).
  • step S28 determines that the TTL of the duplicate LM frame is 0 (step S28: YES)
  • it records the identification information of the communication link through which the duplicate LM frame is transmitted in the LM frame table 29 (Ste S29).
  • the OAM-LAG control unit 25 records the duplicate LM frame in the LM frame table 29. It is determined whether or not (step S30). That is, the OAM-LAG control unit 25 determines whether or not a duplicate LM frame duplicated from the same LM frame as the duplicate LM frame has already been received.
  • step S30 When determining that the duplicate LM frame is not recorded in the LM frame table 29 (step S30: NO), the OAM-LAG control unit 25 records the duplicate LM frame in the LM frame table 29 (step S31). On the other hand, when it is determined that the duplicate LM frame is recorded in the LM frame table 29 (step S30: YES), the OAM-LAG control unit 25 discards the duplicate LM frame (step S32).
  • the OAM-LAG control unit 25 determines whether or not the identification information of all communication links is recorded in the LM frame table 29 (step S33). That is, the OAM-LAG control unit 25 determines whether or not a duplicate LM frame with a TTL of 0 has been received from all communication links.
  • step S33 When the OAM-LAG control unit 25 determines that the identification information of all the communication links is recorded in the LM frame table 29 (step S33: YES), all the duplicate LM frames recorded in the LM frame table 29 are stored. An LM frame is generated with the sum of the number of data frames as the number of data frames (step S34). Further, the OAM-LAG control unit 25 newly adds the counter value stored in the counter table 22 to the LM frame as the number of data frames to the LM frame (step S35). At this time, the OAM-LAG control unit 25 resets information stored in the LM frame table 29 and the counter table 22. Then, the LAG function unit 26 transfers the LM frame generated by the OAM-LAG control unit 25 to the MEP 1-2 (step S36). Further, after transmitting the LM frame, the LAG function unit 26 transfers the data frame recorded in the frame buffer 28 to the MEP 1-2 (step S37). At this time, the frame count unit 21 adds the number of transferred data frames to the counter table 22
  • step S33 NO
  • a new LM frame is generated at that time. Not performed.
  • the MIP 2 can reduce the transmission delay of the data frame in the communication system 100 having the communication related to link aggregation.
  • MIP2 which concerns on 1st Embodiment demonstrated the case where a new LM frame was produced
  • MIP2 does not generate a new LM frame when receiving an LM frame in which TTL indicates 0, and does not generate a new LM frame in a case where an LM frame in which TTL indicates a value other than 0 is received.
  • a frame may be generated.
  • MIP2 may determine whether to generate a new LM frame based on parameters other than TTL.
  • the MIP2-2 calculates the sum of the number of data frames of the duplicate LM frame received after receiving a predetermined number of data frames and the number of data frames of the duplicate LM frame received before the duplicate LM frame, An LM frame having the number of data frames is generated and transmitted to MEP1-2. Note that the predetermined number of data frames is greater than the number of data frames transmitted at least during the transmission interval of the LM frame.
  • the operation of MIP2 on the transmission side according to the second embodiment is obtained by excluding steps S17 and S18 from the operation of MIP2 according to the first embodiment. That is, the MIP 2 on the transmission side according to the second embodiment duplicates and transfers the LM frame without rewriting the TTL.
  • the operation of the MIP2 on the receiving side according to the second embodiment is the same as that of the MIP2 operation according to the first embodiment, in which the OAM-LAG control unit 25 sets the counter value stored in the counter table 22 to a predetermined value. It is determined whether or not the value is greater than or equal to the value.
  • the MIP 2 can reduce the transmission delay of the data frame in the communication system 100 having communication related to link aggregation.
  • MIP2 which concerns on 2nd Embodiment demonstrated the case where it was determined whether a new LM frame was produced
  • MIP2 may determine whether or not to generate a new LM frame based on whether or not an elapsed time from the time when TTL was transmitted last time is a predetermined time or more. .
  • the MIP 2 may determine whether to generate a new LM frame based on whether a predetermined number of LM frames have been received.
  • the MIP 2 that performs link aggregation communication duplicates an LM frame and generates a new LM frame, but is not limited thereto.
  • the MEP 1 that performs link aggregation communication may perform duplication of an LM frame and generation of a new LM frame.
  • FIG. 7 is a schematic block diagram showing the basic configuration of the communication device 4.
  • the configuration of the MIP 2 illustrated in FIG. 4 as an embodiment of the communication device 4 has been described, but the basic configuration of the communication device 4 is as illustrated in FIG. That is, the communication device 4 has a basic configuration of the receiving unit 40 and the measurement frame generating unit 41.
  • the receiving unit 40 is replicated from each of a plurality of communication links connected to another communication device 4 from a single measurement frame that stores a plurality of data frames and the number of data frames transmitted by the other communication device 4.
  • a duplicate measurement frame is received.
  • the measurement frame generator 41 stores the sum of the number of data frames stored in the duplicate measurement frame copied from the different measurement frames as the number of data frames transmitted by the other communication device 4 Is generated. Thereby, the communication apparatus 4 can reduce the transmission delay of the data frame in the communication system 100 having communication related to link aggregation.
  • FIG. 8 is a schematic block diagram showing a configuration of the computer 9 according to at least one embodiment.
  • the computer 9 includes a CPU 90, a main storage device 91, an auxiliary storage device 92, and an interface 93.
  • the above MEP1 and MIP2 are mounted on the computer 9.
  • the operation of each processing unit described above is stored in the auxiliary storage device 92 in the form of a program.
  • the CPU 90 reads out the program from the auxiliary storage device 92, expands it in the main storage device 91, and executes the above processing according to the program. Further, the CPU 90 secures a storage area corresponding to each of the storage units described above in the main storage device 91 according to the program.
  • the auxiliary storage device 92 is an example of a tangible medium that is not temporary.
  • Other examples of the tangible medium that is not temporary include a magnetic disk, a magneto-optical disk, a CD-ROM, a DVD-ROM, and a semiconductor memory connected via the interface 93.
  • the program may be for realizing a part of the functions described above. Further, the program may be a so-called difference file (difference program) that realizes the above-described function in combination with another program already stored in the auxiliary storage device 92.
  • difference file difference program
  • the present invention may be applied to a communication device, a communication method, a program, and a communication system.

Landscapes

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

Abstract

In the present invention, a communication device is provided with the following: a reception unit that receives, from each of a plurality of communication links connected to a first communication device, a plurality of data frames, and a duplicated measurement frame, which is a duplication of one measurement frame that stores the number of data frames transmitted by the first communication device; and a measurement frame generation unit that generates a measurement frame that stores, as the number of data frames transmitted by the first communication device, the sum of the number of data frames stored in the duplicated measurement frame, duplicated from a different measurement frame.

Description

通信装置、通信方法、プログラム及び通信システムCOMMUNICATION DEVICE, COMMUNICATION METHOD, PROGRAM, AND COMMUNICATION SYSTEM
 本発明は、通信装置、通信方法、プログラム及び通信システムに関する。 The present invention relates to a communication device, a communication method, a program, and a communication system.
 リンクアグリゲーション通信を行う通信装置を介して、Ethernet OAM(Ethernet Operations, Administration, Maintenance、ただしEthernetは登録商標)で規定されたLM(Loss Measurement)測定を行う技術が、特許文献1に開示されている。リンクアグリゲーション通信とは、2台のスイッチ間で平行して張られた複数の通信リンクを統合し、論理的に1本の通信リンクのように扱う技術である。
 特許文献1に開示された技術によれば、リンクアグリゲーションの送信側の通信装置が、LMフレームをリンクアグリゲーションに係る通信リンクごとに複製して受信側の通信装置に送信し、受信側の通信装置が、複製されたLMフレームの何れか1つに基づいてLM測定を行う。
Patent Document 1 discloses a technique for performing LM (Loss Measurement) measurement defined by Ethernet OAM (Ethernet Operations, Administration, Maintenance, where Ethernet is a registered trademark) via a communication device that performs link aggregation communication. . Link aggregation communication is a technology in which a plurality of communication links stretched in parallel between two switches are integrated and handled logically as one communication link.
According to the technique disclosed in Patent Literature 1, a communication device on the transmission side of link aggregation duplicates an LM frame for each communication link related to link aggregation, and transmits the LM frame to a communication device on the reception side. Performs LM measurement based on any one of the duplicated LM frames.
日本国特開2012-129868号公報Japanese Unexamined Patent Publication No. 2012-129868
 特許文献1に開示された技術によれば、リンクアグリゲーション通信を行う通信装置を含むMEG(Maintenance Entity Group)についてLM測定を行うことができる。他方、受信側の通信装置がMIP(Maintenance Intermediate Point)として機能する場合、つまり受信したデータフレーム及びLMフレームを他の通信装置に転送する場合、データフレームの転送が滞ってしまう可能性がある。 According to the technique disclosed in Patent Document 1, LM measurement can be performed for MEG (Maintenance Entity Group) including a communication device that performs link aggregation communication. On the other hand, when the receiving-side communication device functions as MIP (Maintenance Intermediate Point), that is, when the received data frame and LM frame are transferred to another communication device, the transfer of the data frame may be delayed.
 LM測定を行うためには、データフレームとLMフレームの伝送順序が入れ替わってはならない。そのため、受信側の通信装置は、第1の通信リンクからLMフレームを受信し、第2の通信リンクからLMフレームを受信していないときに、第1の通信リンクからさらにデータフレームを受信した場合、当該データフレームをLMフレームの後に送信する必要がある。この場合、受信側の通信装置は、第2の通信リンクからLMフレームを受信するまで、第1の通信リンクから受信したデータフレームをバッファに格納しておく必要がある。そして受信側の通信装置は、第2の通信リンクからLMフレームを受信して当該LMフレームを転送先の通信装置に転送した後に、バッファに格納したデータフレームを送信する必要がある。そのため、受信側の通信装置は。LMフレームを受信するたびに、データフレームの伝送遅延が生じる可能性がある。 In order to perform LM measurement, the transmission order of data frames and LM frames must not be switched. Therefore, when the receiving side communication device receives an LM frame from the first communication link and does not receive an LM frame from the second communication link, further receives a data frame from the first communication link. The data frame needs to be transmitted after the LM frame. In this case, the receiving side communication device needs to store the data frame received from the first communication link in the buffer until the LM frame is received from the second communication link. The receiving communication device needs to transmit the data frame stored in the buffer after receiving the LM frame from the second communication link and transferring the LM frame to the transfer destination communication device. Therefore, the communication device on the receiving side. Each time an LM frame is received, a transmission delay of the data frame may occur.
 本発明の目的の一例は、上述した課題を解決する通信装置、通信方法、プログラム及び通信システムを提供することにある。 An example of an object of the present invention is to provide a communication device, a communication method, a program, and a communication system that solve the above-described problems.
 第1の態様に係る通信装置は、第1の通信装置と接続する複数の通信リンクそれぞれから、複数のデータフレームと、当該第1の通信装置が送信したデータフレームの数を格納する一の測定用フレームから複製された複製測定用フレームとを受信する受信部と、異なる測定用フレームから複製された複製測定用フレームに格納されるデータフレームの数の和を、前記第1の通信装置が送信したデータフレームの数として格納する測定用フレームを生成する測定用フレーム生成部とを備える。 The communication apparatus according to the first aspect stores a plurality of data frames and the number of data frames transmitted by the first communication apparatus from each of the plurality of communication links connected to the first communication apparatus. The first communication device transmits the sum of the number of data frames stored in the duplicate measurement frame duplicated from a different measurement frame and the reception unit that receives the duplicate measurement frame duplicated from the measurement frame A measurement frame generation unit that generates measurement frames to be stored as the number of data frames.
 第2の態様に係る通信方法は、同一の通信装置と接続する複数の通信リンクそれぞれから、複数のデータフレームと、当該通信装置が送信したデータフレームの数を格納する一の測定用フレームから複製された複製測定用フレームとを受信するステップと、異なる測定用フレームから複製された複製測定用フレームに格納されるデータフレームの数の和を、前記通信装置が送信したデータフレームの数として格納する測定用フレームを生成するステップとを備える。 The communication method according to the second aspect is replicated from one measurement frame storing a plurality of data frames and the number of data frames transmitted by the communication device from each of a plurality of communication links connected to the same communication device. Receiving the copied duplicate measurement frame and storing the sum of the number of data frames stored in the duplicate measurement frame copied from the different measurement frames as the number of data frames transmitted by the communication device Generating a measurement frame.
 第3の態様に係るプログラムは、コンピュータを、同一の通信装置と接続する複数の通信リンクそれぞれから、複数のデータフレームと、当該通信装置が送信したデータフレームの数を格納する一の測定用フレームから複製された複製測定用フレームとを受信する受信部、異なる測定用フレームから複製された複製測定用フレームに格納されるデータフレームの数の和を、前記通信装置が送信したデータフレームの数として格納する測定用フレームを生成する測定用フレーム生成部として機能させる。 A program according to a third aspect is a measurement frame for storing a plurality of data frames and the number of data frames transmitted by the communication device from each of a plurality of communication links connecting the computer to the same communication device. A reception unit that receives a duplicate measurement frame copied from the same, and the sum of the number of data frames stored in the duplicate measurement frame duplicated from a different measurement frame as the number of data frames transmitted by the communication device It functions as a measurement frame generation unit that generates a measurement frame to be stored.
 第4の態様に係る通信システムは、複数の通信リンクによって接続される第1の通信装置と第2の通信装置とを備える。前記第1の通信装置は、データフレームごとに、当該データフレームを送信する通信リンクを割り当てる割当部と、前記第2の通信装置に送信するデータフレームの数を格納する一の測定用フレームを前記通信リンクごとに複製した複製測定用フレームを生成する測定用フレーム複製部と、前記データフレームと前記複製測定用フレームとを前記通信リンクを介して前記第2の通信装置に送信する送信部とを備える。前記第2の通信装置は、前記複数の通信リンクそれぞれから、複数のデータフレームと前記複製測定用フレームとを受信する受信部と、異なる測定用フレームから複製された複製測定用フレームに格納されるデータフレームの数の和を、前記第1の通信装置が送信したデータフレームの数として格納する測定用フレームを生成する測定用フレーム生成部とを備える。 The communication system according to the fourth aspect includes a first communication device and a second communication device connected by a plurality of communication links. The first communication device includes, for each data frame, an assignment unit that assigns a communication link for transmitting the data frame, and one measurement frame for storing the number of data frames to be transmitted to the second communication device. A measurement frame duplicating unit that generates a duplicate measurement frame duplicated for each communication link; and a transmission unit that transmits the data frame and the duplicate measurement frame to the second communication device via the communication link. Prepare. The second communication device stores a plurality of data frames and the duplicate measurement frame from each of the plurality of communication links, and a duplicate measurement frame duplicated from a different measurement frame. A measurement frame generation unit configured to generate a measurement frame for storing the sum of the number of data frames as the number of data frames transmitted by the first communication device.
 第5の態様に係る通信方法は、データフレームごとに、当該データフレームを送信する通信リンクを複数の通信リンクの中から割り当てるステップと、送信するデータフレームの数を格納する一の測定用フレームを前記通信リンクごとに複製した複製測定用フレームを生成するステップと、前記データフレームと前記複製測定用フレームとを前記通信リンクを介して送信するステップと、前記複数の通信リンクそれぞれから、複数のデータフレームと前記複製測定用フレームとを受信するステップと、異なる測定用フレームから複製された複製測定用フレームに格納されるデータフレームの数の和を、送信されたデータフレームの数として格納する測定用フレームを生成するステップとを備える。 In the communication method according to the fifth aspect, for each data frame, a step of allocating a communication link for transmitting the data frame from a plurality of communication links, and one measurement frame for storing the number of data frames to be transmitted are provided. Generating a duplicate measurement frame duplicated for each communication link; transmitting the data frame and the duplicate measurement frame via the communication link; and a plurality of data from each of the plurality of communication links. A step of receiving a frame and the duplicate measurement frame; and a measurement for storing a sum of the number of data frames stored in a duplicate measurement frame copied from a different measurement frame as the number of transmitted data frames Generating a frame.
 上記態様のうち少なくとも1つの態様によれば、リンクアグリゲーションに係る通信を有する通信システムにおけるデータフレームの伝送遅延を低減することができる。 According to at least one of the above aspects, it is possible to reduce a data frame transmission delay in a communication system having communication related to link aggregation.
少なくとも1つの実施形態に係る通信システムを示す概略ブロック図である。1 is a schematic block diagram illustrating a communication system according to at least one embodiment. 少なくとも1つの実施形態に係るMEPの構成を示す概略ブロック図である。It is a schematic block diagram which shows the structure of MEP which concerns on at least 1 embodiment. 少なくとも1つの実施形態に係るOAM制御部の構成を示す概略ブロック図である。It is a schematic block diagram which shows the structure of the OAM control part which concerns on at least 1 embodiment. 少なくとも1つの実施形態に係るMIPの構成を示す概略ブロック図である。It is a schematic block diagram which shows the structure of MIP which concerns on at least 1 embodiment. 第1の実施形態に係る送信側のMIPの動作を示すフローチャートである。It is a flowchart which shows operation | movement of MIP of the transmission side which concerns on 1st Embodiment. 第1の実施形態に係る受信側のMIPの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the MIP of the receiving side which concerns on 1st Embodiment. 実施形態に係る通信装置の基本構成を示す概略ブロック図である。It is a schematic block diagram which shows the basic composition of the communication apparatus which concerns on embodiment. 少なくとも1つの実施形態に係るコンピュータの構成を示す概略ブロック図である。It is a schematic block diagram which shows the structure of the computer which concerns on at least 1 embodiment.
 以下、図面を参照しながら実施形態について詳しく説明する。
 図1は、少なくとも1つの実施形態に係る通信システム100を示す概略ブロック図である。
 通信システム100は、MEP1-1(Maintenance End Point)、MEP1-2、MIP2-1、MIP2-2を備える。以下、MEP1-1、MEP1-2を総称して、MEP1という。またMIP2-1、MIP2-2を総称して、MIP2という。MEP1-1は、MIP2-1に接続される。MIP2-1は、MEP1-1及びMIP2-2に接続される。MIP2-2は、MIP2-1及びMEP1-2に接続される。MEP1-2は、MIP2-2に接続される。なお、MIP2-1とMIP2-2とは、複数の通信リンクによってリンクアグリゲーションを構成する。
Hereinafter, embodiments will be described in detail with reference to the drawings.
FIG. 1 is a schematic block diagram illustrating a communication system 100 according to at least one embodiment.
The communication system 100 includes MEP1-1 (Maintenance End Point), MEP1-2, MIP2-1, and MIP2-2. Hereinafter, MEP1-1 and MEP1-2 are collectively referred to as MEP1. MIP2-1 and MIP2-2 are collectively referred to as MIP2. MEP1-1 is connected to MIP2-1. MIP2-1 is connected to MEP1-1 and MIP2-2. MIP2-2 is connected to MIP2-1 and MEP1-2. MEP1-2 is connected to MIP2-2. MIP2-1 and MIP2-2 constitute a link aggregation by a plurality of communication links.
 通信システム100は、MEP1-1からMEP1-2へ送信されるデータフレームのLM測定を行う。具体的には、MEP1-1は、データフレームとLMフレームとをMIP2-1及びMIP2-2を介して、MEP1-2に送信する。LMフレームとは、OAMフレームのうちオペレーションコード(OpCode)が43(LMMフレーム:Loss Measurement Message)または45(LMRフレーム:Loss Measurement Reply)であるものである。LMフレームは、測定用フレームの一例である。LMフレームには、少なくとも前回のLMフレームの送信から今回のLMフレームの送信までの間にMEP1-1がMEP1-2に送信したデータフレームの数が格納される。MEP1-1は、LMMフレームを所定の時間(例えば、3.3ms、10ms、100ms、1s、1min、10min)毎に送信する。MEP1-2は、MIP2-2から受信したLMMフレームをLMRフレームに変換し、LMRフレームをMEP1-1に送信する。そして、MEP1-1は、LMRフレームに格納された各MEP1及び各MIP2におけるデータフレームの送信数と受信数とを比較することで、フレームロスの測定を行う。 The communication system 100 performs LM measurement of a data frame transmitted from the MEP 1-1 to the MEP 1-2. Specifically, the MEP 1-1 transmits the data frame and the LM frame to the MEP 1-2 via the MIP2-1 and MIP2-2. The LM frame is an OAM frame whose operation code (OpCode) is 43 (LMM frame: Loss Measurement Message) or 45 (LMR frame: Loss Measurement Reply). The LM frame is an example of a measurement frame. In the LM frame, at least the number of data frames transmitted from the MEP 1-1 to the MEP 1-2 between the transmission of the previous LM frame and the transmission of the current LM frame is stored. The MEP 1-1 transmits the LMM frame every predetermined time (for example, 3.3 ms, 10 ms, 100 ms, 1 s, 1 min, 10 min). MEP1-2 converts the LMM frame received from MIP2-2 into an LMR frame, and transmits the LMR frame to MEP1-1. Then, the MEP 1-1 measures the frame loss by comparing the number of data frames transmitted and received in each MEP1 and each MIP2 stored in the LMR frame.
 図2は、少なくとも1つの実施形態に係るMEP1の構成を示す概略ブロック図である。
 MEP1は、フレーム解析部11、フレームカウント部12、カウンタテーブル13、フレームスイッチング部14、フォワーディングテーブル15、OAM制御部16及びフレーム出力部17を備える。
FIG. 2 is a schematic block diagram showing the configuration of the MEP 1 according to at least one embodiment.
The MEP 1 includes a frame analysis unit 11, a frame count unit 12, a counter table 13, a frame switching unit 14, a forwarding table 15, an OAM control unit 16, and a frame output unit 17.
 フレーム解析部11は、入力フレームのフレーム種別を判別し、データフレームをフレームカウント部12に、OAMフレームをOAM制御部16に転送する。
 フレームカウント部12は、入力されるデータフレームのフレーム数をカウントし、そのカウンタ値をカウンタテーブル13に記録する。フレームカウント部12は、フレーム数をカウントすると、データフレームをフレームスイッチング部14に転送する。
 フレームスイッチング部14は、データフレームを受信すると、フォワーディングテーブル15を参照して、出力ポート情報を入手し、フレーム出力部17に転送する。
 フォワーディングテーブル15は、宛先アドレス情報に対する出力ポート情報を格納している。
 OAM制御部16は、フレーム解析部11から受信したOAMフレームの種別に従い、所定のOAM処理を行なう。OAM制御部16は、OAMフレームがLMフレームである場合、カウンタテーブル13のカウンタ情報を参照して、所定のLM処理を行う。OAM制御部16は、所定のOAM処理を行うと、OAMフレームをフレーム出力部17に転送する。
 フレーム出力部17は、フレームスイッチング部14から受信するデータフレーム及びOAM制御部16から受信するOAMフレームを、所定の出力ポートに出力する。
The frame analysis unit 11 determines the frame type of the input frame, and transfers the data frame to the frame count unit 12 and the OAM frame to the OAM control unit 16.
The frame count unit 12 counts the number of input data frames and records the counter value in the counter table 13. When the frame count unit 12 counts the number of frames, the frame count unit 12 transfers the data frame to the frame switching unit 14.
When the frame switching unit 14 receives the data frame, the frame switching unit 14 refers to the forwarding table 15 to obtain the output port information and transfers it to the frame output unit 17.
The forwarding table 15 stores output port information for destination address information.
The OAM control unit 16 performs predetermined OAM processing according to the type of OAM frame received from the frame analysis unit 11. When the OAM frame is an LM frame, the OAM control unit 16 refers to the counter information in the counter table 13 and performs predetermined LM processing. When the OAM control unit 16 performs predetermined OAM processing, the OAM control unit 16 transfers the OAM frame to the frame output unit 17.
The frame output unit 17 outputs the data frame received from the frame switching unit 14 and the OAM frame received from the OAM control unit 16 to a predetermined output port.
 図3は、少なくとも1つの実施形態に係るOAM制御部の構成を示す概略ブロック図である。
 OAM制御部16は、OAMフレーム解析部161、LMフレーム制御部162、OAM処理部163、OAMフレーム転送処理部164及びフォワーディングテーブル165を備える。
FIG. 3 is a schematic block diagram illustrating a configuration of an OAM control unit according to at least one embodiment.
The OAM control unit 16 includes an OAM frame analysis unit 161, an LM frame control unit 162, an OAM processing unit 163, an OAM frame transfer processing unit 164, and a forwarding table 165.
 OAMフレーム解析部161は、フレーム解析部11から受信するOAMフレームを解析し、LMフレームをLMフレーム制御部162に、その他のフレームをOAM処理部163に転送する。 The OAM frame analysis unit 161 analyzes the OAM frame received from the frame analysis unit 11, and transfers the LM frame to the LM frame control unit 162 and the other frames to the OAM processing unit 163.
 LMフレーム制御部162は、送信側のMEP1(MEP1‐1)と受信側のMEP1(MEP1-2)とで処理が異なる。MEP1-1のLMフレーム制御部162は、外部設定インタフェース等からLM生成トリガを受けると、LMMフレームを生成し、送信カウンタ値を書き込み、OAMフレーム転送処理部164に転送する。また、MEP1-1のLMフレーム制御部162は、LMRフレームを受信すると、LMRフレームを終端する。さらに、MEP1-1のLMフレーム制御部162は、LMRフレームに格納される情報から、End-to-Endのフレームロス及び区間毎のフレームロスを計算し、結果を外部メモリや外部出力インタフェース等に出力する。 The processing of the LM frame control unit 162 differs between MEP1 (MEP1-1) on the transmission side and MEP1 (MEP1-2) on the reception side. When receiving the LM generation trigger from the external setting interface or the like, the LM frame control unit 162 of the MEP 1-1 generates an LMM frame, writes a transmission counter value, and transfers it to the OAM frame transfer processing unit 164. Further, when receiving the LMR frame, the LM frame control unit 162 of the MEP 1-1 terminates the LMR frame. Further, the LM frame control unit 162 of the MEP 1-1 calculates an end-to-end frame loss and a frame loss for each section from the information stored in the LMR frame, and the result is stored in an external memory or an external output interface. Output.
 MEP1-2のLMフレーム制御部162は、LMMフレームを受信すると、LMMフレームを終端し、LMMフレーム内の情報を用いてLMRフレームを生成し、OAMフレーム転送処理部164に転送する。 When receiving the LMM frame, the LM frame control unit 162 of the MEP 1-2 terminates the LMM frame, generates an LMR frame using information in the LMM frame, and transfers the LMR frame to the OAM frame transfer processing unit 164.
 OAMフレーム転送処理部164は、LMフレーム制御部162及びOAM処理部163から受信するOAMフレームに対して、フォワーディングテーブル165を参照して出力ポートを取得し、フレーム出力部17に転送する。
 OAM処理部163は、OAMフレーム解析部161からLMフレーム以外のOAMフレームを受信すると、所定のOAM処理を行い、OAMフレーム転送処理部164に転送する。なお、本実施形態では、MEP1が、LMフレーム制御部162とOAM処理部163とを別ブロックとして備えるが、これに限られない。例えば、他の実施形態では、LMフレーム制御部162がOAM処理部163の中に含まれても良い。
 フォワーディングテーブル165は、OAMフレームの宛先アドレス情報に対する出力ポート情報を格納している。
The OAM frame transfer processing unit 164 obtains an output port for the OAM frame received from the LM frame control unit 162 and the OAM processing unit 163 with reference to the forwarding table 165 and transfers the output port to the frame output unit 17.
When the OAM processing unit 163 receives an OAM frame other than the LM frame from the OAM frame analysis unit 161, the OAM processing unit 163 performs predetermined OAM processing and transfers the OAM frame transfer processing unit 164. In the present embodiment, the MEP 1 includes the LM frame control unit 162 and the OAM processing unit 163 as separate blocks, but is not limited thereto. For example, in another embodiment, the LM frame control unit 162 may be included in the OAM processing unit 163.
The forwarding table 165 stores output port information for destination address information of the OAM frame.
 図4は、少なくとも1つの実施形態に係るMIP2の構成を示す概略ブロック図である。
 MIP2は、フレーム解析部20、フレームカウント部21、カウンタテーブル22、フレームスイッチング部23、フォワーディングテーブル24、OAM-LAG制御部25(LAG:Link Aggregation Group)、LAG機能部26、フレーム転送制御部27、フレームバッファ28及びLMフレームテーブル29を備える。
FIG. 4 is a schematic block diagram showing the configuration of the MIP 2 according to at least one embodiment.
The MIP 2 includes a frame analysis unit 20, a frame count unit 21, a counter table 22, a frame switching unit 23, a forwarding table 24, an OAM-LAG control unit 25 (LAG: Link Aggregation Group), a LAG function unit 26, and a frame transfer control unit 27. The frame buffer 28 and the LM frame table 29 are provided.
 フレーム解析部20、フレームカウント部21、カウンタテーブル22、フレームスイッチング部23、フォワーディングテーブル24は、それぞれフレーム解析部11、フレームカウント部12、カウンタテーブル13、フレームスイッチング部14、フォワーディングテーブル15と同様の動作を行う。 The frame analysis unit 20, the frame count unit 21, the counter table 22, the frame switching unit 23, and the forwarding table 24 are the same as the frame analysis unit 11, the frame count unit 12, the counter table 13, the frame switching unit 14, and the forwarding table 15, respectively. Perform the action.
 OAM-LAG制御部25は、送信側のMIP2(MIP2‐1)と受信側のMIP2(MIP2-2)とで処理が異なる。MIP2-1のOAM-LAG制御部25は、LMMフレームを受信すると、当該LMMフレームに送信カウンタ値を書き込み、当該LMMフレームを通信リンク数だけ複製して、複製LMMフレームをLAG機能部26に出力する。複製LMMフレームは、複製測定用フレームの一例である。また、MIP2-1のOAM-LAG制御部25は、測定用フレーム複製部の一例である。 The processing of the OAM-LAG control unit 25 differs between MIP2 (MIP2-1) on the transmission side and MIP2 (MIP2-2) on the reception side. Upon receiving the LMM frame, the MIP2-1 OAM-LAG control unit 25 writes the transmission counter value in the LMM frame, duplicates the LMM frame by the number of communication links, and outputs the duplicate LMM frame to the LAG function unit 26. To do. The duplicate LMM frame is an example of a duplicate measurement frame. The OAM-LAG control unit 25 of the MIP2-1 is an example of a measurement frame duplicating unit.
 他方、MIP2-2のOAM-LAG制御部25は、複数の通信リンクから、複数の複製LMMフレームから1つのLMMフレームを生成して、MEP1-2に転送する。またMEP1-2のOAM-LAG制御部25は、複製LMフレームのうち、既に受信された複製LMフレームと同一のLMフレームから複製されたものを削除する。なお、MIP2-2のOAM-LAG制御部25は、測定用フレーム生成部、転送部及び重複フレーム削除部の一例である。 On the other hand, the OAM-LAG control unit 25 of the MIP2-2 generates one LMM frame from a plurality of duplicate LMM frames from a plurality of communication links, and transfers it to the MEP1-2. The OAM-LAG control unit 25 of MEP1-2 deletes duplicated LM frames that are duplicated from the same LM frame as the duplicated LM frame that has already been received. The OAM-LAG control unit 25 of the MIP2-2 is an example of a measurement frame generation unit, a transfer unit, and a duplicate frame deletion unit.
 LAG機能部26は、複数のポートを用いて、対向するMIP2とのリンクアグリゲーションを実現する。具体的には、データフレームを複数の通信リンクに割り当てて対向するMIP2に転送する。なお、MIP2-1のLAG機能部26は、割当部及び送信部の一例である。また、MIP2-2のLAG機能部26は、受信部の一例である。
 フレーム転送制御部27は、LMフレームテーブル29を参照し、リンクアグリゲーションのリンクが受信したLMフレームの数に応じて、データフレームをフレームバッファ28に記録する。
 LMフレームテーブル29は、MIP2がLMフレームを受信した通信リンクの識別情報を記憶する。
The LAG function unit 26 implements link aggregation with the opposing MIP 2 using a plurality of ports. Specifically, the data frame is assigned to a plurality of communication links and transferred to the opposite MIP2. The LAG function unit 26 of the MIP2-1 is an example of an allocation unit and a transmission unit. The LAG function unit 26 of the MIP2-2 is an example of a receiving unit.
The frame transfer control unit 27 refers to the LM frame table 29 and records data frames in the frame buffer 28 according to the number of LM frames received by the link aggregation link.
The LM frame table 29 stores identification information of a communication link from which MIP2 has received an LM frame.
 上記構成において、MIP2-2のOAM-LAG機能部25は、異なるLMフレームから複製された複製LMフレームに格納されるデータフレーム数の和を、データフレーム数として格納するLMフレームを生成し、当該LMフレームをMEP1-2に送信する。
 これにより、通信システム100は、リンクアグリゲーションに係る通信を有する通信システム100におけるデータフレームの伝送遅延を低減する。
In the above configuration, the OAM-LAG function unit 25 of the MIP2-2 generates an LM frame that stores the sum of the number of data frames stored in the duplicated LM frame duplicated from different LM frames as the number of data frames. The LM frame is transmitted to MEP1-2.
Thereby, the communication system 100 reduces the transmission delay of the data frame in the communication system 100 having the communication related to link aggregation.
《第1の実施形態》
 以下、上記構成を有する通信システム100のMIP2の実施形態について説明する。
 第1の実施形態に係るMIP2-1は、受信したLMフレームのTTL(Time To Live)を一定間隔で0に書き換える。これに対し、第1の実施形態に係るMIP2-2は、TTLが0を示す複製LMフレームを全て受信するまでに受信した複製LMフレーム(TTLが0を示す複製LMフレームを含む)のデータフレーム数の和を、データフレーム数とするLMフレームを生成し、MEP1-2に送信する。つまり、MIP2-2は、複製LMフレームの所定のパラメータ(TTL)に所定の値(0)がセットされている場合に、当該複製LMフレームの受信までに受信した複製LMフレームのデータフレーム数の和を、データフレームの数として格納したLMフレームを生成する。
<< First Embodiment >>
Hereinafter, an embodiment of MIP2 of the communication system 100 having the above configuration will be described.
The MIP 2-1 according to the first embodiment rewrites the TTL (Time To Live) of the received LM frame to 0 at regular intervals. On the other hand, the MIP2-2 according to the first embodiment is a data frame of a duplicate LM frame (including a duplicate LM frame in which TTL is 0) received until all duplicate LM frames in which TTL is 0 are received. An LM frame having the sum of the numbers as the number of data frames is generated and transmitted to MEP1-2. In other words, when a predetermined value (0) is set in the predetermined parameter (TTL) of the duplicate LM frame, the MIP2-2 determines the number of data frames of the duplicate LM frame received before the reception of the duplicate LM frame. An LM frame is generated in which the sum is stored as the number of data frames.
 図5は、第1の実施形態に係る送信側のMIP2の動作を示すフローチャートである。
 通信システム100がLM測定を開始すると、MIP2-1のフレーム解析部20は、MEP1-1から受信したフレームが、OAMフレームであるかデータフレームであるかを判定する(ステップS11)。フレーム解析部20が、MEP1-1から受信したフレームがデータフレームであると判定した場合(ステップS11:YES)、フレームカウント部21は、カウンタテーブル22が記憶するデータフレーム数に1を加算する(ステップS12)。次に、LAG機能部24は、受信したデータフレームを複数の通信リンクの何れか1つに割り当て、当該通信リンクを介して当該データフレームをMIP2-2に転送する(ステップS13)。
FIG. 5 is a flowchart showing the operation of the MIP 2 on the transmission side according to the first embodiment.
When the communication system 100 starts LM measurement, the frame analysis unit 20 of the MIP2-1 determines whether the frame received from the MEP1-1 is an OAM frame or a data frame (step S11). When the frame analysis unit 20 determines that the frame received from the MEP 1-1 is a data frame (step S11: YES), the frame count unit 21 adds 1 to the number of data frames stored in the counter table 22 ( Step S12). Next, the LAG function unit 24 assigns the received data frame to any one of the plurality of communication links, and transfers the data frame to the MIP 2-2 via the communication link (step S13).
 他方、フレーム解析部20が、MEP1-1から受信したフレームがOAMフレームであると判定した場合(ステップS11:NO)、OAM-LAG制御部25は、受信したOAMフレームがLMフレームであるか否かを判定する(ステップS14)。OAM-LAG制御部25は、受信したOAMフレームがLMフレームでないと判定した場合(ステップS14:NO)、所定のOAM処理を行う(ステップS15)。他方、OAM-LAG制御部25は、受信したOAMフレームがLMフレームであると判定した場合(ステップS14:YES)、当該LMフレームにカウンタテーブル22が記憶するデータフレーム数を格納する(ステップS16)。このとき、OAM-LAG制御部25は、カウンタテーブル22が記憶するデータフレーム数をリセットする。次に、OAM-LAG制御部25は、現時点のタイミングが、TTLを書き換えるタイミングであるか否かを判定する(ステップS17)。当該タイミングは、例えば、前回TTLを書き換えたタイミングからの経過時間、LMフレームの受信数、データフレームの受信数などによって定められる。 On the other hand, when the frame analysis unit 20 determines that the frame received from the MEP 1-1 is an OAM frame (step S11: NO), the OAM-LAG control unit 25 determines whether the received OAM frame is an LM frame. Is determined (step S14). If the OAM-LAG control unit 25 determines that the received OAM frame is not an LM frame (step S14: NO), the OAM-LAG control unit 25 performs predetermined OAM processing (step S15). On the other hand, if the OAM-LAG control unit 25 determines that the received OAM frame is an LM frame (step S14: YES), it stores the number of data frames stored in the counter table 22 in the LM frame (step S16). . At this time, the OAM-LAG control unit 25 resets the number of data frames stored in the counter table 22. Next, the OAM-LAG control unit 25 determines whether or not the current timing is a timing for rewriting TTL (step S17). The timing is determined by, for example, the elapsed time from the timing of rewriting the previous TTL, the number of received LM frames, the number of received data frames, and the like.
 OAM-LAG制御部25は、現時点のタイミングがTTLを書き換えるタイミングであると判定した場合(ステップS17:YES)、LMフレームのTTLを0に書き換える(ステップS18)。OAM-LAG制御部25がLMフレームのTTLを0に書き換えた場合、またはTTLを書き換えるタイミングでない場合(ステップS17:NO)、OAM-LAG制御部25は、LMフレームを通信リンクごとに複製した複製LMフレームを生成する(ステップS19)。そして、LAG機能部26は、複製LMフレームを各通信リンクを介してMEP1-2に送信する(ステップS20)。 If the OAM-LAG control unit 25 determines that the current timing is the timing for rewriting TTL (step S17: YES), it rewrites the TTL of the LM frame to 0 (step S18). When the OAM-LAG control unit 25 rewrites the TTL of the LM frame to 0 or when it is not time to rewrite the TTL (step S17: NO), the OAM-LAG control unit 25 duplicates the LM frame for each communication link. An LM frame is generated (step S19). Then, the LAG function unit 26 transmits the duplicate LM frame to the MEP 1-2 via each communication link (step S20).
 図6は、第1の実施形態に係る受信側のMIP2の動作を示すフローチャートである。
 通信システム100がLM測定を開始すると、MIP2-2のフレーム解析部20は、MIP2-1から受信したフレームが、OAMフレームであるかデータフレームであるかを判定する(ステップS21)。フレーム解析部20が、MIP2-1から受信したフレームがデータフレームであると判定した場合(ステップS21:YES)、フレーム転送制御部27は、LMフレームテーブル29に当該データフレームが伝送された通信リンクの識別情報が記録されているか否かを判定する(ステップS22)。なお、第1の実施形態に係るLMフレームテーブル29は、TTLが0を示す複製LMフレームを受信した通信リンクの識別情報を記憶する。
FIG. 6 is a flowchart showing the operation of the receiving side MIP2 according to the first embodiment.
When the communication system 100 starts LM measurement, the frame analysis unit 20 of the MIP2-2 determines whether the frame received from the MIP2-1 is an OAM frame or a data frame (step S21). When the frame analysis unit 20 determines that the frame received from the MIP 2-1 is a data frame (step S21: YES), the frame transfer control unit 27 transmits the data frame to the LM frame table 29. It is determined whether or not the identification information is recorded (step S22). The LM frame table 29 according to the first embodiment stores identification information of a communication link that has received a duplicate LM frame in which TTL is 0.
 フレーム転送制御部27が、LMフレームテーブル29に当該データフレームが伝送された通信リンクの識別情報が記録されていないと判定した場合(ステップS22:NO)、LAG機能部24は、受信したデータフレームをMEP1-2に転送する(ステップS23)。また、フレームカウント部21は、カウンタテーブル22が記憶するデータフレーム数に1を加算する(ステップS24)。
 他方、フレーム転送制御部27は、LMフレームテーブル29に当該データフレームが伝送された通信リンクの識別情報が記録されていると判定した場合(ステップS22:YES)、当該データフレームをフレームバッファ28に格納し、当該データフレームの転送を保留する(ステップS25)。つまり、MIP2-2は、LMフレームの生成に用いられる複製LMフレームのうち最後に受信されたもの(TTLが0の複製LMフレーム)以降に、受信したデータフレームの転送を保留する。他方、LMフレームの生成に用いられる複製LMフレームのうち最後に受信されたもの(TTLが0の複製LMフレーム)以前に受信したデータフレームについては、MIP2-2は、フレームバッファ28に格納せずに逐次MEP1-2に転送する。これにより、MIP2-2は、TTLが0の複製LMフレーム以外の複製LMフレームを受信したときに、転送遅延を生じさせない。
When the frame transfer control unit 27 determines that the identification information of the communication link through which the data frame is transmitted is not recorded in the LM frame table 29 (step S22: NO), the LAG function unit 24 receives the received data frame. Is transferred to MEP1-2 (step S23). The frame count unit 21 adds 1 to the number of data frames stored in the counter table 22 (step S24).
On the other hand, when the frame transfer control unit 27 determines that the identification information of the communication link to which the data frame is transmitted is recorded in the LM frame table 29 (step S22: YES), the data frame is stored in the frame buffer 28. Store and hold transfer of the data frame (step S25). In other words, the MIP 2-2 suspends transfer of the received data frame after the last received duplicate LM frame used for generating the LM frame (a duplicate LM frame with a TTL of 0). On the other hand, MIP2-2 does not store in frame buffer 28 for the data frame received before the last received duplicated LM frame used for generating LM frame (duplicated LM frame with TTL 0). Are sequentially transferred to MEP1-2. As a result, the MIP2-2 does not cause a transfer delay when receiving a duplicate LM frame other than a duplicate LM frame with a TTL of 0.
 他方、フレーム解析部20が、MIP2-1から受信したフレームがOAMフレームであると判定した場合(ステップS21:NO)、OAM-LAG制御部25は、当該OAMフレームが複製LMフレームであるか否かを判定する(ステップS26)。OAM-LAG制御部25は、OAMフレームが複製LMフレームでないと判定した場合(ステップS26:NO)、所定のOAM処理を行う(ステップS27)。他方、OAM-LAG制御部25は、OAMフレームが複製LMフレームであると判定した場合(ステップS26:YES)、当該複製LMフレームのTTLが0であるか否かを判定する(ステップS28)。 On the other hand, when the frame analysis unit 20 determines that the frame received from the MIP 2-1 is an OAM frame (step S21: NO), the OAM-LAG control unit 25 determines whether the OAM frame is a duplicated LM frame. Is determined (step S26). When the OAM-LAG control unit 25 determines that the OAM frame is not a duplicated LM frame (step S26: NO), the OAM-LAG control unit 25 performs predetermined OAM processing (step S27). On the other hand, when the OAM-LAG control unit 25 determines that the OAM frame is a duplicate LM frame (step S26: YES), the OAM-LAG control unit 25 determines whether the TTL of the duplicate LM frame is 0 (step S28).
 OAM-LAG制御部25は、複製LMフレームのTTLが0であると判定した場合(ステップS28:YES)、当該複製LMフレームが伝送された通信リンクの識別情報をLMフレームテーブル29に記録する(ステップS29)。
 OAM-LAG制御部25は、通信リンクの識別情報を記録した場合、または複製LMフレームのTTLが0である場合(ステップS28:NO)、当該複製LMフレームがLMフレームテーブル29に記録されているか否かを判定する(ステップS30)。つまり、OAM-LAG制御部25は、当該複製LMフレームと同一のLMフレームから複製された複製LMフレームを既に受信しているか否かを判定する。
If the OAM-LAG control unit 25 determines that the TTL of the duplicate LM frame is 0 (step S28: YES), it records the identification information of the communication link through which the duplicate LM frame is transmitted in the LM frame table 29 ( Step S29).
When the identification information of the communication link is recorded, or when the TTL of the duplicate LM frame is 0 (step S28: NO), the OAM-LAG control unit 25 records the duplicate LM frame in the LM frame table 29. It is determined whether or not (step S30). That is, the OAM-LAG control unit 25 determines whether or not a duplicate LM frame duplicated from the same LM frame as the duplicate LM frame has already been received.
 OAM-LAG制御部25は、当該複製LMフレームがLMフレームテーブル29に記録されていないと判定した場合(ステップS30:NO)、当該複製LMフレームをLMフレームテーブル29に記録する(ステップS31)。他方、OAM-LAG制御部25は、当該複製LMフレームがLMフレームテーブル29に記録されていると判定した場合(ステップS30:YES)、当該複製LMフレームを破棄する(ステップS32)。 When determining that the duplicate LM frame is not recorded in the LM frame table 29 (step S30: NO), the OAM-LAG control unit 25 records the duplicate LM frame in the LM frame table 29 (step S31). On the other hand, when it is determined that the duplicate LM frame is recorded in the LM frame table 29 (step S30: YES), the OAM-LAG control unit 25 discards the duplicate LM frame (step S32).
 次に、OAM-LAG制御部25は、LMフレームテーブル29に全ての通信リンクの識別情報が記録されているか否かを判定する(ステップS33)。つまり、OAM-LAG制御部25は、全ての通信リンクから、TTLが0の複製LMフレームを受信したか否かを判定する。 Next, the OAM-LAG control unit 25 determines whether or not the identification information of all communication links is recorded in the LM frame table 29 (step S33). That is, the OAM-LAG control unit 25 determines whether or not a duplicate LM frame with a TTL of 0 has been received from all communication links.
 OAM-LAG制御部25は、LMフレームテーブル29に全ての通信リンクの識別情報が記録されていると判定した場合(ステップS33:YES)、LMフレームテーブル29に記録された全ての複製LMフレームのデータフレーム数の和を、データフレーム数とするLMフレームを生成する(ステップS34)。また、OAM-LAG制御部25は、当該LMフレームにカウンタテーブル22が記憶するカウンタ値を、新たにデータフレーム数としてLMフレームに追加する(ステップS35)。このとき、OAM-LAG制御部25は、LMフレームテーブル29及びカウンタテーブル22が記憶する情報をリセットする。そして、LAG機能部26は、OAM-LAG制御部25が生成したLMフレームをMEP1-2に転送する(ステップS36)。また、LAG機能部26は、LMフレームの送信後、フレームバッファ28に記録されたデータフレームを、MEP1-2に転送する(ステップS37)。このとき、フレームカウント部21は、転送したデータフレームの数をカウンタテーブル22に加算する。 When the OAM-LAG control unit 25 determines that the identification information of all the communication links is recorded in the LM frame table 29 (step S33: YES), all the duplicate LM frames recorded in the LM frame table 29 are stored. An LM frame is generated with the sum of the number of data frames as the number of data frames (step S34). Further, the OAM-LAG control unit 25 newly adds the counter value stored in the counter table 22 to the LM frame as the number of data frames to the LM frame (step S35). At this time, the OAM-LAG control unit 25 resets information stored in the LM frame table 29 and the counter table 22. Then, the LAG function unit 26 transfers the LM frame generated by the OAM-LAG control unit 25 to the MEP 1-2 (step S36). Further, after transmitting the LM frame, the LAG function unit 26 transfers the data frame recorded in the frame buffer 28 to the MEP 1-2 (step S37). At this time, the frame count unit 21 adds the number of transferred data frames to the counter table 22.
 なお、OAM-LAG制御部25は、LMフレームテーブル29に少なくとも1つの通信リンクの識別情報が記録されていないと判定した場合(ステップS33:NO)、その時点では、新たなLMフレームの生成を行わない。 If the OAM-LAG control unit 25 determines that the identification information of at least one communication link is not recorded in the LM frame table 29 (step S33: NO), a new LM frame is generated at that time. Not performed.
 上述した手順により、第1の実施形態に係るMIP2は、リンクアグリゲーションに係る通信を有する通信システム100におけるデータフレームの伝送遅延を低減することができる。なお、第1の実施形態に係るMIP2は、TTLが0を示すLMフレームを受信した場合に新たなLMフレームを生成する場合について説明したが、これに限られない。
 例えば、他の実施形態では、MIP2は、TTLが0を示すLMフレームを受信した場合に新たなLMフレームを生成せず、TTLが0以外の値を示すLMフレームを受信した場合に新たなLMフレームを生成しても良い。また、他の実施形態では、MIP2は、TTL以外のパラメータに基づいて新たなLMフレームを生成するか否かを判断しても良い。
According to the above-described procedure, the MIP 2 according to the first embodiment can reduce the transmission delay of the data frame in the communication system 100 having the communication related to link aggregation. In addition, although MIP2 which concerns on 1st Embodiment demonstrated the case where a new LM frame was produced | generated when the LM frame which shows TTL 0 was received, it is not restricted to this.
For example, in another embodiment, MIP2 does not generate a new LM frame when receiving an LM frame in which TTL indicates 0, and does not generate a new LM frame in a case where an LM frame in which TTL indicates a value other than 0 is received. A frame may be generated. In another embodiment, MIP2 may determine whether to generate a new LM frame based on parameters other than TTL.
《第2の実施形態》
 第2の実施形態に係るMIP2-2は、所定数のデータフレームを受信した後に受信した複製LMフレームのデータフレーム数と当該複製LMフレーム以前に受信した複製LMフレームのデータフレーム数の和を、データフレーム数とするLMフレームを生成し、MEP1-2に送信する。なお、所定数のデータフレームとは、少なくともLMフレームの送信間隔の間に送信されるデータフレームの数より多いものとする。
<< Second Embodiment >>
The MIP2-2 according to the second embodiment calculates the sum of the number of data frames of the duplicate LM frame received after receiving a predetermined number of data frames and the number of data frames of the duplicate LM frame received before the duplicate LM frame, An LM frame having the number of data frames is generated and transmitted to MEP1-2. Note that the predetermined number of data frames is greater than the number of data frames transmitted at least during the transmission interval of the LM frame.
 第2の実施形態に係る送信側のMIP2の動作は、第1の実施形態に係るMIP2の動作からステップS17、S18を除いたものである。つまり、第2の実施形態に係る送信側のMIP2は、TTLの書き換えを行わずに、LMフレームを複製して転送する。
 また、第2の実施形態に係る受信側のMIP2の動作は、第1の実施形態に係るMIP2の動作のステップS28において、OAM-LAG制御部25が、カウンタテーブル22が記憶するカウンタ値が所定値以上であるか否かを判定するものである。
The operation of MIP2 on the transmission side according to the second embodiment is obtained by excluding steps S17 and S18 from the operation of MIP2 according to the first embodiment. That is, the MIP 2 on the transmission side according to the second embodiment duplicates and transfers the LM frame without rewriting the TTL.
The operation of the MIP2 on the receiving side according to the second embodiment is the same as that of the MIP2 operation according to the first embodiment, in which the OAM-LAG control unit 25 sets the counter value stored in the counter table 22 to a predetermined value. It is determined whether or not the value is greater than or equal to the value.
 当該手順により、第2の実施形態に係るMIP2は、リンクアグリゲーションに係る通信を有する通信システム100におけるデータフレームの伝送遅延を低減することができる。なお、第2の実施形態に係るMIP2は、所定数のデータフレームを受信したか否かに基づいて、新たなLMフレームを生成するか否かを決定する場合について説明したが、これに限られない。例えば、他の実施形態では、MIP2は、前回TTLを送信した時刻からの経過時間が所定時間以上であるか否かに基づいて、新たなLMフレームを生成するか否かを決定しても良い。また他の実施形態では、MIP2は、所定数のLMフレームを受信したか否かに基づいて、新たなLMフレームを生成するか否かを決定しても良い。 With this procedure, the MIP 2 according to the second embodiment can reduce the transmission delay of the data frame in the communication system 100 having communication related to link aggregation. In addition, although MIP2 which concerns on 2nd Embodiment demonstrated the case where it was determined whether a new LM frame was produced | generated based on whether the predetermined number of data frame was received, it is restricted to this. Absent. For example, in another embodiment, MIP2 may determine whether or not to generate a new LM frame based on whether or not an elapsed time from the time when TTL was transmitted last time is a predetermined time or more. . In another embodiment, the MIP 2 may determine whether to generate a new LM frame based on whether a predetermined number of LM frames have been received.
 以上、図面を参照して一実施形態について詳しく説明してきたが、具体的な構成は上述のものに限られることはなく、様々な設計変更等をすることが可能である。
 例えば、上述した実施形態では、リンクアグリゲーション通信を行うMIP2が、LMフレームの複製及び新たなLMフレームの生成を行うが、これに限られない。例えば他の実施形態では、リンクアグリゲーション通信を行うMEP1が、LMフレームの複製及び新たなLMフレームの生成を行っても良い。
As described above, the embodiment has been described in detail with reference to the drawings. However, the specific configuration is not limited to that described above, and various design changes and the like can be made.
For example, in the above-described embodiment, the MIP 2 that performs link aggregation communication duplicates an LM frame and generates a new LM frame, but is not limited thereto. For example, in another embodiment, the MEP 1 that performs link aggregation communication may perform duplication of an LM frame and generation of a new LM frame.
《基本構成》
 図7は、通信装置4の基本構成を示す概略ブロック図である。
 上述した実施形態では、通信装置4の一実施形態として図4に示すMIP2の構成について説明したが、通信装置4の基本構成は、図7に示すとおりである。
 すなわち、通信装置4は、受信部40と、測定用フレーム生成部41とを基本構成とする。
<Basic configuration>
FIG. 7 is a schematic block diagram showing the basic configuration of the communication device 4.
In the above-described embodiment, the configuration of the MIP 2 illustrated in FIG. 4 as an embodiment of the communication device 4 has been described, but the basic configuration of the communication device 4 is as illustrated in FIG.
That is, the communication device 4 has a basic configuration of the receiving unit 40 and the measurement frame generating unit 41.
 受信部40は、他の通信装置4と接続する複数の通信リンクそれぞれから、複数のデータフレームと、他の通信装置4が送信したデータフレームの数を格納する一の測定用フレームから複製された複製測定用フレームとを受信する。
 測定用フレーム生成部41は、異なる測定用フレームから複製された複製測定用フレームに格納されるデータフレームの数の和を、他の通信装置4が送信したデータフレームの数として格納する測定用フレームを生成する。
 これにより、通信装置4は、リンクアグリゲーションに係る通信を有する通信システム100におけるデータフレームの伝送遅延を低減することができる。
The receiving unit 40 is replicated from each of a plurality of communication links connected to another communication device 4 from a single measurement frame that stores a plurality of data frames and the number of data frames transmitted by the other communication device 4. A duplicate measurement frame is received.
The measurement frame generator 41 stores the sum of the number of data frames stored in the duplicate measurement frame copied from the different measurement frames as the number of data frames transmitted by the other communication device 4 Is generated.
Thereby, the communication apparatus 4 can reduce the transmission delay of the data frame in the communication system 100 having communication related to link aggregation.
 図8は、少なくとも1つの実施形態に係るコンピュータ9の構成を示す概略ブロック図である。
 コンピュータ9は、CPU90、主記憶装置91、補助記憶装置92、インタフェース93を備える。
 上述のMEP1及びMIP2は、コンピュータ9に実装される。そして、上述した各処理部の動作は、プログラムの形式で補助記憶装置92に記憶されている。CPU90は、プログラムを補助記憶装置92から読み出して主記憶装置91に展開し、当該プログラムに従って上記処理を実行する。また、CPU90は、プログラムに従って、上述した各記憶部に対応する記憶領域を主記憶装置91に確保する。
FIG. 8 is a schematic block diagram showing a configuration of the computer 9 according to at least one embodiment.
The computer 9 includes a CPU 90, a main storage device 91, an auxiliary storage device 92, and an interface 93.
The above MEP1 and MIP2 are mounted on the computer 9. The operation of each processing unit described above is stored in the auxiliary storage device 92 in the form of a program. The CPU 90 reads out the program from the auxiliary storage device 92, expands it in the main storage device 91, and executes the above processing according to the program. Further, the CPU 90 secures a storage area corresponding to each of the storage units described above in the main storage device 91 according to the program.
 なお、少なくとも1つの実施形態において、補助記憶装置92は、一時的でない有形の媒体の一例である。一時的でない有形の媒体の他の例としては、インタフェース93を介して接続される磁気ディスク、光磁気ディスク、CD-ROM、DVD-ROM、半導体メモリ等が挙げられる。また、このプログラムが通信回線によってコンピュータ9に配信される場合、配信を受けたコンピュータ9が当該プログラムを主記憶装置91に展開し、上記処理を実行しても良い。 Note that in at least one embodiment, the auxiliary storage device 92 is an example of a tangible medium that is not temporary. Other examples of the tangible medium that is not temporary include a magnetic disk, a magneto-optical disk, a CD-ROM, a DVD-ROM, and a semiconductor memory connected via the interface 93. When this program is distributed to the computer 9 through a communication line, the computer 9 that has received the distribution may develop the program in the main storage device 91 and execute the above processing.
 また、当該プログラムは、前述した機能の一部を実現するためのものであっても良い。
 さらに、当該プログラムは、前述した機能を補助記憶装置92に既に記憶されている他のプログラムとの組み合わせで実現するもの、いわゆる差分ファイル(差分プログラム)であっても良い。
The program may be for realizing a part of the functions described above.
Further, the program may be a so-called difference file (difference program) that realizes the above-described function in combination with another program already stored in the auxiliary storage device 92.
 この出願は、2014年7月28日に出願された日本国特願2014-152762を基礎とする優先権を主張し、その開示の全てをここに取り込む。 This application claims priority based on Japanese Patent Application No. 2014-152762 filed on July 28, 2014, the entire disclosure of which is incorporated herein.
 本発明は、通信装置、通信方法、プログラム及び通信システムに適用してもよい。 The present invention may be applied to a communication device, a communication method, a program, and a communication system.
 100…通信システム
 1…MEP
 11…フレーム解析部
 12…フレームカウント部
 13…カウンタテーブル
 14…フレームスイッチング部
 15…フォワーディングテーブル
 16…OAM制御部
 17…フレーム出力部
 161…OAMフレーム解析部
 162…LMフレーム制御部
 163…OAM処理部
 164…OAMフレーム転送処理部
 165…フォワーディングテーブル
 2…MIP
 20…フレーム解析部
 21…フレームカウント部
 22…カウンタテーブル
 23…フレームスイッチング部
 24…フォワーディングテーブル
 25…OAM-LAG制御部
 26…LAG機能部
 27…フレーム転送制御部
 28…フレームバッファ
 29…LMフレームテーブル
100: Communication system 1 ... MEP
DESCRIPTION OF SYMBOLS 11 ... Frame analysis part 12 ... Frame count part 13 ... Counter table 14 ... Frame switching part 15 ... Forwarding table 16 ... OAM control part 17 ... Frame output part 161 ... OAM frame analysis part 162 ... LM frame control part 163 ... OAM processing part 164 ... OAM frame transfer processing unit 165 ... Forwarding table 2 ... MIP
DESCRIPTION OF SYMBOLS 20 ... Frame analysis part 21 ... Frame count part 22 ... Counter table 23 ... Frame switching part 24 ... Forwarding table 25 ... OAM-LAG control part 26 ... LAG function part 27 ... Frame transfer control part 28 ... Frame buffer 29 ... LM frame table

Claims (10)

  1.  第1の通信装置と接続する複数の通信リンクそれぞれから、複数のデータフレームと、当該第1の通信装置が送信したデータフレームの数を格納する一の測定用フレームから複製された複製測定用フレームとを受信する受信部と、
     異なる測定用フレームから複製された複製測定用フレームに格納されるデータフレームの数の和を、前記第1の通信装置が送信したデータフレームの数として格納する測定用フレームを生成する測定用フレーム生成部と
     を備える通信装置。
    A duplicate measurement frame replicated from one measurement frame that stores a plurality of data frames and the number of data frames transmitted by the first communication device from each of a plurality of communication links connected to the first communication device. A receiving unit for receiving and
    Measurement frame generation for generating a measurement frame for storing the sum of the number of data frames stored in a duplicate measurement frame copied from different measurement frames as the number of data frames transmitted by the first communication device And a communication device.
  2.  前記受信部が受信したデータフレーム及び前記測定用フレーム生成部が生成した測定用フレームを、前記データフレーム及び前記測定用フレームの宛先である第2の通信装置に転送する転送部
     を備え、
     前記転送部は、前記測定用フレームの生成に用いられる前記通信リンクごとの前記複製測定用フレームのうち最後に受信されたもの以降に、前記受信部が受信したデータフレームを、前記測定用フレームを転送した後に転送する
     請求項1に記載の通信装置。
    A transfer unit that transfers the data frame received by the reception unit and the measurement frame generated by the measurement frame generation unit to a second communication device that is a destination of the data frame and the measurement frame;
    The transfer unit transmits the data frame received by the receiving unit after the last received one of the duplicate measurement frames for each communication link used for generating the measurement frame, and the measurement frame. The communication apparatus according to claim 1, wherein the communication apparatus transfers the data after transferring the data.
  3.  前記測定用フレーム生成部は、前記受信部が同一の測定用フレームから複製された所定の複製測定用フレームを全ての前記通信リンクから受信したときに、当該複製測定用フレームの受信までに前記受信部が受信した複製測定用フレームに格納されるデータフレームの数の和を、前記第1の通信装置が送信したデータフレームの数として格納する測定用フレームを生成する
     請求項1または請求項2に記載の通信装置。
    The measurement frame generation unit receives the predetermined copy measurement frame duplicated from the same measurement frame from all the communication links before the reception of the duplicate measurement frame. The measurement frame for storing the sum of the number of data frames stored in the duplicate measurement frame received by the unit as the number of data frames transmitted by the first communication device is generated. The communication device described.
  4.  前記所定の複製測定用フレームは、所定のパラメータに所定の値がセットされたフレームである請求項3に記載の通信装置。 4. The communication apparatus according to claim 3, wherein the predetermined duplicate measurement frame is a frame in which a predetermined value is set in a predetermined parameter.
  5.  前記所定の複製測定用フレームは、前記受信部が所定数以上のデータフレームを受信した後に受信された複製測定用フレームである請求項3に記載の通信装置。 4. The communication apparatus according to claim 3, wherein the predetermined replication measurement frame is a replication measurement frame received after the receiving unit receives a predetermined number or more of data frames.
  6.  前記受信部が受信した複製測定用フレームのうち、既に受信された複製測定用フレームと同一の測定用フレームから複製されたものを削除する重複フレーム削除部を備える
     請求項1から請求項5の何れか1項に記載の通信装置。
    The duplicate frame deletion unit that deletes a duplicate measurement frame received by the reception unit and deleted from the same measurement frame as the duplicate measurement frame that has already been received. The communication apparatus according to claim 1.
  7.  同一の通信装置と接続する複数の通信リンクそれぞれから、複数のデータフレームと、当該通信装置が送信したデータフレームの数を格納する一の測定用フレームから複製された複製測定用フレームとを受信するステップと、
     異なる測定用フレームから複製された複製測定用フレームに格納されるデータフレームの数の和を、前記通信装置が送信したデータフレームの数として格納する測定用フレームを生成するステップと
     を備える通信方法。
    A plurality of data frames and a duplicate measurement frame copied from one measurement frame storing the number of data frames transmitted by the communication device are received from each of a plurality of communication links connected to the same communication device. Steps,
    And generating a measurement frame for storing a sum of the number of data frames stored in a duplicate measurement frame copied from a different measurement frame as the number of data frames transmitted by the communication device.
  8.  コンピュータを、
     同一の通信装置と接続する複数の通信リンクそれぞれから、複数のデータフレームと、当該通信装置が送信したデータフレームの数を格納する一の測定用フレームから複製された複製測定用フレームとを受信する受信部、
     異なる測定用フレームから複製された複製測定用フレームに格納されるデータフレームの数の和を、前記通信装置が送信したデータフレームの数として格納する測定用フレームを生成する測定用フレーム生成部
     として機能させるためのプログラム。
    Computer
    A plurality of data frames and a duplicate measurement frame copied from one measurement frame storing the number of data frames transmitted by the communication device are received from each of a plurality of communication links connected to the same communication device. Receiver,
    Functions as a measurement frame generation unit that generates a measurement frame that stores the sum of the number of data frames stored in a duplicate measurement frame copied from a different measurement frame as the number of data frames transmitted by the communication device Program to let you.
  9.  複数の通信リンクによって接続される第1の通信装置と第2の通信装置とを備え、
     前記第1の通信装置は、
     データフレームごとに、当該データフレームを送信する通信リンクを割り当てる割当部と、
     前記第2の通信装置に送信するデータフレームの数を格納する一の測定用フレームを前記通信リンクごとに複製した複製測定用フレームを生成する測定用フレーム複製部と、
     前記データフレームと前記複製測定用フレームとを前記通信リンクを介して前記第2の通信装置に送信する送信部と
     を備え、
     前記第2の通信装置は、
     前記複数の通信リンクそれぞれから、複数のデータフレームと前記複製測定用フレームとを受信する受信部と、
     異なる測定用フレームから複製された複製測定用フレームに格納されるデータフレームの数の和を、前記第1の通信装置が送信したデータフレームの数として格納する測定用フレームを生成する測定用フレーム生成部と
     を備える通信システム。
    A first communication device and a second communication device connected by a plurality of communication links;
    The first communication device is:
    For each data frame, an allocating unit that allocates a communication link for transmitting the data frame;
    A measurement frame duplicating unit that creates a duplicate measurement frame by duplicating one measurement frame storing the number of data frames to be transmitted to the second communication device for each of the communication links;
    A transmission unit for transmitting the data frame and the copy measurement frame to the second communication device via the communication link;
    The second communication device is:
    A receiving unit that receives a plurality of data frames and the copy measurement frame from each of the plurality of communication links;
    Measurement frame generation for generating a measurement frame for storing the sum of the number of data frames stored in a duplicate measurement frame copied from different measurement frames as the number of data frames transmitted by the first communication device And a communication system.
  10.  データフレームごとに、当該データフレームを送信する通信リンクを複数の通信リンクの中から割り当てるステップと、
     送信するデータフレームの数を格納する一の測定用フレームを前記通信リンクごとに複製した複製測定用フレームを生成するステップと、
     前記データフレームと前記複製測定用フレームとを前記通信リンクを介して送信するステップと、
     前記複数の通信リンクそれぞれから、複数のデータフレームと前記複製測定用フレームとを受信するステップと、
     異なる測定用フレームから複製された複製測定用フレームに格納されるデータフレームの数の和を、送信されたデータフレームの数として格納する測定用フレームを生成するステップと
     を備える通信方法。
    For each data frame, assigning a communication link for transmitting the data frame from a plurality of communication links;
    Generating a duplicate measurement frame in which one measurement frame storing the number of data frames to be transmitted is duplicated for each communication link;
    Transmitting the data frame and the duplicate measurement frame via the communication link;
    Receiving a plurality of data frames and the duplicate measurement frame from each of the plurality of communication links;
    Generating a measurement frame for storing a sum of the number of data frames stored in a duplicate measurement frame replicated from a different measurement frame as the number of transmitted data frames.
PCT/JP2015/057658 2014-07-28 2015-03-16 Communication device, communication method, program, and communication system WO2016017206A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2014-152762 2014-07-28
JP2014152762 2014-07-28

Publications (1)

Publication Number Publication Date
WO2016017206A1 true WO2016017206A1 (en) 2016-02-04

Family

ID=55217111

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2015/057658 WO2016017206A1 (en) 2014-07-28 2015-03-16 Communication device, communication method, program, and communication system

Country Status (1)

Country Link
WO (1) WO2016017206A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008131615A (en) * 2006-11-27 2008-06-05 Kddi Corp Communication device for link aggregation, and program
JP2010028654A (en) * 2008-07-23 2010-02-04 Fujitsu Ltd Communication apparatus and oam frame transmission method
WO2010125883A1 (en) * 2009-04-30 2010-11-04 日本電気株式会社 Communication system, transmission device, receiving device, transmission method, receiving method, and program
JP2012129868A (en) * 2010-12-16 2012-07-05 Nec Corp Communication system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008131615A (en) * 2006-11-27 2008-06-05 Kddi Corp Communication device for link aggregation, and program
JP2010028654A (en) * 2008-07-23 2010-02-04 Fujitsu Ltd Communication apparatus and oam frame transmission method
WO2010125883A1 (en) * 2009-04-30 2010-11-04 日本電気株式会社 Communication system, transmission device, receiving device, transmission method, receiving method, and program
JP2012129868A (en) * 2010-12-16 2012-07-05 Nec Corp Communication system

Similar Documents

Publication Publication Date Title
US10567506B2 (en) Data storage method, SDN controller, and distributed network storage system
US20170264677A1 (en) Service Processing Apparatus and Method
US9246802B2 (en) Management of routing tables shared by logical switch partitions in a distributed network switch
WO2018137217A1 (en) Data processing system, method, and corresponding device
US20190116132A1 (en) Mirror packet control method and mirror packet control device
CN105745883B (en) Forwarding table synchronous method, the network equipment and system
CN107005428A (en) The state of virtual network function example is replicated
JP2008078906A (en) Communication device and communication method
CN106250228B (en) The method and device that virtual machine entity thermophoresis network smoothly switches
US10171339B2 (en) Populating forwarding database tables in a fabric environment
JP2019512974A (en) Method for Migration of Virtual Network Function
US9460182B2 (en) Networking-assisted input/output order preservation for data replication
WO2020125624A1 (en) Processing protocol packet
US9166804B2 (en) Packet transmission control device, packet transmission control method, and program
JP2004159112A (en) Communication control system, communication control method, and routing controller and router device suitably used for them
TW201811083A (en) Communication system and communication method
US9438437B2 (en) Apparatus and method for efficiently multicasting data to a plurality of destination devices
WO2016017206A1 (en) Communication device, communication method, program, and communication system
JP6386423B2 (en) Communication system and communication method
CN105335217B (en) A kind of server silence method and system
JP4040045B2 (en) Data transfer device
US11042430B2 (en) Elastic consistency high availability in multiple boards
WO2016117302A1 (en) Information processing device, information processing method, and recording medium
CN105656814A (en) SDN (Software-Defined Network) forwarding system and method
CN111131224A (en) Method for maintaining connection and storage device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15826973

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15826973

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP