Communication system, communication device and communication method

The communication system optimizes data transfer by varying packet lengths in the upper layer and maintaining fixed container lengths, addressing inefficiencies in ring-connected systems to enhance throughput and performance.

JP2024134188AInactive Publication Date: 2024-10-03KIOXIA CORP

Patent Information

Application Number
JP2023044370
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-20
Publication Date
2024-10-03
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing communication systems with a ring-shaped connection between a host controller and multiple communication devices face inefficiencies in data transfer due to fixed data lengths, leading to suboptimal communication throughput.

Method used

A communication system with variable data lengths for upper-layer packets and fixed lengths for lower-layer containers, allowing communication devices to divide or integrate data as needed to match the requirements of different operations, enhancing communication throughput.

Benefits of technology

This approach improves communication efficiency by adapting data lengths to match operational demands, thereby enhancing transfer performance and reducing inefficiencies in data handling.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024134188000001_ABST
    Figure 2024134188000001_ABST
Patent Text Reader

Abstract

To improve communication processing capability.SOLUTION: A communication system includes a host controller, communication devices, and a communication path which couples the host controller and the communication devices in a ring shape to transfer a communication frame of a serial signal. The communication frame includes containers. Each of the communication devices includes a first circuit configured to insert and extract first data into and from at least one of the containers, a bus coupled to the first circuit, and a second circuit coupled to the bus and configured to transmit and receive second data corresponding to the first data to and from the first circuit via the bus. The first data has a first data length which is a fixed length, and the second data has a second data length which is a unit of transfer of the second data and which is a variable length.SELECTED DRAWING: Figure 5
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] FIELD OF THE DISCLOSURE Embodiments of the present invention relate to a communication system, a communication device, and a communication method. [Background technology]

[0002] 2. Description of the Related Art In a communication system having a host controller and a plurality of communication devices, one known connection method is to connect the host controller and the plurality of communication devices in a ring shape. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2021-150878 A [Patent Document 2] JP 2022-49599 A Summary of the Invention [Problem to be solved by the invention]

[0004] An embodiment of the present invention provides a communication system, a communication device, and a communication method that can improve communication throughput. [Means for solving the problem]

[0005] A communication system according to an embodiment includes a host controller, a plurality of communication devices, and a communication path that connects the host controller and the plurality of communication devices in a ring shape and is capable of transmitting a communication frame of a serial signal. The communication frame includes a plurality of containers. Each of the plurality of communication devices includes a first circuit that can insert and remove first data into and from at least one of the plurality of containers, a bus connected to the first circuit, and a second circuit that is connected to the bus and is capable of transmitting and receiving second data corresponding to the first data to and from the first circuit via the bus. A first data length of the first data is fixed, and a second data length that is a unit of transfer of the second data is variable. [Brief description of the drawings]

[0006] [Figure 1] 1 is a block diagram showing an overall configuration of a communication system according to an embodiment. [Diagram 2] FIG. 2 is a block diagram of a communication device included in the communication system according to one embodiment. [Diagram 3] FIG. 2 is a diagram showing an example of a communication frame in a communication system according to an embodiment. [Figure 4] 1 is a diagram showing an example of transmission of a communication frame in a ring connection of a communication system according to an embodiment; [Diagram 5] 11 is a flowchart for extracting data from a container of a communication frame in a communication system according to an embodiment. [Figure 6] 11A and 11B are diagrams showing specific examples of dividing data extracted from a container of a communication frame in a communication system according to an embodiment. [Figure 7] 11A and 11B are diagrams showing a specific example of integrating data extracted from containers of multiple communication frames in a communication system according to an embodiment. [Figure 8] 11 is a flowchart for inserting data into a container of a communication frame in a communication system according to an embodiment. [Figure 9] 1A and 1B are diagrams showing specific examples of a case where data of multiple packets is integrated and inserted into a container of a communication frame in a communication system according to an embodiment. [Figure 10] 1A and 1B are diagrams showing specific examples of a case where packet data is divided and inserted into containers of separate communication frames in a communication system according to an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0007] Hereinafter, the embodiments will be described with reference to the drawings. In an embodiment or different embodiments, a plurality of components having substantially the same functions and configurations may be distinguished from each other by adding an additional number or letter to the end of the reference numeral. In the embodiment following a certain described embodiment, the differences from the described embodiment will be mainly described. All descriptions of one embodiment are applicable to the description of another embodiment, unless expressly or obviously excluded.

[0008] 1. Configuration A communication system according to an embodiment will be described below.

[0009] 1.1 Communication System Configuration First, an example of the configuration of a communication system 1 will be described with reference to Fig. 1. Fig. 1 is a block diagram showing the overall configuration of the communication system 1.

[0010] As shown in Fig. 1, the communication system 1 includes a system board 2, a connector 3, a host controller 4, multiple device cards 5, and multiple communication paths 8. In the example of Fig. 1, the communication system 1 includes n (n is an integer equal to or greater than 1) device cards 5-1 to 5-n. The communication system 1 also includes n communication paths 8-1 to 8-n corresponding to the n device cards 5-1 to 5-n, respectively.

[0011] The system board 2 is, for example, an accelerator board that supports ultra-wideband (for example, 200 GB / s or more) and large capacity.

[0012] The connector 3 is provided on the system board 2. The connector 3 is used for wired connection between the system board 2 and an external device (such as a computer). The connector 3 is connected to a host controller 4. Note that, in addition to the connector 3, the system board 2 may have a communication circuit used for wireless connection between the system board 2 and the external device.

[0013] The host controller 4 controls the entire communication system 1. The host controller 4 controls each communication device 6 mounted on the device card 5. For example, when the communication device 6 is a memory device, the host controller 4 requests (commands) the communication device 6 to perform a data write operation or a data read operation. In other words, when the communication device 6 is a memory device, the communication system 1 can also be referred to as a memory system. The host controller 4 includes a connector interface circuit 41 and a device interface circuit 42.

[0014] The connector interface circuit 41 transmits and receives information to and from an external device via the connector 3 .

[0015] The device interface circuit 42 transmits and receives information to and from the device card 5 via the communication path 8. For example, the device interface circuit 42 is configured to be capable of transmitting and receiving differential serial signals.

[0016] Each device card 5 includes a substrate 7 and a plurality of communication devices 6. In the example of Fig. 1, each device card 5 includes four communication devices 6-1 to 6-4. The communication devices 6-1 to 6-4 are mounted on the substrate 7 by soldering, sockets, or the like. For example, the communication devices 6-1 to 6-4 may be arranged side by side along the longitudinal direction of the substrate 7.

[0017] The communication device 6 is a device that operates based on communication with the host controller 4. In the following, a case where the communication device 6 is a memory device equipped with a NAND type flash memory will be described. For example, the communication device 6 may be a memory system such as an SSD (Solid State Drive) equipped with a NAND type flash memory. In addition, when the communication device 6 is a memory device, the device card 5 may also be written as a memory card. The communication device 6 is communicatively connected to the device interface circuit 42 via a communication path 8.

[0018] The communication paths 8-1 to 8-n correspond to the device cards 5-1 to 5-n, respectively. Each communication path 8 connects the device interface circuit 42 and the communication devices 6-1 to 6-4 included in the corresponding device card 5 in a ring configuration. More specifically, the data output terminal of the device interface circuit 42, the communication devices 6-1, 6-2, 6-3, 6-4, and the data input terminal of the device interface circuit 42 are connected in a ring configuration via the communication path 8. Each communication path 8 is capable of transmitting differential serial signals.

[0019] A plurality of communication devices 6 of one device card 5 transmit and receive communication frames of differential serial signals via a communication path 8. A communication frame is a unit of data transmitted via the communication path 8. In the case of a ring connection, a communication frame output from a host controller 4 is input to the host controller 4 via a communication device 6-1, a communication device 6-2, a communication device 6-3, and a communication device 6-4. A communication frame includes a plurality of containers. A container length indicating the length (or size) of each container included in a communication frame is a fixed length. In other words, a data length indicating the length (or size) of data (information) included in one container is a fixed length. Each communication device 6 performs insertion and removal of data to and from a container of a communication frame according to a predetermined condition. Insertion and removal of data includes inserting (writing) data into a container and extracting (reading) data from a container. For example, a communication frame may include a number of containers according to a required bandwidth and the bandwidth of each communication device 6.

[0020] The communication system 1 may be configured without the system board 2. The connector interface circuit 41 may be directly connected to an external device without the connector 3. The system board 2 and the substrate 7 may be integrally formed.

[0021] 1.2 Configuring communication devices Next, the configuration of the communications device 6 will be described with reference to Fig. 2. Fig. 2 is a block diagram of the communications device 6. The example of Fig. 2 shows a case where the communications device 6 is a memory device equipped with a NAND flash memory as a non-volatile memory.

[0022] 2, the communications device 6 includes a system on chip (SoC) 60, a dynamic random access memory (DRAM) 601, and a plurality of NAND flash memories 602. Hereinafter, the NAND flash memory 602 will also be referred to as a NAND memory 602.

[0023] The SoC 60 is a device system that operates in response to a request from the host controller 4. The SoC 60 controls the DRAM 601 and the NAND memory 602. For example, the SoC 60 commands the NAND memory 602 to perform a read operation, a write operation, and the like. The SoC 60 includes a receiving unit (hereinafter also referred to as "Rx") 61, a transmitting unit (hereinafter also referred to as "Tx") 62, a protocol conversion unit (hereinafter also referred to as "PCS") 63, a communication control circuit (hereinafter also referred to as "CONT") 64, an internal bus 65, a CPU (Central Processing Unit) 66, a DRAM controller 67, a NAND controller 68, and an SRAM (Static Random Access Memory) 69. The SoC 60 is configured as a circuit device including these configurations.

[0024] The configuration including the receiving unit 61, the transmitting unit 62, the protocol conversion unit 63, and the communication control circuit 64 functions as an interface circuit that controls transmission and reception of data between the host controller 4 and its own device (communication device 6). The communication control circuit 64, the CPU 66, the DRAM controller 67, the NAND controller 68, and the SRAM 69 are connected to each other via an internal bus 65.

[0025] The receiving unit 61 is a receiving circuit. The receiving unit 61 corresponds to a physical layer. The receiving unit 61 is connected to the communication path 8 and the protocol conversion unit 63. The receiving unit 61 receives a communication frame from the host controller 4 or the preceding communication device 6 via the communication path 8. The receiving unit 61 performs physical processing such as waveform equalization on the received communication frame and supplies it to the protocol conversion unit 63.

[0026] The transmitting unit 62 is a transmitting circuit. The transmitting unit 62 corresponds to a physical layer. The transmitting unit 62 is connected to the communication path 8 and the protocol conversion unit 63. The transmitting unit 62 performs physical processing such as waveform equalization on the communication frame supplied from the protocol conversion unit 63. The transmitting unit 62 transmits the communication frame to the communication path 8 toward the downstream communication device 6 or the host controller 4.

[0027] The protocol conversion unit 63 performs protocol conversion of the communication frame. The protocol conversion unit 63 corresponds to the link layer. The protocol conversion unit 63 is connected to the communication control circuit 64. For example, the protocol conversion unit 63 converts the communication frame received from the receiving unit 61 into a protocol of a higher layer. In other words, the protocol conversion unit 63 converts the communication frame received from the receiving unit 61 into a protocol of a higher layer according to the bus protocol of the internal bus 65. The higher layer is a layer higher than the link layer when the communication layer structure in the communication between the host controller 4 and the communication device 6 is roughly divided. For example, the internal bus 65 and each circuit connected to the communication control circuit 64 via the internal bus 65 (CPU 66, DRAM controller 67, NAND controller 68, SRAM 69, DRAM 601, and NAND memory 602) correspond to the higher layer. The protocol conversion unit 63 transmits the communication frame, which has been protocol-converted to match the higher layer, to the communication control circuit 64.

[0028] Furthermore, the protocol conversion unit 63 converts the protocol of the communication frame received from the communication control circuit 64 in accordance with the protocol of the lower layer. In other words, the protocol conversion unit 63 converts the protocol of the communication frame received from the communication control circuit 64 in accordance with the protocol corresponding to the communication path 8. The lower layer is a layer lower than the physical layer when the communication layer structure is roughly divided. The protocol conversion unit 63 transmits the communication frame, whose protocol has been converted to match the lower layer, to the transmission unit 62.

[0029] The communication control circuit 64 inserts and removes data from a container of a communication frame corresponding to its own device. The communication control circuit 64 corresponds to a link layer. For example, the communication control circuit 64 extracts data (information) from a container of a communication frame received from the protocol conversion unit 63 and corresponding to its own device. The communication control circuit 64 also inserts data (information) of a packet of a higher layer into an empty container of the communication frame. A packet is a transmission unit of data transmitted and received between the communication control circuit 64 and the higher layer in response to an operation (write operation, read operation, etc.) executed in the higher layer. The higher layer includes multiple devices connected via an internal bus 65.

[0030] The communication control circuit 64 also compares the container length of the container with the packet length of the packet, and then divides or combines the data contained in the container or packet based on the comparison result.

[0031] The container length is the container length of each container included in the communication frame. More specifically, the container length is proportional to the container payload length of the container payload included in the container. The container payload will be described later. In other words, the container length is proportional to the data length of the data included in the container (container payload) of the communication frame.

[0032] The packet length is based on the system specifications of the upper layer. For example, the packet length may be set based on the bus protocol of the internal bus 65. The packet length is proportional to the data length of the data contained in the packet transmitted / received (transferred) between the communication control circuit 64 and the internal bus 65 in response to the operation executed in the upper layer. The packet length is variable. For example, the packet length (the data length of the transferred data) varies depending on the operation executed in the upper layer.

[0033] More specifically, for example, when a write operation is performed in the NAND memory 602 in the upper layer, the packet transmitted from the communication control circuit 64 to the upper layer includes write data, a command, and an address. When a read operation is performed in the NAND memory 602 in the upper layer, the packet transmitted from the communication control circuit 64 to the upper layer includes a command and an address. Also, when read data read from the NAND memory 602 is transmitted to a lower layer, the packet transmitted from the upper layer to the communication control circuit 64 includes read data. The data length of the read data may be different from the data length of the write data. Therefore, the packet length of the packet transmitted from the communication control circuit 64 to the upper layer during a write operation, the packet length of the packet transmitted from the communication control circuit 64 to the upper layer during a read operation, and the packet length of the packet transmitted from the upper layer to the communication control circuit 64 during a read operation are different. In this way, the packet length (data length) is made variable depending on the operation performed in the upper layer.

[0034] When the communication control circuit 64 extracts data from a container in a communication frame of a lower layer, if the container length is longer than the packet length, the communication control circuit 64 divides the data extracted from the container. Then, the communication control circuit 64 transmits the divided data (also referred to as "divided container data") to a higher layer as separate packets. On the other hand, when the communication control circuit 64 extracts data from a container, if the container length is shorter than the packet length, the communication control circuit 64 integrates the data extracted from multiple containers. Then, the communication control circuit 64 transmits the integrated data (also referred to as "integrated container data") to a higher layer as a single packet.

[0035] Furthermore, when the communication control circuit 64 receives packet data from a higher layer, if the container length is longer than the packet length, it integrates the data of multiple packets. Then, the communication control circuit 64 inserts the integrated data (also referred to as "integrated packet data") into one container. On the other hand, when the communication control circuit 64 receives packet data from a higher layer, if the container length is shorter than the packet length, it divides the packet data. Then, the communication control circuit 64 inserts the divided data (also referred to as "divided packet data") separately into multiple containers.

[0036] If the container length and the packet length are the same, the communication control circuit 64 does not divide or combine the received data.

[0037] The CPU 66 is a processor. The CPU 66 controls the operation of the entire communication device 6 based on a request from the host controller 4. The CPU 66 controls the DRAM controller 67, the NAND controller 68, and the SRAM 69 via the internal bus 65. For example, the CPU 66 commands the NAND controller 68 to perform write operations, read operations, etc. with respect to the NAND memory 602.

[0038] The DRAM controller 67 controls the DRAM 601 based on a request from the CPU 66. The DRAM controller 67 transmits and receives data to and from the DRAM 601 via a signal line IOa.

[0039] The DRAM 601 is a volatile memory. The DRAM 601 may be another type of volatile memory. The DRAM 601 temporarily stores data that the SoC 60 reads from the NAND memory 602, write data received from the host controller 4, and the like. The DRAM 601 may be implemented in the SoC 60.

[0040] The NAND controller 68 controls the NAND memory 602. One NAND controller 68 can control multiple NAND memories 602. The NAND controller 68 transmits and receives data to and from the NAND memory 602 via a signal line IOb. For example, the NAND controller 68 transmits data (such as a command, address, and data) corresponding to a write operation, a read operation, or an erase operation to the NAND memory 602. In addition, the NAND controller 68 receives read data from the NAND memory 602 during a read operation.

[0041] The NAND memory 602 is a non-volatile storage medium. The NAND memory 602 may be a non-volatile storage medium other than a NAND flash memory. The NAND memory 602 stores data received from the NAND controller 68 in a non-volatile manner. The NAND memory 602 also reads out the data stored in a non-volatile manner and transmits it to the NAND controller 68.

[0042] The SRAM 69 is a volatile memory. However, the SRAM 69 may be another type of volatile memory. The SRAM 69 can be used as a working area for the CPU 66.

[0043] 1.3 Communication Frame Structure Next, an example of the configuration of a communication frame will be described with reference to Fig. 3. Fig. 3 is a diagram showing an example of a communication frame. In the following description, the identification information of the host controller 4, the communication device 6-1, the communication device 6-2, the communication device 6-3, and the communication device 6-4 will be represented as ID0, ID1, ID2, ID3, and ID4, respectively.

[0044] As shown in Fig. 3, a plurality of communication frames FR are transmitted in sequence from the host controller 4. For example, each communication frame FR includes a plurality of containers CT of the same fixed length. In the example of Fig. 3, a communication frame FR-1 includes four containers CT (CT1 to CT4) of the same fixed length. Data (information) that can be inserted into or removed from the communication device 6 is stored in the containers CT. The same applies to the communication frames FR-2 and onward.

[0045] Each container CT may store data corresponding to the host controller 4 or any of the communication devices 6. In the example of FIG. 3, the container CT1 stores identification information ID1, i.e., data corresponding to the communication device 6-1. The container CT2 stores identification information ID2, i.e., data corresponding to the communication device 6-2. The container CT3 stores identification information ID3, i.e., data corresponding to the communication device 6-3. The container CT4 stores identification information ID4, i.e., data corresponding to the communication device 6-4. Note that the data stored in each container CT is arbitrary. The container CT1 may store identification information ID0, i.e., data corresponding to the host controller 4, or data corresponding to any of the identification information ID2 to ID4. Furthermore, the containers CT1 to CT4 may store data for the identification information ID1.

[0046] The container CT includes a container header CH and a container payload CP. The container header CH includes a CP identifier and destination information. The container header CH may also include source information. The CP identifier is an identifier that identifies the start of the container payload CP and the end of the container payload CP. The destination information includes the identification information ID of the destination communication device 6 or the host controller 4. For example, if the destination is the communication device 6-1, the destination information includes information related to the identification information ID1.

[0047] The container payload CP includes data transmitted and received (transferred) between a lower layer and a higher layer. The data length of the data included in the container payload CP is fixed. The container payload CP includes a packet header PH and one or more packet payloads PP. For example, the container payload CP may include multiple packet payloads PP in response to division or integration of data in the communication control circuit 64.

[0048] The packet header PH includes a PP identifier, which is an identifier for identifying the start and end of the packet payload PP, and may also include information regarding data segmentation or aggregation.

[0049] The packet payload PP includes data (information) corresponding to an operation executed in a higher layer. In other words, the packet payload PP includes data of the packet PK in the higher layer. For example, the packet payload PP may include destination information (address), attribute information (command) of an operation (read operation or write operation, etc.) executed in the higher layer, data (write data or read data, etc.), and packet length information. For example, when a write operation is executed in the NAND memory 602, the packet payload PP transmitted from the lower layer to the higher layer includes a write command, an address, and write data. Also, for example, when a read operation is executed in the NAND memory 602, the packet payload PP transmitted from the higher layer to the lower layer includes read data.

[0050] The communication control circuit 64 may divide or combine data based on the information in the packet header PH. In other words, the communication control circuit 64 may divide or combine packet payloads PP based on the information in the packet header PH.

[0051] 2. Example of sending communication frames in a ring connection Next, an example of transmission of a communication frame FR in a ring connection will be described with reference to Fig. 4. Fig. 4 is a diagram showing an example of transmission of a communication frame FR in a ring connection. Fig. 4 shows a host controller 4 and one device card 5 connected to the host controller 4. The example of Fig. 4 shows a case where data division or integration is not performed. In addition, in the example of Fig. 4, a NAND controller 68 connected to an internal bus 65 is shown, and other circuits and configurations are omitted for the sake of simplicity of explanation.

[0052] As shown in FIG. 4, for example, the host controller 4 transmits to the communication device 6-1 a communication frame FR in which data corresponding to identification information ID1 (communication device 6-1) is stored in container CT1, data corresponding to identification information ID2 (communication device 6-2) is stored in container CT2, data corresponding to identification information ID3 (communication device 6-3) is stored in container CT3, and data corresponding to identification information ID4 (communication device 6-4) is stored in container CT4.

[0053] In the communication device 6-1, data extraction from the container CT1 is executed. More specifically, the communication control circuit 64 of the communication device 6-1 executes the following operation. The communication control circuit 64 checks the destination information of the container header CH of each container CT. When the communication control circuit 64 checks that the container header CH of the container CT1 includes the identification information ID1 of its own device as the destination information, it extracts data from the container payload CP (packet payload PP) of the container CT1. The communication control circuit 64 transmits the extracted data to a higher layer as a packet PK. For example, when the extracted data (packet PK) includes a command, an address, and write data requesting a write operation, the CPU 66 controls the NAND controller 68 to execute a write operation to the NAND memory 602.

[0054] For example, in the communication device 6-1, when there is data to be inserted into the container CT1 (data of the packet PK), the communication control circuit 64 converts the destination information of the container header CH of the container CT1 from the identification information ID1 of the own device to the identification information ID0 of the host controller 4. Then, the communication control circuit 64 inserts the data to be transmitted to the host controller 4 into the container payload CP (packet payload PP) of the container CT1 to update the communication frame FR. For example, when the data to be inserted is read data corresponding to a command requesting a read operation that was included in the already received communication frame FR, the communication control circuit 64 inserts the data read from the NAND memory 602 into the container payload CP of the container CT1. That is, data corresponding to the identification information ID0 is inserted into the container CT1. Note that, when there is no data to be inserted into the container CT (packet PK), the communication control circuit 64 erases the data of the container header CH and container payload CP of the container CT to make them empty (Null), and updates the communication frame FR. The communication device 6-1 transmits the updated communication frame FR to the communication device 6-2.

[0055] In the communication device 6-2, similarly to the communication device 6-1, insertion and removal of data of the container CT2 is executed. As a result, data corresponding to the identification information ID2 is extracted from the container CT2. Then, for example, data corresponding to the identification information ID0 is inserted into the container CT2. The communication device 6-2 transmits an updated communication frame FR to the communication device 6-3.

[0056] In the communication device 6-3, similarly to the communication device 6-1, insertion and removal of data for the container CT3 is performed. As a result, data corresponding to the identification information ID3 is extracted from the container CT3. Then, for example, data corresponding to the identification information ID0 is inserted into the container CT3. The communication device 6-3 transmits an updated communication frame FR to the communication device 6-4.

[0057] In the communication device 6-4, similarly to the communication device 6-1, insertion and removal of data of the container CT4 is executed. As a result, data corresponding to the identification information ID4 is extracted from the container CT4. Then, for example, data corresponding to the identification information ID0 is inserted into the container CT4. The communication device 6-4 transmits an updated communication frame FR to the host controller 4.

[0058] 3. Extracting data from the communication frame container Next, a case where data is extracted from a container CT in a communication frame FR will be described.

[0059] 3.1 Flow of extracting data from a communication frame container A flow of operations when data is extracted from a container CT of a communication frame FR will be described with reference to Fig. 5. Fig. 5 is a flow chart showing operations when data is extracted from a container CT of a communication frame FR.

[0060] As shown in FIG. 5, first, the communication device 6 extracts data from the container CT of the communication frame FR corresponding to the own device (S11). More specifically, the receiving unit 61 transmits the received communication frame FR to the protocol conversion unit 63. The protocol conversion unit 63 executes protocol conversion corresponding to the upper layer (bus protocol of the internal bus 65) for the communication frame FR. The protocol conversion unit 63 transmits the protocol-converted communication frame FR to the communication control circuit 64. The communication control circuit 64 checks the container header CH of each container CT and extracts the data of the container payload CP from the container CT corresponding to the own device. Furthermore, the communication control circuit 64 refers to the packet header PH and extracts the data of the packet payload PP from the container payload CP.

[0061] The communication control circuit 64 compares the packet length with the container length (S12). For example, the communication control circuit 64 refers to the packet header PH and compares the packet length with the container length (container payload length).

[0062] If the packet length is shorter than the container length (S12_Yes), the communication control circuit 64 divides the data extracted from the packet payload PP according to the packet length (S13). In other words, the communication control circuit 64 generates a plurality of divided packet payloads PP.

[0063] The communication control circuit 64 converts the divided data (divided container data) into separate packets PK and transmits them to the upper layer (S14). More specifically, the communication control circuit 64 generates a plurality of packets PK for each of the divided data. For example, when two divided data correspond to different write operations, each packet PK includes write data, a command, and an address. The communication control circuit 64 transmits the two packets PK separately to the upper layer. For example, the communication control circuit 64 transmits the two packets PK to separate circuits (different two of the CPU 66, the DRAM controller 67, the NAND controller 68, and the SRAM 69) in the upper layer. Alternatively, the communication control circuit 64 transmits the two packets PK in a time-division manner to the same circuit (any of the CPU 66, the DRAM controller 67, the NAND controller 68, and the SRAM 69) in the upper layer.

[0064] If the packet length is longer than the container length (S12_No and S15_Yes), the communication control circuit 64 collects and integrates data of multiple containers CT (packet payload PP) until the data length of the extracted data reaches the packet length (S16). That is, the communication control circuit 64 integrates data of multiple containers CT (packet payload PP).

[0065] The communication control circuit 64 converts the integrated data (integrated container data) into one packet PK and transmits it to the upper layer (S17). More specifically, the communication control circuit 64 generates one packet PK corresponding to the integrated data. For example, if the integrated data corresponds to one write operation, the packet PK includes write data, a command, and an address. The communication control circuit 64 transmits the packet PK to the upper layer.

[0066] If the packet length and the container length are the same (S12_No and S15_No), the communication control circuit 64 puts the data of the packet payload PP into one packet PK and transmits it to a higher layer (S18).

[0067] 3.2 Example of splitting data extracted from a communication frame container Next, a specific example of dividing data extracted from a container CT of a communication frame FR will be described with reference to Fig. 6. Fig. 6 is a diagram showing a specific example of dividing data extracted from a container CT of a communication frame FR. The example of Fig. 6 shows a case where a communication device 6-1 divides data of a container CT1 of a communication frame FR-1. In the example of Fig. 6, to simplify the explanation, the packet payload PP of the target container CT (container CT1 of the communication frame FR-1) is shown, and other containers CT are omitted.

[0068] As shown in FIG. 6, the communication frame FR-1 in the lower layer includes four containers CT1 to CT4. For example, the container CT1 in the communication frame FR-1 includes data of the packet payload PP1. For example, the communication control circuit 64 (CONT) of the communication device 6-1 extracts the data of the packet payload PP1 from the container payload CP of the container CT1. The communication control circuit 64 compares the packet length with the container length by referring to the packet header PH. For example, if the packet length is 1 / 2 the container length, the communication control circuit 64 divides the data of the packet payload PP1 into two. In other words, the communication control circuit 64 divides the packet payload PP1 into two. Hereinafter, the two divided packet payloads PP1 are referred to as packet payloads PP1a and PP1b. The communication control circuit 64 transmits the data of the packet payload PP1a and the data of the packet payload PP1b to the upper layer separately. That is, the communication control circuit 64 transmits the packet PK including the data of the packet payload PP1a and the packet PK including the data of the packet payload PP1b to the upper layer separately.

[0069] In the example of FIG. 6, the communication control circuit 64 of the communication device 6-1 divides the data of one packet payload PP based on the packet length, but the present invention is not limited to this. For example, the host controller 4 may insert two packet payloads PP to be divided by the communication device 6 into the container payload CP of one container CT in advance. That is, the host controller 4 may control the division of data. In the example of FIG. 6, the container CT1 includes packet payloads PP1a and PP1b in advance. In this case, the communication control circuit 64 may divide the data for each packet payload PP based on the number of packet payloads PP included in the container payload CP of the container CT1.

[0070] 3.3 Example of integrating data extracted from containers of multiple communication frames Next, a specific example of integrating data extracted from containers CT of multiple communication frames FR will be described with reference to Fig. 7. Fig. 7 is a diagram showing a specific example of integrating data extracted from containers CT of multiple communication frames FR. The example of Fig. 7 shows a case where the communication device 6-1 integrates a container CT1 of a communication frame FR-1 and a container CT1 of a communication frame FR-2. In the example of Fig. 7, in order to simplify the explanation, the packet payload PP of the target container CT (the container CT1 of the communication frame FR-1 and the container CT1 of the communication frame FR-2) is shown, and the other containers CT are omitted.

[0071] As shown in FIG. 7, the communication frame FR-1 in the lower layer includes four containers CT1 to CT4. For example, the container CT1 in the communication frame FR-1 includes data of a packet payload PP1. Similarly, the container CT1 in the communication frame FR-2 includes data of a packet payload PP2. For example, the communication control circuit 64 (CONT) of the communication device 6-1 extracts the data of the packet payload PP1 from the container payload CP of the container CT1 in the communication frame FR-1. The communication control circuit 64 compares the packet length with the container length by referring to the packet header PH. For example, if the packet length is twice the container length, the communication control circuit 64 further extracts the data of the packet payload PP2 from the container payload CP of the container CT1 in the communication frame FR-2. Then, the communication control circuit 64 integrates the data of the packet payload PP1 and the data of the packet payload PP2. In other words, the communication control circuit 64 integrates the packet payload PP1 and the packet payload PP2. The communication control circuit 64 transmits a packet PK including the integrated data (integrated container data) to the upper layer.

[0072] 4. Inserting data into the communication frame container Next, a case where data is inserted into a container CT of a communication frame FR will be described.

[0073] 4.1 Flow of inserting data into container CT of communication frame The flow of inserting data into a container CT of a communication frame FR will be described with reference to Fig. 8. Fig. 8 is a flowchart of the process of inserting data into a container CT of a communication frame FR.

[0074] 8, the communication control circuit 64 receives a packet PK from a higher layer (S21). That is, the communication control circuit 64 receives data to be inserted into a container CT of a communication frame FR from the higher layer.

[0075] The communication control circuit 64 compares the packet length with the container length (S22). More specifically, for example, the communication control circuit 64 checks the packet length of the packet received from the upper layer. Then, the communication control circuit 64 compares the packet length with the container length.

[0076] If the packet length is shorter than the container length (S22_Yes), the communication control circuit 64 collects and integrates the data of multiple packets PK until the data length of the data received from the upper layer reaches the container length (S23). In other words, the communication control circuit 64 collects and integrates the data of multiple packets PK until the data length reaches the container length.

[0077] The communication control circuit 64 inserts the integrated data (integrated packet data) into one empty container CT of the communication frame FR and transmits it to a lower layer (S24). More specifically, the communication control circuit 64 inserts a packet payload PP including the integrated data and a packet header PH corresponding to the packet payload PP into the container payload CP of the empty container CT. The packet header PH may include information indicating that it is integrated data. Furthermore, the communication control circuit 64 updates the container header CH of the empty container CT. The communication control circuit 64 transmits the communication frame FR including the updated container CT to the protocol conversion unit 63. The protocol conversion unit 63 performs protocol conversion of the communication frame FR and then transmits the communication frame FR to the transmission unit 62. The transmission unit 62 transmits the communication frame FR to the communication path 8.

[0078] If the packet length is longer than the container length (S22_No and S25_Yes), the communication control circuit 64 divides the data of the packet PK according to the container length (S26). In other words, the communication control circuit 64 divides the packet PK according to the container length.

[0079] The communication control circuit 64 inserts the divided data (divided packet data) into separate empty containers CT and transmits them to a lower hierarchical level (S27). More specifically, the communication control circuit 64 inserts a packet payload PP including the divided data and a packet header PH corresponding thereto into the container payload CP of each empty container CT. The packet header PH may include information indicating that the data is divided. Furthermore, the communication control circuit 64 updates the container header CH of each empty container CT. The communication control circuit 64 transmits a communication frame FR including the updated container CT to the protocol conversion unit 63. The protocol conversion unit 63 performs protocol conversion of the communication frame FR, and then transmits the communication frame FR to the transmission unit 62. The transmission unit 62 transmits the communication frame FR to the communication path 8.

[0080] If the packet length and the container length are the same (S22_No and S25_No), the communication control circuit 64 inserts the data of the packet PK as one packet payload PP into an empty container CT and transmits it to a lower hierarchical level (S28).

[0081] 4.2 Specific example of integrating data from multiple packets and inserting it into a communication frame container Next, a specific example of a case where data of multiple packets PK is integrated and inserted into a container CT of a communication frame FR will be described with reference to Fig. 9. Fig. 9 is a diagram showing a specific example of a case where data of multiple packets PK is integrated and inserted into a container CT of a communication frame FR. The example of Fig. 9 shows a case where the communication device 6-1 inserts integrated data of multiple packets PK into a container CT1 of a communication frame FR-1. In the example of Fig. 9, to simplify the explanation, the target container CT (container CT1 of the communication frame FR-1) is shown, and other containers CT are omitted.

[0082] 9, the communication control circuit 64 (CONT) of the communication device 6-1 receives data contained in a packet PK1 from a higher layer. The communication control circuit 64 compares the packet length with the container length. For example, if the packet length is 1 / 2 the container length, the communication control circuit 64 further receives data contained in a packet PK2 from a higher layer. The communication control circuit 64 combines the data of the packets PK1 and PK2. In other words, the communication control circuit 64 combines the packets PK1 and PK2.

[0083] For example, the container CT1 of the communication frame FR-1 in the lower layer is in a null state. In this case, the communication control circuit 64 inserts a packet payload PP including integrated data and a packet header PH corresponding to the packet payload PP into the container payload CP of the container CT1 of the communication frame FR-1. Furthermore, the communication control circuit 64 updates the container header CH.

[0084] 4.3 Example of splitting packet data and inserting it into separate communication frame containers Next, a specific example of a case where data of a packet PK is divided and inserted into containers CT of different communication frames FR will be described with reference to Fig. 10. Fig. 10 is a diagram showing a specific example of a case where data of a packet PK is divided and inserted into containers CT of different communication frames FR. The example of Fig. 10 shows a case where the communication device 6-1 inserts divided data of a packet PK into a container CT1 of a communication frame FR-1 and a container CT1 of a communication frame FR-2, respectively. In the example of Fig. 10, the target containers CT (container CT1 of the communication frame FR-1 and container CT1 of the communication frame FR-2) are shown, and other containers CT are omitted.

[0085] 10, the communication control circuit 64 (CONT) of the communication device 6-1 receives data contained in a packet PK3 from a higher layer. The communication control circuit 64 compares the packet length with the container length. For example, if the packet length is twice the container length, the communication control circuit 64 divides the data contained in the packet PK3 into two. In other words, the communication control circuit 64 divides the packet PK3. Then, the communication control circuit 64 generates a packet payload PP3a including one of the divided data and a packet payload PP3b including the other of the divided data.

[0086] For example, the container CT1 of the communication frame FR-1 in the lower layer and the container CT1 of the communication frame FR-2 are in a null state. In this case, the communication control circuit 64 inserts a packet payload PP3a and a packet header PH corresponding to the packet payload PP3a into the container payload CP of the container CT1 of the communication frame FR-1. Furthermore, the communication control circuit 64 updates the container header CH of the container CT1 of the communication frame FR-1. Similarly, the communication control circuit 64 inserts a packet payload PP3b and a packet header PH corresponding to the packet payload PP3b into the container CT1 of the communication frame FR-2. Furthermore, the communication control circuit 64 updates the container header CH of the container CT1 of the communication frame FR-2.

[0087] 5. Effects of this embodiment The configuration according to this embodiment can provide a communication system that can improve communication processing capabilities. The effects of this embodiment will be described in detail below.

[0088] For example, when the container length of the lower layer and the packet length of the upper layer are the same fixed length, the container length and the packet length are set according to the packet with the longest data length required for the operation executed in the upper layer. For example, when the packet length of a packet corresponding to a write operation is longer than the packet length of a packet corresponding to a read operation, the packet length and the container length are set according to the packet length of the packet corresponding to the write operation. For this reason, for example, when data with a relatively short packet length such as a read operation is transmitted from a higher layer to a lower layer, padding data is inserted into the free space of the container of the communication frame of the lower layer. For this reason, the transfer efficiency of the data (communication frame) deteriorates. In other words, the transfer performance in the communication system decreases.

[0089] In contrast, in the configuration according to the present embodiment, the packet length of the upper layer of the communication device 6 can be made variable. Then, the communication control circuit 64 of the communication device 6 can divide or integrate the received data. More specifically, when extracting data from the container CT of the communication frame FR, if the container length is longer than the packet length, the communication device 6 can divide the data extracted from the container CT and transmit it to the upper layer. Also, when extracting data from the container CT of the communication frame FR, if the container length is shorter than the packet length, the communication device 6 can integrate the data of multiple containers CT and transmit it to the upper layer. Furthermore, when inserting data into the container CT of the communication frame FR, if the container length is longer than the packet length, the communication device 6 can integrate the data of multiple packets PK and insert it into an empty container CT of the communication frame FR. Also, when inserting data into the container CT of the communication frame FR, if the container length is shorter than the packet length, the communication device 6 can divide the data of the packet PK and insert it into multiple empty containers CT of the communication frame FR. This makes it possible to suppress deterioration in the transfer efficiency of data (communication frames FR) and suppress deterioration in transfer performance in the communication system.

[0090] 6.Other In the above embodiment, the communication device 6 is a memory device including a NAND flash memory, but the communication device 6 is not limited to a memory device. In addition, the multiple communication devices 6 mounted on one device card 5 may be different communication devices 6.

[0091] In the above embodiment, the case where the communication control circuit 64 controls the division or integration of data has been described, but the present invention is not limited to this. The host controller 4 may also control the division or integration of data. In this case, the host controller 4 may insert information instructing the division or integration of data into the packet PK of the communication frame FR. The communication control circuit 64 may execute the division or integration of data based on the information instructing the division or integration of data.

[0092] Although some embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and their modifications are included in the scope and spirit of the invention, and are included in the scope of the invention and its equivalents described in the claims. [Explanation of symbols]

[0093] 1...communication system, 2...system board, 3...connector, 4...host controller, 5...device card, 6...communication device, 7...substrate, 8...communication path, 41...connector interface circuit, 42...device interface circuit, SoC...60, 61...receiving unit, 62...transmitting unit, 63...protocol conversion unit, 64...communication control circuit, 65...internal bus, 66...CPU, 67...DRAM controller, 68...NAND controller, 69...SRAM, 601...DRAM, 602...NAND memory, CH...container header, CP...container payload, CT...container, FR...communication frame, PH...packet header, PK...packet, PP...packet payload

Claims

1. A host controller; A plurality of communication devices; a communication path that connects the host controller and the plurality of communication devices in a ring shape and is capable of transmitting a communication frame of a serial signal; Equipped with the communication frame includes a plurality of containers; Each of the plurality of communication devices a first circuit capable of inserting and removing first data into and from at least one of the plurality of containers; a bus connected to the first circuit; a second circuit connected to the bus and capable of transmitting and receiving second data corresponding to the first data to and from the first circuit via the bus; Including, a first data length of the first data is a fixed length, and a second data length, which is a unit of transfer of the second data, is a variable length; Communication systems.

2. When the first data length of the first data extracted from the first container included in the communication frame is longer than the second data length, the first circuit divides the first data based on the second data length, and transmits the divided first data as the second data to the second circuit via the bus. The communication system according to claim 1 .

3. When the first data length of the first data extracted from the first container included in the communication frame is shorter than the second data length, the first circuit aggregates the first data from each of the containers, the number of which is based on the second data length, and transmits the aggregated data as the second data to the second circuit via the bus. The communication system according to claim 1 .

4. When the first data length is longer than the second data length of the second data received from the second circuit, the first circuit aggregates the plurality of second data based on the first data length, and inserts the aggregated plurality of second data into any one of the plurality of containers as the first data. The communication system according to claim 1 .

5. When the first data length is shorter than the second data length of the second data received from the second circuit, the first circuit divides the second data based on the first data length, and inserts the divided second data as the first data into the same number of containers as the number into which the second data is divided, among the plurality of containers. The communication system according to claim 1 .

6. The second data length is based on a protocol of the bus. The communication system according to claim 1 .

7. the second circuit includes a memory device or a processor; The communication system according to claim 1 .

8. a receiving circuit for receiving a communication frame of a serial signal including a plurality of containers from a communication path connecting the host controller and a plurality of communication devices in a ring shape; a first circuit capable of inserting and removing first data into and from at least one of the plurality of containers; a bus connected to the first circuit; a second circuit connected to the bus and capable of transmitting and receiving second data to and from the first circuit via the bus; Equipped with a first data length of the first data is a fixed length, and a second data length, which is a unit of transfer of the second data, is a variable length; Communication devices.

9. A communication method in a communication system including a host controller, a plurality of communication devices each including a first circuit, a second circuit, and a bus connecting the first circuit and the second circuit, and a communication path connecting the host controller and the plurality of communication devices in a ring shape and capable of transmitting a communication frame of a serial signal including a plurality of containers, the communication method comprising: Transmitting a communication frame onto the communication path; inserting and extracting fixed-length first data into and from at least one of the plurality of containers in the first circuit; transmitting and receiving second data of a variable length corresponding to the first data to and from the second circuit via the bus; Equipped with Communication methods.

Citation Information

Patent Citations

  • Communication system, device and communication method

    JP2021150878A

  • Communication system, device, and communication method

    JP2022049599A

Cited By

  • Communication system, communication device and communication method

    US12676636B2