JPH1127338A - Communication device and communication method - Google Patents
Communication device and communication methodInfo
- Publication number
- JPH1127338A JPH1127338A JP9175500A JP17550097A JPH1127338A JP H1127338 A JPH1127338 A JP H1127338A JP 9175500 A JP9175500 A JP 9175500A JP 17550097 A JP17550097 A JP 17550097A JP H1127338 A JPH1127338 A JP H1127338A
- Authority
- JP
- Japan
- Prior art keywords
- port
- communication
- bits
- open command
- ports
- 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.)
- Withdrawn
Links
Landscapes
- Small-Scale Networks (AREA)
- Communication Control (AREA)
Abstract
(57)【要約】
【課題】 多数の通信ポートのオープンを短時間でする
ことにより、伝送効率を向上させる。
【解決手段】 オープンコマンドの1トランスミッショ
ンワード目は、ポートをオープンすることを指令するコ
ードK28.5,D17.4,Dxx.x,D31.7
が配置されており、その2乃至5トランスミッションワ
ード目の128ビットは、ビットマップエリアとされて
いる。即ち、例えば、2トランスミッションワード目の
第31乃至第0ビットは、ポートアドレスが0乃至31
のポートにそれぞれ割り当てられており(対応してお
り)、以下同様にして、ビットマップエリアの各ビット
には、ポートが割り当てられている。以上のようなオー
プンコマンドが、そのビットマップエリアのうちの、オ
ープンするポートに対応するビットだけを1にするとと
もに、残りのビットを0にして送信される。
(57) [Summary] [Problem] To improve transmission efficiency by opening many communication ports in a short time. SOLUTION: A first transmission word of an open command includes a code K28.5, D17.4, Dxx. x, D31.7
Are arranged, and the 128 bits of the second to fifth transmission words are used as a bit map area. That is, for example, the 31st to 0th bits of the second transmission word have port addresses of 0 to 31.
Are assigned to (corresponding to) each port, and in the same manner, a port is assigned to each bit of the bitmap area. The above open command is transmitted by setting only the bit corresponding to the port to be opened in the bitmap area to 1 and setting the remaining bits to 0.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、通信装置および通
信方法に関し、効率的な通信を行うことができるように
する通信装置および通信方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication device and a communication method, and more particularly, to a communication device and a communication method capable of performing efficient communication.
【0002】[0002]
【従来の技術】通信規格の1つとして、例えば、ANS
I(米国規格協会)で開発されたファイバチャネルがあ
る。なお、ファイバチャネルの「ファイバ」は、「fi
bre」と書き、いわゆる光ファイバにおける「fib
er」とは異なる。2. Description of the Related Art As one of communication standards, for example, ANS
There is a Fiber Channel developed by I (American Standards Association). The “fiber” of Fiber Channel is “fi”
bre ”and“ fib ”in a so-called optical fiber.
er ".
【0003】ファイバチャネルによって通信を行う機器
は、ノードと呼ばれ、各ノードは、ポート(通信ポー
ト)を通じてデータの送受信を行う。そして、ファイバ
チャネルでは、ポート間を接続するケーブルは特に限定
されておらず、例えば、光ファイバ(fiber cable)で
あっても、同軸ケーブル(copper cable)であっても、
また、ツイストペアケーブルであってもかまわない。[0003] Devices that perform communication using Fiber Channel are called nodes, and each node transmits and receives data through a port (communication port). In the Fiber Channel, the cable connecting the ports is not particularly limited. For example, even if the cable is a fiber cable or a coaxial cable,
Also, a twisted pair cable may be used.
【0004】さらに、ファイバチャネルは、シリアル通
信方式の1つであるが、他のシリアル通信方式に比較し
て伝送速度が速く、伝送距離も長い。また、最近急速に
発達してきたインターネットで採用されているTCP/
IP(Transmisson ControlProtocol/Internet Protoco
l)などの他、種々のプロトコルをのせることができ、
さらに、機器の接続の拡張性も高いことから、今後種々
の機器間におけるデータ伝送に応用されることが予想さ
れる。Further, Fiber Channel is one of the serial communication systems, but has a higher transmission speed and a longer transmission distance than other serial communication systems. In addition, TCP /
IP (Transmisson Control Protocol / Internet Protocol)
l) Other protocols can be loaded,
Furthermore, since the scalability of the connection of the devices is high, it is expected to be applied to data transmission between various devices in the future.
【0005】ここで、ファイバチャネルでは、現在、伝
送速度として、128Mbps(bit per second),2
56Mbps,512Mbps,1Gbpsが規定され
ており、また、近い将来、2Gpbps,4Gbpsへ
の拡張も予定されている。さらに、伝送距離は、伝送速
度により異なるが、光ファイバについては0.175k
m乃至10km程度が、同軸ケーブルについては10m
乃至100m程度が、ツイストペアケーブルについては
50m乃至100m程度が、それぞれ規定されている。[0005] Here, in Fiber Channel, the transmission speed is currently 128 Mbps (bit per second), 2
56 Mbps, 512 Mbps, and 1 Gbps are specified, and expansion to 2 Gbps and 4 Gbps is planned in the near future. Further, the transmission distance varies depending on the transmission speed.
m to 10km, 10m for coaxial cable
To about 100 m, and about 50 m to 100 m for the twisted pair cable, respectively.
【0006】ファイバチャネルのポートは、データを送
信するトランスミッタと、データを受信するレシーバと
を、それぞれ1つずつ有しており、その接続形態には、
大きく分けて、ポイントツーポイント(point to poin
t)トポロジと、アービトレーテッドループ(arbitrate
d loop)トポロジとがある。[0006] A fiber channel port has one transmitter for transmitting data and one receiver for receiving data.
Broadly speaking, point-to-point
t) Topology and arbitrated loop (arbitrate
d loop) topology.
【0007】ポイントツーポイントトポロジでは、2つ
のポートのみを使用し、一方のトランスミッタと他方の
レシーバ、一方のレシーバと他方のトランスミッタが接
続される。このトポロジでは、2つのポートの伝送速
度、伝送媒体(両者を接続するケーブル)、プロトコル
などが一致している必要がある。In the point-to-point topology, only two ports are used, and one transmitter is connected to the other receiver, and one receiver is connected to the other transmitter. In this topology, it is necessary that the transmission speed, the transmission medium (the cable connecting them), the protocol, and the like of the two ports match.
【0008】アービトレーテッドループトポロジは、3
以上のポートで構成され、あるポートのトランスミッタ
と他のポートのレシーバとが接続され、これにより、い
わばリング状のネットワークが構成される。The arbitrated loop topology has three
The above-mentioned ports are configured, and a transmitter of a certain port and a receiver of another port are connected to each other, thereby forming a ring-shaped network.
【0009】即ち、図6は、4つのポートA乃至Dによ
るアービトレーテッドループトポロジを示しており、こ
こでは、ポートAのトランスミッタとポートBのレシー
バとが、ポートBのトランスミッタとポートCのレシー
バとが、ポートCのトランスミッタとポートDのレシー
バとが、ポートDのトランスミッタとポートAのレシー
バとが、それぞれ接続されている。なお、アービトレー
テッドループトポロジにおいては、いまのところ、12
7までのポートの接続が可能となっている。That is, FIG. 6 shows an arbitrated loop topology with four ports A to D, in which the transmitter of port A and the receiver of port B are replaced by the transmitter of port B and the receiver of port C. The transmitter of port C and the receiver of port D are connected to each other, and the transmitter of port D and the receiver of port A are connected to each other. In the arbitrated loop topology, at present, 12
Up to seven ports can be connected.
【0010】ポイントツーポイントトポロジは2つのポ
ートで構成されるから、データの送受信は、自分以外の
ポートを対象に行えば良いが、アービトレーテッドルー
プトポロジでは、データの送受信は、そのデータの送受
信の対象でないポートを介して行われる場合がある。[0010] Since the point-to-point topology is composed of two ports, data transmission / reception only needs to be performed on ports other than the own port. May be performed through a port that is not the target of the operation.
【0011】即ち、図6において、例えば、ポートAか
らポートCにデータを送信する場合においては、ポート
C宛のデータが、ポートAのトランスミッタからポート
Bのレシーバに送信される。ポートBは、そのレシーバ
において、ポートC宛のデータを受信すると、そのデー
タを、そのまま、そのトランスミッタから、ポートCの
レシーバに送信する。このようにして、ポートCにおい
て、ポートAからの自身宛のデータが受信される。な
お、この場合、ポートBは、そのレシーバで受信したデ
ータをそのままトランスミッタから送信するだけの、い
わゆるリピータとして動作する。That is, in FIG. 6, for example, when data is transmitted from port A to port C, data addressed to port C is transmitted from the transmitter of port A to the receiver of port B. When the port B receives the data addressed to the port C at the receiver, the port B transmits the data as it is from the transmitter to the port C receiver. In this way, the port C receives the data addressed to itself from the port A. In this case, the port B operates as a so-called repeater that simply transmits the data received by the receiver from the transmitter.
【0012】ところで、ファイバチャネルの規格では、
各ポートのトランスミッタのクロックについて、±10
0ppm(parts par million)のジッタ(偏差)が許
容されている。そして、ファイバチャネルでは、このよ
うにトランスミッタのクロックにジッタがあっても、レ
シーバにおいてデータを確実に受信することができるよ
うに、データの受信は、そのデータから得られるクロッ
クに同期して行われる。By the way, in the Fiber Channel standard,
± 10 for transmitter clock of each port
A jitter (deviation) of 0 ppm (parts par million) is allowed. In the Fiber Channel, data reception is performed in synchronization with a clock obtained from the data so that the receiver can reliably receive data even if the transmitter clock has jitter as described above. .
【0013】即ち、あるポートのレシーバは、それと接
続された他のポートのトランスミッタのクロックに同期
して動作する。従って、例えば、図6に示したアービト
レーテッドループトポロジでは、図7に点線で囲んで示
すように、ポートAのトランスミッタとポートBのレシ
ーバとが、ポートBのトランスミッタとポートCのレシ
ーバとが、ポートCのトランスミッタとポートDのレシ
ーバとが、ポートDのトランスミッタとポートAのレシ
ーバとが、それぞれ同一のクロックに同期している。That is, a receiver of a certain port operates in synchronization with a clock of a transmitter of another port connected thereto. Therefore, for example, in the arbitrated loop topology shown in FIG. 6, the transmitter of port A and the receiver of port B are different from the transmitter of port B and the receiver of port C as shown by the dotted line in FIG. , And the transmitter of port C and the receiver of port D are synchronized with the same clock, respectively.
【0014】ここで、以下、適宜、同一ポートを構成す
るトランスミッタまたはレシーバの動作クロックを、そ
れぞれトランスミッタクロックまたはレシーバクロック
という。レシーバクロックは、そのレシーバが接続され
ている他のポートのトランスミッタのトランスミッタク
ロックに等しい。Hereafter, the operation clocks of the transmitter or the receiver constituting the same port are referred to as the transmitter clock or the receiver clock, respectively, as appropriate. The receiver clock is equal to the transmitter clock of the transmitter of the other port to which the receiver is connected.
【0015】[0015]
【発明が解決しようとする課題】上述したように、ある
ポートのレシーバは、それと接続された他のポートのト
ランスミッタのトランスミッタクロックに同期して動作
し、トランスミッタクロックについては、±100pp
mのジッタが許容されているから、あるポートにおい
て、トランスミッタクロックとレシーバクロックとの間
には、最大で、200ppmの偏差がある。As described above, the receiver of a certain port operates in synchronization with the transmitter clock of the transmitter of the other port connected thereto, and the transmitter clock is ± 100 pp.
Because a jitter of m is allowed, there is a maximum of 200 ppm deviation between the transmitter clock and the receiver clock at a given port.
【0016】そして、200ppmの偏差がある2つの
クロックの間には、5000クロックにつき、1クロッ
クのずれ(クロックスキュー)が生じる。Then, between two clocks having a deviation of 200 ppm, a shift (clock skew) of one clock occurs for every 5000 clocks.
【0017】一方、アービトレーテッドループトポロジ
では、あるポートから他のポートにデータを送信する場
合、データを送信するポートは、そのデータの送信に先
だって、バス(アービトレーテッドループ)の使用権を
獲得する必要がある。このバスの使用権を獲得するため
の争いはアービトレーション(arbitration)と呼ばれ
る。On the other hand, in the arbitrated loop topology, when data is transmitted from a certain port to another port, the port transmitting the data has a right to use the bus (arbitrated loop) prior to transmitting the data. Need to get. This struggle for the right to use the bus is called arbitration.
【0018】データを送信するポートは、アービトレー
ションによって、バスの使用権を獲得した後は、さら
に、そのデータの送信先としてのポートをオープンして
から、データの送信を行う必要がある。After the port for transmitting data has acquired the right to use the bus by arbitration, it is necessary to open the port as the transmission destination of the data and then transmit the data.
【0019】ファイバチャネルでは、アービトレーテッ
ドループトポロジで接続されたポートをオープンするた
めのコマンドとして、OPNyx,OPNyy,OPN
fr,OPNyrなどのオーダセット(order set)と
呼ばれるものが規定されている。In the fiber channel, commands for opening ports connected in an arbitrated loop topology include OPNyx, OPNyy, and OPN.
A so-called order set such as fr, OPNyr, etc. is defined.
【0020】ここで、OPNyxは全二重通信を行うと
きに、OPNyyは半二重通信を行うときに、それぞれ
用いられる。また、OPNfrは、アービトレーテッド
ループトポロジを構成している全ポートをオープンする
ときに、OPNyrは、そのうちの複数のポートをオー
プンするときに、それぞれ用いられる。Here, OPNyy is used when performing full-duplex communication, and OPNyy is used when performing half-duplex communication. OPNfr is used when opening all ports constituting the arbitrated loop topology, and OPNyr is used when opening a plurality of ports.
【0021】図8は、ファイバチャネルで規定されてい
るオーダセットOPNyrのフォーマットを示してい
る。FIG. 8 shows the format of the order set OPNyr specified by the Fiber Channel.
【0022】オーダセットOPNyrは、同図に示すよ
うに、1トランスミッションワード(TW)で構成され
る。ここで、1トランスミッションワードとは、ファイ
バチャネルにおいて1クロックで送受信されるデータ量
であり、いまのところ、4バイト(32ビット)となっ
ている。The order set OPNyr is composed of one transmission word (TW) as shown in FIG. Here, one transmission word is an amount of data transmitted and received in one clock in the fiber channel, and is currently 4 bytes (32 bits).
【0023】ファイバチャネルでは、伝送エラーの低減
のために、8B/10B変換したデータが送受信され
る。オーダセットOPNyrの最初の1バイト目(第3
1ビット乃至第24ビット)には、8B/10B変換後
のコードで、K28.5と呼ばれる特殊コードが配置さ
れる。この特殊コードは、シリアルデータからパラレル
データを再生するときに、ワード同期をとるために用い
られる。In the fiber channel, 8B / 10B converted data is transmitted / received in order to reduce transmission errors. First byte of order set OPNyr (3rd byte)
In the 1st to 24th bits, a special code called K28.5, which is a code after 8B / 10B conversion, is arranged. The special code is used for word synchronization when reproducing parallel data from serial data.
【0024】先頭から2バイト目(第23ビット乃至第
16ビット)には、8B/10B変換後のコードで、D
17.4と呼ばれる特殊コードが配置される。これは、
オーダセットがOPNについてのオーダセットであるこ
とを表す。3バイト目(第15ビット乃至第8ビット)
には、オープンするポートのポートアドレスAL_PD
が配置される。4バイト目(最後の1バイト)(第7乃
至第0ビット)には、8B/10B変換後のコードで、
D31.7と呼ばれる特殊コードが配置される。これ
は、複数のポートをオープンすること(さらにオープン
するポートがあること)を表す。In the second byte (23rd to 16th bits) from the beginning, the code after 8B / 10B conversion is D
A special code called 17.4 is placed. this is,
Indicates that the order set is an order set for OPN. 3rd byte (15th to 8th bits)
Is the port address AL_PD of the port to be opened
Is arranged. The 4th byte (last 1 byte) (7th to 0th bits) contains the code after 8B / 10B conversion,
A special code called D31.7 is arranged. This indicates that a plurality of ports are opened (there are ports to be opened).
【0025】ファイバチャネルでは、上述のようなオー
ダセットの他、フレームと呼ばれるデータの送受信も行
われる。さらに、オーダセットやフレームの送受信が行
われていない場合には、フィルワード(Fill Word)と
呼ばれるデータの送受信が行われる。In the fiber channel, data called a frame is transmitted and received in addition to the order set as described above. Further, when order sets and frames are not transmitted and received, data called a fill word is transmitted and received.
【0026】即ち、上述したように、あるポートのレシ
ーバは、それと接続されている他のポートのトランスミ
ッタのクロックに同期して動作するため、常時、何らか
のデータの送受信を行っている必要がある。そこで、オ
ーダセットやフレームの送受信が行われていない場合に
は、フィルワード(Fill Word)と呼ばれるデータの送
受信が行われる。ここで、フィルワードには、例えば、
アイドル(IDLE)やエーアールビー(ARB)と呼ばれる
データが規定されている。アイドルは、オーダセット間
やフレーム間を埋めるためのものであり、エーアールビ
ーは、バス(通信網)の使用権を得るためのものであ
る。従って、オーダセットやフレームの送受信が行われ
ていない場合においては、基本的に、アイドルの送受信
が行われる。That is, as described above, the receiver of a certain port operates in synchronization with the clock of the transmitter of the other port connected to it, so that it is necessary to constantly transmit and receive some data. Therefore, when an order set or a frame is not transmitted / received, data called a fill word (Fill Word) is transmitted / received. Here, the fill word includes, for example,
Data called idol (IDLE) and AR (ARB) are defined. Idle is for filling in between order sets and between frames, and ARB is for obtaining a right to use a bus (communication network). Therefore, when no order set or frame transmission / reception is performed, basically, idle transmission / reception is performed.
【0027】ところで、上述したように、ポートがリピ
ータとして動作する場合においては、そのポートのレシ
ーバが受信したデータが、そのポートのトランスミッタ
によってそのまま送信されるが、レシーバクロックとト
ランスミッタクロックとは同一でないから、即ち、それ
らの間には、最大で200ppmの偏差があるから、リ
ピータとして動作するポートにおいて、レシーバクロッ
クに同期して受信したデータを、トランスミッタクロッ
クに同期して送信することを、長時間連続して行ったの
では、正常なデータの送受信を行えなくなることがあ
る。As described above, when a port operates as a repeater, data received by a receiver of the port is transmitted as it is by a transmitter of the port. However, the receiver clock and the transmitter clock are not the same. In other words, since there is a maximum deviation of 200 ppm between them, transmission of data received in synchronization with the receiver clock at the port operating as a repeater in synchronization with the transmitter clock can be performed for a long time. If they are performed continuously, normal data transmission / reception may not be performed.
【0028】即ち、ファイバチャネルでは、上述したよ
うに、1クロックにつき、1トランスミッションワード
の送信が行われる。従って、レシーバクロックとトラン
スミッタクロックとの間に、例えば、200ppmの偏
差がある場合においては、上述したように、5000ク
ロックにつき、1クロックのずれが生じるから、単純に
は、1トランスミッションワードの送受信に失敗するこ
とになる。That is, in the Fiber Channel, as described above, one transmission word is transmitted per clock. Accordingly, when there is a deviation of, for example, 200 ppm between the receiver clock and the transmitter clock, as described above, one clock shift occurs for every 5000 clocks. Will fail.
【0029】そこで、このようなクロックスキュー(ク
ロックの偏差)に起因するデータの送受信の失敗を防止
するために、フレームやオーダセットの前後にフィルワ
ード(特にアイドル)が挿入される。ここで、ファイバ
チャネルでは、フレームやオーダセットの送信後には、
少なくとも6トランスミッションワードのフィルワード
の送信を行うようように規定されている。Therefore, in order to prevent data transmission / reception failure due to such clock skew (clock deviation), a fill word (particularly idle) is inserted before and after a frame or order set. Here, in Fiber Channel, after transmission of a frame or order set,
It is defined to transmit at least six transmission word fill words.
【0030】従って、多数のポートに対してデータを送
信する場合には、伝送効率が悪化する課題があった。Therefore, when data is transmitted to a large number of ports, there is a problem that the transmission efficiency deteriorates.
【0031】即ち、多数のポートに対してデータを送信
する場合においては、その多数のポートをオープンする
必要がある。ここで、上述したように、ファイバチャネ
ルのアービトレーテッドループでは、最大で127のポ
ートと接続することができる。That is, when transmitting data to a large number of ports, it is necessary to open the large number of ports. Here, as described above, in the arbitrated loop of the fiber channel, a maximum of 127 ports can be connected.
【0032】多数のポートのオープンには、上述したO
PNyrオーダセットの送信を、そのポートの数と同一
回数だけ行う必要がある。そして、その送信をするたび
に、上述したように、少なくとも6トランスミッション
ワードのフィルワードを挿入しなければならない。To open a number of ports, the O
It is necessary to transmit the PNyr order set as many times as the number of the ports. Then, each time that transmission is made, as described above, at least six transmission words must be inserted.
【0033】従って、例えば、127のポートによりア
ービトレーテッドループトポロジが構成されている場合
において、そのうちの、例えば、125のポートをオー
プンするときには、少なくとも、1トランスミッション
ワードのOPNyrオーダセットと、6トランスミッシ
ョンワードのフィルワードとの、合計7トランスミッシ
ョンワードを、125回送信しなければならず、即ち、
少なくとも875(=7×125)トランスミッション
ワードのデータを送信しなければならず、非常に長い時
間を要することになる。Therefore, for example, in a case where an arbitrated loop topology is constituted by 127 ports, for example, when 125 ports are opened, at least an OPNyr order set of one transmission word and six transmissions are set. A total of 7 transmission words, including the fill word of words, must be transmitted 125 times, ie,
At least 875 (= 7 × 125) transmission words of data must be transmitted, which will take a very long time.
【0034】そして、このようにポートのオープンに長
い時間を費やす結果、伝送効率が悪化することになる。As a result of spending a long time in opening the port, the transmission efficiency deteriorates.
【0035】本発明は、このような状況に鑑みてなされ
たものであり、データの伝送効率を向上させることがで
きるようにするものである。The present invention has been made in view of such a situation, and aims to improve data transmission efficiency.
【0036】[0036]
【課題を解決するための手段】請求項1に記載の通信装
置は、通信ポートをオープンすることを指令するコード
に、複数の通信ポートに対応する複数ビットを付加した
オープンコマンドを、複数ビットのうちの、オープンす
る通信ポートに対応するものだけを所定値にして送信す
る送信手段を備えることを特徴とする。According to a first aspect of the present invention, there is provided a communication apparatus comprising: an open command in which a plurality of bits corresponding to a plurality of communication ports are added to a code instructing to open a communication port; A transmission means is provided which transmits only a port corresponding to a communication port to be opened to a predetermined value.
【0037】請求項2に記載の通信方法は、通信ポート
をオープンすることを指令するコードに、複数の通信ポ
ートに対応する複数ビットを付加したオープンコマンド
を、複数ビットのうちの、オープンする通信ポートに対
応するものだけを所定値にして送信することを特徴とす
る。According to a second aspect of the present invention, there is provided a communication method for opening a communication command in which a plurality of bits corresponding to a plurality of communication ports are added to a code for instructing opening of a communication port. It is characterized in that only the port corresponding to the port is transmitted with a predetermined value.
【0038】請求項3に記載の通信装置は、オープンコ
マンドが、通信ポートをオープンすることを指令するコ
ードに、複数の通信ポートに対応する複数ビットを付加
したものである場合において、オープンコマンドにおけ
る複数ビットのうちの自身に対応するビットが所定値に
なっているかどうかを確認する確認手段と、確認手段の
確認結果に対応して、通信ポートをオープンする処理を
行う処理手段とを備えることを特徴とする。According to a third aspect of the present invention, in the communication apparatus, when the open command is a code for instructing to open a communication port, a plurality of bits corresponding to a plurality of communication ports are added. It is provided with confirmation means for confirming whether or not a bit corresponding to itself among a plurality of bits has a predetermined value, and processing means for performing processing for opening a communication port in accordance with a confirmation result of the confirmation means. Features.
【0039】請求項5に記載の通信方法は、オープンコ
マンドが、通信ポートをオープンすることを指令するコ
ードに、複数の通信ポートに対応する複数ビットを付加
したものである場合において、オープンコマンドにおけ
る複数ビットのうちの自身に対応するビットが所定値に
なっているときに、通信ポートをオープンすることを特
徴とする。According to a fifth aspect of the present invention, in the communication method according to the first aspect, when the open command is a code for instructing to open a communication port, a plurality of bits corresponding to a plurality of communication ports are added. A communication port is opened when a bit corresponding to itself among a plurality of bits has a predetermined value.
【0040】請求項1に記載の通信装置においては、送
信手段が、通信ポートをオープンすることを指令するコ
ードに、複数の通信ポートに対応する複数ビットを付加
したオープンコマンドを、複数ビットのうちの、オープ
ンする通信ポートに対応するものだけを所定値にして送
信するようになされている。[0040] In the communication apparatus according to the first aspect, the transmitting means may include an open command in which a plurality of bits corresponding to a plurality of communication ports are added to a code for instructing opening of a communication port. Only the communication port corresponding to the communication port to be opened is set to a predetermined value and transmitted.
【0041】請求項2に記載の通信方法においては、通
信ポートをオープンすることを指令するコードに、複数
の通信ポートに対応する複数ビットを付加したオープン
コマンドを、複数ビットのうちの、オープンする通信ポ
ートに対応するものだけを所定値にして送信するように
なされている。In the communication method according to the second aspect, an open command in which a plurality of bits corresponding to a plurality of communication ports are added to a code instructing to open a communication port is opened among the plurality of bits. Only the communication port corresponding to the communication port is set to a predetermined value and transmitted.
【0042】請求項3に記載の通信装置においては、オ
ープンコマンドが、通信ポートをオープンすることを指
令するコードに、複数の通信ポートに対応する複数ビッ
トを付加したものである場合において、確認手段は、オ
ープンコマンドにおける複数ビットのうちの自身に対応
するビットが所定値になっているかどうかを確認し、処
理手段は、確認手段の確認結果に対応して、通信ポート
をオープンする処理を行うようになされている。According to a third aspect of the present invention, when the open command is a code for instructing to open a communication port, a plurality of bits corresponding to a plurality of communication ports are added to the code. Confirms whether or not a bit corresponding to itself among a plurality of bits in the open command has a predetermined value, and the processing means performs processing for opening a communication port in accordance with a result of the confirmation by the confirmation means. Has been made.
【0043】請求項5に記載の通信方法においては、オ
ープンコマンドが、通信ポートをオープンすることを指
令するコードに、複数の通信ポートに対応する複数ビッ
トを付加したものである場合において、オープンコマン
ドにおける複数ビットのうちの自身に対応するビットが
所定値になっているときに、通信ポートをオープンする
ようになされている。In the communication method according to the fifth aspect, when the open command is a code for instructing to open a communication port, a plurality of bits corresponding to a plurality of communication ports are added. The communication port is opened when a bit corresponding to itself out of the plurality of bits in has a predetermined value.
【0044】[0044]
【発明の実施の形態】以下に、本発明の実施の形態を説
明するが、その前に、特許請求の範囲に記載の発明の各
手段と以下の実施の形態との対応関係を明らかにするた
めに、各手段の後の括弧内に、対応する実施の形態(但
し、一例)を付加して、本発明の特徴を記述すると、次
のようになる。DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below, but before that, the correspondence between each means of the invention described in the claims and the following embodiments will be clarified. For this reason, the features of the present invention are described as follows by adding the corresponding embodiment (however, an example) in parentheses after each means.
【0045】即ち、請求項1に記載の通信装置は、通信
相手の通信ポートをオープンし、その通信ポートを介し
て通信を行う通信装置であって、通信ポートをオープン
することを指令するコードに、複数の通信ポートに対応
する複数ビットを付加したオープンコマンドを、複数ビ
ットのうちの、オープンする通信ポートに対応するもの
だけを所定値にして送信する送信手段(例えば、図3に
示すプログラムの処理ステップS1およびS2など)を
備えることを特徴とする。That is, the communication device according to the first aspect is a communication device that opens a communication port of a communication partner and performs communication via the communication port. Transmission means for transmitting an open command to which a plurality of bits corresponding to a plurality of communication ports are added with a predetermined value of only a plurality of bits corresponding to a communication port to be opened (for example, the program shown in FIG. 3). Processing steps S1 and S2).
【0046】請求項3に記載の通信装置は、通信ポート
をオープンするためのオープンコマンドに対応して、通
信ポートをオープンして通信を行う通信装置であって、
オープンコマンドが、通信ポートをオープンすることを
指令するコードに、複数の通信ポートに対応する複数ビ
ットを付加したものである場合において、オープンコマ
ンドを受信する受信手段(例えば、図1に示すレシーバ
13や、23,33,43など)と、オープンコマンド
における複数ビットのうちの自身に対応するビットが所
定値になっているかどうかを確認する確認手段(例え
ば、図4に示すプログラムの処理ステップS11など)
と、確認手段の確認結果に対応して、通信ポートをオー
プンする処理を行う処理手段(例えば、図4に示すプロ
グラムの処理ステップS13など)とを備えることを特
徴とする。According to a third aspect of the present invention, there is provided a communication apparatus for performing communication by opening a communication port in response to an open command for opening a communication port,
In the case where the open command is a code for instructing to open a communication port with a plurality of bits corresponding to a plurality of communication ports added thereto, a receiving means for receiving the open command (for example, the receiver 13 shown in FIG. 1) , 23, 33, 43, etc.) and checking means for checking whether a bit corresponding to itself among a plurality of bits in the open command has a predetermined value (for example, processing step S11 of the program shown in FIG. 4) )
And a processing means (for example, processing step S13 of the program shown in FIG. 4) for opening a communication port in accordance with the result of the confirmation by the confirmation means.
【0047】請求項4に記載の通信装置は、通信ポート
をオープンした場合に、複数ビットのうちの自身に対応
するビットを変更する変更手段(例えば、図4に示すプ
ログラムの処理ステップS14など)をさらに備えるこ
とを特徴とする。In the communication device according to the present invention, when the communication port is opened, a changing means for changing a bit corresponding to itself out of a plurality of bits (for example, processing step S14 of the program shown in FIG. 4). Is further provided.
【0048】なお、勿論この記載は、各手段を上記した
ものに限定することを意味するものではない。Of course, this description does not mean that each means is limited to those described above.
【0049】図1は、本発明を適用したネットワークシ
ステム(システムとは、複数の装置が論理的に集合した
ものをいい、各構成の装置が同一筐体中にあるか否かは
問わない)の一実施の形態の構成例を示している。FIG. 1 shows a network system to which the present invention is applied (a system refers to a system in which a plurality of devices are logically assembled, and it does not matter whether the devices of each configuration are in the same housing or not). 1 shows a configuration example of one embodiment.
【0050】この実施の形態では、1つのサーバ1およ
び3つの端末2乃至4が接続され、例えば、LAN(Lo
cal Area Network)としてのネットワークシステムが構
成されている。In this embodiment, one server 1 and three terminals 2 to 4 are connected, for example, a LAN (Lo
A network system as a cal area network is configured.
【0051】即ち、サーバ1は、例えば、ファイバチャ
ネルをベースとした通信制御を行うポート11を有して
いる。ポート11は、データを送信するトランスミッタ
12およびデータを受信するレシーバ13を有してい
る。That is, the server 1 has, for example, a port 11 for performing communication control based on Fiber Channel. The port 11 has a transmitter 12 for transmitting data and a receiver 13 for receiving data.
【0052】端末2乃至4も、ポート11と同様に構成
されるポート21,31,41をそれぞれ有している。
即ち、ポート21,31,41は、トランスミッタ12
と同様に構成されるトランスミッタ22,32,42、
およびレシーバ13と同様に構成されるレシーバ23,
33,43をそれぞれ有している。The terminals 2 to 4 also have ports 21, 31, and 41, respectively, which are configured in the same manner as the port 11.
That is, the ports 21, 31, and 41 are connected to the transmitter 12
Transmitters 22, 32, and 42 configured similarly to
And a receiver 23 configured similarly to the receiver 13,
33 and 43 respectively.
【0053】そして、トランスミッタ12とレシーバ2
3、トランスミッタ22とレシーバ33、トランスミッ
タ32とレシーバ43、トランスミッタ42とレシーバ
13がそれぞれ接続され、これにより、アービトレーテ
ッドループトポロジが形成されている。Then, the transmitter 12 and the receiver 2
3, the transmitter 22 and the receiver 33, the transmitter 32 and the receiver 43, and the transmitter 42 and the receiver 13, respectively, thereby forming an arbitrated loop topology.
【0054】以上のように構成されるネットワークシス
テムにおいて、例えば、サーバ1が、端末2乃至4のう
ちの複数にデータを送信する場合には、まずサーバ1
は、ポートをオープンすることを指令するコードに、複
数のポートに対応する複数ビット(以下、適宜、ビット
マップエリアという)を付加したオープンコマンドを、
その複数ビットのうちの、オープンするポートに対応す
るビットだけを、例えば1にするとともに、残りのビッ
トを、例えば0にして送信する。即ち、例えば、端末2
乃至4のうちの、端末2,3のポート21,31をオー
プンする場合には、ビットマップエリアのうち、ポート
21と31に対応するビットを1にし、残りのビットを
0にしたオープンコマンドを送信する。In the network system configured as described above, for example, when the server 1 transmits data to a plurality of terminals 2 to 4, the server 1
Is an open command that adds a plurality of bits corresponding to a plurality of ports (hereinafter, appropriately referred to as a bitmap area) to a code for instructing to open a port,
Of the plurality of bits, only the bit corresponding to the port to be opened is set to 1, for example, and the remaining bits are set to, for example, 0, and transmitted. That is, for example, the terminal 2
When the ports 21 and 31 of the terminals 2 and 3 are opened, the bit corresponding to the ports 21 and 31 in the bit map area is set to 1 and the remaining bits are set to 0. Send.
【0055】このオープンコマンドの送信は、サーバ1
におけるポート11のトランスミッタ12によって行わ
れる。そして、オープンコマンドは、端末2におけるポ
ート21のレシーバ23、トランスミッタ22、端末3
におけるポート31のレシーバ33、トランスミッタ3
2、端末4のポート41におけるレシーバ43、トラン
スミッタ42を経由して、最終的には、サーバ1におけ
るポート11のレシーバ13で受信される。The transmission of the open command is performed by the server 1
This is performed by the transmitter 12 of the port 11 at. Then, the open command is transmitted to the receiver 23 of the port 21, the transmitter 22, the terminal 3 of the terminal 2.
, Receiver 33 of port 31 and transmitter 3
2. Via the receiver 43 and the transmitter 42 at the port 41 of the terminal 4, the data is finally received by the receiver 13 at the port 11 of the server 1.
【0056】一方、端末2乃至4では、送信されてくる
オープンコマンドがレシーバ23,33,43でそれぞ
れ受信され、そのオープンコマンドにおけるビットマッ
プエリアのうちの自身に対応するビットが1になってい
るかどうかが確認される。そして、自身に対応するビッ
トが1になっている場合には、自身のポートをオープン
する。On the other hand, in the terminals 2 to 4, the transmitted open command is received by the receivers 23, 33, and 43, respectively, and the bit corresponding to itself in the bit map area in the open command is 1 or not. Is checked. Then, when the bit corresponding to itself is 1, the port is opened.
【0057】端末2乃至4のうち、ポートをオープンし
たものは、オープンコマンドにおけるビットマップエリ
アのうちの自身に対応するビットを、例えば1から0に
変更し、その変更後のオープンコマンドを、自身のトラ
ンスミッタから、それに接続されているレシーバに送信
する。Among the terminals 2 to 4, the one that opened the port changes the bit corresponding to itself in the bitmap area in the open command from, for example, 1 to 0, and changes the open command after the change to the own. From the transmitter to the receiver connected to it.
【0058】なお、自身に対応するビットが1になって
いない場合には、その端末は、受信したオープンコマン
ドを、そのまま、自身のトランスミッタから、それに接
続されているレシーバに送信する。If the bit corresponding to the terminal is not set to 1, the terminal transmits the received open command as it is from its own transmitter to the receiver connected thereto.
【0059】サーバ1は、そのポート11のトランスミ
ッタ12から、端末2におけるポートのレシーバ23に
オープンコマンドを送信した後、レシーバ13で、端末
4におけるポート41のトランスミッタ42から送信さ
れてくるオープンコマンドを受信すると、ビットマップ
エリアを参照することで、データを送信すべきポートが
オープンされたかどうかを認識する。After transmitting an open command from the transmitter 12 of the port 11 to the receiver 23 of the port of the terminal 2, the server 13 transmits the open command transmitted from the transmitter 42 of the port 41 of the terminal 4 to the receiver 13. Upon reception, by referring to the bitmap area, it is recognized whether a port to which data is to be transmitted has been opened.
【0060】即ち、上述したように、端末2乃至4のう
ち、ポートをオープンしたものにおいては、ビットマッ
プエリアのうちの自身に対応するビットが1から0に変
更されている。従って、ビットマップエリアを参照する
ことで、データを送信すべきポートがオープンされたか
どうかを認識することができる。That is, as described above, in the terminals 2 to 4 whose ports are opened, the bit corresponding to the terminal 2 in the bit map area is changed from 1 to 0. Therefore, by referring to the bitmap area, it can be recognized whether or not the port to which data is to be transmitted has been opened.
【0061】そして、サーバ1では、端末2乃至4のう
ち、ポートがオープンされたものを宛先として、データ
が送信される。In the server 1, data is transmitted to the terminals 2 to 4 whose ports are opened.
【0062】以上のように、ビットマップエリアのうち
の、オープンするポートに対応するビットだけを1にす
るとともに、残りのビットを0にしたオープンコマンド
により、ポートをオープンするようにしたので、複数の
ポートを、1のオープンコマンドでオープンすることが
できる。その結果、特に、多数のポートをオープンする
場合の伝送効率を向上させることができる。As described above, only the bit corresponding to the port to be opened in the bit map area is set to 1 and the port is opened by the open command in which the remaining bits are set to 0. Can be opened by one open command. As a result, especially when many ports are opened, the transmission efficiency can be improved.
【0063】また、端末2乃至4のうち、ポートをオー
プンしたものにおいては、ビットマップエリアのうちの
自身に対応するビットが1から0に変更される。従っ
て、ポートがオープンされたかどうかを容易に確認する
ことができる。In the terminals 2 to 4 whose ports are opened, the bit corresponding to itself in the bit map area is changed from 1 to 0. Therefore, it can be easily confirmed whether the port is opened.
【0064】次に、図2は、オープンコマンドの構成例
(フォーマット)を示している。Next, FIG. 2 shows a configuration example (format) of the open command.
【0065】この実施の形態では、オープンコマンド
は、例えば、5トランスミッションワードで構成されて
いる。In this embodiment, the open command is composed of, for example, five transmission words.
【0066】オープンコマンドの1トランスミッション
ワード目は、ポートをオープンすることを指令するコー
ドが配置されており、ここでは、その第15ビット乃至
第8ビットを除いて、例えば、図8に示したオーダセッ
トOPNyrと同様に構成されている。即ち、オープン
コマンドは、オーダセットOPNyrに属すものである
ため、ここでは、オープンコマンドの1トランスミッシ
ョンワード目を、その第15ビット乃至第8ビットを除
いて、オーダセットOPNyrと同様に構成している。
第15ビット乃至第8ビットには、他のオーダセットと
区別するための特定の値Dxx.x(8B/10B変換
後のコード)が配置される。In the first transmission word of the open command, a code for instructing to open a port is arranged. Here, except for the 15th to 8th bits, for example, the order shown in FIG. The configuration is the same as that of the set OPNyr. That is, since the open command belongs to the order set OPNyr, the first transmission word of the open command is configured similarly to the order set OPNyr except for the 15th to 8th bits. .
Bits 15 to 8 contain specific values Dxx. To distinguish them from other order sets. x (code after 8B / 10B conversion) is arranged.
【0067】オープンコマンドの2乃至5トランスミッ
ションワード目の128ビットは、ビットマップエリア
とされている。即ち、例えば、2トランスミッションワ
ード目の第31乃至第0ビットは、ポートアドレス(ポ
ートID)が0乃至31のポートにそれぞれ割り当てら
れている(対応している)。同様に、3トランスミッシ
ョンワード目の第31乃至第0ビットは、ポートアドレ
スが32乃至63のポートに、4トランスミッションワ
ード目の第31乃至第0ビットは、ポートアドレスが6
4乃至95のポートに、それぞれ割り当てられている。The 128 bits of the second to fifth transmission words of the open command are used as a bit map area. That is, for example, the 31st to 0th bits of the second transmission word are assigned (corresponding) to ports having port addresses (port IDs) of 0 to 31, respectively. Similarly, the 31st to 0th bits of the third transmission word correspond to ports having port addresses of 32 to 63, and the 31st to 0th bits of the fourth transmission word correspond to port addresses of 6 to 6.
Ports 4 to 95 are respectively assigned.
【0068】そして、5トランスミッションワード目の
第31乃至第1ビットは、ポートアドレスが96乃至1
26のポートにそれぞれ割り当てられており、その第0
ビットは予約領域(予約ビット)とされている。The 31st to 1st bits of the fifth transmission word have the port address of 96 to 1
26 ports, and the 0th
The bits are reserved areas (reserved bits).
【0069】即ち、ファイバチャネルでは、いまのとこ
ろ、アービトレーテッドループトポロジを構成すること
のできるポートの最大数は127となっている。そこ
で、本実施の形態では、その最大数のポートでアービト
レーテッドループトポロジが構成される場合であって
も、各ポートを指定することができるように、ビットマ
ップエリアが、127ビット以上の値であって、32ビ
ット(1トランスミッションワード)の整数倍の値の最
小値である128ビットで構成されている。なお、この
場合、1ビット余ることになるが、図2では、5トラン
スミッションワード目の第0ビットが、その余った1ビ
ットとして、予約ビットとされている。That is, in the Fiber Channel, the maximum number of ports that can constitute the arbitrated loop topology is 127 at present. Therefore, in the present embodiment, even when the arbitrated loop topology is configured with the maximum number of ports, the bitmap area is set to a value of 127 bits or more so that each port can be specified. , And is composed of 128 bits which is the minimum value of an integral multiple of 32 bits (one transmission word). In this case, one bit is left, but in FIG. 2, the 0th bit of the fifth transmission word is reserved as the remaining one bit.
【0070】ポートをオープンする場合においては、以
上のようなオープンコマンドが、そのビットマップエリ
アのうちの、オープンするポートに対応する(割り当て
られた)ビットだけを1にするとともに、残りのビット
を0にして送信される。In the case of opening a port, the above open command sets only the bit (assigned) corresponding to the port to be opened in the bitmap area to 1, and sets the remaining bits to 1 Sent to zero.
【0071】次に、上述のようなオープンコマンドを送
信するオープンオーダセット送信処理と、そのオープン
コマンドを受信するオープンオーダセット受信処理につ
いて説明する。Next, an open order set transmission process for transmitting the above open command and an open order set reception process for receiving the open command will be described.
【0072】なお、ここでは、オープンコマンドが、例
えば、サーバ1から送信され、端末2乃至4において受
信されるものとする。即ち、サーバ1において、オープ
ンオーダセット送信処理が行われ、端末2乃至4におい
てオープンオーダセット受信処理が行われるものとす
る。Here, it is assumed that the open command is transmitted from the server 1 and received by the terminals 2 to 4, for example. That is, it is assumed that the server 1 performs an open order set transmission process, and the terminals 2 to 4 perform an open order set reception process.
【0073】オープンオーダセット送信処理では、まず
最初に、ステップS1において、オープンコマンドのビ
ットマップエリアが作成される。即ち、図2に示したよ
うなオープンコマンドにおけるビットマップエリアのう
ち、オープンするポートに対応するビットだけが1にさ
れ、残りのビットが0にされる。そして、ステップS2
に進み、ステップS1で作成されたビットマップエリア
を有する、図2で説明したオープンコマンドが送信さ
れ、ステップS3に進む。In the open order set transmission processing, first, in step S1, an open command bitmap area is created. That is, in the bit map area in the open command as shown in FIG. 2, only the bit corresponding to the port to be opened is set to 1, and the remaining bits are set to 0. Then, step S2
Then, the open command described in FIG. 2 having the bitmap area created in step S1 is transmitted, and the process proceeds to step S3.
【0074】ステップS3では、自身が送信したオープ
ンコマンドが、上述したように、他のポートを経由して
送信されてきたかどうかが判定され、送信されてきてい
ないと判定された場合、ステップS3に戻る。また、ス
テップS3において、自身が送信したオープンコマンド
が、他のポートを経由して送信されてきたと判定された
場合、ステップS4に進み、そのオープンコマンドにお
けるビットマップエリアを参照することで、オープンさ
れたポートが確認され、処理を終了する。In step S3, it is determined whether the open command transmitted by itself has been transmitted through another port as described above. If it is determined that the open command has not been transmitted, the process proceeds to step S3. Return. If it is determined in step S3 that the open command transmitted by itself has been transmitted via another port, the process proceeds to step S4, and the open command is opened by referring to the bitmap area in the open command. The confirmed port is confirmed, and the process ends.
【0075】サーバ1では、以上のようなオープンオー
ダセット送信処理が行われた後、オープンされたポート
だけを対象に、データの送信が開始される。After performing the above-described open order set transmission processing, the server 1 starts transmitting data only to the opened ports.
【0076】一方、端末2乃至4は、オープンコマンド
を受信すると、オープンオーダセット受信処理を行う。On the other hand, upon receiving the open command, the terminals 2 to 4 perform open order set reception processing.
【0077】即ち、図4のフローチャートに示すよう
に、まず最初に、ステップS11において、受信したオ
ープンコマンドにおけるビットマップエリアのうち、自
身のポートに対応するビットが1になっているかどうか
が判定される。ステップS11において、自身のポート
に対応するビットが1になっていないと判定された場
合、ステップS12乃至S14をスキップして、ステッ
プS15に進み、自身のポートのトランスミッタに接続
されている、他のポートのレシーバに、受信したオープ
ンコマンドをそのまま送信し、処理を終了する。That is, as shown in the flowchart of FIG. 4, first, in step S11, it is determined whether or not the bit corresponding to its own port is 1 in the bit map area in the received open command. You. If it is determined in step S11 that the bit corresponding to the own port is not set to 1, the process skips steps S12 to S14 and proceeds to step S15, where the other ports connected to the transmitter of the own port The received open command is transmitted to the port receiver as it is, and the process ends.
【0078】また、ステップS11において、自身のポ
ートに対応するビットが1になっていると判定された場
合、ステップS12に進み、自身のポートがデータを受
信することが可能な状態であるかどうかが判定される。
ステップS12において、自身のポートがデータを受信
することが可能な状態にないと判定された場合、ステッ
プS13およびS14をスキップして、ステップS15
に進む。ステップS15では、上述したように、受信し
たオープンコマンドが送信され、処理を終了する。If it is determined in step S11 that the bit corresponding to the own port is 1, the flow advances to step S12 to determine whether the own port is in a state capable of receiving data. Is determined.
If it is determined in step S12 that the own port is not in a state capable of receiving data, steps S13 and S14 are skipped and step S15 is performed.
Proceed to. In step S15, the received open command is transmitted as described above, and the process ends.
【0079】一方、ステップS12において、自身のポ
ートがデータを受信することが可能な状態にあると判定
された場合、ステップS13に進み、ポートがオープン
され、ステップS14に進む。ステップS14では、ビ
ットマップエリアの自身のポートに対応するビットが1
から0に変更され、ステップS15に進む。この場合、
ステップS15では、上述のようにビットマップエリア
の変更されたオープンコマンドが、自身のポートのトラ
ンスミッタに接続されている、他のポートのレシーバに
送信され、処理を終了する。On the other hand, if it is determined in step S12 that the own port is in a state capable of receiving data, the process proceeds to step S13, the port is opened, and the process proceeds to step S14. In step S14, the bit corresponding to its own port in the bitmap area is 1
Is changed to 0, and the process proceeds to step S15. in this case,
In step S15, the open command whose bitmap area has been changed as described above is transmitted to the receiver of another port connected to the transmitter of its own port, and the process ends.
【0080】以上のようなオープンコマンドを用いるこ
とにより、特に、多数のポートをオープンを、従来に比
較して短時間で行うことができる。By using the open command as described above, it is possible to open a large number of ports in a shorter time than in the conventional case.
【0081】即ち、例えば、前述したように、125の
ポートをオープンする場合、従来においては、図5
(A)に示すように、125のポートそれぞれにオーダ
セットOPNyrを送信しなければならず、さらに、各
オーダセットOPNyrの間に、少なくとも6トランス
ミッションワードのフィルワード(特に、アイドル)を
挿入しなければならない。その結果、125のポートを
オープンするのに、少なくとも875トランスミッショ
ンワードに相当する時間を要する。That is, for example, as described above, when opening 125 ports, conventionally, as shown in FIG.
As shown in (A), the order set OPNyr must be transmitted to each of the 125 ports, and between each order set OPNyr, at least a fill word of 6 transmission words (particularly, idle) must be inserted. Must. As a result, it takes at least 875 transmission words to open 125 ports.
【0082】これに対して、オープンコマンドによる場
合には、図5(B)に示すように、5トランスミッショ
ンワードのオープンコマンドと、6トランスミッション
ワードのフィルワードとを送信すれば済み、その結果、
11(=5+6)トランスミッションワードに相当する
時間、即ち、従来の1/7程度の時間で、125のポー
トをオープンすることができる。On the other hand, in the case of using the open command, as shown in FIG. 5B, it is sufficient to transmit an open command of 5 transmission words and a fill word of 6 transmission words.
It is possible to open 125 ports in a time corresponding to 11 (= 5 + 6) transmission words, that is, about 1/7 of the conventional time.
【0083】以上、本発明を、ファイバチャネルの規格
をベースとした通信に適用した場合について説明した
が、本発明の適用範囲は、これに限定されるものではな
い。さらに、本発明は、シリアル通信およびパラレル通
信のいずれにも適用可能である。As described above, the case where the present invention is applied to communication based on the Fiber Channel standard has been described. However, the scope of the present invention is not limited to this. Further, the present invention is applicable to both serial communication and parallel communication.
【0084】なお、本実施の形態においては、サーバ1
から端末2乃至4にデータを送信する場合について説明
したが、端末2乃至4のうちのいずれかから、残りの端
末やサーバ1にデータを送信することも可能である。In this embodiment, the server 1
Has been described above, data can be transmitted from any of the terminals 2 to 4 to the remaining terminals and the server 1.
【0085】また、本発明は、1のポートをオープンす
る場合にも適用可能であるが、オープンするポートが多
数の場合に、特に有用である。The present invention is applicable to a case where one port is opened, but is particularly useful when a large number of ports are opened.
【0086】さらに、本実施の形態では、端末2乃至4
のうち、ポートをオープンしたものには、ビットマップ
エリアのうちの自身に対応するビットを1から0に変更
させることで、サーバ1において、ポートがオープンさ
れたかどうかの確認を行うようにしたが、この確認は、
その他、例えば、端末に、ポートをオープンした旨の情
報を、オープンコマンドとは別に送信させるようにする
ことなどによって行うことも可能である。Further, in this embodiment, terminals 2 to 4
Of those, the one that opens the port changes the bit corresponding to itself in the bitmap area from 1 to 0, so that the server 1 checks whether the port is opened. , This confirmation
In addition, for example, it is also possible to make the terminal transmit information indicating that the port has been opened separately from the open command.
【0087】また、本実施の形態では、オープンコマン
ドのビットマップエリアを4トランスミッションワード
で構成するようにした(図2)、ビットマップエリアの
大きさは、これに限定されるものではなく、例えば、ア
ービトレーテッドループトポロジを構成するポート数な
どに基づいて決定するようにすることなどが可能であ
る。Further, in the present embodiment, the bit map area of the open command is constituted by four transmission words (FIG. 2). The size of the bit map area is not limited to this. It can be determined based on the number of ports constituting the arbitrated loop topology, and the like.
【0088】さらに、本実施の形態では、ビットマップ
エリアの各ビットに、いわば絶対的な値としてのポート
アドレスを割り当てて、ポートと対応付けるようにした
が、ビットマップエリアの各ビットとポートとの対応付
けは、その他、例えば、相対的に行うことも可能であ
る。即ち、例えば、オープンコマンドを送信するポート
を基準として、そのポートのトランスミッタに接続され
ているレシーバを有するポートを、ビットマップエリア
の最初のビットに対応付け、以下、同様にして、ビット
マップエリアの各ビットとポートとを対応付けることが
可能である。Further, in the present embodiment, a port address as an absolute value is assigned to each bit of the bitmap area so as to correspond to the port. However, each bit of the bitmap area is associated with the port. The association can also be made relatively, for example, relatively. That is, for example, based on a port that transmits an open command, a port having a receiver connected to the transmitter of the port is associated with the first bit of the bitmap area, and thereafter, similarly, Each bit can be associated with a port.
【0089】[0089]
【発明の効果】請求項1に記載の通信装置および請求項
2に記載の通信方法によれば、通信ポートをオープンす
ることを指令するコードに、複数の通信ポートに対応す
る複数ビットを付加したオープンコマンドが、複数ビッ
トのうちの、オープンする通信ポートに対応するものだ
けを所定値にして送信される。従って、例えば、短時間
で、多数のポートをオープンすることが可能となる。According to the communication apparatus of the first aspect and the communication method of the second aspect, a plurality of bits corresponding to a plurality of communication ports are added to a code instructing to open a communication port. An open command is transmitted with a predetermined value of only a plurality of bits corresponding to a communication port to be opened. Therefore, for example, a large number of ports can be opened in a short time.
【0090】請求項3に記載の通信装置および請求項5
に記載の通信方法によれば、オープンコマンドにおける
複数ビットのうちの自身に対応するビットが所定値にな
っている場合に、通信ポートがオープンされる。従っ
て、例えば、短時間で、多数のポートをオープンするこ
とが可能となる。The communication device according to claim 3 and the communication device according to claim 5
According to the communication method described in (1), a communication port is opened when a bit corresponding to itself among a plurality of bits in an open command has a predetermined value. Therefore, for example, a large number of ports can be opened in a short time.
【図1】本発明を適用したネットワークシステムの一実
施の形態の構成例を示すブロック図である。FIG. 1 is a block diagram illustrating a configuration example of an embodiment of a network system to which the present invention has been applied.
【図2】オープンコマンドのフォーマットを示す図であ
る。FIG. 2 is a diagram showing a format of an open command.
【図3】オープンオーダセット送信処理を説明するため
のフローチャートである。FIG. 3 is a flowchart illustrating an open order set transmission process.
【図4】オープンオーダセット受信処理を説明するため
のフローチャートである。FIG. 4 is a flowchart illustrating an open order set receiving process.
【図5】125のポートをオープンするのに要する時間
を説明するための図である。FIG. 5 is a diagram for explaining a time required to open a port 125;
【図6】アービトレーテッドループトポロジによるポー
トの接続形態を示す図である。FIG. 6 is a diagram illustrating a connection mode of ports according to an arbitrated loop topology.
【図7】アービトレーテッドループトポロジで接続され
たポートにおける動作クロックを説明するための図であ
る。FIG. 7 is a diagram for explaining operation clocks at ports connected in an arbitrated loop topology.
【図8】オーダセットOPNyrのフォーマットを示す
図である。FIG. 8 is a diagram showing a format of an order set OPNyr.
1 サーバ, 2乃至4 端末, 11 ポート, 1
2 トランスミッタ,13 レシーバ, 21 ポー
ト, 22 トランスミッタ, 23 レシーバ, 3
1 ポート, 32 トランスミッタ, 33 レシー
バ, 41 ポート, 42 トランスミッタ, 43
レシーバ1 server, 2 to 4 terminals, 11 ports, 1
2 transmitter, 13 receivers, 21 ports, 22 transmitters, 23 receivers, 3
1 port, 32 transmitters, 33 receivers, 41 ports, 42 transmitters, 43
Receiver
Claims (5)
の通信ポートを介して通信を行う通信装置であって、 前記通信ポートをオープンすることを指令するコード
に、複数の通信ポートに対応する複数ビットを付加した
オープンコマンドを、前記複数ビットのうちの、オープ
ンする通信ポートに対応するものだけを所定値にして送
信する送信手段を備えることを特徴とする通信装置。1. A communication device for opening a communication port of a communication partner and performing communication through the communication port, wherein a code instructing to open the communication port includes a plurality of codes corresponding to the plurality of communication ports. A communication apparatus, comprising: a transmission unit that transmits an open command to which a bit is added with only a value corresponding to a communication port to be opened among the plurality of bits being a predetermined value.
の通信ポートを介して通信を行う通信方法であって、 前記通信ポートをオープンすることを指令するコード
に、複数の通信ポートに対応する複数ビットを付加した
オープンコマンドを、前記複数ビットのうちの、オープ
ンする通信ポートに対応するものだけを所定値にして送
信することを特徴とする通信方法。2. A communication method for opening a communication port of a communication partner and performing communication via the communication port, wherein a code instructing to open the communication port includes a plurality of codes corresponding to a plurality of communication ports. A communication method, characterized in that an open command to which bits are added is transmitted with a predetermined value of only a plurality of bits corresponding to a communication port to be opened.
ンコマンドに対応して、前記通信ポートをオープンして
通信を行う通信装置であって、 前記オープンコマンドが、前記通信ポートをオープンす
ることを指令するコードに、複数の通信ポートに対応す
る複数ビットを付加したものである場合において、 前記オープンコマンドを受信する受信手段と、 前記オープンコマンドにおける前記複数ビットのうちの
自身に対応するビットが所定値になっているかどうかを
確認する確認手段と、 前記確認手段の確認結果に対応して、前記通信ポートを
オープンする処理を行う処理手段とを備えることを特徴
とする通信装置。3. A communication device for performing communication by opening said communication port in response to an open command for opening a communication port, wherein said open command instructs to open said communication port. In a case where a plurality of bits corresponding to a plurality of communication ports are added to a code, a receiving unit that receives the open command, and a bit corresponding to itself among the plurality of bits in the open command has a predetermined value. A communication device, comprising: a confirmation unit for confirming whether the communication port has been opened; and a processing unit for performing a process of opening the communication port in accordance with a confirmation result of the confirmation unit.
前記複数ビットのうちの自身に対応するビットを変更す
る変更手段をさらに備えることを特徴とする請求項3に
記載の通信装置。4. When the communication port is opened,
4. The communication device according to claim 3, further comprising a changing unit configured to change a bit corresponding to itself among the plurality of bits.
ンコマンドに対応して、前記通信ポートをオープンして
通信を行う通信方法であって、 前記オープンコマンドが、前記通信ポートをオープンす
ることを指令するコードに、複数の通信ポートに対応す
る複数ビットを付加したものである場合において、 前記オープンコマンドにおける前記複数ビットのうちの
自身に対応するビットが所定値になっているときに、前
記通信ポートをオープンすることを特徴とする通信方
法。5. A communication method for performing communication by opening said communication port in response to an open command for opening a communication port, wherein said open command instructs to open said communication port. In a case where a plurality of bits corresponding to a plurality of communication ports are added to a code, when a bit corresponding to itself among the plurality of bits in the open command has a predetermined value, the communication port is set to a predetermined value. A communication method characterized by being opened.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9175500A JPH1127338A (en) | 1997-07-01 | 1997-07-01 | Communication device and communication method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9175500A JPH1127338A (en) | 1997-07-01 | 1997-07-01 | Communication device and communication method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH1127338A true JPH1127338A (en) | 1999-01-29 |
Family
ID=15997136
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP9175500A Withdrawn JPH1127338A (en) | 1997-07-01 | 1997-07-01 | Communication device and communication method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH1127338A (en) |
-
1997
- 1997-07-01 JP JP9175500A patent/JPH1127338A/en not_active Withdrawn
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2699991B2 (en) | Data frame transmission method | |
| EP0422914B1 (en) | Station-to-station full duplex communication in a communications network | |
| CN104995873B (en) | Data transfer using protocol exception status | |
| US5742602A (en) | Adaptive repeater system | |
| EP0439008B1 (en) | Station-to-station full duplex communication in a token ring local area network | |
| US5235592A (en) | Dynamic switch protocols on a shared medium network | |
| US4939724A (en) | Cluster link interface for a local area network | |
| US4761646A (en) | Method and system for addressing and controlling a network of modems | |
| EP1198105A2 (en) | High speed transmission line interface | |
| JP3857317B2 (en) | Automatic negotiation progress monitor | |
| JPS59144243A (en) | Variable time division communication system station apparatus | |
| US6741566B1 (en) | Remote management ethernet network and device | |
| JP2010525644A (en) | Packet switching device and local communication network comprising such a packet switching device | |
| US7177283B2 (en) | Transmitting and receiving circuit and transmitting and receiving method | |
| Hartwich et al. | Introducing can xl into can networks | |
| US6980616B1 (en) | Transmission method and device | |
| US20100296519A1 (en) | Ethernet Physical Layer Repeater | |
| US10162777B2 (en) | Transmission unit with checking function | |
| US6219353B1 (en) | Message hub | |
| JP2006180510A (en) | Method for controlling transfer of short data telegram | |
| US5703883A (en) | Expandable repeater controller | |
| JP2006519532A5 (en) | ||
| JP2006519532A (en) | Synchronous multi-cluster network architecture | |
| EP0240873A2 (en) | I/O Handler | |
| JPH1127338A (en) | Communication device and communication method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20040907 |