WO2011148621A1 - リング伝送システムにおけるノード装置、集積回路及び制御方法 - Google Patents
リング伝送システムにおけるノード装置、集積回路及び制御方法 Download PDFInfo
- Publication number
- WO2011148621A1 WO2011148621A1 PCT/JP2011/002892 JP2011002892W WO2011148621A1 WO 2011148621 A1 WO2011148621 A1 WO 2011148621A1 JP 2011002892 W JP2011002892 W JP 2011002892W WO 2011148621 A1 WO2011148621 A1 WO 2011148621A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- symbol
- loopback
- output
- mode
- data
- Prior art date
Links
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
-
- 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/40—Bus networks
- H04L12/40006—Architecture of a communication node
- H04L12/40013—Details regarding a bus controller
Definitions
- the present invention relates to a data transfer technique between a plurality of node devices or between integrated circuits connected in a ring shape via a serial link.
- a ring topology is an example of a topology for connecting a plurality of node devices.
- a node device that is connected between a data transmission source node device and a destination node device and serves as a relay station needs to be always active for data relay processing.
- a logical layer (link controller) unnecessary for relay processing is maintained in a reset state and relay processing by a physical layer (PHY) is performed.
- PHY physical layer
- the node device in the above prior art needs to maintain the reset state of the logical layer (link controller) during the relay processing by the physical layer (PHY). For this reason, in order to resume the processing using the logical layer (link controller), processing overhead associated with reset cancellation and subsequent initialization processing occurs. In addition, data continuity is not maintained when output is switched between transmission data from the logical layer (link controller) and relay data by the physical layer (PHY). For this reason, as a result, the processing overhead accompanying the reacquisition of the symbol synchronization is increased and the reliability of data transfer is reduced.
- an object of the present invention is to provide a node device, an integrated circuit, and a control method capable of performing relay processing with reduced processing overhead while maintaining reliability of data transfer in a ring transmission system. .
- the node device of the present invention performs transmission / reception and relay processing of packets including destination information in a node device in a ring transmission system in which a plurality of node devices are connected in a ring shape via a serial link.
- a link controller a normal mode for performing mutual conversion between serial data input / output via the serial link and parallel data handled by the link controller, and serial data input via the serial link on the preceding stage PHY that operates by switching the communication mode to the loopback mode that is looped back before being delivered to the link controller and is output to the serial link on the subsequent stage, and the link controller sends a transmission request packet to the PHY.
- a loopback control unit that issues a transition instruction for shifting from the normal mode to the loopback mode in order to return and output a data packet, and the PHY is configured to
- the idle frame is output to the downstream serial link based on the transmission instruction, and the idle frame based on the transmission instruction is output to the downstream serial link in the normal mode based on the transition instruction and the loopback From the node device in the previous stage that returns to the subsequent serial link in the mode and outputs it Transition from the normal mode to the loopback mode at a timing at which symbol synchronization with an idle frame is maintained, and in the loopback mode, the idle frame from the preceding node device is looped back to enable the subsequent serial link And relay the data packet addressed to the other device in the loopback mode.
- An integrated circuit includes a link controller that performs transmission / reception and relay processing of a packet including destination information in an integrated circuit in a ring transmission system in which a plurality of integrated circuits are connected in a ring shape via a serial link, and the serial link Before the serial data input via the serial link on the front stage side is transferred to the link controller.
- a PHY that operates by switching a communication mode between a loopback mode that is looped back and output to a serial link on the subsequent stage, and the link controller performs a pre-gap from the transmission request packet to the data packet on the PHY.
- the data generator addressed to the other device is looped back and output to the symbol generation unit for instructing the transmission of the data frame and the PHY
- a loopback control unit that issues a transition instruction for transitioning from the normal mode to the loopback mode, wherein the PHY is based on a transmission instruction from the symbol generation unit in the normal mode.
- the frame is output to the downstream serial link, and based on the transition instruction, the idle frame based on the transmission instruction is output to the downstream serial link in the normal mode and the downstream side in the loopback mode. Symbols are exchanged with idle frames from the previous integrated circuit that wraps and outputs to the serial link.
- the control method of the present invention is a control method for controlling a node device in a ring transmission system in which a plurality of node devices are connected in a ring shape via a serial link, wherein the node device transmits and receives a packet including destination information.
- a link controller that performs relay processing, a normal mode that performs mutual conversion between serial data input / output via the serial link and parallel data handled by the link controller, and input via the serial link on the previous stage side.
- PHY that operates by switching the communication mode to the loopback mode that loops back the serial data before passing it to the link controller and outputs the serial data to the subsequent serial link.
- the other device in the symbol generation step for instructing transmission of an idle frame for maintaining symbol synchronization
- a loopback control step for giving a transition instruction for shifting from the normal mode to the loopback mode in order to return and output a data packet addressed thereto, and the PHY generates the symbol in the normal mode.
- the idle frame is output to the downstream serial link based on the transmission instruction in the step, and the idle frame based on the transmission instruction is output to the downstream serial link in the normal mode based on the transition instruction and the transition instruction.
- the normal mode is shifted to the loopback mode at a timing at which symbol synchronization is maintained with the idle frame from the preceding node device that is output, and the idle node from the preceding node device is in the loopback mode.
- the frame is folded and output to the subsequent serial link, and the data packet addressed to the other device is relayed in the loopback mode.
- the loop controller switches to the loopback mode while maintaining the symbol synchronization of the idle frame without maintaining the link controller reset state. Therefore, it is possible to perform relay processing with reduced processing overhead while maintaining the reliability of data transfer.
- the link controller delivers a data sequence related to a control symbol set including an idle symbol starting with a comma symbol for symbol synchronization in the 8b / 10b scheme as an instruction to transmit the idle frame to the PHY.
- the PHY performs the output of the idle frame in the normal mode by encoding the data sequence related to the control symbol set based on the 8b / 10b method, and the loop from the normal mode based on the transition instruction.
- the upstream node that outputs the transition to the back mode in the normal mode based on the transmission instruction that is output to the downstream serial link and the loopback mode that is output to the downstream serial link. Idle from the device Between the frame may be performed at a timing when the position and the running disparity of the comma symbol matches.
- the link controller passes a data string in which a plurality of idle symbols are bundled in a predetermined word length to the PHY as the idle frame transmission instruction, and the PHY transmits the idle frame in the normal mode.
- the data sequence is scrambled based on a predetermined scramble system, encoded by adding a synchronization header for symbol synchronization at the head of each predetermined word length, and in response to the transition instruction.
- the transition from the normal mode to the loopback mode based on the idle frame based on the transmission instruction to be output to the downstream serial link in the normal mode and the downstream serial link in the loopback mode is returned.
- Output from the preceding node device Between the frame may be performed at a timing that matches the position of the synchronization header.
- the link controller delivers a data sequence related to a control symbol set including an idle symbol starting with a comma symbol for symbol synchronization in the 8b / 10b scheme as an instruction to transmit the idle frame to the PHY.
- the PHY generates and outputs the idle frame to be output to the serial link on the subsequent stage in the normal mode by performing encoding based on the 8b / 10b system on the data sequence related to the control symbol set.
- the idle frame output from the encoding unit is selected and output to the subsequent serial link
- the idle frame from the node device in the previous stage is selected and Loop bar output to the serial link on the rear stage
- the idle frame comma symbol has only a symbol type having a different number of “0” and “1”
- the idle frame idle symbol has a number of “0” and “1”.
- the loopback selector receives the comma symbol input from the encoding unit and the input preceding node device.
- the output for switching from the normal mode to the loopback mode is performed immediately after the comma symbol having the matching running disparity, and the coding is performed.
- the symbol type of the idle symbol next to the comma symbol input from the encoding unit and the input idle symbol next to the comma symbol from the preceding node device input do not match
- the output for switching from the normal mode to the loopback mode is performed immediately after the idle symbol whose symbol type does not match, and the comma symbol input from the encoding unit and the input previous stage
- the next idle symbol after the comma symbol input from the encoding unit and the next comma symbol from the preceding node device input from the preceding node device When the symbol type matches the idle symbol In this case,
- the link controller further sets presence / absence of power saving control for the PHY at initialization, and the symbol control unit enables the power saving control in a packet gap before the pre-gap.
- a transmission disable instruction for setting the serial link on the rear stage side to an electrical idle state is issued.
- the power saving control is set to invalid, other idle frames for maintaining symbol synchronization are set.
- a transmission instruction may be issued.
- the power consumption is reduced by placing the serial link in the electrical idle state, or the packet transmission / reception latency is reduced by maintaining the symbol synchronization by continuing to transmit other idle symbols. You can choose to do that.
- a node device includes a link controller that performs transmission / reception and relay processing of a packet including destination information in a node device in a ring transmission system in which a plurality of node devices are connected in a ring shape via a serial link, and the serial link Before the serial data input via the serial link on the front stage side is transferred to the link controller.
- a PHY that operates by switching a communication mode between a loopback mode that is looped back and output to a serial link on the subsequent stage, and the link controller performs symbol synchronization on the PHY in a post gap after a data packet.
- a loopback control unit that performs an instruction, and the PHY returns an idle frame from the preceding node device in the loopback mode and outputs it to the subsequent serial link, based on the recovery instruction, Between the idle frame from the preceding node device that is output to the subsequent serial link in the loopback mode and the idle frame based on the transmission instruction that is output to the subsequent serial link in the normal mode When the symbol synchronization is maintained at The normally restored mode, and outputs the idle frame to the subsequent stage of the serial link, based in the normal mode to the transmission instruction of the symbol generator from.
- An integrated circuit includes a link controller that performs transmission / reception and relay processing of a packet including destination information in an integrated circuit in a ring transmission system in which a plurality of integrated circuits are connected in a ring shape via a serial link, and the serial link Before the serial data input via the serial link on the front stage side is transferred to the link controller. And a PHY that operates by switching a communication mode between a loopback mode that is looped back and output to a serial link on the subsequent stage, and the link controller performs symbol synchronization on the PHY in a post gap after a data packet.
- a loopback control unit for performing the loopback mode the PHY loops back an idle frame from the preceding integrated circuit in the loopback mode, and outputs the idle frame to the subsequent serial link. Symbol between the idle frame from the preceding integrated circuit that is output to the subsequent serial link in the back mode and the idle frame based on the transmission instruction that is output to the subsequent serial link in the normal mode From the loopback mode at the timing when synchronization is maintained Restored to the normal mode, and outputs the idle frame to the subsequent stage of the serial link, based in the normal mode to the transmission instruction of the symbol generator.
- the control method of the present invention is a control method for controlling a node device in a ring transmission system in which a plurality of node devices are connected in a ring shape via a serial link, wherein the node device transmits and receives a packet including destination information.
- a link controller that performs relay processing, a normal mode that performs mutual conversion between serial data input / output via the serial link and parallel data handled by the link controller, and input via the serial link on the previous stage side.
- PHY that operates by switching the communication mode to the loopback mode that loops back the serial data before passing it to the link controller and outputs the serial data to the subsequent serial link.
- Symbol synchronization in post gap after data packet A symbol generation step for instructing transmission of an idle frame for maintenance; and in the postgap after returning a data packet addressed to another device in the loopback mode, the normal from the loopback mode to the PHY A loopback control step for performing a restoration instruction to restore the mode, and the PHY loops back an idle frame from the preceding node device in the loopback mode and outputs the idle frame to the subsequent serial link.
- the idle frame from the preceding node device that outputs the loopback mode to the subsequent serial link in the loopback mode and the transmission instruction that outputs to the subsequent serial link in the normal mode Same symbol between idle frames based on There were recovered from the loopback mode at the timing is maintained in the normal mode, and outputs the idle frame to the subsequent stage of the serial link based on the transmission instruction in the symbol generation step in said normal mode.
- each of the node device, the integrated circuit, and the control method it is possible to restore the normal mode while maintaining the symbol synchronization of the idle frame in the post gap after the data packet.
- the link controller delivers a data sequence related to a control symbol set including an idle symbol starting with a comma symbol for symbol synchronization in the 8b / 10b scheme as an instruction to transmit the idle frame to the PHY.
- the PHY performs the output of the idle frame in the normal mode by encoding the data sequence related to the control symbol set based on the 8b / 10b method, and from the loopback mode based on the recovery instruction, The transmission to the normal mode is returned to the subsequent-stage serial link in the loopback mode and output to the subsequent-stage serial link and the transmission to be output to the subsequent-stage serial link in the normal mode.
- Idle based on instructions Between the frame may be performed at a timing when the position and the running disparity of the comma symbol matches.
- the PHY adopts the 8b / 10b system
- the running disparity and the symbol synchronization can be reliably maintained before and after the restoration to the normal mode.
- the link controller passes a data string in which a plurality of idle symbols are bundled in a predetermined word length to the PHY as the idle frame transmission instruction, and the PHY transmits the idle frame in the normal mode.
- the data sequence is scrambled based on a predetermined scramble method, encoded by adding a synchronization header for symbol synchronization at the head of each predetermined word length, and
- the recovery from the loopback mode to the normal mode based on the idle frame from the node device in the previous stage that outputs the loopback mode to the subsequent serial link in the loopback mode and the downstream side in the normal mode. Id based on the transmission instruction output to the serial link Between the frame may be performed at a timing that matches the position of the synchronization header.
- the PHY adopts a coding method such as the 64b / 66b method by scrambling and adding a synchronization header, the symbol synchronization can be reliably maintained before and after the restoration to the normal mode.
- the link controller delivers a data sequence related to a control symbol set including an idle symbol starting with a comma symbol for symbol synchronization in the 8b / 10b scheme as an instruction to transmit the idle frame to the PHY.
- the PHY generates and outputs the idle frame to be output to the serial link on the subsequent stage in the normal mode by performing encoding based on the 8b / 10b system on the data sequence related to the control symbol set.
- the idle frame output from the encoding unit is selected and output to the subsequent serial link
- the idle frame from the node device in the previous stage is selected and Loop bar output to the serial link on the rear stage
- the idle frame comma symbol has only a symbol type having a different number of “0” and “1”
- the idle frame idle symbol has a number of “0” and “1”.
- the loopback selector is input from the input comma symbol from the preceding node device and from the encoding unit.
- the output is switched to restore the normal mode from the loopback mode immediately after the comma symbol with the matching running disparity. Runnin of a comma symbol from the preceding node device and a comma symbol input from the encoding unit
- the symbol type of the input idle symbol next to the comma symbol from the preceding-stage node device matches the idle symbol next to the comma symbol input from the encoding unit
- the output is switched to recover from the loopback mode to the normal mode immediately after the idle symbol whose symbol type does not match, and the input comma symbol from the preceding node device and the encoding
- the idle symbol next to the comma symbol from the preceding node device and the comma symbol input from the encoder The symbol type matches the next idle symbol.
- the running disparity of the next idle symbol of the comma symbol from the input node device in the preceding stage is output as it is, the symbol type is replaced with the other symbol type, and the idle type having the same symbol type is output.
- the output may be switched to restore the normal mode from the loopback mode.
- the running disparity of the comma symbol or the idle symbol included in the idle frame is switched randomly, the running disparity and the symbol synchronization can be reliably maintained before and after returning to the normal mode.
- the link controller further sets presence / absence of power saving control for the PHY at initialization, and the symbol control unit enables the power saving control to be effective in the packet gap after the post gap.
- a transmission disable instruction for setting the serial link on the rear stage side to an electrical idle state is issued.
- the power saving control is set to invalid, other idle frames for maintaining symbol synchronization are set.
- a transmission instruction may be issued.
- the power consumption is reduced by placing the serial link in the electrical idle state, or the packet transmission / reception latency is reduced by maintaining the symbol synchronization by continuing to transmit other idle symbols. You can choose to do that.
- the link controller detects the idle frame based on the idle frame transmission instruction until the PHY detects an electrical idle state of the serial link on the upstream side or another idle frame.
- the output to the serial link on the subsequent stage may be continuously performed.
- the link controller when the link controller detects a terminal symbol of the data packet when the loopback mode is outputting the data packet addressed to another device in a loopback mode, the link controller issues the recovery instruction.
- the recovery instruction may be performed when an electrical idle state of the serial link on the preceding stage or another idle frame is detected before detecting the above.
- FIG. 1 is an overall configuration diagram of a ring transmission system according to an embodiment of the present invention.
- FIG. 2 is a diagram illustrating an outline of a packet format of a packet transmitted and received between node devices in FIG. 1 and an example of a detailed configuration of a header thereof.
- A is a figure which shows an example of the packet format of a control command packet
- (b) is a figure which shows an example of the packet format of a data command packet
- (c) is a figure which shows an example of the packet format of a response packet
- D is a figure which shows an example of the packet format of a data packet
- (e) is a figure which shows an example of the packet format of a message packet.
- (A) is a figure which shows an example of the framing rule of the packet which the node apparatus of FIG. 1 uses
- (b) is an example of the framing rule of the data burst which bundled the data packet used by the node apparatus of FIG.
- the block diagram of the node apparatus of FIG. The flowchart which shows the flow of operation
- FIG. 8 is a diagram illustrating output switching timings before and after transition to the loopback mode of the loopback selector in FIG. 7.
- FIG. 7 The figure which shows the switching timing of the output before and behind loopback mode transition of the loopback selector in the modification of embodiment.
- FIG. 8 is a diagram illustrating output switching timing before and after the normal mode recovery of the loopback selector in FIG. 7.
- (A)-(c) is a figure which shows the switching rule of the output of a loopback selector at the time of utilization of the control symbol set of
- FIG. 1 is an overall configuration diagram of a ring transmission system according to an embodiment of the present invention.
- the ring transmission system in FIG. 1 includes four node devices 100a to 100d, and the node devices 100a to 100d are connected in a ring shape via serial links 101a to 101d. Note that “0” to “3” described in FIG. 1 and the like indicate device IDs assigned to the node apparatuses 101a to 101d.
- the node devices 100a to 100d include PHYs 102a to 102d and link controllers 103a to 103d, respectively.
- the node device 100a is a master node device (master device), and the other node devices 100b to 100d are slave node devices (slave devices).
- the PHYs 102a to 102d of the node devices 100a to 100d function in a physical layer that performs mutual conversion between serial data input / output via the serial links 101a to 101d and parallel data handled by the link controllers 103a to 103d. Processing block.
- the link controllers 103a to 103d of the respective node devices 100a to 100d are processing blocks that function in the logical layer and perform packet transmission / reception based on a predetermined protocol.
- the PHYs 102a to 102d of the node devices 100a to 100d are serial transmission units (Tx) 104a to 104d for outputting serial data via the serial links 101a to 101d, and serial data via the serial links 101d and 101a to 101c.
- Serial receiving units (Rx) 105a to 105d for inputting.
- serial transmission unit 104a of the node device 100a and the serial reception unit 105b of the next node device 100b are connected via a serial link 101a.
- the serial transmission units 104b, 104c, and 104d of the node devices 100b, 100c, and 100d, and the serial reception units 105c, 105d, and 105a of the next node device 100c, 100d, and 100a are serial links 101b and 101c. , 101d.
- the node devices 101a to 101d are connected to the serial links 101a to 101d in a ring shape, thereby forming a ring transmission system.
- the serial links 101a to 101d transmit serial data in the direction indicated as “forward direction” in FIG.
- the packets transmitted and received by the link controllers 103a to 103d include destination information.
- the link controllers 103a to 103d perform a receiving process for interpreting the received packet based on a predetermined protocol.
- the link controllers 103a to 103d perform relay processing for delivering the received packet to the node device at the subsequent stage of the ring.
- the node device between the source node device and the destination node device serves as a relay station, thereby realizing packet transmission / reception between the master device and an arbitrary slave device.
- FIG. 2 is a diagram illustrating an outline of a packet format of a packet transmitted and received between the node devices 100a to 100d in FIG. 1, and an example of a detailed configuration of the header.
- the packet format includes a header 200, an argument 201, and a payload 202.
- the presence or absence of the argument 201 and the payload 203 is determined according to the type of packet, and details thereof will be described later. Since the argument 201 and the payload 202 may not exist, they are represented as [Argent] and [Payload] in FIG.
- the header 200 includes a packet type (TYPE) 210, a destination ID (DID: Destination ID) 211 as the destination information, a source ID (SID: Source ID) 212, and a transaction ID ( TID: Transaction ID) 213.
- TYPE packet type
- DID Destination ID
- SID Source ID
- TID Transaction ID
- the packet type 210 indicates the detailed type of the packet.
- a control command packet (CCMD: Control Command) issued by the master device to access a register or the like mapped to the IO space, and a bulk data in the memory space are accessed.
- a data command packet (DCMD: Data Command) issued by the master device, a response packet (RES: Response) issued by the destination slave device as a response to the control command packet and the data command packet, and a data command packet.
- the destination ID 211 and the transmission source ID 212 are designated by a device ID assigned to each node device, and the total number of node devices that can be ring-connected is limited by the field length of the destination ID 211 and the transmission source ID 212. If the field lengths of the destination ID 211 and the transmission source ID 212 in FIG. 2 are both 4 bits, a value from “0” to “15” can be used as the device ID.
- the device ID of the master device 100a is used. Is always “0”, and the device IDs of the slave devices 100b to 100d are assigned unique values at the time of initialization. In the example of FIG. 1, “1” to “3” are assigned as device IDs to the slave devices 100b to 100d.
- the destination ID 211 and the transmission source ID 212 are used. Cannot identify those transactions. Therefore, the transaction ID 213 is used to identify a transaction by a plurality of data command packets.
- FIGS. 3A to 3E are the same as the header 200 in FIG. 2, and thus detailed description thereof is omitted here.
- FIG. 3A shows an example of the packet format of the control command packet.
- the argument of the control command packet includes an R / W flag 300 indicating a data transfer type of data transfer read (Read) and write (Write), and a payload length (PLEN: Payload) indicating the size of IO data transferred by the control command. Length) 301 and an IO address 302 indicating an address to be accessed on the IO space.
- the payload of the control command packet includes IO write data 303 having a size specified by the payload length 301 only when the R / W flag 300 is set to write. When the R / W flag 300 is set to read, the IO read data is included in the response packet for the control command packet, and therefore the IO read data is not included in the control command packet. Since the payload may not exist in the control command packet, it is expressed as [Payload] in FIG.
- FIG. 3B is a diagram showing an example of the packet format of the data command packet.
- the argument of the data command packet includes an R / W flag 310 indicating a data transfer type of data transfer read (Read) and write (Write), and a memory that is a start address of data transfer in the memory space as a subsequent extension argument
- An address 311 and a transfer size 312 indicating the total size of data transfer are included.
- the memory address 311 and the transfer size 312 that do not fit in the argument are defined as extended arguments. Since the header is common to all packets, it is easy to interpret the received packet in the link controllers 103a to 103d by setting the argument size to a fixed length for all packets.
- FIG. 3C shows an example of the packet format of the response packet.
- the argument of the response packet includes a NACK (Negative Acknowledge) flag 320 indicating whether or not the control command packet or the data command packet has been correctly received by the node device (communication partner slave device) designated by the destination ID 212.
- NACK Negative Acknowledge
- the response packet payload is specified by the IO read data 321 read by the control command packet (specified by the payload length 301 of the control command packet). Size).
- the IO write data is included in the control command packet as described above, and thus the IO write data is not included in the response packet. Since there is a case where no payload exists in the response packet, it is represented as [Payload] in FIG.
- FIG. 3D shows an example of the packet format of the data packet.
- the data packet has no argument, and the payload includes a data block 330 obtained by fragmenting data accessed by the data command packet with a predetermined block size.
- the block size is 512 bytes
- the transfer size 312 of the data command packet designates a multiple of 512 bytes, which is the block size.
- the data of the total size specified by the transfer size 312 is fragmented every 512 bytes and transferred as a data packet with a header added thereto.
- the block size may be a fixed size other than 512 bytes, or may be a variable size.
- FIG. 3 (e) is a diagram illustrating an example of a packet format of a message packet.
- the argument of the message packet includes a message index (Index) 340 indicating a message type and a message code (Code) 341 indicating additional information for each message type.
- a message index (Index) 340 indicating a message type
- a message code (Code) 341 indicating additional information for each message type.
- the message type specified by the message index 340 includes a flow control request (FCREQ: Flow Control Request), a flow control ready (FCRDY: Flow Control Ready), a status (STAT: Status), and the like.
- FCREQ Flow Control Request
- FCRDY Flow Control Ready
- STAT Status
- the flow control request and the flow control ready are flow control information exchanged between the transmission source node device and the destination node device before starting data transfer.
- the status is used for notifying the data reception error from the node device of the data transfer destination to the node device of the transmission source after the data transfer is completed.
- the message code 341 includes the presence / absence of a data reception error.
- packet format described above may have a different configuration depending on the protocol, and may be appropriately changed as necessary, such as deletion or addition of fields.
- FIG. 4 is a diagram showing an example of function allocation of special symbols of the 8b / 10b system used by the node devices 100a to 100d of FIG.
- a running disparity that is a state relating to the balance between the numbers of “0” and “1” in the encoded symbol is managed.
- the running disparity can take the states of “RD ⁇ ” and “RD +”, transitions to “RD ⁇ ” after generating the encoded symbol with many “0”, and “RD +” after generating the encoded symbol with many “1”. "0" and "1” maintain the state after the previous generation of the encoded symbols after the same number of encoded symbols are generated.
- encoded symbols corresponding to “Current RD ⁇ ” or “Current RD +” shown in FIG. 4 are generated.
- the running disparity is “RD-”
- the “Current RD-” encoded symbol is selected, and the selected “Current RD-” encoded symbol is an encoded symbol with many “1” s.
- the running disparity transitions from “RD ⁇ ” to “RD +” and the selected “Current RD ⁇ ” encoded symbols are “0” and “1” are the same number of encoded symbols.
- the running disparity remains “RD-”.
- running disparity management is performed, and after transition to a “RD-” after decoding a coded symbol with many “0” s, decoding of a coded symbol with many “1” s is performed.
- RD + After the transition to “RD +”, “0” and “1” maintain the state after decoding the previous encoded symbol after decoding the same number of encoded symbols. For example, when an encoding symbol that does not comply with the above encoding rule is received, such as when an encoding symbol of “Current RD +” is received even though the running disparity is “RD ⁇ ”, the running disparity is “RD ⁇ ”. ⁇ Detected as a disparity error.
- SDB Start of DATA Burst
- SOP Start of Packet
- LIDL Logical Idle
- COM Common
- DIDL Data Idle
- symbol synchronization is performed. Used as a delimiter to do.
- symbol synchronization in the 8b / 10b system indicates a state where it is possible to correctly recognize a delimiter position (first bit) of encoded symbols from serial data and convert it into parallel data.
- the SOP symbol (K28.1) and EDP symbol (K29.7) are added to the beginning and end of the packet, respectively, and are used to identify the position of the packet delimiter.
- the SDB symbol (K28.0) and the EDB symbol (K27.7) are added to the beginning and end of a data burst in which data packets are bundled as much as the flow control window size as a data transfer unit, respectively. Used to identify location.
- the LIDL symbol (K28.3) and the DIDL symbol (K28.6) are idle symbols used to fill the interval between transmission packets and maintain symbol synchronization. Note that the use of LIDL symbols and DIDL symbols will be described later.
- FIG. 5 shows an example of a control symbol set used in this embodiment.
- the control symbol set in FIG. 5 starts with a first symbol, followed by a second symbol, and the first symbol is a COM symbol (K28.5) for symbol synchronization.
- SYN consists of a COM symbol (K28.5) and a specific D symbol (D31.5), and is transmitted at the time of initialization or to establish symbol synchronization before packet transmission.
- SDB, SOP, EDP, EDB, LIDL, and DIDL represent control symbol sets defined in FIG.
- SDB, SOP, EOP, and EDB are framing symbol sets, and packets for identifying the beginning and end of various packets shown in FIGS. 2 and 3A to 3E. Used for framing.
- FIG. 6A shows an example of a packet framing rule used by the node devices 100a to 100d in FIG.
- a framed packet is formed by adding an SOP control symbol set 602 and an EOP control symbol set 603 to the beginning and end of the packet 600 with the CRC 601 added thereto, respectively.
- FIG. 6B is a diagram showing an example of a data burst framing rule in which data packets used by the node devices 100a to 100d in FIG.
- Each data packet 610 in the data burst is as shown in FIG. 3D, and is framed according to the packet framing rule described with reference to FIG.
- a framed data packet (DATA Packet (framed)) 620 (a data packet 610 with a CRC 611 and an SOP control symbol set 612 and an EOP control symbol set 613) is bundled by the window size.
- an SDB control symbol set 621 and an EDB control symbol set 622 are added to the head and the tail, respectively, to form a framed data burst.
- FIG. 7 is a configuration diagram of the node devices 100a to 100d (node device 700) of FIG.
- the node device 700 includes a PHY 701 and a link controller 702.
- the PHY 701 corresponds to the PHYs 102a to 102d in FIG. 1
- the link controller 702 corresponds to the link controllers 103a to 103d in FIG.
- the PHY 701 includes a serial reception unit (Rx) 710, a decoding unit 711, an encoding unit 712, a loopback selector 713, and a serial transmission unit (Tx) 714.
- the serial reception unit 710 corresponds to the serial reception units 105a to 105d in FIG. 1, and the serial transmission unit 714 corresponds to the serial transmission units 104a to 104d in FIG.
- the serial receiving unit 710 includes a receiver 720 and a deserializer (DES) 721.
- the receiver 720 generates serial reception data from serial data input from the serial links (serial links 101a to 101d).
- the deserializer 721 detects the leading bit position of the symbol by detecting a delimiter character such as the COM symbol described above from the bit string of the serial reception data from the receiver 720, and the symbol length (10-bit width) of the 8b / 10b system To parallel received data.
- the parallel received data output from the deserializer 721 is input to the decoding unit 711, branched by the loopback path 715, and input to the loopback selector 713. In the following, the parallel received data branched by the loopback path 715 and input to the loopback selector 713 will be referred to as “parallel loopback data”.
- the decoding unit 711 decodes each 10-bit symbol data constituting the parallel received data into Raw data having a width of 8 bits (bytes) based on the 8b / 10b system, and Raw data ( Hereinafter, it is referred to as “reception raw data”) to the link controller 702.
- the decoding unit 711 manages running disparity. For example, if the received 10-bit symbol data does not match the running disparity being managed, the decoding unit 711 detects the running disparity error.
- the encoding unit 712 converts the Raw data input from the link controller 702 (hereinafter referred to as “transmission Raw data”) into a 10-bit wide symbol in units of 8 bits (bytes) based on the 8b / 10b system.
- the data is encoded into data, and parallel transmission data composed of 10-bit width symbol data is output to the loopback selector 713.
- the encoding unit 712 performs encoding based on the 8b / 10b system while managing running disparity.
- the loopback selector 713 receives an instruction from a loopback control unit 757 (to be described later) of the link controller 702, switches output selection at a predetermined timing, and outputs one of parallel transmission data and parallel loopback data to the serial transmission unit 714. To do. Details of the output switching in the loopback selector 713 will be described later.
- the node device 700 sets the state in which the parallel transmission data related to the output of the link controller 702 is selected as the output of the loopback selector 713 to the “normal mode”, and selects the parallel loopback data branched by the loopback path 715. This state is assumed to be a “loopback mode”.
- the serial transmission unit 714 includes a serializer (SER) 725 and a driver 726.
- the serializer 725 converts parallel transmission data or parallel loopback data having a symbol length (10-bit width) of the 8b / 10b system into serial transmission data or serial loopback data.
- the driver 726 generates serial data from the serial transmission data or serial loopback data from the serializer 725 and outputs the serial data to the serial links (serial links 101a to 101d).
- the link controller 702 can stop the operation of the serial transmission unit 714 in order to save power, and can enter an electrical idle (high impedance) state that cannot occur during the operation.
- the electrical idle state the serial links 101a to 101d are pulled up or pulled down, and the serial receiving unit 710 can automatically stop the operation by detecting such a pull up state or pull down state. it can.
- the link controller 702 includes a symbol detection unit 751, a bypass control unit 752, a packet reception unit 753, a packet transmission unit 754, a bypass selector 755, a symbol generation unit 756, and a loopback control unit 757.
- the symbol detection unit 751 detects the head and tail of the packet and data burst from the received raw data input from the PHY 701 according to the framing rules shown in FIGS. Only included packet 600 is output to bypass control unit 752. At this time, when the symbol detection unit 751 detects an EDB symbol from the received raw data, the symbol detection unit 751 notifies the loopback control unit 757 that the EDB symbol has been detected. Here, when the symbol detection unit 751 confirms that the framing rules shown in FIGS. 6A and 6B are violated, or when a transmission error is confirmed by a CRC check, the symbol detection unit 751 cannot receive the packet 600 correctly. Therefore, such a packet 600 is discarded. Further, the control symbol sets such as LIDL, DIDL, and SYN shown in FIG. 5 are not used for transmitting the actual data of the packet, and are therefore removed by the symbol detection unit 751.
- the bypass control unit 752 accepts the received packet in the node device 700 based on the destination ID 212 included in the header 200 of the received packet, which is an input from the symbol detection unit 751, or the downstream of the ring via the bypass path 758. Determine whether to relay to the node device. However, the bypass control unit 752 determines that the received packet is accepted if the received packet is addressed to its own device, and outputs the received packet to the packet receiving unit 753. If the received packet is addressed to another device, the bypass control unit 752 relays the received packet. The determination is made and the received packet is output to the bypass selector 755 via the bypass path 758.
- bypass control unit 752 determines that the received packet is destined for another apparatus, the bypass control unit 752 further corresponds to a flow control request message packet (in this embodiment, a transmission request packet). ) And notifies the loopback control unit 757 of the determination result.
- a flow control request message packet in this embodiment, a transmission request packet.
- the packet receiving unit 753 performs reception processing according to the received packet based on a predetermined protocol.
- the packet transmission unit 754 issues a command packet (control command packet, data command packet) for starting data transmission, issues a response packet when the packet reception unit 753 receives a command packet, issues a data packet, Performs transmission processing such as issuing message packets.
- a command packet control command packet, data command packet
- the packet transmission unit 754 issues a command packet (control command packet, data command packet) for starting data transmission, issues a response packet when the packet reception unit 753 receives a command packet, issues a data packet, Performs transmission processing such as issuing message packets.
- the bypass selector 755 selects one of the reception packet relayed via the bypass path 758 and the transmission packet generated by the packet transmission unit 754 based on the determination result by the bypass control unit 752 and selects the symbol generation unit 756. Output to. However, the bypass selector 755 selects and outputs the received packet input via the bypass path 758 when the determination result by the bypass control unit 755 determines that the received packet is relayed.
- the symbol generation unit 756 performs relay processing using the packet input from the bypass selector 755 (the transmission packet issued by the packet generation unit 754 or the bypass path 758) according to the framing rules shown in FIGS. 6 (a) and 6 (b). Packet), and the transmission raw data of the framed packet is output to the PHY 701.
- the symbol generation unit 756 controls whether to instruct the PHY 701 to transmit an idle frame or to stop the operation of the serial transmission unit 714 and set the serial link in an electrical idle state during a period when there is no packet. To do.
- the symbol generation unit 714 issues an idle frame transmission instruction to the PHY 701 by outputting transmission RAW data of a control symbol set such as LIDL or DIDL to the PHY 701, for example.
- the loopback control unit 757 instructs the loopback selector 713 to switch the output selection according to the determination result of the bypass control unit 752 and the detection result of the symbol detection unit 751.
- the loopback control unit 757 receives the determination by the bypass control unit 752 that the received packet is addressed to another device and the received packet is a flow control request message packet indicating a transmission request,
- the back selector 713 is instructed to switch the output of the loop back selector 713 from parallel transmission data to parallel loop back data.
- the loopback control unit 757 switches the output of the loopback selector 713 from parallel loopback data to parallel transmission data for the loopback selector 713.
- the node device 700 needs to be in the normal mode immediately after initialization when performing normal data transfer. However, for the PHY 701 test, the node device 700 uses only the serial reception unit 710 and the serial transmission unit 714. When measuring Bit Error Rate, it is necessary to be in loopback mode immediately after initialization.
- FIG. 8 is a flowchart showing an operation flow of the master device 100a of FIG. 1
- FIGS. 9 and 10 are flowcharts showing an operation flow of the slave devices 100b to 100d of FIG.
- the master device 100a performs initial setting (step S100), and the slave devices 100b to 100d perform initial setting (step S200).
- the initial setting for example, whether or not the serial links 101a to 101d are in an electrical idle state in a window cycle of a flow control (that is, a data burst transfer size) or a packet gap (described later with reference to FIGS. 11 and 12).
- An operation parameter that defines the operation of the node devices 100a to 100d is set.
- the master device 100a acquires the respective operation parameters of the slave devices 100b to 100d by the read control command packet (CCMD) whose packet format is shown in FIGS. 2 and 3A, and sets the appropriate operation parameter. The value is determined, and the value of the determined operation parameter is set for each of the slave devices 100b to 100d by the write control command packet (CCMD) indicating the packet format in FIGS. 2 and 3A.
- CCMD read control command packet
- the master device 100a transmits a data command packet (DCMD) having a packet format shown in FIGS. 2 and 3B to the communication partner slave device in order to start data transfer.
- DCMD data command packet
- the slave devices 100b to 100d are in the data command reception waiting step, receive the packet, and the bypass control unit 752 sends the received packet to the own device based on the packet type 210 and the destination ID 211 of the header of the received packet. It is determined whether it is a data command packet (DATA) (step S201).
- DATA data command packet
- the slave devices 100b to 100d When the slave devices 100b to 100d receive the data command packet addressed to the slave device (S201: Yes), in the response transmission step, the slave device 100b to 100d address the master device 100a with a response packet (shown in FIG. 2 and FIG. 3C) indicating the packet format. RES) is transmitted (step S202), and the process proceeds to step S203.
- the master device 100a that has transmitted the data command packet in step S101 is in the response reception waiting step, and receives the response packet transmitted from the destination slave device (communication partner slave device) of the data command packet (step S102). ), The process proceeds to step S103.
- a command-response handshake is established between the master device 100a and the slave device (destination slave device) of the data command.
- the master device 100a and the slave device with which it communicates perform transmission or reception of data bursts according to the symmetrical protocol shown in steps S103 to S112 and steps S203 to 212, respectively.
- the slave device other than the communication partner receives a packet addressed to the other device in the data command reception waiting step.
- the slave device addresses the other device in the relay processing step. Packet relay processing or the like is performed (step 213), and the processing returns to step S201. Details of the relay processing step in step S213 will be described later with reference to FIG.
- the master device 100a After the command-response handshake is established between the master device 100a and the slave device of the communication partner, the master device 100a exchanges the data command packet exchanged with the slave device of the communication partner in the data transmission side determination step. In accordance with the R / W flag 310, it is determined whether the own apparatus is the data burst transmission side (step S103). In addition, in the data transmission side determination step, the slave device of the communication counterpart determines whether the device is the data burst transmission side according to the R / W flag 310 of the data command packet exchanged with the master device 100a. Determination is made (step S203).
- the master device 100a determines that the device itself is the data burst transmission side, and the communication partner slave device is the data burst transmission side. It is determined that there is no data burst (the data burst receiving side).
- the master device 100a determines that the device itself is not the data burst transmission side (data burst reception side), and the communication partner slave device is the device itself. It is determined that the transmission side is a data burst.
- the master device 100a determines that the own device is the data burst transmitting side (S103: Yes)
- the master device 100a transmits the data burst according to steps S104 to S107.
- the receiving side S203: No
- the data burst is received according to steps S208 to S211.
- the master device 100a determines that the device itself is the data burst receiving side (S103: No)
- the master device 100a receives the data burst according to steps S108 to S111. If it is determined that the transmission side is the burst transmission side (S203: Yes), the data burst is transmitted according to steps S204 to S207.
- the flow control in this embodiment uses a fixed-size window method, and the window size is shared between the master device 100a and the slave devices 100b to 100d in the initial setting step (S100, S200). However, it may be other than this.
- the master device 100a is the data burst transmission side and the communication partner slave device is the data burst reception side will be described.
- the master device 100a prepares data transmission for the window size, and after completing the data transmission preparation, as a flow control transmission request, the master device 100a is directed to the communication partner slave device as shown in FIG. 2 and FIG.
- a flow control request (FCREQ) message packet indicating the packet format is transmitted to (step S104).
- the communication partner slave device prepares to receive data corresponding to the window size, and receives a flow control request message packet indicating a flow control transmission request transmitted from the master device 100a (step S208). .
- the slave device of the communication partner receives the message packet of the flow control request, and after the data reception preparation for the window size is completed, in the transmission response step, as a flow control transmission response to the master device 100a, FIG.
- a message packet of flow control ready (FCRDY) indicating the packet format is transmitted to 3 (e) (step S209).
- the master device 100a is in the transmission response waiting step, and receives a flow control ready message packet indicating a flow control transmission response transmitted from the slave device of the communication partner (step S105).
- the master device 100a that has received the flow control ready message packet transmits a data burst in the data burst transmission step (step S106). Then, in the data burst reception step, the slave device of the communication partner receives the data burst transmitted from the master device 100a, and does not violate the framing rule shown in FIG. 6B (that is, whether or not there is a framing error) ) Or whether there is an error in the CRC 611 for each data packet 620 (that is, whether there is a CRC error) (step S210). In the status notification step, the slave device of the communication partner transmits to the master device 100a the presence / absence of these errors in a message packet of status (STAT) whose packet format is shown in FIGS. 2 and 3 (e) (step). S211). The master device 100a is in the status notification waiting step, and receives the status message packet transmitted from the communication partner slave device (step S107).
- STAT message packet of status
- the master device 100a determines whether the data transfer for the data size specified by the transfer size 312 of the data command packet has been completed (step S112).
- the master device 100a does not transfer data for the data size specified by the transfer size 312 of the data command packet.
- the processes of step S103, steps S104 to S107, and step S112 are repeated.
- the master device 100a ends the data burst transfer process related to the data command packet transmitted in step S101.
- the communication partner slave device determines whether the data transfer for the data size designated by the transfer size 312 of the data command packet has been completed (step S212).
- the slave device of the communication partner has not completed the data transfer for the data size specified by the transfer size 312 of the data command packet (S212: No)
- the slave device for the data size specified by the transfer size 312 of the data command packet Step S203, steps S208 to S211 and step S212 are repeated until the data transfer is completed.
- the slave device of the communication partner completes the data transfer for the data size specified by the transfer size 312 of the data command packet (S212: Yes)
- the data burst transfer processing related to the data command packet received in step S201 is completed. To do.
- the communication partner slave device prepares for data transmission corresponding to the window size, and after completing the data transmission preparation, as a flow control transmission request to the master device 100a, FIG. 2 and FIG.
- a message packet of a flow control request (FCREQ) indicating the packet format is transmitted to (step S204).
- master device 100a prepares data reception for the window size, and receives a flow control request message packet indicating a flow control transmission request transmitted from the slave device of the communication partner (step S108). .
- the master device 100a receives the message packet of the flow control request, and after completing the data reception preparation for the window size, in the transmission response step, as the flow control transmission response, the master device 100a addresses the slave device of the communication partner as shown in FIG.
- a flow control ready (FCRDY) message packet indicating the packet format is transmitted to 3 (e) (step S109).
- the slave device of the communication partner is in the transmission response waiting step, and receives the flow control ready message packet indicating the flow control transmission response transmitted from the master device 100a (step S205).
- the slave device of the communication partner that has received the flow control ready message packet transmits a data burst in the data burst transmission step (step S206). Then, in the data burst reception step, master device 100a receives the data burst transmitted from the slave device of the communication partner, and does not violate the framing rule shown in FIG. 6B (that is, whether or not there is a framing error) ) Or whether there is no error in the CRC 611 for each data packet 620 (that is, whether there is a CRC error) (step S110). In the status notification step, the master device 100a transmits the presence / absence of these errors to the slave device of the communication partner in a message packet of status (STAT) whose packet format is shown in FIG. 2 and FIG. 3 (e) (step). S111). The slave device of the communication partner is in the status notification waiting step, and receives the status message packet transmitted from the master device 100a (step S207).
- STAT message packet of status
- the communication partner slave device determines whether the data transfer for the data size designated by the transfer size 312 of the data command packet has been completed (step S212).
- the slave device of the communication partner has not completed the data transfer for the data size specified by the transfer size 312 of the data command packet (S212: No)
- the slave device for the data size specified by the transfer size 312 of the data command packet Step S203, steps S204 to S207, and step S212 are repeated until the data transfer is completed.
- the slave device of the communication partner completes the data transfer for the data size designated by the transfer size 312 of the data command packet (S212: Yes)
- the data burst transfer processing related to the data command packet received in step S201 is terminated. .
- the master device 100a determines whether the data transfer for the data size specified by the transfer size 312 of the data command packet has been completed (step S112).
- the master device 100a does not transfer data for the data size specified by the transfer size 312 of the data command packet.
- the processes of step S103, steps S108 to S111, and step S112 are repeated.
- the master device 100a ends the data burst transfer process related to the data command packet transmitted in step S101.
- FIG. 11 is a diagram showing an example of a processing sequence of a write data command between the master device 100a of FIG. 1 and the slave device of the communication partner
- FIG. 12 is a diagram showing a slave device of the communication partner with the master device 100a of FIG. It is a figure which shows an example of the processing sequence of the data command of reading between apparatuses.
- the period from the completion of transmission of the message packet of the flow control request (FCREQ) to the start of transmission of the data burst is defined as a pre-gap 1100, 1200, and the status (STAT ) Are identified as post gaps 1101 and 1201, and other transmission packet intervals are identified as packet gaps 1102 and 1202.
- the symbol generation unit 756 of the link controller 702 issues a transmission instruction to the PHY 701 described below during a period when there is no transmission packet such as the pre-gap 1100, 1200, the post gap 1101, 1201, and the packet gap 1102, 1202.
- the symbol generator 756 uses the DIDL control symbol set shown in FIG. 5 as the first idle frame in the pre-gap 1100 and 1200 and the post-gap 1101 and 1201 (this starts with a COM symbol for symbol synchronization, (Including a DIDL symbol as a symbol) is repeatedly transmitted to the PHY 701.
- the symbol generation unit 756 performs this transmission instruction by passing to the PHY 701 a control symbol set that starts with a symbol synchronization COM symbol (original data) and includes a DIDL symbol (original data) that is an idle symbol.
- the symbol generation unit 756 repeatedly instructs the PHY 701 to transmit the second idle frame according to the power saving setting set in the initial setting step (S100 and S200), or A transmission disable instruction for stopping the operation of the serial transmission unit 714 is issued to the PHY 701.
- the symbol generation unit 756 uses the LIDL control symbol set shown in FIG. 5 as the second idle frame (this starts with a COM symbol for symbol synchronization, The transmission instruction of the LIDL symbol is included) is repeatedly performed on the PHY 701.
- the symbol generation unit 756 performs this transmission instruction by passing to the PHY 701 a control symbol set that starts with a symbol symbol COM symbol (original data) and includes a LIDL symbol (original data) that is an idle symbol.
- the symbol generation unit 756 gives a transmission disable instruction for stopping the operation of the serial transmission unit 714 to the PHY 701 to set the serial link in an electrical idle state.
- the SYN control symbol set shown in FIG. 5 is used to recover the symbol synchronization lost by entering the electrical idle state before the packet gap 1102 and 1202 are transmitted and the packet is transmitted again. It is necessary to transmit repeatedly for a predetermined period.
- the slave devices 100b to 100d receive a packet addressed to another device in the data command reception waiting step of FIG. 9 (S201: No)
- the slave device 100b to 100d proceeds to the relay processing step of step S213 shown in detail in FIG. To do.
- FIG. 10 is a flowchart showing details of the relay processing step S213 in FIG.
- the bypass selector 755 of the link controller 702 passes the bypass route 758 based on the determination result of the bypass control unit 752 in the packet relay step.
- the received packet to be input is selected and output, thereby relaying the received packet (step S300).
- the communication device other than the communication partner determines whether the received packet subjected to the relay process is a message packet of a flow control request indicating a transmission request, based on the packet type 210 of the header. (Step S301).
- the communication apparatus other than the communication partner proceeds to the process of step 302 and is a packet other than the flow control request ( In S301: No), the relay process ends, and the process returns to Step S201 in FIG.
- the symbol generation unit 756 instructs the PHY 701 to transmit the DIDL control symbol set as the first idle frame, so that The slave device starts transmission of the DIDL control symbol set as the first idle frame, and repeats transmission of the DIDL control symbol set as the first idle frame.
- the loopback control unit 757 instructs the loopback secretor 713 to shift from the normal mode to the loopback mode, and the loopback selector 713 converts the parallel transmission data into the parallel loopback data. The output is switched to (step S302).
- FIG. 13 is a diagram illustrating output switching timings before and after transition to the loopback mode of the loopback selector 713 in FIG.
- the output from the loopback selector 713 is, for example, a second idle frame such as the LIDL control symbol set 1301 (the output of the encoding unit 712). ). Then, in a pre-gap after relay output of the flow control request message packet 1302, a DIDL control symbol set 1303 (output of the encoding unit 712) that is the first idle frame is output from the loopback selector 713.
- the loopback selector 713 When the loopback selector 713 receives an instruction to shift from the normal mode to the loopback mode after the relay output of the message packet of the flow control request from the loopback control unit 757, the loopback selector 713 switches the output from the parallel transmission data to the parallel loopback data and loops. The mode shifts to the back mode, and output of the DIDL control symbol set 1304 turned back through the loopback path 715 is started. If the COM symbol position is shifted by one symbol between the parallel transmission data and the parallel loopback data, the output is switched after the parallel loopback data is delayed by one symbol in the loopback selector 713. Just do.
- each of the LIDL symbol and DIDL symbol of the first embodiment is a Unbalanced symbol in which the numbers of “0” and “1” are different, like the COM symbol.
- the control symbol set as shown in FIG. 5 is continuously transmitted as an idle frame, the running disparity inverted by the COM symbol is restored to the original by the subsequent LIDL symbol or DIDL symbol, resulting in idle The running disparity of the frame will always be maintained.
- the running disparity of the idle frame transmitted in the packet gap after initialization is unified to either “RD ⁇ ” or “RD +”, the running / running of the subsequent idle frame depends on the packet to be transmitted.
- the running disparity of the idle frame in the transmission path of the same packet matches. Therefore, in the slave device other than the communication partner that relays the data command (DCMD), response (RES), etc. between the master device 100a and the slave device of the communication partner, the running idle frame to be received and the idle frame to be transmitted are transmitted. Disparity matches. Thereby, the symbol synchronization and the running disparity before and after the switching of the output of the loopback selector 713 can be maintained only by aligning the position of the COM symbol.
- the LIDL control symbol set and DIDL control symbol set are not limited to the definitions shown in FIG. 5, and a Balanced symbol having the same number of “0” and “1” can be selected as the second symbol. You may output, switching either a symbol and a Balanced symbol in random order. In such a case, since the running disparity of the COM symbol in the continuous LIDL control symbol set and the running disparity of the COM symbol in the continuous DIDL control symbol set are switched in random order, the periodic signal pattern EMI (Electro-Magnetic Interference) noise caused by the above can be reduced.
- EMI Electro-Magnetic Interference
- the loopback selector 713 performs the DIDL of the parallel transmission data. It is necessary to switch the output at the timing when the COM symbol running disparity in the control symbol set and the DIDL control symbol set of the parallel loopback data match. However, since the running disparity of the COM symbols in the DIDL control symbol set is switched in a random order, the matching timing cannot be guaranteed. Therefore, as shown in FIG. 14, a loopback path 715 ⁇ / b> A may be provided after the decoding unit 711.
- the loopback selector 713A outputs between the decoded parallel loopback data and the parallel transmission data before encoding input from the symbol generation unit 756 (transmission raw data input to the PHY from the link controller).
- the switching is performed so that the output of the loopback selector 713A is input to the encoding unit 712A, and the encoding unit 712A performs encoding based on the 8b / 10b system on the output of the loopback selector 713A.
- the decoded parallel loopback data is converted into one symbol in the loopback selector 713A.
- the output may be switched after delaying by a minute. In this case, since the running disparity is always managed by the encoding unit 712A, it is not necessary to consider the continuity of the running disparity.
- the slave device other than the communication partner relays the data burst via the loopback path 715 while maintaining the loopback mode (step S303).
- slave devices other than the communication partner perform data burst relay processing without the intervention of the link controller 702, but the symbol detection unit 751 in the slave device other than the communication partner continues to operate, An EDB symbol indicating the end of the data burst is detected.
- the symbol detector 751 detects an EDB symbol, the process proceeds to a normal mode recovery step in step S304.
- the slave device other than the communication partner that detected the EDB symbol becomes the post gap 1101 shown in FIG. 11 or the post gap 1201 shown in FIG. 12 after detecting the EDB symbol.
- An instruction to transmit a DIDL control symbol set as a first idle frame is sent to the encoding unit 712, thereby starting output of a DIDL control symbol set as a first idle frame.
- the output of the DIDL control symbol set as an idle frame is repeated.
- the loopback control unit 757 instructs the loopback selector 713 to recover from the loopback mode to the normal mode, and the loopback selector 713 changes the parallel loopback data to the parallel transmission data.
- the output is switched, and the DIDL control symbol set as the first idle frame output from the encoding unit 712 is output to the serial link (step S304).
- FIG. 15 is a diagram showing output switching timings before and after the normal mode recovery of the loopback selector 713 of FIG.
- the symbol detection unit 751 When detecting the EDB symbol from the input of the decoding unit 711, the symbol detection unit 751 notifies the loopback control unit 757 and the symbol generation unit 756 that the EDB symbol has been detected. Accordingly, the loopback control unit 757 instructs the loopback selector 713 to restore from the normal mode to the loopback mode. Further, the symbol generation unit 756 instructs the encoding unit 712 to transmit a DIDL control symbol set having the same running disparity as the COM symbol in the DIDL control symbol set after the EDB symbol is detected.
- the encoding unit 712 outputs a DIDL control symbol set in which the COM symbol has the same running disparity as the COM symbol in the DIDL control symbol set after the EDB symbol is detected in accordance with the transmission instruction from the symbol generation unit 756.
- the loopback selector 713 performs relay output of the EDB control symbol set 1501 and DIDL control symbol set 1502 input via the loopback path 715 and then receives a recovery instruction from the loopback control unit 757, the loopback selector 713 outputs Is switched from parallel loopback data to parallel transmission data to restore the normal mode. Then, the slave device other than the communication partner starts outputting the DIDL control symbol set 1503 generated by the encoding unit 712 to the serial link.
- the output is switched after delaying the parallel transmission data by one symbol in the loopback selector 713.
- the DIDL control symbol set 1502 output from the encoding unit 712 has the same running disparity as the DIDL control symbol set 1503 relay output in the loopback mode, so that the running before and after the output switching of the loopback selector 713 is performed. ⁇ Discontinuity of disparity is maintained.
- the symbol generation unit 756 instructs the encoding unit 712 to transmit a DIDL control symbol set having the same running disparity as the COM symbol in the DIDL control symbol set after the EDB symbol is detected by the COM symbol. An example will be described.
- the decoding unit 711 manages running disparity (“RD +” or “RD ⁇ ”), and outputs the running disparity after decoding to the symbol detection unit 751 together with the decoding result.
- the symbol detection unit 751 notifies the symbol generation unit 756 of the detection of the EDB symbol and the running disparity after the EDB symbol decoding.
- the symbol generation unit 756 instructs the encoding unit 712 to transmit a DIDL control symbol set including running disparity after EDB symbol decoding.
- the encoding unit 712 performs encoding based on the 8b / 10b system by replacing the running disparity being managed with the notified running disparity, and outputs the DIDL control symbol set to the loopback selector 713. Do.
- the symbol detector 751 of the slave device other than the communication partner switches the received symbol from the post-gap DIDL control symbol set to the packet gap LIDL control symbol set or the electrical idle state. Detect that. In response to this detection, the symbol generation unit 756 switches the instruction for the PHY 701 from a transmission instruction for the DIDL control symbol set to a transmission instruction for a LIDL control symbol or an electrical idle state. (Step S305). In the example of FIG. 15, when the output from the serial receiver 710 detects a change from the post-gap DIDL control symbol set 1511 to the packet gap LIDL control symbol set 1512, the symbol detector 751 thereafter performs normal operation. The output from the symbol generator 756 in the mode is also switched from the DIDL control symbol set to the LIDL control symbol set.
- step S304 when the EDB symbol cannot be detected due to a transmission error or the like, the loop back mode cannot be recovered to the normal mode, and packets cannot be received thereafter.
- the loopback control unit 757 detects the loopback selector 713. It is desirable to instruct the recovery from the loopback mode to the normal mode, and this may be used.
- FIG. 16 is a diagram showing the overall operation of the write data command processing of the ring transmission system shown in FIG. 1
- FIG. 17 is a diagram showing the overall operation of the read data command processing of the ring transmission system shown in FIG.
- node devices 100a to 100d are assigned device IDs “0” to “3”, respectively.
- the power saving setting of all the node devices 100a to 100d is invalidated, and the LIDL control symbol set that is the second idle frame is repeatedly transmitted in the packet gap. .
- 0” ⁇ “2” indicates a packet in which the device ID “2” is set in the destination ID 211 and the device ID “0” is set in the transmission source ID 212.
- (“2” ⁇ “0”) indicates a packet in which the device ID “0” is set in the destination ID 212 and the device ID “2” is set in the transmission source ID 212.
- the node devices 100a to 100d repeatedly transmit the LIDL control symbol set, which is the second idle frame, in the packet gap.
- the node device 100a transmits a write data command packet (DCMD) to the node device 100c at time T1 in the data command transmission step.
- DCMD write data command packet
- This data command packet is input to the node device 100b via the serial link 101a. Since it is a packet gap after data command packet transmission, the node device 100a repeats transmission of the LIDL control symbol set.
- the node device 100b in the data command reception waiting step receives the data command packet, determines that the received data command packet is addressed to another device (node device 100c), and bypasses the link controller 702 in the packet relay step. Relay processing of data command packets addressed to other devices is performed using the path 758.
- the relayed data command packet is input to the node device 100c via the serial link 101b.
- the node device 100b determines that the relayed packet is not a flow control request message packet indicating a transmission request, and returns to the data command reception waiting step. Since the packet gap is after the data command packet relay, the node device 100b repeats transmission of the LIDL control symbol set.
- the node device 100c in the data command reception waiting step receives the data command packet, determines that the received data command packet is addressed to itself, and in the response transmission step, transmits a response packet (RES) addressed to the node device 100a. Send.
- This response packet is input to the node device 100d via the serial link 101c. Since the packet gap is after the response is transmitted, the node device 100c repeats transmission of the LIDL control symbol set.
- the node device 100d in the data command reception waiting step receives the response packet, determines that the received response packet is addressed to another device (node device 100a), and in the packet relay step, bypass path 758 in the link controller 702. Is used to relay response packets addressed to other devices.
- the relay-processed response packet is input to the node device 100a via the serial link 101d.
- the node device 100d determines that the relayed packet is not a flow control request message packet indicating a transmission request, and returns to the data command reception waiting step. Since the packet gap is after the response packet is relayed, the node device 100d repeats transmission of the LIDL control symbol set.
- the node device 100a in the response reception waiting step receives the response packet.
- the node device 100a that has received the response packet determines that the device itself is the data burst transmission side, and the communication partner node device 100c is not the data burst transmission side (the device itself is The data burst receiving side).
- the node device 100a starts data transmission preparation, and transmits a flow control request (FCREQ) message packet indicating a transmission request to the node device 100c at time T2 when data transmission preparation is completed.
- FCREQ flow control request
- the flow control request message packet is input to the node device 100b via the serial link 101a. Since the pre-gap is present after the flow control request message packet is transmitted, the node device 100a repeatedly transmits the DIDL control symbol set.
- the node device 100b in the data command reception waiting step receives the flow control request message packet, determines that the received flow control request message packet is addressed to another device (node device 100c), and in the packet relay step, The bypass packet 758 in the link controller 702 is used to relay the flow control request message packet.
- the relayed flow control request message packet is input to the node device 100c via the serial link 101b.
- the node device 100b determines that the relayed packet is a flow control request message packet indicating a transmission request. Then, the node device 100b proceeds to the loopback transition step, and transitions from the normal mode to the loopback mode in the pre-gap after the relay process of the flow control request message packet.
- the node device 100b repeatedly outputs the DIDL control symbol set generated by the own device to the serial link 101b in the pre-gap after the flow control request message packet relay and before switching to the loopback mode, and switches to the loopback mode. After that, in the pre-gap, the DIDL control symbol set is relayed to the serial link 101b using the loopback path 715.
- the node device 100c in the transmission request waiting step receives the message packet of the flow control request indicating the transmission request and is ready to receive data
- the flow control ready indicating the transmission response addressed to the node device 100a in the transmission response step. (FCRDY) message packet is transmitted.
- the flow control ready message packet is input to the node device 100d via the serial link 101c. Since the packet gap is present after the flow control ready message packet is transmitted, the node device 100c repeats transmission of the LIDL control symbol set.
- the node device 100d in the data command reception waiting step receives the flow control ready message packet, determines that the received flow control ready message packet is addressed to another device (node device 100a), and in the packet relay step, The bypass process 758 in the link controller 702 is used to relay the flow control ready message packet.
- the relay-processed flow control ready message packet is input to the node device 100a via the serial link 101d.
- the node device 100d determines that the relayed packet is not a flow control request message packet indicating a transmission request, and returns to the data command reception waiting step. Since the packet gap is after the flow control ready message packet is relayed, the node device 100d repeats transmission of the LIDL control symbol set.
- the node device 100a in the transmission response waiting step receives the flow control ready message packet indicating the transmission response.
- the node device 100a (Time T3 to Time T4) Receiving the flow control ready message packet indicating the transmission response, the node device 100a starts data burst transmission from time T3 in the data burst transmission step. This data burst is input to the node device 100b via the serial link 101a. Since the post-gap is completed after the transmission of the data burst, the node device 100a repeats the transmission of the DIDL control symbol set.
- the node device 100b in the loopback mode performs data burst relay processing using the loopback path 715 of the PHY 701 in the data burst relay step.
- the relayed data burst is input to the node device 100c via the serial link 101b.
- the node device 100b recovers from the loopback mode to the normal mode in the normal mode recovery step in the post gap after detecting the EDB symbol indicating the end of the data burst.
- the node device 100c in the data burst reception waiting step starts reception of the data burst.
- the node device 100c transmits a status (STAT) message packet to the node device 100a at time T4 in order to notify the reception error in the status notification step.
- This status message packet is input to the node device 100d via the serial link 101c. Since it is a packet gap after transmitting the status message packet, the node device 100c repeats transmission of the LIDL control symbol set.
- the node device 100d in the data command reception waiting step receives the status message packet, determines that the status message packet is addressed to another device (the node device 100a), and bypasses the link controller 702 in the packet relay step.
- the status message packet is relayed using the path 758.
- the relayed status message packet is input to the node device 100a via the serial link 101d.
- the node device 100d determines that the relayed packet is not a flow control request message packet indicating a transmission request, and returns to the data command reception waiting step. Since the packet gap after the status message packet relay, the node device 100d repeats transmission of the LIDL control symbol set.
- the node device 100a in the status notification waiting step receives the status message packet, completes the post gap at the time T5 when the status message packet is received, and transmits the LIDL of the normal packet gap from the transmission of the DIDL control symbol set. Switch to control symbol set transmission.
- the node device 100b in the post-gap completion waiting step detects that the symbol detection unit 751 has switched from the DIDL control symbol set to the LIDL control symbol set, the node device 100b completes the post-gap in the node device 100b. Switch from transmission of control symbol set to transmission of LIDL control symbol set.
- the node device 100a returns to the transmission request step again and repeats the processing from time T2 until it is determined in the command completion determination step that data transfer for the transfer size specified by the data command has been completed.
- time T1 to Time T2 The operation in the ring transmission system from time T1 to time T2 is the same in the portion related to the present invention except that the write command is changed to the read command.
- the node device 100a that has received the response packet determines that the own device is not the data transmission side (the own device is the data reception side), and the communication partner node device 100c is the data transmission side. It is determined that
- the node device 100c starts data transmission preparation, and transmits a flow control request (FCREQ) message packet indicating a transmission request to the node device 100a at time T2 when data transmission preparation is completed.
- FCREQ flow control request
- the flow control request message packet is input to the node device 100d via the serial link 101c. Since it is a pre-gap after the flow control request message packet is transmitted, the node device 100c repeatedly transmits the DIDL control symbol set.
- the node device 100d in the data command reception waiting step receives the flow control request message packet, determines that the received flow control request message packet is addressed to another device (node device 100a), and in the packet relay step, The bypass packet 758 in the link controller 702 is used to relay the flow control request message packet.
- the relayed flow control request message packet is input to the node device 100a via the serial link 101d.
- the node device 100d determines that the relayed packet is a flow control request message packet indicating a transmission request. Then, the node device 100d proceeds to the loopback transition step, and transitions from the normal mode to the loopback mode in the pre-gap after the relay process of the flow control request message packet.
- the node device 100d repeatedly outputs the DIDL control symbol set generated by itself to the serial link 101d in the pre-gap after relaying the flow control request message packet and before switching to the loopback mode, and enters the loopback mode.
- the DIDL control symbol set is relayed to the serial link 101d using the loopback path 715.
- the node device 100a in the transmission request waiting step receives the message packet of the flow control request indicating the transmission request and is ready to receive data
- the flow control ready indicating the transmission response addressed to the node device 100c is transmitted in the transmission response step.
- (FCRDY) message packet is transmitted.
- the flow control ready message packet is input to the node device 100b via the serial link 101a. Since the packet gap is present after the flow control ready message packet is transmitted, the node device 100a repeats transmission of the LIDL control symbol set.
- the node device 100b in the data command reception waiting step receives the flow control ready message packet, determines that the received flow control ready message packet is addressed to another device (node device 100c), and in the packet relay step, The bypass process 758 in the link controller 702 is used to relay the flow control ready message packet.
- the relay-processed flow control ready message packet is input to the node device 100c via the serial link 101b.
- the node device 100b determines that the relayed packet is not a flow control request message packet indicating a transmission request, and returns to the data command reception waiting step. Since the packet gap is present after relaying the flow control ready message packet, the node device 100b repeats transmission of the LIDL control symbol set.
- the node device 100c in the transmission response waiting step receives the flow control ready message packet indicating the transmission response.
- the node device 100c that has received the flow control ready message packet indicating the transmission response starts transmission of the data burst from time T3 in the data burst transmission step. This data burst is input to the node device 100d via the serial link 101c. Since the post-gap is completed after the transmission of the data burst, the node device 100c repeats the transmission of the DIDL control symbol set.
- the node device 100d in the loopback mode performs data burst relay processing using the loopback path 715 of the PHY 701 in the data burst relay step.
- the relayed data burst is input to the node device 100a via the serial link 101d.
- the node device 100d recovers from the loopback mode to the normal mode in the normal mode recovery step in the post gap after detecting the EDB symbol indicating the end of the data burst.
- the node device 100a in the data burst reception waiting step starts reception of the data burst.
- the node device 100a transmits a status (STAT) message packet to the node device 100c at time T4 in order to notify the reception error in the status notification step.
- This status message packet is input to the node device 100b via the serial link 101a. Since it is a packet gap after transmitting the status message packet, the node device 100a repeats transmission of the LIDL control symbol set.
- the node device 100b in the data command reception waiting step receives the status message packet, determines that the status message packet is addressed to another device (node device 100c), and bypasses the link controller 702 in the packet relay step.
- the status message packet is relayed using the path 758.
- the relayed status message packet is input to the node device 100c via the serial link 101b.
- the node device 100b determines that the relayed packet is not a flow control request message packet indicating a transmission request, and returns to the data command reception waiting step. Since the packet gap after the status message packet relay, the node device 100b repeats transmission of the LIDL control symbol set.
- the node device 100c in the status notification waiting step receives the status message packet, completes the post gap at the time T5 when the status message packet is received, and transmits the LIDL of the normal packet gap from the transmission of the DIDL control symbol set. Switch to control symbol set transmission.
- the node device 100d in the post-gap completion waiting step detects that the symbol detection unit 751 has switched from the DIDL control symbol set to the LIDL control symbol set, the node device 100d completes the post-gap in the node device 100d and controls DIDL. Switching from symbol set transmission to LIDL control symbol set transmission.
- the node device 100c returns to the transmission request step again and repeats the processing from time T2 until it is determined in the command completion determination step that the data transfer for the transfer size specified by the data command has been completed.
- the present invention is not limited to the contents described in the above embodiment, and can be implemented in any form for achieving the object of the present invention and the object related thereto or incidental thereto. .
- FIG. 18 shows a configuration of a node device when the node device adopts the 64b / 66b method.
- the symbol generation unit 756 outputs transmission Raw data having a word length of 64 bits, which is a bundle of 8 symbols (8 bytes) in the 8b / 10b system, to the encoding unit 712B.
- the encoding unit 712B then scrambles the 64-bit Raw data with a predetermined scramble polynomial, and adds a 2-bit synchronization header to the head of the encoded parallel transmission data in the 64b / 66b system. Is output to the loopback selector 713B.
- the loopback selector 713B receives an instruction from the loopback control unit 757, switches output selection at a predetermined timing, and outputs one of the parallel transmission data and the parallel loopback data to the serial transmission unit 714B.
- the serializer 725B in the serial transmission unit 714B converts the 64b / 66b parallel transmission data or parallel loopback data input from the loopback selector 713B into serial transmission data or serial loopback data.
- the deserializer 721B in the serial reception unit 710B performs symbol synchronization (frame synchronization) by detecting a synchronization header added to the head of a plurality of continuous 66-bit width serial reception data, and performs 64b / The 66b parallel received data is output to the decoding unit 711B.
- the decoding unit 711B removes the synchronization header added to the head of the parallel received data, generates 64-bit wide received raw data by descrambling with a polynomial paired with the scramble polynomial in the encoding unit 712B, and performs symbol detection To the unit 751.
- the loopback selector 713B selects the parallel transmission data of the 64b / 66b method that is an input from the encoding unit 712B in the normal mode, and the loopback mode in the loopback mode. It is necessary to select and output 64b / 66b parallel loopback data input via the back path 715.
- FIG. 19 is a diagram showing output switching timings before and after transition to the loopback mode of the loopback selector 713B when the 64b / 66b method is adopted as the encoding method.
- the 64b / 66b system even in the 64b / 66b system, all control symbols corresponding to the control symbols of the 8b / 10b system shown in FIG. 4 can be used. Therefore, the parallel data of the 64b / 66b system including DIDL symbols is used as DIDL. Show.
- the loopback selector 713B outputs 64b / 66b parallel transmission data input from the encoding unit 756 in the normal mode.
- the loopback control unit 757 shifts the loopback mode from the normal mode to the loopback selector 713B when the received packet is addressed to another device and is a message packet of a flow control request indicating a transmission request. Give instructions.
- the loopback selector 713B shifts from the normal mode to the loopback mode, and is input from the 64b / 66b parallel transmission data input from the encoding unit 712B via the loopback path 715.
- the output is switched to 64b / 66b parallel loopback data.
- This output switching is performed at a timing that matches the position of the synchronization header (Sync) added to the heads of both parallel transmission data and parallel loopback data, thereby maintaining data continuity before and after output switching. be able to.
- the position of the synchronization header (Sync) is shifted between the parallel transmission data and the parallel loopback data, the parallel loopback data is appropriately delayed in the loopback selector 713B, and the position of the synchronization header (Sync) is determined. What is necessary is just to match.
- FIG. 20 is a diagram showing output switching timings before and after the normal mode recovery of the loopback selector 713B when the 64b / 66b method is adopted as the encoding method.
- the loopback selector 713B outputs 64b / 66b parallel loopback data input via the loopback path 715 in the loopback mode.
- the loopback control unit 757 instructs the loopback selector 713B to recover from the loopback mode to the normal mode.
- the loopback selector 713B recovers from the loopback mode to the normal mode and is input from the encoding unit 712B from the 64b / 66b parallel loopback data input via the loopback path 715. Output is switched to 64b / 66b parallel transmission data.
- This output switching is performed at a timing that matches the position of the synchronization header (Sync) added to the heads of both parallel transmission data and parallel loopback data, thereby maintaining data continuity before and after output switching. be able to.
- the position of the synchronization header (Sync) is shifted between the parallel transmission data and the parallel loopback data, the parallel transmission data is appropriately delayed in the loopback selector 713B, and the synchronization header (Sync) is aligned. Should be done.
- the loopback control unit 757 causes the loopback selector 713 to execute the loopback mode. It is desirable to give an instruction to restore from the normal mode to the normal mode.
- the operation flowcharts of the node devices 100a to 100d in the modification of the first embodiment are substantially the same as those in FIGS. 8, 9, and 10 in the first embodiment, and the operation of the entire ring transmission system is as follows.
- the flowchart is also substantially the same as FIGS. 16 and 17 in the first embodiment, and a description thereof will be omitted.
- control symbol set shown in FIG. 5 has been described as an example. However, as described in the first embodiment, the control symbol set is defined in FIG. It is not limited to the control symbol set.
- FIG. 21 is a diagram showing an example of a control symbol set used by the node device of FIG. 1 in a modified example.
- LIDL control symbol set a LIDL control symbol set in which the first symbol is a COM symbol (K28.5) and the second symbol is a LIDL0 symbol (K28.3), and the first symbol Is a COM symbol (K28.5), and a LIDL control symbol set in which the second symbol is a LIDL1 symbol (D16.7) is defined.
- the LIDL0 symbol (K28.3) is an Unbalance symbol of a symbol type in which the numbers of “0” and “1” are different, and therefore the next running disparity is inverted.
- the COM symbol (K28.5) is an Unbalance symbol of a symbol type in which the numbers of “0” and “1” are different, and therefore the next running disparity is inverted.
- DIDL control symbol set a DIDL control symbol set in which the first symbol is a COM symbol (K28.5) and the second symbol is a DIDL0 symbol (K28.6), and the first symbol Is a COM symbol (K28.5), and a LIDL control symbol set in which the second symbol is a DIDL1 symbol (D12.2) is defined.
- the encoding symbol (binary number) “Current RD-” is “0011110110”, and “Current RD +” is “11100001001”.
- the DIDL0 symbol (K28.6) is an unbalance symbol of a symbol type in which the numbers of “0” and “1” are different, and therefore the next running disparity is inverted.
- the encoding symbol (binary number) “Current RD-” is “0011010101” and “Current RD +” is “1100101010”.
- the DIDL1 symbol (D12.2) is a Balanced symbol having the same number of “0” and “1”, and therefore does not invert the next running disparity.
- FIG. 22 is a diagram illustrating an output switching rule of the loopback selector before and after transition to the loopback mode in a case where the control is performed (for example, the control symbol set of FIG. 21).
- DIDL symbols When a symbol type having different numbers of “0” and “1” and a symbol type having the same number of “0” and “1” are defined as DIDL symbols in the DIDL control symbol set (for example, the control in FIG. 21).
- the above (rule A) to (rule C) can be used as the rule for switching the output of the loopback selector before and after the normal mode recovery in the symbol set.
- the symbol type replacement in (Rule C) is performed for DIDL symbols input via the loopback path.
- Each component of the node device of the above-described embodiment and modification may be realized by an LSI which is an integrated circuit. At this time, each component may be individually made into one chip, or may be made into one chip so as to include a part or all of them. Further, although it is referred to as LSI here, it may be referred to as IC, system LSI, super LSI, or ultra LSI depending on the degree of integration. Further, the method of circuit integration is not limited to LSI, and implementation with a dedicated circuit or a general-purpose processor is also possible. Further, the method of circuit integration is not limited to LSI, but may be realized by a dedicated circuit or a general-purpose processor.
- An FPGA Field Programmable Gate Array
- a reconfigurable processor that can reconfigure the connection and setting of the circuit cells inside the LSI may be used. Furthermore, if integrated circuit technology comes out to replace LSI's as a result of the advancement of semiconductor technology or a derivative other technology, it is naturally also possible to carry out function block integration using this technology.
- the present invention performs relay processing with reduced processing overhead while maintaining reliability of data transfer related to packet transmission / reception when performing packet transmission / reception between a plurality of node devices ring-connected via a serial link.
- a node device, an integrated circuit, and a control method can be provided and are useful.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
以下、本発明の実施の形態について、図面を参照しつつ説明する。
図1は、本発明の実施の形態に係るリング伝送システムの全体構成図である。
以下、図1のノード装置100a~100d間で送受信されるパケットのパケットフォーマットについて、図2及び図3(a)~(e)を参照しつつ説明する。
以下、図1のノード装置100a~100dが用いる8b/10b方式の特殊シンボルについて、図4を参照しつつ説明する。図4は、図1のノード装置100a~100dが用いる8b/10b方式の特殊シンボルの機能割当の一例を示す図である。
上記の制御シンボルセットの内、SDB、SOP、EOP、EDBは、フレーミングシンボルセットであり、図2及び図3(a)~(e)に示した各種パケットの先頭と末尾を識別するためのパケットフレーミングに用いられる。
次に、図1のノード装置100a~100dの構成について図7を参照しつつ説明する。図7は、図1のノード装置100a~100d(ノード装置700)の構成図である。
PHY701は、シリアル受信部(Rx)710と、復号化部711と、符号化部712と、ループバックセレクタ713と、シリアル送信部(Tx)714とを備える。シリアル受信部710は図1のシリアル受信部105a~105dに相当し、シリアル送信部714は図1のシリアル送信部104a~104dに相当する。
リンクコントローラ702は、シンボル検知部751と、バイパス制御部752と、パケット受信部753と、パケット送信部754と、バイパスセレクタ755と、シンボル生成部756と、ループバック制御部757とを備える。
以下、図1のリング伝送システムにおけるマスタのノード装置(マスタ装置)100aとスレーブのノード装置(スレーブ装置)100b~100dとの夫々の動作について図8~図10を参照しつつ説明する。但し、図8は、図1のマスタ装置100aの動作の流れを示すフローチャートであり、図9及び図10は図1のスレーブ装置100b~100dの動作の流れを示すフローチャートである。なお、以下では、説明の便宜上、図8のフローチャートと、図9のフローチャートとを適宜まとめて説明する。
以下では、図1に示すリング伝送システムの全体動作について、図16及び図17を参照しつつ説明する。
まず、図16に示した書込みのデータコマンドに関する図1のリング転送システムの全体動作について説明する。
ノード装置100a~100dは、パケットギャップにおいて、第2のアイドルフレームであるLIDLの制御シンボルセットの送信を繰り返して行っている。ノード装置100aは、データコマンド送信ステップにある時刻T1において、ノード装置100c宛に、書込みのデータコマンドパケット(DCMD)を送信する。このデータコマンドパケットはシリアルリンク101aを介してノード装置100bに入力される。なお、データコマンドパケット送信後はパケットギャップであるので、ノード装置100aはLIDLの制御シンボルセットの送信を繰り返す。
データ送信側判定ステップにおいて、レスポンスパケットを受信したノード装置100aは自装置がデータバーストの送信側であると判定し、通信相手のノード装置100cは自装置がデータバーストの送信側でない(自装置がデータバーストの受信側である)と判定する。
送信応答を示すフロー制御レディのメッセージパケットを受信したノード装置100aは、データバースト送信ステップにおいて、時刻T3からデータバーストの送信を開始する。このデータバーストはシリアルリンク101aを介してノード装置100bに入力される。なお、データバーストの送信完了後はポストギャップであるので、ノード装置100aは、DIDLの制御シンボルセットの送信を繰り返す。
ノード装置100cは、データバーストの受信を完了すると、ステータス通知ステップにおいて、その受信エラーを通知するため、ノード装置100a宛にステータス(STAT)のメッセージパケットを時刻T4に送信する。このステータスのメッセージパケットはシリアルリンク101cを介してノード装置100dに入力される。なお、ステータスのメッセージパケット送信後はパケットギャップであるので、ノード装置100cは、LIDLの制御シンボルセットの送信を繰り返す。
ステータス通知待ちステップにあるノード装置100aは、ステータスのメッセージパケットを受信し、ステータスのメッセージパケットを受信した時刻T5においてポストギャップを完了し、DIDLの制御シンボルセットの送信から通常のパケットギャップのLIDLの制御シンボルセットの送信に切替える。
ノード装置100aは、コマンド完了判定ステップにおいて、データコマンドで指定した転送サイズ分のデータ転送が完了したと判定するまで、再び送信要求ステップに戻って時刻T2からの処理を繰り返す。
次に、図17に示した読出しのデータコマンドに関する図1のリング転送システムの全体動作について説明する。
時刻T1~時刻T2におけるリング伝送システムにおける動作は、書込みのコマンドが読出しのコマンドに変わった点を除くと、本発明に関連する部分では同様の動作となる。
データ送信側判定ステップにおいて、レスポンスパケットを受信したノード装置100aは自装置がデータ送信側でない(自装置がデータ受信側である)と判定し、通信相手のノード装置100cは自装置がデータ送信側であると判定する。
送信応答を示すフロー制御レディのメッセージパケットを受信したノード装置100cは、データバースト送信ステップにおいて、時刻T3からデータバーストの送信を開始する。このデータバーストはシリアルリンク101cを介してノード装置100dに入力される。なお、データバーストの送信完了後はポストギャップであるので、ノード装置100cは、DIDLの制御シンボルセットの送信を繰り返す。
ノード装置100aは、データバーストの受信を完了すると、ステータス通知ステップにおいて、その受信エラーを通知するため、ノード装置100c宛に、ステータス(STAT)のメッセージパケットを時刻T4に送信する。このステータスのメッセージパケットはシリアルリンク101aを介してノード装置100bに入力される。なお、ステータスのメッセージパケット送信後はパケットギャップであるので、ノード装置100aは、LIDLの制御シンボルセットの送信を繰り返す。
ステータス通知待ちステップにあるノード装置100cは、ステータスのメッセージパケットを受信し、ステータスのメッセージパケットを受信した時刻T5においてポストギャップを完了し、DIDLの制御シンボルセットの送信から通常のパケットギャップのLIDLの制御シンボルセットの送信に切替える。
ノード装置100cは、コマンド完了判定ステップにおいて、データコマンドで指定された転送サイズ分のデータ転送が完了したと判定するまで、再び送信要求ステップに戻って時刻T2からの処理を繰り返す。
本発明は上記の実施の形態で説明した内容に限定されず、本発明の目的とそれに関連又は付随する目的を達成するためのいかなる形態においても実施可能であり、例えば、以下であってもよい。
COM+→LIDL0-→COM+→LIDL0-→COM+→LIDL1-→COM-→LIDL1+→COM+→LIDL0-→COM+→LIDL0-→
のように、LIDL0シンボルの前後ではCOMシンボルのランニング・ディスパリティは維持され、LIDL1シンボルの前後ではCOMシンボルのランニング・ディスパリティは反転する。
COM+→DIDL0-→COM+→DIDL0-→COM+→DIDL1-→COM-→DIDL1+→COM+→DIDL0-→COM+→DIDL0-→
のように、DIDL0シンボルの前後ではCOMシンボルのランニング・ディスパリティは維持され、DIDL1シンボルの前後ではCOMシンボルのランニング・ディスパリティは反転する。
701 PHY
702 リンクコントローラ
710 シリアル受信部
711 復号化部
712 符号化部
713 ループバックセレクタ
714 シリアル受信部
720 レシーバ
721 デシリアライザ
725 シリアライザ
726 ドライバ
751 シンボル検知部
752 バイパス制御部
753 パケット受信部
754 パケット送信部
755 バイパスセレクタ
756 シンボル生成部
757 ループバック制御部
758 バイパス経路
Claims (16)
- シリアルリンクを介して複数のノード装置がリング状に接続されたリング伝送システムにおけるノード装置において、
宛先情報を含むパケットの送受信及び中継処理を行うリンクコントローラと、
前記シリアルリンクを介して入出力するシリアルデータと前記リンクコントローラが扱うパラレルデータとの間の相互変換を行う通常モードと、前段側のシリアルリンクを介して入力されるシリアルデータを前記リンクコントローラに受け渡す前に折り返して後段側のシリアルリンクに出力するループバックモードとの通信モードを切替えて動作を行うPHYと、
を備え、
前記リンクコントローラは、
前記PHYに対し、送信要求パケットからデータパケットまでのプレギャップにおいて、シンボル同期を維持するためのアイドルフレームの送信指示を行うシンボル生成部と、
前記PHYに対し、前記通常モードにて他装置宛の送信要求パケットの中継処理後の前記プレギャップにおいて、他装置宛のデータパケットを折り返して出力するために、前記通常モードから前記ループバックモードに移行させるための移行指示を行うループバック制御部と、
を備え、
前記PHYは、
前記通常モードにて前記シンボル生成部の送信指示に基づいて前記アイドルフレームを前記後段側のシリアルリンクに出力し、
前記移行指示に基づき、前記通常モードにて前記後段側のシリアルリンクに出力する前記送信指示に基づくアイドルフレームと前記ループバックモードにて前記後段側のシリアルリンクに折り返して出力する前段のノード装置からのアイドルフレームとの間でシンボル同期が維持されるタイミングで前記通常モードから前記ループバックモードに移行し、
前記ループバックモードにて前記前段のノード装置からのアイドルフレームを折り返して前記後段側のシリアルリンクに出力し、
前記ループバックモードにて他装置宛のデータパケットの中継処理を行う
ことを特徴とするノード装置。 - 前記リンクコントローラは、
前記アイドルフレームの送信指示として、8b/10b方式におけるシンボル同期のためのコンマシンボルで始まり、アイドルシンボルを含む制御シンボルセットに係るデータ列を前記PHYに受け渡し、
前記PHYは、
前記通常モードにおける前記アイドルフレームの出力を、前記制御シンボルセットに係るデータ列を8b/10b方式に基づく符号化を行うことによって行い、
前記移行指示に基づく前記通常モードから前記ループバックモードへの移行を、前記通常モードにて前記後段側のシリアルリンクに出力する前記送信指示に基づくアイドルフレームと前記ループバックモードにて前記後段側のシリアルリンクに折り返して出力する前記前段のノード装置からのアイドルフレームとの間で、前記コンマシンボルの位置とランニング・ディスパリティとが一致するタイミングで行う
ことを特徴とする請求項1記載のノード装置。 - 前記リンクコントローラは、
前記アイドルフレームの送信指示として、所定のワード長に複数のアイドルシンボルを束ねたデータ列を前記PHYに受け渡し、
前記PHYは、
前記通常モードにおける前記アイドルフレームの出力を、前記データ列を所定のスクランブル方式に基づいてスクランブル化し、前記所定のワード長毎の先頭にシンボル同期のための同期ヘッダを付加して符号化を行うことによって行い、
前記移行指示に基づく前記通常モードから前記ループバックモードへの移行を、前記通常モードにて前記後段側のシリアルリンクに出力する前記送信指示に基づくアイドルフレームと前記ループバックモードにて前記後段側のシリアルリンクに折り返して出力する前記前段のノード装置からのアイドルフレームとの間で、前記同期ヘッダの位置を合わせたタイミングで行う
ことを特徴とする請求項1記載のノード装置。 - 前記リンクコントローラは、
前記アイドルフレームの送信指示として、8b/10b方式におけるシンボル同期のためのコンマシンボルで始まり、アイドルシンボルを含む制御シンボルセットに係るデータ列を前記PHYに受け渡し、
前記PHYは、
前記制御シンボルセットに係るデータ列を8b/10b方式に基づく符号化を行うことによって前記通常モードにて前記後段側のシリアルリンクに出力する前記アイドルフレームを生成して出力する符号化部と、
前記通常モードでは前記符号化部が出力するアイドルフレームを選択して前記後段側のシリアルリンクに出力し、前記ループバックモードでは前記前段のノード装置からのアイドルフレームを選択して前記後段側のシリアルリンクに出力するループバックセレクタと、
を備え、
前記アイドルフレームのコンマシンボルには、“0”と“1”の数が異なるシンボルタイプのみがあり、
前記アイドルフレームのアイドルシンボルには、“0”と“1”の数が異なるシンボルタイプと、“0”と“1”の数が同じシンボルタイプとがあり、
前記ループバックセレクタは、
前記符号化部から入力されたコンマシンボルと、入力された前記前段のノード装置からのコンマシンボルとのランニング・ディスパリティが一致する場合には、ランニング・ディスパリティが一致するコンマシンボルの直後で前記通常モードから前記ループバックモードに移行するための出力の切替えを行い、
前記符号化部から入力されたコンマシンボルと、入力された前記前段のノード装置からのコンマシンボルとのランニング・ディスパリティが一致しない場合において、前記符号化部から入力された前記コンマシンボルの次のアイドルシンボルと入力された前記前段のノード装置からのコンマシンボルの次のアイドルシンボルとのシンボルタイプが一致しないときは、シンボルタイプが一致しないアイドルシンボルの直後で前記通常モードから前記ループバックモードに移行するための出力の切替えを行い、
前記符号化部から入力されたコンマシンボルと、入力された前記前段のノード装置からのコンマシンボルとのランニング・ディスパリティが一致しない場合において、前記符号化部から入力された前記コンマシンボルの次のアイドルシンボルと入力された前記前段のノード装置からのコンマシンボルの次のアイドルシンボルとのシンボルタイプが一致するときは、前記符号化部から入力された前記コンマシンボルの次のアイドルシンボルのランニング・ディスパリティをそのままでそのシンボルタイプをもう一方のシンボルタイプに置き換えて出力し、シンボルタイプが一致するアイドルシンボルの直後で前記通常モードから前記ループバックモードに移行するための出力の切替えを行う、
ことを特徴とする請求項1記載のノード装置。 - 前記リンクコントローラは、更に、
初期化時に前記PHYに対する省電力制御の有無を設定し、
前記シンボル制御部は、
前記プレギャップ前のパケットギャップにおいて、
前記省電力制御が有効に設定された場合、後段側のシリアルリンクを電気的アイドル状態とするための送信ディセーブル指示を行い、
前記省電力制御が無効に設定された場合、シンボル同期を維持するための他のアイドルフレームの送信指示を行う
ことを特徴とする請求項1記載のノード装置。 - シリアルリンクを介して複数のノード装置がリング状に接続されたリング伝送システムにおけるノード装置において、
宛先情報を含むパケットの送受信及び中継処理を行うリンクコントローラと、
前記シリアルリンクを介して入出力するシリアルデータと前記リンクコントローラが扱うパラレルデータとの間の相互変換を行う通常モードと、前段側のシリアルリンクを介して入力されるシリアルデータを前記リンクコントローラに受け渡す前に折り返して後段側のシリアルリンクに出力するループバックモードとの通信モードを切替えて動作を行うPHYと、
を備え、
前記リンクコントローラは、
前記PHYに対し、データパケット後のポストギャップにおいて、シンボル同期を維持するためのアイドルフレームの送信指示を行うシンボル生成部と、
前記PHYに対し、前記ループバックモードにて他装置宛のデータパケットの折り返し出力後の前記ポストギャップにおいて、前記ループバックモードから前記通常モードに復旧させるための復旧指示を行うループバック制御部と、
を備え、
前記PHYは、
前記ループバックモードにて前記前段のノード装置からのアイドルフレームを折り返して前記後段側のシリアルリンクに出力し、
前記復旧指示に基づき、前記ループバックモードにて前記後段側のシリアルリンクに折り返して出力する前段のノード装置からのアイドルフレームと前記通常モードにて前記後段側のシリアルリンクに出力する前記送信指示に基づくアイドルフレームとの間でシンボル同期が維持されるタイミングで前記ループバックモードから前記通常モードに復旧し、
前記通常モードにて前記シンボル生成部の送信指示に基づいて前記アイドルフレームを前記後段側のシリアルリンクに出力する、
ことを特徴とするノード装置。 - 前記リンクコントローラは、
前記アイドルフレームの送信指示として、8b/10b方式におけるシンボル同期のためのコンマシンボルで始まり、アイドルシンボルを含む制御シンボルセットに係るデータ列を前記PHYに受け渡し、
前記PHYは、
前記通常モードにおける前記アイドルフレームの出力を、前記制御シンボルセットに係るデータ列を8b/10b方式に基づく符号化を行うことによって行い、
前記復旧指示に基づく前記ループバックモードから前記通常モードへの復旧を、前記ループバックモードにて前記後段側のシリアルリンクに折り返して出力する前記前段のノード装置からのアイドルフレームと前記通常モードにて前記後段側のシリアルリンクに出力する前記送信指示に基づくアイドルフレームとの間で、前記コンマシンボルの位置とランニング・ディスパリティとが一致するタイミングで行う
ことを特徴とする請求項6記載のノード装置。 - 前記リンクコントローラは、
前記アイドルフレームの送信指示として、所定のワード長に複数のアイドルシンボルを束ねたデータ列を前記PHYに受け渡し、
前記PHYは、
前記通常モードにおける前記アイドルフレームの出力を、前記データ列を所定のスクランブル方式に基づいてスクランブル化し、前記所定のワード長毎の先頭にシンボル同期のための同期ヘッダを付加して符号化を行うことによって行い、
前記復旧指示に基づく前記ループバックモードから前記通常モードへの復旧を、前記ループバックモードにて前記後段側のシリアルリンクに折り返して出力する前記前段のノード装置からのアイドルフレームと前記通常モードにて前記後段側のシリアルリンクに出力する前記送信指示に基づくアイドルフレームとの間で、前記同期ヘッダの位置を合わせたタイミングで行う
ことを特徴とする請求項6記載のノード装置。 - 前記リンクコントローラは、
前記アイドルフレームの送信指示として、8b/10b方式におけるシンボル同期のためのコンマシンボルで始まり、アイドルシンボルを含む制御シンボルセットに係るデータ列を前記PHYに受け渡し、
前記PHYは、
前記制御シンボルセットに係るデータ列を8b/10b方式に基づく符号化を行うことによって前記通常モードにて前記後段側のシリアルリンクに出力する前記アイドルフレームを生成して出力する符号化部と、
前記通常モードでは前記符号化部が出力するアイドルフレームを選択して前記後段側のシリアルリンクに出力し、前記ループバックモードでは前記前段のノード装置からのアイドルフレームを選択して前記後段側のシリアルリンクに出力するループバックセレクタと、
を備え、
前記アイドルフレームのコンマシンボルには、“0”と“1”の数が異なるシンボルタイプのみがあり、
前記アイドルフレームのアイドルシンボルには、“0”と“1”の数が異なるシンボルタイプと、“0”と“1”の数が同じシンボルタイプとがあり、
前記ループバックセレクタは、
入力された前記前段のノード装置からのコンマシンボルと、前記符号化部から入力されたコンマシンボルとのランニング・ディスパリティが一致する場合には、ランニング・ディスパリティが一致するコンマシンボルの直後で前記ループバックモードから前記通常モードに復旧するための出力の切替えを行い、
入力された前記前段のノード装置からのコンマシンボルと、前記符号化部から入力されたコンマシンボルとのランニング・ディスパリティが一致しない場合において、入力された前記前段のノード装置からのコンマシンボルの次のアイドルシンボルと、前記符号化部から入力された前記コンマシンボルの次のアイドルシンボルとのシンボルタイプが一致しないときは、シンボルタイプが一致しないアイドルシンボルの直後で前記ループバックモードから前記通常モードに復旧するための出力の切替えを行い、
入力された前記前段のノード装置からのコンマシンボルと、前記符号化部から入力されたコンマシンボルとのランニング・ディスパリティが一致しない場合において、入力された前記前段のノード装置からのコンマシンボルの次のアイドルシンボルと、前記符号化部から入力された前記コンマシンボルの次のアイドルシンボルとのシンボルタイプが一致するときは、入力された前記前段のノード装置からのコンマシンボルの次のアイドルシンボルのランニング・ディスパリティをそのままでそのシンボルタイプをもう一方のシンボルタイプに置き換えて出力し、シンボルタイプが一致するアイドルシンボルの直後で前記ループバックモードから前記通常モードに復旧するための出力の切替えを行う、
ことを特徴とする請求項6記載のノード装置。 - 前記リンクコントローラは、更に、
初期化時に前記PHYに対する省電力制御の有無を設定し、
前記シンボル制御部は、
前記ポストギャップ後のパケットギャップにおいて、
前記省電力制御が有効に設定された場合、後段側のシリアルリンクを電気的アイドル状態とするための送信ディセーブル指示を行い、
前記省電力制御が無効に設定された場合、シンボル同期を維持するための他のアイドルフレームの送信指示を行う
ことを特徴とする請求項6記載のノード装置。 - 前記リンクコントローラは、
前記PHYに対して、前段側のシリアルリンクの電気的アイドル状態又は他のアイドルフレームを検出するまで、前記アイドルフレームの送信指示に基づく前記アイドルフレームの前記後段側のシリアルリンクへの出力を継続して行わせる
ことを特徴とする請求項10記載のノード装置。 - 前記リンクコントローラは、
前記ループバックモードにて他装置宛のデータパケットの折り返し出力しているときに、当該データパケットの終端シンボルを検出すると前記復旧指示を行い、当該終端シンボルを検出する前に前段側のシリアルリンクの電気的アイドル状態又は他のアイドルフレームを検出すると前記復旧指示を行う
ことを特徴とする請求項10記載のノード装置。 - シリアルリンクを介して複数の集積回路がリング状に接続されたリング伝送システムにおける集積回路において、
宛先情報を含むパケットの送受信及び中継処理を行うリンクコントローラと、
前記シリアルリンクを介して入出力するシリアルデータと前記リンクコントローラが扱うパラレルデータとの間の相互変換を行う通常モードと、前段側のシリアルリンクを介して入力されるシリアルデータを前記リンクコントローラに受け渡す前に折り返して後段側のシリアルリンクに出力するループバックモードとの通信モードを切替えて動作を行うPHYと、
を備え、
前記リンクコントローラは、
前記PHYに対し、送信要求パケットからデータパケットまでのプレギャップにおいて、シンボル同期を維持するためのアイドルフレームの送信指示を行うシンボル生成部と、
前記PHYに対し、前記通常モードにて他装置宛の送信要求パケットの中継処理後の前記プレギャップにおいて、他装置宛のデータパケットを折り返して出力するために、前記通常モードから前記ループバックモードに移行させるための移行指示を行うループバック制御部と、
を備え、
前記PHYは、
前記通常モードにて前記シンボル生成部の送信指示に基づいて前記アイドルフレームを前記後段側のシリアルリンクに出力し、
前記移行指示に基づき、前記通常モードにて前記後段側のシリアルリンクに出力する前記送信指示に基づくアイドルフレームと前記ループバックモードにて前記後段側のシリアルリンクに折り返して出力する前段の集積回路からのアイドルフレームとの間でシンボル同期が維持されるタイミングで前記通常モードから前記ループバックモードに移行し、
前記ループバックモードにて前記前段の集積回路からのアイドルフレームを折り返して前記後段側のシリアルリンクに出力し、
前記ループバックモードにて他装置宛のデータパケットの中継処理を行う
ことを特徴とする集積回路。 - シリアルリンクを介して複数の集積回路がリング状に接続されたリング伝送システムにおける集積回路において、
宛先情報を含むパケットの送受信及び中継処理を行うリンクコントローラと、
前記シリアルリンクを介して入出力するシリアルデータと前記リンクコントローラが扱うパラレルデータとの間の相互変換を行う通常モードと、前段側のシリアルリンクを介して入力されるシリアルデータを前記リンクコントローラに受け渡す前に折り返して後段側のシリアルリンクに出力するループバックモードとの通信モードを切替えて動作を行うPHYと、
を備え、
前記リンクコントローラは、
前記PHYに対し、データパケット後のポストギャップにおいて、シンボル同期を維持するためのアイドルフレームの送信指示を行うシンボル生成部と、
前記PHYに対し、前記ループバックモードにて他装置宛のデータパケットの折り返し出力後の前記ポストギャップにおいて、前記ループバックモードから前記通常モードに復旧させるための復旧指示を行うループバック制御部と、
を備え、
前記PHYは、
前記ループバックモードにて前記前段の集積回路からのアイドルフレームを折り返して前記後段側のシリアルリンクに出力し、
前記復旧指示に基づき、前記ループバックモードにて前記後段側のシリアルリンクに折り返して出力する前段の集積回路からのアイドルフレームと前記通常モードにて前記後段側のシリアルリンクに出力する前記送信指示に基づくアイドルフレームとの間でシンボル同期が維持されるタイミングで前記ループバックモードから前記通常モードに復旧し、
前記通常モードにて前記シンボル生成部の送信指示に基づいて前記アイドルフレームを前記後段側のシリアルリンクに出力する、
ことを特徴とする集積回路。 - シリアルリンクを介して複数のノード装置がリング状に接続されたリング伝送システムにおけるノード装置を制御する制御方法であって、
前記ノード装置は、
宛先情報を含むパケットの送受信及び中継処理を行うリンクコントローラと、
前記シリアルリンクを介して入出力するシリアルデータと前記リンクコントローラが扱うパラレルデータとの間の相互変換を行う通常モードと、前段側のシリアルリンクを介して入力されるシリアルデータを前記リンクコントローラに受け渡す前に折り返して後段側のシリアルリンクに出力するループバックモードとの通信モードを切替えて動作を行うPHYと、
を備え、
前記リンクコントローラは、
前記PHYに対し、送信要求パケットからデータパケットまでのプレギャップにおいて、シンボル同期を維持するためのアイドルフレームの送信指示を行うシンボル生成ステップと、
前記PHYに対し、前記通常モードにて他装置宛の送信要求パケットの中継処理後の前記プレギャップにおいて、他装置宛のデータパケットを折り返して出力するために、前記通常モードから前記ループバックモードに移行させるための移行指示を行うループバック制御ステップと、
を備え、
前記PHYは、
前記通常モードにて前記シンボル生成ステップにおける送信指示に基づいて前記アイドルフレームを前記後段側のシリアルリンクに出力し、
前記移行指示に基づき、前記通常モードにて前記後段側のシリアルリンクに出力する前記送信指示に基づくアイドルフレームと前記ループバックモードにて前記後段側のシリアルリンクに折り返して出力する前段のノード装置からのアイドルフレームとの間でシンボル同期が維持されるタイミングで前記通常モードから前記ループバックモードに移行し、
前記ループバックモードにて前記前段のノード装置からのアイドルフレームを折り返して前記後段側のシリアルリンクに出力し、
前記ループバックモードにて他装置宛のデータパケットの中継処理を行う
ことを特徴とする制御方法。 - シリアルリンクを介して複数のノード装置がリング状に接続されたリング伝送システムにおけるノード装置を制御する制御方法であって、
前記ノード装置は、
宛先情報を含むパケットの送受信及び中継処理を行うリンクコントローラと、
前記シリアルリンクを介して入出力するシリアルデータと前記リンクコントローラが扱うパラレルデータとの間の相互変換を行う通常モードと、前段側のシリアルリンクを介して入力されるシリアルデータを前記リンクコントローラに受け渡す前に折り返して後段側のシリアルリンクに出力するループバックモードとの通信モードを切替えて動作を行うPHYと、
を備え、
前記リンクコントローラは、
前記PHYに対し、データパケット後のポストギャップにおいて、シンボル同期を維持するためのアイドルフレームの送信指示を行うシンボル生成ステップと、
前記PHYに対し、前記ループバックモードにて他装置宛のデータパケットの折り返し出力後の前記ポストギャップにおいて、前記ループバックモードから前記通常モードに復旧させるための復旧指示を行うループバック制御ステップと、
を備え、
前記PHYは、
前記ループバックモードにて前記前段のノード装置からのアイドルフレームを折り返して前記後段側のシリアルリンクに出力し、
前記復旧指示に基づき、前記ループバックモードにて前記後段側のシリアルリンクに折り返して出力する前段のノード装置からのアイドルフレームと前記通常モードにて前記後段側のシリアルリンクに出力する前記送信指示に基づくアイドルフレームとの間でシンボル同期が維持されるタイミングで前記ループバックモードから前記通常モードに復旧し、
前記通常モードにて前記シンボル生成ステップにおける送信指示に基づいて前記アイドルフレームを前記後段側のシリアルリンクに出力する、
ことを特徴とする制御方法。
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201180002982.2A CN102474438B (zh) | 2010-05-27 | 2011-05-24 | 环状传输系统中的节点装置、集成电路及控制方法 |
EP11786324.1A EP2579513B1 (en) | 2010-05-27 | 2011-05-24 | Node device, integrated circuit and control method in ring transmission system |
US13/386,756 US8660125B2 (en) | 2010-05-27 | 2011-05-24 | Node device, integrated circuit and control method in ring transmission system |
JP2012517135A JP5696308B2 (ja) | 2010-05-27 | 2011-05-24 | リング伝送システムにおけるノード装置、集積回路及び制御方法 |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010-121091 | 2010-05-27 | ||
JP2010121091 | 2010-05-27 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2011148621A1 true WO2011148621A1 (ja) | 2011-12-01 |
Family
ID=45003621
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2011/002892 WO2011148621A1 (ja) | 2010-05-27 | 2011-05-24 | リング伝送システムにおけるノード装置、集積回路及び制御方法 |
Country Status (5)
Country | Link |
---|---|
US (1) | US8660125B2 (ja) |
EP (1) | EP2579513B1 (ja) |
JP (1) | JP5696308B2 (ja) |
CN (1) | CN102474438B (ja) |
WO (1) | WO2011148621A1 (ja) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8825054B2 (en) * | 2011-12-06 | 2014-09-02 | Qualcomm Incorporated | Apparatus and methods for performing handover of user equipment between different radio access networks |
US20150128117A1 (en) * | 2013-11-07 | 2015-05-07 | Netronome Systems, Inc. | Linker that statically allocates non-memory resources at link time |
US20150222384A1 (en) * | 2014-02-03 | 2015-08-06 | Valens Semiconductor Ltd. | Changing receiver configuration by replacing certain idle words with bitwise complement words |
CN106302261B (zh) * | 2016-08-02 | 2019-09-17 | 青岛海信电器股份有限公司 | 一种控制命令转发的方法和装置 |
DE102016125128B3 (de) * | 2016-12-21 | 2018-03-29 | Beckhoff Automation Gmbh | Datenübertragungsverfahren, Kommunikationsnetzwerk und Master-Teilnehmer |
JP6984199B2 (ja) * | 2017-07-07 | 2021-12-17 | オムロン株式会社 | 制御システム、および、制御方法 |
CN112019239B (zh) * | 2019-05-30 | 2021-11-19 | 华为技术有限公司 | 传输数据的方法、节点和存储介质 |
US12008259B1 (en) * | 2021-09-29 | 2024-06-11 | Ethernovia Inc. | Data processing and transmission using hardware serialization and deserialization functions |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06209326A (ja) * | 1992-07-10 | 1994-07-26 | Alcatel Nv | 少なくとも1つのリングを含むローカルエリアネットワークにステーションを接続するためのデバイス |
JP2005065216A (ja) * | 2003-07-29 | 2005-03-10 | Matsushita Electric Ind Co Ltd | データ伝送方法、データ伝送システム、およびデータ伝送装置 |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020154633A1 (en) * | 2000-11-22 | 2002-10-24 | Yeshik Shin | Communications architecture for storage-based devices |
JP3606229B2 (ja) * | 2001-05-30 | 2005-01-05 | 日本電気株式会社 | プロテクション方式、レイヤ2機能ブロック、ノードおよびリングネットワーク |
US7260059B2 (en) * | 2001-06-28 | 2007-08-21 | Telecommunications Research Laboratories | Evolution of a telecommunications network from ring to mesh structure |
GB2384405B (en) * | 2002-01-19 | 2004-10-06 | Ibm | Method and apparatus for detection of port name in a loop network |
US20070143328A1 (en) * | 2002-07-10 | 2007-06-21 | Sonic Solutions | Method and apparatus for formatting and initialization of an optical media |
US20050027876A1 (en) * | 2003-07-29 | 2005-02-03 | Toshitomo Umei | Data transmission method, data transmission system, and data transmission apparatus |
US8050183B2 (en) * | 2005-05-06 | 2011-11-01 | Cisco Technology, Inc. | System and method for implementing reflector ports within hierarchical networks |
US7652992B2 (en) * | 2005-06-06 | 2010-01-26 | Fujitsu Limited | Two tier traffic shaper approach for resilient packet ring stations |
CN101043267B (zh) * | 2006-03-24 | 2010-05-12 | 上海交通大学 | 弹性光突发环的保护与恢复方法及其装置 |
DE112006003943T5 (de) * | 2006-06-30 | 2009-08-20 | Mitsubishi Electric Corp. | Kommunikationsknoten und Ringkonfigurierungsverfahren und Ringerstellungsverfahren in Kommunikationssystem |
-
2011
- 2011-05-24 WO PCT/JP2011/002892 patent/WO2011148621A1/ja active Application Filing
- 2011-05-24 CN CN201180002982.2A patent/CN102474438B/zh not_active Expired - Fee Related
- 2011-05-24 EP EP11786324.1A patent/EP2579513B1/en active Active
- 2011-05-24 JP JP2012517135A patent/JP5696308B2/ja active Active
- 2011-05-24 US US13/386,756 patent/US8660125B2/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06209326A (ja) * | 1992-07-10 | 1994-07-26 | Alcatel Nv | 少なくとも1つのリングを含むローカルエリアネットワークにステーションを接続するためのデバイス |
JP2005065216A (ja) * | 2003-07-29 | 2005-03-10 | Matsushita Electric Ind Co Ltd | データ伝送方法、データ伝送システム、およびデータ伝送装置 |
Non-Patent Citations (1)
Title |
---|
See also references of EP2579513A4 * |
Also Published As
Publication number | Publication date |
---|---|
EP2579513A4 (en) | 2015-04-08 |
EP2579513B1 (en) | 2017-03-15 |
CN102474438B (zh) | 2015-01-28 |
EP2579513A1 (en) | 2013-04-10 |
US8660125B2 (en) | 2014-02-25 |
JPWO2011148621A1 (ja) | 2013-07-25 |
CN102474438A (zh) | 2012-05-23 |
JP5696308B2 (ja) | 2015-04-08 |
US20120120960A1 (en) | 2012-05-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5696308B2 (ja) | リング伝送システムにおけるノード装置、集積回路及び制御方法 | |
US7751442B2 (en) | Serial ethernet device-to-device interconnection | |
US7415013B1 (en) | Reduced pin gigabit media independent interface | |
US4567590A (en) | Message stripping protocol for a ring communication network | |
US8103869B2 (en) | Distributed (modular) internal architecture | |
US8903000B2 (en) | Transmission circuit, reception circuit, transmission method, reception method, communication system and communication method therefor | |
JP2002135359A (ja) | 装置状態制御回路、及び装置状態制御方法 | |
US10366039B2 (en) | USB link bridge | |
CN114442514B (zh) | 一种基于fpga的usb3.0/3.1控制系统 | |
JP4815559B2 (ja) | 同期受信機 | |
EP1668832B1 (en) | Scalable device-to-device interconnection | |
US20030016758A1 (en) | Universal interface to external transceiver | |
JP2011114625A (ja) | 通信システムおよび通信装置 | |
US8576704B2 (en) | Communication system, communication device, integrated circuit, and communication method | |
JP5439006B2 (ja) | 半2重−全2重変換装置 | |
JP2012104868A (ja) | 通信システム、通信装置およびその通信方法 | |
CN115277299A (zh) | 一种适用于级联型变换器拓扑的同步环路通信系统 | |
KR100270703B1 (ko) | 랜 패킷용 버스 프로토콜 및 핸드쉐이킹을 위한 이더넷 패킷송수신 방법 및 장치 | |
JP2003298609A (ja) | 電源断通知方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WWE | Wipo information: entry into national phase |
Ref document number: 201180002982.2 Country of ref document: CN |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2012517135 Country of ref document: JP |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 11786324 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 13386756 Country of ref document: US |
|
REEP | Request for entry into the european phase |
Ref document number: 2011786324 Country of ref document: EP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2011786324 Country of ref document: EP |
|
NENP | Non-entry into the national phase |
Ref country code: DE |