WO2020039538A1 - Communication device, communication method, and communication program - Google Patents

Communication device, communication method, and communication program Download PDF

Info

Publication number
WO2020039538A1
WO2020039538A1 PCT/JP2018/031135 JP2018031135W WO2020039538A1 WO 2020039538 A1 WO2020039538 A1 WO 2020039538A1 JP 2018031135 W JP2018031135 W JP 2018031135W WO 2020039538 A1 WO2020039538 A1 WO 2020039538A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
time slot
transmission
transmitted
reception
Prior art date
Application number
PCT/JP2018/031135
Other languages
French (fr)
Japanese (ja)
Inventor
崇章 村岡
和宏 村山
Original Assignee
三菱電機株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to PCT/JP2018/031135 priority Critical patent/WO2020039538A1/en
Priority to TW107140815A priority patent/TW202010286A/en
Priority to JP2020538014A priority patent/JP6808104B2/en
Priority to PCT/JP2018/048014 priority patent/WO2020039607A1/en
Priority to CN201880096712.4A priority patent/CN112585913A/en
Priority to DE112018007845.0T priority patent/DE112018007845T5/en
Publication of WO2020039538A1 publication Critical patent/WO2020039538A1/en
Priority to US17/172,842 priority patent/US11463369B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/90Buffering arrangements
    • H04L49/9063Intermediate storage in different physical parts of a node or terminal
    • H04L49/9068Intermediate storage in different physical parts of a node or terminal in the network interface card
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/28Flow control; Congestion control in relation to timing considerations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • H04L43/106Active monitoring, e.g. heartbeat, ping or trace-route using time related information in packets, e.g. by adding timestamps
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/56Queue scheduling implementing delay-aware scheduling
    • H04L47/564Attaching a deadline to packets, e.g. earliest due date first
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/625Queue scheduling characterised by scheduling criteria for service slots or service orders
    • H04L47/6275Queue scheduling characterised by scheduling criteria for service slots or service orders based on priority

Definitions

  • the present invention relates to a communication technology in a network using TSN (Time-Sensitive @ Networking) technology.
  • TSN technologies such as IEEE 802.1Qbv and IEEE 802.1AS have been applied to communication performed in a control network.
  • a communication cycle is divided into a plurality of time slots (hereinafter, TS).
  • TS time slots
  • a TS is often assigned for each protocol. For example, TS0 is assigned to IP communication, TS1 is assigned to FA network communication, and so on.
  • each data is stored in the transmission queue of the assigned TS, and when the time at which each TS is assigned is reached, the data in the queue is sequentially transmitted.
  • the queue is provided by IEEE 802.1Qbv.
  • On the receiving side when data is received, it is passed to the receiving task without being stored in the queue.
  • Patent Literature 1 discloses that a task that performs high-priority communication has a high priority, and a task that performs low-priority communication has a low priority. It is described that priority is given to this.
  • IEEE 802.1Qbv provides a transmit queue but does not provide a receive queue. Therefore, the data is transferred to the receiving task other than the assigned TS and the data is processed. Then, the processing of the task that wants to transmit data to the originally assigned TS may be hindered, and the data may not be transmitted at the desired transmission cycle.
  • the present invention aims to enable each task to hold a transmission cycle.
  • the communication device includes: A communication device that communicates on a network using TSN (Time-Sensitive Networking) technology, A time slot management unit for notifying that the time slot in the TSN technology has been switched; If the received data received from another communication device is not the transmitted data transmitted in the current time slot, the received data is stored in the received data storage unit, and the time slot is switched by the time slot management unit. And a data receiving unit that transfers the received data, which is the transmission data transmitted in the switched time slot, stored in the received data storage unit to the reception task when the notification is transmitted.
  • TSN Time-Sensitive Networking
  • the data receiving unit stores the received data in the received data storage unit when the received data is not the transmission data transmitted in the current time slot. Then, when the time slot is switched, the data receiving unit passes reception data, which is transmission data transmitted in the switched time slot, to the reception task.
  • reception data which is transmission data transmitted in the switched time slot.
  • FIG. 1 is a configuration diagram of a communication system 100 according to a first embodiment.
  • FIG. 2 is a functional configuration diagram of the communication device 10 according to the first embodiment.
  • 5 is a flowchart of an operation of the time slot management unit 21 according to the first embodiment.
  • 5 is a flowchart of the operation of the data transmission unit 22 according to the first embodiment.
  • 5 is a flowchart of the operation of the data receiving unit 23 according to the first embodiment.
  • 13 is a flowchart of the operation of the data receiving unit 23 according to the second embodiment.
  • FIG 9 is a functional configuration diagram of a communication device 10 according to a third embodiment.
  • 15 is a flowchart of the operation of the time slot management unit 21 according to the third embodiment.
  • 13 is a flowchart of the operation of the priority switching unit 30 according to the third embodiment.
  • 15 is a flowchart of the operation of the time slot management unit 21 according to the fourth embodiment.
  • 15 is a flowchart of the operation of the priority switching unit 30 according to the fourth embodiment.
  • Embodiment 1 FIG. *** Configuration description *** The configuration of the communication system 100 according to the first embodiment will be described with reference to FIG.
  • the communication system 100 includes a plurality of communication devices 10. Each communication device 10 is connected via a network 200.
  • the network 200 is a network using the TSN technology. Each communication device 10 communicates with another communication device 10 via the network 200.
  • Each communication device 10 includes hardware of a processor 11, a memory 12, and a network interface 13.
  • the processor 11 is connected to other hardware via a signal line, and controls the other hardware.
  • the processor 11 is an IC (Integrated Circuit) that performs processing.
  • the processor 11 is, as a specific example, a CPU (Central Processing Unit), a DSP (Digital Signal Processor), and a GPU (Graphics Processing Unit).
  • the memory 12 is a storage device for storing data.
  • the memory 12 is, for example, an SRAM (Static Random Access Memory) or a DRAM (Dynamic Random Access Memory).
  • the memory 12 is a portable memory such as an SD (registered trademark, Secure Digital) memory card, a CF (CompactFlash, registered trademark), a NAND flash, a flexible disk, an optical disk, a compact disk, a Blu-ray (registered trademark) disk, and a DVD (Digital Versatile Disk). It may be a recording medium.
  • the network interface 13 is an interface for connecting to the network 200.
  • the network interface 13 is a port of Ethernet (registered trademark) or a USB (Universal Serial Bus) as a specific example.
  • the communication device 10 includes a time slot management unit 21, a data transmission unit 22, a data reception unit 23, a transmission data storage unit 24, a reception data storage unit 25, a plurality of transmission tasks 26, and a plurality of reception tasks 27.
  • the transmission data storage unit 24 has an entry for each TS, and each entry is provided with a transmission queue 28.
  • the transmission data storage unit 24 has an entry for TS0, an entry for TS1, an entry for TS2,..., And a transmission queue 28 is provided for each entry.
  • the reception data storage unit 25 has an entry for each TS, and each entry is provided with a reception queue 29.
  • the reception data storage unit 25 has an entry for TS0, an entry for TS1, an entry for TS2,..., And a reception queue 29 is provided for each entry.
  • the functions of the time slot management unit 21, data transmission unit 22, data reception unit 23, transmission data storage unit 24, reception data storage unit 25, multiple transmission tasks 26, and multiple reception tasks 27 are as follows: Implemented by software.
  • the memory 12 stores programs for implementing these functions. This program is read and executed by the processor 11. Thereby, these functions are realized. Further, the functions of the transmission queue 28 and the reception queue 29 are realized by the memory 12.
  • the operation of the communication device 10 according to the first embodiment will be described with reference to FIGS.
  • the operation of the communication device 10 according to the first embodiment corresponds to the communication method according to the first embodiment.
  • the operation of the communication device 10 according to the first embodiment corresponds to the processing of the communication program according to the first embodiment.
  • each transmission task 26 passes the transmission data to the transmission data storage unit 24. Then, the transmission data storage unit 24 stores the transmission data in the transmission task 26 of the transfer source or in the transmission queue 28 provided in the entry for the TS corresponding to the transmission data. Further, when receiving data is passed from the data receiving unit 23, each receiving task 27 executes a process using the received receiving data.
  • step S11 the time slot management unit 21 acquires a time.
  • step S12 the time slot management section 21 determines whether or not the TS switching time has passed. When the time for switching the TS has passed, the time slot management unit 21 advances the process to step S13. On the other hand, when the time for switching the TS has not passed, the time slot management unit 21 returns the process to step S11 and acquires the time again.
  • step S13 the time slot management unit 21 notifies the data transmission unit 22 that the TS has been switched. As a result, the time slot management unit 21 causes the data transmission unit 22 to transmit the transmission data of the switched TS.
  • step S14 the data transmission unit 21 notifies the data reception unit 23 that the TS has been switched. As a result, the time slot management unit 21 passes the received data of the TS after the switching to the data reception unit 23 to the reception task 27.
  • step S21 the data transmission unit 22 receives a notification from the time slot management unit 21.
  • step S22 the data transmission unit 22 determines whether the notification from the time slot management unit 21 is a notification that the TS has been switched. If the notification is a notification that the notification that the TS has been switched has been received, the data transmission unit 22 advances the process to step S23. On the other hand, when the notification is not a notification that the TS has been switched, the data transmission unit 22 ends the process.
  • step S23 the data transmission unit 22 transmits the transmission data stored in the transmission queue 28 provided in the target TS entry to the destination communication device 10 for the switched TS. Note that the data transmission unit 22 stores new transmission data in the transmission queue 28 provided in the entry for the target TS until the time slot management unit 21 again notifies that the TS has been switched. The stored transmission data is transmitted to the network 200 to the destination communication device 10.
  • step S31 the data receiving unit 23 receives a transmission data arrival notification from the network interface 13, or receives a notification from the time slot management unit 21 that the TS has been switched.
  • the transmission data arrival notification is a hardware interrupt or the like.
  • step S32 the data receiving unit 23 determines whether the notification of the arrival of the transmission data has been received in step S31 or whether the notification that the TS has been switched has been received from the time slot management unit 21.
  • step S33 On the other hand, when the data receiving unit 23 receives a notification that the TS has been switched from the time slot management unit 21, the process proceeds to step S36.
  • step S33 the data receiving unit 23 determines whether or not the received data is transmission data transmitted to the current TS. If the received data is the transmission data transmitted to the current TS, the data receiving unit 23 proceeds with the process to step S34. On the other hand, when the received data is not the transmission data transmitted to the current TS, the data receiving unit 23 proceeds with the process to step S35.
  • step S34 the data receiving unit 23 passes the received data to the corresponding receiving task 27.
  • step S35 the data receiving unit 23 stores the received data in the received data storage unit 25. Specifically, the data receiving unit 23 passes the received data to the received data storage unit 25. Then, the reception data storage unit 25 stores the reception data in the reception queue 29 provided in the entry for TS corresponding to the reception data.
  • step S36 the data receiving unit 23 passes the reception data, which is the transmission data transmitted to the switched TS and stored in the reception data storage unit 25, to the corresponding reception task 27. That is, the data reception unit 23 transfers the reception data stored in the reception queue 29 provided in the switched TS entry to the corresponding reception task 27.
  • the data receiving unit 23 stores the received data in the received data storage unit 25 when the received data is not the transmission data transmitted to the current TS. deep. Then, when the TS is switched, the data receiving unit 23 passes reception data, which is transmission data transmitted in the time slot after the switching, to the reception task 27. This prevents the processing of the transmission data transmitted in the current time slot from being hindered by the influence of the processing of the transmission data transmitted in another time slot. As a result, each task can hold the transmission cycle.
  • the data receiving unit when receiving the received data, passes the received data to the receiving task even if the received data is not the transmission data transmitted to the current TS. Then, the reception task performs processing based on the received reception data. As a result, the processing of the transmission task and the processing of the reception task, which perform processing relating to data transmitted and received in the current TS, are hindered.
  • FIG. 6 shows an example in which a 30-second periodic communication is performed, this period is divided into three TSs, and a time is allocated to each TS for 10 seconds. In this example, the data held by the transmission task 0 is transmitted by TS0.
  • this data when this data is inserted into the transmission queue, it is transmitted as it is because the insertion time (00:00:06) is the time in TS0.
  • the data of the transmission task 1 is transmitted by TS1.
  • the time (00:00:31) at which this data was inserted into the transmission queue is still a time slot of TS0. Therefore, this data is temporarily suspended in the transmission queue, and is transmitted after 00:00:40, which is the time allocated to TS1.
  • FIG. 7 when data is transmitted around the end of the time allocated to each TS, or when data is transmitted over a low-speed network, the data is transmitted to the receiving side at the time of the next TS. May arrive at. For example, in FIG.
  • the transmission task 0 transmits data at the end of the time allocated to TS0
  • the time received by the reception task is the time allocated to TS1.
  • the transmitting task 1 that wants to transmit data in TS1 cannot operate, and the insertion of data into the transmission queue of TS1 is delayed.
  • the transmission task 1 is to be transmitted every period in the time slot of TS1, it will not be possible to satisfy the requirements of the system.
  • the communication device 10 stores the received data in the received data storage unit 25 and is not passed to the reception task 27. Therefore, the processing of the transmission data transmitted in the other timeslots does not hinder the processing of the transmission data transmitted in the current timeslot.
  • a time slot management unit 21, a data transmission unit 22, a data reception unit 23, a transmission data storage unit 24, a reception data storage unit 25, a plurality of transmission tasks 26, a plurality of reception tasks 27 is realized by software.
  • these functions may be realized by hardware.
  • the communication device 10 includes an electronic circuit instead of the processor 11.
  • the electronic circuit is a dedicated circuit for realizing these functions.
  • each functional component may be implemented by one electronic circuit, or each functional component may be implemented by being distributed to a plurality of electronic circuits.
  • ⁇ Modification 2> As a second modification, some of the functional components may be implemented by hardware, and other functional components may be implemented by software.
  • the processor 11 and the electronic circuit are referred to as a processing circuit. That is, the function of each functional component is realized by the processing circuit.
  • Embodiment 2 when the processing time required for the receiving task 27 to process the received data is longer than the current remaining time of the TS, the data receiving unit 23 does not pass the received data to the It differs from the first embodiment in that it is stored in the storage unit 25.
  • the different points will be described, and the description of the same points will be omitted.
  • step S41 to step S43 is the same as the processing from step S31 to step S33 in FIG.
  • the processing from step S46 to step S48 is the same as the processing from step S34 to step S36 in FIG.
  • step S43 if the received data is the transmission data transmitted to the current TS, the data receiving unit 23 proceeds with the process to step S44.
  • step S47 if the received data is not the transmission data transmitted to the current TS, the data receiving unit 23 proceeds with the process to step S47.
  • step S44 the data receiving unit 23 acquires the remaining time of the current TS.
  • the time of the TS is managed by the time slot management unit 21. Therefore, the data receiving unit 23 obtains the current remaining time of the TS by inquiring the time slot managing unit 21.
  • step S45 the data receiving unit 23 determines whether the processing time required for the receiving task 27 to process the received data is longer than the current remaining time of the TS. The processing time required for the reception task 27 to process the received data is statistically obtained by preliminary measurement or specified by the user. If the processing time is equal to or less than the remaining time, the data receiving unit 23 advances the processing to step S46. On the other hand, when the processing time is longer than the remaining time, the data receiving unit 23 advances the processing to Step S47.
  • the data receiving unit 23 passes the received data to the receiving task 27 when the processing time is shorter than the remaining time, and stores the received data in the received data storage unit 25 when the processing time is longer than the remaining time. .
  • the communication device 10 stores the received data in the received data storage unit 25 when the processing time is longer than the remaining time. Accordingly, it is possible to prevent the processing of the receiving task 27 from being completed in the TS and hindering the processing of the next TS.
  • Embodiment 3 transmission of transmission data to be transmitted to the current TS when the remaining time of the current TS is shorter than the transmission time from transmission of the transmission data to arrival at another communication device 10.
  • the difference from the first and second embodiments is that the priority of the process is lowered.
  • the different points will be described, and the description of the same points will be omitted.
  • the functional configuration of the communication device 10 according to the third embodiment will be described with reference to FIG.
  • the communication device 10 differs from the communication devices 10 according to the first and second embodiments in that the communication device 10 includes a priority switching unit 30.
  • step S54 to step S57 is the same as the processing from step S11 to step S14 in FIG.
  • step S51 the time slot management section 21 acquires the time.
  • step S52 the time slot management unit 21 determines whether or not the remaining time of the current TS is shorter than the transmission time ⁇ t from when the transmission data is transmitted to when it reaches another communication device 10. If the remaining time is shorter than the transmission time ⁇ t, the time slot management unit 21 advances the processing to step S53. On the other hand, when the remaining time is equal to or longer than the transmission time ⁇ t, the time slot management unit 21 returns the process to step S51 and acquires the time again.
  • step 53 the time slot management unit 21 notifies the priority switching unit 30 that the remaining time is shorter than the transmission time ⁇ t. Thereby, the time slot management unit 21 causes the priority switching unit 30 to switch the priority of the transmission process.
  • step S61 the priority switching unit 30 receives a notification from the time slot management unit 21.
  • step S62 the priority switching unit 30 determines whether the notification from the time slot management unit 21 is a notification that the remaining time of the current TS is shorter than the transmission time ⁇ t. If the notification is a notification that the current remaining time of the TS is shorter than the transmission time ⁇ t, the priority switching unit 30 advances the processing to step S63. On the other hand, when the notification is not a notification that the remaining time of the current TS is shorter than the transmission time ⁇ t, the priority switching unit 30 ends the process.
  • step S63 the priority switching unit 30 lowers the priority of the transmission processing of the transmission data to be transmitted to the current TS. Specifically, the priority switching unit 30 lowers the priority of the transmission task 26 that performs transmission processing on the current TS.
  • step S64 the priority switching unit 30 increases the priority of the transmission processing of the transmission data to be transmitted to the next TS. Specifically, the priority switching unit 30 increases the priority of the transmission task 26 that performs transmission processing on the next TS. As a result, the transmission task 26 that performs transmission processing on the next TS has higher priority than the transmission task 26 that performs transmission processing on the current TS.
  • Embodiment 3 *** Effect of Embodiment 3 *** As described above, when the remaining time of the current TS is shorter than the transmission time ⁇ t, the communication device 10 according to the third embodiment lowers the priority of the transmission task 26 that performs transmission processing on the current TS. . As a result, the transmission process in which the process is not completed in the current TS is reduced, and it is possible to prevent the process of the next TS from being hindered.
  • Embodiment 4 is different from Embodiments 1 to 3 in that, when the TS is switched, the priority of the reception processing of the reception data, which is the transmission data transmitted to the TS before switching, is lowered.
  • the different points will be described, and the description of the same points will be omitted.
  • a case where a function is added to the third embodiment will be described.
  • time slot management section 21 With reference to FIG. 13, the operation of time slot management section 21 according to Embodiment 4 will be described.
  • the processing from step S71 to step S76 is the same as the processing from step S51 to step S56 in FIG.
  • the processing in step S78 is the same as the processing in step S57 in FIG.
  • step S77 the time slot management unit 21 notifies the priority switching unit 30 that the TS has been switched. Thereby, the time slot management unit 21 causes the priority switching unit 30 to switch the priority of the reception process.
  • step S81 is the same as the processing in step S61 in FIG. Further, the processing from step S85 to step S86 is the same as the processing from step S63 to step S64 in FIG.
  • step S82 the priority switching unit 30 determines whether the notification from the time slot management unit 21 is a notification that the TS has been switched or a notification that the remaining time is shorter than the transmission time ⁇ t. . If the notification is that the TS has been switched, the priority switching unit 30 causes the process to proceed to step S83. On the other hand, if the remaining time is a notification that the remaining time is shorter than the transmission time ⁇ t, the priority switching unit 30 advances the processing to step S85.
  • step S83 the priority switching unit 30 lowers the priority of the reception process of the reception data that is the transmission data transmitted to the TS before the switching. Specifically, the priority switching unit 30 lowers the priority of the receiving task 27 that performs the receiving process on the TS before switching.
  • step S84 the priority switching unit 30 increases the priority of the reception processing of the reception data that is the transmission data transmitted to the TS after the switching. Specifically, the priority switching unit 30 increases the priority of the receiving task 27 that performs the receiving process on the TS after the switching. As a result, the receiving task 27 that performs the receiving process on the current TS has priority over the receiving task 27 that performs the receiving process on the TS before switching.
  • the communication device 10 when the TS is switched, the communication device 10 according to the fourth embodiment lowers the priority of the reception process of the reception data that is the transmission data transmitted to the TS before the switching. As a result, the reception processing that has not been completed for the previous TS is not executed, and it is possible to prevent the current TS from being interrupted.
  • 10 communication device 11 processor, 12 memory, 13 network interface, 21 time slot management unit, 22 data transmission unit, 23 data reception unit, 24 transmission data storage unit, 25 reception data storage unit, 26 transmission task, 27 reception task, 28 transmission queue, 29 reception queue, 30 priority switching unit, 100 ⁇ communication system, 200 network.

Abstract

This communication device (10) communicates by means of a network in which Time-Sensitive Networking (TSN) technology is used. A timeslot management unit (21) notifies that the timeslot in the TSN technology has changed. If received data received from another communication device (10) is not the transmission data transmitted in the current timeslot, then a data receiving unit (23) stores the received data in a received data storage unit (25). If the timeslot management unit (21) has notified that the timeslot has changed, then the data receiving unit (23) passes to a reception task (27) the received data which is transmission data that was stored in the received data storage unit (25) and that was transmitted in a time slot after the changing.

Description

通信装置、通信方法及び通信プログラムCommunication device, communication method, and communication program
 この発明は、TSN(Time-Sensitive Networking)技術が用いられたネットワークにおける通信技術に関する。 << The present invention relates to a communication technology in a network using TSN (Time-Sensitive @ Networking) technology.
 近年、制御ネットワークで行われる通信にIEEE802.1QbvとIEEE802.1ASといったTSN技術が適用されつつある。
 TSN技術では、通信周期が複数のタイムスロット(以下、TS)に分割される。各TSでは、割り当てられた種別のデータのみが送信される。プロトコル毎にTSが割り当てられることが多い。例えば、TS0はIP通信に割り当てられ、TS1はFAネットワーク用通信に割り当てられるというように各TSが割り当てられる。
In recent years, TSN technologies such as IEEE 802.1Qbv and IEEE 802.1AS have been applied to communication performed in a control network.
In the TSN technology, a communication cycle is divided into a plurality of time slots (hereinafter, TS). In each TS, only data of the assigned type is transmitted. A TS is often assigned for each protocol. For example, TS0 is assigned to IP communication, TS1 is assigned to FA network communication, and so on.
 送信側では、各データは、割り当てられたTSの送信キューに格納され、各TSが割り当てられている時刻となったらキューにあるデータが順次送出される。キューはIEEE802.1Qbvにより提供されている。受信側では、データを受け取るとキューに格納することなく受信タスクに渡される。 (4) On the transmission side, each data is stored in the transmission queue of the assigned TS, and when the time at which each TS is assigned is reached, the data in the queue is sequentially transmitted. The queue is provided by IEEE 802.1Qbv. On the receiving side, when data is received, it is passed to the receiving task without being stored in the queue.
 特許文献1には、優先度の高い通信を行うタスクの優先度を高くし、優先度の低い通信を行うタスクの優先度を低くすることにより、優先度の高いタスクが必要なデータの送受信が優先的に行われるようにすることが記載されている。 Patent Literature 1 discloses that a task that performs high-priority communication has a high priority, and a task that performs low-priority communication has a low priority. It is described that priority is given to this.
特開平11-074946号公報JP-A No. 11-074946
 各TSに割り当てられた時間の終わり頃にデータが送信された場合、又は、低速ネットワークでデータが送信された場合、次のTSの時刻にデータが受信側に到着することがある。IEEE802.1Qbvは送信キューを提供するものの受信キューを提供してしない。そのため、当該データは割り当てられたTS以外でも受信タスクに渡され、処理が行われる。すると、本来割り当てられたTSにデータを送信したいタスクの処理が妨げられ、送信したい周期でデータが送信できなくなることが起こり得る。 デ ー タ If data is transmitted near the end of the time allocated to each TS, or if data is transmitted over a low-speed network, data may arrive at the receiving side at the time of the next TS. IEEE 802.1Qbv provides a transmit queue but does not provide a receive queue. Therefore, the data is transferred to the receiving task other than the assigned TS and the data is processed. Then, the processing of the task that wants to transmit data to the originally assigned TS may be hindered, and the data may not be transmitted at the desired transmission cycle.
 特許文献1の手法を用いた場合、優先度が高く設定されたタスクの通信は毎周期送信が可能となる。しかし、優先度の低いタスクの処理に遅延が発生してしまう。その結果、タイムスロットに割り当てられたデータの送受信が行えなくなる可能性がある。 場合 When the method of Patent Document 1 is used, communication of a task set with a high priority can be transmitted every period. However, a delay occurs in the processing of a task with a low priority. As a result, there is a possibility that transmission and reception of data allocated to the time slot cannot be performed.
 この発明は、各タスクが送信周期を保持できるようにすることを目的とする。 The present invention aims to enable each task to hold a transmission cycle.
 この発明に係る通信装置は、
 TSN(Time-Sensitive Networking)技術が用いられたネットワークで通信する通信装置であり、
 前記TSN技術におけるタイムスロットが切り替わったことを通知するタイムスロット管理部と、
 他の通信装置から受信した受信データが現在のタイムスロットに送信された送信データでない場合には前記受信データを受信データ保管部に保管しておき、前記タイムスロット管理部によってタイムスロットが切り替わったことが通知された場合に、前記受信データ保管部に保管された、切り替わった後のタイムスロットに送信された送信データである前記受信データを受信タスクに渡すデータ受信部と
を備える。
The communication device according to the present invention includes:
A communication device that communicates on a network using TSN (Time-Sensitive Networking) technology,
A time slot management unit for notifying that the time slot in the TSN technology has been switched;
If the received data received from another communication device is not the transmitted data transmitted in the current time slot, the received data is stored in the received data storage unit, and the time slot is switched by the time slot management unit. And a data receiving unit that transfers the received data, which is the transmission data transmitted in the switched time slot, stored in the received data storage unit to the reception task when the notification is transmitted.
 この発明では、データ受信部は、受信データが現在のタイムスロットに送信された送信データでない場合には受信データを受信データ保管部に保管しておく。そして、データ受信部は、タイムスロットが切り替わった場合に、切り替わった後のタイムスロットに送信された送信データである受信データを受信タスクに渡す。
 これにより、他のタイムスロットで送信されたデータの処理の影響により、現在のタイムスロットで送信されたデータの処理が妨げられることがなくなる。その結果、各タスクが送信周期を保持できるようになる。
According to the present invention, the data receiving unit stores the received data in the received data storage unit when the received data is not the transmission data transmitted in the current time slot. Then, when the time slot is switched, the data receiving unit passes reception data, which is transmission data transmitted in the switched time slot, to the reception task.
Thus, the processing of data transmitted in the current time slot is not hindered by the influence of the processing of data transmitted in another time slot. As a result, each task can hold the transmission cycle.
実施の形態1に係る通信システム100の構成図。FIG. 1 is a configuration diagram of a communication system 100 according to a first embodiment. 実施の形態1に係る通信装置10の機能構成図。FIG. 2 is a functional configuration diagram of the communication device 10 according to the first embodiment. 実施の形態1に係るタイムスロット管理部21の動作のフローチャート。5 is a flowchart of an operation of the time slot management unit 21 according to the first embodiment. 実施の形態1に係るデータ送信部22の動作のフローチャート。5 is a flowchart of the operation of the data transmission unit 22 according to the first embodiment. 実施の形態1に係るデータ受信部23の動作のフローチャート。5 is a flowchart of the operation of the data receiving unit 23 according to the first embodiment. TSN技術を適用した場合の周期通信の例を示す図。The figure which shows the example of the periodic communication at the time of applying TSN technology. TSN技術を適用した場合の周期通信の例を示す図。The figure which shows the example of the periodic communication at the time of applying TSN technology. TSN技術を適用した場合の周期通信の例を示す図。The figure which shows the example of the periodic communication at the time of applying TSN technology. 実施の形態2に係るデータ受信部23の動作のフローチャート。13 is a flowchart of the operation of the data receiving unit 23 according to the second embodiment. 実施の形態3に係る通信装置10の機能構成図。FIG. 9 is a functional configuration diagram of a communication device 10 according to a third embodiment. 実施の形態3に係るタイムスロット管理部21の動作のフローチャート。15 is a flowchart of the operation of the time slot management unit 21 according to the third embodiment. 実施の形態3に係る優先度切替部30の動作のフローチャート。13 is a flowchart of the operation of the priority switching unit 30 according to the third embodiment. 実施の形態4に係るタイムスロット管理部21の動作のフローチャート。15 is a flowchart of the operation of the time slot management unit 21 according to the fourth embodiment. 実施の形態4に係る優先度切替部30の動作のフローチャート。15 is a flowchart of the operation of the priority switching unit 30 according to the fourth embodiment.
 実施の形態1.
 ***構成の説明***
 図1を参照して、実施の形態1に係る通信システム100の構成を説明する。
 通信システム100は、複数の通信装置10を備える。各通信装置10は、ネットワーク200を介して接続されている。ネットワーク200は、TSN技術を用いたネットワークである。各通信装置10は、他の通信装置10との間で、ネットワーク200を介して通信する。
Embodiment 1 FIG.
*** Configuration description ***
The configuration of the communication system 100 according to the first embodiment will be described with reference to FIG.
The communication system 100 includes a plurality of communication devices 10. Each communication device 10 is connected via a network 200. The network 200 is a network using the TSN technology. Each communication device 10 communicates with another communication device 10 via the network 200.
 各通信装置10は、プロセッサ11と、メモリ12と、ネットワークインタフェース13とのハードウェアを備える。プロセッサ11は、信号線を介して他のハードウェアと接続され、これら他のハードウェアを制御する。 Each communication device 10 includes hardware of a processor 11, a memory 12, and a network interface 13. The processor 11 is connected to other hardware via a signal line, and controls the other hardware.
 プロセッサ11は、プロセッシングを行うIC(Integrated Circuit)である。プロセッサ11は、具体例としては、CPU(Central Processing Unit)、DSP(Digital Signal Processor)、GPU(Graphics Processing Unit)である。 The processor 11 is an IC (Integrated Circuit) that performs processing. The processor 11 is, as a specific example, a CPU (Central Processing Unit), a DSP (Digital Signal Processor), and a GPU (Graphics Processing Unit).
 メモリ12は、データを記憶する記憶装置である。メモリ12は、具体例としては、SRAM(Static Random Access Memory)、DRAM(Dynamic Random Access Memory)である。メモリ12は、SD(登録商標,Secure Digital)メモリカード、CF(CompactFlash,登録商標)、NANDフラッシュ、フレキシブルディスク、光ディスク、コンパクトディスク、ブルーレイ(登録商標)ディスク、DVD(Digital Versatile Disk)といった可搬記録媒体であってもよい。 The memory 12 is a storage device for storing data. The memory 12 is, for example, an SRAM (Static Random Access Memory) or a DRAM (Dynamic Random Access Memory). The memory 12 is a portable memory such as an SD (registered trademark, Secure Digital) memory card, a CF (CompactFlash, registered trademark), a NAND flash, a flexible disk, an optical disk, a compact disk, a Blu-ray (registered trademark) disk, and a DVD (Digital Versatile Disk). It may be a recording medium.
 ネットワークインタフェース13は、ネットワーク200と接続するためのインタフェースである。ネットワークインタフェース13は、具体例としては、Ethernet(登録商標)、USB(Universal Serial Bus)のポートである。 The network interface 13 is an interface for connecting to the network 200. The network interface 13 is a port of Ethernet (registered trademark) or a USB (Universal Serial Bus) as a specific example.
 図2を参照して、実施の形態1に係る通信装置10の機能構成を説明する。
 通信装置10は、タイムスロット管理部21と、データ送信部22と、データ受信部23と、送信データ保管部24と、受信データ保管部25と、複数の送信タスク26と、複数の受信タスク27とを備える。
 送信データ保管部24は、TS毎にエントリを有しており、各エントリには送信キュー28が設けられている。図2では、送信データ保管部24は、TS0用エントリと、TS1用エントリと、TS2用エントリと・・・を有しており、各エントリに送信キュー28が設けられている。また、受信データ保管部25は、TS毎にエントリを有しており、各エントリには受信キュー29が設けられている。図2では、受信データ保管部25は、TS0用エントリと、TS1用エントリと、TS2用エントリと・・・を有しており、各エントリに受信キュー29が設けられている。
The functional configuration of the communication device 10 according to the first embodiment will be described with reference to FIG.
The communication device 10 includes a time slot management unit 21, a data transmission unit 22, a data reception unit 23, a transmission data storage unit 24, a reception data storage unit 25, a plurality of transmission tasks 26, and a plurality of reception tasks 27. And
The transmission data storage unit 24 has an entry for each TS, and each entry is provided with a transmission queue 28. In FIG. 2, the transmission data storage unit 24 has an entry for TS0, an entry for TS1, an entry for TS2,..., And a transmission queue 28 is provided for each entry. Further, the reception data storage unit 25 has an entry for each TS, and each entry is provided with a reception queue 29. In FIG. 2, the reception data storage unit 25 has an entry for TS0, an entry for TS1, an entry for TS2,..., And a reception queue 29 is provided for each entry.
 タイムスロット管理部21と、データ送信部22と、データ受信部23と、送信データ保管部24と、受信データ保管部25と、複数の送信タスク26と、複数の受信タスク27との機能は、ソフトウェアによって実現される。メモリ12には、これらの機能を実現するプログラムが記憶される。このプログラムは、プロセッサ11により読み込まれ、実行される。これにより、これらの機能が実現される。
 また、送信キュー28及び受信キュー29の機能は、メモリ12によって実現される。
The functions of the time slot management unit 21, data transmission unit 22, data reception unit 23, transmission data storage unit 24, reception data storage unit 25, multiple transmission tasks 26, and multiple reception tasks 27 are as follows: Implemented by software. The memory 12 stores programs for implementing these functions. This program is read and executed by the processor 11. Thereby, these functions are realized.
Further, the functions of the transmission queue 28 and the reception queue 29 are realized by the memory 12.
 ***動作の説明***
 図3から図5を参照して、実施の形態1に係る通信装置10の動作を説明する。
 実施の形態1に係る通信装置10の動作は、実施の形態1に係る通信方法に相当する。また、実施の形態1に係る通信装置10の動作は、実施の形態1に係る通信プログラムの処理に相当する。
*** Explanation of operation ***
The operation of the communication device 10 according to the first embodiment will be described with reference to FIGS.
The operation of the communication device 10 according to the first embodiment corresponds to the communication method according to the first embodiment. The operation of the communication device 10 according to the first embodiment corresponds to the processing of the communication program according to the first embodiment.
 以下に説明する動作の前提として、各送信タスク26は、他の通信装置10に送信する送信データが発生すると、送信データを送信データ保管部24に渡す。すると、送信データ保管部24は、受け渡し元の送信タスク26、あるいは、送信データに対応するTS用のエントリに設けられた送信キュー28に送信データを保管しておく。また、各受信タスク27は、データ受信部23から受信データを渡されると、渡された受信データを用いた処理を実行する。 As a premise of the operation described below, when transmission data to be transmitted to another communication device 10 occurs, each transmission task 26 passes the transmission data to the transmission data storage unit 24. Then, the transmission data storage unit 24 stores the transmission data in the transmission task 26 of the transfer source or in the transmission queue 28 provided in the entry for the TS corresponding to the transmission data. Further, when receiving data is passed from the data receiving unit 23, each receiving task 27 executes a process using the received receiving data.
 図3を参照して、実施の形態1に係るタイムスロット管理部21の動作を説明する。
 ステップS11では、タイムスロット管理部21は、時刻を取得する。ステップS12では、タイムスロット管理部21は、TSの切り替え時刻を過ぎたか否かを判定する。タイムスロット管理部21は、TSの切り替え時刻を過ぎた場合には、処理をステップS13に進める。一方、タイムスロット管理部21は、TSの切り替え時刻を過ぎていない場合には、処理をステップS11に戻して、再び時刻を取得する。
 ステップS13では、タイムスロット管理部21は、TSが切り替わったことをデータ送信部22に通知する。これにより、タイムスロット管理部21は、データ送信部22に切り替わった後のTSの送信データを送信させる。ステップS14では、データ送信部21は、TSが切り替わったことをデータ受信部23に通知する。これにより、タイムスロット管理部21は、データ受信部23に切り替わった後のTSの受信データを受信タスク27に渡させる。
With reference to FIG. 3, an operation of time slot management section 21 according to Embodiment 1 will be described.
In step S11, the time slot management unit 21 acquires a time. In step S12, the time slot management section 21 determines whether or not the TS switching time has passed. When the time for switching the TS has passed, the time slot management unit 21 advances the process to step S13. On the other hand, when the time for switching the TS has not passed, the time slot management unit 21 returns the process to step S11 and acquires the time again.
In step S13, the time slot management unit 21 notifies the data transmission unit 22 that the TS has been switched. As a result, the time slot management unit 21 causes the data transmission unit 22 to transmit the transmission data of the switched TS. In step S14, the data transmission unit 21 notifies the data reception unit 23 that the TS has been switched. As a result, the time slot management unit 21 passes the received data of the TS after the switching to the data reception unit 23 to the reception task 27.
 図4を参照して、実施の形態1に係るデータ送信部22の動作を説明する。
 ステップS21では、データ送信部22は、タイムスロット管理部21から通知を受け付ける。ステップS22では、データ送信部22は、タイムスロット管理部21からの通知がTSが切り替わったことの通知であるか否かを判定する。データ送信部22は、通知がTSが切り替わったことの通知を受け付けた通知である場合には、処理をステップS23に進める。一方、データ送信部22は、通知がTSが切り替わったことの通知でない場合には、処理を終了する。
 ステップS23では、データ送信部22は、切り替わった後のTSを対象として、対象のTS用のエントリに設けられた送信キュー28に保管された送信データを宛先の通信装置10に送信する。なお、データ送信部22は、タイムスロット管理部21からTSが切り替わったことが再び通知されるまで、対象のTS用のエントリに設けられた送信キュー28に新たな送信データが保管されると、保管された送信データを宛先の通信装置10に向けてネットワーク200に送信する。
With reference to FIG. 4, the operation of data transmitting section 22 according to the first embodiment will be described.
In step S21, the data transmission unit 22 receives a notification from the time slot management unit 21. In step S22, the data transmission unit 22 determines whether the notification from the time slot management unit 21 is a notification that the TS has been switched. If the notification is a notification that the notification that the TS has been switched has been received, the data transmission unit 22 advances the process to step S23. On the other hand, when the notification is not a notification that the TS has been switched, the data transmission unit 22 ends the process.
In step S23, the data transmission unit 22 transmits the transmission data stored in the transmission queue 28 provided in the target TS entry to the destination communication device 10 for the switched TS. Note that the data transmission unit 22 stores new transmission data in the transmission queue 28 provided in the entry for the target TS until the time slot management unit 21 again notifies that the TS has been switched. The stored transmission data is transmitted to the network 200 to the destination communication device 10.
 図5を参照して、実施の形態1に係るデータ受信部23の動作を説明する。
 ステップS31では、データ受信部23は、ネットワークインタフェース13から送信データの到着通知を受け付ける、又は、タイムスロット管理部21からのTSが切り替わったことの通知を受け付ける。送信データの到着通知は、ハードウェア割り込み等である。データ受信部23は、送信データの到着通知を受け付けた場合には、送信データを受信データとして受信する。
 ステップS32では、データ受信部23は、ステップS31で送信データの到着通知を受け付けたのか、又は、タイムスロット管理部21からTSが切り替わったことの通知を受け付けたのかを判定する。データ受信部23は、送信データの到着通知を受け付けた場合には、処理をステップS33に進める。一方、データ受信部23は、タイムスロット管理部21からTSが切り替わったことの通知を受け付けた場合には、処理をステップS36に進める。
With reference to FIG. 5, the operation of data receiving section 23 according to the first embodiment will be described.
In step S31, the data receiving unit 23 receives a transmission data arrival notification from the network interface 13, or receives a notification from the time slot management unit 21 that the TS has been switched. The transmission data arrival notification is a hardware interrupt or the like. When receiving the transmission data arrival notification, the data receiving unit 23 receives the transmission data as reception data.
In step S32, the data receiving unit 23 determines whether the notification of the arrival of the transmission data has been received in step S31 or whether the notification that the TS has been switched has been received from the time slot management unit 21. When the data receiving unit 23 receives the transmission data arrival notification, the process proceeds to step S33. On the other hand, when the data receiving unit 23 receives a notification that the TS has been switched from the time slot management unit 21, the process proceeds to step S36.
 ステップS33では、データ受信部23は、受信データが現在のTSに送信された送信データであるか否かを判定する。データ受信部23は、受信データが現在のTSに送信された送信データである場合には、処理をステップS34に進める。一方、データ受信部23は、受信データが現在のTSに送信された送信データでない場合には、処理をステップS35に進める。
 ステップS34では、データ受信部23は、受信データを対応する受信タスク27に渡す。一方、ステップS35では、データ受信部23は、受信データを受信データ保管部25に保管しておく。具体的には、データ受信部23は、受信データを受信データ保管部25に渡す。すると、受信データ保管部25は、受信データに対応するTS用のエントリに設けられた受信キュー29に受信データを保管しておく。
In step S33, the data receiving unit 23 determines whether or not the received data is transmission data transmitted to the current TS. If the received data is the transmission data transmitted to the current TS, the data receiving unit 23 proceeds with the process to step S34. On the other hand, when the received data is not the transmission data transmitted to the current TS, the data receiving unit 23 proceeds with the process to step S35.
In step S34, the data receiving unit 23 passes the received data to the corresponding receiving task 27. On the other hand, in step S35, the data receiving unit 23 stores the received data in the received data storage unit 25. Specifically, the data receiving unit 23 passes the received data to the received data storage unit 25. Then, the reception data storage unit 25 stores the reception data in the reception queue 29 provided in the entry for TS corresponding to the reception data.
 ステップS36では、データ受信部23は、受信データ保管部25に保管された、切り替わった後のTSに送信された送信データである受信データを対応する受信タスク27に渡す。つまり、データ受信部23は、切り替わった後のTS用のエントリに設けられた受信キュー29に保管された受信データを、対応する受信タスク27に渡す。 In step S36, the data receiving unit 23 passes the reception data, which is the transmission data transmitted to the switched TS and stored in the reception data storage unit 25, to the corresponding reception task 27. That is, the data reception unit 23 transfers the reception data stored in the reception queue 29 provided in the switched TS entry to the corresponding reception task 27.
 ***実施の形態1の効果***
 以上のように、実施の形態1に係る通信装置10では、データ受信部23は、受信データが現在のTSに送信された送信データでない場合には受信データを受信データ保管部25に保管しておく。そして、データ受信部23は、TSが切り替わった場合に、切り替わった後のタイムスロットに送信された送信データである受信データを受信タスク27に渡す。
 これにより、他のタイムスロットで送信された送信データの処理の影響により、現在のタイムスロットで送信された送信データの処理が妨げられることがなくなる。その結果、各タスクが送信周期を保持できるようになる。
*** Effect of Embodiment 1 ***
As described above, in the communication device 10 according to the first embodiment, the data receiving unit 23 stores the received data in the received data storage unit 25 when the received data is not the transmission data transmitted to the current TS. deep. Then, when the TS is switched, the data receiving unit 23 passes reception data, which is transmission data transmitted in the time slot after the switching, to the reception task 27.
This prevents the processing of the transmission data transmitted in the current time slot from being hindered by the influence of the processing of the transmission data transmitted in another time slot. As a result, each task can hold the transmission cycle.
 従来の手法では、データ受信部は、受信データを受信した際に、その受信データが現在のTSに送信された送信データでなくても、受信タスクに受信データを渡す。そして、受信タスクは、渡された受信データに基づき処理を行う。その結果、現在のTSで送受信するデータに関する処理をする送信タスク及び受信タスクの処理が阻害される。
 図6では、30秒の周期通信が行われ、この周期が3つのTSに分割され、各TSに10秒ずつ時間が割り当てられた例が示されている。この例では、送信タスク0が持つデータはTS0での送信となっている。そのため、送信キューにこのデータが挿入されると、挿入時刻(00:00:06)がTS0内の時刻であるため、そのまま送信される。送信タスク1が持つデータはTS1での送信となっている。送信キューにこのデータが挿入された時刻(00:00:31)はまだTS0のタイムスロットである。そのため、このデータは、送信キュー内でデータは一時的に待機となり、TS1に割り当てられた時刻である00:00:40以降になってから送信される。
 ここで、図7に示すように、各TSに割り当てられた時間の終わり頃にデータが送信された場合、又は、低速ネットワークでデータが送信された場合、次のTSの時刻にデータが受信側に到着することがある。例えば、図8において、送信タスク0がTS0に割り当てられた時刻の終盤にデータ送信した場合、受信タスクが受信する時刻はTS1に割り当てられた時刻になる。その際、受信タスクがCPUリソースを占有するとTS1でデータを送信したい送信タスク1は動作できず、TS1の送信キューへのデータ挿入が遅れる。送信タスク1がTS1のタイムスロットで毎周期送信すべきものであった場合、システムの要求を満たすことができなくなる。
 実施の形態1に係る通信装置10は、受信データが現在のTSに送信された送信データでない場合には受信データを受信データ保管部25に保管しておき、受信タスク27に渡されない。そのため、他のタイムスロットで送信された送信データの処理の影響により、現在のタイムスロットで送信された送信データの処理が妨げられることがなくなる。
In the conventional method, when receiving the received data, the data receiving unit passes the received data to the receiving task even if the received data is not the transmission data transmitted to the current TS. Then, the reception task performs processing based on the received reception data. As a result, the processing of the transmission task and the processing of the reception task, which perform processing relating to data transmitted and received in the current TS, are hindered.
FIG. 6 shows an example in which a 30-second periodic communication is performed, this period is divided into three TSs, and a time is allocated to each TS for 10 seconds. In this example, the data held by the transmission task 0 is transmitted by TS0. Therefore, when this data is inserted into the transmission queue, it is transmitted as it is because the insertion time (00:00:06) is the time in TS0. The data of the transmission task 1 is transmitted by TS1. The time (00:00:31) at which this data was inserted into the transmission queue is still a time slot of TS0. Therefore, this data is temporarily suspended in the transmission queue, and is transmitted after 00:00:40, which is the time allocated to TS1.
Here, as shown in FIG. 7, when data is transmitted around the end of the time allocated to each TS, or when data is transmitted over a low-speed network, the data is transmitted to the receiving side at the time of the next TS. May arrive at. For example, in FIG. 8, when the transmission task 0 transmits data at the end of the time allocated to TS0, the time received by the reception task is the time allocated to TS1. At this time, if the receiving task occupies CPU resources, the transmitting task 1 that wants to transmit data in TS1 cannot operate, and the insertion of data into the transmission queue of TS1 is delayed. If the transmission task 1 is to be transmitted every period in the time slot of TS1, it will not be possible to satisfy the requirements of the system.
If the received data is not the transmitted data transmitted to the current TS, the communication device 10 according to the first embodiment stores the received data in the received data storage unit 25 and is not passed to the reception task 27. Therefore, the processing of the transmission data transmitted in the other timeslots does not hinder the processing of the transmission data transmitted in the current timeslot.
 ***他の構成***
 <変形例1>
 実施の形態1では、タイムスロット管理部21と、データ送信部22と、データ受信部23と、送信データ保管部24と、受信データ保管部25と、複数の送信タスク26と、複数の受信タスク27との機能は、ソフトウェアによって実現されるとした。しかし、これらの機能は、ハードウェアで実現されてもよい。
 これらの機能がハードウェアで実現される場合には、通信装置10は、プロセッサ11に代えて電子回路を備える。電子回路は、これらの機能を実現する専用の回路である。
*** Other configuration ***
<Modification 1>
In the first embodiment, a time slot management unit 21, a data transmission unit 22, a data reception unit 23, a transmission data storage unit 24, a reception data storage unit 25, a plurality of transmission tasks 26, a plurality of reception tasks 27 is realized by software. However, these functions may be realized by hardware.
When these functions are realized by hardware, the communication device 10 includes an electronic circuit instead of the processor 11. The electronic circuit is a dedicated circuit for realizing these functions.
 電子回路としては、単一回路、複合回路、プログラム化したプロセッサ、並列プログラム化したプロセッサ、ロジックIC、GA(Gate Array)、ASIC(Application Specific Integrated Circuit)、FPGA(Field-Programmable Gate Array)が想定される。
 各機能構成要素を1つの電子回路で実現してもよいし、各機能構成要素を複数の電子回路に分散させて実現してもよい。
As the electronic circuit, a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, a logic IC, a GA (Gate Array), an ASIC (Application Specific Integrated Circuit), and an FPGA (Field-Programmable Gate Array) are assumed. Is done.
Each functional component may be implemented by one electronic circuit, or each functional component may be implemented by being distributed to a plurality of electronic circuits.
 <変形例2>
 変形例2として、一部の各機能構成要素がハードウェアで実現され、他の各機能構成要素がソフトウェアで実現されてもよい。
<Modification 2>
As a second modification, some of the functional components may be implemented by hardware, and other functional components may be implemented by software.
 プロセッサ11と電子回路とを処理回路という。つまり、各機能構成要素の機能は、処理回路により実現される。 (4) The processor 11 and the electronic circuit are referred to as a processing circuit. That is, the function of each functional component is realized by the processing circuit.
 実施の形態2.
 実施の形態2は、受信タスク27が受信データの処理に必要な処理時間が現在のTSの残り時間よりも長い場合には、データ受信部23が受信データを受信タスク27に渡さずに受信データ保管部25に保管しておく点が実施の形態1と異なる。実施の形態2では、この異なる点を説明し、同一の点については説明を省略する。
Embodiment 2 FIG.
In the second embodiment, when the processing time required for the receiving task 27 to process the received data is longer than the current remaining time of the TS, the data receiving unit 23 does not pass the received data to the It differs from the first embodiment in that it is stored in the storage unit 25. In the second embodiment, the different points will be described, and the description of the same points will be omitted.
 ***動作の説明***
 図9を参照して、実施の形態2に係るデータ受信部23の動作を説明する。
 ステップS41からステップS43の処理は、図5のステップS31からステップS33の処理と同じである。また、ステップS46からステップS48の処理は、図5のステップS34からステップS36の処理と同じである。
 なお、ステップS43では、データ受信部23は、受信データが現在のTSに送信された送信データである場合には、処理をステップS44に進める。一方、データ受信部23は、受信データが現在のTSに送信された送信データでない場合には、処理をステップS47に進める。
*** Explanation of operation ***
With reference to FIG. 9, an operation of data receiving section 23 according to the second embodiment will be described.
The processing from step S41 to step S43 is the same as the processing from step S31 to step S33 in FIG. The processing from step S46 to step S48 is the same as the processing from step S34 to step S36 in FIG.
In step S43, if the received data is the transmission data transmitted to the current TS, the data receiving unit 23 proceeds with the process to step S44. On the other hand, when the received data is not the transmission data transmitted to the current TS, the data receiving unit 23 proceeds with the process to step S47.
 ステップS44では、データ受信部23は、現在のTSの残り時間を取得する。ここでは、TSの時間は、タイムスロット管理部21によって管理されている。そこで、データ受信部23は、タイムスロット管理部21に問い合わせることにより、現在のTSの残り時間を取得する。
 ステップS45では、データ受信部23は、受信タスク27が受信データの処理に必要な処理時間が現在のTSの残り時間よりも長いか否かを判定する。受信タスク27が受信データの処理に必要な処理時間は、事前計測により統計的に求めておく、あるいは、ユーザが指定することにより特定される。データ受信部23は、処理時間が残り時間以下の場合には、処理をステップS46に進める。一方、データ受信部23は、処理時間が残り時間よりも長い場合には、処理をステップS47に進める。
In step S44, the data receiving unit 23 acquires the remaining time of the current TS. Here, the time of the TS is managed by the time slot management unit 21. Therefore, the data receiving unit 23 obtains the current remaining time of the TS by inquiring the time slot managing unit 21.
In step S45, the data receiving unit 23 determines whether the processing time required for the receiving task 27 to process the received data is longer than the current remaining time of the TS. The processing time required for the reception task 27 to process the received data is statistically obtained by preliminary measurement or specified by the user. If the processing time is equal to or less than the remaining time, the data receiving unit 23 advances the processing to step S46. On the other hand, when the processing time is longer than the remaining time, the data receiving unit 23 advances the processing to Step S47.
 つまり、データ受信部23は、処理時間が残り時間以下の場合には、受信データを受信タスク27に渡し、処理時間が残り時間より長い場合には、受信データを受信データ保管部25に保管する。 That is, the data receiving unit 23 passes the received data to the receiving task 27 when the processing time is shorter than the remaining time, and stores the received data in the received data storage unit 25 when the processing time is longer than the remaining time. .
 ***実施の形態2の効果***
 以上のように、実施の形態2に係る通信装置10は、処理時間が残り時間より長い場合には、受信データを受信データ保管部25に保管する。これにより、TS内に受信タスク27の処理が終わらず、次のTSの処理の妨げになることを防止できる。
*** Effect of Embodiment 2 ***
As described above, the communication device 10 according to the second embodiment stores the received data in the received data storage unit 25 when the processing time is longer than the remaining time. Accordingly, it is possible to prevent the processing of the receiving task 27 from being completed in the TS and hindering the processing of the next TS.
 実施の形態3.
 実施の形態3は、現在のTSの残り時間が、送信データを送信してから他の通信装置10に届くまでの送信時間よりも短くなった場合に、現在のTSに送信する送信データの送信処理の優先度を低くする点が実施の形態1,2と異なる。実施の形態3では、この異なる点を説明し、同一の点については説明を省略する。
Embodiment 3 FIG.
In the third embodiment, transmission of transmission data to be transmitted to the current TS when the remaining time of the current TS is shorter than the transmission time from transmission of the transmission data to arrival at another communication device 10. The difference from the first and second embodiments is that the priority of the process is lowered. In the third embodiment, the different points will be described, and the description of the same points will be omitted.
 ***構成の説明***
 図10を参照して、実施の形態3に係る通信装置10の機能構成を説明する。
 通信装置10は、優先度切替部30を備える点が実施の形態1,2に係る通信装置10と異なる。
*** Configuration description ***
The functional configuration of the communication device 10 according to the third embodiment will be described with reference to FIG.
The communication device 10 differs from the communication devices 10 according to the first and second embodiments in that the communication device 10 includes a priority switching unit 30.
 ***動作の説明***
 以下に説明する動作の前提として、送信タスク26には優先度が設定されており、優先度の高い送信タスク26ほど優先して処理を行う。
*** Explanation of operation ***
As a premise of the operation described below, a priority is set for the transmission task 26, and the transmission task 26 having a higher priority performs processing with higher priority.
 図11を参照して、実施の形態3に係るタイムスロット管理部21の動作を説明する。
 ステップS54からステップS57の処理は、図3のステップS11からステップS14の処理と同じである。
Referring to FIG. 11, an operation of time slot management section 21 according to Embodiment 3 will be described.
The processing from step S54 to step S57 is the same as the processing from step S11 to step S14 in FIG.
 ステップS51では、タイムスロット管理部21は、時刻を取得する。ステップS52では、タイムスロット管理部21は、現在のTSの残り時間が送信データを送信してから他の通信装置10に届くまでの送信時間Δtよりも短いか否かを判定する。タイムスロット管理部21は、残り時間が送信時間Δtよりも短い場合には、処理をステップS53に進める。一方、タイムスロット管理部21は、残り時間が送信時間Δt以上の場合には、処理をステップS51に戻して、再び時刻を取得する。 In step S51, the time slot management section 21 acquires the time. In step S52, the time slot management unit 21 determines whether or not the remaining time of the current TS is shorter than the transmission time Δt from when the transmission data is transmitted to when it reaches another communication device 10. If the remaining time is shorter than the transmission time Δt, the time slot management unit 21 advances the processing to step S53. On the other hand, when the remaining time is equal to or longer than the transmission time Δt, the time slot management unit 21 returns the process to step S51 and acquires the time again.
 ステップ53では、タイムスロット管理部21は、残り時間が送信時間Δtよりも短いことを優先度切替部30に通知する。これにより、タイムスロット管理部21は、優先度切替部30に送信処理の優先度を切り替えさせる。 In step 53, the time slot management unit 21 notifies the priority switching unit 30 that the remaining time is shorter than the transmission time Δt. Thereby, the time slot management unit 21 causes the priority switching unit 30 to switch the priority of the transmission process.
 図12を参照して、実施の形態3に係る優先度切替部30の動作を説明する。
 ステップS61では、優先度切替部30は、タイムスロット管理部21から通知を受け付ける。ステップS62では、優先度切替部30は、タイムスロット管理部21からの通知が現在のTSの残り時間が送信時間Δtよりも短いことの通知であるか否かを判定する。優先度切替部30は、通知が現在のTSの残り時間が送信時間Δtよりも短いことの通知である場合には、処理をステップS63に進める。一方、優先度切替部30は、通知が現在のTSの残り時間が送信時間Δtよりも短いことの通知でない場合には、処理を終了する。
The operation of the priority switching unit 30 according to the third embodiment will be described with reference to FIG.
In step S61, the priority switching unit 30 receives a notification from the time slot management unit 21. In step S62, the priority switching unit 30 determines whether the notification from the time slot management unit 21 is a notification that the remaining time of the current TS is shorter than the transmission time Δt. If the notification is a notification that the current remaining time of the TS is shorter than the transmission time Δt, the priority switching unit 30 advances the processing to step S63. On the other hand, when the notification is not a notification that the remaining time of the current TS is shorter than the transmission time Δt, the priority switching unit 30 ends the process.
 ステップS63では、優先度切替部30は、現在のTSに送信する送信データの送信処理の優先度を低くする。具体的には、優先度切替部30は、現在のTSに送信処理を行う送信タスク26の優先度を低くする。ステップS64では、優先度切替部30は、次のTSに送信する送信データの送信処理の優先度を高くする。具体的には、優先度切替部30は、次のTSに送信処理を行う送信タスク26の優先度を高くする。
 これにより、現在のTSに送信処理を行う送信タスク26よりも、次のTSに送信処理を行う送信タスク26の方が優先して処理が行われることになる。
In step S63, the priority switching unit 30 lowers the priority of the transmission processing of the transmission data to be transmitted to the current TS. Specifically, the priority switching unit 30 lowers the priority of the transmission task 26 that performs transmission processing on the current TS. In step S64, the priority switching unit 30 increases the priority of the transmission processing of the transmission data to be transmitted to the next TS. Specifically, the priority switching unit 30 increases the priority of the transmission task 26 that performs transmission processing on the next TS.
As a result, the transmission task 26 that performs transmission processing on the next TS has higher priority than the transmission task 26 that performs transmission processing on the current TS.
 ***実施の形態3の効果***
 以上のように、実施の形態3に係る通信装置10は、現在のTSの残り時間が送信時間Δtよりも短い場合には、現在のTSに送信処理を行う送信タスク26の優先度を低くする。これにより、現在のTSに処理が完了しない送信処理が実行されることが少なくなり、次のTSの処理の妨げになることを防止できる。
*** Effect of Embodiment 3 ***
As described above, when the remaining time of the current TS is shorter than the transmission time Δt, the communication device 10 according to the third embodiment lowers the priority of the transmission task 26 that performs transmission processing on the current TS. . As a result, the transmission process in which the process is not completed in the current TS is reduced, and it is possible to prevent the process of the next TS from being hindered.
 実施の形態4.
 実施の形態4は、TSが切り替わった場合に、切り替わる前のTSに送信された送信データである受信データの受信処理の優先度を低くする点が実施の形態1~3と異なる。実施の形態4では、この異なる点を説明し、同一の点については説明を省略する。
 なお、ここでは、実施の形態3に機能を追加した場合を説明する。しかし、実施の形態1,2に機能を追加することも可能である。
Embodiment 4 FIG.
Embodiment 4 is different from Embodiments 1 to 3 in that, when the TS is switched, the priority of the reception processing of the reception data, which is the transmission data transmitted to the TS before switching, is lowered. In the fourth embodiment, the different points will be described, and the description of the same points will be omitted.
Here, a case where a function is added to the third embodiment will be described. However, it is also possible to add functions to the first and second embodiments.
 ***動作の説明***
 以下に説明する動作の前提として、受信タスク27には優先度が設定されており、優先度の高い受信タスク27ほど優先して処理を行う。
*** Explanation of operation ***
As a premise of the operation described below, a priority is set for the reception task 27, and the reception task 27 having a higher priority performs processing with priority.
 図13を参照して、実施の形態4に係るタイムスロット管理部21の動作を説明する。
 ステップS71からステップS76の処理は、図11のステップS51からステップS56の処理と同じである。また、ステップS78の処理は、図11のステップS57の処理と同じである。
With reference to FIG. 13, the operation of time slot management section 21 according to Embodiment 4 will be described.
The processing from step S71 to step S76 is the same as the processing from step S51 to step S56 in FIG. The processing in step S78 is the same as the processing in step S57 in FIG.
 ステップS77では、タイムスロット管理部21は、TSが切り替わったことを優先度切替部30に通知する。これにより、タイムスロット管理部21は、優先度切替部30に受信処理の優先度を切り替えさせる。 In step S77, the time slot management unit 21 notifies the priority switching unit 30 that the TS has been switched. Thereby, the time slot management unit 21 causes the priority switching unit 30 to switch the priority of the reception process.
 図14を参照して、実施の形態4に係る優先度切替部30の動作を説明する。
 ステップS81の処理は、図12のステップS61の処理と同じである。また、ステップS85からステップS86の処理は、図12のステップS63からステップS64の処理と同じである。
The operation of the priority switching unit 30 according to the fourth embodiment will be described with reference to FIG.
The processing in step S81 is the same as the processing in step S61 in FIG. Further, the processing from step S85 to step S86 is the same as the processing from step S63 to step S64 in FIG.
 ステップS82では、優先度切替部30は、タイムスロット管理部21からの通知が、TSが切り替わったことの通知であるか、残り時間が送信時間Δtよりも短いことの通知であるかを判定する。優先度切替部30は、TSが切り替わったことの通知である場合には、処理をステップS83に進める。一方、優先度切替部30は、残り時間が送信時間Δtよりも短いことの通知である場合には、処理をステップS85に進める。 In step S82, the priority switching unit 30 determines whether the notification from the time slot management unit 21 is a notification that the TS has been switched or a notification that the remaining time is shorter than the transmission time Δt. . If the notification is that the TS has been switched, the priority switching unit 30 causes the process to proceed to step S83. On the other hand, if the remaining time is a notification that the remaining time is shorter than the transmission time Δt, the priority switching unit 30 advances the processing to step S85.
 ステップS83では、優先度切替部30は、切り替わる前のTSに送信された送信データである受信データの受信処理の優先度を低くする。具体的には、優先度切替部30は、切り替わる前のTSに受信処理を行う受信タスク27の優先度を低くする。ステップS84では、優先度切替部30は、切り替わった後のTSに送信された送信データである受信データの受信処理の優先度を高くする。具体的には、優先度切替部30は、切り替わった後のTSに受信処理を行う受信タスク27の優先度を高くする。
 これにより、切り替え前のTSに受信処理を行う受信タスク27よりも、現在のTSに受信処理を行う受信タスク27の方が優先して処理が行われることになる。
In step S83, the priority switching unit 30 lowers the priority of the reception process of the reception data that is the transmission data transmitted to the TS before the switching. Specifically, the priority switching unit 30 lowers the priority of the receiving task 27 that performs the receiving process on the TS before switching. In step S84, the priority switching unit 30 increases the priority of the reception processing of the reception data that is the transmission data transmitted to the TS after the switching. Specifically, the priority switching unit 30 increases the priority of the receiving task 27 that performs the receiving process on the TS after the switching.
As a result, the receiving task 27 that performs the receiving process on the current TS has priority over the receiving task 27 that performs the receiving process on the TS before switching.
 ***実施の形態4の効果***
 以上のように、実施の形態4に係る通信装置10は、TSが切り替わった場合に、切り替わる前のTSに送信された送信データである受信データの受信処理の優先度を低くする。これにより、前のTSに処理が完了しなかった受信処理が実行されることがなくなり、現在のTSの処理の妨げになることを防止できる。
*** Effect of Embodiment 4 ***
As described above, when the TS is switched, the communication device 10 according to the fourth embodiment lowers the priority of the reception process of the reception data that is the transmission data transmitted to the TS before the switching. As a result, the reception processing that has not been completed for the previous TS is not executed, and it is possible to prevent the current TS from being interrupted.
 10 通信装置、11 プロセッサ、12 メモリ、13 ネットワークインタフェース、21 タイムスロット管理部、22 データ送信部、23 データ受信部、24 送信データ保管部、25 受信データ保管部、26 送信タスク、27 受信タスク、28 送信キュー、29 受信キュー、30 優先度切替部、100 通信システム、200 ネットワーク。 10 communication device, 11 processor, 12 memory, 13 network interface, 21 time slot management unit, 22 data transmission unit, 23 data reception unit, 24 transmission data storage unit, 25 reception data storage unit, 26 transmission task, 27 reception task, 28 transmission queue, 29 reception queue, 30 priority switching unit, 100 部 communication system, 200 network.

Claims (8)

  1.  TSN(Time-Sensitive Networking)技術が用いられたネットワークで通信する通信装置であり、
     前記TSN技術におけるタイムスロットが切り替わったことを通知するタイムスロット管理部と、
     他の通信装置から受信した受信データが現在のタイムスロットに送信された送信データでない場合には前記受信データを受信データ保管部に保管しておき、前記タイムスロット管理部によってタイムスロットが切り替わったことが通知された場合に、前記受信データ保管部に保管された、切り替わった後のタイムスロットに送信された送信データである前記受信データを受信タスクに渡すデータ受信部と
    を備える通信装置。
    A communication device that communicates on a network using TSN (Time-Sensitive Networking) technology,
    A time slot management unit for notifying that the time slot in the TSN technology has been switched;
    If the received data received from another communication device is not the transmitted data transmitted in the current time slot, the received data is stored in the received data storage unit, and the time slot is switched by the time slot management unit. And a data receiving unit that transfers the received data, which is transmission data transmitted in the switched time slot and stored in the received data storage unit, to a reception task when is notified.
  2.  前記データ受信部は、前記受信データが現在のタイムスロットに送信された送信データである場合には前記受信データを前記受信タスクに渡す
    請求項1に記載の通信装置。
    The communication device according to claim 1, wherein the data receiving unit passes the received data to the reception task when the received data is transmission data transmitted in a current time slot.
  3.  前記データ受信部は、前記受信データが現在のタイムスロットに送信された送信データであり、かつ、前記受信タスクが前記受信データの処理に必要な処理時間が現在のタイムスロットの残り時間よりも長い場合には、前記受信データを受信データ保管部に保管しておく
    請求項1に記載の通信装置。
    The data receiving unit, wherein the received data is transmission data transmitted in a current time slot, and a processing time required for the reception task to process the received data is longer than a remaining time of a current time slot. The communication device according to claim 1, wherein in the case, the received data is stored in a received data storage unit.
  4.  前記データ受信部は、前記受信データが現在のタイムスロットに送信された送信データであり、かつ、前記受信タスクが前記受信データの処理に必要な処理時間が現在のタイムスロットの残り時間以下の場合には、前記受信データを前記受信タスクに渡す
    請求項3に記載の通信装置。
    The data receiving unit, when the received data is transmission data transmitted in the current time slot, and the processing time required for the reception task to process the received data is less than or equal to the remaining time of the current time slot 4. The communication device according to claim 3, wherein the receiving device transfers the received data to the receiving task.
  5.  前記タイムスロット管理部は、現在のタイムスロットの残り時間が、送信データを送信してから他の通信装置に届くまでの送信時間よりも短いことを通知し、
     前記通信装置は、さらに、
     他の通信装置に送信データを送信するデータ送信部であって、前記タイムスロット管理部によって前記残り時間が送信時間よりも短いことが通知されると、現在のタイムスロットに送信する送信データの送信処理の優先度を低くし、次のタイムスロットに送信する送信データの送信処理の優先度を高くするデータ送信部
    を備える請求項1から4までのいずれか1項に記載の通信装置。
    The time slot management unit notifies that the remaining time of the current time slot is shorter than the transmission time from when the transmission data is transmitted to when it reaches another communication device,
    The communication device may further include:
    A data transmission unit for transmitting transmission data to another communication device, wherein when the time slot management unit notifies that the remaining time is shorter than a transmission time, transmission of transmission data to be transmitted in a current time slot. The communication device according to any one of claims 1 to 4, further comprising a data transmission unit that lowers the priority of processing and increases the priority of transmission processing of transmission data to be transmitted in the next time slot.
  6.  前記データ受信部は、前記タイムスロット管理部によってタイムスロットが切り替わったことが通知された場合に、切り替わった後のタイムスロットに送信された送信データである受信データの受信処理の優先度を高くし、切り替わる前のタイムスロットに送信された送信データである受信データの受信処理の優先度を低くする
    請求項1から5までのいずれか1項に記載の通信装置。
    The data receiving unit, when notified that the time slot has been switched by the time slot management unit, increases the priority of the reception process of the reception data that is the transmission data transmitted in the time slot after the switching. The communication device according to any one of claims 1 to 5, wherein the priority of reception processing of reception data that is transmission data transmitted in a time slot before switching is reduced.
  7.  TSN(Time-Sensitive Networking)技術が用いられたネットワークで通信する通信方法であり、
     タイムスロット管理部が、前記TSN技術におけるタイムスロットが切り替わったことを通知し、
     データ受信部が、他の通信装置から受信した受信データが現在のタイムスロットに送信された送信データでない場合には前記受信データを受信データ保管部に保管しておき、タイムスロットが切り替わったことが通知された場合に、前記受信データ保管部に保管された、切り替わった後のタイムスロットに送信された送信データである前記受信データを受信タスクに渡す通信方法。
    A communication method for performing communication on a network using TSN (Time-Sensitive Networking) technology,
    A time slot management unit notifies that a time slot in the TSN technology has been switched,
    The data receiving unit stores the received data in the received data storage unit when the received data received from another communication device is not the transmission data transmitted in the current time slot, and the time slot is switched. A communication method for, when notified, transferring the reception data, which is transmission data transmitted in a switched time slot, stored in the reception data storage unit to a reception task.
  8.  TSN(Time-Sensitive Networking)技術が用いられたネットワークで通信する通信プログラムであり、
     前記TSN技術におけるタイムスロットが切り替わったことを通知するタイムスロット管理処理と、
     他の通信装置から受信した受信データが現在のタイムスロットに送信された送信データでない場合には前記受信データを受信データ保管部に保管しておき、前記タイムスロット管理処理でタイムスロットが切り替わったことが通知された場合に、前記受信データ保管部に保管された、切り替わった後のタイムスロットに送信された送信データである前記受信データを受信タスクに渡すデータ受信処理と
    をコンピュータに実行させる通信プログラム。
    A communication program that communicates on a network using TSN (Time-Sensitive Networking) technology,
    A time slot management process for notifying that a time slot has been switched in the TSN technology;
    If the received data received from another communication device is not the transmitted data transmitted in the current time slot, the received data is stored in the received data storage unit, and the time slot is switched in the time slot management process. Communication program for causing a computer to execute a data reception process of passing the reception data, which is transmission data transmitted in the switched time slot, stored in the reception data storage unit to a reception task when the notification is transmitted. .
PCT/JP2018/031135 2018-08-23 2018-08-23 Communication device, communication method, and communication program WO2020039538A1 (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
PCT/JP2018/031135 WO2020039538A1 (en) 2018-08-23 2018-08-23 Communication device, communication method, and communication program
TW107140815A TW202010286A (en) 2018-08-23 2018-11-16 Communication device, communication method, and communication program
JP2020538014A JP6808104B2 (en) 2018-08-23 2018-12-27 Communication device, communication method and communication program
PCT/JP2018/048014 WO2020039607A1 (en) 2018-08-23 2018-12-27 Communication device, communication method, and communication program
CN201880096712.4A CN112585913A (en) 2018-08-23 2018-12-27 Communication device, communication method, and communication program
DE112018007845.0T DE112018007845T5 (en) 2018-08-23 2018-12-27 COMMUNICATION DEVICE, COMMUNICATION PROCEDURE AND COMMUNICATION PROGRAM
US17/172,842 US11463369B2 (en) 2018-08-23 2021-02-10 Communication device, communication method and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2018/031135 WO2020039538A1 (en) 2018-08-23 2018-08-23 Communication device, communication method, and communication program

Publications (1)

Publication Number Publication Date
WO2020039538A1 true WO2020039538A1 (en) 2020-02-27

Family

ID=69592471

Family Applications (2)

Application Number Title Priority Date Filing Date
PCT/JP2018/031135 WO2020039538A1 (en) 2018-08-23 2018-08-23 Communication device, communication method, and communication program
PCT/JP2018/048014 WO2020039607A1 (en) 2018-08-23 2018-12-27 Communication device, communication method, and communication program

Family Applications After (1)

Application Number Title Priority Date Filing Date
PCT/JP2018/048014 WO2020039607A1 (en) 2018-08-23 2018-12-27 Communication device, communication method, and communication program

Country Status (6)

Country Link
US (1) US11463369B2 (en)
JP (1) JP6808104B2 (en)
CN (1) CN112585913A (en)
DE (1) DE112018007845T5 (en)
TW (1) TW202010286A (en)
WO (2) WO2020039538A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022190431A1 (en) * 2021-03-09 2022-09-15 オムロン株式会社 Control system, and data transmitting method

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020039538A1 (en) * 2018-08-23 2020-02-27 三菱電機株式会社 Communication device, communication method, and communication program
JP6914900B2 (en) * 2018-09-18 2021-08-04 株式会社東芝 Switch devices, switching methods and programs

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0730610A (en) * 1993-07-07 1995-01-31 Nippon Telegr & Teleph Corp <Ntt> Data transfer device
JP2010183270A (en) * 2009-02-04 2010-08-19 Renesas Electronics Corp Communication control circuit, communication node, communication system, and communication control method and program

Family Cites Families (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07182293A (en) 1993-12-22 1995-07-21 Hitachi Ltd Distributed processing system and data transfer controlling method
JPH1132061A (en) 1997-07-08 1999-02-02 Toshiba Corp Communication system by scheduling
JPH1174946A (en) 1997-08-27 1999-03-16 Nippon Denki Ido Tsushin Kk Data transmission system
JP4009809B2 (en) 2000-03-30 2007-11-21 オムロン株式会社 Information processing apparatus and method
JP2001290662A (en) 2000-04-05 2001-10-19 Hitachi Ltd System and method for transmitting information for operation managing system
JP2003067201A (en) 2001-08-30 2003-03-07 Hitachi Ltd Controller and operating system
US7936772B2 (en) * 2007-07-13 2011-05-03 International Business Machines Corporation Enhancement of end-to-end network QoS
CN101369967A (en) * 2007-08-14 2009-02-18 华为技术有限公司 Method, base station and terminal for transmitting and receiving data
DE102008039580A1 (en) * 2008-08-25 2010-03-04 Siemens Aktiengesellschaft Method for transmitting data packets in a communication network and switching device
US8665722B2 (en) * 2010-03-29 2014-03-04 Ted Szymanski Method to achieve bounded buffer sizes and quality of service guarantees in the internet network
CN103686800B (en) * 2012-09-07 2017-06-13 电信科学技术研究院 A kind of single list processing method and device of multi-slot resource
CN103856284B (en) * 2012-11-28 2017-05-24 电信科学技术研究院 Business processing method and device
WO2014141439A1 (en) * 2013-03-14 2014-09-18 株式会社日立製作所 Radio communication device and wireless multihop network system
CN104469842B (en) * 2013-09-13 2018-01-09 电信科学技术研究院 A kind of frame information FI sending methods and device
CN104918281B (en) * 2014-03-10 2019-02-12 大唐电信科技产业控股有限公司 A kind of method and device that data are sent
US10404608B2 (en) * 2014-10-31 2019-09-03 Huawei Technologies Co., Ltd. Systems, devices, and methods for low-jitter communication over a packet-switched network
KR102640835B1 (en) * 2015-09-18 2024-02-27 소니그룹주식회사 Transmitting devices, receiving devices, and data processing methods
US10237194B2 (en) * 2016-01-06 2019-03-19 Futurewei Technologies, Inc. Maximize network capacity policy with heavy-tailed traffic
US20190322298A1 (en) * 2018-04-20 2019-10-24 General Electric Company Locomotive control system
US20190322299A1 (en) * 2018-04-20 2019-10-24 General Electric Company Locomotive control system
JP6782188B2 (en) * 2016-05-27 2020-11-11 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America Electronic control unit, communication method and in-vehicle network system
JP6783174B2 (en) * 2016-05-27 2020-11-11 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America Network hub, transfer method and in-vehicle network system
WO2018117279A1 (en) * 2016-12-19 2018-06-28 엘지전자(주) Network device and method for selecting transmission of network device
US20180191629A1 (en) * 2016-12-30 2018-07-05 Intel Corporation Time-based flexible packet scheduling
CN108665714A (en) * 2017-09-28 2018-10-16 孟卫平 The general string control method of traffic signals and its system
WO2019145028A1 (en) * 2018-01-24 2019-08-01 Renesas Electronics Corporation Time-sensitive networking
WO2019224860A1 (en) * 2018-05-21 2019-11-28 三菱電機株式会社 Communication device, communication method, and communication program
WO2020039538A1 (en) * 2018-08-23 2020-02-27 三菱電機株式会社 Communication device, communication method, and communication program
JP7374849B2 (en) * 2020-06-01 2023-11-07 株式会社東芝 Communication systems, communication methods and programs
US20210014177A1 (en) * 2020-09-26 2021-01-14 Intel Corporation Deterministic packet scheduling and dma for time sensitive networking

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0730610A (en) * 1993-07-07 1995-01-31 Nippon Telegr & Teleph Corp <Ntt> Data transfer device
JP2010183270A (en) * 2009-02-04 2010-08-19 Renesas Electronics Corp Communication control circuit, communication node, communication system, and communication control method and program

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
LEE, HANPHIL ET AL.: "Time-aware Preemption to Enhance the Performance of Audio/Video Bridging(AVB) in IEEE 802.1 TSN", 2016 FIRST IEEE INTERNATIONAL CONFERENCE ON COMPUTER COMMUNICATION AND THE INTERNET (ICCCI, October 2016 (2016-10-01), pages 80 - 84, XP033019413, Retrieved from the Internet <URL:https://ieeexplore.ieee.org/abstract/document/7778882> DOI: 10.1109/CCI.2016.7778882 *
ZHAO, LUXI ET AL.: "Worst-Case Latency Analysis for IEEE 802.1Qbv Time Sensitive Networks Using Network Calculus", IEEE ACCESS, vol. 6, 23 July 2018 (2018-07-23), pages 41803 - 41814, XP011691676, Retrieved from the Internet <URL:https://ieeexplore.ieee.org/abstract/document/8418352> *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022190431A1 (en) * 2021-03-09 2022-09-15 オムロン株式会社 Control system, and data transmitting method

Also Published As

Publication number Publication date
CN112585913A (en) 2021-03-30
DE112018007845T5 (en) 2021-04-15
TW202010286A (en) 2020-03-01
US20210168057A1 (en) 2021-06-03
WO2020039607A1 (en) 2020-02-27
US11463369B2 (en) 2022-10-04
JPWO2020039607A1 (en) 2020-12-17
JP6808104B2 (en) 2021-01-06

Similar Documents

Publication Publication Date Title
US20210168057A1 (en) Communication device, communication method and computer readable medium
US7936772B2 (en) Enhancement of end-to-end network QoS
CN108737296B (en) Data transmission method, device and network equipment
JP2009031954A (en) Data processing apparatus and data transfer method
US20240097876A1 (en) Clock queue with arming and/or self-arming features
US11677515B2 (en) Retransmission control device, method, and computer readable medium for time sensitive network communications
JPH10327190A (en) Network traffic priority determining method
US9030339B2 (en) Transmitting device and receiving device
CN115150383A (en) File transmission method, device and computer readable storage medium
KR100966925B1 (en) Packet signal processing architecture
JP6320654B1 (en) Management device, communication system, management method, and management program
CN113794585B (en) Message processing method and device
WO2023012948A1 (en) Communication device, communication system, and communication method
JPWO2018220749A1 (en) Communication device, communication method and communication program
JP6785009B2 (en) Communication device and control method of communication device
Byszuk et al. Implementation of PCIe-SerDes-DDR3 communication in a multi-FPGA data acquisition system
CN107332751B (en) Data transmission method, electronic device and server cluster
CN107087010B (en) Intermediate data transmission method and system and distributed system
US20040252712A1 (en) Information data transmitting and receiving device and transmitting and receiving method of information data
KR100364756B1 (en) apparatus for receiving of asynchronous data having automatic receive mode
CN117176834A (en) Message sending and receiving method, network card and computing equipment
WO2018096678A1 (en) Relay apparatus, relay method and relay program
JP2005223545A (en) Apparatus for managing data transmission apparatus
JP2002281039A (en) Packet transmitter-receiver
JP2016092743A (en) Transmission frame conversion circuit

Legal Events

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

Ref document number: 18930890

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18930890

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP