Communication device and communication system

By using PHY and LINK modules for error correction and error information processing in the TDD communication system between vehicle-mounted devices, the OAM unit aggregates error information, solving the problem of extended error information reading time in traditional systems and achieving efficient information processing. transmission.

CN118679696APending Publication Date: 2024-09-20SONY SEMICON SOLUTIONS CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380021062.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-02-15
Filing Date
2023-02-17
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

In traditional time division duplex (TDD) communication systems between on-board devices, error information stored in multiple registers cannot be read centrally, resulting in extended reading time and the inability to transmit other information during the reading period.

Method used

A communication device and system are designed. By alternately sending and receiving information within the period of TDD communication mode, the PHY and LINK modules are used for error correction and error information processing. The OAM unit aggregates the error information and includes it in the transmission signal. Achieve efficient reading and transmission of error information.

Benefits of technology

It achieves fast reading and transmission of multiple pieces of error information, reduces reading time, improves communication efficiency, and avoids interruption of information transmission during reading.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118679696A_ABST
    Figure CN118679696A_ABST
Patent Text Reader

Abstract

[Problem] To enable efficient reading of a plurality of error information items. [Solution] This communication device, which alternately transmits and receives information to and from a communication partner device in a period allocated in a TDD communication system, is provided with: a PHY that receives a first transmission signal based on a predetermined communication protocol from the communication partner device, performs error correction on a plurality of first packets included in the first transmission signal, and performs error correction on a plurality of second packets included in the communication partner device; a second transmission signal to be transmitted to the communication partner device is transmitted to the communication partner device; a LINK separating the plurality of first packets, collecting a plurality of second packets included in a second transmission signal, and transmitting the resulting packets to the PHY; a plurality of decoders for decoding the plurality of first packets; and a plurality of encoders for generating a plurality of second packets. The PHY has: an error information storage unit for storing error information on the plurality of decoders and the plurality of encoders; and an operation, management and maintenance (OAM) unit for including error information in one of the plurality of second packets.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to a communication device and a communication system. Background Art

[0002] A technology for high-speed serial communication between a plurality of devices has been proposed (Patent Document 1). Such high-speed serial communication is used in various fields and is used, for example, for communication between in-vehicle devices.

[0003] Citation List

[0004] Patent Literature

[0005] Patent Document 1: Japanese Patent Application Publication No. 2011-239011 Summary of the invention

[0006] Problems to be solved by the present invention

[0007] With the development of autonomous driving technology and electronic technology, the demand for high-speed communication between in-vehicle devices is increasing. The Automotive SerDes Alliance (ASA) envisions high-speed serial communication between root devices and leaf devices connected to cables through time division duplex (TDD) communication.

[0008] In the ASA standard specification V1.01, up to 126 encoders and decoders can be provided in a leaf device, and these encoders and decoders encode or decode up to 63 types of application packets. Error information generated when each encoder or decoder encodes or decodes an application packet is stored in, for example, a plurality of registers.

[0009] However, in conventional communication systems, error information stored in a plurality of registers cannot be read collectively, but needs to be read multiple times. Thus, there is a problem that it takes time to read the error information stored in all registers, and other information cannot be transmitted during the reading time.

[0010] Thus, the present disclosure provides a communication device and a communication system capable of efficiently reading a plurality of pieces of error information.

[0011] Solution to the problem

[0012] In order to solve the above problems, according to the present disclosure, there is provided a communication device for alternately sending information to and receiving information from a communication partner device in a time period allocated by a time division duplex (TDD) communication mode, the communication device comprising:

[0013] a PHY configured to receive a first transmission signal conforming to a predetermined communication protocol from a communication partner device, perform error correction on a plurality of first packets included in the first transmission signal, and transmit a second transmission signal to be transmitted to the communication partner device to the communication partner device;

[0014] LINK, the LINK being configured to separate the plurality of first packets, aggregate the plurality of second packets included in the second transmission signal, and send the aggregated second packets to the PHY;

[0015] a plurality of decoders, the plurality of decoders being configured to decode the plurality of first packets; and

[0016] A plurality of encoders, the plurality of encoders being configured to generate a plurality of second packets, wherein

[0017] The PHY includes:

[0018] an error information storage unit configured to store error information about each of the plurality of decoders and the plurality of encoders, and

[0019] An operations, administration, and maintenance (OAM) unit is configured to include error information in a second packet among the plurality of second packets.

[0020] The error information storage unit may store error information in which whether each of the plurality of decoders and the plurality of encoders has caused an error is indicated by one bit.

[0021] The error information stored in the error information storage unit may include error information about each of a decoder and an encoder included in the OAM unit.

[0022] The PHY may perform error correction on the plurality of first packets included in the first transmission signal.

[0023] The LINK may generate a second packet including uncorrectable error information indicating that the PHY failed to correctly perform error correction, and

[0024] The error information may include reception time information of the first and second uncorrectable first packets in a transmission unit of the TDD communication mode, total number information of the uncorrectable first packets in the transmission unit, and identification information of the first and second uncorrectable first packets in the transmission unit.

[0025] The error information may include LINK error information.

[0026] LINK can include:

[0027] a first storage unit configured to store information indicating that there is no transmission destination information in the schedule table or that an abnormality has occurred in which the transmission destination itself does not exist,

[0028] a second storage unit configured to store information indicating a situation where there is no received data or an abnormality has occurred during a receiving operation, and

[0029] a third storage unit, the third storage unit being configured to store information indicating that part of the received data is lost, and

[0030] The error information of the LINK includes information stored in the first storage unit, the second storage unit, and the third storage unit.

[0031] The plurality of first packets may include at least one of an application packet or a first OAM packet, and

[0032] The second packet generated by the OAM unit may include a second OAM packet generated in response to reception of the first OAM packet.

[0033] The first OAM packet may include a first header and a first payload,

[0034] The first header or the first payload may include a request to send error information, and

[0035] In a case where the first OAM packet includes a transmission request of error information, the OAM unit may include the error information in the second OAM packet.

[0036] The second OAM packet may include a second header and a second payload,

[0037] A request to send error information may be included in the first header, and

[0038] In a case where the first header includes a transmission request of error information, the OAM unit may include the error information in a second header of the second OAM packet.

[0039] The second header may include mode selection information, and

[0040] In the case where the second header includes error information, the mode selection information may be set to a reserved bit of the OAM header of the ASA specification version 1.01.

[0041] The second OAM packet may include a second header and a second payload,

[0042] A request to send error information may be included in the first payload, and

[0043] In case the first payload includes a transmission request of error information, the OAM may include the error information in a second payload of the second OAM packet.

[0044] The error information storage unit may include a plurality of storage banks, the plurality of storage banks being configured to store error information generated in different transmission units in a TDD communication mode, and

[0045] In a case where a transmission request of error information of any one of a plurality of memory banks is included in the first OAM packet, the OAM unit may include error information of the corresponding memory bank in the second OAM packet.

[0046] The LINK may clear the error information of the memory banks other than the memory bank for which the transmission request is made in the first OAM packet from the error information storage unit.

[0047] The LINK may store the newly generated error information in at least one cleared memory bank in the error information storage unit for each transmission unit.

[0048] According to the present disclosure, there is provided a communication device for alternately sending information to and receiving information from a communication partner device in a time period allocated by a time division duplex (TDD) communication mode, the communication device comprising:

[0049] a PHY configured to receive a first transmission signal conforming to a predetermined communication protocol from a communication partner device and to perform error correction on a plurality of first packets included in the first transmission signal; and

[0050] LINK, LINK is configured to separate a plurality of first packets after error correction, and generate a second packet including uncorrectable error information of the first packets for which error correction is not performed correctly, wherein

[0051] The PHY sends a second transmission signal including a second packet to the communication partner device,

[0052] The plurality of first packets include a first OAM packet,

[0053] The second packet includes a second OAM packet,

[0054] The LINK includes a register including a plurality of memory banks for storing uncorrectable error information generated by different transmission units in a TDD communication mode, and

[0055] In a case where the first OAM packet includes a transmission request of uncorrectable error information of any one of a plurality of memory banks, the LINK includes the uncorrectable error information of the corresponding memory bank in the register in a second OAM packet.

[0056] The uncorrectable error information may include reception time information of the first uncorrectable error application packet in the transmission unit of the transmission signal, and total number information of the uncorrectable error application packets in the transmission unit.

[0057] The first OAM packet may include information specifying one memory bank among the plurality of memory banks, and address information of a register in which uncorrectable error information of the specified memory bank is stored, and

[0058] The address information in the first OAM packet may include first address information designating reception time information in the register, and second address information designating total number information in the register.

[0059] The uncorrectable error information may include reception time information of n (n is an integer of 1 or more) uncorrectable error application packets from the beginning in the transmission unit of the transmission signal, and total number information of the uncorrectable error application packets in the transmission unit,

[0060] The first OAM packet may include information specifying one memory bank among the plurality of memory banks, and address information of a register in which uncorrectable error information of the specified memory bank is stored, and

[0061] The address information in the first OAM packet may include n first address information specifying n reception time information in the register, and second address information specifying total number information in the register.

[0062] The uncorrectable error information may include reception time information of an application packet that is initially uncorrectable in a transmission unit of a transmission signal, total number information of application packets that are initially uncorrectable in a transmission unit, identification information of an application packet that is initially uncorrectable in a transmission unit of a transmission signal, and bit string information in which whether uncorrectable is assigned to each application packet in units of bits, the application packet being transmitted in the transmission unit.

[0063] The first OAM packet may include information specifying one memory bank among the plurality of memory banks, and address information of a register in which uncorrectable error information of the specified memory bank is stored, and

[0064] The address information in the first OAM packet may include first address information specifying reception time information in a register, second address information specifying total number information in a register, third address information specifying identification information in a register, and fourth address information specifying bit string information in a register.

[0065] According to the present disclosure, there is provided a communication device for alternately sending information to and receiving information from a communication partner device in a time period allocated by a time division duplex (TDD) communication mode, the communication device comprising:

[0066] LINK, LINK configured to generate a transmission packet including a plurality of first packets; and

[0067] The PHY is configured to generate a first transmission signal conforming to a predetermined communication protocol based on the transmission packet, send the first transmission signal to a communication partner device, and receive a second transmission signal from the communication partner device, wherein

[0068] The LINK includes an OAM unit configured to generate a first OAM packet for a communication partner device and extract error information from a second OAM packet sent by the communication partner device in response to the first OAM packet, the first OAM packet including a transmission request of error information of a plurality of decoders and a plurality of encoders included in the communication partner device, and

[0069] The plurality of first packets include application packets and first OAM packets.

[0070] According to the present disclosure, a communication system is provided, the communication system comprising:

[0071] a first communication device; and

[0072] a second communication device, the second communication device being configured to alternately send information to and receive information from the first communication device within a time period allocated by a time division duplex (TDD) communication method,

[0073] The first communication device comprises:

[0074] The PHY is configured to receive a first transmission signal conforming to a predetermined communication protocol from a second communication device, perform error correction on a plurality of first packets included in the first transmission signal, and transmit a second transmission signal to be transmitted to the second communication device to the second communication device,

[0075] LINK, the LINK being configured to separate the plurality of first packets, aggregate the plurality of second packets included in the second transmission signal, and send the aggregated second packets to the PHY,

[0076] a plurality of decoders, the plurality of decoders being configured to decode the plurality of first packets, and

[0077] a plurality of encoders, the plurality of encoders being configured to generate a plurality of second packets, and

[0078] The PHY includes:

[0079] an error information storage unit configured to store error information about each of the plurality of decoders and the plurality of encoders, and

[0080] An operations, administration, and maintenance (OAM) unit is configured to include error information in a second packet among the plurality of second packets. BRIEF DESCRIPTION OF THE DRAWINGS

[0081] Figure 1 is a block diagram illustrating the basic configuration of a communication system according to the present disclosure.

[0082] Figure 2 is a block diagram illustrating the internal structure of a root device.

[0083] Figure 3 It is a block diagram illustrating the internal structure of a leaf device.

[0084] Figure 4A is a diagram illustrating a hierarchy of application packets sent and received between a root device and leaf devices.

[0085] Figure 4B is a diagram illustrating a hierarchical structure of OAM packets transmitted and received between a root device and leaf devices.

[0086] Figure 5 The diagram shows Figure 1 Schematic diagram of processing operations when sending and receiving OAM packets in a communication system in FIG.

[0087] Figure 6 is a diagram illustrating an example in which the maximum number of CADs that an OAM packet can specify is 32.

[0088] Figure 7 is a table illustrating the transmission schedule in the root device (node1) and the leaf device (node2).

[0089] Figure 8 It is a flowchart illustrating a process in which node1 sends an OAM read (OAM Read) to node2 via an uplink.

[0090] Fig. 9 It is a flowchart illustrating the process of node2 sending an OAM return (OAM Return) to node1 through a downlink.

[0091] Fig.10 is a block diagram of a communication device according to the first embodiment.

[0092] Fig.11 The diagram illustrates the packet composition of the OAM read sent by node1 to node2 and the OAM return sent by node2 to node1.

[0093] Fig.12is a table illustrating the transmission schedule between node1 and node2 in the first embodiment.

[0094] Fig.13 is a table illustrating the composition of the extended OAM header according to the first embodiment.

[0095] Fig.14 It is a graphic description Fig.13 A table of variations of the extended OAM header in FIG.

[0096] Fig.15 is a diagram illustrating the composition of an OAM payload according to the second embodiment.

[0097] Fig.16 It is a diagram illustrating the packet configuration of an OAM extended read (OAM Extended Read) sent from node1 to node2 and an OAM extended return (OAM Extended Return) sent from node2 to node1.

[0098] Fig.17 is a table illustrating a transmission schedule according to the second embodiment.

[0099] Fig.18 is a table illustrating error information included in an OAM payload.

[0100] Fig.19 is by combining Fig.14 Similar DLL error status is added to Fig.18 The table obtained by error information in .

[0101] Fig. 20 is a diagram illustrating a first example of a defect caused by clearing of a PEnc status register (status Reg) [n:0] and a PDec status register [n:0].

[0102] Fig.21 is a diagram illustrating a second example of a defect caused by clearing of the PEnc status register [n:0] and the PDec status register [n:0].

[0103] Fig. 22 is a diagram illustrating the configuration of OAM reading in the first solution.

[0104] Fig.23 is a diagram illustrating the configuration of OAM extended read in the second solution.

[0105] Fig.24 is a diagram illustrating the structure of the DLL register (67) of the leaf device according to the third embodiment.

[0106] Fig.25 is a diagram illustrating a first example of data transfer between node1 and node2 by applying the third embodiment.

[0107] Fig.26 is a diagram illustrating a second example of data transfer between node1 and node2 by applying the third embodiment.

[0108] Fig. 27 is a diagram illustrating a third example of data transfer between node1 and node2 by applying the third embodiment.

[0109] Fig.28 is a diagram illustrating an example in which an OAM decoding error register (DEC ErrRegister) is provided for each bank.

[0110] Fig.29 is a diagram illustrating an example in which a first FEC error time register (FEC Err Time Register) and an FEC error count register (FEC Err Count Register) are set for each of bank #0 and bank #1 in the DLL register.

[0111] Fig.30 is a diagram illustrating an example in which a first FEC error time register, a first FEC error time register, a second FEC error time register, a third FEC error time register, and an FEC error count register are set in a DLL register for each of bank #0 and bank #1. DETAILED DESCRIPTION

[0112] In the following, embodiments of the communication device and the communication system will be described with reference to the accompanying drawings. Although the main components of the communication device and the communication system will be mainly described below, the communication device and the communication system may have components and functions that are not shown or described. The following description does not exclude components and functions that are not shown or described.

[0113] First, the basic configuration and operation of a communication device and a communication system according to the present disclosure will be described. Figure 1 It is a block diagram illustrating the basic configuration of a communication system (3) according to the present disclosure. Figure 1 The communication system (3) includes a root device (15) and a leaf device (115). Figure 2 is a block diagram illustrating the internal structure of the root device (15), Figure 3It is a block diagram illustrating the internal structure of the leaf device (115). The root device (15) and the leaf device (115) are connected via a cable (4) and can perform high-speed serial communication.

[0114] The root device (15) and the leaf device (115) communicate serially alternately through a TDD communication method that complies with ASA. In this specification, a path for sending information sent from the root device (15) to the leaf device (115) is called an uplink, and a path for sending information sent from the leaf device (115) to the root device (15) is called a downlink. The uplink and the downlink are virtually set in the same cable (4). The following describes an example in which the root device (15) is located at node1 and the leaf device (115) is located at node2.

[0115] The root device (15) includes an ECU (10), a packet encoder PEnc#1 (20) and a packet decoder PDec#1 (22) for Internet Integrated Circuit (I2C), a packet encoder PEnc#2 (30) and a packet decoder PDec#2 (32) for SPI, a packet encoder PEnc#3 (40) and a packet decoder PDec#3 (42) for GPIO, a DLL (56), a PhyL (100), a controller (16), and a timer (18). Note that the types of encoders and decoders of application packets set in the root device (15) are not limited to Figure 1 The type shown in the diagram.

[0116] The ECU (10) is an example of a master device. The ECU (10) controls the entire system and simultaneously receives and processes application signals such as video signals sent from the leaf device (115). The ECU (10) generates control signals for controlling each unit.

[0117] PEnc#1 (20), PEnc#2 (30) and PEnc#3 (40) perform encoding processing to encapsulate control signals from ECU (10). PDec#1 (22), PDec#2 (32) and PDec#3 (42) perform decoding processing to decode encapsulated application packets from leaf device (115) into original application signals.

[0118] DLL (56) generates an uplink packet including one or more application packets encapsulated by PEnc#1 (20), PEnc#2 (30) and PEnc#3 (40), extracts one or more application packets included in the downlink packet sent from the leaf device (115), and sends the application packets to the corresponding packet decoder PDec.

[0119] PhyL (100) outputs a transmission signal including an uplink packet generated by DLL (56) to cable (4) at TDD timing, receives a signal including a downlink packet sent from a leaf device (115) to cable (4), and sends the received downlink packet to DLL (56).

[0120] The controller (16) controls each unit in the root device (15). The timer (18) is used to synchronize with the leaf device (115).

[0121] It will describe Figure 1 The root device (15) in FIG. 1 sends an example of an application packet including an I2C packet, an SPI packet, and a GPIO packet to a leaf device (115), but the application packet may include packets other than the above packets.

[0122] The DLL (56) includes a frame builder (58), a frame deconstructor (59), a DLL register (57) and an OAM unit (55).

[0123] The frame builder (58) integrates multiple application packets and OAM packets to generate uplink packets. The frame deconstructor (59) decomposes the downlink packets from the leaf device (115) into multiple application packets and OAM packets. The DLL register (57) records uncorrectable error information, etc., as will be described below.

[0124] The OAM unit (55) includes PEnc#0 (50) for encoding an OAM packet provided separately from an application packet and PDec#0 (52) for decoding the OAM packet.

[0125] The PhyL (100) includes an uplink Tx (110) for transmitting uplink packets and a downlink Rx (180) for receiving downlink packets.

[0126] The leaf device (115) includes a camera (200), PEnc#1 (70) and PDec#1 (72) for Internet Integrated Circuit (I2C), PEnc#2 (80) and PDec#2 (82) for SPI, PEnc#3 (90) and PDec#3 (92) for GPIO, DLL (66), PhyL (300), a controller (116) and a timer (118).

[0127] The camera (200) is an example of a slave device. In addition to the output of image data, the camera (200) also receives and processes control signals sent from the root device (15). The camera (200) sends I2C packets, SPI packets, and GPIO packets to the leaf device (115) and receives I2C packets, SPI packets, and GPIO packets from the leaf device (115).

[0128] PEnc#1 (70), PEnc#2 (80) and PEnc#3 (90) perform encoding processing to encapsulate the control signal from the camera (200). PDec#1 (72), PDec#2 (82) and PDec#3 (92) perform decoding processing to decode the encapsulated application packet from the root device (15) into the original application signal.

[0129] The DLL (66) generates a downlink packet including one or more application packets encapsulated by PEnc#1 (70), PEnc#2 (80) and PEnc#3 (90), extracts one or more application packets included in an uplink packet sent from the root device (15), and sends the application packets to PDec#1 (72), PDec#2 (82) and PDec#3 (92).

[0130] PhyL (300) outputs a signal including a downlink packet generated by DLL (66) to cable (4) at the timing of TDD, receives a signal including an uplink packet sent from root device (15) to cable (4), and sends the received uplink packet to DLL (66).

[0131] The controller (116) controls each unit in the leaf device (115). The timer (118) is used for synchronization with the root device (15).

[0132] The DLL (66) includes a frame builder (68), a frame deconstructor (69), a DLL register (67) and an OAM unit (65).

[0133] The frame builder (68) integrates multiple application packets and OAM packets to generate downlink packets. The frame deconstructor (69) decomposes the uplink packet from the root device (15) into multiple application packets. The DLL register (67) records uncorrectable error information, as will be described below.

[0134] The OAM unit (65) includes PEnc#0 (60) for encoding an OAM packet provided separately from an application packet and PDec#0 (62) for decoding the OAM packet.

[0135] The PhyL (300) includes a downlink Tx (310) for transmitting downlink packets and an uplink Rx (380) for receiving uplink packets.

[0136] Figure 4A is a diagram illustrating a hierarchical structure of application packets sent and received between a root device (15) and a leaf device (115).

[0137] An application signal input to and output from an ECU (10) or a camera (200) includes application data and a cyclic redundancy check (CRC) as an error detection code.

[0138] like Figure 4A As illustrated in (A), an application packet input to and output from a packet encoder PEnc or a packet decoder PDec includes an application header and an application payload.

[0139] An uplink packet or a downlink packet input to and output from the DLL (56) or (66) is also referred to as a container, and includes a container header and a container payload, such as Figure 4A As shown in the diagram in (C), the container payload includes one or more application packets.

[0140] The transmission signal input to and output from PhyL (100) or (300) includes a Resync header and a plurality of data payloads, such as Figure 4A As shown in the diagram in (D), a forward error correction (FEC) code is added at the end of each data payload.

[0141] Figure 4B is a diagram illustrating the hierarchical structure of OAM packets transmitted and received between a root device (15) and a leaf device (115).

[0142] The OAM packet is generated by the OAM unit (55) or (65) of the DLL (56) or (66). The OAM unit (55) or (65) includes one or more commands, addresses, and data (CAD), wherein the CAD includes a command, an address, and data. In the basic composition of the OAM packet, no error detection code such as CRC is added to the CAD.

[0143] like Figure 4B As shown in the diagram in (B), the OAM packet includes an OAM header and an OAM payload.

[0144] An uplink packet or a downlink packet input to or output from the DLL (56) or (66) includes a container header and a container payload, such as Figure 4B As shown in (C), the container payload includes an OAM packet.

[0145] The transmission signal input to and output from PhyL (100) or (300) includes a Resync header and a plurality of data payloads, such as Figure 4BAs shown in (D), the data payload includes an OAM packet.

[0146] Figure 5 The diagram shows Figure 1 1 is a diagram showing processing operations when sending and receiving OAM packets in the communication system (3) in FIG. 1 . The ECU (10) can send and receive OAM packets between the root device (15) and the leaf device (115). Figure 5 In the example in FIG. 1 , PEnc#0 (50) or (60) is used to generate an OAM packet, and PDec#0 (52) or (62) is used to decode the OAM packet into original CAD (command, address, data).

[0147] PEnc#0 (50) or (60) generates an OAM packet ( Figure 4B (B)), and sends the OAM packet to DLL (56) or (66). PDec#0 (52) or (62) receives the OAM packet ( Figure 4B (B)) The original CAD is restored.

[0148] When PDec#0(52) or (62) receives an OAM packet ( Figure 4B When restoring the original CAD in (B)), PDec#0 cannot perform error detection of the received OAM packet because the payload of the OAM packet does not include an error detection code such as CRC.

[0149] DLL (56) or (66) receives the OAM packet ( Figure 4B (B)) merged into the container ( Figure 4B (C)) and sends the container to PhyL (100) or (300). In addition, from the container ( Figure 4B (C)) to extract OAM packets ( Figure 4B (B)), and group OAM into ( Figure 4B (B)) is sent to the corresponding PDec#0 (52) or (62).

[0150] PhyL (100) or (300) exports the container ( Figure 4B (C))Convert to ASA PHY format ( Figure 4B (D)), and sends the converted container to the leaf device (115) or the root device (15) which is the communication partner device.

[0151] In ASA specification V1.01, it is possible to provide Figure 1As shown in the diagram, there are up to 63 encoders (PEnc#) or decoders (PDec#) that encode or decode the application packets.

[0152] The error information generated in PEnc# or PDec# is stored in a plurality of registers. The error information stored in these registers can be requested to be read using an OAM packet.

[0153] However, in the ASA specification V1.01, among the multiple registers storing the error information generated in PEnc# or PDec#, the number of registers from which the error information can be read at one time is limited by the OAM payload size.

[0154] For example, in order to read the registers (71, 73, 81, 83, ...) of PEnc#1 to PEnc#63 and PDec#1 to PDec#63 in a single OAM packet called OAM read, CAD#1 to #126 need to be set in the OAM payload of the OAM read. In the case where the maximum number of CADs that can be specified in the OAM packet is less than the number of registers to be read, the OAM read needs to be split into multiple OAM reads for reading, and the latency for reading all the results becomes a problem.

[0155] For example, Figure 6 is a diagram illustrating an example in which the maximum number of CADs that can be specified in an OAM packet is 32. In this case, node1 (root device (15)) cannot read all 126 registers (PEnc#1 to PEnc#63 and PDec#1 to PDec#63) of node2 (root device (115)) through a single OAM read.

[0156] Therefore, it is necessary to assign application packet Application#1 to (PDec#1 / PEnc#1), Application#2 to (PDec#2 / PEnc#2), ..., and Application#63 to (PDec#63 / PEnc#63), and node1 repeatedly sends OAM reads to node2, and node2 repeatedly sends OAM returns to node1.

[0157] Figure 7 is a table illustrating the transmission schedule in node1 and node2. Figure 7 As shown in the diagram, application packets Application#1 to Application#63 and OAM packets are alternately transmitted and received through uplink#1 to uplink#256 and downlink#1 to downlink#256.

[0158] Figure 8 1 is a flowchart illustrating the process of node1 sending an OAM read to node2 via an uplink. First, the identification number N of the application packet is set to N=1 (step S1). Next, it is determined whether N is a maximum value (step S2). In the case where N is not a maximum value (in the case of S2 being "No"), the configuration data of Application#N is included in the OAM read (step S3), and then the process returns to step S1.

[0159] In the case of "yes" in step S2, the OAM read is sent to node2, and N=1 is set (step S4).

[0160] Next, node1 determines whether all registers of node2 have been read (step S5). If step S5 is "No", Application#N that has not been read is set and waits (step S6). Next, it is determined whether N is the maximum value (step S7). If N is not the maximum value, N is incremented to N=N+1 (step S8), and then the processing of step S6 and subsequent steps is repeated.

[0161] In the case of "YES" in step S5, N=1 is set, and the next process is performed (step S9).

[0162] Fig. 9 is a flowchart illustrating the process of node2 sending an OAM return to node1 via a downlink. Steps S11 to S13 are performed in conjunction with Figure 8 The process is similar to steps S1 to S3 in . If the answer of step S12 is "yes", an OAM return is sent to node1 (step S14).

[0163] Next, node2 determines whether all registers of node1 have been sent (step S15). Then, steps S16 to S19 are performed in the same manner as Figure 8 Similar processing is performed in steps S6 to S9 in FIG.

[0164] For example, in the case where the maximum number of read addresses that can be sent at one time through OAM read is 32, in order to specify the read addresses of all 126 registers, a total of four OAM reads of uplinks #64, 128, 192, and 256 are required ( Figure 7 ).

[0165] More specifically, in uplink #64, an OAM read is performed to check whether the configuration of Application #1 to #32 among the applications set in uplink #1 to #63 has been correctly received. Similarly, in uplink #128, an OAM read is performed to check whether the configuration of Application #33 to #63 has been correctly received. In addition, in uplink #192, an OAM read is performed to check whether the data of Application #1 to #32 has been correctly sent. In addition, in uplink #256, an OAM read is performed to check whether the data of Application #33 to #63 has been correctly sent.

[0166] As a result, if there is no error in all the reading results of downlink #64, downlink #128, downlink #192 and downlink #256, it can be seen that Application #1 to #63 have been sent and received normally, but this results in Figure 8 The loop of steps S6 to S8 and Fig. 9 The delay of uplink / downlink #65~#127, #129~#191 and #193~#255 corresponding to the loop of steps S16~S18 increases.

[0167] (First embodiment)

[0168] Fig.10 It is a block diagram of a communication device (leaf device (115)) according to the first embodiment. Fig.11 The diagram illustrates the packet composition of the OAM read sent by node1 to node2 and the OAM return sent by node2 to node1. Fig.12 is a table illustrating the transmission schedule between node1 and node2 in the first embodiment.

[0169] like Fig.11 As shown in the figure, the OAM read sent by node1 to node2 and the OAM return sent by node2 to node1 have an extended OAM header. Fig.12 As shown in the diagram, OAM read and OAM return are sent and received between intervals of sending and receiving a plurality of application packets.

[0170] Fig.13 0 is a table illustrating the composition of the extended OAM header according to the first embodiment. Fig.13As shown in the diagram, the extended OAM header according to this embodiment includes mode selection, FEC error time, FEC error count, FEC error application (ErrAppli) ID and FEC error application status, and also includes PEnc status and PDec status. The PEnc status includes error occurrence information (hereinafter, error information) of all encoders PEnc (60, 70, 80 and 90) in the leaf device (115), and the PDec status includes error information of all decoders PDec (62, 72, 82 and 92) in the leaf device (115).

[0171] In the case of an OAM read of a send request including the above-mentioned error information in an extended OAM header sent from the root device (15), the OAM unit (65) of the leaf device (115) generates an OAM return including the error information in the extended OAM header and sends the OAM return to the root device (15).

[0172] In the case where all the above error information is included in the extended OAM header, the reserved bits ( Fig.13 ), the mode selection of the i-byte is newly set. In the case where the bit value of the mode selection is "00", the OAM header structure of the conventional ASA specification V1.01 is maintained, and the error information from the FEC error time to the PDec status of the extended OAM header is not included. On the other hand, in the case where the mode selection is "01", the error information from the FEC error time to the PDec status is added after the existing OAM header as an extended OAM header.

[0173] FEC Error Time is the occurrence time information of the first and second FEC errors. Note that the third or subsequent FEC error occurrence time information can be added. FEC Error Count is the cumulative number of occurrences of FEC errors. FEC Error Application ID is the application ID in which the first and second FEC errors occurred. Note that the application ID in which the third or subsequent FEC errors occurred can be added. FEC Error Application Status is the information of all application IDs in which FEC errors occurred, for example, 0 is FEC Error Application ID #0, 1 is FEC Error Application ID #1.

[0174] Fig.10 The communication device in is the leaf device (115). The leaf device (115) is located at node2. Fig.10 In, with Figure 3 The common components in the components are denoted by the same reference numerals, and the differences will be mainly described below.

[0175] The DLL register (67) of the leaf device (115) located at node2 (115) newly has the PDec status register [n:0] and the PEnc status register [n:0]. The PDec status register [n:0] and the PEnc status register [n:0] are error information storage units that store error information of all encoders PEnc (60, 70, 80, and 90) and all decoders PDec (62, 72, 82, and 92) in the leaf device (115). The leaf device (115) sends an OAM return with Fig.13 The extended OAM header is shown in detail in FIG. The extended OAM header includes the values ​​of the PDec status register [n:0] and the PEnc status register [n:0].

[0176] The reason for the delay in reading the above error information is that it is necessary to read the register value of the number exceeding the maximum CAD that can be specified in a single transmission unit of the uplink. Therefore, in the first solution, when an error write occurs in the internal register of each PEnc and each PDec, each PEnc / PDec notifies the DLL (66) of the error write, and the DLL (66) writes 1'b1 indicating the error occurrence in the corresponding bits of the PDec status register [n:0] and the PEnc status register [n:0] of the DLL register (67).

[0177] Specifically, when there is an error write in the PDec#0 register (63), PDec#0 notifies the DLL (66) of the PDec error, and the DLL (66) writes 1'b1 indicating that an error write has occurred in the PDec#0 register in the PDec status [0] of the DLL register (67).

[0178] Similarly, in the case where an error is written in the PDec#1 register (73), the DLL (66) writes 1'b1 in the PDec status [1] of the DLL register (67) indicating that an error has occurred in the PDec#1 register. In the case where an error is written in the PEnc#0 register (61), the DLL (66) writes 1'b1 in the PEnc status [0] of the DLL register (67) indicating that an error has occurred in the PEnc#0 register.

[0179] DLL (66) sends the PEnc status / PDec status information of DLL register (67) to PEnc#0 (60). PEnc#0 (60) generates an OAM packet returned by OAM, in which PEnc status [n:0] (see Fig.13 ) and PDec status [n:0] (see Fig.13 ) is added to the extended OAM header returned by OAM.

[0180] As a result, regardless of the number of CADs in the OAM payload, Fig.12 In the downlink #64 and downlink #128 shown in the diagram, node2 (115) can send all PDec / PEnc error information to node1 (15) through a single OAM return, thereby eliminating Figure 8 Steps S6 to S8 and Fig. 9 The delay of steps S16 to S18 in .

[0181] Fig.14 It is a graphic description Fig.13 Table of variations of the extended OAM header in FIG. Fig.13 In addition to the composition of Fig.14 The extended OAM header in has a DLL error status ( Fig.14 The DLL error status is obtained by aggregating multiple DLL error information in the DLL register (67).

[0182] In DLL error status [2:0], DLL error status [0] indicates an error status of DLL transmission error, DLL error status [1] indicates DLL error 1, and DLL error status [2] indicates DLL error 2. DLL transmission error is information indicating a case where there is no transmission destination information in the dispatch table, or an abnormality has occurred that the transmission destination itself does not exist. DLL error 1 is information indicating a case where there is no received data, or an abnormality has occurred during the receiving operation. DLL error 2 is information indicating that part of the received data is lost.

[0183] exist Fig.14 In this case, since the error information and DLL error information of all PEncs (60, 70, 80 and 90) and PDecs (62, 72, 82 and 92) in the leaf device (115) are included in the extended OAM header returned by OAM, these error information can be sent to the root device (15) in a single transmission unit of the downlink.

[0184] As described above, in the first embodiment, the error information of all PEncs (60, 70, 80, and 90) and PDecs (62, 72, 82, and 92) in the leaf device (115) is aggregated and stored in the DLL register (67), and the error information is collectively written into the PEnc state and PDec state of the extended OAM header. Thus, by sending an OAM return including an extended OAM header from node2 to node1, the root device (15) located at node1 can obtain the error information of all PEncs (60, 70, 80, and 90) and PDecs (62, 72, 82, and 92) in a single transmission unit of the downlink. Thus, there is no delay in obtaining the error information of all PEncs (60, 70, 80, and 90) and PDecs (62, 72, 82, and 92), so that TDD communication can be performed efficiently.

[0185] (Second embodiment)

[0186] In the first embodiment, an example is described in which the error information of all PEnc (60, 70, 80 and 90) and PDec (62, 72, 82 and 92) is included in the extended OAM header returned by OAM, but in the second embodiment, the error information of all PEnc (60, 70, 80 and 90) and PDec (62, 72, 82 and 92) is included in the OAM payload returned by OAM.

[0187] The communication device (the leaf device (115) of node2) according to the second embodiment has Fig.10 Similar block composition. Fig.15 is a diagram illustrating the composition of an OAM payload according to the second embodiment. Fig.16 is a diagram illustrating the packet composition of an OAM extension read sent from node1 to node2 and an OAM extension return sent from node2 to node1. Fig.17 is a table illustrating a transmission schedule according to the second embodiment. Fig.18 is a table illustrating error information included in an OAM payload. Fig.18 The error message and Fig.13 The error message is the same as for , except that the mode selection is not set. Fig.19 is by combining Fig.14 Similar DLL error status is added to Fig.18 The table obtained by error information in .

[0188] like Fig.15As shown in the diagram, in the second embodiment, the root device (15) of node1 sends an OAM extended read, which includes an OAM extended read command for reading additional registers (PEnc status register [n:0] and PDec status register [n:0]) using an OAM payload, and the leaf device of node2 sends an OAM extended return, which includes an OAM extended return command containing the result of reading the value of the additional register.

[0189] The reason for the delay in reading error information is that there are registers with a number exceeding the maximum CAD that can be specified in a single transmission unit of the uplink. Therefore, in the second embodiment, the OAM extended read as a read command to aggregate and read error information and the OAM extended return as a result thereof are assigned to one CAD.

[0190] In the event that an error write occurs in the internal registers of each PEnc and each PDec, each PEnc / PDec notifies the DLL (66) of the error write, and the DLL (66) writes 1'b1 indicating the error occurrence in the corresponding bit of the PEnc status register [n:0] or the PDec status register [n:0] of the DLL register (67).

[0191] Specifically, when there is a write in the PDec#0 register (63), PDec#0 notifies the DLL (66) of a PDec error, and the DLL (66) writes 1'b1 indicating that a write has occurred in the PDec#0 register in the PDec status [0] of the DLL register (67).

[0192] Similarly, when there is a write in the PDec#1 register (73), the DLL (66) writes 1'b1 in the PDec status [1] of the DLL register (67) indicating that a write has occurred in the PDec#1 register. When there is a write in the PEnc#0 register (61), the DLL (66) writes 1'b1 in the PEnc status [0] of the DLL register (67) indicating that a write has occurred in the PEnc#0 register.

[0193] DLL (66) sends the information of PEnc status register [n:0] and PDec status register [n:0] of DLL register (67) to PEnc#0 (60). When PDec#0 (62) receives the OAM extended read from node1, PEnc#0 (60) generates a datagram including PEnc status [n:0] in the OAM payload (see Fig.18 ) and PDec status [n:0] (see Fig.18)'s OAM extension returns the OAM packet and sends the OAM packet to node1.

[0194] Results, such as Fig.17 As shown in the figure, in downlink #64 and downlink #128, node2 (115) can send error information of all PEnc (60, 70, 80 and 90) and PDec (62, 72, 82 and 92) to node1 (15) in a single transmission unit of the downlink through OAM extension return, thereby eliminating Figure 8 Steps S6 to S8 and Fig. 9 The delay of steps S16 to S18 in .

[0195] As described above, in the second embodiment, the root device (15) of node1 sends the OAM payload of the OAM extended read by including the send request command of the error information for all PEnc (60, 70, 80 and 90) and PDec (62, 72, 82 and 92) in the leaf device (115), and the leaf device (115) of node2 that receives the OAM extended read sends the OAM payload of the OAM return by including the above error information. Thus, the error information of all PEnc (60, 70, 80 and 90) and PDec (62, 72, 82 and 92) in the leaf device (115) can be sent through a single OAM return, thereby eliminating the delay in completing the sending of the error information.

[0196] (Third Embodiment)

[0197] In the first embodiment and the second embodiment, registers for storing error information (PEnc status register [n: 0] and PDec status register [n: 0]) are added to the DLL register (67) of the leaf device (115) of node2. However, there is a problem of when and how to clear the error information in these registers.

[0198] Fig. 20 is a diagram illustrating a first example of a defect caused by clearing of the PEnc status register [n:0] and the PDec status register [n:0]. Fig. 20In the case where the above register is cleared after node2 sends an OAM return in downlink #3, if node1 cannot receive the OAM return for some reason, even if node1 requests error information from node2 again using OAM read in uplink #6, downlink #6 sends wrong information to node1 because the error information has been cleared. Originally, the error information held in the register at uplink #3 needs to be sent in downlink #6, but if the register is cleared after sending an OAM return including error information in downlink #3, the error information cannot be resent later.

[0199] Fig.21 is a diagram illustrating a second example of a defect caused by clearing of the PEnc status register [n:0] and the PDec status register [n:0]. Fig.21 In the case where node1 sends a clear signal to node2 after receiving an OAM return in downlink #3, an OAM including the clear signal is sent in uplink #6. If a new error occurs in uplink #4 during this time, the error information is cleared when OAM is sent in uplink #6, so that the error information of uplink #4 cannot be sent to node1.

[0200] Fig.11 and Fig. 22 It is a graphic solution Fig. 20 and Fig.21 Illustration of a first solution to the defect. Fig. 22 The diagram illustrates the composition of OAM read. Fig. 22 As shown in the diagram, when the i-th byte (mode selection [1:0]) of the OAM header of the OAM read indicates the extended OAM header (2'b01) and the CAD command is the OAM read, the b-th byte specifying the read bank (ReadBank) is added to the subsequent address segment.

[0201] The register of error information newly added to the DLL register (67) has two banks, and error information corresponding to the designated read bank is selected.

[0202] Next, the leaf device (115) of node2 clears the storage body information that the root device (15) of node1 has not specified in the read storage body. The root device (15) sequentially specifies a plurality of storage bodies. Therefore, this indicates that the root device (15) has received the error information of the storage body that the root device (15) has not specified. Therefore, in the case that the root device (15) specifies any storage body, the error information of other storage bodies can be cleared.

[0203] Fig.16 and Fig.23 It is a graphic solution Fig. 20 and Fig.21 1 is a diagram of a second solution to the defect of FIG. 1. In the second solution, an OAM extended read is sent from node1 to node2. Fig.23 is a diagram illustrating the configuration of OAM extended read.

[0204] The bth byte that specifies the memory bank to be read is added to the address segment after the OAM extended read command. In the bth byte, the address of the memory bank to be read is described.

[0205] Node2 receiving the OAM extension read command reads the error information of the memory bank corresponding to the address of the read memory bank from the DLL register (67), and transmits the error information by including the error information in the OAM payload returned by the OAM extension.

[0206] Fig.24 is a diagram illustrating the structure of the DLL register (67) of the leaf device (115) according to the third embodiment. Fig.24 The DLL register (67) illustrated in the figure includes a DLL error status as information common to both banks #0 and #1. In addition, the DLL register (67) stores error information for each of bank #0 and bank #1. The error information includes, for example, FEC error time, FEC error count, FEC error application ID, FEC error application status, PEnc status, and PDEc status.

[0207] In the first solution, as in Fig.24 As shown in the upper right corner of the diagram, error information of one of the memory banks is included in the extended OAM header returned by OAM and is sent to node1.

[0208] In the second solution, as in Fig.24 As shown in the lower right corner diagram of , error information of one of the memory banks is included in the OAM payload as a response result of the OAM extension return command and is sent to node1.

[0209] As described above, in the case where a request to send error information of any one of a plurality of storage bodies is included in an OAM read command, the OAM unit (65) of the leaf device (115) includes the error information of the corresponding storage body in a response result returned by OAM.

[0210] The DLL (66) clears the error information of the storage banks except the storage bank for which the transmission request is made by OAM reading from the DLL register (67). The DLL (66) stores the newly generated error information in the corresponding fields of all the storage banks of the DLL register (67) for each transmission unit.

[0211] Fig.25 is a diagram illustrating a first example of data transfer between node1 and node2 by applying the third embodiment.

[0212] All registers (PEnc status register [n:0] and PDec status register [n:0]) of error information added to the DLL register (67) by power-on are reset.

[0213] In the uplink #0, node1 sends an OAM Write to node2. In the downlink #0, since the received OAM Write has been successfully written, node2 sends the write result as a Write ACK to node1.

[0214] In uplink #1, node1 sends configuration data of SPI to node2, but is affected by noise during transmission. Although node2 attempts to recover errors in the received data through FEC, due to the occurrence of FEC errors, node2 discards the received data and writes error information to the DLL register (67). The error information (first FEC error time and FEC error count) is written to both bank #0 and bank #1 of the DLL register (67). In downlink #1, node2 sends empty data to node1, but node1 does not notice the abnormality in the response result received from node2.

[0215] In uplink #2, node1 sends configuration data of GPIO to node2, but is affected by noise during transmission. Although node2 attempts to recover errors in the received data through FEC, due to the occurrence of FEC errors, node2 discards the received data and writes error information to the DLL register (67). The error information (second FEC error time and FEC error count) is written to both bank #0 and bank #1 of the DLL register (67). In downlink #2, node2 sends empty data to node1, but node1 does not notice the abnormality in the response result received from node2.

[0216] In uplink #3, in order to know the transmission results of uplink #0 to uplink #3, node1 sends an OAM read command to node2 that specifies reading memory bank #0. Node2 clears the error information of memory banks other than the read memory bank specified in the received OAM read command. In downlink #3, node2 sends the error information of memory bank #0 of the DLL register (67) specified by the address of the received OAM read command to node1 as the result of the OAM return. Based on the received OAM return, node1 detects that node2 has failed to receive uplink #1 and uplink #2.

[0217] In uplink #4, node1 sends the configuration data of SPI to node2 again, but is affected by noise during transmission. Although node2 attempts to recover the error in the received data through FEC, since an FEC error occurs, node2 discards the received data and writes error information to the DLL register (67). The error information (first FEC error time and FEC error count) is written to the memory bank #0 and memory bank #1 of the DLL register (67), but the FEC error time of memory bank #0 has already been written and cannot be written. However, the FEC error count increases from 2 to 3.

[0218] Meanwhile, on the side of the bank #1 which is cleared in the uplink #3, the writing result is reflected in the first FEC error time and the FEC error count. In the downlink #4, node2 sends null data to node1.

[0219] In uplink #5, node1 sends GPIO configuration data to node2. Node2 writes GPIO configuration from the received data. In downlink #5, node2 sends empty data to node1.

[0220] In uplink #6, in order to know the transmission results of uplink #4 to uplink #6, node1 sends an OAM read command to node2 that specifies reading memory bank #1. Node2 clears the memory bank information of the memory bank other than the memory bank specified in the received OAM read command. In downlink #6, node2 sends the error information of memory bank #1 of the DLL register (67) specified by the address of the received OAM read command to node1 as the result of the OAM return. Based on the received OAM return, node1 detects that node2 failed to receive uplink #4.

[0221] In uplink #7, node1 sends SPI configuration data to node2 again. Node2 writes SPI configuration from the received data.

[0222] Fig.26 is a diagram illustrating a second example of data transfer between node1 and node2 by applying the third embodiment.

[0223] Uplink #0 to Downlink #3 and Fig.25 The same as in. In uplink #4, node1 sends the configuration data of SPI to node2 again, but is affected by noise during transmission. Although node2 recovers the errors in the received data through FEC, a CRC error occurs in PDec#2 (82). node2 records the information of the occurrence of CRC error in the PDec#2 register (83), and writes 1'b1 indicating that a CRC error has occurred in PDec#2 in the PDec status [2] of the storage bank #0 and storage bank #1 of the DLL register (67). In downlink #4, node2 sends SPI return data to node1.

[0224] In uplink #5, node1 sends GPIO configuration data to node2. Node2 writes GPIO configuration from the received data. In downlink #5, node2 sends empty data to node1.

[0225] In uplink #6, in order to know the transmission results of uplink #4 to uplink #6, node1 sends an OAM read specifying the read memory bank #1 to node2. Node2 clears the memory bank information of the memory bank other than the read memory bank specified in the received OAM read. In downlink #6, node2 sends the data of memory bank #1 including the DLL register (67) specified by the address of the received OAM read command to node1 as the result of OAM return. Based on the received OAM return, node1 recognizes that a CRC error occurred when node2 received the SPI in uplink #4.

[0226] In uplink #7, node1 sends SPI configuration data to node2 again. Node2 writes SPI configuration from the received data.

[0227] Fig. 27 is a diagram illustrating a third example of data transfer between node1 and node2 by applying the third embodiment.

[0228] Uplink #0 ~ Downlink #2 and Fig.25The same as in. In uplink #3, in order to know the transmission results of uplink #0 to uplink #3, node1 sends an OAM read specifying the read memory bank #0 to node2. Node2 clears the memory bank information of the memory bank other than the read memory bank specified in the received OAM read. In downlink #3, node2 sends the data of memory bank #0 including the DLL register (67) specified by the address of the received OAM read command to node1 as the result returned by OAM, but is affected by noise during transmission. Although node1 attempts to recover errors in the received data through FEC, node1 discards the received data and writes error information in the DLL register (57).

[0229] In uplink #4, node1 waits for the response result of uplink #3. In downlink #4, node2 sends empty data to node1.

[0230] In uplink #5, node1 waits for the response result of uplink #3. In downlink #5, node2 sends empty data to node1.

[0231] In uplink #6, in order to know the transmission results of uplink #1 to uplink #6, node1 sends an OAM read command specifying the reading of memory bank #0 to node2 again. In downlink #6, node2 sends the data of memory bank #0 including the DLL register (67) specified by the address of the received OAM read command to node1 as the result of OAM return. In addition, the memory bank information of the memory banks other than memory bank #1 is cleared. Based on the received OAM return, node1 detects that node2 fails to receive uplink #1 / #2.

[0232] In uplink #7, node1 sends SPI configuration data to node2 again. Node2 writes SPI configuration from the received data.

[0233] As described above, in the third embodiment, various types of error information including error information of all PEncs (60, 70, 80, and 90) and PDecs (62, 72, 82, and 92) in the leaf device (115) of node2 are stored in the DLL register (67) for each storage body, and when a storage body is specified from the root device (15) of node1 and a request for sending error information is issued, the error information of the specified storage body is returned to the root device (15) through OAM return, and the error information of the unspecified storage body is cleared. Thus, when the root device (15) fails to obtain the error information of the specified storage body, and the root device (15) specifies the same storage body again and issues a request for sending, the error information of the storage body can be correctly resent. Thus, even if the root device (15) fails to obtain the error information from the leaf device (115), the root device (15) can correctly obtain the error information by issuing a request for sending again.

[0234] (Fourth embodiment)

[0235] In the third embodiment described above, examples of various types of error information are described in which error information of all PEnc (60, 70, 80, and 90) and PDec (62, 72, 82, and 92) in the leaf device (115) including node2 is stored in the DLL register (67) for each storage body. However, the type of error information stored in the DLL register (67) for each storage body is arbitrary, and it is not always necessary to store error information of all PEnc (60, 70, 80, and 90) and PDec (62, 72, 82, and 92) in the leaf device (115) for each storage body in the DLL register (67). The error information may be uncorrectable information detected by using CRC. The uncorrectable information may include the number of error detections.

[0236] Fig.28 1 is a diagram illustrating an example in which the DLL register (67) includes two banks #0 and #1, and an OAM decoding error register is set for each bank. The OAM decoding error register is a register that stores the number of times that PDec #0 of the OAM unit detects an error.

[0237] exist Fig.28 In uplink #3 of the OAM packet, PDec #0 (62) detects an error in the OAM packet based on the CRC included in the OAM packet. When an error is detected, PDec #0 (62) sends an error detection signal CRC Err to DLL (66). DLL (66) counts up the values ​​of the OAM decoding error registers of bank #0 and bank #1 in DLL register (67).

[0238] In downlink #3, the DLL (66) of node2 generates an OAM return for node1 via PEnc#0 (60). In the case where node2 sends an OAM return as a response to node1, an OAM packet including an extended OAM header is generated in which the register value of the OAM decoding error register of the memory bank #0 of the DLL register (67) is added to the existing OAM header of the OAM packet. The ECU (10) can determine whether the OAM read received by the leaf device (115) located at node2 has operated normally based on the value of the OAM decoding error register included in the OAM header received by the root device (15) located at node1.

[0239] Fig.29 The present invention is a diagram illustrating an example in which a first FEC error time register and an FEC error count register are set for each of bank #0 and bank #1 in the DLL register (67). The DLL (66) writes the occurrence time of the FEC error in the first FEC error time registers of bank #0 and bank #1 of the DLL register (67) in the case of a first FEC error, and does not rewrite the occurrence time in the case where the occurrence time of the FEC error has already been written in the first FEC error time register. In addition, the DLL (66) counts up the FEC error count registers of bank #0 and bank #1 of the DLL register (67) every time an FEC error occurs.

[0240] In uplink #2, an FEC error occurs in PhyL (300) of node2, exceeding the received PHY format ( Figure 4A (D)) In this case, the PhyL (300) discards the data payload in which the FEC error has occurred, and notifies the controller (116) that the FEC error has occurred.

[0241] The controller (116) notifies the DLL (66) that an FEC error has occurred, and the DLL (66) writes the time of occurrence of the FEC error in the first FEC error time registers of the memory bank #0 and the memory bank #1 of the DLL register (67) when a first FEC error has occurred, and does not rewrite the time of occurrence when the time of occurrence of the FEC error has already been written in the first FEC error time register. In addition, whenever an FEC error occurs, the DLL (66) counts up (*1a) the FEC error count registers of the memory bank #0 and the memory bank #1 of the DLL register (67).

[0242] In uplink #3, ECU (10) sends an OAM packet to node2 via node1 ( Figure 4B(A)), the OAM packet includes an OAM read command for confirming whether node2 can normally receive SPI and GPIO configuration information.

[0243] In OAM grouping ( Figure 4B In the OAM payload of (A)), the storage bank information to be read by the DLL register (67) of node2, and the read address indicating the first FEC error time register and FEC error count register newly added to the DLL register (67) are included together with the OAM read command (*2a).

[0244] In downlink #3, node2 reads the respective register values ​​of the first FEC error time register and the FEC error count register of the memory bank #0 including the DLL register (67) according to the read address of the OAM read command received from node1. As a result of the OAM return, node2 adds the read register value as CAD to the OAM payload and sends the OAM return to node1 (*4a). The OAM read (first OAM packet) may include n first address information of n reception time information in the designated register and second address information of the total number information in the designated register.

[0245] Based on the OAM return received by node1, ECU (10) can know the number of FEC errors that have occurred in node2 and the time when the first FEC error occurred, and ECU (10) recognizes that only the configuration information of GPIO needs to be sent to node2 (*5a).

[0246] Fig.30 1 is a diagram illustrating an example in which a first FEC error time register, a second FEC error time register, a third FEC error time register, and an FEC error count register are set for each of bank #0 and bank #1 in the DLL register (67). Note that how many FEC error time registers are set is optional. Thus, the time at which an FEC error occurs can be recorded three times in the FEC error time register in the DLL register (67) starting from the first FEC error.

[0247] Node1 can read any register through OAM read. In this example, the second FEC error time and the third FEC error time are added to Fig.29 DLL register (67) in.

[0248] Node1 also adds the addresses of the second FEC error time and the third FEC error time to the read address of the OAM read, so that node2 also returns the register values ​​of the second FEC error time and the third FEC error time to node1 through OAM return. ECU (10) can know the first and second FEC error occurrence times (uplink #1, uplink #2) and the number of FEC errors (twice) according to the result returned by OAM received by node1.

[0249] As described above, in the fourth embodiment, arbitrary error information is stored in the DLL register (67) for each storage body, and when there is a request to send the error information by specifying the storage body from the root device (15) of node1, the leaf device (115) of node2 can return the error information of the specified storage body to the root device (15) through OAM.

[0250] Note that the present technology can have the following configurations.

[0251] (1) A communication device that alternately sends information to and receives information from a communication partner device during a time period allocated by a time division duplex (TDD) communication method, the communication device comprising:

[0252] a PHY configured to receive a first transmission signal conforming to a predetermined communication protocol from a communication partner device, perform error correction on a plurality of first packets included in the first transmission signal, and transmit a second transmission signal to be transmitted to the communication partner device to the communication partner device;

[0253] LINK, the LINK being configured to separate the plurality of first packets, aggregate the plurality of second packets included in the second transmission signal, and send the aggregated second packets to the PHY;

[0254] a plurality of decoders, the plurality of decoders being configured to decode the plurality of first packets; and

[0255] A plurality of encoders, the plurality of encoders being configured to generate a plurality of second packets, wherein

[0256] The PHY includes:

[0257] an error information storage unit configured to store error information about each of the plurality of decoders and the plurality of encoders, and

[0258] An operations, administration, and maintenance (OAM) unit is configured to include error information in a second packet among the plurality of second packets.

[0259] (2) The communication device according to (1), wherein

[0260] The error information storage unit stores error information in which whether each of the plurality of decoders and the plurality of encoders causes an error is indicated by one bit.

[0261] (3) The communication device according to (1) or (2), wherein

[0262] The error information stored in the error information storage unit includes error information about each of a decoder and an encoder included in the OAM unit.

[0263] (4) The communication device according to any one of (1) to (3), wherein

[0264] The PHY performs error correction on a plurality of first packets included in the first transmission signal,

[0265] The LINK generates a second packet including uncorrectable error information indicating that the PHY failed to correctly perform error correction, and

[0266] The error information includes reception time information of the first and second uncorrectable first packets in a transmission unit of the TDD communication mode, total number information of the uncorrectable first packets in the transmission unit, and identification information of the first and second uncorrectable first packets in the transmission unit.

[0267] (5) The communication device according to any one of (1) to (4), wherein

[0268] The error information includes the error information of LINK.

[0269] (6) The communication device according to (5), wherein

[0270] LINK includes:

[0271] a first storage unit configured to store information indicating that there is no transmission destination information in the schedule table, or that an abnormality has occurred in which the transmission destination itself does not exist,

[0272] a second storage unit configured to store information indicating a situation where there is no received data or an abnormality has occurred during a receiving operation, and

[0273] a third storage unit, the third storage unit being configured to store information indicating that part of the received data is lost, and

[0274] The error information of the LINK includes information stored in the first storage unit, the second storage unit, and the third storage unit.

[0275] (7) The communication device according to any one of (1) to (6), wherein

[0276] The plurality of first packets include at least one of an application packet or a first OAM packet, and

[0277] The second packet generated by the OAM unit includes a second OAM packet generated in response to reception of the first OAM packet.

[0278] (8) The communication device according to (7), wherein

[0279] The first OAM packet includes a first header and a first payload,

[0280] The first header or the first payload includes a request to send error information, and

[0281] In case the first OAM packet includes a transmission request of error information, the OAM unit includes the error information in a second OAM packet.

[0282] (9) The communication device according to (8), wherein

[0283] The second OAM packet comprises a second header and a second payload,

[0284] A request to send error information is included in the first header, and

[0285] In case the first header includes the transmission request of the error information, the OAM unit includes the error information in the second header of the second OAM packet.

[0286] (10) The communication device according to (9), wherein

[0287] The second header includes mode selection information, and

[0288] In the case where the second header includes error information, the mode selection information is set to a reserved bit of the OAM header of the ASA specification version 1.01.

[0289] (11) The communication device according to (8), wherein

[0290] The second OAM packet comprises a second header and a second payload,

[0291] A request to send error information is included in the first payload, and

[0292] In case the first payload includes a transmission request of error information, the OAM includes the error information in a second payload of a second OAM packet.

[0293] (12) The communication device according to any one of (7) to (11), wherein

[0294] The error information storage unit includes a plurality of storage banks, the plurality of storage banks being configured to store error information generated in different transmission units in a TDD communication mode, and

[0295] In a case where a transmission request of error information of any one of a plurality of memory banks is included in the first OAM packet, the OAM unit includes error information of the corresponding memory bank in a second OAM packet.

[0296] (13) The communication device according to (12), wherein

[0297] The LINK clears the error information of the memory banks other than the memory bank for which the transmission request is made in the first OAM packet from the error information storage unit.

[0298] (14) The communication device according to (13), wherein

[0299] The LINK stores the newly generated error information for each transmission unit in at least one cleared memory bank in the error information storage unit.

[0300] (15) A communication device that alternately sends information to and receives information from a communication partner device during a time period allocated by a time division duplex (TDD) communication method, the communication device comprising:

[0301] a PHY configured to receive a first transmission signal conforming to a predetermined communication protocol from a communication partner device and to perform error correction on a plurality of first packets included in the first transmission signal; and

[0302] LINK, LINK is configured to separate a plurality of first packets after error correction, and generate a second packet including uncorrectable error information of the first packets for which error correction is not performed correctly, wherein

[0303] The PHY sends a second transmission signal including a second packet to the communication partner device,

[0304] The plurality of first packets include a first OAM packet,

[0305] The second packet includes a second OAM packet,

[0306] The LINK includes a register including a plurality of memory banks for storing uncorrectable error information generated by different transmission units in a TDD communication mode, and

[0307] In a case where the first OAM packet includes a transmission request of uncorrectable error information of any one of a plurality of memory banks, the LINK includes the uncorrectable error information of the corresponding memory bank in the register in a second OAM packet.

[0308] (16) The communication device according to (15), wherein

[0309] The uncorrectable error information includes reception time information of the first uncorrectable error application packet in the transmission unit of the transmission signal and total number information of the uncorrectable error application packets in the transmission unit.

[0310] The first OAM packet includes information specifying one memory bank among a plurality of memory banks, and address information of a register in which uncorrectable error information of the specified memory bank is stored, and

[0311] The address information in the first OAM packet includes first address information specifying reception time information in the register, and second address information specifying total number information in the register.

[0312] (17) The communication device according to (15), wherein

[0313] The uncorrectable error information includes reception time information of n (n is an integer of 1 or more) uncorrectable error application packets from the beginning in the transmission unit of the transmission signal, and total number information of the uncorrectable error application packets in the transmission unit,

[0314] The first OAM packet includes information specifying one memory bank among a plurality of memory banks, and address information of a register in which uncorrectable error information of the specified memory bank is stored, and

[0315] The address information in the first OAM packet includes n first address information specifying n reception time information in the register, and second address information specifying total number information in the register.

[0316] (18) The communication device according to (15), wherein

[0317] The uncorrectable error information includes reception time information of an application packet that is initially uncorrectable in a transmission unit of a transmission signal, total number information of application packets that are initially uncorrectable in a transmission unit, identification information of an application packet that is initially uncorrectable in a transmission unit of a transmission signal, and bit string information in which whether or not an application packet that is transmitted in a transmission unit is uncorrectable is assigned in bit units.

[0318] The first OAM packet includes information specifying one memory bank among a plurality of memory banks, and address information of a register in which uncorrectable error information of the specified memory bank is stored, and

[0319] The address information in the first OAM packet includes first address information specifying reception time information in a register, second address information specifying total number information in a register, third address information indicating identification information in a register, and fourth address information specifying bit string information in a register.

[0320] (19) A communication device that alternately sends information to and receives information from a communication partner device during a time period allocated by a time division duplex (TDD) communication method, the communication device comprising:

[0321] LINK, LINK configured to generate a transmission packet including a plurality of first packets; and

[0322] The PHY is configured to generate a first transmission signal conforming to a predetermined communication protocol based on the transmission packet, send the first transmission signal to a communication partner device, and receive a second transmission signal from the communication partner device, wherein

[0323] The LINK includes an OAM unit configured to generate a first OAM packet for a communication partner device and extract error information from a second OAM packet sent by the communication partner device in response to the first OAM packet, the first OAM packet including a transmission request of error information of a plurality of decoders and a plurality of encoders included in the communication partner device, and

[0324] The plurality of first packets include application packets and first OAM packets.

[0325] (20) A communication system, the communication system comprising:

[0326] a first communication device; and

[0327] a second communication device, the second communication device being configured to alternately send information to and receive information from the first communication device within a time period allocated by a time division duplex (TDD) communication method,

[0328] The first communication device comprises:

[0329] The PHY is configured to receive a first transmission signal conforming to a predetermined communication protocol from a second communication device, perform error correction on a plurality of first packets included in the first transmission signal, and transmit a second transmission signal to be transmitted to the second communication device to the second communication device,

[0330] LINK, the LINK being configured to separate the plurality of first packets, aggregate the plurality of second packets included in the second transmission signal, and send the aggregated second packets to the PHY,

[0331] a plurality of decoders, the plurality of decoders being configured to decode the plurality of first packets, and

[0332] a plurality of encoders, the plurality of encoders being configured to generate a plurality of second packets, and

[0333] The PHY includes:

[0334] an error information storage unit configured to store error information about each of the plurality of decoders and the plurality of encoders, and

[0335] An operations, administration, and maintenance (OAM) unit is configured to include error information in a second packet among the plurality of second packets.

[0336] The various aspects of the present disclosure are not limited to the above-mentioned embodiments, but include various modifications that can be thought of by those skilled in the art, and the effects of the present disclosure are not limited to the above-mentioned contents. That is, various additions, modifications and partial deletions are possible without departing from the conceptual ideas and spirit of the present disclosure derived from the contents defined in the claims and their equivalents.

[0337] Reference numerals list

[0338] 3 Communication system

[0339] 4 Cables

[0340] 10ECU

[0341] 15 Root Devices

[0342] 16 Controller

[0343] 18. Timer

[0344] 20PEnc#1

[0345] 22PDec#1

[0346] 30PEnc#2

[0347] 32PDec#2

[0348] 40PEnc#3

[0349] 42PDec#3

[0350] 50PEnc#0

[0351] 52PDec#0

[0352] 55OAM unit

[0353] 57DLL Register

[0354] 58 Frame Constructor

[0355] 59 Frame Deconstructor

[0356] 65OAM unit

[0357] 60PEnc#0

[0358] 62PDec#0

[0359] 67 DLL Register

[0360] 68 Frame Builder

[0361] 69 Frame Deconstructor

[0362] 70PEnc#1

[0363] 71,73,81,83 registers

[0364] 72PDec#1

[0365] 80PEnc#2

[0366] 82PDec#2

[0367] 90PEnc#3

[0368] 92PDec#3

[0369] 110 Uplink Tx

[0370] 115 Leaf Equipment

[0371] 116 Controller

[0372] 118 Timer

[0373] 180 Downlink Rx

[0374] 200 cameras

[0375] 310 Downlink Tx

[0376] 380 Uplink Rx

Claims

1. A communication device that alternately sends information to and receives information from a communication partner device in a time period allocated by a time division duplex (TDD) communication mode, the communication device comprising: a PHY configured to receive a first transmission signal conforming to a predetermined communication protocol from the communication partner device, perform error correction on a plurality of first packets included in the first transmission signal, and transmit a second transmission signal to be transmitted to the communication partner device to the communication partner device; a LINK configured to separate the plurality of first packets, aggregate a plurality of second packets included in a second transmission signal, and send the aggregated second packets to the PHY; a plurality of decoders configured to decode the plurality of first packets; as well as a plurality of encoders configured to generate the plurality of second packets, wherein The PHY includes: an error information storage unit configured to store error information about each of the plurality of decoders and the plurality of encoders, and An operation, administration and maintenance OAM unit is configured to include error information in a second packet among the plurality of second packets.

2. The communication device according to claim 1, wherein The error information storage unit stores error information in which whether each of the plurality of decoders and the plurality of encoders causes an error is indicated by one bit.

3. The communication device according to claim 1, wherein The error information stored in the error information storage unit includes error information on each of a decoder and an encoder included in the OAM unit.

4. The communication device according to claim 1, wherein the PHY performs error correction on the plurality of first packets included in the first transmission signal, The LINK generates a second packet including uncorrectable error information indicating that the PHY fails to correctly perform error correction, and The error information includes reception time information of the first and second uncorrectable first packets in the transmission unit of the TDD communication mode, total number information of the uncorrectable first packets in the transmission unit, and identification information of the first and second uncorrectable first packets in the transmission unit.

5. The communication device according to claim 1, wherein The error information includes the error information of the LINK.

6. The communication device according to claim 5, wherein The LINK includes: a first storage unit configured to store information indicating that there is no transmission destination information in the schedule table or that an abnormality has occurred in which the transmission destination itself does not exist, a second storage unit configured to store information indicating a situation where there is no received data or an abnormality has occurred during a receiving operation, and a third storage unit configured to store information indicating that part of the received data is lost, and The error information of the LINK includes information stored in the first storage unit, the second storage unit, and the third storage unit.

7. The communication device according to claim 1, wherein The plurality of first packets include at least one of an application packet or a first OAM packet, and The second packet generated by the OAM unit includes a second OAM packet generated in response to reception of the first OAM packet.

8. The communication device according to claim 7, wherein The first OAM packet includes a first header and a first payload, The first header or the first payload includes a request to send error information, and In case the first OAM packet includes a transmission request of error information, the OAM unit includes the error information in a second OAM packet.

9. The communication device according to claim 8, wherein The second OAM packet comprises a second header and a second payload, A request to send error information is included in the first header, and In case the first header includes the transmission request of error information, the OAM unit includes the error information in a second header of a second OAM packet.

10. The communication device according to claim 9, wherein The second header includes mode selection information, and In the case where the second header includes error information, the mode selection information is set to a reserved bit of the OAM header of the ASA specification version 1.

01.

11. The communication device according to claim 8, wherein The second OAM packet comprises a second header and a second payload, A request to send error information is included in the first payload, and In case the first payload includes a transmission request of error information, the OAM includes the error information in a second payload of a second OAM packet.

12. The communication device according to claim 7, wherein The error information storage unit includes a plurality of storage bodies, wherein the plurality of storage bodies are configured to store error information generated in different transmission units in a TDD communication mode, and In a case where a transmission request of error information of any one of the plurality of memory banks is included in the first OAM packet, the OAM unit includes error information of the corresponding memory bank in a second OAM packet.

13. The communication device according to claim 12, wherein The LINK clears the error information of the memory banks other than the memory bank for which the transmission request is made in the first OAM packet from the error information storage unit.

14. The communication device according to claim 13, wherein The LINK stores newly generated error information for each transmission unit in at least one cleared memory bank in the error information storage unit.

15. A communication device that alternately sends information to and receives information from a communication partner device in a time period allocated by a time division duplex (TDD) communication mode, the communication device comprising: a PHY configured to receive a first transmission signal conforming to a predetermined communication protocol from the communication partner device and perform error correction on a plurality of first packets included in the first transmission signal; as well as LINK, the LINK being configured to separate the plurality of first packets after error correction, and to generate a second packet including uncorrectable error information of the first packets for which error correction is not correctly performed, wherein The PHY sends a second transmission signal including a second packet to the communication partner device, The plurality of first packets include a first OAM packet, The second packet includes a second OAM packet, The LINK includes a register, the register includes a plurality of storage banks for storing uncorrectable error information generated in different transmission units of the TDD communication mode, and In a case where the first OAM packet includes a request to transmit uncorrectable error information of any one of the plurality of memory banks, the LINK includes the uncorrectable error information of the corresponding memory bank in the register in a second OAM packet.

16. The communication device according to claim 15, wherein The uncorrectable error information includes reception time information of the first uncorrectable error application packet in the transmission unit of the transmission signal and total number information of the uncorrectable error application packets in the transmission unit. The first OAM packet includes information specifying one of the plurality of memory banks and address information of a register in which uncorrectable error information of the specified memory bank is stored, and The address information in the first OAM packet includes first address information specifying reception time information in the register, and second address information specifying total number information in the register.

17. The communication device according to claim 15, wherein The uncorrectable error information includes reception time information of n uncorrectable error application packets from the beginning in the transmission unit of the transmission signal, and total number information of the uncorrectable error application packets in the transmission unit, wherein n is an integer of 1 or more, The first OAM packet includes information specifying one of the plurality of memory banks and address information of a register in which uncorrectable error information of the specified memory bank is stored, and The address information in the first OAM packet includes n first address information specifying n reception time information in the register, and second address information specifying total number information in the register.

18. The communication device according to claim 15, wherein The uncorrectable error information includes reception time information of an application packet that is initially uncorrectable in a transmission unit of the transmission signal, total number information of application packets that are initially uncorrectable in the transmission unit, identification information of an application packet that is initially uncorrectable in the transmission unit of the transmission signal, and bit string information in which whether or not uncorrectable is assigned to each application packet sent in the transmission unit in units of bits, The first OAM packet includes information specifying one of the plurality of memory banks and address information of a register in which uncorrectable error information of the specified memory bank is stored, and The address information in the first OAM packet includes first address information specifying reception time information in the register, second address information specifying total number information in the register, third address information indicating identification information in the register, and fourth address information specifying bit string information in the register.

19. A communication device that alternately sends information to and receives information from a communication partner device in a time period allocated by a time division duplex (TDD) communication mode, the communication device comprising: LINK, the LINK being configured to generate a transmission packet including a plurality of first packets; as well as A PHY is configured to generate a first transmission signal conforming to a predetermined communication protocol based on the transmission packet, send the first transmission signal to the communication partner device, and receive a second transmission signal from the communication partner device, wherein The LINK includes an OAM unit configured to generate a first OAM packet for the communication partner device, and extract error information from a second OAM packet sent by the communication partner device in response to the first OAM packet, the first OAM packet including a request for sending error information of a plurality of decoders and a plurality of encoders included in the communication partner device, and The plurality of first packets include application packets and first OAM packets.

20. A communication system, comprising: a first communication device; as well as a second communication device, the second communication device being configured to alternately send information to the first communication device and receive information from the first communication device within a time period allocated by a time division duplex (TDD) communication method, The first communication device comprises: a PHY configured to receive a first transmission signal conforming to a predetermined communication protocol from a second communication device, perform error correction on a plurality of first packets included in the first transmission signal, and transmit a second transmission signal to be transmitted to the second communication device to the second communication device, LINK, the LINK being configured to separate the plurality of first packets, aggregate a plurality of second packets included in the second transmission signal, and transmit the aggregated second packets to the PHY, a plurality of decoders configured to decode the plurality of first packets, and a plurality of encoders configured to generate the plurality of second packets, and The PHY includes: an error information storage unit configured to store error information about each of the plurality of decoders and the plurality of encoders, and An operation, administration and maintenance OAM unit is configured to include error information in a second packet among the plurality of second packets.