JP6578716B2 - Electronic device and communication system - Google Patents

Electronic device and communication system Download PDF

Info

Publication number
JP6578716B2
JP6578716B2 JP2015079371A JP2015079371A JP6578716B2 JP 6578716 B2 JP6578716 B2 JP 6578716B2 JP 2015079371 A JP2015079371 A JP 2015079371A JP 2015079371 A JP2015079371 A JP 2015079371A JP 6578716 B2 JP6578716 B2 JP 6578716B2
Authority
JP
Japan
Prior art keywords
electronic device
data
transmission timing
communication
communication system
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
JP2015079371A
Other languages
Japanese (ja)
Other versions
JP2016201632A (en
Inventor
昭宏 岡
昭宏 岡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Corp
Original Assignee
Denso Corp
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 Denso Corp filed Critical Denso Corp
Priority to JP2015079371A priority Critical patent/JP6578716B2/en
Publication of JP2016201632A publication Critical patent/JP2016201632A/en
Application granted granted Critical
Publication of JP6578716B2 publication Critical patent/JP6578716B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Description

本発明は、同じネットワークに接続される電子装置の送信タイミングを調整する技術に関する。   The present invention relates to a technique for adjusting the transmission timing of electronic devices connected to the same network.

特許文献1には、タイムトリガ方式の通信ネットワークと、イベントドリブン方式の通信システムとが、中継装置であるゲートウェイを介して接続された通信システムが開示されている。そして、特許文献1には、タイムトリガ方式の通信ネットワークからイベントドリブン方式の通信システムに送信された同期フレームの受信をトリガとして、イベントドリブン方式の通信システムからタイムトリガ方式の通信ネットワークにデータを送信する技術が開示されている。   Patent Document 1 discloses a communication system in which a time-triggered communication network and an event-driven communication system are connected via a gateway that is a relay device. In Patent Document 1, data is transmitted from an event-driven communication system to a time-triggered communication network, triggered by reception of a synchronization frame transmitted from the time-triggered communication network to the event-driven communication system. Techniques to do this are disclosed.

特開2011−109452号公報JP 2011-109452 A

同じネットワークに複数の電子装置が接続されている場合、各電子装置の送信タイミングが設定されていても、クロックの誤差により送信タイミングは徐々にずれていくことがある。送信タイミングがずれていくと、例えば受信したデータを他の電子装置が処理するための処理時間が短くなったり長くなったりすることがある。   When a plurality of electronic devices are connected to the same network, even if the transmission timing of each electronic device is set, the transmission timing may gradually shift due to a clock error. When the transmission timing is shifted, for example, the processing time for other electronic devices to process the received data may be shortened or lengthened.

また、送信タイミングがずれていくと、複数の電子装置からの送信要求が過渡的に集中し、送信を待ち合わせた電子装置の送信タイミングが遅れ、この電子装置から送信されたデータを他の電子装置が処理するための時間が短くなることがある。   Further, when the transmission timing is shifted, transmission requests from a plurality of electronic devices are transiently concentrated, the transmission timing of the electronic device waiting for transmission is delayed, and the data transmitted from this electronic device is transferred to another electronic device. May take less time to process.

特許文献1に開示されている技術は、ゲートウェイを介したネットワークとネットワークとの間でのデータの送信タイミングを調整しようとするものであって、同じネットワークに接続されている電子装置の送信タイミングを調整するものではない。   The technique disclosed in Patent Document 1 is intended to adjust the transmission timing of data between networks via a gateway, and the transmission timing of an electronic device connected to the same network is adjusted. It does not adjust.

本発明は上記問題を解決するためになされたものであり、同じネットワークに接続されている電子装置の送信タイミングを適切に調整する技術を提供することを目的とする。   The present invention has been made to solve the above problem, and an object thereof is to provide a technique for appropriately adjusting the transmission timing of electronic devices connected to the same network.

本発明の電子装置は、同じネットワークに接続される複数の電子装置のうちの一つの電子装置であって、判定手段と、通信手段と、を備えており、後述する通信システムにおいて第1の電子装置に相当する。   The electronic device of the present invention is one of a plurality of electronic devices connected to the same network, and includes a determination unit and a communication unit. It corresponds to a device.

判定手段は、複数の電子装置のうちの他の電子装置に送信タイミングを調整することを指示するトリガデータを送信する送信条件が成立しているか否かを判定する。通信手段は、送信条件が成立していると判定手段が判定すると、トリガデータを送信する。   The determination unit determines whether or not a transmission condition for transmitting trigger data instructing other electronic devices among the plurality of electronic devices to adjust the transmission timing is satisfied. The communication means transmits trigger data when the determination means determines that the transmission condition is satisfied.

また、本発明の電子装置は、同じネットワークに接続される複数の電子装置のうちトリガデータを送信する一つの電子装置を除いた他のいずれかの電子装置であって、通信手段と、調整手段と、を備えており、後述する通信システムにおいて第2の電子装置に相当する。   The electronic device of the present invention is any other electronic device excluding one electronic device that transmits trigger data among a plurality of electronic devices connected to the same network, and includes a communication unit and an adjustment unit. And corresponds to a second electronic device in a communication system to be described later.

通信手段は、トリガデータを受信する。調整手段は、通信手段がトリガデータを受信すると、トリガデータに基づいて通信手段の送信タイミングを調整する。
また、本発明の通信システムは、同じネットワークに接続される複数の電子装置を備える通信システムであって、複数の電子装置は、一つの第1の電子装置と、他の第2の電子装置とから構成されている。
The communication means receives trigger data. When the communication unit receives the trigger data, the adjustment unit adjusts the transmission timing of the communication unit based on the trigger data.
The communication system of the present invention is a communication system including a plurality of electronic devices connected to the same network, and the plurality of electronic devices includes one first electronic device and another second electronic device. It is composed of

第1の電子装置は、判定手段と、第1の通信手段と、を備えている。判定手段は、複数の電子装置のうち第1の電子装置を除く他の第2の電子装置に送信タイミングを調整することを指示するトリガデータを送信する送信条件が成立しているか否かを判定する。第1の通信手段は、送信条件が成立していると判定手段が判定すると、トリガデータを送信する。   The first electronic device includes a determination unit and a first communication unit. The determination means determines whether or not a transmission condition for transmitting trigger data instructing adjustment of transmission timing to other second electronic devices other than the first electronic device among a plurality of electronic devices is satisfied. To do. The first communication unit transmits trigger data when the determination unit determines that the transmission condition is satisfied.

第2の電子装置は、第2の通信手段と、調整手段と、を備えている。第2の通信手段は、第1の通信手段が送信するトリガデータ受信する。調整手段は、第2の通信手段がトリガデータを受信すると、トリガデータに基づいて第2の通信手段の送信タイミングを調整する。   The second electronic device includes second communication means and adjustment means. The second communication means receives trigger data transmitted by the first communication means. When the second communication unit receives the trigger data, the adjustment unit adjusts the transmission timing of the second communication unit based on the trigger data.

これら本発明の電子装置または通信システムの構成によれば、第1の電子装置がトリガデータを送信することにより、同じネットワークに接続する第2の電子装置は、例えば、受信するトリガデータに基づいて送信タイミングを早めるか遅らせるかを適切に調整する。これにより、第2の電子装置が送信するデータを処理する第1の電子装置が適切なタイミングで第2の電子装置が送信するデータを受信できるので、処理時間の過不足を解消できる。   According to the configuration of the electronic device or the communication system of the present invention, the first electronic device transmits the trigger data, so that the second electronic device connected to the same network is based on the received trigger data, for example. Adjust the transmission timing appropriately. Thereby, since the 1st electronic device which processes the data which a 2nd electronic device transmits can receive the data which a 2nd electronic device transmits at an appropriate timing, the excess and deficiency of processing time can be eliminated.

尚、特許請求の範囲に記載した括弧内の符号は、一つの態様として後述する実施形態に記載の具体的手段との対応関係を示すものであって、本発明の技術的範囲を限定するものではない。   In addition, the code | symbol in the parenthesis described in the claim shows the correspondence with the specific means as described in embodiment mentioned later as one aspect, Comprising: The technical scope of this invention is limited is not.

第1実施形態による通信システムを示すブロック図。1 is a block diagram showing a communication system according to a first embodiment. 第1実施形態による送信タイミングの調整処理を示すタイムチャート。The time chart which shows the adjustment process of the transmission timing by 1st Embodiment. 第2実施形態による送信タイミングの調整処理を示すタイムチャート。The time chart which shows the adjustment process of the transmission timing by 2nd Embodiment. 第3実施形態による送信タイミングの調整処理を示すタイムチャート。The time chart which shows the adjustment process of the transmission timing by 3rd Embodiment.

以下、本発明が適用された実施形態を図に基づいて説明する。
[1.第1実施形態]
[1−1.構成]
図1に示す通信システム2は、ネットワーク4に接続された電子装置10と中継装置30とを備えており、通信システム6は、ネットワーク8に接続された電子装置20と中継装置30とを備えている。ネットワーク4とネットワーク8とは同じ形式のネットワークであってもよいし、異なる形式のネットワークであってもよい。
Embodiments to which the present invention is applied will be described below with reference to the drawings.
[1. First Embodiment]
[1-1. Constitution]
A communication system 2 shown in FIG. 1 includes an electronic device 10 and a relay device 30 connected to a network 4, and a communication system 6 includes an electronic device 20 and a relay device 30 connected to a network 8. Yes. The network 4 and the network 8 may be the same type of network, or may be different types of networks.

図1には、通信システム2においてネットワーク4に接続する電子装置10と、通信システム6においてネットワーク8に接続する電子装置20とをそれぞれ2個示しているが、それぞれ1個または3個以上であってもよい。   In FIG. 1, two electronic devices 10 connected to the network 4 in the communication system 2 and two electronic devices 20 connected to the network 8 in the communication system 6 are shown. May be.

第2の電子装置である電子装置10と電子装置20とは、CPU、RAM、ROM、および通信インターフェースを備えるコンピュータを搭載している。第1の電子装置である中継装置30も、CPU、RAM、ROM、および通信インターフェースを備えるコンピュータを搭載している電子装置である。電子装置10と電子装置20との基本的な構成は同じであるから、通信システム2、6と電子装置10、20との構成を、通信システム2と電子装置10とに基づいて主に説明する。   The electronic device 10 and the electronic device 20 as the second electronic device are equipped with a computer having a CPU, a RAM, a ROM, and a communication interface. The relay device 30 as the first electronic device is also an electronic device on which a computer including a CPU, a RAM, a ROM, and a communication interface is mounted. Since the basic configuration of the electronic device 10 and the electronic device 20 is the same, the configuration of the communication systems 2 and 6 and the electronic devices 10 and 20 will be mainly described based on the communication system 2 and the electronic device 10. .

電子装置10は、処理部12と通信部14とを備えている。処理部12は、電子装置10毎に定められた処理を実行する。また、処理部12は、通信部14がデータを送信する送信タイミングを調整する。電子装置10の中には、通信部14を用いて、ネットワーク4を介してネットワーク8に接続する電子装置20宛のデータを、ネットワーク2における所定周期で定期的に中継装置30に送信するものもある。   The electronic device 10 includes a processing unit 12 and a communication unit 14. The processing unit 12 executes processing determined for each electronic device 10. Further, the processing unit 12 adjusts the transmission timing at which the communication unit 14 transmits data. Some electronic devices 10 use the communication unit 14 to periodically transmit data addressed to the electronic device 20 connected to the network 8 via the network 4 to the relay device 30 at a predetermined period in the network 2. is there.

中継装置30は、処理部32と通信部34とを備えている。処理部32は、ネットワーク4に接続する電子装置10からネットワーク8に接続する電子装置20宛に定期的に送信されるデータを、ネットワーク8の仕様に合わせて中継処理する。また、処理部32は、所定の送信条件が成立すると、ネットワーク4に送信するトリガデータを生成する。トリガデータの詳細については後述する。   The relay device 30 includes a processing unit 32 and a communication unit 34. The processing unit 32 relays data periodically transmitted from the electronic device 10 connected to the network 4 to the electronic device 20 connected to the network 8 according to the specifications of the network 8. Further, the processing unit 32 generates trigger data to be transmitted to the network 4 when a predetermined transmission condition is satisfied. Details of the trigger data will be described later.

通信部34は、処理部32が中継処理した電子装置10から電子装置20宛のデータを、ネットワーク8における所定周期で定期的にネットワーク8を介して電子装置20に送信する。また、通信部34は、処理部32が生成するトリガデータをネットワーク4に送信する。   The communication unit 34 periodically transmits data addressed to the electronic device 20 from the electronic device 10 relayed by the processing unit 32 to the electronic device 20 via the network 8 at a predetermined period in the network 8. In addition, the communication unit 34 transmits trigger data generated by the processing unit 32 to the network 4.

[1−2.処理]
通信システム2が実行する送信タイミングの調整処理について図2に基づいて説明する。中継装置30は、電子装置10がネットワーク4を介して所定の送信周期で送信する電子装置20宛のデータを受信すると、受信したデータを中継処理してネットワーク8を介して電子装置20に所定の送信周期で送信する。
[1-2. processing]
The transmission timing adjustment process executed by the communication system 2 will be described with reference to FIG. When the relay device 30 receives data addressed to the electronic device 20 that is transmitted by the electronic device 10 via the network 4 at a predetermined transmission cycle, the relay device 30 relays the received data and sends the data to the electronic device 20 via the network 8. Transmit at the transmission cycle.

図2に示すように、中継装置30は、送信タイミングT11で電子装置10が送信したデータを受信してから、受信したデータを中継処理して送信タイミングT21で電子装置20に送信するまでの期間ΔTを計測する。中継装置30の処理部32は、所定の送信条件として期間ΔTが所定値よりも短い場合、中継処理に要する時間が不足するおそれがあると判断する。   As shown in FIG. 2, the relay device 30 receives the data transmitted by the electronic device 10 at the transmission timing T11 and then relays the received data and transmits it to the electronic device 20 at the transmission timing T21. ΔT is measured. When the period ΔT is shorter than a predetermined value as the predetermined transmission condition, the processing unit 32 of the relay device 30 determines that the time required for the relay process may be insufficient.

そこで、期間ΔTが所定値よりも短いと処理部32が判定すると、中継装置30の通信部34は、電子装置10にトリガデータを送信する。トリガデータには、送信タイミングを早める指示がコマンドコードまたはデータ部に含まれている。ネットワーク4からネットワーク8にデータを送信する電子装置10は、1個でも複数でもよい。   Therefore, when the processing unit 32 determines that the period ΔT is shorter than the predetermined value, the communication unit 34 of the relay device 30 transmits trigger data to the electronic device 10. The trigger data includes an instruction to advance the transmission timing in the command code or the data part. The number of electronic devices 10 that transmit data from the network 4 to the network 8 may be one or more.

トリガデータを受信した電子装置10は、送信タイミングT11の次の送信タイミングT12を早める処理が間に合わない場合、図2に示すように、送信タイミングT12の次の送信タイミングT13を早めて送信タイミングT13’で電子装置20宛のデータを送信する。送信タイミングT13’以降のデータは、ネットワーク2における所定周期に基づき、送信タイミングT14、T15で送信される。   When the electronic device 10 that has received the trigger data cannot keep up with the process of advancing the transmission timing T12 next to the transmission timing T11, the transmission timing T13 ' The data addressed to the electronic device 20 is transmitted. Data after the transmission timing T13 'is transmitted at transmission timings T14 and T15 based on a predetermined period in the network 2.

尚、送信タイミングをT13からT13’に早める場合、電子装置10は、トリガデータを受信してから所定時間経過後のタイミングをT13’としてもよいし、T13から予め設定された所定時間早いタイミングをT13’としてもよい。   When the transmission timing is advanced from T13 to T13 ′, the electronic device 10 may set the timing after the elapse of a predetermined time after receiving the trigger data as T13 ′, or set the timing earlier by a predetermined time from T13. It may be T13 ′.

送信タイミングの調整が間に合うのであれば、電子装置10は、送信タイミングT11の次の送信タイミングT12を早めて電子装置20宛のデータを送信してもよい。
[1−3.効果]
以上説明した第1実施形態では、以下の効果を得ることができる。
If the transmission timing can be adjusted in time, the electronic device 10 may transmit the data addressed to the electronic device 20 ahead of the transmission timing T12 next to the transmission timing T11.
[1-3. effect]
In the first embodiment described above, the following effects can be obtained.

所定の送信条件として、送信タイミングT11で電子装置10が送信したデータを受信してから、受信したデータを中継処理して送信タイミングT21で電子装置20に送信するまでの期間ΔTが所定値よりも短い場合、中継装置30は、同じネットワーク4に接続する電子装置10に送信タイミングを早めることを指示するトリガデータを送信する。   As a predetermined transmission condition, a period ΔT from when data transmitted by the electronic device 10 is received at the transmission timing T11 to when the received data is relayed and transmitted to the electronic device 20 at the transmission timing T21 is less than a predetermined value. In a short case, the relay device 30 transmits trigger data that instructs the electronic device 10 connected to the same network 4 to advance the transmission timing.

受信したトリガデータに基づいて電子装置10が送信タイミングを早めることにより、中継装置30は、電子装置10が送信するデータを受信して中継処理し、他のネットワーク8に接続する電子装置20宛に送信するまでの処理時間を確保できる。   As the electronic device 10 advances the transmission timing based on the received trigger data, the relay device 30 receives and relays the data transmitted by the electronic device 10, and sends it to the electronic device 20 connected to the other network 8. Processing time until transmission can be secured.

[2.第2実施形態]
[2−1.処理]
第2実施形態の通信システムの構成は第1実施形態の通信システム2、6と実質的に同一であるので、第1実施形態と異なる通信タイミングの調整処理について説明する。
[2. Second Embodiment]
[2-1. processing]
Since the configuration of the communication system of the second embodiment is substantially the same as that of the communication systems 2 and 6 of the first embodiment, a communication timing adjustment process different from that of the first embodiment will be described.

図3に示すように、中継装置30は、送信タイミングT11で電子装置10が送信したデータを受信してからの経過時間を計測する。そして、データを中継処理して送信タイミングT21で電子装置20に送信する前に、所定の送信条件として経過時間ΔTが所定値を超える場合、中継装置30の処理部32は、電子装置10から受信するデータを中継処理して電子装置20に送信するまでの遅延時間が長くなり過ぎると判断する。   As illustrated in FIG. 3, the relay device 30 measures an elapsed time after receiving the data transmitted by the electronic device 10 at the transmission timing T11. If the elapsed time ΔT exceeds a predetermined value as a predetermined transmission condition before the data is relayed and transmitted to the electronic device 20 at the transmission timing T21, the processing unit 32 of the relay device 30 receives the data from the electronic device 10. It is determined that the delay time until the data to be relayed and transmitted to the electronic device 20 is too long.

そこで、経過時間ΔTが所定値を越えると処理部32が判定すると、中継装置30の通信部34は、電子装置10にトリガデータを送信する。トリガデータには、送信タイミングを遅らせる指示がコマンドコードまたはデータ部に含まれている。   Therefore, when the processing unit 32 determines that the elapsed time ΔT exceeds a predetermined value, the communication unit 34 of the relay device 30 transmits trigger data to the electronic device 10. The trigger data includes an instruction to delay the transmission timing in the command code or the data part.

トリガデータを受信した電子装置10は、次回の送信タイミングT12を遅らせることが間に合わない場合、図3に示すように、送信タイミングT12の次の送信タイミングT13を遅らせた送信タイミングT13’で電子装置20宛のデータを送信する。送信タイミングT13’以降のデータは、ネットワーク2における所定周期に基づき、送信タイミングT14で送信される。   When the electronic device 10 that has received the trigger data cannot delay the next transmission timing T12 in time, as shown in FIG. 3, the electronic device 20 at the transmission timing T13 ′ that has delayed the transmission timing T13 next to the transmission timing T12. Send the addressed data. Data after the transmission timing T13 'is transmitted at the transmission timing T14 based on a predetermined period in the network 2.

送信タイミングの調整が間に合うのであれば、電子装置10は、送信タイミングT11の次の送信タイミングT12を遅らせて電子装置20宛のデータを送信してもよい。
尚、中継装置30は、電子装置10が送信タイミングT11で送信するデータを受信してからの経過時間ではなく、中継装置30が電子装置20宛にデータを送信する送信タイミングT20から、電子装置10が送信タイミングT11で送信するデータを受信するまでの期間ΔT’を計測してもよい。
If the transmission timing can be adjusted in time, the electronic device 10 may transmit the data addressed to the electronic device 20 by delaying the transmission timing T12 next to the transmission timing T11.
The relay device 30 is not based on the elapsed time since the data transmitted by the electronic device 10 at the transmission timing T11, but from the transmission timing T20 when the relay device 30 transmits the data to the electronic device 20. May measure a period ΔT ′ until data transmitted at transmission timing T11 is received.

この場合、所定の送信条件として期間ΔT’が所定値よりも短い場合、中継装置30は、電子装置10から受信するデータを中継処理して電子装置20に送信するまでの遅延時間が長くなり過ぎると判断してもよい。   In this case, when the period ΔT ′ is shorter than a predetermined value as a predetermined transmission condition, the relay device 30 has a too long delay time until the data received from the electronic device 10 is relayed and transmitted to the electronic device 20. You may judge.

[2−2.効果]
以上説明した第2実施形態では、以下の効果を得ることができる。
所定の送信条件として、電子装置10が送信タイミングT11で送信するデータを中継装置30が受信してからの経過時間ΔTが、受信したデータを中継処理して送信タイミングT21で電子装置20に送信する前までに所定値を超える場合、中継装置30は、同じネットワーク4に接続する電子装置10に送信タイミングを遅らせることを指示するトリガデータを送信する。
[2-2. effect]
In the second embodiment described above, the following effects can be obtained.
As a predetermined transmission condition, an elapsed time ΔT from when the relay device 30 receives data to be transmitted by the electronic device 10 at the transmission timing T11 is relayed and transmitted to the electronic device 20 at the transmission timing T21. If the predetermined value is exceeded before, the relay device 30 transmits trigger data instructing to delay the transmission timing to the electronic device 10 connected to the same network 4.

受信したトリガデータに基づいて電子装置10が送信タイミングを遅らせることにより、中継装置30は、電子装置10が送信するデータを受信して中継処理し、他のネットワーク8に接続する電子装置20に送信するまでの遅延時間を短縮できる。   The electronic device 10 delays the transmission timing based on the received trigger data, so that the relay device 30 receives and relays the data transmitted by the electronic device 10 and transmits the data to the electronic device 20 connected to the other network 8. The delay time until it can be shortened.

[3.第3実施形態]
[3−1.処理]
第3実施形態の通信システムの構成は第1実施形態の通信システム2、6と実質的に同一であるので、第1実施形態と異なる通信タイミングの調整処理について説明する。
[3. Third Embodiment]
[3-1. processing]
Since the configuration of the communication system of the third embodiment is substantially the same as the communication systems 2 and 6 of the first embodiment, communication timing adjustment processing different from that of the first embodiment will be described.

図4において、電子装置10である電子装置10A、10B、10C、10Dが送信するときの優先度は、電子装置10A、10B、10C、10Dの順番に低くなっている。つまり、電子装置10Aの優先度が最も高く、電子装置10Dの優先度が最も低い。   In FIG. 4, the priority when the electronic devices 10A, 10B, 10C, and 10D, which are the electronic devices 10, transmit is lower in the order of the electronic devices 10A, 10B, 10C, and 10D. That is, the electronic device 10A has the highest priority and the electronic device 10D has the lowest priority.

この場合、電子装置10A、10B、10C、10Dのそれぞれの送信タイミングT11A、T11B、T11C、T11Dが重なると、優先度の一番低い電子装置10Dの送信タイミングT11Dが遅れる。   In this case, when the transmission timings T11A, T11B, T11C, and T11D of the electronic devices 10A, 10B, 10C, and 10D overlap, the transmission timing T11D of the electronic device 10D having the lowest priority is delayed.

図4において、電子装置10A、10B、10C、10Dのうち電子装置10Dの送信するデータが、中継装置30が中継処理をして電子装置20宛に送信するデータとする。この場合、中継装置30は、送信タイミングT11Dで電子装置10Dが送信したデータを受信して中継処理し、送信タイミングT21で電子装置20に送信するときに、電子装置10Dの送信タイミングT11Dから中継装置30の送信タイミングT21までの期間ΔTを計測する。   In FIG. 4, it is assumed that data transmitted from the electronic device 10D among the electronic devices 10A, 10B, 10C, and 10D is data that the relay device 30 performs relay processing and transmits to the electronic device 20. In this case, when the relay device 30 receives and relays data transmitted by the electronic device 10D at the transmission timing T11D and transmits the data to the electronic device 20 at the transmission timing T21, the relay device 30 starts from the transmission timing T11D of the electronic device 10D. A period ΔT until 30 transmission timing T21 is measured.

中継装置30の処理部32は、所定の送信条件として期間ΔTが所定値よりも短い場合、電子装置10Dから受信するデータを中継処理する時間が不足するおそれがあると判断する。   When the period ΔT is shorter than a predetermined value as a predetermined transmission condition, the processing unit 32 of the relay device 30 determines that there is a possibility that the time for relaying data received from the electronic device 10D may be insufficient.

そこで、期間ΔTが所定値よりも短いと処理部32が判定すると、中継装置30の通信部34は、ネットワーク2に接続されている電子装置10A、10B、10C、10Dにトリガデータを送信する。トリガデータには、トリガデータを受信後に電子装置10A、10B、10C、10Dが予め設定された送信タイミングでデータを送信する指示がコマンドコードまたはデータ部に含まれている。   Therefore, when the processing unit 32 determines that the period ΔT is shorter than the predetermined value, the communication unit 34 of the relay device 30 transmits trigger data to the electronic devices 10A, 10B, 10C, and 10D connected to the network 2. In the trigger data, the command code or the data portion includes an instruction to transmit data at the transmission timing set in advance by the electronic devices 10A, 10B, 10C, and 10D after receiving the trigger data.

トリガデータを受信した電子装置10A、10B、10C、10Dは、図4に示すように、送信タイミングT12A、T12B、T12C、T12Dの次の送信タイミングT13A、T13B、T13C、T13Dを調整する。例えば、電子装置10A、10B、10C、10Dは、トリガデータを受信してから、それぞれ100ms後、110ms後、120ms後、130ms後にデータを送信する。つまり、10ms間隔でデータを送信する。   The electronic devices 10A, 10B, 10C, and 10D that have received the trigger data adjust the transmission timings T13A, T13B, T13C, and T13D next to the transmission timings T12A, T12B, T12C, and T12D as illustrated in FIG. For example, the electronic devices 10A, 10B, 10C, and 10D transmit data after 100 ms, 110 ms, 120 ms, and 130 ms, respectively, after receiving the trigger data. That is, data is transmitted at 10 ms intervals.

送信タイミングの調整が間に合うのであれば、電子装置10A、10B、10C、10Dは、送信タイミングT11A、T11B、T11C、T11Dの次の送信タイミングT12A、T12B、T12C、T12Dを調整してもよい。   If the transmission timing can be adjusted in time, the electronic devices 10A, 10B, 10C, and 10D may adjust the transmission timings T12A, T12B, T12C, and T12D next to the transmission timings T11A, T11B, T11C, and T11D.

[3−2.効果]
以上説明した上記実施形態では、以下の効果を得ることができる。
(1)中継装置30が送信するトリガデータに基づいて、電子装置10A、10B、10C、10Dは、トリガデータを受信してから、それぞれ100ms後、110ms後、120ms後、130ms後にデータを送信する。これにより、中継装置30は、電子装置10Dから送信タイミングT13Dで送信されたデータを中継処理して送信タイミングT23で電子装置20宛に送信するときの処理時間を延ばすことができる。
[3-2. effect]
In the embodiment described above, the following effects can be obtained.
(1) Based on the trigger data transmitted by the relay device 30, the electronic devices 10A, 10B, 10C, and 10D transmit the data 100 ms, 110 ms, 120 ms, and 130 ms after receiving the trigger data, respectively. . As a result, the relay device 30 can extend the processing time when relaying the data transmitted from the electronic device 10D at the transmission timing T13D and transmitting the data to the electronic device 20 at the transmission timing T23.

(2)中継装置30が送信するトリガデータに基づいて、電子装置10A、10B、10C、10Dが送信間隔を確保して送信するので、ネットワークの負荷が過渡的に集中することを防止できる。   (2) Since the electronic devices 10A, 10B, 10C, and 10D transmit while securing the transmission interval based on the trigger data transmitted by the relay device 30, it is possible to prevent the network load from being concentrated transiently.

[4.他の実施形態]
(1)上記実施形態では、中継装置30がデータを受信してから中継処理を行ってデータを送信するまでの期間、あるいは中継装置30がデータを受信してからの経過時間に基づいて、中継装置30の中継処理に与えられた時間が短すぎるか長すぎるかを判断し、トリガデータを送信するか否かを判断した。
[4. Other Embodiments]
(1) In the above embodiment, relaying is performed based on the period from when the relay device 30 receives data until the relay processing is performed and the data is transmitted, or the elapsed time after the relay device 30 receives the data. It was determined whether the time given to the relay process of the device 30 was too short or too long, and it was determined whether to send trigger data.

これに対し、中継装置30がトリガデータを定期的に送信することにしてもよい。これにより、中継装置30の中継処理に与えられた時間が短すぎたり長すぎたりする前に、電子装置10、20は送信タイミングを調整できる。   On the other hand, the relay device 30 may periodically transmit the trigger data. Thereby, before the time given to the relay process of the relay apparatus 30 is too short or too long, the electronic devices 10 and 20 can adjust a transmission timing.

(2)上記実施形態では、ネットワーク4に接続される電子装置10から異なるネットワーク8に接続される電子装置20にデータを送信するときの送信タイミングを、中継装置30がトリガデータを送信することにより調整した。   (2) In the above embodiment, the relay device 30 transmits trigger data at the transmission timing when data is transmitted from the electronic device 10 connected to the network 4 to the electronic device 20 connected to the different network 8. It was adjusted.

これに対し、例えば、同じネットワーク4に接続する電子装置10の間でデータを送信するときに、送信されたデータを受信する電子装置10が受信データを処理する時間を確保するために、送信タイミングを早めることを指示するトリガデータを他の電子装置10に送信してもよい。   On the other hand, for example, when data is transmitted between the electronic devices 10 connected to the same network 4, the transmission timing is secured in order to ensure time for the electronic device 10 that receives the transmitted data to process the received data. Trigger data instructing to speed up the process may be transmitted to another electronic device 10.

(3)上記実施形態における一つの構成要素が有する機能を複数の構成要素として分散させたり、複数の構成要素が有する機能を一つの構成要素に統合させたりしてもよい。また、上記実施形態の構成の少なくとも一部を、同様の機能を有する公知の構成に置き換えてもよい。また、上記実施形態の構成の一部を、課題を解決できる限りにおいて省略してもよい。尚、特許請求の範囲に記載した文言のみによって特定される技術思想に含まれるあらゆる態様が本発明の実施形態である。   (3) The functions of one component in the above embodiment may be distributed as a plurality of components, or the functions of a plurality of components may be integrated into one component. Further, at least a part of the configuration of the above embodiment may be replaced with a known configuration having the same function. Moreover, you may abbreviate | omit a part of structure of the said embodiment as long as a subject can be solved. In addition, all the aspects included in the technical idea specified only by the wording described in the claims are embodiments of the present invention.

(4)上述した電子装置10、20と電子装置である中継装置30との他、当該電子装置を構成要素とする通信システム2、6、当該電子装置としてコンピュータを機能させるための通信制御プログラム、この通信制御プログラムを記録した記録媒体、通信制御方法など、種々の形態で本発明を実現することもできる。   (4) In addition to the above-described electronic devices 10 and 20 and the relay device 30 that is an electronic device, communication systems 2 and 6 having the electronic device as components, a communication control program for causing a computer to function as the electronic device, The present invention can also be realized in various forms such as a recording medium recording the communication control program and a communication control method.

2、6:通信システム、4、8:ネットワーク、10、20:電子装置(第2の電子装置)、12、22:処理部(調整手段)、14、24:通信部(第2の通信手段)、30:中継装置(第1の電子装置)、32:処理部(判定手段)、34:通信部(第1の通信手段) 2, 6: communication system, 4, 8: network, 10, 20: electronic device (second electronic device), 12, 22: processing unit (adjustment unit), 14, 24: communication unit (second communication unit) ), 30: Relay device (first electronic device), 32: Processing unit (determination unit), 34: Communication unit (first communication unit)

Claims (6)

ネットワーク(4、8)に接続される複数の電子装置(10、20)の通信を中継する中継装置(30)であって、
前記電子装置に送信タイミングを調整することを指示するトリガデータを送信する送信条件が成立しているか否かを判定する判定手段(32)と、
前記送信条件が成立していると前記判定手段が判定すると、前記トリガデータを送信する通信手段(34)と、
を備え、
前記判定手段は、前記電子装置が送信したデータを受信してから、受信した前記データを中継処理して送信先の前記電子装置に送信するまでの期間が第1の所定値よりも短い場合、あるいは、前記電子装置が送信したデータを受信してからの経過時間が、受信した前記データを中継処理して送信先の前記電子装置に送信する前に第2の所定値よりも長くなる場合、前記送信条件が成立していると判定する、
ことを特徴とする中継装置。
A relay device (30) that relays communication of a plurality of electronic devices (10, 20) connected to a network (4, 8) ,
Determining means (32) for determining whether or not a transmission condition for transmitting trigger data instructing the electronic device to adjust transmission timing is satisfied;
When the determination means determines that the transmission condition is satisfied, a communication means (34) for transmitting the trigger data;
With
The determination means, when receiving the data transmitted by the electronic device, and when the period from when the received data is relayed to the transmission destination electronic device is shorter than a first predetermined value, Alternatively, when the elapsed time after receiving the data transmitted by the electronic device becomes longer than a second predetermined value before relaying the received data and transmitting it to the electronic device of the transmission destination, Determining that the transmission condition is satisfied,
A relay device characterized by that.
ネットワーク(4、8)に接続される複数の電子装置(10、20)と、前記複数の電子装置の通信を中継する中継装置(30)とを備える通信システム(2、6)であって、
前記中継装置は、
前記電子装置に送信タイミングを調整することを指示するトリガデータを送信する送信条件が成立しているか否かを判定する判定手段(32)と、
前記送信条件が成立していると前記判定手段が判定すると、前記トリガデータを送信する第1の通信手段(34)と、
を備え、
前記判定手段は、前記電子装置が送信したデータを受信してから、受信した前記データを中継処理して送信先の前記電子装置に送信するまでの期間が第1の所定値よりも短い場合、あるいは、前記電子装置が送信したデータを受信してからの経過時間が、受信した前記データを中継処理して送信先の前記電子装置に送信する前に第2の所定値よりも長くなる場合、前記送信条件が成立していると判定し、
前記電子装置は、
前記中継装置が送信する前記トリガデータを受信する第2の通信手段(14、24)と、
前記第2の通信手段が前記トリガデータを受信すると、前記トリガデータに基づいて前記第2の通信手段の送信タイミングを調整する調整手段(12、22)と、
を備える、
ことを特徴とする通信システム。
A communication system (2, 6) comprising a plurality of electronic devices (10, 20) connected to a network (4, 8) and a relay device (30) that relays communication of the plurality of electronic devices ,
The relay device is
Determining means (32) for determining whether or not a transmission condition for transmitting trigger data instructing the electronic device to adjust transmission timing is satisfied;
A first communication unit (34) for transmitting the trigger data when the determination unit determines that the transmission condition is satisfied;
With
The determination means, when receiving the data transmitted by the electronic device, and when the period from when the received data is relayed to the transmission destination electronic device is shorter than a first predetermined value, Alternatively, when the elapsed time after receiving the data transmitted by the electronic device becomes longer than a second predetermined value before relaying the received data and transmitting it to the electronic device of the transmission destination, It is determined that the transmission condition is satisfied,
The electronic device is
Second communication means (14, 24) for receiving the trigger data transmitted by the relay device ;
Adjusting means (12, 22) for adjusting the transmission timing of the second communication means based on the trigger data when the second communication means receives the trigger data;
Comprising
A communication system characterized by the above.
請求項2に記載の通信システムにおいて、
前記第2の通信手段は、前記中継装置が中継処理を行うデータを定期的に送信し、
前記第1の通信手段は、受信する前記データを中継処理して送信する、
ことを特徴とする通信システム。
The communication system according to claim 2 ,
The second communication means periodically transmits data to be relayed by the relay device,
The first communication means relays and transmits the received data;
A communication system characterized by the above.
請求項2または3に記載の通信システムにおいて、
前記第1の通信手段は、前記期間が前記第1の所定値よりも短い場合、前記電子装置に送信タイミングを早めることを指示する前記トリガデータを送信する、
ことを特徴とする通信システム。
The communication system according to claim 2 or 3 ,
The first communication means transmits the trigger data instructing the electronic device to advance transmission timing when the period is shorter than the first predetermined value.
A communication system characterized by the above.
請求項2から4のいずれか一項に記載の通信システムにおいて、
前記第1の通信手段は、前記経過時間が、受信した前記データを中継処理して送信する前に前記第2の所定値よりも長くなる場合、前記電子装置に送信タイミングを遅らせることを指示する前記トリガデータを送信する、
ことを特徴とする通信システム。
The communication system according to any one of claims 2 to 4 ,
The first communication means instructs the electronic device to delay the transmission timing when the elapsed time becomes longer than the second predetermined value before the received data is relayed and transmitted. Transmitting the trigger data;
A communication system characterized by the above.
請求項2または3に記載の通信システムにおいて、
前記第1の通信手段は、前記期間が前記第1の所定値よりも短い場合、複数の前記電子装置に予め設定された異なる送信タイミングで送信することを指示する前記トリガデータを送信する、
ことを特徴とする通信システム。
The communication system according to claim 2 or 3 ,
The first communication means transmits the trigger data instructing transmission at a different transmission timing set in advance to the plurality of electronic devices when the period is shorter than the first predetermined value.
A communication system characterized by the above.
JP2015079371A 2015-04-08 2015-04-08 Electronic device and communication system Active JP6578716B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015079371A JP6578716B2 (en) 2015-04-08 2015-04-08 Electronic device and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015079371A JP6578716B2 (en) 2015-04-08 2015-04-08 Electronic device and communication system

Publications (2)

Publication Number Publication Date
JP2016201632A JP2016201632A (en) 2016-12-01
JP6578716B2 true JP6578716B2 (en) 2019-09-25

Family

ID=57424576

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015079371A Active JP6578716B2 (en) 2015-04-08 2015-04-08 Electronic device and communication system

Country Status (1)

Country Link
JP (1) JP6578716B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006287738A (en) * 2005-04-01 2006-10-19 Fujitsu Ten Ltd Network system
CN102204174A (en) * 2008-11-04 2011-09-28 株式会社自动网络技术研究所 Communication device, relay device, communication system, and communication method
JP5790924B2 (en) * 2011-06-02 2015-10-07 横河電機株式会社 Relay device

Also Published As

Publication number Publication date
JP2016201632A (en) 2016-12-01

Similar Documents

Publication Publication Date Title
US10334545B2 (en) Synchronizing time among two or more devices
CN110048922B (en) In-vehicle system, gateway, repeater, medium, method, system, and vehicle
US20100054244A1 (en) Time sychronization method and relay apparatus
US20170195980A1 (en) Synchronizing clocks in a network
KR101811189B1 (en) A communication device, a communication method, and a program stored in a recording medium
US9651984B2 (en) Feed-forward time transfer mechanism for time synchronization
EP2341650B1 (en) Transfer of a synchronization message through a packet radio network
JPWO2009123201A1 (en) Vehicle communication system
RU2015136450A (en) TEMPORARY SIGNAL SYNCHRONIZATION IN CONNECTION OF THE DEVICE WITH THE DEVICE
JP6578716B2 (en) Electronic device and communication system
KR102038104B1 (en) System and method for controlling receiving timing of LoRa terminal accoring to backhaul latency in LoRa Network
CN105101386B (en) Terminal uplink motor synchronizing method and terminal
JP5413150B2 (en) Transmission timing adjusting device and method, and relay device using the same
JP6049535B2 (en) Wireless communication system
JP2004310544A (en) Asynchronous data transfer device
JP7276094B2 (en) repeater
WO2017068663A1 (en) Communication device, communication method, and communication program
JP6478714B2 (en) Monitoring control system, server, client terminal, and monitoring control method
JP6625842B2 (en) Communication device, system and method
JP5488091B2 (en) COMMUNICATION CONTROL DEVICE, COMMUNICATION SYSTEM, AND COMMUNICATION CONTROL METHOD
JP6811105B2 (en) Controls, relays, control methods, and programs
JP2019033333A (en) Time synchronization method
JP6729347B2 (en) Communication relay device and program
WO2014203485A1 (en) Communication system, method for controlling communication system, transmission device, and reception device
WO2014203449A1 (en) Communication system, method for controlling communication system, transmission device, and reception device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171226

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20181005

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20181211

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190208

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20190730

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190812

R151 Written notification of patent or utility model registration

Ref document number: 6578716

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250