JP6008380B2 - BUS CONTROL DEVICE, ITS CONTROL METHOD, AND PROGRAM - Google Patents

BUS CONTROL DEVICE, ITS CONTROL METHOD, AND PROGRAM Download PDF

Info

Publication number
JP6008380B2
JP6008380B2 JP2012017955A JP2012017955A JP6008380B2 JP 6008380 B2 JP6008380 B2 JP 6008380B2 JP 2012017955 A JP2012017955 A JP 2012017955A JP 2012017955 A JP2012017955 A JP 2012017955A JP 6008380 B2 JP6008380 B2 JP 6008380B2
Authority
JP
Japan
Prior art keywords
transfer timing
slave device
transfer
data
value
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
JP2012017955A
Other languages
Japanese (ja)
Other versions
JP2013156890A (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.)
NEC Platforms Ltd
Original Assignee
NEC Platforms Ltd
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 NEC Platforms Ltd filed Critical NEC Platforms Ltd
Priority to JP2012017955A priority Critical patent/JP6008380B2/en
Publication of JP2013156890A publication Critical patent/JP2013156890A/en
Application granted granted Critical
Publication of JP6008380B2 publication Critical patent/JP6008380B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、バス制御装置、その制御方法、及びプログラムに関し、特にホットスワップが可能であるシリアルバスに対するバス制御装置、その制御方法、及びプログラムに関する。   The present invention relates to a bus control device, a control method thereof, and a program, and more particularly to a bus control device for a serial bus capable of hot swapping, a control method thereof, and a program.

複数のスレーブデバイスをコンピュータシステムに接続するために、シリアルバスを介した接続方式が活用されている。特に、携帯電話等の組み込みシステムでは、1本のシリアルバスを介して、複数のスレーブデバイスを接続する接続方式が多く採用されている。しかし、そのような接続方式においては、各スレーブデバイスが信号を送受信する時に、伝送遅延が発生する場合がある。   In order to connect a plurality of slave devices to a computer system, a connection method via a serial bus is utilized. In particular, in an embedded system such as a mobile phone, a connection method for connecting a plurality of slave devices via a single serial bus is often employed. However, in such a connection method, a transmission delay may occur when each slave device transmits and receives a signal.

ここで、特許文献1において、スレーブノードが信号の位相を調整することにより、マスターノードとの伝送遅延を解決する技術が開示されている。   Here, Patent Document 1 discloses a technique for solving a transmission delay with a master node by adjusting the phase of a signal by a slave node.

特開2008−16955号公報JP 2008-16955 A

なお、上記先行技術文献の開示を、本書に引用をもって繰り込むものとする。以下の分析は、本発明の観点からなされたものである。   The disclosure of the above prior art document is incorporated herein by reference. The following analysis has been made from the viewpoint of the present invention.

上記のとおり、シリアルバスを介して、複数のスレーブデバイスにデータを送受信する際に、伝送遅延が発生する場合がある。また、ホットスワップにより、各スレーブデバイスに対する動作マージンに偏りが発生する場合もある。なぜなら、スレーブデバイスの接続状態の変更に伴い、バス負荷容量の変化や伝送遅延が発生するからである。ここで、ホットスワップとは、電源を入れた状態で、スレーブデバイスの接続、及び切断を実行することをいう。   As described above, a transmission delay may occur when data is transmitted / received to / from a plurality of slave devices via the serial bus. In addition, the operation margin for each slave device may be biased due to hot swapping. This is because a change in bus load capacity and a transmission delay occur as the connection state of the slave device changes. Here, hot swapping refers to executing connection and disconnection of a slave device with the power turned on.

特許文献1では、信号を送受信するスレーブノードの切り替えにおいて、伝送を中断せずにマスターノードと通信する技術が開示されている。ここで、特許文献1では、スレーブノードが、データ信号の位相を制御する技術が開示されている。しかし、特許文献1では、ホットスワップをした場合の動作マージンの確保については、考慮されていない。   Patent Document 1 discloses a technique for communicating with a master node without interrupting transmission in switching of a slave node that transmits and receives signals. Here, Patent Document 1 discloses a technique in which a slave node controls the phase of a data signal. However, Patent Document 1 does not consider securing an operation margin when hot swapping is performed.

従って、ホットスワップが可能であるシリアルバスを介して、データの転送をする場合に、データの転送タイミングを制御するバス制御装置、その制御方法、及びプログラムが望まれる。   Therefore, when data is transferred via a serial bus that can be hot swapped, a bus control device that controls data transfer timing, a control method therefor, and a program are desired.

本発明の第1の視点によれば、ホットスワップが可能であるシリアルバスを介して、1又は2以上のスレーブデバイスと通信するデータ通信部と、前記各スレーブデバイスの前記シリアルバスへの接続状態に基づき、前記各スレーブデバイスに対するデータの転送タイミング値を判断する転送タイミング判断部と、前記転送タイミング値を格納する転送タイミング格納部と、前記転送タイミング値に基づき、前記各スレーブデバイスへのデータの転送を制御する転送タイミング制御部と、を備え、前記接続状態の変更は、前記シリアルバスのホットスワップに基づいて、接続状態を変更することを含むバス制御装置が提供される。
本発明の他の視点によれば、ホットスワップが可能であるシリアルバスを介して、1又は2以上のスレーブデバイスと通信するデータ通信部と、前記各スレーブデバイスの前記シリアルバスへの接続状態に基づき、前記各スレーブデバイスに対するデータの転送タイミング値を判断する転送タイミング判断部と、前記転送タイミング値を格納する転送タイミング格納部と、前記転送タイミング値に基づき、前記各スレーブデバイスへのデータの転送を制御する転送タイミング制御部と、を備え、前記転送タイミング格納部は、前記各スレーブデバイスのアドレスに対して、前記転送タイミング値を対応付けて格納することを特徴とするバス制御装置が提供される。
According to the first aspect of the present invention, a data communication unit that communicates with one or two or more slave devices via a serial bus capable of hot swapping, and a connection state of each slave device to the serial bus A transfer timing determination unit for determining a data transfer timing value for each slave device, a transfer timing storage unit for storing the transfer timing value, and a data transfer timing value for each slave device based on the transfer timing value. And a transfer timing control unit that controls transfer , wherein the connection state change includes changing the connection state based on hot swap of the serial bus .
According to another aspect of the present invention, a data communication unit that communicates with one or more slave devices via a serial bus that is hot-swappable, and a state in which each slave device is connected to the serial bus. A transfer timing determination unit that determines a data transfer timing value for each slave device, a transfer timing storage unit that stores the transfer timing value, and a data transfer to each slave device based on the transfer timing value And a transfer timing control unit that controls the transfer timing storage unit, wherein the transfer timing storage unit stores the transfer timing value in association with the address of each slave device. The

本発明の第2の視点によれば、ホットスワップが可能であるシリアルバスを介して、1又は2以上のスレーブデバイスと通信するデータ通信部を備えるバス制御装置の制御方法であって、前記各スレーブデバイスの前記シリアルバスへの接続状態に基づき、前記各スレーブデバイスに対する転送タイミング値を判断する判断工程と、前記転送タイミング値を格納する工程と、前記転送タイミング値に基づき、前記各スレーブデバイスへのデータの転送を制御する工程と、を含み、前記接続状態の変更は、前記シリアルバスのホットスワップに基づいて、接続状態を変更することを含むバス制御装置の制御方法が提供される。
本発明の他の視点によれば、ホットスワップが可能であるシリアルバスを介して、1又は2以上のスレーブデバイスと通信するデータ通信部を備えるバス制御装置の制御方法であって、前記各スレーブデバイスの前記シリアルバスへの接続状態に基づき、前記各スレーブデバイスに対する転送タイミング値を判断する判断工程と、前記転送タイミング値を格納する工程と、前記転送タイミング値に基づき、前記各スレーブデバイスへのデータの転送を制御する工程と、をみ、前記転送タイミング値を格納する工程において、前記各スレーブデバイスのアドレスに対して、前記転送タイミング値を対応付けて格納することを特徴とするバス制御装置の制御方法が提供される。
According to a second aspect of the present invention, there is provided a control method for a bus control device including a data communication unit that communicates with one or more slave devices via a serial bus capable of hot swapping. Based on a connection state of the slave device to the serial bus, a determination step of determining a transfer timing value for each slave device, a step of storing the transfer timing value, and a transfer timing value to each slave device viewed including the step, the controlling the transfer of data, the change of the connection state, on the basis of the serial bus hot-swap control method of the bus control device includes changing the connection state is provided.
According to another aspect of the present invention, there is provided a method for controlling a bus control device including a data communication unit that communicates with one or more slave devices via a serial bus capable of hot swapping, wherein each slave A determination step of determining a transfer timing value for each slave device based on a connection state of the device to the serial bus, a step of storing the transfer timing value, and a transfer to the slave device based on the transfer timing value see containing and controlling the transfer of data, and in the step of storing the transfer timing value, the relative address of each slave device, the bus control and storing, in association with the transfer timing values An apparatus control method is provided.

本発明の第3の視点によれば、ホットスワップが可能であるシリアルバスを介して、1又は2以上のスレーブデバイスと通信するデータ通信部を備えるバス制御装置を制御するコンピュータに対して、前記各スレーブデバイスの前記シリアルバスへの接続状態に基づき、前記各スレーブデバイスに対する転送タイミング値を判断する判断処理と、前記転送タイミング値を格納する処理と、前記転送タイミング値に基づき、前記各スレーブデバイスへのデータの転送を制御する処理と、を実行させ、前記接続状態の変更は、前記シリアルバスのホットスワップに基づいて、接続状態を変更することを含むプログラムが提供される。
本発明の他の視点によれば、ホットスワップが可能であるシリアルバスを介して、1又は2以上のスレーブデバイスと通信するデータ通信部を備えるバス制御装置を制御するコンピュータに対して、前記各スレーブデバイスの前記シリアルバスへの接続状態に基づき、前記各スレーブデバイスに対する転送タイミング値を判断する判断処理と、前記転送タイミング値を格納する処理と、前記転送タイミング値に基づき、前記各スレーブデバイスへのデータの転送を制御する処理と、を実行させ、前記転送タイミング値を格納する処理において、前記各スレーブデバイスのアドレスに対して、前記転送タイミング値を対応付けて格納することを特徴とするプログラムが提供される。なお、これらのプログラムは、コンピュータが読み取り可能な記憶媒体に記録することができる。即ち、本発明は、コンピュータプログラム製品として具現することも可能である。
According to a third aspect of the present invention, for a computer that controls a bus control device including a data communication unit that communicates with one or more slave devices via a serial bus capable of hot swapping, Based on the connection state of each slave device to the serial bus, a determination process for determining a transfer timing value for each slave device, a process for storing the transfer timing value, and each slave device based on the transfer timing value And a process for controlling the transfer of data to the network, wherein the connection state change includes changing the connection state based on hot swap of the serial bus .
According to another aspect of the present invention, for each computer that controls a bus control device including a data communication unit that communicates with one or more slave devices via a serial bus that is hot swappable, Based on the connection state of the slave device to the serial bus, a determination process for determining a transfer timing value for each slave device, a process for storing the transfer timing value, and a process for storing the transfer timing value to each slave device And a process for controlling the transfer of the data, and in the process for storing the transfer timing value, the transfer timing value is stored in association with the address of each slave device. Is provided. Note that these programs can be recorded on a computer-readable storage medium. That is, the present invention can be embodied as a computer program product.

本発明の各視点によれば、従って、ホットスワップが可能であるシリアルバスを介して、データの転送をする場合に、データの転送タイミングを制御するバス制御装置、その制御方法、及びプログラムが提供される。   Therefore, according to each aspect of the present invention, there is provided a bus control device that controls data transfer timing, a control method thereof, and a program when transferring data via a serial bus capable of hot swapping. Is done.

本発明の一実施形態を説明するための図である。It is a figure for demonstrating one Embodiment of this invention. 本発明の第1の実施形態に係るバス制御装置1を備えるシステム構成の一例を示す図である。It is a figure which shows an example of a system structure provided with the bus control apparatus 1 which concerns on the 1st Embodiment of this invention. バス制御装置1の内部構成の一例を示す図である。2 is a diagram illustrating an example of an internal configuration of a bus control device 1. FIG. 転送タイミングテーブル15の一例を示す図である。6 is a diagram illustrating an example of a transfer timing table 15. FIG. トレーニング処理のフローチャートである。It is a flowchart of a training process. 転送タイミング値110の決定の一例を示す図である。6 is a diagram illustrating an example of determination of a transfer timing value 110. FIG. トレーニング後のデータ転送処理のフローチャートである。It is a flowchart of the data transfer process after training. ホットスワップの検出処理のフローチャートである。It is a flowchart of a hot swap detection process. バス制御装置1の内部構成の一例を示す図である。2 is a diagram illustrating an example of an internal configuration of a bus control device 1. FIG.

初めに、図1を用いて一実施形態の概要について説明する。なお、この概要に図面参照番号は、理解を助けるための一例として各要素に便宜上付記したものであり、本発明を図示の態様に限定することを意図したものではない。   First, an outline of an embodiment will be described with reference to FIG. In this summary, the drawing reference numbers are added for convenience to each element as an example for facilitating understanding, and are not intended to limit the present invention to the illustrated embodiment.

上記のとおり、ホットスワップにより、各スレーブデバイスに対する動作マージンに偏りが発生する。従って、ホットスワップが可能であるシリアルバスを介して、データの転送をする場合に、データの転送タイミングを制御するバス制御装置、その制御方法、及びプログラムが望まれる。   As described above, hot swap causes a bias in the operation margin for each slave device. Therefore, when data is transferred via a serial bus that can be hot swapped, a bus control device that controls data transfer timing, a control method therefor, and a program are desired.

そこで、一例として図1に示すバス制御装置1を提供する。図1に示すバス制御装置1はホットスワップが可能であるシリアルバス2を介して、1又は2以上のスレーブデバイス3と通信するデータ通信部10と、スレーブデバイス3のシリアルバスへの接続状態に基づき、各スレーブデバイス3に対するデータの転送タイミング値110を判断する転送タイミング判断部11と、転送タイミング値110を格納する転送タイミング格納部12と、転送タイミング値110に基づき、各スレーブデバイス3へのデータの転送を制御する転送タイミング制御部13と、を備える。   Therefore, as an example, the bus control device 1 shown in FIG. 1 is provided. The bus control device 1 shown in FIG. 1 is connected to a data communication unit 10 that communicates with one or more slave devices 3 via a serial bus 2 that is hot swappable, and the slave devices 3 are connected to the serial bus. Based on the transfer timing determination unit 11 that determines the data transfer timing value 110 for each slave device 3, the transfer timing storage unit 12 that stores the transfer timing value 110, and the transfer timing value 110, And a transfer timing control unit 13 that controls data transfer.

ここで、コンピュータシステム4は、バス制御装置1とシリアルバス2を備えている。そして、バス制御装置1とシリアルバス2は接続している。ここで、シリアルバス2は、ホットスワップが可能である。つまり、コンピュータシステム4は、作動中にスレーブデバイス3の接続状態を変更できるということである。   Here, the computer system 4 includes a bus control device 1 and a serial bus 2. The bus control device 1 and the serial bus 2 are connected. Here, the serial bus 2 can be hot swapped. That is, the computer system 4 can change the connection state of the slave device 3 during operation.

まず、バス制御装置1は、データ通信部10を備えている。データ通信部10は、スレーブデバイス3とのデータの送受信をする。   First, the bus control device 1 includes a data communication unit 10. The data communication unit 10 transmits / receives data to / from the slave device 3.

また、バス制御装置1は、転送タイミング判断部11を備えている。転送タイミング判断部11は、各スレーブデバイス3とのデータの転送タイミングを判断する。上記のとおり、スレーブデバイス3の接続状態に依存して、各スレーブデバイス3に対する動作マージンに偏りが発生する。そのため、転送タイミング判断部11は、データの転送の事前に、データの転送タイミングを判断するための試験(以下、トレーニング)を実行する。   The bus control device 1 also includes a transfer timing determination unit 11. The transfer timing determination unit 11 determines the transfer timing of data with each slave device 3. As described above, depending on the connection state of the slave device 3, the operation margin for each slave device 3 is biased. Therefore, the transfer timing determination unit 11 executes a test (hereinafter, training) for determining the data transfer timing in advance of the data transfer.

そして、転送タイミング判断部11は、トレーニング結果に基づき、最適な転送タイミング値110を判断する。ここで、転送タイミング判断部11は、動作マージンを確保できるデータの転送タイミングを決定する。なお、ここでの動作マージンは、セットアップタイム、及びホールドタイムに対する動作マージンである。   Then, the transfer timing determination unit 11 determines an optimal transfer timing value 110 based on the training result. Here, the transfer timing determination unit 11 determines the transfer timing of data that can secure an operation margin. Note that the operation margin here is an operation margin with respect to the setup time and the hold time.

さらに、バス制御装置1は、転送タイミング格納部12を備えている。転送タイミング格納部12は、転送タイミング値110を格納する。   Further, the bus control device 1 includes a transfer timing storage unit 12. The transfer timing storage unit 12 stores a transfer timing value 110.

そして、バス制御装置1は、転送タイミング制御部13を備えている。転送タイミング制御部13は、転送タイミング値110に基づき、データの転送タイミングを切り替える。そして、データ通信部10が、各スレーブデバイス3へデータを転送する。   The bus control device 1 includes a transfer timing control unit 13. The transfer timing control unit 13 switches the data transfer timing based on the transfer timing value 110. Then, the data communication unit 10 transfers data to each slave device 3.

以上より、バス制御装置1は、スレーブデバイス3の接続状態に応じて、転送タイミング値110をトレーニングする。かつ、バス制御装置1は、ホットスワップが発生した場合であっても、データの転送タイミングを調整する。つまり、バス制御装置1は、スレーブデバイスの接続状態によらず、動作マージンを確保することができる。   As described above, the bus control device 1 trains the transfer timing value 110 according to the connection state of the slave device 3. In addition, the bus control device 1 adjusts the data transfer timing even when a hot swap occurs. That is, the bus control device 1 can ensure an operation margin regardless of the connection state of the slave devices.

従って、本発明は、ホットスワップが可能であるシリアルバスを介して、データの転送をする場合に、データの転送タイミングを制御するバス制御装置、その制御方法、及びプログラムを提供できる。   Therefore, the present invention can provide a bus control device, a control method thereof, and a program for controlling the data transfer timing when transferring data via a serial bus capable of hot swapping.

以下に具体的な実施の形態について、図面を参照してさらに詳しく説明する。   Hereinafter, specific embodiments will be described in more detail with reference to the drawings.

[第1の実施形態]
本発明の第1の実施形態について、図面を用いてさらに詳しく説明する。
[First Embodiment]
The first embodiment of the present invention will be described in more detail with reference to the drawings.

図2は、本発明の第1の実施形態に係るバス制御装置1を備えるシステム構成の一例を示す図である。   FIG. 2 is a diagram illustrating an example of a system configuration including the bus control device 1 according to the first embodiment of the present invention.

図2に示すコンピュータシステム4は、バス制御装置1、シリアルバス2、スレーブノード5を備える。コンピュータシステム4は、1又は2以上のスレーブデバイス3と接続可能である。また、スレーブノード5は、ホットスワップに基づき、スレーブデバイス3の接続処理、及び切断処理を実行する。なお、図2には、簡単のため、本実施形態に係るコンピュータシステム4に関係するモジュールのみを記載する。バス制御装置1、シリアルバス2、スレーブデバイス3については、上記のとおりである。よって、さらなる説明を省略する。   A computer system 4 shown in FIG. 2 includes a bus control device 1, a serial bus 2, and a slave node 5. The computer system 4 can be connected to one or more slave devices 3. Further, the slave node 5 executes connection processing and disconnection processing of the slave device 3 based on hot swap. In FIG. 2, only the modules related to the computer system 4 according to the present embodiment are shown for simplicity. The bus control device 1, serial bus 2, and slave device 3 are as described above. Therefore, further explanation is omitted.

次に、図3は、バス制御装置1の内部構成の一例を示す図である。   Next, FIG. 3 is a diagram illustrating an example of an internal configuration of the bus control device 1.

バス制御装置1は、データ通信部10、転送タイミング判断部11、転送タイミング格納部12、転送タイミング制御部13、データ通信制御部14を備える。図3には、簡単のため、本実施形態に係るバス制御装置1に関係するモジュールのみを記載する。   The bus control device 1 includes a data communication unit 10, a transfer timing determination unit 11, a transfer timing storage unit 12, a transfer timing control unit 13, and a data communication control unit 14. FIG. 3 shows only modules related to the bus control device 1 according to the present embodiment for simplicity.

データ通信部10は、上記のとおりである。よって、さらなる説明を省略する。   The data communication unit 10 is as described above. Therefore, further explanation is omitted.

転送タイミング判断部11は、上記のとおり、転送タイミング値110を判断する。ここで、転送タイミング判断部11は、転送タイミングをトレーニングする。その後、転送タイミング判断部11は、トレーニング結果に基づき、転送タイミング値110を判断する。ここで、転送タイミング判断部11は、1又は2以上のパターンの転送タイミングでトレーニングした後に、前記転送タイミング値110を判断する。以下の説明では、トレーニング用の転送タイミングのパターンを、トレーニング用タイミング集合111と表す。さらに、以下の説明では、トレーニング用の転送タイミングをトレーニング用タイミング値112と表す。   The transfer timing determination unit 11 determines the transfer timing value 110 as described above. Here, the transfer timing determination unit 11 trains the transfer timing. Thereafter, the transfer timing determination unit 11 determines the transfer timing value 110 based on the training result. Here, the transfer timing determination unit 11 determines the transfer timing value 110 after training at the transfer timing of one or more patterns. In the following description, a training transfer timing pattern is represented as a training timing set 111. Furthermore, in the following description, the transfer timing for training is represented as a training timing value 112.

ここで、例えば、転送タイミング判断部11は、通信が正常であったトレーニング用タイミング値112の中から、中央値を選択することが好ましい。なぜなら、転送タイミング判断部11は、中央値を選択することによって、動作マージンを最大にできるからである。   Here, for example, it is preferable that the transfer timing determination unit 11 selects the median value from the training timing values 112 in which the communication is normal. This is because the transfer timing determination unit 11 can maximize the operation margin by selecting the median value.

さらに、転送タイミング判断部11は、トレーニング結果に基づき、スレーブデバイス3の接続の有無を判断する。   Furthermore, the transfer timing determination unit 11 determines whether the slave device 3 is connected based on the training result.

また、転送タイミング格納部12は、転送タイミング値110を格納する。ここで、転送タイミング格納部12は、転送タイミングテーブル15として、転送タイミング値110を格納するものとする。   The transfer timing storage unit 12 stores a transfer timing value 110. Here, it is assumed that the transfer timing storage unit 12 stores a transfer timing value 110 as the transfer timing table 15.

さらに、転送タイミング格納部12は、転送タイミングテーブル15に、トレーニング用タイミング集合111を登録する。   Further, the transfer timing storage unit 12 registers the training timing set 111 in the transfer timing table 15.

さらに、転送タイミング格納部12は、転送タイミングテーブル15に、トレーニング状態値113を登録する。トレーニング状態値113とは、各スレーブデバイスに対するトレーニングの実施の有無を表す値である。   Further, the transfer timing storage unit 12 registers the training state value 113 in the transfer timing table 15. The training state value 113 is a value representing whether or not training is performed on each slave device.

かつ、転送タイミング格納部12は、転送タイミングテーブル15に、各スレーブデバイス3の接続状態値114を登録する。接続状態値114とは、スレーブデバイスの接続の有無を表す値である。   In addition, the transfer timing storage unit 12 registers the connection state value 114 of each slave device 3 in the transfer timing table 15. The connection state value 114 is a value indicating whether or not a slave device is connected.

以上の情報について、転送タイミング格納部12は、スレーブデバイス識別子115と対応付けて、転送タイミングテーブル15に登録する。ここで、スレーブデバイス識別子115とは、各スレーブデバイス3を識別するための情報である。例えば、スレーブデバイス3のアドレスが、スレーブデバイス識別子115として好ましい。または、バス制御装置1は、スレーブデバイス識別子115として、スレーブデバイスに3に予めインデックスを割り当ててもよい。ここで、スレーブデバイス識別子115は、スレーブデバイス3を区別できる情報であれば、その種類は問わない。   The transfer timing storage unit 12 registers the above information in the transfer timing table 15 in association with the slave device identifier 115. Here, the slave device identifier 115 is information for identifying each slave device 3. For example, the address of the slave device 3 is preferable as the slave device identifier 115. Alternatively, the bus control device 1 may assign an index to 3 in advance as a slave device identifier 115 to the slave device. Here, the type of the slave device identifier 115 is not limited as long as it is information that can distinguish the slave device 3.

ここで、図4は、転送タイミングテーブル15の一例を示す図である。   Here, FIG. 4 is a diagram illustrating an example of the transfer timing table 15.

図4の転送タイミングテーブル15には、スレーブデバイス識別子115として、slave_device1が登録されている。そして、図4の転送タイミングテーブル15には、slave_device1に対応付けて、情報が登録されている。   In the transfer timing table 15 of FIG. 4, slave_device1 is registered as the slave device identifier 115. Information is registered in the transfer timing table 15 of FIG. 4 in association with slave_device1.

まず、図4の転送タイミングテーブル15には、転送タイミング値110として、セットアップタイムsetup_time1、及びホールドタイムhold_time1が登録されている。   First, in the transfer timing table 15 of FIG. 4, the setup time setup_time1 and the hold time hold_time1 are registered as the transfer timing value 110.

かつ、図4の転送タイミングテーブル15には、セットアップタイム、ホールドタイムに対するトレーニング用タイミング集合111が登録されている。図4の転送タイミングテーブル15には、セットアップタイムに対するトレーニング用タイミング集合111として、s1_1、s1_2、s1_3が登録されている。かつ、図4の転送タイミングテーブル15には、ホールドタイムに対するトレーニング用タイミング集合111として、h1_1、h1_2、h1_3が登録されている。   In addition, a training timing set 111 for the setup time and hold time is registered in the transfer timing table 15 of FIG. In the transfer timing table 15 of FIG. 4, s1_1, s1_2, and s1_3 are registered as the timing set 111 for training with respect to the setup time. In the transfer timing table 15 of FIG. 4, h1_1, h1_2, and h1_3 are registered as the training timing set 111 for the hold time.

また、図4の転送タイミングテーブル15には、トレーニング状態値113として、「トレーニング済み」と登録されている。   In the transfer timing table 15 of FIG. 4, “trained” is registered as the training state value 113.

さらに、図4の転送タイミングテーブル15には、接続状態値114として、対応するスレーブデバイス3が「接続有り」と登録されている。   Furthermore, in the transfer timing table 15 of FIG. 4, the corresponding slave device 3 is registered as “connected” as the connection state value 114.

また、転送タイミング制御部13は、上記のとおり、転送タイミング値110に基づき、データの転送タイミングを切り替える。従って、コンピュータシステム4は、各スレーブノード5において、動作マージンを確保するための処理を実行する必要がない。   Further, the transfer timing control unit 13 switches the data transfer timing based on the transfer timing value 110 as described above. Therefore, the computer system 4 does not need to execute processing for ensuring an operation margin in each slave node 5.

また、データ通信制御部14は、コンピュータシステム4の中でのデータの送受信を実行する。   The data communication control unit 14 performs data transmission / reception in the computer system 4.

次に、バス制御装置1の動作について説明する。   Next, the operation of the bus control device 1 will be described.

まず、図5のフローチャートを用いて、トレーニング処理について説明する。   First, the training process will be described with reference to the flowchart of FIG.

まず、転送タイミング判断部11は、転送タイミングテーブル15を参照する。次に、転送タイミング判断部11は、スレーブデバイス識別子115に基づき、トレーニング状態値113を確認する。その後、対象のスレーブデバイス3に対してトレーニングが未実施か否かを、転送タイミング判断部11は判断する(ステップS110)。   First, the transfer timing determination unit 11 refers to the transfer timing table 15. Next, the transfer timing determination unit 11 confirms the training state value 113 based on the slave device identifier 115. Thereafter, the transfer timing determination unit 11 determines whether or not training is not performed on the target slave device 3 (step S110).

ステップS110の条件を満たす場合、転送タイミング判断部11は、転送タイミングテーブル15から、トレーニング用タイミング集合111を取得する。そして、転送タイミング判断部11は、トレーニング用タイミング集合111からトレーニング用タイミング値112を順に選択する。その後、転送タイミング判断部11は、トレーニング用タイミング値112を転送タイミング制御部13に設定する(ステップS111)。   When the condition of step S110 is satisfied, the transfer timing determination unit 11 acquires the training timing set 111 from the transfer timing table 15. Then, the transfer timing determination unit 11 sequentially selects the training timing value 112 from the training timing set 111. Thereafter, the transfer timing determination unit 11 sets the training timing value 112 in the transfer timing control unit 13 (step S111).

次に、データ通信部10は、スレーブデバイス3に対してデータを送受信する(ステップS112)。その際に、転送タイミング制御部13は、データの転送タイミングを制御する。ここで、データの転送タイミングは、トレーニング用タイミング値112である。そして、データのセットアップタイム、及びホールドタイムそれぞれについて、トレーニングを実行するものとする。   Next, the data communication unit 10 transmits / receives data to / from the slave device 3 (step S112). At that time, the transfer timing control unit 13 controls the data transfer timing. Here, the data transfer timing is the training timing value 112. And training shall be performed about each of the setup time and hold time of data.

そして、転送タイミング制御部13は、トレーニング用タイミング値112を変更して、データの送受信を繰り返す。その際に、すべてのトレーニング用タイミング値112で、データの送受信をトレーニングしたか否かを、転送タイミング判断部11は判断する(ステップS113)。そして、ステップS113の条件を満たさない場合には、バス制御装置1は、ステップS111、及びステップS112の処理を繰り返す。   Then, the transfer timing control unit 13 changes the training timing value 112 and repeats data transmission / reception. At that time, the transfer timing determination unit 11 determines whether or not data transmission / reception has been trained with all the training timing values 112 (step S113). If the condition of step S113 is not satisfied, the bus control device 1 repeats the processes of step S111 and step S112.

一方、ステップS113の条件を満たす場合には、通信が正常であったトレーニング用タイミング値112が存在するか否かを、転送タイミング判断部11は判断する(ステップS114)。ステップS114の条件を満たす場合には、転送タイミング判断部11は、データの転送タイミング値110を決定する(ステップS115)。例えば、転送タイミング判断部11は、通信が正常であったトレーニング用タイミング値112の中から、中央値を選択することが好ましい。なぜなら、転送タイミング判断部11は、中央値を選択することによって、動作マージンを最大にできるからである。   On the other hand, when the condition of step S113 is satisfied, the transfer timing determination unit 11 determines whether or not there is a training timing value 112 for which communication was normal (step S114). When the condition of step S114 is satisfied, the transfer timing determination unit 11 determines the data transfer timing value 110 (step S115). For example, it is preferable that the transfer timing determination unit 11 selects the median value from the training timing values 112 for which communication was normal. This is because the transfer timing determination unit 11 can maximize the operation margin by selecting the median value.

その後、転送タイミング格納部12は、転送タイミングテーブル15に転送タイミング値110を登録する(ステップS116)。かつ、転送タイミング格納部12は、転送タイミングテーブル15にトレーニング状態値113を登録する。さらに、転送タイミング格納部12は、転送タイミングテーブル15に接続状態値114を登録する。   Thereafter, the transfer timing storage unit 12 registers the transfer timing value 110 in the transfer timing table 15 (step S116). In addition, the transfer timing storage unit 12 registers the training state value 113 in the transfer timing table 15. Further, the transfer timing storage unit 12 registers the connection state value 114 in the transfer timing table 15.

一方、ステップS114の条件を満たさない場合には、転送タイミング判断部11は、対象のスレーブデバイス3は未接続であると判断する(ステップS117)。この場合も、転送タイミング格納部12は、転送タイミングテーブル15にトレーニング状態値113を登録する。さらに、転送タイミング格納部12は、転送タイミングテーブル15に接続状態値114を登録する。   On the other hand, when the condition of step S114 is not satisfied, the transfer timing determination unit 11 determines that the target slave device 3 is not connected (step S117). Also in this case, the transfer timing storage unit 12 registers the training state value 113 in the transfer timing table 15. Further, the transfer timing storage unit 12 registers the connection state value 114 in the transfer timing table 15.

そして、バス制御装置1は、全てのスレーブデバイス3に対して上記のトレーニングを実行する。その際に、転送タイミング判断部11は、転送タイミングテーブル15を参照して、スレーブデバイス3のトレーニング状態を確認する。   Then, the bus control device 1 executes the above training for all the slave devices 3. At that time, the transfer timing determination unit 11 refers to the transfer timing table 15 and confirms the training state of the slave device 3.

ここで、ホットスワップが発生しない場合には、バス制御装置1はトレーニングを再実行する必要はない。なぜなら、コンピュータシステム4がリセットするまで、バス制御装置1は転送タイミングテーブル15の値を保持するからである。一方、ホットスワップが発生した場合には、バス制御装置1は、後述する方法で転送タイミングテーブル15の値を更新する。   Here, when no hot swap occurs, the bus control device 1 does not need to re-execute training. This is because the bus control device 1 holds the value of the transfer timing table 15 until the computer system 4 is reset. On the other hand, when a hot swap occurs, the bus control device 1 updates the value of the transfer timing table 15 by a method described later.

ここで、図6を用いて、転送タイミング値110の決定について説明する。まず図6の(a−1)図から図6の(a−5)図は、トレーニング用タイミング値112ごとのホールドタイムを示す図である。一方、図6の(b)図は、ホールドタイムごとのデータの受信結果を示す図である。例えば、図6の(a−1)図の場合には、ホールドタイムはT1である。かつ、図6の(b)図より、その場合の受信結果は異常である。また、図6の(a−5)図の場合には、ホールドタイムがT5である。そして、図6の(b)図より、その場合の受信結果は異常である。一方、図6の(b)図より、データホールドタイムがT2、T3、T4の場合には、受信結果が正常である。ここで、T2、T3、T4のホールドタイムの中で、T3が中央値である(図6の(a−2)図から図6の(a−4)図参照)。   Here, the determination of the transfer timing value 110 will be described with reference to FIG. First, FIGS. 6 (a-1) to 6 (a-5) are diagrams showing hold times for each training timing value 112. FIG. On the other hand, FIG. 6B is a diagram showing a data reception result for each hold time. For example, in the case of FIG. 6A-1, the hold time is T1. In addition, from FIG. 6B, the reception result in that case is abnormal. In the case of FIG. 6A-5, the hold time is T5. From FIG. 6B, the reception result in that case is abnormal. On the other hand, from FIG. 6B, when the data hold time is T2, T3, T4, the reception result is normal. Here, among the hold times of T2, T3, and T4, T3 is a median value (see FIG. 6 (a-2) to FIG. 6 (a-4)).

ここで、上記のとおり、動作マージンが最大となるように、転送タイミング値を決定することが好ましい。従って、通信が正常であったトレーニング用タイミング値112の中から、中央値を選択することが好ましい。そのため、図6の場合には、ホールドタイムの転送タイミング値110として、ホールドタイムT3を選択することが好ましい。   Here, as described above, it is preferable to determine the transfer timing value so that the operation margin is maximized. Therefore, it is preferable to select the median value from the training timing values 112 for which communication was normal. Therefore, in the case of FIG. 6, it is preferable to select the hold time T3 as the transfer timing value 110 of the hold time.

次に、図7のフローチャートを用いて、トレーニング後のデータ転送処理について説明する。   Next, data transfer processing after training will be described using the flowchart of FIG.

まず、バス制御装置1は、対象のスレーブデバイス3に対して通信可能であるかを確認する(ステップS210)。その際に、バス制御装置1は、転送タイミングテーブル15の接続状態値114を参照する。そして、ホットスワップが発生したか否かを、転送タイミング判断部11は判断する(ステップS211)。その際に、転送タイミング判断部11は、全てのスレーブデバイス3に対して、定期的に通信する。なお、未接続と判断しているスレーブデバイス3に対しても、転送タイミング判断部11は通信をするものとする。これは、転送タイミング判断部11が、スレーブデバイス3のホットスワップを検出するためである。   First, the bus control device 1 confirms whether communication with the target slave device 3 is possible (step S210). At that time, the bus control device 1 refers to the connection state value 114 of the transfer timing table 15. Then, the transfer timing determination unit 11 determines whether or not hot swap has occurred (step S211). At that time, the transfer timing determination unit 11 periodically communicates with all the slave devices 3. Note that the transfer timing determination unit 11 also communicates with the slave device 3 that is determined to be unconnected. This is because the transfer timing determination unit 11 detects hot swap of the slave device 3.

ここで、ステップS211の条件を満たさない場合には、データ通信制御部14から対象のスレーブデバイス3への通信要求があったか否かを、転送タイミング判断部11は判断する(ステップS212)。ステップS212の条件を満たさない場合には、転送タイミング判断部は、S211の判断を繰り返す。   Here, when the condition of step S211 is not satisfied, the transfer timing determination unit 11 determines whether or not there is a communication request from the data communication control unit 14 to the target slave device 3 (step S212). If the condition of step S212 is not satisfied, the transfer timing determination unit repeats the determination of S211.

一方、ステップS212の条件を満たす場合には、転送タイミング判断部11は転送タイミング値110を取得する(ステップS213)。その際、転送タイミング判断部11は転送タイミングテーブル15を参照する。そして、転送タイミング判断部11は、転送タイミング制御部13に転送タイミング値110を設定する。その後、データ通信部10は、スレーブデバイス3に対してデータを送信する(ステップS214)。その際に、転送タイミング制御部13は、データの転送タイミングを制御する。   On the other hand, when the condition of step S212 is satisfied, the transfer timing determination unit 11 acquires the transfer timing value 110 (step S213). At that time, the transfer timing determination unit 11 refers to the transfer timing table 15. Then, the transfer timing determination unit 11 sets the transfer timing value 110 in the transfer timing control unit 13. Thereafter, the data communication unit 10 transmits data to the slave device 3 (step S214). At that time, the transfer timing control unit 13 controls the data transfer timing.

次に、ステップS211の条件を満たす場合について説明する。つまり、ホットスワップの検出処理について説明をする。   Next, a case where the condition of step S211 is satisfied will be described. That is, the hot swap detection process will be described.

そこで、図8のフローチャートを用いて、ホットスワップの検出処理について説明する。   The hot swap detection process will be described with reference to the flowchart of FIG.

まず、転送タイミング判断部11は、未接続のスレーブデバイス3に対して、トレーニングを実行する(ステップS310)。そして、未接続と判断しているスレーブデバイス3から応答があったか否かを、転送タイミング判断部11は判断する(ステップS311)。これは、ホットスワップによって、新たに接続されたスレーブデバイス3を検出するためである。   First, the transfer timing determination unit 11 performs training for the unconnected slave device 3 (step S310). Then, the transfer timing determination unit 11 determines whether or not there is a response from the slave device 3 that has been determined to be unconnected (step S311). This is because the newly connected slave device 3 is detected by hot swap.

ここで、ステップS311の条件を満たすとする。その場合、転送タイミング判断部11は、対象のスレーブデバイス3が接続されていると判断する(ステップS312)。そして、転送タイミング格納部12は、転送タイミングテーブル15の接続状態値114に、「接続有り」を示す情報を登録する(ステップS313)。   Here, it is assumed that the condition of step S311 is satisfied. In this case, the transfer timing determination unit 11 determines that the target slave device 3 is connected (step S312). Then, the transfer timing storage unit 12 registers information indicating “connected” in the connection state value 114 of the transfer timing table 15 (step S313).

一方、ステップS311の条件を満たさない場合を考える。その場合、接続と判断していたスレーブデバイス3から応答があったか否かを、転送タイミング判断部11は判断する(ステップS314)。これは、ホットスワップによって、切断されたスレーブデバイス3を検出するためである。   On the other hand, consider a case where the condition of step S311 is not satisfied. In this case, the transfer timing determination unit 11 determines whether or not there is a response from the slave device 3 that has been determined to be connected (step S314). This is because the disconnected slave device 3 is detected by hot swap.

ステップS314の条件を満たす場合には、ステップS212の処理に遷移する。一方、ステップS314の条件を満たさない場合には、転送タイミング判断部11は、対象のスレーブデバイス3が切断されていると判断する(ステップS315)。そして、転送タイミング格納部12は、転送タイミングテーブル15の接続状態値114に、「接続無し」を示す情報を登録する(ステップS316)。   If the condition in step S314 is satisfied, the process proceeds to step S212. On the other hand, when the condition of step S314 is not satisfied, the transfer timing determination unit 11 determines that the target slave device 3 is disconnected (step S315). Then, the transfer timing storage unit 12 registers information indicating “no connection” in the connection state value 114 of the transfer timing table 15 (step S316).

ステップS313の処理、又はステップS316の処理の後に、転送タイミング判断部11は、転送タイミングテーブル15において、対象のスレーブデバイス3に対応付けられている値を初期化する(ステップS317)。続いて、対象のスレーブデバイス3が接続しているシリアルバス2上の全てのスレーブデバイスについても、ステップS317の処理を実行する。その後、ステップS110の処理に遷移する。つまり、バス制御装置1はトレーニングを再実行する。   After the process of step S313 or the process of step S316, the transfer timing determination unit 11 initializes a value associated with the target slave device 3 in the transfer timing table 15 (step S317). Subsequently, the process of step S317 is also executed for all slave devices on the serial bus 2 to which the target slave device 3 is connected. Then, the process proceeds to step S110. That is, the bus control device 1 re-executes training.

以上より、本実施形態に係るバス制御装置1の第1の効果は、スレーブデバイスの接続状態に合った動作マージンを確保できることである。なぜなら、セットアップタイム、ホールドタイムの動作マージンを確保できる転送タイミングを予めトレーニングするからである。   As described above, the first effect of the bus control device 1 according to the present embodiment is that it is possible to ensure an operation margin that matches the connection state of the slave devices. This is because the transfer timing that can ensure the operation margin of the setup time and the hold time is trained in advance.

本実施形態に係るバス制御装置1の第2の効果は、ホットスワップによってスレーブデバイスの接続状態が変化しても、動作マージンに偏りが発生しないことである。なぜなら、ホットスワップを検出し、データの転送タイミングを更新するからである。従って、ホットスワップが発生しても、上記第1の効果を有するバス制御装置を提供できる。   The second effect of the bus control device 1 according to the present embodiment is that the operation margin is not biased even when the connection state of the slave device is changed by hot swapping. This is because hot swap is detected and the data transfer timing is updated. Therefore, even when hot swap occurs, the bus control device having the first effect can be provided.

[第2の実施形態]
続いて、第2の実施形態について、図面を参照して詳細に説明する。
[Second Embodiment]
Next, the second embodiment will be described in detail with reference to the drawings.

本実施形態は、ホットスワップを直ちに検出できるようにする実施形態である。なお、本実施形態における説明では、第1の実施形態と重複する部分の説明は省略する。さらに、本実施形態における説明では、第1の実施形態と同一の構成要素には、同一の符号を付し、その説明を省略する。   In the present embodiment, hot swap can be immediately detected. In the description of the present embodiment, the description of the same parts as those in the first embodiment is omitted. Further, in the description of the present embodiment, the same components as those in the first embodiment are denoted by the same reference numerals, and the description thereof is omitted.

上記のとおり、本発明では、バス制御装置1は、データの転送タイミングを事前にトレーニングする。そして、トレーニング結果に基づき、バス制御装置1は転送タイミングを決定する。従って、バス制御装置1は、動作マージンを確保しつつ、データの転送をすることができる。そして、ホットスワップが発生した場合には、バス制御装置1は転送タイミングを更新する。   As described above, in the present invention, the bus control device 1 trains data transfer timing in advance. Based on the training result, the bus control device 1 determines the transfer timing. Therefore, the bus control device 1 can transfer data while ensuring an operation margin. When a hot swap occurs, the bus control device 1 updates the transfer timing.

しかし、実施形態1に係るバス制御装置1では、全てのスレーブデバイス3に対して、順番に、定期的に通信をする必要がある。そのため、実施形態1に係るバス制御装置1では、ホットスワップの発生を直ちに検出することができない。そこで、本実施形態に係るバス制御装置1は、スレーブデバイスのホットスワップを検出するホットスワップ検出部16を備えるバス制御装置が、提供される。   However, the bus control device 1 according to the first embodiment needs to periodically communicate with all the slave devices 3 in order. Therefore, the bus control device 1 according to the first embodiment cannot immediately detect the occurrence of hot swap. Therefore, the bus control device 1 according to the present embodiment is provided with a bus control device including a hot swap detection unit 16 that detects hot swap of a slave device.

ここで、図9は、本実施形態係るバス制御装置1の内部構成を示す図である。   Here, FIG. 9 is a diagram illustrating an internal configuration of the bus control device 1 according to the present embodiment.

図9に示すように、本実施形態に係るバス制御装置1は、ホットスワップ検出部16を備える。そして、ホットスワップ検出部16は、スレーブデバイス3から接続状態を監視する信号と接続している。従って、本実施形態に係るバス制御装置1では、ホットスワップを直ちに検出することが可能である。   As shown in FIG. 9, the bus control device 1 according to the present embodiment includes a hot swap detection unit 16. The hot swap detection unit 16 is connected to a signal for monitoring the connection state from the slave device 3. Therefore, the bus control device 1 according to the present embodiment can immediately detect hot swap.

以上、本発明の各実施形態を説明したが、本発明は、上記した実施形態に限定されるものではなく、本発明の基本的技術的思想を逸脱しない範囲で更なる変形・置換・調整を加えることができる。例えば、上記した実施形態の説明では、一本のシリアルバス2として説明したが、シリアルバス2は複数あってもよい。   The embodiments of the present invention have been described above. However, the present invention is not limited to the above-described embodiments, and further modifications, substitutions, and adjustments may be made without departing from the basic technical idea of the present invention. Can be added. For example, in the above description of the embodiment, the serial bus 2 has been described, but a plurality of serial buses 2 may be provided.

また、上記の実施形態では、スレーブデバイス3の切断確認のために、接続確認を1回として説明した。しかし、2回以上の接続確認の後に、スレーブデバイス3が切断されていると判断してもよい。   In the above-described embodiment, the connection confirmation is performed once for confirmation of disconnection of the slave device 3. However, it may be determined that the slave device 3 is disconnected after two or more connection confirmations.

上記の実施形態の一部又は全部は、以下の付記のようにも記載され得るが、以下には限られない。   A part or all of the above embodiments can be described as in the following supplementary notes, but is not limited thereto.

(付記1)ホットスワップが可能であるシリアルバスを介して、1又は2以上のスレーブデバイスと通信するデータ通信部と、前記各スレーブデバイスの前記シリアルバスへの接続状態に基づき、前記各スレーブデバイスに対するデータの転送タイミング値を判断する転送タイミング判断部と、前記転送タイミング値を格納する転送タイミング格納部と、
前記転送タイミング値に基づき、前記各スレーブデバイスへのデータの転送を制御する転送タイミング制御部と、を備えるバス制御装置。
(Additional remark 1) Based on the data communication part which communicates with one or two or more slave devices via the serial bus which can be hot-swapped, and each said slave device based on the connection state to the said serial bus of each said slave device A transfer timing determination unit for determining a transfer timing value of data for the transfer, a transfer timing storage unit for storing the transfer timing value,
A bus control device comprising: a transfer timing control unit that controls transfer of data to each of the slave devices based on the transfer timing value.

(付記2)前記転送タイミング値は、データを転送する場合のセットアップタイム、及びホールドタイムを表す情報であるバス制御装置。   (Additional remark 2) The said transfer timing value is a bus control apparatus which is the information showing the setup time and hold time in the case of transferring data.

(付記3)前記転送タイミング判断部は、1又は2以上のパターンのデータの転送タイミングを試験した後に、前記転送タイミング値を判断するバス制御装置。   (Supplementary Note 3) The bus control device, wherein the transfer timing determination unit determines the transfer timing value after testing the transfer timing of data of one or more patterns.

(付記4)前記転送タイミング判断部は、1又は2以上のパターンのデータの転送タイミングを試験した後に、セットアップタイム、及びホールドタイムに対する動作マージンに基づき、前記転送タイミング値を判断するバス制御装置。   (Additional remark 4) The said transfer timing judgment part is a bus control apparatus which judges the said transfer timing value based on the operation margin with respect to a setup time and a hold time, after testing the transfer timing of the data of 1 or 2 or more patterns.

(付記5)前記転送タイミング判断部は、前記各スレーブデバイスの前記シリアルバスへの接続状態の変更に伴い、前記転送タイミング値を更新するバス制御装置。   (Additional remark 5) The said transfer timing judgment part is a bus control apparatus which updates the said transfer timing value with the change of the connection state to the said serial bus of each said slave device.

(付記6)前記転送タイミング判断部は、定期的に前記各スレーブデバイスと通信し、前記各スレーブデバイスの前記シリアルバスへの接続状態の変更を検出するバス制御装置。   (Additional remark 6) The said transfer timing judgment part communicates with each said slave device regularly, The bus control apparatus which detects the change of the connection state to the said serial bus of each said slave device.

(付記7)前記転送タイミング格納部は、前記各スレーブデバイスのアドレスに対して、前記転送タイミング値を対応付けて格納するバス制御装置。   (Additional remark 7) The said transfer timing storage part is a bus control apparatus which matches and stores the said transfer timing value with respect to the address of each said slave device.

(付記8)前記各スレーブデバイスのホットスワップを検出するホットスワップ検出部をさらに備えるバス制御装置。   (Additional remark 8) The bus control apparatus further provided with the hot swap detection part which detects the hot swap of each said slave device.

(付記9)ホットスワップが可能であるシリアルバスを介して、1又は2以上のスレーブデバイスと通信するデータ通信部を備えるバス制御装置の制御方法であって、前記各スレーブデバイスの前記シリアルバスへの接続状態に基づき、前記各スレーブデバイスに対する転送タイミング値を判断する判断工程と、前記転送タイミング値を格納する工程と、
前記転送タイミング値に基づき、前記各スレーブデバイスへのデータの転送を制御する工程と、を含むバス制御装置の制御方法。
(Supplementary Note 9) A method for controlling a bus control device including a data communication unit that communicates with one or more slave devices via a serial bus capable of hot swapping, to the serial bus of each slave device A determination step of determining a transfer timing value for each of the slave devices based on the connection state, and a step of storing the transfer timing value;
Controlling the transfer of data to each of the slave devices based on the transfer timing value.

(付記10)前記判断工程は、1又は2以上のパターンのデータの転送タイミングを試験した後に、前記転送タイミング値を判断するバス制御装置の制御方法。   (Additional remark 10) The said determination process is a control method of the bus control apparatus which determines the said transfer timing value, after testing the transfer timing of the data of 1 or 2 or more patterns.

(付記11)前記判断工程は、1又は2以上のパターンのデータの転送タイミングを試験した後に、セットアップタイム、及びホールドタイムに対する動作マージンに基づき、前記転送タイミング値を判断するバス制御装置の制御方法。   (Additional remark 11) The said determination process is a control method of the bus control apparatus which determines the said transfer timing value based on the operation margin with respect to a setup time and a hold time, after testing the transfer timing of the data of 1 or 2 or more patterns .

(付記12)前記判断工程は、前記各スレーブデバイスの接続状態の変更に伴い、前記転送タイミング値を更新するバス制御装置の制御方法。   (Additional remark 12) The said determination process is a control method of the bus control apparatus which updates the said transfer timing value with the change of the connection state of each said slave device.

(付記13)前記判断工程は、定期的に前記各スレーブデバイスと通信し、前記各スレーブデバイスの前記シリアルバスへの接続状態の変更を検出するバス制御装置の制御方法。   (Additional remark 13) The said determination process is a control method of the bus controller which communicates with each said slave device regularly, and detects the change of the connection state to the said serial bus of each said slave device.

(付記14)前記各スレーブデバイスのホットスワップを検出する工程をさらに含むバス制御装置の制御方法。   (Additional remark 14) The control method of the bus control apparatus further including the process of detecting the hot swap of each said slave device.

(付記15)ホットスワップが可能であるシリアルバスを介して、1又は2以上のスレーブデバイスと通信するデータ通信部を備えるバス制御装置を制御するコンピュータに対して、前記各スレーブデバイスの前記シリアルバスへの接続状態に基づき、前記各スレーブデバイスに対する転送タイミング値を判断する判断処理と、前記転送タイミング値を格納する処理と、前記転送タイミング値に基づき、前記各スレーブデバイスへのデータの転送を制御する処理と、を実行させるプログラム。   (Supplementary Note 15) The serial bus of each slave device to a computer that controls a bus control device including a data communication unit that communicates with one or more slave devices via a serial bus capable of hot swapping A determination process for determining a transfer timing value for each slave device based on a connection state to the slave, a process for storing the transfer timing value, and a control of data transfer to each slave device based on the transfer timing value And a program for executing the process.

(付記16)前記判断処理は、1又は2以上のパターンのデータの転送タイミングを試験した後に、前記転送タイミング値を判断するプログラム。   (Supplementary Note 16) The determination process is a program for determining the transfer timing value after testing the transfer timing of data of one or more patterns.

(付記17)前記判断処理は、1又は2以上のパターンのデータの転送タイミングを試験した後に、セットアップタイム、及びホールドタイムに対する動作マージンに基づき、前記転送タイミング値を判断するプログラム。   (Additional remark 17) The said judgment process is a program which judges the said transfer timing value based on the operation margin with respect to a setup time and a hold time after testing the transfer timing of the data of 1 or 2 or more patterns.

(付記18)前記判断処理は、前記各スレーブデバイスの前記シリアルバスへの接続状態の変更に伴い、前記転送タイミング値を更新するプログラム。   (Additional remark 18) The said determination process is a program which updates the said transfer timing value with the change of the connection state to the said serial bus of each said slave device.

(付記19)前記判断処理は、定期的に前記各スレーブデバイスと通信し、前記各スレーブデバイスの前記シリアルバスへの接続状態の変更を検出するプログラム。   (Additional remark 19) The said determination process is a program which communicates with each said slave device regularly and detects the change of the connection state to the said serial bus of each said slave device.

(付記20)前記各スレーブデバイスのホットスワップを検出する処理をさらに含むプログラム。   (Additional remark 20) The program which further contains the process which detects the hot swap of each said slave device.

なお、引用した上記の特許文献の開示は、本書に引用をもって繰り込むものとする。本発明の全開示(請求の範囲を含む)の枠内において、さらにその基本的技術思想に基づいて、実施形態ないし実施例の変更・調整が可能である。また、本発明の請求の範囲の枠内において種々の開示要素(各請求項の各要素、各実施形態ないし実施例の各要素、各図面の各要素等を含む)の多様な組み合わせ、ないし、選択が可能である。すなわち、本発明は、請求の範囲を含む全開示、技術的思想にしたがって当業者であればなし得るであろう各種変形、修正を含むことは勿論である。   The disclosure of the cited patent document is incorporated herein by reference. Within the scope of the entire disclosure (including claims) of the present invention, the embodiments and examples can be changed and adjusted based on the basic technical concept. Various disclosed elements (including each element of each claim, each element of each embodiment or example, each element of each drawing, etc.) within the scope of the claims of the present invention, Selection is possible. That is, the present invention of course includes various variations and modifications that could be made by those skilled in the art according to the entire disclosure including the claims and the technical idea.

1 バス制御装置
2 シリアルバス
3 スレーブデバイス
4 コンピュータシステム
5 スレーブノード
10 データ通信部
11 転送タイミング判断部
12 転送タイミング格納部
13 転送タイミング制御部
14 データ通信制御部
15 転送タイミングテーブル
16 ホットスワップ検出部
110 転送タイミング値
111 トレーニング用タイミング集合
112 トレーニング用タイミング値
113 トレーニング状態値
114 接続状態値
115 スレーブデバイス識別子
DESCRIPTION OF SYMBOLS 1 Bus control apparatus 2 Serial bus 3 Slave device 4 Computer system 5 Slave node 10 Data communication part 11 Transfer timing judgment part 12 Transfer timing storage part 13 Transfer timing control part 14 Data communication control part 15 Transfer timing table 16 Hot swap detection part 110 Transfer timing value 111 Timing set for training 112 Timing value for training 113 Training state value 114 Connection state value 115 Slave device identifier

Claims (9)

ホットスワップが可能であるシリアルバスを介して、1又は2以上のスレーブデバイスと通信するデータ通信部と、
前記各スレーブデバイスの前記シリアルバスへの接続状態に基づき、前記各スレーブデバイスに対するデータの転送タイミング値を判断する転送タイミング判断部と、
前記転送タイミング値を格納する転送タイミング格納部と、
前記転送タイミング値に基づき、前記各スレーブデバイスへのデータの転送を制御する転送タイミング制御部と、
を備え、
前記転送タイミング格納部は、前記各スレーブデバイスのアドレスに対して、前記転送タイミング値を対応付けて格納することを特徴とするバス制御装置。
A data communication unit that communicates with one or more slave devices via a hot-swappable serial bus;
Based on the connection state of each slave device to the serial bus, a transfer timing determination unit that determines a data transfer timing value for each slave device;
A transfer timing storage unit for storing the transfer timing value;
Based on the transfer timing value, a transfer timing control unit that controls transfer of data to the slave devices,
With
The bus control device, wherein the transfer timing storage unit stores the transfer timing value in association with the address of each slave device.
前記転送タイミング値は、データを転送する場合のセットアップタイム、及びホールドタイムを表す情報である請求項1に記載のバス制御装置。 The bus control device according to claim 1, wherein the transfer timing value is information indicating a setup time and a hold time when data is transferred. 前記転送タイミング判断部は、1又は2以上のパターンのデータの転送タイミングを試験した後に、前記転送タイミング値を判断する請求項1又は2記載のバス制御装置。 The transfer timing determining unit is 1 or after testing the transfer timing of data of two or more patterns, the bus control device according to claim 1 or 2, wherein determining the transfer timing value. 前記転送タイミング判断部は、1又は2以上のパターンのデータの転送タイミングを試験した後に、セットアップタイム、及びホールドタイムに対する動作マージンに基づき、前記転送タイミング値を判断する請求項1乃至のいずれか一に記載のバス制御装置。 The transfer timing determination unit, after testing the transfer timing of data of one or more patterns, set-up time, and based on the operation margin for a hold time, any one of claims 1 to 3 to determine the transfer timing values The bus control device according to one. 前記転送タイミング判断部は、前記各スレーブデバイスの前記シリアルバスへの接続状態の変更に伴い、前記転送タイミング値を更新する請求項1乃至のいずれか一に記載のバス制御装置。 The transfer timing determination unit, wherein with the change of the status of the connection to the serial bus of the slave device, the bus control device according to any one of claims 1 to 4 updates the transfer timing value. 前記転送タイミング判断部は、定期的に前記各スレーブデバイスと通信し、前記各スレーブデバイスの前記シリアルバスへの接続状態の変更を検出する請求項1乃至のいずれか一に記載のバス制御装置。 The transfer timing determining unit communicates with regularly each slave device, the bus control device according to any one of claims 1 to 5 for detecting a change in the connection state to the serial bus of each slave device . 前記各スレーブデバイスのホットスワップを検出するホットスワップ検出部をさらに備える請求項1乃至のいずれか一に記載のバス制御装置。 Bus control apparatus according to any one of claims 1 to 6 further comprising a hot-swap detecting section for detecting a hot swap of the respective slave device. ホットスワップが可能であるシリアルバスを介して、1又は2以上のスレーブデバイスと通信するデータ通信部を備えるバス制御装置の制御方法であって、
前記各スレーブデバイスの前記シリアルバスへの接続状態に基づき、前記各スレーブデバイスに対する転送タイミング値を判断する判断工程と、
前記転送タイミング値を格納する工程と、
前記転送タイミング値に基づき、前記各スレーブデバイスへのデータの転送を制御する工程と、
を含み、
前記転送タイミング値を格納する工程において、前記各スレーブデバイスのアドレスに対して、前記転送タイミング値を対応付けて格納することを特徴とするバス制御装置の制御方法。
A control method of a bus control device including a data communication unit that communicates with one or more slave devices via a serial bus that is hot-swappable,
A determination step of determining a transfer timing value for each slave device based on a connection state of each slave device to the serial bus;
Storing the transfer timing value;
Controlling the transfer of data to each of the slave devices based on the transfer timing value;
Including
In the step of storing the transfer timing value, the transfer timing value is stored in association with the address of each slave device.
ホットスワップが可能であるシリアルバスを介して、1又は2以上のスレーブデバイスと通信するデータ通信部を備えるバス制御装置を制御するコンピュータに対して、
前記各スレーブデバイスの前記シリアルバスへの接続状態に基づき、前記各スレーブデバイスに対する転送タイミング値を判断する判断処理と、
前記転送タイミング値を格納する処理と、
前記転送タイミング値に基づき、前記各スレーブデバイスへのデータの転送を制御する処理と、
を実行させ、
前記転送タイミング値を格納する処理において、前記各スレーブデバイスのアドレスに対して、前記転送タイミング値を対応付けて格納することを特徴とするプログラム。
For a computer that controls a bus control device that includes a data communication unit that communicates with one or more slave devices via a serial bus that is hot swappable.
Based on the connection state of each slave device to the serial bus, a determination process for determining a transfer timing value for each slave device;
Processing for storing the transfer timing value;
A process for controlling the transfer of data to each of the slave devices based on the transfer timing value;
And execute
In the process of storing the transfer timing value, the program stores the transfer timing value in association with the address of each slave device.
JP2012017955A 2012-01-31 2012-01-31 BUS CONTROL DEVICE, ITS CONTROL METHOD, AND PROGRAM Active JP6008380B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012017955A JP6008380B2 (en) 2012-01-31 2012-01-31 BUS CONTROL DEVICE, ITS CONTROL METHOD, AND PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012017955A JP6008380B2 (en) 2012-01-31 2012-01-31 BUS CONTROL DEVICE, ITS CONTROL METHOD, AND PROGRAM

Publications (2)

Publication Number Publication Date
JP2013156890A JP2013156890A (en) 2013-08-15
JP6008380B2 true JP6008380B2 (en) 2016-10-19

Family

ID=49051991

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012017955A Active JP6008380B2 (en) 2012-01-31 2012-01-31 BUS CONTROL DEVICE, ITS CONTROL METHOD, AND PROGRAM

Country Status (1)

Country Link
JP (1) JP6008380B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7255777B2 (en) * 2019-12-16 2023-04-11 島津システムソリューションズ株式会社 data processor

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09198324A (en) * 1996-01-17 1997-07-31 Canon Inc Data transfer controller and interface control method
KR100822798B1 (en) * 2006-01-16 2008-04-17 삼성전자주식회사 Usb device and data processing system having usb device

Also Published As

Publication number Publication date
JP2013156890A (en) 2013-08-15

Similar Documents

Publication Publication Date Title
US9098642B2 (en) Dual bus standard switching bus controller
KR101570175B1 (en) Pcie switch-based server system, switching method and device
CN109391655B (en) Service gray level publishing method, device and system and storage medium
CN103561172B (en) Method and system for supporting multiple WIFI modules in Android system
US8804008B2 (en) Data processing apparatus and method of controlling same
CN102636987B (en) Dual control device
CN108345562B (en) Multi-path server and signal processing method thereof
CN105988844A (en) Control module of endpoint server and firmware update method thereof
JP6008380B2 (en) BUS CONTROL DEVICE, ITS CONTROL METHOD, AND PROGRAM
CN103106113A (en) Interrupt event processing method and processing equipment
CN109038727B (en) Charging control method and device, storage medium and wireless charging base
CN105808492A (en) Information processing method and serial peripheral interface main controller
JP6434630B2 (en) USB OTG device identification system and apparatus
JP5235562B2 (en) Communication system, control device, and control target device
JP2017045199A5 (en) Information processing device
CN102622274A (en) Computer device and interrupt task allocation method thereof
CN105392083B (en) A kind of MPP speakers switching method and access controller
CN109557453B (en) Multi-master-control-chip identification processing method and system
KR20150061348A (en) Method and Apparatus for setting up device address for I2C communication
JP4432975B2 (en) Packet communication device, packet communication method, and packet communication program
CN104809012A (en) Software writing method and system
CN104216857A (en) Multiplexing switching device and method
CN104899164A (en) Address addressing method for integrated circuit bus and integrated circuit bus equipment and system
CN110046120B (en) Data processing method, device and system based on IIC protocol and storage medium
KR101615577B1 (en) Method and apparatus for processing cluster in cluster system, and system

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20140725

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20141203

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150831

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150915

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151116

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20160426

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160719

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20160801

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: 20160816

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160908

R150 Certificate of patent or registration of utility model

Ref document number: 6008380

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150