COMMUNICATION DEVICE, PROCESSOR, COMMUNICATION METHOD, AND PROGRAM

The communication device addresses transfer delays in IEEE802.1CB by allowing immediate transfer of frames, even if errors or duplicates are detected, thereby improving processing speed.

JP7532292B2Active Publication Date: 2024-08-13KK TOSHIBA
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2021040208
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-03-12
Publication Date
2024-08-13
Estimated Expiration
2041-03-12

AI Technical Summary

Technical Problem

Conventional techniques face challenges in reducing transfer delays due to data consistency confirmation processing in IEEE802.1CB, where frame duplication and error detection lead to inefficiencies.

Method used

A communication device with error detection and transfer control mechanisms that allow for immediate transfer of frames without waiting for error detection completion, by invalidating frames with errors or duplicates.

Benefits of technology

This approach reduces transfer delays by enabling data transfer before full duplication and error confirmation is completed, enhancing processing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007532292000001
    Figure 0007532292000001
  • Figure 0007532292000002
    Figure 0007532292000002
  • Figure 0007532292000003
    Figure 0007532292000003
Patent Text Reader

Abstract

To provide a communication apparatus, processor, communication method and program, capable of reducing a transfer delay by confirmation processing of data compatibility.SOLUTION: A communication apparatus includes a communication section, a transfer section, an error detection section and a transfer reactive control section. The communication section receives a frame. The transfer section transfers the frame to a frame storage section of a destination. The error detection section detects an error of the frame. The transfer reactive control section makes a transfer by the transfer section reactive when an error is detected by the error detection section.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a communication device, a processor, a communication method, and a program. [Background technology]

[0002] In IEEE802.1CB, one of the TSN (Time-Sensitive Networking) standards, frames are duplicated with sequence numbers and transmitted multiple times to improve reliability. This standard requires the receiving side to remove frames that have already been received (duplicate frames), but since there is a possibility that errors may have occurred in the frames, it is stipulated that the data integrity of the frames is checked before removal processing. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2009-32053 A [Non-patent literature]

[0004] [Patent Document 1] IEEE Std 802.1CB‐2017 [Patent Document 2] IEEE Std 802.1Q‐2018 Summary of the Invention [Problem to be solved by the invention]

[0005] With conventional technology, it has been difficult to reduce transfer delays caused by data consistency checking processes. [Means for solving the problem]

[0006] The communication device according to the embodiment includes a communication unit and Error detection unit and Transfer Department And transferand a transmission disable control unit. The communication unit receives a frame. The error detection unit executes an error detection process to detect errors in the frame. The transfer section is Without waiting for the end of the error detection process, The frame is forwarded to Processor Transfer to frame store Transfer A transmission disable control unit disables the transmission by the transmission unit when an error is detected by the error detection unit. [Brief description of the drawings]

[0007] [Figure 1] FIG. 2 is a diagram showing an example of a hardware configuration of a communication device according to the first embodiment. [Diagram 2] FIG. 2 is a diagram showing an example of a functional configuration of a communication device according to the first embodiment. [Diagram 3] FIG. 2 is a diagram showing an example of a descriptor according to the first embodiment. [Figure 4] FIG. 4 is a diagram showing an example of a status included in a descriptor according to the first embodiment. [Diagram 5] FIG. 2 is a diagram showing an example of a frame format according to the first embodiment. [Figure 6] 6 is a flowchart showing an example of an initialization process of the host processor according to the first embodiment. [Figure 7] 6 is a flowchart showing an example of a frame reception process of the network interface controller of the first embodiment. [Figure 8] 6 is a flowchart illustrating an example of a frame reception process of the host processor according to the first embodiment. [Figure 9] FIG. 4 is a diagram for explaining processing of overlapping frames according to the first embodiment. [Figure 10] 5A to 5C are diagrams for explaining processing of non-overlapping frames according to the first embodiment. [Figure 11] FIG. 11 is a diagram showing an example of a status included in a descriptor according to the second embodiment. [Figure 12] 10 is a flowchart showing an example of a frame reception process of a network interface controller according to the second embodiment. [Figure 13] 10 is a flowchart illustrating an example of a frame reception process of a host processor according to the second embodiment. [Figure 14]FIG. 13 is a diagram showing an example of a functional configuration of a communication device according to a third embodiment. [Figure 15] FIG. 13 is a diagram showing an example of a descriptor according to the third embodiment. [Figure 16] FIG. 13 is a diagram showing an example of a status included in a descriptor according to the third embodiment. [Figure 17] 13 is a flowchart showing an example of a frame reception process of a network interface controller according to the third embodiment. [Figure 18A] 13 is a flowchart illustrating an example of a frame reception process of the host processor according to the third embodiment. [Figure 18B] 13 is a flowchart illustrating an example of a frame reception process of the host processor according to the third embodiment. [Figure 19] FIG. 1 is a diagram showing an example of the configuration of a system using communication devices according to first to third embodiments. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0008] Hereinafter, embodiments of a communication device, a processor, a communication method, and a program will be described in detail with reference to the accompanying drawings.

[0009] If the sequence number contained in the frame is stored as a sequence number that has already been received without checking whether or not an error has occurred in the frame, and de-duplication processing is performed on the received frame, the incorrect sequence number will be processed as having already been received. Therefore, if an error has occurred in the frame, de-duplication processing may be performed on a frame that should not have been de-duped. To avoid this, IEEE802.1CB specifies that data consistency checks must be performed on the frame before de-duplication processing. For this reason, data consistency check processing is required when transferring data to the host.

[0010] An embodiment for reducing transfer delays caused by data consistency checking processing will be described in detail below.

[0011] (First embodiment) First, an example of the hardware configuration of the communication device of the first embodiment will be described.

[0012] [Example of hardware configuration] 1 is a diagram showing an example of a hardware configuration of a communication device 100 according to the first embodiment. The communication device 100 according to the present embodiment includes a memory 1, a host processor 2, a storage 3, a network interface controller 4, and a storage controller 5.

[0013] The memory 1 is connected to the host processor 2 via a memory controller in the host processor 2. The memory 1 is realized by, for example, a dynamic random access memory (DRAM).

[0014] The host processor 2 is connected to the storage controller 5 using a bus such as PCI Express (registered trademark). Similarly, the host processor 2 is connected to the network interface controller 4 using a bus such as PCI Express (registered trademark).

[0015] The host processor 2 loads an image of an execution program stored in the storage 3 into the memory 1, and executes processing while reading instructions and data on the memory 1. The processing is executed by one or more cores provided in the host processor 2. Note that while the memory 1 and the host processor 2 are shown separately in Fig. 1, in Fig. 2 and subsequent figures, the configuration realized by the combination of the memory 1 and the host processor 2 in Fig. 1 will be described as the functional configuration of the host processor.

[0016] The storage 3 is realized by, for example, a hard disk drive (HDD) and a solid state drive (SSD). The storage 3 is connected to the storage controller 5 by standards such as SATA, SAS, and U.2 (SFF-8639). The storage 3 and the storage controller 5 may be integrated.

[0017] The network interface controller 4 connects the host processor 2 to networks 200a and 200b. Hereinafter, when there is no need to distinguish between the networks 200a and 200b, they will simply be referred to as network 200. The network 200 is, for example, Ethernet (registered trademark). For example, the network interface controller 4 may have two physical Ethernet ports, each of which may be connected to the networks 200a and 200b. Also, for example, the network 200 supports a VLAN (Virtual LAN) defined by IEEE802.1Q.

[0018] The number of networks 200 may be two as shown in Fig. 1, or may be one, or three or more. It does not necessarily have to match the number of physical Ethernet ports, and a single Ethernet port may be used to connect to multiple networks by dividing the VLAN ID. The type of network 200 may be arbitrary. Specifically, the network 200 may be, for example, an office network, a network inside a data center, an in-vehicle network, a network inside a factory, a network of a mobile base station, and a network of core facilities.

[0019] The network interface controller 4 and the storage controller 5 are realized, for example, by an ASIC (Application Specific Integrated Circuit) or an FPGA (Field-Programmable Gate Array). The network interface controller 4 and the storage controller 5 may also be realized by a combination of two or three of an ASIC, an FPGA, and a processor. The network interface controller 4 and the storage controller 5 may also have a built-in memory different from the above-mentioned memory 1. The network interface controller 4 and the storage controller 5 may also be implemented as a chip separate from the host processor 2, or may be implemented as a single chip as a SoC (System-on-a-Chip).

[0020] [Example of functional configuration] Fig. 2 is a diagram showing an example of the functional configuration of the communication device 100 of the first embodiment. Fig. 2 mainly shows an example of the functional configuration of the host processor 2 and the network interface controller 4 included in the communication device 100. As shown in Fig. 2, the host processor 2 includes a frame storage unit 201, a descriptor storage unit 202, and a received frame processing unit 203.

[0021] The frame storage unit 201 stores frames received by the network interface controller 4 .

[0022] The descriptor storage unit 202 is used to control the network interface controller 4. A descriptor is an example of meta-information used for frame data transfer. The descriptor is, for example, a ring buffer, and is managed using two variables, Head and Tail.

[0023] Fig. 3 is a diagram showing an example of a descriptor in the first embodiment. As shown in Fig. 3, the descriptors from Head to Tail-1 indicate HW (hardware), that is, the descriptors owned by the network interface controller 4. Also, the descriptors from Tail to Head-1 indicate SW (software), that is, the descriptors owned by the software (receive frame processing unit 203) operating on the host processor 2.

[0024] If the Head value and the Tail value match, it means that SW owns all the descriptor entries and HW has no writable descriptor entries. The Head and Tail values ​​are notified between the network interface controller 4 and the host processor 2 using the register interface and an interrupt signal from a notification unit 416 of the network interface controller 4, which will be described later.

[0025] Each entry (each descriptor) of the receive descriptor ring includes a destination address, a length, and a status. The destination address indicates a top address indicating the top position of a storage area of ​​the frame storage unit 201 (e.g., a memory connected to the host processor 2) that stores the received frame. The length indicates the length of the received frame. The status stores information indicating the state of the receive process.

[0026] Fig. 4 is a diagram showing an example of a status included in the descriptor of the first embodiment. In the example of Fig. 4, the status field includes a write completion flag and an error flag.

[0027] The write completion flag is set to 0 (writing incomplete) by the receive frame processing unit 203, and is set to 1 (writing completed) when the network interface controller 4 finishes transferring the frame and completing writing of the frame and descriptor.

[0028] The error flag is set to 0 (no error) by the receive frame processor 203. The receive frame processor 203 sets the error flag to 1 if a data overflow, underrun, or the like occurs during data transfer from the network interface controller 4, and sets the error flag to 0 if there is no error.

[0029] The destination address is set by the receive frame processor 203 , and the length and status are set by the network interface controller 4 .

[0030] The received frame processing unit 203 is realized by, for example, a device driver of an OS (Operating System) and a user application. The received frame processing unit 203 secures an area in the frame storage unit 201 for writing received frames, and sets the area in the descriptor storage unit 202. The received frame processing unit 203 then refers to the descriptor area upon receiving an interrupt notification from the network interface controller 4, and if writing of the frame data to the frame storage unit 201 has been completed, retrieves the frame from the frame storage unit 201.

[0031] Returning to Figure 2, the network interface controller 4 comprises a communication unit 401, a redundancy information presence determination unit 402, an error detection unit 403, a redundancy information removal unit 404, a buffer unit 405, a transfer unit 406, a sequence number extraction unit 407, a stream identification unit 408, a stream identification information storage unit 409, a deduplication information storage unit 410, a single-stream duplication determination unit 411, a multiple-stream duplication determination unit 412, a descriptor reading unit 413, a transfer invalidation control unit 414, a descriptor writing unit 415, a notification unit 416 and a deduplication information update unit 417.

[0032] The communication unit 401 includes functions called a Media Access Controller (MAC) and PHY, and performs processing required for transmitting and receiving frames according to the protocols of the data link layer and physical layer in the network. For example, the communication unit 401 performs processing of the data link layer and physical layer of Ethernet defined by the IEEE802.3 standard.

[0033] Fig. 5 is a diagram showing an example of a frame format in the first embodiment. As shown in Fig. 5, the frame includes a destination MAC address, a source MAC address, a VLAN tag, a redundancy tag, a type / length, data, and a frame check sequence (FCS). The VLAN tag is defined in IEEE802.1Q, and the redundant tag is defined in IEEE802.1CB. The VLAN tag and the redundant tag do not necessarily have to be in this order, and may be in the reverse order. Also, other tags may be before, after, or between the VLAN tag and the redundant tag.

[0034] Returning to FIG. 2, the redundancy information presence determination unit 402 determines whether or not redundancy information exists in the frame received by the communication unit 401. The redundancy information is information indicating that the frame is made redundant. For example, the redundancy information presence determination unit 402 parses the frame from the beginning and determines whether or not a redundancy tag defined by IEEE802.1CB with a type / length field of 0xF1C1 exists. When redundancy is performed by HSR (High-availability Seamless Redundancy), the redundancy information presence determination unit 402 may determine whether or not a tag called an HSR sequence tag (hereinafter, HSR tag) exists. When PRP (Parallel Redundancy Protocol) is used, the redundancy information presence determination unit 402 may detect a trailer called a PRP sequence trailer (hereinafter, PRP trailer).

[0035] The error detection unit 403 performs processing to detect whether there is an error in the frame received by the communication unit 401. For example, when the data link layer is Ethernet, the error detection unit 403 adds a cyclic redundancy code (CRC) calculated using values ​​in fields other than FCS to the FCS field. Then, the error detection unit 403 on the receiving side calculates a CRC from the received frame, and detects an error (corruption, loss) if it does not match the value set in the FCS field.

[0036] The error detection unit 403 may also detect errors in wireless LANs defined by IEEE 802.11 in the same way as in Ethernet. The error detection unit 403 may check the header checksum value of Internet Protocol version 4 (IPv4), which is a network layer protocol and the checksum values ​​of Transmission Control Protocol (TCP) and User Datagram Protocol (UDP), which are transport layer protocols, and detect an error when the checksum values ​​do not match.

[0037] The redundancy information removing unit 404 removes the redundancy information from the frame received by the communication unit 401. For example, the redundancy information removing unit 404 removes the redundant tag portion shown in FIG. 5. That is, the frame output from the redundancy information removing unit 404 has a destination MAC address, a source MAC address, a type / length (0x8100), a priority (PCP), a CFI, a VLAN ID, a type / length, data, and an FCS. In the case of HSR and PRP, the redundancy information removing unit 404 may remove the HSR tag and the PRP trailer. At this time, the redundancy information removing unit 404 may also remove the FCS. Also, instead of removing the FCS in the redundancy information removing unit 404, a separate FCS removing unit may be provided after the redundancy information removing unit 404.

[0038] The buffer unit 405 temporarily stores frames received by the communication unit 401, or frames from which redundant tags and FCSs have been removed. The buffer unit 405 is used, for example, to temporarily store data until it reaches a processing unit for the transfer unit 406. For example, if the bus width of the transfer unit 406 is 512 bits, the buffer unit 405 temporarily stores data in 512-bit units. Since the memory connected to the host processor 2 is generally composed of DRAM, it is more efficient to perform burst transfer. For this reason, the buffer unit 405 may perform buffering until it reaches a preset burst length.

[0039] The transfer unit 406 acquires a destination address of the frame from a descriptor reading unit 413 (described later), and writes the destination address into the destination address field of the frame storage unit 201 .

[0040] The sequence number extraction unit 407 extracts a sequence number from the frame that has been made redundant and transmitted. When a redundancy tag defined in IEEE802.1CB is added, the sequence number extraction unit 407 acquires the sequence number from the sequence number field of the redundancy tag (an example of redundancy information). When HSR is used, the sequence number extraction unit 407 may acquire the sequence number from the HSR tag. Also, when PRP is used, the sequence number extraction unit 407 may acquire the sequence number from the PRP trailer.

[0041] The stream identification unit 408 identifies a stream that includes at least one frame. A stream is a sequence of frames flowing from one sender to one or more receivers. A stream is identified by a destination MAC address, a source MAC address, a VLAN ID, a destination IP address, a source IP address, etc.

[0042] Specifically, the method of identifying a stream is defined by, for example, IEEE802.1CB, and is performed, for example, in the following manner. (1) Combination of destination MAC address and VLAN ID (2) Combination of source MAC address and VLAN ID (3) Destination MAC address, VLAN ID, destination IP address, source IP address, IP packet priority (DSCP, Differentiated Services Code Point), IP upper layer protocol, source port number, and destination port number

[0043] A stream identified by the above method is assigned an identifier called a stream handle.

[0044] The stream identification information storage unit 409 stores information used for identifying streams by the stream identification unit 408. Specifically, for example, the stream identification information storage unit 409 records information on stream handles, an identifier of a physical Ethernet port that identifies the stream, and a direction (transmission direction or reception direction) in which the stream is identified.

[0045] The deduplication information storage unit 410 holds deduplication information that is used when removing duplicates from multiple replicated streams and restoring the streams to a single stream.

[0046] The deduplication information includes, for example, a combination of the following information as one entry, and includes multiple entries. (1) A list of streams to be deduplicated into a single stream (list of stream handles) (2) A list of physical Ethernet ports that perform deduplication (a list of Ethernet port identifiers) (3) The direction in which deduplication is performed on the physical Ethernet port (transmit or receive direction) (4) History of sequence numbers when performing duplicate elimination (5) An identifier that indicates whether the entry is for single-stream deduplication or multi-stream deduplication.

[0047] The individual stream duplication determination unit 411 determines whether the sequence number of a received frame has already been received, using the deduplication information for an individual stream stored in the deduplication information storage unit 410. In the deduplication information for an individual stream, the numbers received in the individual stream are recorded. For example, if a frame with sequence number 5 is received in stream A after frames with sequence numbers 4 and 5 have been received in stream A, it is determined that the frame has already been received (is a duplicate).

[0048] The multiple stream duplication determination unit 412 determines whether the sequence number of a received frame has already been received, using the deduplication information for multiple streams stored in the deduplication information storage unit 410. In the deduplication information for multiple streams, the number received in any one of the multiple streams is recorded. For example, when stream A and stream B are listed in the list of streams to be deduplied, and frames with sequence numbers 1 and 3 are received in stream A, and frames with sequence numbers 2 and 4 are received in stream B, the received sequence numbers in the multiple streams of streams A and B are 1, 2, 3, and 4. In this case, when a frame with sequence number 4 is received in stream A, the multiple stream duplication determination unit 412 determines that it is a duplicate because it has already been received in stream B.

[0049] Note that single-stream overlap determination section 411 and multiple-stream overlap determination section 412 may be realized as one overlap determination section. Also, the overlap determination section may include single-stream overlap determination section 411 and multiple-stream overlap determination section 412.

[0050] The descriptor reading unit 413 reads out information of a descriptor stored in a memory connected to the host processor 2. Since access to the memory connected to the host processor 2 takes time, the descriptor reading unit 413 may cache the descriptor of Tail-1 from the Head in advance.

[0051] The transfer disable control section 414 judges whether or not to disable the data transfer based on the outputs of the single stream overlap determining section 411, the multiple stream overlap determining section 412, the error detecting section 403 and the redundancy information existence determining section 402.

[0052] For example, if the frame is not an already received frame but a newly received frame (a frame with no duplicates) and there is no error in the frame, the transfer invalidation control unit 414 writes the frame length, status, etc. into the descriptor via the descriptor writing unit 415.

[0053] If the received frame is a frame that has already been received or if the frame contains an error, the transfer disable control unit 414 does not instruct the descriptor writing unit 415 to write a descriptor (determines that the frame is to be discarded). Furthermore, if redundancy information exists and is not duplicated in the single stream and multiple streams, and the error detection unit 403 has not detected any error in the Ethernet frame (or the wireless LAN frame), the transfer disable control unit 414 instructs the deduplication information update unit 417 to update the deduplication information for the single stream and multiple streams.

[0054] The descriptor writing unit 415 writes the frame length, status, and the like to a descriptor recorded in a memory connected to the host processor 2. Upon completion of writing, the descriptor writing unit 415 instructs the notification unit 416 to notify the host processor 2. The notification may be performed collectively after writing a plurality of descriptor entries.

[0055] The notification unit 416 notifies the host processor 2 by interruption that the descriptor has been written in response to an instruction from the descriptor writing unit 415. That is, when the transfer invalidation control unit 414 does not invalidate the transfer by the transfer unit 406, it updates the meta-information of the transferred frame and notifies the transfer destination via the notification unit 416 that the meta-information has been updated, and when it invalidates the transfer by the transfer unit 406, it does not update the meta-information of the transferred frame.

[0056] The deduplication information updater 417 updates the single-stream deduplication information and the multi-stream information. Specifically, the deduplication information updater 417 records the single-stream deduplication information corresponding to the received frame stored in the deduplication information storage unit 410, and records the sequence number of the currently received frame in the received sequence number information included in the multi-stream deduplication information. The deduplication information updater 417 may also update the timing of the received frame.

[0057] Next, an example of the operation of the communication device 100 of the first embodiment will be described with reference to FIGS.

[0058] 6 is a flow chart showing an example of the initialization process of the host processor 2 of the first embodiment. First, the receive frame processing unit 203 initializes the positions of Head and Tail, which are variables for managing the descriptors stored in the descriptor storage unit 202, to 0, and notifies the network interface controller 4 (step S1). As a result, the values ​​of Head and Tail both become 0, and the host processor 2 that runs the software holds all the descriptors.

[0059] Next, receive frame processing unit 203 assigns 0 to variable i (step S2). Then, receive frame processing unit 203 secures a storage area for a frame corresponding to the i-th descriptor entry from frame storage unit 201 (step S3). Next, receive frame processing unit 203 writes the top address of that storage area into the destination address field of the i-th descriptor entry (step S4).

[0060] Next, the receive frame processor 203 writes 0 into the length field of the i-th descriptor entry (step S5), and then writes 0 into the status fields (error flag and write completion flag) of the i-th descriptor entry (step S6).

[0061] Next, the receive frame processor 203 judges whether i+1 and the length n of the descriptor ring match (step S7). If i+1 and the length n of the descriptor ring do not match (step S7, No), the receive frame processor 203 adds 1 to i (step S8) and repeats the process for the i-th descriptor. On the other hand, if i+1 and the length n of the descriptor ring match (step S7, Yes), the receive frame processor 203 notifies the network interface controller 4 of the value of i, i.e., n-1, as a new Tail value (step S9), and the initialization process is completed.

[0062] Fig. 7 is a flow chart showing an example of frame reception processing of the network interface controller 4 of the first embodiment. The double lines in Fig. 7 represent synchronous processing of parallel processing. First, when a frame is received by the communication unit 401, the error detection unit 403 checks whether there is an error in the frame (step S21-1). Here, error detection is performed according to the specifications of protocols such as Ethernet, wireless LAN, IP, TCP, and UDP. For example, in the case of an Ethernet frame, the error detection unit 403 obtains a CRC value for fields other than the FCS, checks whether the CRC value matches the FCS value written in the FCS field, and detects that there is no error if they match.

[0063] In parallel with the process of step S21-1, redundancy information presence determination unit 402 determines whether redundancy information exists in the frame (step S21-2). Here, it is determined whether, for example, an IEEE802.1CB redundant tag, an HSR tag, a PRP trailer, and the like exist in the frame. If redundancy information exists (step S21-2, Yes), redundancy information removal unit 404 removes the redundancy information from the frame output from communication unit 401 (step S22-1). At this time, redundancy information removal unit 404 may also remove the FCS field. The data of the frame after removal process is temporarily stored in buffer unit 405.

[0064] If no redundancy information is present (step S21-2, No), the frame is temporarily stored as is in the buffer unit 405. Next, the transfer unit 406 determines whether or not there is a writable descriptor (step S23). In step S23, it is determined whether or not the position of the currently used descriptor (Head position) matches the Tail value notified from the host processor 2.

[0065] If they match (No at step S23), it is determined that there is no free space in the descriptor, and the process ends.

[0066] If there is no match (Yes at step S23), the transfer unit 406 determines that the descriptor has a vacant space, and obtains the transfer destination address of the current descriptor entry via the descriptor reading unit 413 (step S24).

[0067] When a certain amount of data accumulates in the buffer unit 405 or the end of the frame is recorded in the buffer unit 405 (Yes in step S25), the transfer unit 406 writes the data into the storage area of ​​the frame beginning with the transfer destination address. This process is repeated until the transfer of the entire frame of data is completed, thereby writing the received frame into the frame storage unit 201 of the host processor 2. Note that the certain amount is a value suitable for the transfer unit 406 to transfer data, and is specified by a multiple of the data transfer unit to be performed by the transfer unit 406, or the like. The buffer unit 405 buffers not the entire frame but a portion of it, and the transfer unit 406 transfers this.

[0068] In parallel with the redundancy information removal process in step S22-1, a sequence number extraction process is performed (step S22-2). The sequence number extraction process is performed by sequence number extraction section 407 extracting the sequence number included in the redundancy information in the frame.

[0069] Furthermore, in parallel with the process of the redundant information removal unit 404 in step S22-1, a process of extracting stream identification information is performed (step S22-3). This process is performed by the stream identification unit 408. The stream is identified using information contained in the Ethernet header, the VLAN tag, the IP header, etc. Specifically, in the stream identification information storage unit 409, fields used to identify streams by a user program of the host processor 2, values ​​of the fields, etc. are recorded in advance together with an identifier called a stream handle. The stream identification unit 408 uses the information recorded in advance in the stream identification information storage unit 409 to obtain a stream handle corresponding to the currently received frame.

[0070] The single-stream duplication determination unit 411 and the multiple-stream duplication determination unit 412 respectively obtain deduplication information stored in the deduplication information storage unit 410 from the obtained stream handle information (steps S28-1 and S28-2). That is, they respectively obtain single-stream deduplication information used for deduplication determination of a single stream and multiple-stream deduplication information used for deduplication determination of multiple streams. Using the deduplication information obtained in this manner, the single-stream duplication determination unit 411 and the multiple-stream duplication determination unit 412 perform duplication determination. The single-stream duplication determination unit 411 refers to the received sequence number included in the deduplication information for the single stream, and determines that there is duplication if the sequence number of the received frame has already been received. The multiple-stream duplication determination unit 412 refers to the received sequence number included in the deduplication information for the multiple streams, and determines that there is duplication if the sequence number of the received frame has already been received.

[0071] The transfer invalidation control unit 414 judges whether or not to write a descriptor (transfer invalidation) from the outputs of the single stream overlap determination unit 411, the multiple stream overlap determination unit 412, the error detection unit 403 and the redundancy information existence determination unit 402. First, when there is an error in the frame in the error detection process (step S21-1) (step S30, No), the transfer invalidation control unit 414 ends the process without writing a descriptor or notifying the host processor 2.

[0072] If there is no error in the frame (step S30, Yes) and the frame is determined to be a frame that has already been received in a single stream, i.e., a duplicate in a single stream (step S31, Yes), the transfer invalidation control unit 414 terminates the process without writing a descriptor or notifying the host processor 2.

[0073] If it is not determined that there is a duplication in a single stream (step S31, No), the transfer invalidation control unit 414 determines whether there is a duplication in multiple streams (step S32). If a frame that has already been received in multiple streams, i.e., if it is determined that there is a duplication in multiple streams (step S32, Yes), the transfer invalidation control unit 414 updates the deduplication information for the single stream (step S33) without writing a descriptor or notifying the host processor 2, and ends the process. In updating the deduplication information, the received sequence number is added and the timing of reception is recorded.

[0074] If it is not determined that there is overlap in multiple streams (step S32, No), when data transfer of the entire frame is completed (after completion of the process of step S27), transfer invalidation control unit 414 instructs descriptor writing unit 415 to write a descriptor. Next, upon receiving the instruction, descriptor writing unit 415 first writes the length of the data transferred by transfer unit 406 into the length field of the descriptor (step S34-1).

[0075] Next, the descriptor write unit 415 writes to the status field of the descriptor (step S35). In the status field, the descriptor write unit 415 writes the presence or absence of an error in the data transfer to the error flag, and writes 1 to the write completion flag. Next, the descriptor write unit 415 notifies the host processor 2 via the notification unit 416 that the descriptor has been written (updated) using an interrupt or the like (step S36). Finally, the descriptor write unit 415 advances the position of the descriptor to be used (the position of the Head) to the next descriptor entry (step S37).

[0076] In parallel with the write process to the above-mentioned descriptor, if the received frame is a redundant frame (redundancy information exists) (step S34-2, Yes), the transfer invalidation control unit 414 updates the deduplication information for the single stream and the multiple streams and ends the process (steps S38-1, S38-2).If the received frame is not a redundant frame (redundancy information does not exist) (step S34-2, No), the transfer invalidation control unit 414 does not update the deduplication information for the single stream and the multiple streams and ends the process.

[0077] 8 is a flowchart showing an example of frame reception processing by the host processor of the first embodiment. First, when the received frame processing unit 203 receives an interrupt from the network interface controller 4, it first disables the interrupt notification (step S51) and lowers the interrupt (step S52).

[0078] Next, the receive frame processor 203 checks the write completion flag from the status field of the current descriptor entry, and determines whether or not the write is complete (completion flag is 1) (step S53). If the write is complete (step S53, Yes), the receive frame processor 203 then checks the error flag and determines whether or not an error has occurred (step S54). If an error has occurred (step S54, No), the receive frame processor 203 proceeds to step S56 without processing the frame.

[0079] If there is no error (step S54, No), the receive frame processor 203 acquires a frame indicated by the destination address and length of the current descriptor entry from the frame memory 201, and processes the frame (step S55).

[0080] Next, the receive frame processing unit 203 writes 0 into the length of the current descriptor entry (step S56). Next, the receive frame processing unit 203 writes 0 into the status field (step S57). This clears the error flag, the write completion flag, and the like. Next, the receive frame processing unit 203 updates the position of the next descriptor entry to be used (step S58), and notifies the network interface controller 4 of the position of the current descriptor entry as a new Tail (step S59). Then, the receive frame processing unit 203 repeats the process as long as the written flag is 1 (return to step S53).

[0081] If the written flag is 0, that is, if the writing is not completed (step S53, No), the receive frame processor 203 enables an interrupt notification (step S60) and ends the process.

[0082] 9 and 10 show timing from frame arrival to completion of frame transfer or frame discard in the conventional method and in this embodiment.

[0083] Fig. 9 is a diagram for explaining the processing of duplicate frames in the first embodiment. Fig. 9 shows an example of a case where a duplicate frame is received and discarded. Conventionally, buffering is performed while performing error detection, and if there is no error and it is determined to be a duplicate, the frame is discarded without notifying the host processor 2. In the embodiment, data transfer is started when a certain amount of data has been buffered, but the timing at which discarding is completed is the same as conventionally.

[0084] Fig. 10 is a diagram for explaining the processing of non-duplicate frames in the first embodiment. Fig. 10 shows an example in which the network interface controller 4 receives a new non-duplicate frame and notifies the host processor 2. Conventionally, data transfer is performed after buffering everything once and confirming that there is no duplication, so it takes time to complete the frame transfer. On the other hand, in this embodiment, data transfer starts when a certain amount has been buffered, so the time until the frame transfer is completed can be shortened.

[0085] As described above, in the communication device 100 of the first embodiment, the communication unit 401 receives a frame. The transfer unit 406 transfers the frame to the frame storage unit 201 of the transfer destination. The error detection unit 403 detects an error in the frame. If the error detection unit 403 detects an error, the transfer disable control unit 414 disables the transfer by the transfer unit 406.

[0086] As a result, the communication device 100 of the first embodiment can reduce transfer delays caused by the process of checking data consistency. Specifically, when a frame duplication or error is detected in the communication device 100 of the first embodiment, the data transfer can be disabled without writing a descriptor, making it possible to transfer data immediately after data reception, and reducing delays in data transfer. Conventionally, data writing of a received frame could only be started after the deduplication process was completed, but the communication device 100 of the first embodiment can start transferring data before duplication is determined, making it possible to perform frame reception processing with low delays.

[0087] Second embodiment Next, a second embodiment will be described. In the description of the second embodiment, the description of the same as the first embodiment will be omitted, and only the difference from the first embodiment will be described. The second embodiment differs from the first embodiment in the operation of the transfer invalidation control unit 414 and the configuration of the status field of the descriptor entry.

[0088] Fig. 11 is a diagram showing an example of status included in a descriptor in the second embodiment. The example in Fig. 11 is different in that the status field further includes an error flag and a duplication flag in addition to the first embodiment.

[0089] The error flag is set to 1 if there is an error in the error detection process, and set to 0 if there is no error. The overlap flag is set to 0 if neither the single-stream overlap determination process nor the multiple-stream overlap determination process determines that there is an overlap, and set to 1 if either process determines that there is an overlap.

[0090] The single-stream overlap flag and the multiple-stream overlap flag may be represented by separate fields. Also, the error flag, the error flag, and the overlap flag may be integrated and a 1-bit transfer invalidation flag may be used to indicate whether or not to invalidate the flag.

[0091] Unlike the first embodiment, the transfer invalidation control unit 414 of the second embodiment always writes a descriptor, but can invalidate data transfer by writing transfer invalidation information such as an error flag, an error flag, and a duplicate flag into the status field of a descriptor entry. The transfer invalidation information is information indicating that a transferred frame is invalid.

[0092] 12 is a flowchart showing an example of frame reception processing by the network interface controller 4 of the second embodiment. The second embodiment differs from the first embodiment in that after determining whether a single stream or multiple streams are overlapped (steps S29-1 and S29-2), a determination as to whether to write to a descriptor is not made, and in the processing when it is determined in step S34-2 that the received frame is a redundant frame, and in step S35-2.

[0093] In the second embodiment, in parallel with the writing process to the descriptor from step S34-1, it is determined whether the received frame is a redundant frame (step S34-2). If the received frame is not a redundant frame (no redundancy information exists) (step S34-2, No), the transfer invalidation control unit 414 does not update the deduplication information of the single stream and multiple streams and ends the process.

[0094] If the received frame is a redundant frame (redundancy information exists) (step S34-2, Yes), the error detection process (step S21-1) determines whether or not there is an error in the frame (step S38). If there is an error in the frame (step S38, No), the transfer invalidation control unit 414 does not update the deduplication information and ends the process.

[0095] If there is no error in the frame (step S38, Yes) and the frame has already been received in a single stream, i.e., if it is determined to be a duplicate in a single stream (step S39, Yes), the transfer invalidation control unit 414 does not update the deduplication information and terminates the process.

[0096] If it is not determined that there is a duplication in a single stream (step S31, No), the transfer invalidation control unit 414 determines whether there is a duplication in multiple streams (step S40). If a frame that has already been received in multiple streams, i.e., a duplication in multiple streams, is determined (step S40, Yes), the transfer invalidation control unit 414 updates the deduplication information for the single stream (step S41) and ends the process. In updating the deduplication information, the received sequence number is added and the timing of reception is recorded.

[0097] If it is not determined that there is duplication in multiple streams (step S40, No), the transfer invalidation control unit 414 updates the deduplication information for the single stream and multiple streams, and ends the process (steps S42-1 and S42-2).

[0098] Furthermore, in step S35-2 following step S34-1, descriptor writing section 415 writes an error flag and a duplicate flag in addition to the error flag and write completion flag in the status field.

[0099] 13 is a flowchart showing an example of frame reception processing by the host processor 2 of the second embodiment. In the second embodiment, if the transfer invalidation information in the status field is valid (step S54-2), the frame is not processed. Specifically, if any of the error flag, error flag, and duplicate flag is 1, the frame is not processed.

[0100] In this way, the communication device 100 of the second embodiment can transmit the results of frame duplication and error detection to the status bit of the descriptor as transfer invalidation information. This makes it possible to transfer data immediately after receiving the data, thereby reducing delays in data transfer.

[0101] Third embodiment The third embodiment differs from the second embodiment in that the stream identification process and the deduplication process, which are performed by the network interface controller 4 in the second embodiment, are performed by the host processor 2-2.

[0102] [Example of functional configuration] 14 is a diagram illustrating an example of the functional configuration of the communication device 100 according to the third embodiment. In the third embodiment, the host processor 2-2 includes a stream identification unit 204, a stream identification information storage unit 205, a deduplication information update unit 206, a deduplication information storage unit 207, a single-stream duplication determination unit 208, and a multiple-stream duplication determination unit 209.

[0103] In the third embodiment, the difference is that the host processor 2-2, rather than the network interface controller 4-2, performs the deduplication process using the sequence number transmitted in the descriptor and the stream identification data, as described below, but the functions of each part are the same as in the first embodiment.

[0104] Moreover, in the third embodiment, the network interface controller 4-2 includes a stream identification information extraction unit 418. The stream identification information extraction unit 418 extracts data for identifying a stream in a redundant frame. For example, the stream identification information extraction unit 418 extracts information used for stream identification described in the first embodiment, such as a destination MAC address or a VLAN ID. The descriptor write unit 415 stores this extracted data and the sequence number extracted by the sequence number extraction unit 407 in a descriptor as overlap determination information for the descriptor, which will be described later, and transmits the stored data to the host processor 2-2.

[0105] 15 is a diagram showing an example of a descriptor according to the third embodiment. In the third embodiment, a stream identification data field and a sequence number field are added to the descriptor entry of the second embodiment.

[0106] 16 is a diagram showing an example of a status included in a descriptor of the third embodiment. In the third embodiment, in addition to the examples shown in the first and second embodiments, a duplication determination information presence / absence flag and a duplication determination information write completion flag are provided.

[0107] 17 is a flowchart showing an example of frame reception processing by the network interface controller 4-2 of the third embodiment. Only the differences from the second embodiment will be explained here. In the third embodiment, stream identification is performed by the host processor 2-2, so the network interface controller 4-2 extracts only the stream identification data used for stream identification.

[0108] Descriptor writing unit 415 first writes the sequence number and stream identification data obtained from sequence number extraction unit 407 and stream identification information extraction unit 418 as duplication determination information into the corresponding fields of the descriptor (steps S42 and S43).

[0109] Next, the descriptor writing unit 415 writes a duplication determination information presence flag and a duplication determination information writing completion flag in the status field of the descriptor (step S44). The duplication determination information presence flag is set to 1 if redundancy information exists, and is set to 0 if not. The duplication determination information writing completion flag is set to 1.

[0110] Next, the descriptor writing unit 415 notifies the host processor 2 via the notification unit 416 that the descriptor has been written, for example by using an interrupt (step S45). After the processes of steps S45, S21-1 and S27 are completed, the descriptor writing unit 415 writes the frame length in the descriptor (step S34-1).

[0111] In the process after writing the frame length in the descriptor, the descriptor writing unit 415 writes an error flag, an error flag, and a write completion flag in the status field of the descriptor (step S35-3).

[0112] 18A and 18B are flowcharts showing an example of frame reception processing by the host processor 2-2 of the third embodiment. Only the differences from the second embodiment will be explained here.

[0113] The receive frame processor 203 checks the duplication determination information write completion flag in the status field of the current descriptor entry (step S73). If the write is not completed (the write flag is 0) (step S73, No), the interrupt is enabled (step S74) and the process ends.

[0114] If writing is completed (write flag is 1) (step S73, Yes), the received frame processor 203 checks the duplication determination information presence / absence flag in the status field to check whether duplication determination information exists (step S75). If duplication information exists (duplication determination information presence / absence flag is 1) (step S75, Yes), the received frame processor 203 then checks whether duplication determination processing has already been completed (step S76).

[0115] If the duplication check has not been completed (the duplication check information write completion flag is 0), the receive frame processor 203 acquires the stream identification data and sequence number of the descriptor (step S77). The stream identification unit 204 acquires a stream handle corresponding to the receive frame from the acquired stream identification data and the stream identification information stored in the stream identification information storage unit 409.

[0116] Next, the single-stream duplication determination unit 208 and the multiple-stream duplication determination unit 209 obtain the single-stream deduplication information and the multiple-stream deduplication information from the deduplication information storage unit 207 using the stream handle (steps S78 and S80), and each determines whether the sequence number of the received frame has been received (steps S79 and S81).

[0117] After completing the duplication check, the receive frame processor 203 checks whether the frame write completion flag in the status field of the current descriptor entry is complete (1) (step S82).

[0118] If the process is completed (step S82, Yes), the receive frame processor 203 checks whether the forwarding invalidation information is set (step S83). If the error flag and the error flag are set to 1, the receive frame processor 203 does not perform the receive process of the frame.

[0119] If the forwarding invalidation information is not set (step S83, No), the receive frame processor 203 determines whether overlapping has been detected in a single stream (step S84). If overlapping has been detected (step S84, Yes), the receive frame processor 203 does not perform frame reception processing. If overlapping has not been detected in a single stream (step S84, Yes), the receive frame processor 203 determines whether overlapping has been detected in multiple streams (step S85).

[0120] If no duplication is detected in the multiple streams (step S85, No), the receive frame processor 203 executes a frame receive process (step S86), and updates the deduplication information for the multiple streams (step S87) and the deduplication information for a single stream (step S88). In the deduplication information update process, the sequence number of the received frame is recorded.

[0121] If duplication is detected in multiple streams (Yes in step S85), the deduplication information for a single stream is updated (step S88).

[0122] The above is an explanation of the differences from the second embodiment.

[0123] Thus, in the host processor 2-2 (an example of a processor) of the third embodiment, the frame storage unit 201 stores a frame transferred from a transfer source. The descriptor storage unit 202 (an example of a meta-information storage unit) stores meta-information including transfer invalidation information indicating whether or not to invalidate the transfer of the frame, overlap determination information indicating whether or not it is necessary to determine whether or not the frame overlaps, stream identification data of a stream including at least one frame, and a sequence number of the frame. The stream identification unit 204 identifies a stream by the stream identification data. The single stream overlap determination unit 208 and the multiple stream overlap determination unit 209 (an example of an overlap determination unit) determine whether or not to determine whether or not the frame overlaps based on the overlap determination information, and when determining whether or not the frame overlaps, determine whether or not the frame has already been received in the stream identified by the stream identification data by using the sequence number. Then, if the transfer invalidation information does not indicate invalidation of the transfer and if the frame has not already been received, the received frame processing unit 203 processes the frame.

[0124] According to the communication device 100 of the third embodiment, while the host processor 2-2 performs frame duplication, the result of error detection can be transmitted to the status bit of the descriptor as transfer invalidation information later. This makes it possible to transfer data immediately after receiving the data, thereby reducing delays in data transfer.

[0125] (Modification of the embodiment) In the above embodiment, the transfer unit 406 and the error detection unit 403 are described as separate operating units. However, the transfer unit 406 may also have an error detection function and perform error detection while transferring data.

[0126] Also, a receiving filter determination unit that performs ingress filtering defined in IEEE802.1Q may be provided. When the receiving filter determination unit is provided, the forwarding invalidation control unit 414 invalidates forwarding when the receiving filter determination unit determines that the packet is subject to filtering.

[0127] In addition, in the above embodiment, an example has been shown in which the transfer unit 406 transfers data up to the end of the frame, but the data transfer may be stopped, for example, when overlap is determined by the single-stream overlap determination unit 411 and the multiple-stream overlap determination unit 412.

[0128] In the above embodiment, an example has been shown in which a frame is transferred from the network interface controller 4 (4-2) to the host processor 2 (2-2), but the frame transfer configuration and method of the embodiment may be applied to frame transfer other than between the network interface controller 4 and the host processor 2. For example, the frame transfer configuration and method of the embodiment may be applied to frame transfer within the network interface controller 4. Also, for example, the frame transfer configuration and method of the embodiment may be applied to frame transfer from a network interface controller 4 to another network interface controller 4. Also, for example, the frame transfer configuration and method of the embodiment may be applied to transfer between modules inside a network switch.

[0129] In addition, in the above embodiment, an example has been shown in which IEEE802.1CB is used. However, instead of this, PREF (Packet Replication and Elimination Function) standardized by IETF (Internet Engineering Task Force) and Detnet (Deterministic Networking) may be used.

[0130] (System configuration example) Fig. 19 is a diagram showing a configuration example of a system using the communication device 100 according to the first to third embodiments. Fig. 19 shows an example in which on-site robot arms 602a, 602b and a belt conveyor 601 are controlled from an edge server 700 via a 5G (5th Generation) / local 5G system 500 in a factory or plant.

[0131] The 5G / local 5G system 500 includes a 5G core network 505, a central unit 504, a distributed unit 503, a remote unit 502, and user equipment 501. The 5G / local 5G system 500 performs 5G communication defined by the standards of the Third Generation Partnership Project (3GPP).

[0132] The communication device 100 of the first to third embodiments can be implemented, for example, in the edge server 700 and the 5G core network 505. This can improve the real-time nature of communication between the edge server 700 and the 5G core network 505.

[0133] Furthermore, the communication device 100 of the first to third embodiments may be used for communication between each unit in the 5G / local 5G system 500. That is, in order to perform communication between the remote unit 502, the distributed unit 503, the central unit 504, and the 5G core network 505, the communication device 100 of the first to third embodiments may be implemented in at least a part of the remote unit 502, the distributed unit 503, the central unit 504, and the 5G core network 505.

[0134] The communication device 100 of the first to third embodiments may be used for communication between at least one of the belt conveyor 601 and the robot arms 602a, 602b and the user equipment 501, or for communication between the belt conveyor 601 and the robot arms 602a, 602b.

[0135] The communication device 100 according to the first to third embodiments may be applied to any system, but is not limited to the above. For example, the communication device 100 may be applied to an industrial network system in a factory or plant that does not use 5G / local 5G, and to an internal network system in an automobile or aircraft.

[0136] The programs executed by the communication device 100 according to the first to third embodiments are provided by being pre-installed in the storage 3, ROM, etc. When the communication device 100 is realized by an FPGA, for example, data for setting the configuration of the FPGA (configuration data) corresponds to the program.

[0137] The programs executed by the communication device 100 according to the first to third embodiments may be configured to be provided as a computer program product by being recorded in an installable or executable format on a computer-readable recording medium such as a CD-ROM (Compact Disk Read Only Memory), a flexible disk (FD), a CD-R (Compact Disk Recordable), or a DVD (Digital Versatile Disk).

[0138] Furthermore, the programs executed by the communication devices 100 according to the first to third embodiments may be stored on a computer connected to a network such as the Internet and provided by being downloaded via the network. Also, the programs executed by the communication devices 100 according to the first to third embodiments may be provided or distributed via a network such as the Internet.

[0139] The programs executed by the communication device 100 according to the first to third embodiments can cause a computer to function as each unit of the communication device described above. In this computer, a processor can read the programs from a computer-readable storage medium onto a main storage device and execute the programs.

[0140] 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]

[0141] 1. Memory 2 Host Processor 3. Storage 4 Network Interface Controller 5 Storage Controller 201 Frame memory unit 202 Descriptor storage unit 203 Receive frame processing unit 204 Stream Identification Unit 205 Stream identification information storage unit 206 Deduplication information update section 207 Deduplication information storage unit 208 Single Stream Overlap Decision Unit 209 Multiple Stream Overlap Judgment Unit 401 Communications Department 402 Redundancy information existence determination unit 403 Error detection unit 404 Redundancy information removal unit 405 Buffer Section 406 Transfer Department 407 Sequence Number Extraction Unit 408 Stream Identification Unit 409 Stream Identification Information Storage Unit 410 Deduplication information storage unit 411 Single Stream Overlap Judgment Unit 412 Multiple Stream Overlap Judgment Unit 413 Descriptor Reader 414 Transfer invalidation control section 415 Descriptor Write Unit 416 Notification Department 417 Deduplication information update department 418 Stream Identification Information Extraction Unit 100 Communication equipment 200 Network

Claims

1. A communication unit for receiving a frame; an error detection unit that executes an error detection process for detecting an error in the frame; a transfer unit that transfers the frame to a frame storage unit of a destination processor without waiting for the completion of the error detection process; a transfer invalidation control unit that invalidates transfer by the transfer unit when an error is detected by the error detection unit; A communication device comprising:

2. a transfer invalidation control unit, when not invalidating the transfer by the transfer unit, updates meta information of the transferred frame and notifies the transfer destination that the meta information has been updated, and when invalidating the transfer by the transfer unit, does not update the meta information of the transferred frame. The communication device according to claim 1 .

3. When disabling the transfer by the transfer unit, the transfer disable control unit transmits, to the transfer destination, transfer disable information indicating that the transferred frame is invalid. The communication device according to claim 1 .

4. a redundancy information presence determination unit that determines whether the frame includes redundancy information indicating that the frame is redundant; a redundancy information removing unit that removes the redundancy information from the frame when the frame includes the redundancy information, the transfer unit transfers the frame from which the redundancy information has been removed to the frame storage unit of the transfer destination. A communication device according to any one of claims 1 to 3.

5. a stream identification unit for identifying a stream including at least one of the frames; a sequence number extraction unit that extracts a sequence number from the redundancy information; a duplication determination unit that determines whether or not the frame has already been received in the stream by using the sequence number, the transfer invalidation control unit invalidates the transfer by the transfer unit when the duplication determination unit determines that the frame has already been received. The communication device according to claim 4.

6. The overlap determination unit is A single stream overlap determination unit that performs overlap determination in the single stream; a multiple stream overlap determination unit that performs overlap determination for the multiple streams, the transfer disable control unit disables the transfer by the transfer unit when it is determined by at least one of the single-stream overlap determination unit and the multiple-stream overlap determination unit that the frame has already been received. The communication device according to claim 5.

7. the error detection unit calculates a Cyclic Redundancy Code (CRC) of a field other than a Frame Check Sequence (FCS) field of the frame, and determines that an error exists when the FCS and the CRC do not match; A communication device according to any one of claims 1 to 6.

8. a frame storage unit that stores a frame transferred from a transfer source; a meta-information storage unit that stores meta-information including transfer invalidation information indicating whether or not transfer of the frame is invalid, overlap determination information indicating whether or not overlap determination of the frame is required, stream identification data of a stream including at least one of the frames, and a sequence number of the frame; a stream identification unit for identifying a stream using the stream identification data; a duplication determination unit that determines whether or not to determine a duplication of the frame based on the duplication determination information, and, when determining that the frame is a duplication, determines whether or not the frame has already been received in a stream identified by the stream identification data, using the sequence number; a reception frame processing unit that processes the frame when the transfer invalidation information does not indicate invalid transfer and when the frame has not been received; A processor comprising:

9. receiving a frame by a communication device; a step of executing an error detection process by the communication device to detect an error in the frame; a step of the communication device transferring the frame to a frame storage unit of a destination processor without waiting for the completion of the error detection process; a step of invalidating the transfer performed by the transfer step, when an error is detected by the detection step, by the communication device; A communication method comprising:

10. Computer, A communication unit for receiving a frame; an error detection unit that executes an error detection process for detecting an error in the frame; a transfer unit that transfers the frame to a frame storage unit of a destination processor without waiting for the completion of the error detection process; a transfer invalidation control unit that invalidates the transfer by the transfer unit when an error is detected by the error detection unit; A program to function as a

11. Computer, a frame storage unit that stores a frame transferred from a transfer source; a meta-information storage unit that stores meta-information including transfer invalidation information indicating whether or not transfer of the frame is invalid, overlap determination information indicating whether or not overlap determination of the frame is required, stream identification data of a stream including at least one of the frames, and a sequence number of the frame; a stream identification unit for identifying a stream using the stream identification data; a duplication determination unit that determines whether or not to determine a duplication of the frame based on the duplication determination information, and, when determining that the frame is a duplication, determines whether or not the frame has already been received in a stream identified by the stream identification data, using the sequence number; a reception frame processing unit that processes the frame if the transfer invalidation information does not indicate invalid transfer and if the frame has not been received; A program to function as a

Citation Information

Patent Citations

  • Switching device for LAN

    JP1997181771A

  • Data reception system

    JP2009032053A

  • Control apparatus, control method, program, and communication system

    JP2019159812A