JP5683142B2 - Information processing apparatus or information processing method - Google Patents
Information processing apparatus or information processing method Download PDFInfo
- Publication number
- JP5683142B2 JP5683142B2 JP2010139963A JP2010139963A JP5683142B2 JP 5683142 B2 JP5683142 B2 JP 5683142B2 JP 2010139963 A JP2010139963 A JP 2010139963A JP 2010139963 A JP2010139963 A JP 2010139963A JP 5683142 B2 JP5683142 B2 JP 5683142B2
- Authority
- JP
- Japan
- Prior art keywords
- synchronization signal
- communication
- information processing
- host
- external device
- 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
Links
Images
Description
本発明は、情報処理装置、又はその情報処理装置を用いた情報処理方法に関する。 The present invention relates to an information processing apparatus or an information processing method using the information processing apparatus.
PCI(Peripheral Component Interconnect)−Expressなどの高速伝送技術を用いて複数の装置間を接続する構成では、接続するポート間で異なる基準クロックを用いると正常な通信ができないことがある。特にEMI(電磁妨害:Electro Magnetic Interference)対策としてSpread spectrum clock(スペクトラム拡散クロック:以下、SSCと称す)を適用した基準クロックで動作させる場合、互いの周波数変動により生ずる周波数偏差が大きくなるために装置間接続は困難であった。そのため、シリアル通信部にはSSCを適用せずに、それ以外の部分だけにSSCを適用する構成(特許文献1)、あるいは、固定のクロック供給元から各ポートに同一の基準クロックを供給する構成(特許文献2)などが用いられている。 In a configuration in which a plurality of devices are connected using a high-speed transmission technology such as PCI (Peripheral Component Interconnect) -Express, normal communication may not be performed if different reference clocks are used between the connected ports. In particular, when operating with a reference clock to which a spread spectrum clock (hereinafter referred to as SSC) is applied as a measure against EMI (Electro Magnetic Interference), the frequency deviation caused by mutual frequency fluctuations increases. Connection between them was difficult. Therefore, a configuration in which SSC is not applied to the serial communication unit and SSC is applied only to other portions (Patent Document 1), or a configuration in which the same reference clock is supplied to each port from a fixed clock supply source. (Patent Document 2) and the like are used.
しかしながら、特許文献1のように装置がそれぞれ別の基準クロックを用いている場合、一方の装置の基準クロックが変動すると通信障害が発生することがある。また、特許文献2のように常に外部の装置から共通の基準クロックを受信して動作するような構成であると外部の装置の動作を休止させると、常に基準クロックを供給される装置においては基準クロックの供給を受けられず外部の装置との通信以外の動作に不都合が生じる。 However, when the devices use different reference clocks as in Patent Document 1, a communication failure may occur if the reference clock of one device fluctuates. Further, as in Patent Document 2, if the configuration is such that a common reference clock is always received from an external device and is operated, when the operation of the external device is suspended, the reference clock is always supplied to the device that is supplied with the reference clock. Inability to receive the clock supply causes inconvenience in operations other than communication with an external device.
上記課題を解決するため、本発明に係る情報処理装置は、スペクトラム拡散処理を施した第1同期信号を生成する外部装置から前記第1同期信号を受信して、前記外部装置と通信する情報処理装置であって、所定の周波数変動範囲でスペクトラム拡散処理を施した第2同期信号を生成する生成手段と、前記外部装置から前記第1同期信号の周波数変動範囲を示す情報を受信する第1通信手段と、前記第1同期信号と前記第2同期信号の周波数変動範囲に基づいて1つの同期信号を選択する制御手段と、前記制御手段の選択した同期信号に基づいて前記外部装置と通信する第2通信手段とを有することを特徴とする。 In order to solve the above-described problem, an information processing apparatus according to the present invention receives the first synchronization signal from an external apparatus that generates a first synchronization signal subjected to spread spectrum processing, and communicates with the external apparatus. an apparatus, first receiving and generating means for generating a second synchronization signal after the spread spectrum processing, information indicating a frequency variation range of the first synchronizing signal from said external device at a predetermined frequency variation range and communication means, the first synchronization signal and before Symbol second control means for selecting one of the synchronization signals based on the frequency fluctuation range of the synchronizing signal, the external device based on the selected synchronization signal of the control means and having a second the communication means for communicating with.
本発明は、情報処理装置と外部装置の夫々が異なる周波数変動範囲を有する同期信号で動作する場合であっても、同期信号(基準クロック)の周波数偏差に起因するホスト間接続の不具合を抑制することができる。 The present invention suppresses a host-to-host connection failure caused by a frequency deviation of a synchronization signal (reference clock) even when the information processing apparatus and the external apparatus operate with synchronization signals having different frequency fluctuation ranges. be able to.
<実施形態1>
まず、本発明の一実施形態である実施形態1の通信システムの全体概要を説明する。
<Embodiment 1>
First, an overall outline of the communication system according to the first embodiment which is an embodiment of the present invention will be described.
図1は、本発明のデータ通信システムを構成する複数の情報処理装置(以下、ホストと称す)間の接続を示すブロック図である。ホスト110およびホスト120は高速シリアルインターフェースにて接続されており、本実施形態では高速シリアルインターフェースとしてPCI−Expressリンク130を適用してホスト間のデータ通信を行なう。なお、PCI−Expressはスペクトラム拡散処理が施されているクロックを用いて通信可能な入出力インターフェースの一種である。
FIG. 1 is a block diagram showing connections between a plurality of information processing apparatuses (hereinafter referred to as hosts) constituting the data communication system of the present invention. The
図2は、それぞれのホストの内部構成を示すブロック図である。CPU111(又は121)は、ホスト110(又は120)のシステム全体を制御し、ルートコンプレックス112(又は122)を介してPCI−Expressリンクで接続される各デバイスとのデータ通信を行なう。PCI−Expressデバイスであるスイッチデバイス113(又は123)とエンドポイントデバイス114(又は124)は、ルートコンプレックス112(又は122)を最上位とするPCI−Express階層(ルートコンプレックスを根幹とするツリー構造)を構成することが可能である。なお、エンドポイントデバイス114(又は124)は複数あってもよいし、複数のスイッチデバイスが複数の層に多重に存在してもよい。 FIG. 2 is a block diagram showing an internal configuration of each host. The CPU 111 (or 121) controls the entire system of the host 110 (or 120), and performs data communication with each device connected by a PCI-Express link via the root complex 112 (or 122). The switch device 113 (or 123) and the endpoint device 114 (or 124), which are PCI-Express devices, have a PCI-Express hierarchy (a tree structure based on the root complex) with the root complex 112 (or 122) as the highest level. Can be configured. Note that there may be a plurality of endpoint devices 114 (or 124), and a plurality of switch devices may exist in a plurality of layers.
ルートコンプレックス112(又は122)は、ブリッジとして機能するスイッチデバイス113(又は123)を介して階層の下位に位置するエンドポイントデバイス114(又は124)との通信を行なう。スイッチデバイス113(又は123)は、エンドポイントデバイス114(又は124)とは別の外部デバイスを接続するためのポートを備え、外部ホストとの間でPCI−Expressリンク130による接続が可能な構成となっている。(すなわち、ルートコンプレックス112は、ホスト間接続130を確立した後は、スイッチデバイス113、123を介してエンドポイントデバイス124との通信も可能である。)
The root complex 112 (or 122) communicates with the endpoint device 114 (or 124) located at a lower level of the hierarchy via the switch device 113 (or 123) functioning as a bridge. The switch device 113 (or 123) includes a port for connecting an external device different from the endpoint device 114 (or 124), and can be connected to the external host via the PCI-Express
SSC生成部115(又は125)は、PCI−Expressデバイスに供給する基準クロックを生成するとともに、この基準クロックにSSC(スペクトラム拡散)を適用し、SSCを施したクロック(以下、SSCクロックと称す)を出力する。また、SSC制御信号116(又は126)は、CPU110(又は120)からの信号であって、SSC生成部115のSSC適用の有無やSSCを施す際のパラメータ(周波数変動範囲など)を設定する信号である。
The SSC generation unit 115 (or 125) generates a reference clock to be supplied to the PCI-Express device, applies SSC (spread spectrum) to the reference clock, and applies a SSC (hereinafter referred to as an SSC clock). Is output. Further, the SSC control signal 116 (or 126) is a signal from the CPU 110 (or 120), and is a signal for setting the presence / absence of SSC application of the
SSC生成部115から出力されるSSCクロック118は、ホスト110内部および外部ホスト120に対して供給される。SSC生成部125から出力されるSSCクロック128は、ホスト120に対して供給される。クロック切替部127は、SSC生成部115から出力されるSSCクロック118と、ホスト120より供給されるクロック128とのどちらか一方を選択して基準クロック129を出力する。ホスト110ではSSC生成部115から出力されるSSCクロック118がそのまま基準クロック119としてホスト110の内部のPCI−Expressデバイスに供給され、これらのデバイスは基準クロック119に基づいて動作する。
The
上述のように、ホスト110とホスト120はそれぞれのクロック生成部(図中、SSC生成部115、125)で生成した基準クロックを自身のPCI−Expressデバイスに供給することが可能な構成になっている。ここで、ホスト120は更にホスト110から供給される別の基準クロックをSSC生成部125で生成した基準クロックの代わりに自身の各PCI−Expressデバイスに供給可能な構成を備えている。
As described above, the
図3は、上述の構成を成すデータ通信システムの処理を説明するフローチャートである。ここでは、ホスト110とホスト120とを接続しようとする場合に、ホスト110からクロック供給を受けて各PCI−Expressデバイス間のリンクの再接続を実行するホスト120の動作を説明する。また、ホスト間接続が検出されるまでの状態(第1通信状態)において、ホスト110とホスト120は、各々のホストの内部で生成される基準クロックを用いて各PCI−Expressデバイス間のリンク接続を維持する(第1接続状態)が、その動作はPCI−Expressなどの規定に基づく標準的な手順によるため説明を省略する。
FIG. 3 is a flowchart for explaining processing of the data communication system having the above-described configuration. Here, when the
まず、ステップS301でホスト120のスイッチデバイス123は外部ホストであるホスト110との接続を検出すると、ステップS302に遷移する。そして、ステップS302でルートコンプレックス122はホスト120側で基準クロックの切り替えが必要だと判断したら、ステップS303でルートコンプレックス122はホスト120の各PCI−Expressデバイス間のリンクを切断する。(この時、ホスト110側のPCI−Expressデバイス間のリンクは切断されない。)さらに、ステップS304でクロック切替部127がホスト110からの基準クロックの供給を受けると、クロック切替部127は各PCI−Expressデバイスに供給するクロック128(第1同期信号)をホスト110からの基準クロック118(第2同期信号)に切り替える。ステップS305で、ルートコンプレックス122はホスト110から供給される基準クロック(外部クロック)を検出した場合、ステップS306に遷移する。そして、ステップS306でホスト120がホスト110と接続可能な状態に至ると、ステップS307でルートコンプレックス122が各PCI−Expressデバイス間のリンクの再接続処理を実行して、基準クロック118に基づいてスイッチデバイス123と各デバイス(ホスト110含む)を接続した状態(第2接続状態)にすることでホスト間接続130を確立する(第2通信状態)。
First, in step S301, when the
なお、本実施形態では予めクロックを切り替える必要のあるホストにクロック切替部が設けられているものとする。例えば、一方のホストの変動範囲(変調範囲に相当する)が他方のホストの基準クロックの周波数の変動範囲に含まれる場合は、他方のホストに予めクロックをクロック切替部を設ける。すなわち、外部から受信する同期信号の変動範囲が自身で生成する同期信号の変動範囲より小さい装置はクロックを切り替える必要のあるホストとしてクロック切替部を設ける。 In this embodiment, it is assumed that a clock switching unit is provided in a host that needs to switch clocks in advance. For example, when the variation range (corresponding to the modulation range) of one host is included in the variation range of the frequency of the reference clock of the other host, a clock switching unit is provided in advance for the other host. That is, a device for which the fluctuation range of the synchronization signal received from the outside is smaller than the fluctuation range of the synchronization signal generated by itself is provided with a clock switching unit as a host that needs to switch the clock.
以上、実施形態1によれば、異なる基準クロックによる周波数偏差に起因するホスト間接続の不具合を抑制しつつ、高速シリアルインターフェースによるホスト間接続を行なうことができる。さらに、クロックを切り替える必要のないホスト側ではPCI−Expressのリンク接続が維持したまま、接続先を拡張できる。 As described above, according to the first embodiment, it is possible to perform the host-to-host connection using the high-speed serial interface while suppressing the problem of the host-to-host connection caused by the frequency deviation caused by different reference clocks. Further, on the host side where there is no need to switch the clock, the connection destination can be expanded while maintaining the PCI-Express link connection.
<実施形態2>
次に本発明の実施形態2を説明する。図4は、実施形態2における各ホストの内部構成を示すブロック図である。なお、既に説明した図2の要素と構成的に変わらないものについては同一符号を付すとともに、構成的、機能的に変わらなければその説明を省略する。
<Embodiment 2>
Next, a second embodiment of the present invention will be described. FIG. 4 is a block diagram illustrating an internal configuration of each host according to the second embodiment. 2 that are not structurally different from the elements of FIG. 2 already described are given the same reference numerals, and are not described unless they are structurally and functionally different.
本実施形態では複数のホストがクロック切替部(117、127)を夫々有し、各ホストが自身のクロック切替部(117、127)でクロックを切り替えることが可能な構成になっている。そして、ホスト110が備える通信部401と、ホスト120が備える通信部402は、PCI−Expressリンク130(第1通信手段)以外の第2のホスト間接続403(第2通信手段)によってデータを交換することが可能である。
In this embodiment, a plurality of hosts have clock switching units (117, 127), respectively, and each host can switch clocks with its own clock switching unit (117, 127). The
このホスト間接続403は、UART(Universal Synchronous Asynchronous Receiver Transmitter)などを用いた調歩同期式シリアル通信を適用する。ホスト間接続403による通信はデータを送受信する度に、固定長データの前にスタートビットを、データの後ろにストップビットを夫々付与し、データそのものに同期用の信号を付加することで同期用の信号線を必要としない。従って、ホスト間接続403は、PCI−Expressリンクが接続状態でない場合であっても互いに情報のやりとりが可能である。一方、ホスト間接続403による通信は同期用の信号をデータに付加し、データ長も長くすることが困難であるため、同期用の信号の分だけトラフィックが余分に生じる。従って、PCI−Expressなどの同期用にクロック信号などの同期信号を用いる方式に比べて通信効率が劣る。
This
図5は、実施形態2のデータ通信システムの処理を示すフローチャートである。ホスト110とホスト120とが接続されていない状態では、実施形態1において説明したように、ホスト110とホスト120は各々で生成される基準クロックを用いて各PCI−Expressデバイス間のリンク接続を動作させている。
FIG. 5 is a flowchart illustrating processing of the data communication system according to the second embodiment. In the state where the
まず、ステップS501でホスト120のスイッチデバイス123は、外部ホストであるホスト110との接続を検出すると、ステップS502でCPU121がホスト間接続403による通信を開始するために通信部402を起動させて初期設定を行なう。ステップS503で通信部402による通信準備が整うと、各々のホストのCPU111、121は夫々の通信部401、402を介して、ステップS504で自身のPCI−Expressデバイスに対して適用可能な基準クロックに関するパラメータ(適用可能なクロック周波数の範囲、SSC機能の有無など)を駆動情報として接続先のホストに通知する。そして、ステップS505においてCPU111、121は外部のホストから受信した駆動情報に基づいて外部ホストとの通信に用いる基準クロックの選定を行なう。(選定の基準については後述する。)
基準クロックが選定された後は、図3のステップS303〜S307に至る手順と同様に基準クロックの切り替え処理を実行し、各々のホストは同一の基準クロックで動作する形態に移行する。
First, in step S501, when the
After the reference clock is selected, the reference clock switching process is executed in the same manner as the procedure from step S303 to S307 in FIG. 3, and each host shifts to a mode in which it operates with the same reference clock.
ここで、各ホストについて各PCI−Expressデバイスに対して適用可能なクロック周波数の範囲とは、SSCを適用した基準クロックの周波数の変動範囲(変調範囲に相当する)を示す。例えば、ホスト間接続を確立する前の状態において、ホスト120の内部の各PCI−Expressデバイスに対して適用している基準クロックの周波数の変動範囲がホスト110の周波数の変動範囲より狭い場合には、ホスト110から供給される基準クロックをホスト120が用いると動作不良が生じる可能性がある。そこで、上述のステップS505において、他のホストの基準クロックの変動範囲に包含される変動範囲の基準クロック(を有するホスト)を選定するようにしている。
Here, the range of the clock frequency applicable to each PCI-Express device for each host indicates the frequency fluctuation range (corresponding to the modulation range) of the reference clock to which SSC is applied. For example, in the state before the connection between the hosts is established, when the frequency variation range of the reference clock applied to each PCI-Express device in the
なお、PCI−Expressの規格(Base1.1)上では100MHzを基準として、基準から+0%〜―0.5%(基準を100%とすると99.5%〜100.0%に相当する)の範囲(ダウンスプレッド)で変調が可能な様に規定されている。例えば、ホスト120の基準クロックの変調範囲が+0%〜―0.40%、ホスト110の基準クロックの変調範囲が+0%〜―0.45%となっている場合は、ホスト120の基準クロックであればホスト110の各デバイスも適用範囲内であるので支障が少ないと考えられる。従ってこの場合においては、ステップS505でホスト110のCPU111がホスト120の基準クロックを選定し、以降のステップでクロック切替部117が基準クロックを切り替える。(実際にはホスト120以外のホストのクロック切替部を切り替えてホスト120の基準クロックを用いるようにする。)
なお、周波数の変動範囲が同等である場合を考慮して、夫々のホストのIDや優先順位などに基づいて一義的にいずれかのホストのクロックを基準クロックとして用いるかが決定されるように予め設定してもよい。その場合、夫々のホストのIDや優先順位などの情報も通信部401、402で交換できるようにすればよい。
The PCI-Express standard (Base 1.1) is based on 100 MHz and is + 0% to -0.5% from the standard (corresponding to 99.5% to 100.0% when the standard is 100%). It is defined so that modulation is possible in the range (down spread). For example, when the modulation range of the reference clock of the
In consideration of the case where the frequency variation ranges are the same, it is determined in advance so that which host clock is used as the reference clock is uniquely determined based on the ID or priority of each host. It may be set. In that case, information such as IDs and priority orders of the respective hosts may be exchanged by the
このように、夫々のホストが互いの動作条件を照合し、基準クロックの供給元を選定した上で、基準クロックの切替を実施する。また、各々のホストに内蔵するSSC生成部は、SSC制御信号に基づいてSSCの適用の有無や周波数変動レベルを調整可能であり、各々のホストが異なる基準クロックで動作する形態の場合とは異なった基準クロック(第3同期信号)を生成し供給することも可能である。例えば、各ホストの周波数の変動範囲が夫々異なり、包含関係にもない場合は、各ホストの周波数の変動範囲のうち共通する変動範囲の周波数を生成し、各ホストでこの共通する変動範囲の周波数を用いるようにすればよい。 In this way, the respective hosts check each other's operating conditions, select the reference clock supply source, and then switch the reference clock. In addition, the SSC generator built in each host can adjust the presence / absence of SSC and the frequency fluctuation level based on the SSC control signal, which is different from the case where each host operates with a different reference clock. It is also possible to generate and supply a reference clock (third synchronization signal). For example, if the frequency variation range of each host is different and is not in an inclusive relationship, a frequency in the common variation range of the frequency variation range of each host is generated, and the frequency in this common variation range is created in each host. May be used.
図6は、実施形態2のデータ通信システムにおいて、ホスト間の接続を切断し再び各々のホストが自身の基準クロックで動作する形態に移行する場合の処理を示すフローチャートである。以下、ホスト110がホスト120からの切断要求を受けてホスト間接続を切断し、ホスト110が自身の基準クロックでの動作を継続する様子を説明する。
FIG. 6 is a flowchart illustrating processing when the connection between the hosts is disconnected in the data communication system according to the second embodiment and each host again shifts to a mode in which it operates with its own reference clock. The following describes how the
ステップS601で通信部401がホスト間接続403によってホスト120の通信部402から接続の切断を要求する通知を受けると、ステップS602でホスト110のCPU111はクロックの供給状況に応じて基準クロックの切替が必要かを判定する。
In step S601, when the
ステップS603で基準クロックの供給元が自身のSSC生成部115であり、供給しているクロックのままで動作継続が可能な場合(ホスト110、120がSSC生成部115で生成するクロック118で動作している場合)には、CPU111がクロック切り替えは不要と判定し、通信部401を介してCPU111がホスト120に対して接続の切断許可を通知する。一方、基準クロックの供給元がホスト120であった場合には、ステップS604において基準クロックを内蔵のSSC生成部115の出力に切替えるため、ルートコンプレックス112により各PCI−Expressデバイス間のリンクを一旦切断する。リンクの切断が完了しクロックを切り替える準備が整うと、ステップS605において通信部401を介してホスト120に対して接続の切断許可を通知する。
In step S603, when the reference clock is supplied from the
さらに、ステップS606においてCPU111は、内蔵のSSC生成部から供給されるクロックが自身の各PCI−Expressデバイスに基準クロックとして供給されるようにクロック切替部117を制御する。クロック切替部117によりSSC生成部115からの基準クロックの供給が開始され、ステップS607において再接続開始タイミングに至ると、ステップS608においてルートコンプレックス112によって各PCI−Expressデバイス間のリンクの再接続が実行される。
In step S606, the
ルートコンプレックス112によってリンクが再接続されると、ホスト110は内蔵のSSC生成部から供給する基準クロックに基づいて各PCI−Expressデバイスを制御する形態で動作する。そしてステップS609においてSSC生成部115は、ホスト120へのクロック供給を停止させてホスト間接続の切断を完了する。
When the link is reconnected by the
なお、ホストは他のホストに切断要求を通知した後、他のホストから切断許可の通知を受けるまで休止・切り離しに移行できないようにする。 After notifying the disconnection request to the other host, the host is prevented from shifting to the suspension / disconnection until receiving a disconnection permission notification from the other host.
以上、実施形態2によれば、自ホストの稼動状態を保持したまま別のホストとの接続を確立しシステム構成を変更することや、接続されていた別のホストの休止・切り離しに柔軟に対応することが可能となる。 As described above, according to the second embodiment, it is possible to flexibly cope with changing the system configuration by establishing a connection with another host while maintaining the operation state of the own host, and suspending / disconnecting another connected host. It becomes possible to do.
また、特許文献1のようにシリアル通信部にSSCを適用しない方法では、SSCによるEMI対策効果は不十分な場合があるが、本実施形態では通信部にもSSCを適用しているので特許文献1の方法と比べてEMI耐性が向上する。 In addition, in the method in which the SSC is not applied to the serial communication unit as in Patent Document 1, the EMI countermeasure effect by the SSC may be insufficient. However, in this embodiment, the SSC is also applied to the communication unit. The EMI resistance is improved as compared with the first method.
<その他の実施形態>
本実施形態では実施形態2におけるホスト間接続403の代わりにホスト間接続PCI−Expressリンク130にてホスト間の駆動情報の送受を行なう。
<Other embodiments>
In the present embodiment, the host-to-host connection PCI-
以下、図7に基づいて、なお、各構成は前述の実施形態と機能的に変わらないのでその説明を省略し、ホスト間の接続時の動作についてホスト120を主体に説明する。ホスト120のスイッチデバイス123は、外部ホストであるホスト110との接続を検出すると、ルートコンプレックス122が各PCI−Expressデバイス間のリンクを一旦切断する。さらに、CPU121はSSC制御信号116を制御してSSC生成部115からSSCを適用しない基準クロックを生成して内部および外部ホストに対して供給する。なお、本実施形態の構成で、接続検出時に行なわれる情報交換において基準クロックの供給元となるホストは、予めレジスタ(不図示)等に定められているものとする。
In the following, based on FIG. 7, each configuration is not functionally different from that of the above-described embodiment, and thus the description thereof is omitted, and the operation at the time of connection between the hosts will be mainly described by the
ホスト110も同様に各PCI−Expressデバイス間のリンクを一旦切断し、ホスト120から供給される基準クロックに切り替えて内部の各PCI−Expressデバイスのリンクを再接続することで両者はSSCを施さない状態にて共通の基準クロックを得て接続される。このように、SSCを適用しない共通の基準クロックで接続することで、上述した各ホストが周波数の差などの違いにより生ずる通信の不具合を回避し、必要な情報の交換が可能である。
Similarly, the
以降の動作については、実施形態2にて説明したステップS504以降の処理(図3のステップS303〜S307の処理を含む)と同じであり、各々のホストは、内部の各PCI−Expressデバイスに対して適用可能な基準クロックの条件を接続先のホストに通知する。さらに、通知された情報に基づき適正な基準クロックを選定して、選定したクロックに切り替える処理を実行し、各々のホストは同一の基準クロックで動作する形態に移行する。 Subsequent operations are the same as the processing after step S504 described in the second embodiment (including the processing of steps S303 to S307 in FIG. 3), and each host operates with respect to each internal PCI-Express device. To notify the destination host of applicable reference clock conditions. Further, an appropriate reference clock is selected based on the notified information, and a process of switching to the selected clock is executed, and each host shifts to a mode in which it operates with the same reference clock.
また、切断時の制御手順についても、基本的に実施形態2で図6を用いて説明したものと同様であるが、切断要求および切断許可通知に関する情報交換をホスト間接続PCI−Expressリンク130にて行なう点で相違する。各ホストは、各ホストが各々内部で生成する基準クロックに切替えて動作を開始するまでは供給されている基準クロックを維持する必要がある。そのため、切断許可通知が送出されてから一定時間を経てクロックの供給停止を行なうように制御するようにする。
The control procedure at the time of disconnection is basically the same as that described with reference to FIG. 6 in the second embodiment, but information exchange regarding the disconnection request and the disconnection permission notification is made to the inter-host connection PCI-
以上のように、本実施形態では、通信の同期に用いるクロックを変調させる第1通信方式と通信の同期に用いるクロックを変調させない第2通信方式とを切り替えながら、各ホストの情報を取得する。従って、実施形態2に比べ、各デバイスとのリンクの再接続処理が余分に必要になるものの、第2のホスト間接続403なしに実施形態2と同様の効果を得ることが可能である。
As described above, in this embodiment, information on each host is acquired while switching between the first communication method that modulates the clock used for communication synchronization and the second communication method that does not modulate the clock used for communication synchronization. Therefore, compared with the second embodiment, although the reconnection process of the link with each device is necessary, the same effect as the second embodiment can be obtained without the second
本発明は、上述した実施形態に限定されず、PCI−Express以外のクロックに同期する伝送技術を用いて複数の装置間を接続する場合であって、少なくとも一方のデバイスが基準クロックの周波数を変動させる接続方式を用いる場合に、ホスト間の周波数の差に起因する接続不良を抑制できる。また、2つのホストを接続する構成にて説明したが、3以上のホストをそれぞれ接続し連携させる場合であっても同様に上述した問題を解決することは言うまでもない。 The present invention is not limited to the above-described embodiment, and is a case where a plurality of devices are connected using a transmission technique synchronized with a clock other than PCI-Express, and at least one of the devices varies the frequency of the reference clock. In the case of using the connection method, the connection failure due to the frequency difference between the hosts can be suppressed. Further, although the configuration in which two hosts are connected has been described, it goes without saying that the above-described problem can be similarly solved even when three or more hosts are connected and linked.
なお、上述の実施形態ではPCI−Expressを用いて説明しているが、SATA(Serial Advanced Technology Attachment)やSAS(Serial Attached SCSI)、FB−DIMM(Fully Buffered DIMM)などの接続方式を用いても同様の効果を得ることが可能である。 In the above-described embodiment, description is made using PCI-Express, but SATA (Serial Advanced Technology Attachment), SAS (Serial Attached SCSI), FB-DIMM (Fully Buffered DIMM), or the like is used. Similar effects can be obtained.
また、同期信号を生成するSSC生成部は装置外部からクロックを受け周波数を所定の割合で変化させるPLL(Phase Lock Loop)であってもよい。なお、上述の実施形態では詳細に説明していないが、駆動情報は予め通信部のレジスタに設定しておき、必要な場合に外部のホストに出力するようにしてもよい。その際、外部のホストから受信した駆動情報と、自身のホストの駆動情報を比較して基準クロックを供給するホストを選定(同期信号の選択に相当)し、切替部を制御するようにする。また、SSC無しの設定はSSC有りの設定と同等に扱うようにしてもよい。例えば、SSC無しはPCI−Expessの表現であるとダウンスプレッド−0%として扱えばよい。ただ、装置の回路構成自体による周波数の変動(誤差)はSSCの設定については無視するものとする。 The SSC generator that generates the synchronization signal may be a PLL (Phase Lock Loop) that receives a clock from outside the apparatus and changes the frequency at a predetermined rate. Although not described in detail in the above embodiment, the drive information may be set in advance in a register of the communication unit and output to an external host when necessary. At that time, the host that supplies the reference clock is selected by comparing the drive information received from the external host with the drive information of its own host (corresponding to the selection of the synchronization signal), and the switching unit is controlled. The setting without SSC may be handled in the same manner as the setting with SSC. For example, when there is no SSC, the expression of PCI-Express may be handled as down spread of 0%. However, frequency fluctuation (error) due to the circuit configuration itself of the apparatus is ignored for the setting of SSC.
なお、上述の実施形態ではシリアル形式の通信方式について説明しているが、クロックのようなタイミング信号に基づいて通信する方式であればパラレル方式など、他の通信方式であっても本発明を適用して同様の効果を得ることが可能である。 In the above-described embodiment, the serial communication method is described. However, the present invention is applied to other communication methods such as a parallel method as long as the communication method is based on a timing signal such as a clock. Thus, the same effect can be obtained.
なお、上述の実施形態では説明の簡便のため、情報処理装置をホストとしてホスト間の接続を説明しているが、情報処理装置としてはプリンタとプリンタサーバー、プリンタとプリンタ、又はプリンタ内のチップとチップ(例えば、プリンタコントローラとエンジンコントローラ)などでもよい。(ここでプリンタコントローラはプリンタに入るジョブについてスケジューリングなどの制御を実行し、エンジンコントローラはジョブに含まれる画像を描画する。)夫々の情報処理装置が同期信号を生成する場合には、本発明を適用することで同期信号の差による通信障害を抑制することができる。 In the above embodiment, for the sake of simplicity of explanation, the information processing apparatus is used as a host and the connection between the hosts is described. However, the information processing apparatus includes a printer and a printer server, a printer and a printer, or a chip in the printer. A chip (for example, a printer controller and an engine controller) may be used. (Here, the printer controller executes control such as scheduling for a job that enters the printer, and the engine controller draws an image included in the job.) When each information processing apparatus generates a synchronization signal, the present invention is By applying it, it is possible to suppress communication failures due to differences in synchronization signals.
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。 The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed.
Claims (15)
所定の周波数変動範囲でスペクトラム拡散処理を施した第2同期信号を生成する生成手段と、
前記外部装置から前記第1同期信号の周波数変動範囲を示す情報を受信する第1通信手段と、
前記第1同期信号と前記第2同期信号の周波数変動範囲に基づいて1つの同期信号を選択する制御手段と、
前記制御手段の選択した同期信号に基づいて前記外部装置と通信する第2通信手段とを有することを特徴とする情報処理装置。 An information processing device that receives the first synchronization signal from an external device that generates a first synchronization signal subjected to spread spectrum processing, and communicates with the external device,
Generating means for generating a second synchronization signal after the spread spectrum processing at a predetermined frequency fluctuation range,
First communication means for receiving information indicating a frequency variation range of the first synchronization signal from the external device;
Control means for selecting one of the synchronization signals based on the frequency fluctuation range of the first synchronization signal and before Symbol second synchronizing signal,
The information processing apparatus characterized by a second the Communication means for communicating with said external device based on the selected synchronization signal of the control means.
前記制御手段は、前記第3同期信号を選択することを特徴とする請求項1に記載の情報処理装置。The information processing apparatus according to claim 1, wherein the control unit selects the third synchronization signal.
前記制御手段は、前記第1同期信号を選択した場合に、前記第2同期信号に基づいて前記デバイスと前記第2通信手段と通信させる第1通信状態から、前記第1同期信号に基づいて前記デバイスと前記第2通信手段と通信させる第2通信状態へ切り替えるために前記第2同期信号から前記第1同期信号に切り替えることを特徴とする請求項1乃至4の何れか1項に記載の情報処理装置。 Further comprising a device that communicates with the second the Communication unit based on the second synchronization signal,
Wherein, when said first selected the synchronization signal, the second from the first communication state to communicate with the device and the second the Communication means on the basis of the synchronization signal, the first synchronization signal any from the second synchronization signal to switch to the second communication state to communicate with the second the communication unit and the device of claim 1, wherein the switching to the first synchronization signal on the basis of The information processing apparatus according to claim 1 .
前記制御手段は、前記第2同期信号を選択した場合に、前記第2通信手段と前記デバイスと通信させる第1通信状態を維持することを特徴とする請求項1乃至4の何れか1項に記載の情報処理装置。 Further comprising a device in communication with the second the Communication unit based on the second synchronization signal,
Wherein, when selecting the second synchronization signals, any one of claims 1 to 4, characterized in that maintaining the first communication state to communicate with the said second the Communication unit device The information processing apparatus according to item .
第2同期信号を生成する生成手段と、Generating means for generating a second synchronization signal;
前記外部装置が前記第1同期信号に対してスペクトラム拡散処理を施す場合の周波数変動範囲を示す情報を、スペクトラム拡散処理を施していない前記第1同期信号又は前記第2同期信号に基づいて受信する通信手段と、Information indicating a frequency variation range when the external device performs spread spectrum processing on the first synchronization signal is received based on the first synchronization signal or the second synchronization signal not subjected to spread spectrum processing. Communication means;
前記第2同期信号に対してスペクトラム拡散処理を施す場合の周波数変動範囲と前記通信手段の受信した前記第1同期信号の前記周波数変動範囲に基づいて、スペクトラム拡散処理を施す1つの同期信号を選択する制御手段と、を有し、One synchronization signal to be subjected to spread spectrum processing is selected based on a frequency variation range when performing spread spectrum processing on the second synchronization signal and the frequency variation range of the first synchronization signal received by the communication means Control means for
前記通信手段は、前記制御手段によって選択された同期信号に、スペクトラム拡散処理を施した前記同期信号に基づいて前記外部装置と通信することを特徴とする情報処理装置。The information processing apparatus, wherein the communication means communicates with the external device based on the synchronization signal obtained by performing spread spectrum processing on the synchronization signal selected by the control means.
所定の周波数変動範囲でスペクトラム拡散処理を施した第2同期信号を生成する生成工程と、
第1通信手段によって、前記外部装置から前記第1同期信号の周波数変動範囲を示す情報を受信する第1通信工程と、
前記第1同期信号及び前記第2同期信号の周波数変動範囲に基づいて1つの同期信号を選択する制御工程と、
第2通信手段によって、前記制御工程で選択した同期信号に基づいて前記外部装置と通信する第2通信工程と、
を有することを特徴とする情報処理方法。 An information processing method by an information processing apparatus that receives the first synchronization signal from an external apparatus that generates a first synchronization signal subjected to spread spectrum processing and communicates with the external apparatus ,
A generation step of generating a second synchronization signal subjected to spread spectrum processing within a predetermined frequency variation range;
A first communication step of receiving information indicating a frequency variation range of the first synchronization signal from the external device by a first communication means;
And a control step of selecting one of the synchronization signals based on the frequency fluctuation range of the first synchronization signal and before Symbol second synchronizing signal,
By the second communication means, a second communication step of communicating with the front Kigaibu device based on the synchronization signal selected by said control step,
An information processing method characterized by comprising:
第2同期信号を生成する生成工程と、A generating step of generating a second synchronization signal;
前記外部装置が前記1同期信号に対してスペクトラム拡散処理を施す場合の周波数変動範囲を示す情報を、スペクトラム拡散処理を施していない前記第1同期信号又は第2同期信号に基づいて、通信手段によって受信する第1通信工程と、Information indicating a frequency variation range when the external device performs spread spectrum processing on the first synchronization signal is determined by communication means based on the first synchronization signal or the second synchronization signal not subjected to spread spectrum processing. A first communication step for receiving;
前記第2同期信号に対してスペクトラム拡散処理を施す場合の周波数変動範囲と前記通信手段の受信した前記第1同期信号の前記周波数変動範囲に基づいて、スペクトラム拡散処理を施す1つの同期信号を選択する制御工程と、One synchronization signal to be subjected to spread spectrum processing is selected based on a frequency variation range when performing spread spectrum processing on the second synchronization signal and the frequency variation range of the first synchronization signal received by the communication means A control process,
前記制御工程において選択された同期信号に、スペクトラム拡散処理を施した同期信号に基づいて、前記通信手段によって前記外部装置と通信する第2通信工程と、 A second communication step of communicating with the external device by the communication means based on the synchronization signal subjected to spread spectrum processing on the synchronization signal selected in the control step;
を有することを特徴とする情報処理方法。An information processing method characterized by comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010139963A JP5683142B2 (en) | 2010-06-18 | 2010-06-18 | Information processing apparatus or information processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010139963A JP5683142B2 (en) | 2010-06-18 | 2010-06-18 | Information processing apparatus or information processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012003639A JP2012003639A (en) | 2012-01-05 |
JP5683142B2 true JP5683142B2 (en) | 2015-03-11 |
Family
ID=45535514
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010139963A Active JP5683142B2 (en) | 2010-06-18 | 2010-06-18 | Information processing apparatus or information processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5683142B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021189267A1 (en) * | 2020-03-24 | 2021-09-30 | 华为技术有限公司 | Spread spectrum clock negotiation method, and peripheral component interconnect express device and system |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001092311A (en) * | 1999-09-20 | 2001-04-06 | Canon Inc | Copying device, control method of the same, and storage medium storing computer-readable program |
JP2001148690A (en) * | 1999-11-19 | 2001-05-29 | Sony Corp | Clock generator |
JP2001244812A (en) * | 2000-02-29 | 2001-09-07 | Fujitsu Ltd | Method and device for clock switching |
JP2003051831A (en) * | 2001-05-30 | 2003-02-21 | Mitsubishi Electric Corp | Clock synchronism control system |
KR20030039800A (en) * | 2001-11-14 | 2003-05-22 | 주식회사 코어세스 | ISDN Network clock distribution device for ADSL connection |
JP3945287B2 (en) * | 2002-03-28 | 2007-07-18 | 日本電気株式会社 | Data receiving circuit and data receiving method |
JP4328334B2 (en) * | 2006-03-13 | 2009-09-09 | パナソニック株式会社 | Semiconductor integrated circuit device |
JP2008011223A (en) * | 2006-06-29 | 2008-01-17 | Fujitsu Access Ltd | Annular network system and reference clock selecting strategy |
JP4907464B2 (en) * | 2007-08-07 | 2012-03-28 | 株式会社リコー | Electronic circuit device for electronic equipment |
JP5166163B2 (en) * | 2008-08-08 | 2013-03-21 | 株式会社日立製作所 | Wireless base station |
-
2010
- 2010-06-18 JP JP2010139963A patent/JP5683142B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2012003639A (en) | 2012-01-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5597104B2 (en) | Data transfer apparatus and control method thereof | |
KR100603599B1 (en) | Apparatus and Method for Redundancy Control of Redundancy Switch Board | |
US20220311590A1 (en) | Device and computing system including the device | |
US20160055114A1 (en) | High-speed serial ring | |
JP2010244457A (en) | Method and system for control of usb communication, and usb hub apparatus | |
JP5402726B2 (en) | Data communication apparatus, information processing apparatus, data communication method, data communication program, and recording medium | |
KR102033112B1 (en) | Peripheral Component Interconnect Express switch apparatus and method for controlling connection using the same | |
CN109995681B (en) | Device and method for realizing double-master-control main-standby switching by single chip | |
JP2007282246A (en) | Control method of transmission frequency, recording medium, and sata-compatible apparatus | |
JP5683142B2 (en) | Information processing apparatus or information processing method | |
CN103812566A (en) | Ethernet Small Form Pluggable (SFP) electric module and method for realizing isochronous Ethernet | |
US9705823B2 (en) | Port status synchronization method, related device, and system | |
US20040010625A1 (en) | Interface device and method for transferring data over serial ATA | |
US8661106B2 (en) | Method of correction of network synchronisation | |
EP1833183A1 (en) | Timing signal recovery and distribution apparatus and methods | |
KR102518285B1 (en) | PCIe INTERFACE AND INTERFACE SYSTEM | |
KR20200057158A (en) | A receiving apparatus for recovering clock failure and transmission system including the same | |
US11960367B2 (en) | Peripheral component interconnect express device and operating method thereof | |
JP2018050172A (en) | Information processing unit, arithmetic processing unit, and control method of information processing unit | |
JP5625569B2 (en) | Communication unit, communication system, and communication unit control method | |
KR100487561B1 (en) | Apparatus and Therefor Controlling Method for Duplicating Network Block In Synchronous Transmission System | |
White et al. | Data communications issues for power system management | |
JP2023152462A (en) | Communication device, method for controlling communication device, and program | |
JP6434211B2 (en) | COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND PROGRAM | |
CN105812158B (en) | Cross-backboard data processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130612 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20131030 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20131112 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140114 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140624 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140825 |
|
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: 20141216 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20150113 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 5683142 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |