JP2007184710A - Information processing apparatus and method, and program - Google Patents

Information processing apparatus and method, and program Download PDF

Info

Publication number
JP2007184710A
JP2007184710A JP2006000647A JP2006000647A JP2007184710A JP 2007184710 A JP2007184710 A JP 2007184710A JP 2006000647 A JP2006000647 A JP 2006000647A JP 2006000647 A JP2006000647 A JP 2006000647A JP 2007184710 A JP2007184710 A JP 2007184710A
Authority
JP
Japan
Prior art keywords
network communication
communication device
command
data
network
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
Application number
JP2006000647A
Other languages
Japanese (ja)
Inventor
Shika O
止戈 王
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP2006000647A priority Critical patent/JP2007184710A/en
Publication of JP2007184710A publication Critical patent/JP2007184710A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a technology capable of providing high-speed communication and improving the reliability of the communication. <P>SOLUTION: A command processing section 121 supplies a sub command and data to a network communication apparatus 52A. When an abnormity discrimination section 122 refers to the transmission result information of a sub command stored in a log storage section 103A to discriminate that it is required to switch a network communication apparatus 52A whereby data are processed, the abnormity discrimination section 122 outputs a switching instruction to the command processing section 121. The command processing section 121 for receiving the switching instruction supplies a sub-command and data which are not transmitted to a network communication apparatus 52B which is switched. The technology can be applied to an information processing apparatus such as a computer. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、情報処理装置および方法、並びにプログラムに関し、特に、高速な通信を提供し、かつ、通信の信頼性を向上させることができるようにする情報処理装置および方法、並びにプログラムに関する。   The present invention relates to an information processing apparatus, method, and program, and more particularly, to an information processing apparatus, method, and program that can provide high-speed communication and improve communication reliability.

ブロードバンドのネットワークが普及し、高画質で再生時間の長いAV(Audio/Video)データなどの大容量のデータをネットワークで通信することが多くなってきている。それに伴い、大容量のデータを高速に(短時間で)通信するための技術が各種提案されている(例えば、特許文献1参照)。そのような技術の一つとして、TCP/IPのプロトコル処理を専用のハードウエア(チップ)で行わせるTOE(TCP/IP Offload Engine)と呼ばれる技術がある。   Broadband networks have become widespread, and large amounts of data such as AV (Audio / Video) data with high image quality and long playback time are often communicated over the network. Accordingly, various techniques for communicating large volumes of data at high speed (in a short time) have been proposed (see, for example, Patent Document 1). As one of such technologies, there is a technology called TOE (TCP / IP Offload Engine) in which TCP / IP protocol processing is performed by dedicated hardware (chip).

図1を参照して、従来のNIC(Network Interface Card)と、TOEを採用したNICであるネットワーク通信装置との違いについて説明する。   A difference between a conventional NIC (Network Interface Card) and a network communication apparatus that is a NIC adopting the TOE will be described with reference to FIG.

図1Aは、従来のNICを用いて通信を行う場合の構成例を示している。   FIG. 1A shows a configuration example when communication is performed using a conventional NIC.

コンピュータなどのCPU(Central Processing Unit)で実行されるソフトウエアであるユーザアプリケーション11は、データの演算処理や表示処理、または制御処理などの所定のアプリケーション処理(データ処理)を行う。ユーザアプリケーション11は、ネットワークに接続された他のコンピュータに送信する実データをOS(Operation System)12に供給する。   A user application 11 which is software executed by a CPU (Central Processing Unit) such as a computer performs predetermined application processing (data processing) such as data calculation processing, display processing, or control processing. The user application 11 supplies actual data to be transmitted to another computer connected to the network to an OS (Operation System) 12.

ユーザアプリケーション11と同様にCPUで実行されるOS12は、TCP処理部21とIP処理部22とを有し、そこで、ユーザアプリケーション11から供給された実データに対してTCP/IP(Transmission Control Protocol / Internet Protocol)プロトコル処理(TCP処理部21とIP処理部22それぞれが行う処理)を行い、NIC13に供給する。具体的には、TCP処理部21は、送信する実データにTCPヘッダを付加したTCPパケットを生成するとともに、コネクション管理、エラーの検出と訂正、フロー制御などを行う。IP処理部22は、IPパケットを生成する処理,IPアドレスとMAC(Media Access Control)アドレスの変換を行うARP(Address Resolution Protocol)処理,IPパケット配送の異常を通知するICMP(Internet Control Message Protocol)処理などを行う。   The OS 12 executed by the CPU in the same manner as the user application 11 has a TCP processing unit 21 and an IP processing unit 22, where TCP / IP (Transmission Control Protocol / IP) is applied to the actual data supplied from the user application 11. Internet Protocol) protocol processing (processing performed by each of the TCP processing unit 21 and the IP processing unit 22) is performed and supplied to the NIC 13. Specifically, the TCP processing unit 21 generates a TCP packet with a TCP header added to actual data to be transmitted, and performs connection management, error detection and correction, flow control, and the like. The IP processing unit 22 generates an IP packet, performs an ARP (Address Resolution Protocol) process for converting an IP address and a MAC (Media Access Control) address, and ICMP (Internet Control Message Protocol) for notifying an abnormal IP packet delivery. Perform processing.

NIC13は、MAC処理部23とPHY処理部24とを有している。MAC処理部23は、専用のハードウエアにより、IP処理部22からデータ(IPパケット)とMACアドレスなどの情報を受け取ってMACフレームを組み立てる(MAC処理)。PHY処理部24は、専用のハードウエアにより、MAC処理部23から供給されるMACフレームに対応するディジタルデータをアナログの信号に変換し、ネットワークに送出する(PHY処理)。   The NIC 13 has a MAC processing unit 23 and a PHY processing unit 24. The MAC processing unit 23 assembles a MAC frame by receiving data (IP packet) and information such as a MAC address from the IP processing unit 22 using dedicated hardware. The PHY processing unit 24 converts digital data corresponding to the MAC frame supplied from the MAC processing unit 23 into an analog signal using dedicated hardware, and sends the analog signal to the network (PHY processing).

図1Bは、ネットワーク通信装置を用いて通信を行う場合の構成例を示している。なお、図1Bにおいて、図1Aと対応する部分については同一の符号を付してあり、その説明は適宜省略する。   FIG. 1B shows a configuration example when communication is performed using a network communication device. In FIG. 1B, the same reference numerals are given to portions corresponding to those in FIG. 1A, and description thereof will be omitted as appropriate.

図1Aでは、OS12がTCP処理部21とIP処理部22を有していたのに対して、図1Bでは、ネットワーク通信装置32が、TCP処理部21とIP処理部22を、MAC処理部23およびPHY処理部24に加えて有している。   In FIG. 1A, the OS 12 has a TCP processing unit 21 and an IP processing unit 22, whereas in FIG. 1B, the network communication device 32 includes a TCP processing unit 21 and an IP processing unit 22, and a MAC processing unit 23. And in addition to the PHY processing unit 24.

ユーザアプリケーション31は、ユーザアプリケーション11と同様に、所定のアプリケーション処理(データ処理)を行って、他のコンピュータに送信する実データを、ネットワークに接続しているネットワーク通信装置32に供給する。TCP処理部21、IP処理部22、MAC処理部23、およびPHY処理部24のそれぞれは、図1Aを参照して上述した処理を専用のハードウエアにより行う。   Similar to the user application 11, the user application 31 performs predetermined application processing (data processing) and supplies actual data to be transmitted to another computer to the network communication device 32 connected to the network. Each of the TCP processing unit 21, the IP processing unit 22, the MAC processing unit 23, and the PHY processing unit 24 performs the processing described above with reference to FIG. 1A using dedicated hardware.

従って、図1Aにおける従来のNICを用いた通信では、TCP処理部21およびIP処理部22の機能がソフトウエア(OS12)で実現されていたのに対して、図1Bにおけるネットワーク通信装置32を用いた通信では、TCP処理部21およびIP処理部22の機能が専用のハードウエアで実現されるため、TCP/IPプロトコル処理を高速化することができる。また、ユーザアプリケーション31が実行されるCPUでは、TCP/IPプロトコル処理にかかる負荷が軽減されるため、アプリケーション処理自体も高速化される。   Accordingly, in the communication using the conventional NIC in FIG. 1A, the functions of the TCP processing unit 21 and the IP processing unit 22 are realized by software (OS 12), whereas the network communication device 32 in FIG. 1B is used. In the conventional communication, the functions of the TCP processing unit 21 and the IP processing unit 22 are realized by dedicated hardware, so that the TCP / IP protocol processing can be speeded up. Further, in the CPU on which the user application 31 is executed, the load on the TCP / IP protocol processing is reduced, so that the application processing itself is also speeded up.

従って、TOEを採用したネットワーク通信装置32を用いることにより、大容量のデータを、高速に通信することが可能となる。
特開2003−229905号公報
Therefore, by using the network communication device 32 that adopts the TOE, it becomes possible to communicate a large amount of data at high speed.
JP 2003-229905 A

しかしながら、ネットワーク通信装置は、ハードウエアの依存度が大きくなるため、ハードウエア障害による故障が致命的となるという問題がある。   However, the network communication apparatus has a problem that a failure due to a hardware failure becomes fatal because the degree of dependence on hardware increases.

本発明は、このような状況に鑑みてなされたものであり、高速な通信を提供し、かつ、通信の信頼性を向上させることができるようにするものである。   The present invention has been made in view of such a situation, and provides high-speed communication and improves communication reliability.

本発明の一側面の情報処理装置は、ネットワークと接続して通信するネットワーク通信装置を切替制御する情報処理装置であって、送信するデータを、前記ネットワーク通信装置の処理単位の送信データに分割して、動作中の前記ネットワーク通信装置に供給するデータ処理手段と、前記送信データに対して動作中の前記ネットワーク通信装置から返信されてくる送信結果情報に基づいて、前記ネットワーク通信装置を切替えるか否かを判定する判定手段と、前記ネットワーク通信装置を切替えると判定された場合、動作中の前記ネットワーク通信装置から、待機中の前記ネットワーク通信装置に、前記送信データを処理させるネットワーク通信装置を切替える切替手段とを備える。   An information processing apparatus according to an aspect of the present invention is an information processing apparatus that controls switching of a network communication apparatus that communicates by connecting to a network, and divides data to be transmitted into transmission data of a processing unit of the network communication apparatus. Whether to switch the network communication device based on data processing means to be supplied to the network communication device in operation and transmission result information returned from the network communication device in operation with respect to the transmission data. A switching unit that switches the network communication device that processes the transmission data from the operating network communication device to the standby network communication device when it is determined to switch the network communication device. Means.

前記判定手段には、前記ネットワーク通信装置を切替えると判定した場合、前記データ処理手段に切替指示を供給させ、前記データ処理手段には、前記送信データのリストをテーブルに記憶させ、前記判定手段から前記切替指示が供給された場合、前記テーブルに基づいて、未送信の前記送信データを、切替後の前記ネットワーク通信装置に供給させることができる。   If it is determined that the network communication device is to be switched, the determination unit causes the data processing unit to supply a switching instruction, the data processing unit stores the list of transmission data in a table, and the determination unit When the switching instruction is supplied, the untransmitted transmission data can be supplied to the network communication device after switching based on the table.

前記判定手段には、前記送信結果情報が前記ネットワーク通信装置のハードウエアエラーを表す場合に、前記ネットワーク通信装置を切替えると判定させることができる。   The determination unit may determine to switch the network communication device when the transmission result information represents a hardware error of the network communication device.

前記ネットワーク通信装置は、前記ネットワークとの接続をオンまたはオフする接続手段を有しており、前記切替手段には、動作中の前記ネットワーク通信装置に前記ネットワークとの接続をオフする指令を出力させ、待機中の前記ネットワーク通信装置に前記ネットワークとの接続をオンする指令を出力させることにより、前記送信データを処理させるネットワーク通信装置を切替えることができる。   The network communication device has connection means for turning on or off the connection with the network, and the switching means causes the network communication device in operation to output a command to turn off the connection with the network. The network communication device that processes the transmission data can be switched by outputting a command to turn on the connection to the network to the waiting network communication device.

前記送信結果情報をログとして記憶する記憶手段をさらに設け、前記判定手段には、前記記憶手段から前記送信結果情報を取得させることができる。   Storage means for storing the transmission result information as a log is further provided, and the determination means can acquire the transmission result information from the storage means.

本発明の一側面の情報処理方法は、ネットワークと接続して通信するネットワーク通信装置を切替制御する情報処理方法であって、送信するデータを、前記ネットワーク通信装置の処理単位の送信データに分割して、動作中の前記ネットワーク通信装置に供給し、前記送信データに対して動作中の前記ネットワーク通信装置から返信されてくる送信結果情報に基づいて、前記ネットワーク通信装置を切替えるか否かを判定し、前記ネットワーク通信装置を切替えると判定された場合、動作中の前記ネットワーク通信装置から、待機中の前記ネットワーク通信装置に、前記送信データを処理させるネットワーク通信装置を切替えるステップを含む。   An information processing method according to an aspect of the present invention is an information processing method for switching control of a network communication apparatus that communicates by connecting to a network, and divides data to be transmitted into transmission data of a processing unit of the network communication apparatus. Determining whether to switch the network communication device based on transmission result information supplied to the network communication device in operation and returned from the network communication device in operation for the transmission data. When it is determined that the network communication device is to be switched, the method includes the step of switching the network communication device that processes the transmission data from the operating network communication device to the waiting network communication device.

本発明の一側面のプログラムは、ネットワークと接続して通信するネットワーク通信装置の切替制御処理を、コンピュータに実行させるプログラムであって、送信するデータを、前記ネットワーク通信装置の処理単位の送信データに分割して、動作中の前記ネットワーク通信装置に供給し、前記送信データに対して動作中の前記ネットワーク通信装置から返信されてくる送信結果情報に基づいて、前記ネットワーク通信装置を切替えるか否かを判定し、前記ネットワーク通信装置を切替えると判定された場合、動作中の前記ネットワーク通信装置から、待機中の前記ネットワーク通信装置に、前記送信データを処理させるネットワーク通信装置を切替えるステップを含む。   A program according to one aspect of the present invention is a program that causes a computer to execute switching control processing of a network communication device that communicates by connecting to a network, and that transmits data to transmission data of a processing unit of the network communication device. Whether or not to switch the network communication device based on transmission result information returned from the network communication device in operation for the transmission data after being divided and supplied to the network communication device in operation Determining and switching the network communication device to switch the network communication device that processes the transmission data from the operating network communication device to the waiting network communication device.

本発明の一側面においては、送信するデータが、前記ネットワーク通信装置の処理単位の送信データに分割されて、動作中の前記ネットワーク通信装置に供給される。そして、前記送信データに対して動作中の前記ネットワーク通信装置から返信されてくる送信結果情報に基づいて、前記ネットワーク通信装置を切替えるか否かが判定され、前記ネットワーク通信装置を切替えると判定された場合、動作中の前記ネットワーク通信装置から、待機中の前記ネットワーク通信装置に、前記送信データを処理させるネットワーク通信装置が切替えられる。   In one aspect of the present invention, data to be transmitted is divided into transmission data for each processing unit of the network communication device and supplied to the network communication device in operation. Then, based on transmission result information returned from the network communication device in operation for the transmission data, it is determined whether to switch the network communication device, and it is determined to switch the network communication device. In this case, the network communication device that processes the transmission data is switched from the operating network communication device to the waiting network communication device.

ネットワークとは、少なくとも2つの装置が接続され、ある装置から、他の装置に対して、情報の伝達をできるようにした仕組みをいう。ネットワークを介して通信する装置は、独立した装置どうしであっても良いし、1つの装置を構成している内部ブロックどうしであっても良い。   The network is a mechanism in which at least two devices are connected and information can be transmitted from one device to another device. The devices that communicate via the network may be independent devices, or may be internal blocks that constitute one device.

また、通信とは、無線通信および有線通信は勿論、無線通信と有線通信とが混在した通信、即ち、ある区間では無線通信が行われ、他の区間では有線通信が行われるようなものであっても良い。さらに、ある装置から他の装置への通信が有線通信で行われ、他の装置からある装置への通信が無線通信で行われるようなものであっても良い。   The communication is not only wireless communication and wired communication, but also communication in which wireless communication and wired communication are mixed, that is, wireless communication is performed in a certain section and wired communication is performed in another section. May be. Further, communication from one device to another device may be performed by wired communication, and communication from another device to one device may be performed by wireless communication.

本発明の一側面によれば、高速な通信を提供し、かつ、通信の信頼性を向上させることができる。   According to one aspect of the present invention, high-speed communication can be provided and communication reliability can be improved.

以下に本発明の実施の形態を説明するが、本発明の構成要件と、明細書又は図面に記載の実施の形態との対応関係を例示すると、次のようになる。この記載は、本発明をサポートする実施の形態が、明細書又は図面に記載されていることを確認するためのものである。従って、明細書又は図面中には記載されているが、本発明の構成要件に対応する実施の形態として、ここには記載されていない実施の形態があったとしても、そのことは、その実施の形態が、その構成要件に対応するものではないことを意味するものではない。逆に、実施の形態が構成要件に対応するものとしてここに記載されていたとしても、そのことは、その実施の形態が、その構成要件以外の構成要件には対応しないものであることを意味するものでもない。   Embodiments of the present invention will be described below. Correspondences between the constituent elements of the present invention and the embodiments described in the specification or the drawings are exemplified as follows. This description is intended to confirm that the embodiments supporting the present invention are described in the specification or the drawings. Therefore, even if there is an embodiment which is described in the specification or the drawings but is not described here as an embodiment corresponding to the constituent elements of the present invention, that is not the case. It does not mean that the form does not correspond to the constituent requirements. Conversely, even if an embodiment is described here as corresponding to a configuration requirement, that means that the embodiment does not correspond to a configuration requirement other than the configuration requirement. It's not something to do.

本発明の一側面の情報処理装置は、ネットワークと接続して通信するネットワーク通信装置を切替制御する情報処理装置(例えば、図2のコンピュータ51)であって、送信するデータを、前記ネットワーク通信装置の処理単位の送信データに分割して、動作中の前記ネットワーク通信装置に供給するデータ処理手段(例えば、図3のコマンド処理部121)と、前記送信データに対して動作中の前記ネットワーク通信装置から返信されてくる送信結果情報に基づいて、前記ネットワーク通信装置を切替えるか否かを判定する判定手段(例えば、図3の異常判定部122)と、前記ネットワーク通信装置を切替えると判定された場合、動作中の前記ネットワーク通信装置から、待機中の前記ネットワーク通信装置に、前記送信データを処理させるネットワーク通信装置を切替える切替手段(例えば、図3の切替部123)とを備える。   An information processing apparatus according to one aspect of the present invention is an information processing apparatus (for example, the computer 51 in FIG. 2) that switches and controls a network communication apparatus that communicates by connecting to a network. Data processing means (for example, command processing unit 121 in FIG. 3) that is divided into transmission data of the processing unit and supplied to the network communication device in operation, and the network communication device in operation with respect to the transmission data When it is determined based on the transmission result information sent back from the determination means for determining whether to switch the network communication device (for example, the abnormality determination unit 122 in FIG. 3) and to switch the network communication device The transmission data is processed from the active network communication device to the standby network communication device. Switching means (e.g., switching unit 123 of FIG. 3) to switch the network communication device that comprises a.

この情報処理装置は、前記送信結果情報をログとして記憶する記憶手段(例えば、図3のログ記憶部103A)をさらに備え、前記判定手段は、前記記憶手段から前記送信結果情報を取得する。   The information processing apparatus further includes a storage unit (for example, the log storage unit 103A in FIG. 3) that stores the transmission result information as a log, and the determination unit acquires the transmission result information from the storage unit.

本発明の一側面の情報処理方法またはプログラムは、送信するデータを、前記ネットワーク通信装置の処理単位の送信データに分割して、動作中の前記ネットワーク通信装置に供給し(例えば、図10のステップS13)、前記送信データに対して動作中の前記ネットワーク通信装置から返信されてくる送信結果情報に基づいて、前記ネットワーク通信装置を切替えるか否かを判定し(例えば、図10のステップS16)、前記ネットワーク通信装置を切替えると判定された場合、動作中の前記ネットワーク通信装置から、待機中の前記ネットワーク通信装置に、前記送信データを処理させるネットワーク通信装置を切替える(例えば、図10のステップS21)ステップを含む。   An information processing method or program according to an aspect of the present invention divides data to be transmitted into transmission data for each processing unit of the network communication device, and supplies the data to the network communication device in operation (for example, step of FIG. 10). S13), based on transmission result information returned from the network communication device in operation for the transmission data, it is determined whether or not to switch the network communication device (for example, step S16 in FIG. 10), When it is determined that the network communication device is to be switched, the network communication device that is processing the transmission data is switched from the network communication device that is operating to the network communication device that is waiting (for example, step S21 in FIG. 10). Includes steps.

以下、図を参照して、本発明の実施の形態について説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図2は、本発明を適用したコンピュータ(情報処理装置)の一実施の形態の構成例を示している。   FIG. 2 shows a configuration example of an embodiment of a computer (information processing apparatus) to which the present invention is applied.

図2のコンピュータ51は、CPU(Central Processing Unit)61、ROM(Read Only Memory)62、RAM(Random Access Memory)63、バス64、入出力インタフェース65、入力部66、出力部67、記憶部68、およびドライブ69により構成されている。   2 includes a CPU (Central Processing Unit) 61, a ROM (Read Only Memory) 62, a RAM (Random Access Memory) 63, a bus 64, an input / output interface 65, an input unit 66, an output unit 67, and a storage unit 68. , And a drive 69.

また、コンピュータ51には、カード形状のネットワーク通信装置52Aおよび52Bが装着され、入出力インタフェース65と接続されている。ネットワーク通信装置52Aおよび52Bは、そのいずれか一方だけがコンピュータ51(のCPU61)により有効とされ、有効とされたネットワーク通信装置52Aまたは52Bが、インターネットやローカルエリアネットワークなどであるネットワーク53と接続し、入出力インタフェース65などを介してCPU61から供給されるデータを、ネットワーク53に接続している他のコンピュータ(図示せず)に送信する。   The computer 51 is equipped with card-shaped network communication devices 52 A and 52 B and connected to the input / output interface 65. Only one of the network communication devices 52A and 52B is validated by the computer 51 (the CPU 61), and the validated network communication device 52A or 52B is connected to the network 53 such as the Internet or a local area network. Then, the data supplied from the CPU 61 via the input / output interface 65 is transmitted to another computer (not shown) connected to the network 53.

CPU61は、ROM62、または記憶部68に記憶されているプログラム(OS(Operating System)プログラムやアプリケーションプログラム)に従って各種の処理を実行する。RAM63には、CPU61で実行されるプログラムやプログラムが一時的に必要となるデータなどが適宜記憶される。これらのCPU61、ROM62、およびRAM63は、バス64により相互に接続されている。   The CPU 61 executes various processes according to programs (OS (Operating System) programs and application programs) stored in the ROM 62 or the storage unit 68. The RAM 63 appropriately stores programs to be executed by the CPU 61 and data temporarily required for the programs. The CPU 61, the ROM 62, and the RAM 63 are connected to each other by a bus 64.

CPU61にはまた、バス64を介して入出力インタフェース65が接続されている。入出力インタフェース65には、キーボード、マウス、マイクロホンなどよりなる入力部66、CRT(Cathode Ray Tube)、LCD(Liquid Crystal display)などよりなるディスプレイ、スピーカなどよりなる出力部67が接続されている。CPU61は、入力部66から入力される指令に対応して各種の処理を実行する。そして、CPU61は、処理の結果を出力部67に出力する。   An input / output interface 65 is also connected to the CPU 61 via the bus 64. The input / output interface 65 is connected to an input unit 66 such as a keyboard, a mouse, and a microphone, a display such as a CRT (Cathode Ray Tube) and an LCD (Liquid Crystal display), and an output unit 67 such as a speaker. The CPU 61 executes various processes in response to commands input from the input unit 66. Then, the CPU 61 outputs the processing result to the output unit 67.

入出力インタフェース65に接続されている記憶部68は、例えばハードディスクからなり、CPU61が実行するプログラムや各種のデータを記憶する。   The storage unit 68 connected to the input / output interface 65 is composed of, for example, a hard disk, and stores programs executed by the CPU 61 and various data.

入出力インタフェース65に接続されているドライブ69は、磁気ディスク、光ディスク、光磁気ディスク、或いは半導体メモリなどのリムーバブルメディア70が装着されたとき、それらを駆動し、そこに記録されているプログラムやデータなどを取得する。取得されたプログラムやデータは、必要に応じて記憶部68に転送され、記憶される。また、プログラムやデータは、ネットワーク通信装置52Aまたは52Bを介して取得され、記憶部68に記憶されてもよい。   The drive 69 connected to the input / output interface 65 drives a removable medium 70 such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory, and drives them to store programs and data recorded therein. Get etc. The acquired program and data are transferred to and stored in the storage unit 68 as necessary. The program and data may be acquired via the network communication device 52A or 52B and stored in the storage unit 68.

ネットワーク通信装置52Aおよび52Bは、図1を参照して上述したネットワーク通信装置32と同様のネットワーク通信装置である。即ち、ネットワーク通信装置52Aは、MAC処理およびPHY処理を行う専用のハードウエア(図示せず)と、TCP/IPプロトコル処理を行う専用のハードウエアであるTOE処理部81Aと、電気的または物理的にネットワーク53との接続または切断を行うSW(スイッチ)82Aを有している。ネットワーク通信装置52Bも、同様にTOE処理部81BとSW82Bを有している。なお、MAC処理、PHY処理、TCP処理、およびIP処理は、それぞれ異なる専用のハードウエアで行うようにしてもよいし、複数の処理を1つのハードウエアで行うようにしてもよい。   The network communication devices 52A and 52B are network communication devices similar to the network communication device 32 described above with reference to FIG. That is, the network communication device 52A includes dedicated hardware (not shown) that performs MAC processing and PHY processing, and a TOE processing unit 81A that is dedicated hardware that performs TCP / IP protocol processing. And a switch (switch) 82A for connecting to or disconnecting from the network 53. Similarly, the network communication device 52B includes a TOE processing unit 81B and a SW 82B. Note that MAC processing, PHY processing, TCP processing, and IP processing may be performed by different dedicated hardware, or a plurality of processing may be performed by one hardware.

ネットワーク通信装置52A(52B)は、コンピュータ51(のCPU61)からオン指令またはオフ指令を受け取ると、SW82A(82B)により、ネットワーク53との接続をオンまたはオフさせる。なお、以下において、ネットワーク通信装置52Aと52Bを特に区別する必要がない場合には、ネットワーク通信装置52と称し、TOE処理部81Aおよび81B並びにSW82Aおよび82Bについても同様に、TOE処理部81並びにSW82と称する。   When the network communication device 52A (52B) receives an on command or an off command from the computer 51 (the CPU 61), the network communication device 52A (52B) turns the connection with the network 53 on or off by the SW 82A (82B). Hereinafter, when it is not necessary to distinguish the network communication devices 52A and 52B from each other, they are referred to as the network communication device 52, and the TOE processing units 81A and 81B and the SWs 82A and 82B are similarly configured with the TOE processing units 81 and SW82. Called.

図3は、ネットワーク通信装置52を介して通信を行うコンピュータ51の機能ブロック図を示している。   FIG. 3 is a functional block diagram of the computer 51 that performs communication via the network communication device 52.

コンピュータ51は、ユーザアプリケーション101、装置管理アプリケーション102、ログ記憶部103A、およびログ記憶部103Bにより構成される。ここで、ユーザアプリケーション101および装置管理アプリケーション102は、図2のCPU61およびRAM63に対応し、ログ記憶部103Aおよび103Bは、図2の記憶部68に対応する。   The computer 51 includes a user application 101, a device management application 102, a log storage unit 103A, and a log storage unit 103B. Here, the user application 101 and the device management application 102 correspond to the CPU 61 and the RAM 63 in FIG. 2, and the log storage units 103A and 103B correspond to the storage unit 68 in FIG.

ユーザアプリケーション101は、図1Bのユーザアプリケーション31と同様に、データの演算処理や表示処理、または制御処理などの所定のアプリケーション処理(データ処理)を行って、図示せぬ他のコンピュータに送信する実データをコマンドとともに装置管理アプリケーション102に供給する。   Similar to the user application 31 in FIG. 1B, the user application 101 performs predetermined application processing (data processing) such as data calculation processing, display processing, or control processing, and transmits it to another computer (not shown). Data is supplied to the device management application 102 together with the command.

装置管理アプリケーション102は、コマンド処理部121、異常判定部122、および切替部123から構成され、コンピュータ51に装着されているネットワーク通信装置52Aおよび52Bを管理(切替制御)する。具体的には、装置管理アプリケーション102は、最初に、ネットワーク通信装置52Aおよび52Bのいずれか一方のみを有効として動作させ、動作中のネットワーク通信装置52に障害が発生した場合に、他方の待機中のネットワーク通信装置52を有効として動作させる。なお、以下では、最初に有効とされるネットワーク通信装置52が、ネットワーク通信装置52Aであるとして説明する。   The device management application 102 includes a command processing unit 121, an abnormality determination unit 122, and a switching unit 123, and manages (switches) the network communication devices 52A and 52B attached to the computer 51. Specifically, the device management application 102 first activates only one of the network communication devices 52A and 52B, and waits for the other when a failure occurs in the operating network communication device 52. The network communication device 52 is operated as valid. In the following description, it is assumed that the network communication device 52 that is initially valid is the network communication device 52A.

また、装置管理アプリケーション102は、ユーザアプリケーション101からの実データを、動作中のネットワーク通信装置52Aまたは52Bに送信させる。   In addition, the device management application 102 causes the actual data from the user application 101 to be transmitted to the operating network communication device 52A or 52B.

コマンド処理部121は、ユーザアプリケーション101から供給されるコマンドと実データを受け取り、受け取った実データをネットワーク通信装置52の処理単位である組み上げサイズの分割データ(送信データ)に分割する。そして、コマンド処理部121は、分割データに対応させて子コマンドを生成する。さらに、コマンド処理部121は、生成した子コマンドに、子コマンドをユニークに識別するコマンドIDを送信順に付加して、コマンドテーブル(メモリ)にキャッシュする(記憶させる)。   The command processing unit 121 receives a command and actual data supplied from the user application 101, and divides the received actual data into assembly size divided data (transmission data) that is a processing unit of the network communication device 52. Then, the command processing unit 121 generates a child command corresponding to the divided data. Further, the command processing unit 121 adds a command ID that uniquely identifies the child command to the generated child command in the order of transmission, and caches (stores) the command ID in the command table (memory).

なお、組み上げサイズは、デフォルトとして、ネットワーク通信装置52が処理することができる最大フレームサイズに設定されているが、ユーザアプリケーション101からの組み上げサイズを設定する設定コマンドや、ネットワーク通信装置52を介して取得したネットワーク53のトラフィック状況に応じて、(最大フレームサイズ以下のフレームサイズで)適宜変更することができる。   The assembly size is set to the maximum frame size that can be processed by the network communication device 52 as a default. However, the assembly size is set via the setting command from the user application 101 or the network communication device 52. Depending on the acquired traffic status of the network 53, it can be appropriately changed (with a frame size equal to or smaller than the maximum frame size).

コマンド処理部121は、送信順に付与されているコマンドIDに基づいて、コマンドテーブルにキャッシュされている子コマンドと分割データを、順次、ネットワーク通信装置52Aに供給する。また、コマンド処理部121は、正常に送信されたことを表す正常終了ステータスが異常判定部122から供給された子コマンドを、コマンドテーブルから削除する。従って、コマンドテーブルは、未送信の分割データのリストを意味する。コマンド処理部121は、1つのコマンドに対応する全ての分割データが正常に送信されたとき、実データが正常に送信されたことを表すコマンド結果情報を、実行結果としてユーザアプリケーション101に返信する。   The command processing unit 121 sequentially supplies the child commands and the divided data cached in the command table to the network communication device 52A based on the command IDs assigned in the transmission order. In addition, the command processing unit 121 deletes, from the command table, the child command to which the normal end status indicating that it has been transmitted normally is supplied from the abnormality determination unit 122. Therefore, the command table means a list of untransmitted divided data. When all the divided data corresponding to one command are normally transmitted, the command processing unit 121 returns command result information indicating that the actual data is normally transmitted to the user application 101 as an execution result.

なお、コマンド処理部121には、正常終了ステータスの他に、再送指示や切替指示が異常判定部122から供給されることがある。再送指示が異常判定部122から供給された場合、コマンド処理部121は、再送指示で指定された子コマンドをコマンドテーブルから検索し、検索された子コマンドとその分割データをネットワーク通信装置52Aに供給する(再送させる)。切替指示が異常判定部122から供給された場合、コマンド処理部121は、子コマンドの供給先を、動作中のネットワーク通信装置52Aから待機中のネットワーク通信装置52Bに切替える。   In addition to the normal completion status, a retransmission instruction or a switching instruction may be supplied from the abnormality determination unit 122 to the command processing unit 121. When the retransmission instruction is supplied from the abnormality determination unit 122, the command processing unit 121 searches the command table for the child command specified by the retransmission instruction, and supplies the searched child command and its divided data to the network communication device 52A. (Resend) When the switching instruction is supplied from the abnormality determination unit 122, the command processing unit 121 switches the supply destination of the child command from the active network communication device 52A to the standby network communication device 52B.

異常判定部122は、ログ記憶部103Aまたは103Bに記憶されている状態テーブルから子コマンドの送信結果情報を取得する。この送信結果情報には、ネットワーク通信装置52が子コマンドを処理した時刻、処理した子コマンドのコマンドID、およびステータスコードが含まれる。なお、時刻には、日付け(年月日)も含まれており、ステータスコードは、例えば、子コマンドが正常に処理されたことや、ネットワーク通信装置52のハードウエアトラブル(ネットワーク通信装置52の状態情報)などを表すコードである。   The abnormality determination unit 122 acquires the transmission result information of the child command from the state table stored in the log storage unit 103A or 103B. This transmission result information includes the time when the network communication device 52 processed the child command, the command ID of the processed child command, and the status code. The time also includes the date (year / month / day), and the status code indicates, for example, that the child command has been processed normally, or that a hardware trouble has occurred in the network communication device 52 (in the network communication device 52). This is a code representing status information).

異常判定部122は、取得した送信結果情報に基づいて、子コマンドを処理させるネットワーク通信装置52を、動作中のネットワーク通信装置52Aから待機中のネットワーク通信装置52Bに切替える必要があるか否かを判定する。異常判定部122は、ネットワーク通信装置52を切替える必要があると判定した場合、切替指示をコマンド処理部121と切替部123に供給し、切替える必要がないと判定した場合、子コマンドのステータスコードに対応する正常終了ステータスまたは再送指示をコマンド処理部121に供給する。   Based on the acquired transmission result information, the abnormality determination unit 122 determines whether or not the network communication device 52 that processes the child command needs to be switched from the active network communication device 52A to the standby network communication device 52B. judge. When it is determined that the network communication device 52 needs to be switched, the abnormality determination unit 122 supplies a switching instruction to the command processing unit 121 and the switching unit 123. When it is determined that switching is not necessary, the abnormality determination unit 122 sets the status code of the child command. The corresponding normal end status or retransmission instruction is supplied to the command processing unit 121.

切替部123は、異常判定部122から切替指示が供給された場合、動作中のネットワーク通信装置52Aから、待機中のネットワーク通信装置52Bに、処理させるネットワーク通信装置を切替える。より具体的には、切替部123は、動作中のネットワーク通信装置52Aにネットワーク53との接続をオフする指令(オフ指令)を出力し、待機中のネットワーク通信装置52Bにネットワーク53との接続をオンする指令(オン指令)を出力する。なお、コンピュータ51の起動直後には、切替部123は、最初に有効とされるネットワーク通信装置52Aにオン指令を出力し、ネットワーク通信装置52Bにオフ指令を出力する。   When the switching instruction is supplied from the abnormality determination unit 122, the switching unit 123 switches the network communication device to be processed from the operating network communication device 52A to the standby network communication device 52B. More specifically, the switching unit 123 outputs a command (off command) for turning off the connection with the network 53 to the operating network communication device 52A, and connects the network 53 to the standby network communication device 52B. A command to turn on (on command) is output. Note that immediately after the computer 51 is started up, the switching unit 123 outputs an ON command to the network communication device 52A that is initially enabled, and outputs an OFF command to the network communication device 52B.

ログ記憶部103Aは、ネットワーク通信装置52Aから供給される子コマンドの送信結果情報を、ログとしての状態テーブルに記憶する。この状態テーブルでは、ネットワーク通信装置52Aから供給される子コマンドの送信結果情報が時系列に記憶され、送信結果情報の数が予め決められた所定数に達した場合、時刻の最も古い送信結果情報が削除されて、その代わりに、新しく供給された送信結果情報が記憶されるようになされている。ログ記憶部103Bは、送信結果情報を出力してくる装置がネットワーク通信装置52Bであること以外は、ログ記憶部103Aと同様である。   The log storage unit 103A stores child command transmission result information supplied from the network communication device 52A in a status table as a log. In this state table, transmission result information of child commands supplied from the network communication device 52A is stored in time series, and when the number of transmission result information reaches a predetermined number, transmission result information with the oldest time is transmitted. Is deleted, and instead, newly supplied transmission result information is stored. The log storage unit 103B is the same as the log storage unit 103A except that the device that outputs the transmission result information is the network communication device 52B.

以上のように構成されるコンピュータ51では、コマンド処理部121からネットワーク通信装置52Aに供給された子コマンドに対しての送信結果情報が、ログ記憶部103Aの状態テーブルに記憶される。異常判定部122は、状態テーブルを参照して、処理させるネットワーク通信装置52を切替える必要があると判定した場合、コマンド処理部121に切替指示を出力する。切替指示を受け取ったコマンド処理部121は、コマンドテーブルに残っている未送信の子コマンドと分割データを、切替後のネットワーク通信装置52Bに供給する。   In the computer 51 configured as described above, transmission result information for the child command supplied from the command processing unit 121 to the network communication device 52A is stored in the state table of the log storage unit 103A. If the abnormality determination unit 122 determines that it is necessary to switch the network communication device 52 to be processed with reference to the state table, the abnormality determination unit 122 outputs a switching instruction to the command processing unit 121. Receiving the switching instruction, the command processing unit 121 supplies the untransmitted child commands and the divided data remaining in the command table to the switched network communication device 52B.

図4は、送信結果情報に含まれるステータスコードの一覧を示している。   FIG. 4 shows a list of status codes included in the transmission result information.

子コマンドの送信結果情報には、ステータスコードとして“600”乃至“607”のいずれかの数字が含まれる。   The child command transmission result information includes any number from “600” to “607” as the status code.

ステータスコード“600”は、子コマンドが正常に終了した(送信された)ことを表す。ステータスコード“601”は、タイムアウトが発生したことを表す。ステータスコード“602”は、チェックサムエラーが発生したことを表す。ステータスコード“603”は、ネットワーク53との接続が切れたことを表す。ステータスコード“604”は、ルートが無効であることを表す。ステータスコード“605”は、TOE処理を行うハードウエア(TOE処理部81)にトラブル(TOEハードウエアトラブル)が発生したことを表す。ステータスコード“606”は、TOEドライバが無効であることを表す。ステータスコード“607”は、未知のエラー、換言すれば、ステータスコード“600”乃至“606”以外のエラーであることを表す。   The status code “600” indicates that the child command has been normally completed (sent). The status code “601” indicates that a timeout has occurred. The status code “602” indicates that a checksum error has occurred. The status code “603” indicates that the connection with the network 53 has been lost. The status code “604” represents that the route is invalid. The status code “605” indicates that a trouble (TOE hardware trouble) has occurred in the hardware (TOE processing unit 81) that performs the TOE processing. The status code “606” indicates that the TOE driver is invalid. The status code “607” represents an unknown error, in other words, an error other than the status codes “600” to “606”.

以上のステータスコードのうち、異常判定部122がネットワーク通信装置52を切替える必要があると判定するのは、ネットワーク通信装置52が処理できないハードウエアトラブルが発生した場合であり、即ち、“605”乃至“607”のステータスコードが送信結果情報として状態テーブルに記憶されていた場合である。   Among the above status codes, the abnormality determination unit 122 determines that the network communication device 52 needs to be switched when a hardware trouble that cannot be processed by the network communication device 52 occurs, that is, “605” to This is a case where the status code “607” is stored in the state table as transmission result information.

次に、実データとしての画像ファイルがユーザアプリケーション101から装置管理アプリケーション102に供給された場合の処理について説明する。   Next, processing when an image file as actual data is supplied from the user application 101 to the device management application 102 will be described.

ユーザアプリケーション101が画像ファイルを他のコンピュータに送信する場合、画像ファイルとともに図5に示すコマンドが、ユーザアプリケーション101からコマンド処理部121に供給されてくる。   When the user application 101 transmits an image file to another computer, the command shown in FIG. 5 is supplied from the user application 101 to the command processing unit 121 together with the image file.

図5に示すコマンドは、sendFile (socketID, destinationAddress, fileID, dataLength)のフォーマットとなっており、sendFileがファイルの送信を表すコマンドであり、それに引数として、ソケットを識別するソケットID(socketID)、送信相手のアドレスである宛先アドレス(destinationAddress)、画像ファイル(実データ)を識別するファイルID(fileID)、および画像ファイルのデータ長(データサイズ)(dataLength)が与えられている。なお、データ長の単位はメガバイト(以下、MBと称する)である。   The command shown in FIG. 5 is in the format of sendFile (socketID, destinationAddress, fileID, dataLength), where sendFile is a command that indicates the transmission of the file, and the socket ID (socketID) that identifies the socket is sent as an argument to the command. A destination address (destinationAddress) which is the address of the other party, a file ID (fileID) for identifying the image file (actual data), and a data length (data length) of the image file (dataLength) are given. The unit of data length is megabyte (hereinafter referred to as MB).

従って、図5は、ソケットID、宛先アドレス、ファイルID、およびデータ長として、“sock1”,“host1”,“file1”、および“1000”が引数として指定されたコマンドsendFileが、“file1”で識別される画像ファイルとともに、ユーザアプリケーション101からコマンド処理部121に供給されることを意味している。   Accordingly, in FIG. 5, the command sendFile in which “sock1”, “host1”, “file1”, and “1000” are specified as arguments as the socket ID, destination address, file ID, and data length is “file1”. This means that it is supplied from the user application 101 to the command processing unit 121 together with the identified image file.

コマンド処理部121は、“file1”で識別される画像ファイルを組み上げサイズに分割し、その結果得られる分割データに対して、それぞれ、sendAssemblePacket (socketID, destinationAddress, fileID, assemblePacketID, dataLength)のフォーマットの子コマンドを生成する。ここで、sendAssemblePacketはファイルの送信を表す子コマンドであり、socketID,destinationAddress,fileID,assemblePacketID、およびdataLengthそれぞれは、ソケットID、宛先アドレス、ファイルID、分割データを識別する分割データID、および分割データのデータ長を表す引数である。なお、組み上げサイズは、300MBとなっている。   The command processing unit 121 divides the image file identified by “file1” into assembly sizes, and each of the divided data obtained as a result is a child of the format of sendAssemblePacket (socketID, destinationAddress, fileID, assemblePacketID, dataLength). Generate a command. Here, sendAssemblePacket is a child command that indicates file transmission. SocketID, destinationAddress, fileID, assemblePacketID, and dataLength are socket ID, destination address, file ID, divided data ID that identifies the divided data, and divided data ID This is an argument that represents the data length. The assembly size is 300 MB.

従って、1000MBの画像ファイルが、300MBの分割データ、300MBの分割データ、300MBの分割データ、および100MBの分割データに分割され、それぞれに対して、sendAssemblePacket (sock1, host1, file1, assemblePacket1, 300),sendAssemblePacket (sock1, host1, file1, assemblePacket2, 300), sendAssemblePacket (sock1, host1, file1, assemblePacket3, 300)、およびsendAssemblePacket (sock1, host1, file1, assemblePacket4, 100)の4つの子コマンドが生成される。なお、実データ(画像ファイル)のデータ長が組み上げサイズよりも小さい場合には、コマンドと子コマンドは、1対1に対応する。   Therefore, a 1000 MB image file is divided into 300 MB divided data, 300 MB divided data, 300 MB divided data, and 100 MB divided data. For each, sendAssemblePacket (sock1, host1, file1, assemblePacket1, 300), Four child commands are generated: sendAssemblePacket (sock1, host1, file1, assemblePacket2, 300), sendAssemblePacket (sock1, host1, file1, assemblePacket3, 300), and sendAssemblePacket (sock1, host1, file1, assemblePacket4, 100). When the data length of actual data (image file) is smaller than the assembly size, the command and the child command correspond one-to-one.

そして、コマンド処理部121は、図6に示すように、生成した4つの子コマンドそれぞれにコマンドIDを付与してコマンドテーブルにキャッシュする。図6は、コマンドテーブルの例を示している。   Then, as illustrated in FIG. 6, the command processing unit 121 assigns a command ID to each of the generated four child commands and caches the command table. FIG. 6 shows an example of the command table.

コマンド処理部121は、sendAssemblePacket (sock1, host1, file1, assemblePacket1, 300)の子コマンドにはコマンドID“001”を付与し、sendAssemblePacket (sock1, host1, file1, assemblePacket2, 300)の子コマンドにはコマンドID“002”を付与し、sendAssemblePacket (sock1, host1, file1, assemblePacket3, 300)の子コマンドにはコマンドID“003”を付与し、sendAssemblePacket (sock1, host1, file1, assemblePacket4, 100)の子コマンドにはコマンドID“004”を付与して、コマンドテーブルにキャッシュする。   The command processing unit 121 assigns the command ID “001” to the child command of sendAssemblePacket (sock1, host1, file1, assemblePacket1, 300), and the command to the child command of sendAssemblePacket (sock1, host1, file1, assemblePacket2, 300). ID “002” is assigned, command ID “003” is assigned to the child command of sendAssemblePacket (sock1, host1, file1, assemblePacket3, 300), and child command of sendAssemblePacket (sock1, host1, file1, assemblePacket4, 100) is assigned. Assigns the command ID “004” and caches it in the command table.

図7は、図6のコマンドテーブルにキャッシュされているコマンドID“001”からコマンドID“003”までの子コマンドがコマンド処理部121からネットワーク通信装置52Aに供給された後の状態テーブルを示している。   FIG. 7 shows a state table after child commands from command ID “001” to command ID “003” cached in the command table of FIG. 6 are supplied from the command processing unit 121 to the network communication device 52A. Yes.

状態テーブルには、図7に示すように、最初に(時刻T1に)、送信結果情報として、時刻T1、コマンドID“001”、およびステータスコード“600”が記憶される。この送信結果情報は、時刻T1にコマンドID“001”の子コマンド(すなわち、assemblePacket1を送信するsendAssemblePacketコマンド)の送信が正常に終了したことを表している。   As shown in FIG. 7, the state table first stores time T1, command ID “001”, and status code “600” as transmission result information (at time T1). This transmission result information indicates that transmission of the child command with the command ID “001” (that is, the sendAssemblePacket command that transmits assemblePacket1) has been normally completed at time T1.

従って、ステータスコード“600”は、ネットワーク通信装置52の切替が必要となるステータスコードではないので(ステータスコード“605”乃至“607”ではないので)、異常判定部122は、ネットワーク通信装置52を切替える必要はないと判定する。そして、異常判定部122は、コマンドID“001”のステータスコード“600”に対応して、コマンドID“001”の正常終了ステータスをコマンド処理部121に供給する。   Accordingly, since the status code “600” is not a status code that requires switching of the network communication device 52 (not status codes “605” to “607”), the abnormality determination unit 122 sets the network communication device 52 to the network communication device 52. It is determined that there is no need to switch. Then, the abnormality determination unit 122 supplies the command processing unit 121 with the normal end status of the command ID “001” corresponding to the status code “600” of the command ID “001”.

コマンド処理部121は、コマンドID“001”の正常終了ステータスを異常判定部122から受け取ると、コマンドID“001”の子コマンドをコマンドテーブルから削除する。これにより、図6に示したコマンドテーブルは、図8に示す状態となる。そこで、コマンド処理部121は、コマンドID“002”の子コマンド(すなわち、assemblePacket2を送信するsendAssemblePacketコマンド)をネットワーク通信装置52Aに供給し、送信させる。   When the command processing unit 121 receives the normal end status of the command ID “001” from the abnormality determination unit 122, the command processing unit 121 deletes the child command of the command ID “001” from the command table. As a result, the command table shown in FIG. 6 is in the state shown in FIG. Therefore, the command processing unit 121 supplies the child command of the command ID “002” (that is, the sendAssemblePacket command that transmits assemblePacket2) to the network communication device 52A and causes it to be transmitted.

時刻T1より後の時刻T2に、時刻T2、コマンドID“002”、およびステータスコード“601”が送信結果情報として状態テーブル(図7)に記憶される。この送信結果情報は、時刻T2に処理したコマンドID“002”の子コマンドにタイムアウトが発生したことを表している。   At time T2 after time T1, time T2, command ID “002”, and status code “601” are stored in the state table (FIG. 7) as transmission result information. This transmission result information indicates that a timeout has occurred in the child command with the command ID “002” processed at time T2.

従って、ステータスコード“601”は、ネットワーク通信装置52の切替が必要となるステータスコードではないので、異常判定部122は、ネットワーク通信装置52を切替える必要はないと判定する。但し、ステータスコード“601”で表されるタイムアウトは、送信相手にassemblePacket2の分割データが届けられていないことを表しているため、異常判定部122は、コマンドID“002”のステータスコード“601”に対応して、コマンドID“002”の再送指示をコマンド処理部121に供給する。   Accordingly, since the status code “601” is not a status code that requires switching of the network communication device 52, the abnormality determination unit 122 determines that there is no need to switch the network communication device 52. However, since the timeout represented by the status code “601” indicates that the divided data of assemblePacket2 has not been delivered to the transmission partner, the abnormality determination unit 122 uses the status code “601” of the command ID “002”. In response to this, a retransmission instruction of the command ID “002” is supplied to the command processing unit 121.

コマンド処理部121は、コマンドID“002”の再送指示を異常判定部122から受け取ると、コマンドID“002”の子コマンドを再びネットワーク通信装置52Aに供給する。このときのコマンドテーブルは、図8に示す状態のままである。   When the command processing unit 121 receives a retransmission instruction of the command ID “002” from the abnormality determination unit 122, the command processing unit 121 supplies the child command of the command ID “002” to the network communication device 52A again. The command table at this time remains as shown in FIG.

時刻T2より後の時刻T3に、時刻T3、コマンドID“002”、およびステータスコード“600”が送信結果情報として状態テーブル(図7)に記憶される。この送信結果情報は、時刻T3にコマンドID“002”の子コマンドの送信が正常に終了したことを表している。   At time T3 after time T2, time T3, command ID “002”, and status code “600” are stored in the state table (FIG. 7) as transmission result information. This transmission result information indicates that transmission of the child command with the command ID “002” has been normally completed at time T3.

従って、ステータスコード“600”は、ネットワーク通信装置52の切替が必要となるステータスコードではないので、異常判定部122は、ネットワーク通信装置52を切替える必要はないと判定する。そして、異常判定部122は、コマンドID“002”のステータスコード“600”に対応して、コマンドID“002”の正常終了ステータスをコマンド処理部121に供給する。   Accordingly, since the status code “600” is not a status code that requires switching of the network communication device 52, the abnormality determination unit 122 determines that there is no need to switch the network communication device 52. Then, the abnormality determination unit 122 supplies the command processing unit 121 with the normal end status of the command ID “002” corresponding to the status code “600” of the command ID “002”.

コマンド処理部121は、コマンドID“002”の正常終了ステータスを異常判定部122から受け取ると、コマンドID“002”の子コマンドをコマンドテーブルから削除する。これにより、コマンドテーブルは、図8の状態から図9に示す状態となる。   When the command processing unit 121 receives the normal end status of the command ID “002” from the abnormality determination unit 122, the command processing unit 121 deletes the child command of the command ID “002” from the command table. As a result, the command table changes from the state shown in FIG. 8 to the state shown in FIG.

次に、コマンド処理部121は、コマンドID“003”の子コマンド(すなわち、assemblePacket3を送信するsendAssemblePacketコマンド)をネットワーク通信装置52Aに供給し、送信させる。   Next, the command processing unit 121 supplies the child command of the command ID “003” (that is, the sendAssemblePacket command that transmits assemblePacket3) to the network communication device 52A and causes it to be transmitted.

時刻T3より後の時刻T4に、時刻T4、コマンドID“003”、およびステータスコード“605”が送信結果情報として状態テーブル(図7)に記憶される。この送信結果情報は、時刻T4にコマンドID“003”の子コマンドを送信する際、TOE処理を行うハードウエアにトラブルが発生したことを表している。   At time T4 after time T3, time T4, command ID “003”, and status code “605” are stored in the state table (FIG. 7) as transmission result information. This transmission result information indicates that a trouble has occurred in the hardware that performs the TOE processing when the child command having the command ID “003” is transmitted at time T4.

ステータスコード“605”を取得した異常判定部122は、ネットワーク通信装置52を切替える必要があると判定し、切替指示をコマンド処理部121と切替部123に供給する。   The abnormality determination unit 122 that has acquired the status code “605” determines that the network communication device 52 needs to be switched, and supplies a switching instruction to the command processing unit 121 and the switching unit 123.

切替部123は、動作中のネットワーク通信装置52Aにオフ指令を出力し、待機中のネットワーク通信装置52Bにオン指令を出力することにより、処理させるネットワーク通信装置52を切替える。   The switching unit 123 switches the network communication device 52 to be processed by outputting an off command to the active network communication device 52A and outputting an on command to the standby network communication device 52B.

コマンド処理部121は、異常判定部122から切替指示を受け取ると、処理させるネットワーク通信装置52がネットワーク通信装置52Bとなったことを認識する。そして、コマンド処理部121は、コマンドテーブルに残っている未送信の子コマンドを、切替後のネットワーク通信装置52Bに供給するようにする。切替指示を受け取ったときのコマンドテーブルの状態は、図9に示す状態であるので、コマンド処理部121は、最初に、コマンドID“003”の子コマンドをネットワーク通信装置52Bに供給する。そして、コマンドID“003”の正常終了ステータスを受け取った後に、コマンドID“004”の次の子コマンドがコマンド処理部121からネットワーク通信装置52Bに供給される。   When receiving a switching instruction from the abnormality determination unit 122, the command processing unit 121 recognizes that the network communication device 52 to be processed is the network communication device 52B. Then, the command processing unit 121 supplies untransmitted child commands remaining in the command table to the switched network communication device 52B. Since the state of the command table when the switching instruction is received is the state shown in FIG. 9, the command processing unit 121 first supplies the child command of the command ID “003” to the network communication device 52B. After receiving the normal end status of the command ID “003”, the next child command of the command ID “004” is supplied from the command processing unit 121 to the network communication device 52B.

以上のように、異常判定部122は、新たな子コマンドの送信結果情報がログ記憶部103Aの状態テーブルに追加されるたびに、追加された子コマンドの送信結果情報を取得し、その送信結果情報に基づいて、処理させるネットワーク通信装置52を、動作中のネットワーク通信装置52Aから、待機中のネットワーク通信装置52Bに切替える必要があるか否かを判定する。   As described above, each time the new child command transmission result information is added to the status table of the log storage unit 103A, the abnormality determination unit 122 acquires the added child command transmission result information, and the transmission result. Based on the information, it is determined whether the network communication device 52 to be processed needs to be switched from the active network communication device 52A to the standby network communication device 52B.

そして、ネットワーク通信装置52を切替える必要があると判定された場合には、異常判定部122は、切替指示をコマンド処理部121と切替部123に供給し、切替える必要がないと判定された場合には、ステータスコードに対応する正常終了ステータスまたは再送指示をコマンド処理部121に供給する。   When it is determined that the network communication device 52 needs to be switched, the abnormality determination unit 122 supplies a switching instruction to the command processing unit 121 and the switching unit 123, and when it is determined that switching is not necessary. Supplies the command processing unit 121 with a normal end status or a retransmission instruction corresponding to the status code.

図10のフローチャートを参照して、ユーザアプリケーション101から供給される実データを送信する実データ送信処理について説明する。   With reference to the flowchart of FIG. 10, actual data transmission processing for transmitting actual data supplied from the user application 101 will be described.

初めに、ステップS11において、コマンド処理部121は、ユーザアプリケーション101からコマンドと実データを受け取り、ステップS12において、受け取った実データをネットワーク通信装置52Aの処理単位である組み上げサイズに分割する。また、ステップS12において、コマンド処理部121は、組み上げサイズにそれぞれ分割されて得られた分割データに対応させて子コマンドを生成する。これにより、例えば、図5に示すユーザアプリケーション101からのsendFileコマンドに対応して、図6に示す4つの子コマンド(sendAssemblePacketコマンド)が生成される。   First, in step S11, the command processing unit 121 receives a command and actual data from the user application 101. In step S12, the command processing unit 121 divides the received actual data into assembly sizes that are processing units of the network communication device 52A. In step S12, the command processing unit 121 generates a child command in correspondence with the divided data obtained by dividing the assembly size. Thereby, for example, four child commands (sendAssemblePacket command) shown in FIG. 6 are generated in response to the sendFile command from the user application 101 shown in FIG.

さらに、ステップS12において、コマンド処理部121は、生成された子コマンドにコマンドIDを送信順に付与し、コマンドテーブルにキャッシュする。例えば、コマンド処理部121は、図6に示す4つの子コマンド(sendAssemblePacketコマンド)に対して、コマンドID“001”乃至“004”を付与して、コマンドテーブルにキャッシュする。   In step S12, the command processing unit 121 assigns command IDs to the generated child commands in the order of transmission and caches them in the command table. For example, the command processing unit 121 assigns command IDs “001” to “004” to the four child commands (sendAssemblePacket command) shown in FIG. 6 and caches them in the command table.

ステップS13において、コマンド処理部121は、送信順に付与されているコマンドIDに基づいて、コマンドテーブルにキャッシュされている1つの子コマンドを、分割データとともにネットワーク通信装置52A(動作中のネットワーク通信装置52)に供給する。例えば、コマンドテーブルが図6に示す状態である場合、コマンド処理部121は、assemblePacket1を送信するsendAssemblePacketコマンドを、分割データとともにネットワーク通信装置52Aに供給する。   In step S13, the command processing unit 121 sends one child command cached in the command table together with the divided data to the network communication device 52A (the active network communication device 52) based on the command IDs assigned in the transmission order. ). For example, when the command table is in the state shown in FIG. 6, the command processing unit 121 supplies a sendAssemblePacket command for transmitting assemblePacket1 to the network communication device 52A together with the divided data.

ステップS14において、ログ記憶部103Aは、ネットワーク通信装置52Aから供給された、子コマンドの送信結果情報を受け取り、状態テーブルに記憶する。例えば、ログ記憶部103Aは、assemblePacket1を送信するsendAssemblePacketコマンドに対する送信結果情報として、時刻T1、コマンドID“001”、およびステータスコード“600”をネットワーク通信装置52Aから受け取り、状態テーブルに記憶する。   In step S14, the log storage unit 103A receives the child command transmission result information supplied from the network communication device 52A and stores it in the state table. For example, the log storage unit 103A receives the time T1, the command ID “001”, and the status code “600” from the network communication device 52A as the transmission result information for the sendAssemblePacket command that transmits assemblePacket1, and stores it in the state table.

ステップS15において、異常判定部122は、ログ記憶部103Aの状態テーブルから子コマンドの送信結果情報を取得する。ここで取得された送信結果情報に対応する子コマンドを、以下では、取得子コマンドと称する。   In step S15, the abnormality determination unit 122 acquires the transmission result information of the child command from the state table of the log storage unit 103A. The child command corresponding to the transmission result information acquired here is hereinafter referred to as an acquired child command.

ステップS16において、異常判定部122は、取得子コマンドの送信結果情報に基づいて、処理させるネットワーク通信装置52を、動作中のネットワーク通信装置52Aから、待機中のネットワーク通信装置52Bに切替える必要があるか否かを判定する。ここで、異常判定部122は、取得子コマンドのステータスコードが“605”乃至“607”であるか否かにより、ネットワーク通信装置52を切替える必要があるか否かを判定する。   In step S16, the abnormality determination unit 122 needs to switch the network communication device 52 to be processed from the active network communication device 52A to the standby network communication device 52B based on the transmission result information of the acquisition child command. It is determined whether or not. Here, the abnormality determination unit 122 determines whether or not the network communication device 52 needs to be switched depending on whether the status code of the acquisition child command is “605” to “607”.

ステップS16で、ネットワーク通信装置52を切替える必要がないと判定された場合、即ち、取得子コマンドのステータスコードが“605”乃至“607”ではない場合、ステップS17において、異常判定部122は、取得子コマンドが正常終了したか否かを判定する。   If it is determined in step S16 that the network communication device 52 does not need to be switched, that is, if the status code of the acquisition child command is not “605” to “607”, the abnormality determination unit 122 acquires in step S17. It is determined whether or not the child command has ended normally.

ステップS17で、取得子コマンドが正常終了したと判定された場合、ステップS18において、異常判定部122は、取得子コマンドの正常終了ステータスをコマンド処理部121に供給する。   When it is determined in step S17 that the acquired child command has been normally terminated, the abnormality determining unit 122 supplies the command processing unit 121 with the normal termination status of the acquired child command in step S18.

そして、ステップS19において、コマンド処理部121は、取得子コマンドの正常終了ステータスを異常判定部122から受け取り、取得子コマンドをコマンドテーブルから削除する。その後、処理は後述するステップS25に進む。   In step S19, the command processing unit 121 receives the normal termination status of the acquired child command from the abnormality determining unit 122, and deletes the acquired child command from the command table. Thereafter, the processing proceeds to step S25 described later.

一方、ステップS17で、取得子コマンドが正常終了していないと判定された場合、ステップS20において、異常判定部122は、取得子コマンドの再送指示をコマンド処理部121に供給する。その後、処理はステップS13に戻り、再送指示された子コマンドがネットワーク通信装置52(52A)に供給される。   On the other hand, if it is determined in step S17 that the acquired child command is not normally terminated, the abnormality determining unit 122 supplies a command processing unit 121 with a retransmission instruction for the acquired child command in step S20. Thereafter, the process returns to step S13, and the child command instructed for retransmission is supplied to the network communication device 52 (52A).

また、上述したステップS16において、ネットワーク通信装置52を切替える必要があると判定された場合、即ち、取得子コマンドのステータスコードが“605”乃至“607”である場合、ステップS21において、異常判定部122は、切替部123に切替指示を供給する。   If it is determined in step S16 described above that the network communication device 52 needs to be switched, that is, if the status code of the acquisition command is “605” to “607”, in step S21, the abnormality determination unit 122 supplies a switching instruction to the switching unit 123.

ステップS22において、切替部123は、ネットワーク通信装置52Aおよび52Bにオン指令またはオフ指令を供給する。即ち、切替部123は、動作中のネットワーク通信装置52Aにオフ指令を出力し、待機中のネットワーク通信装置52Bにオン指令を出力して、処理させるネットワーク通信装置52を切替える。   In step S22, the switching unit 123 supplies an on command or an off command to the network communication devices 52A and 52B. That is, the switching unit 123 outputs an off command to the operating network communication device 52A and outputs an on command to the standby network communication device 52B to switch the network communication device 52 to be processed.

ステップS23において、異常判定部122は、コマンド処理部121に切替指示を供給する。ステップS24において、コマンド処理部121は、切替指示により、処理させるネットワーク通信装置52がネットワーク通信装置52Bとなったことを認識する。   In step S <b> 23, the abnormality determination unit 122 supplies a switching instruction to the command processing unit 121. In step S24, the command processing unit 121 recognizes that the network communication device 52 to be processed has become the network communication device 52B based on the switching instruction.

ステップS25において、コマンド処理部121は、コマンドテーブルに記憶されているすべての子コマンドをネットワーク通信装置52に供給したか否かを判定する。ステップS25で、すべての子コマンドをまだ供給していないと判定された場合、即ち、コマンドテーブルに子コマンドがまだ記憶されており、すべての分割データを送信していない場合、処理はステップS13に戻り、コマンドテーブルにある次の子コマンドが分割データとともにネットワーク通信装置52に供給され、以降の処理が繰り返される。   In step S25, the command processing unit 121 determines whether or not all the child commands stored in the command table have been supplied to the network communication device 52. If it is determined in step S25 that all the child commands have not been supplied yet, that is, if the child command is still stored in the command table and all the divided data has not been transmitted, the process proceeds to step S13. Returning, the next child command in the command table is supplied to the network communication device 52 together with the divided data, and the subsequent processing is repeated.

一方、ステップS25において、コマンドテーブルに記憶されている全ての子コマンドを供給したと判定された場合、即ち、実データを分割して得られた全ての分割データが送信された場合、ステップS26において、コマンド処理部121は、ステップS11で受け取ったコマンドに対するコマンド結果情報をユーザアプリケーション101に返信して、処理を終了する。   On the other hand, if it is determined in step S25 that all the child commands stored in the command table have been supplied, that is, if all the divided data obtained by dividing the actual data are transmitted, in step S26. The command processing unit 121 returns command result information for the command received in step S11 to the user application 101, and ends the processing.

上述した処理は、ユーザアプリケーション101から順次供給されるコマンドおよび実データに対して繰り返し実行される。   The above-described processing is repeatedly executed for commands and actual data sequentially supplied from the user application 101.

次に、図11のフローチャートを参照して、装置管理アプリケーション102から供給された分割データを他のコンピュータに送信する、ネットワーク通信装置52の分割データ送信処理について説明する。   Next, the divided data transmission processing of the network communication device 52 that transmits the divided data supplied from the device management application 102 to another computer will be described with reference to the flowchart of FIG.

初めに、ステップS41において、ネットワーク通信装置52は、装置管理アプリケーション102(の切替部123)からオン指令またはオフ指令を受信したか否かを判定する。例えば、コンピュータ51の起動直後には、最初に処理させるネットワーク通信装置52Aにはオン指令が供給され、待機させるネットワーク通信装置52Bにはオフ指令が供給される。   First, in step S41, the network communication device 52 determines whether an on command or an off command is received from the device management application 102 (the switching unit 123 thereof). For example, immediately after the computer 51 is started, an ON command is supplied to the network communication device 52A to be processed first, and an OFF command is supplied to the network communication device 52B to be put on standby.

ステップS41で、オン指令またはオフ指令を受信したと判定された場合、ステップS42において、ネットワーク通信装置52は、オン指令またはオフ指令に対応してSW82をオンまたはオフすることにより、ネットワーク53との接続または切断を行う。そして、処理は、ステップS41に戻る。   If it is determined in step S41 that an on command or an off command has been received, in step S42, the network communication device 52 turns on or off the SW 82 in response to the on command or the off command. Connect or disconnect. Then, the process returns to step S41.

一方、ステップS41で、オン指令およびオフ指令を受信していないと判定された場合、言い換えると、装置管理アプリケーション102(のコマンド処理部121)から子コマンドと分割データを受信した場合、ステップS43において、ネットワーク通信装置52のTOE処理部81は、受信した分割データに対してTCP/IPプロトコル処理を行う。   On the other hand, if it is determined in step S41 that an on command and an off command have not been received, in other words, if a child command and divided data are received from the device management application 102 (command processing unit 121 thereof), in step S43 The TOE processing unit 81 of the network communication device 52 performs TCP / IP protocol processing on the received divided data.

そして、ステップS44において、ネットワーク通信装置52は、TCP/IP処理後の分割データに対してMAC処理およびPHY処理を行い、分割データを他のコンピュータにネットワーク53を介して送信する。   In step S44, the network communication device 52 performs MAC processing and PHY processing on the divided data after the TCP / IP processing, and transmits the divided data to another computer via the network 53.

ステップS45において、ネットワーク通信装置52は、受信した子コマンドに対する送信結果情報を装置管理アプリケーション102(のログ記憶部103Aまたは103B)に返信する。その後、処理はステップS41に戻り、それ以降の処理が繰り返される。その結果、ネットワーク通信装置52は、オフ指令が供給されるまで、子コマンドとともに供給される分割データを送信し、その結果としての送信結果情報を装置管理アプリケーション102に返信する。   In step S45, the network communication device 52 returns the transmission result information for the received child command to the device management application 102 (the log storage unit 103A or 103B). Thereafter, the process returns to step S41, and the subsequent processes are repeated. As a result, the network communication device 52 transmits the divided data supplied together with the child command until the off command is supplied, and returns the transmission result information as a result to the device management application 102.

以上のように、ネットワーク通信装置52では、TCP/IPプロトコル処理を専用のハードウエアで行うので、画像ファイル(分割データ)の送受信を高速化することができる。コンピュータ51は、このネットワーク通信装置52を用いることにより、高速な通信を提供することができる。   As described above, since the network communication device 52 performs the TCP / IP protocol processing with dedicated hardware, transmission / reception of an image file (divided data) can be speeded up. The computer 51 can provide high-speed communication by using the network communication device 52.

また、コンピュータ51には、2台のネットワーク通信装置52が装着されており、動作中のネットワーク通信装置52に障害(ハードウエアトラブル)が発生した場合には、即座にその障害を検知し、待機中のネットワーク通信装置52に切替えることができるので、ネットワーク53を介した通信の信頼性を向上させることができる。   Also, the computer 51 is equipped with two network communication devices 52. When a failure (hardware trouble) occurs in the network communication device 52 that is operating, the failure is detected immediately and the computer 51 is on standby. Since the network communication device 52 can be switched to the network communication device 52, the reliability of communication via the network 53 can be improved.

さらに、コンピュータ51では、実データの送信途中で動作中のネットワーク通信装置52に障害が発生した場合、コマンドテーブルを参照して未送信の子コマンドと分割データを切替後のネットワーク通信装置52Bに供給するようにして、ユーザアプリケーション101からのコマンド(実データの送信要求)を完了させることができる。言い換えれば、実データの送信途中で動作中のネットワーク通信装置52Aに障害が発生した場合、再度ユーザアプリケーション101に実データを要求し、切替後のネットワーク通信装置52Bで実データを最初から送信し直す必要がない。これにより、ユーザアプリケーション101に負担(負荷)をかけずに、高速に(短時間で)実データの送信処理を完結させることができる。   Further, when a failure occurs in the network communication device 52 that is operating during the transmission of actual data, the computer 51 refers to the command table and supplies unsent child commands and divided data to the switched network communication device 52B. In this way, the command (actual data transmission request) from the user application 101 can be completed. In other words, when a failure occurs in the network communication device 52A that is operating during the transmission of actual data, the real data is requested again from the user application 101, and the actual data is retransmitted from the beginning by the switched network communication device 52B. There is no need. As a result, the transmission process of actual data can be completed at high speed (in a short time) without imposing a burden (load) on the user application 101.

なお、上述した例では、コマンドIDを送信順に付与するようにしたが、コマンドIDは、送信順と関係なく付与しても良い。   In the example described above, the command IDs are assigned in the order of transmission, but the command IDs may be assigned regardless of the order of transmission.

また、上述した例では、コンピュータ51には2枚のネットワーク通信装置52が装着されていたが、3枚以上のネットワーク通信装置52を装着するようにして、切替制御を行うようにすることも可能である。   In the above-described example, two network communication devices 52 are mounted on the computer 51. However, it is also possible to perform switching control by mounting three or more network communication devices 52. It is.

ネットワーク通信装置52は、着脱可能なカード形状の他に、ASIC(Application Specific Integrated Circuit)やFPGA(Field Programmable Gate Alley)などを用いてチップ(マルチチップモジュールも含む)として構成することもできる。即ち、ネットワーク通信装置52は、上述した機能をハードウエアとして備えるものであれば、物理的な形状は特に限定されない。従って、ネットワーク通信装置52は、コンピュータ51の他、ネットワーク53を介して通信する機能を有するビデオカメラ、ハードディスクやDVD(Digital Versatile Disc)などの記録媒体にデータを記録または再生する記録再生装置、またはテレビジョン受像機などの情報処理装置に組み込むことも可能である。   The network communication device 52 can be configured as a chip (including a multi-chip module) using an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Alley), or the like in addition to a removable card shape. That is, the physical shape of the network communication device 52 is not particularly limited as long as it has the above-described functions as hardware. Therefore, the network communication device 52 is a video camera having a function of communicating via the network 53 in addition to the computer 51, a recording / reproducing device that records or reproduces data on a recording medium such as a hard disk or a DVD (Digital Versatile Disc), or It can also be incorporated into an information processing apparatus such as a television receiver.

本明細書において、フローチャートに記述されたステップは、記載された順序に沿って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理をも含むものである。   In this specification, the steps described in the flowcharts include processes that are executed in parallel or individually even if they are not necessarily processed in time series, as well as processes that are executed in time series in the described order. Is also included.

なお、本発明の実施の形態は、上述した実施の形態に限定されるものではなく、本発明の要旨を逸脱しない範囲において種々の変更が可能である。   The embodiment of the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the gist of the present invention.

従来のNICと、TOEを採用したNICであるネットワーク通信装置との違いについて説明する図である。It is a figure explaining the difference between the conventional NIC and the network communication apparatus which is NIC which employ | adopted TOE. 本発明を適用したコンピュータ(情報処理装置)の一実施の形態の構成例を示すブロック図である。It is a block diagram which shows the structural example of one Embodiment of the computer (information processing apparatus) to which this invention is applied. 図2のコンピュータの機能ブロック図である。It is a functional block diagram of the computer of FIG. ステータスコードについて説明する図である。It is a figure explaining a status code. ユーザアプリケーションから供給されるコマンドの例を示す図である。It is a figure which shows the example of the command supplied from a user application. コマンド処理部のコマンドテーブルの例を示す図である。It is a figure which shows the example of the command table of a command processing part. ログ記憶部の状態テーブルの例を示す図である。It is a figure which shows the example of the state table of a log memory | storage part. コマンド処理部のコマンドテーブルの例を示す図である。It is a figure which shows the example of the command table of a command processing part. コマンド処理部のコマンドテーブルの例を示す図である。It is a figure which shows the example of the command table of a command processing part. コンピュータの実データ送信処理について説明するフローチャートである。It is a flowchart explaining the real data transmission process of a computer. ネットワーク通信装置の分割データ送信処理について説明するフローチャートである。It is a flowchart explaining the division | segmentation data transmission process of a network communication apparatus.

符号の説明Explanation of symbols

51 コンピュータ, 52(52A,52B) ネットワーク通信装置, 53 ネットワーク, 101 ユーザアプリケーション, 102 装置管理アプリケーション, 103A,103B ログ記憶部, 121 コマンド処理部, 122 異常判定部, 123 切替部   51 Computer, 52 (52A, 52B) Network communication device, 53 Network, 101 User application, 102 Device management application, 103A, 103B Log storage unit, 121 Command processing unit, 122 Abnormality determination unit, 123 Switching unit

Claims (7)

ネットワークと接続して通信するネットワーク通信装置を切替制御する情報処理装置であって、
送信するデータを、前記ネットワーク通信装置の処理単位の送信データに分割して、動作中の前記ネットワーク通信装置に供給するデータ処理手段と、
前記送信データに対して動作中の前記ネットワーク通信装置から返信されてくる送信結果情報に基づいて、前記ネットワーク通信装置を切替えるか否かを判定する判定手段と、
前記ネットワーク通信装置を切替えると判定された場合、動作中の前記ネットワーク通信装置から、待機中の前記ネットワーク通信装置に、前記送信データを処理させるネットワーク通信装置を切替える切替手段と
を備える情報処理装置。
An information processing apparatus that controls switching of a network communication apparatus that communicates by connecting to a network,
Data processing means for dividing the data to be transmitted into transmission data for each processing unit of the network communication device and supplying the data to the network communication device in operation;
Determination means for determining whether to switch the network communication device based on transmission result information returned from the network communication device in operation for the transmission data;
An information processing apparatus comprising: a switching unit configured to switch a network communication apparatus that processes the transmission data from the operating network communication apparatus to the standby network communication apparatus when it is determined to switch the network communication apparatus.
前記判定手段は、前記ネットワーク通信装置を切替えると判定した場合、前記データ処理手段に切替指示を供給し、
前記データ処理手段は、前記送信データのリストをテーブルに記憶し、前記判定手段から前記切替指示が供給された場合、前記テーブルに基づいて、未送信の前記送信データを、切替後の前記ネットワーク通信装置に供給する
請求項1に記載の情報処理装置。
If the determination unit determines to switch the network communication device, the determination unit supplies a switching instruction to the data processing unit,
The data processing unit stores a list of the transmission data in a table, and when the switching instruction is supplied from the determination unit, based on the table, transmits the untransmitted transmission data to the network communication after switching. The information processing apparatus according to claim 1, wherein the information processing apparatus is supplied to the apparatus.
前記判定手段は、前記送信結果情報が前記ネットワーク通信装置のハードウエアエラーを表す場合に、前記ネットワーク通信装置を切替えると判定する
請求項1に記載の情報処理装置。
The information processing apparatus according to claim 1, wherein the determination unit determines to switch the network communication apparatus when the transmission result information represents a hardware error of the network communication apparatus.
前記ネットワーク通信装置は、前記ネットワークとの接続をオンまたはオフする接続手段を有しており、
前記切替手段は、動作中の前記ネットワーク通信装置に前記ネットワークとの接続をオフする指令を出力し、待機中の前記ネットワーク通信装置に前記ネットワークとの接続をオンする指令を出力することにより、前記送信データを処理させるネットワーク通信装置を切替える
請求項1に記載の情報処理装置。
The network communication device has connection means for turning on or off the connection with the network,
The switching means outputs a command to turn off the connection to the network to the network communication device in operation, and outputs a command to turn on the connection to the network to the network communication device on standby. The information processing apparatus according to claim 1, wherein a network communication apparatus that processes transmission data is switched.
前記送信結果情報をログとして記憶する記憶手段をさらに備え、
前記判定手段は、前記記憶手段から前記送信結果情報を取得する
請求項1に記載の情報処理装置。
Storage means for storing the transmission result information as a log;
The information processing apparatus according to claim 1, wherein the determination unit acquires the transmission result information from the storage unit.
ネットワークと接続して通信するネットワーク通信装置を切替制御する情報処理方法であって、
送信するデータを、前記ネットワーク通信装置の処理単位の送信データに分割して、動作中の前記ネットワーク通信装置に供給し、
前記送信データに対して動作中の前記ネットワーク通信装置から返信されてくる送信結果情報に基づいて、前記ネットワーク通信装置を切替えるか否かを判定し、
前記ネットワーク通信装置を切替えると判定された場合、動作中の前記ネットワーク通信装置から、待機中の前記ネットワーク通信装置に、前記送信データを処理させるネットワーク通信装置を切替える
ステップを含む情報処理方法。
An information processing method for switching control of a network communication device that communicates by connecting to a network,
The data to be transmitted is divided into transmission data for each processing unit of the network communication device, and supplied to the network communication device in operation,
Based on transmission result information returned from the network communication device in operation for the transmission data, determine whether to switch the network communication device,
An information processing method including a step of switching the network communication device that processes the transmission data from the operating network communication device to the standby network communication device when it is determined to switch the network communication device.
ネットワークと接続して通信するネットワーク通信装置の切替制御処理を、コンピュータに実行させるプログラムであって、
送信するデータを、前記ネットワーク通信装置の処理単位の送信データに分割して、動作中の前記ネットワーク通信装置に供給し、
前記送信データに対して動作中の前記ネットワーク通信装置から返信されてくる送信結果情報に基づいて、前記ネットワーク通信装置を切替えるか否かを判定し、
前記ネットワーク通信装置を切替えると判定された場合、動作中の前記ネットワーク通信装置から、待機中の前記ネットワーク通信装置に、前記送信データを処理させるネットワーク通信装置を切替える
ステップを含むプログラム。
A program that causes a computer to execute switching control processing of a network communication device that communicates by connecting to a network,
The data to be transmitted is divided into transmission data for each processing unit of the network communication device, and supplied to the network communication device in operation,
Based on transmission result information returned from the network communication device in operation for the transmission data, determine whether to switch the network communication device,
When it is determined that the network communication device is to be switched, a program including a step of switching the network communication device that processes the transmission data from the operating network communication device to the waiting network communication device.
JP2006000647A 2006-01-05 2006-01-05 Information processing apparatus and method, and program Withdrawn JP2007184710A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006000647A JP2007184710A (en) 2006-01-05 2006-01-05 Information processing apparatus and method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006000647A JP2007184710A (en) 2006-01-05 2006-01-05 Information processing apparatus and method, and program

Publications (1)

Publication Number Publication Date
JP2007184710A true JP2007184710A (en) 2007-07-19

Family

ID=38340427

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006000647A Withdrawn JP2007184710A (en) 2006-01-05 2006-01-05 Information processing apparatus and method, and program

Country Status (1)

Country Link
JP (1) JP2007184710A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012160901A (en) * 2011-01-31 2012-08-23 Brother Ind Ltd Communication apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012160901A (en) * 2011-01-31 2012-08-23 Brother Ind Ltd Communication apparatus
US9762511B2 (en) 2011-01-31 2017-09-12 Brother Kogyo Kabushiki Kaisha Communication device

Similar Documents

Publication Publication Date Title
US8467303B2 (en) Method and apparatus for preventing network conflict
US20060002256A1 (en) Network-based information recording/reproducing system and information recording/reproducing apparatus
JP5295662B2 (en) CEC communication apparatus, audiovisual apparatus using the same, and CEC communication method
KR19990072918A (en) Data communication system, data communication method, and data communication apparatus
JP6649673B2 (en) WiFi display compatible network gateway
CN103731758B (en) A kind of video stream transmission method and device
US20120089863A1 (en) Failover system, storage processing device and failover control method
US7502863B2 (en) Method of distributing stream data and system thereof
EP1490757A2 (en) Host network interface device and drive network interface device
KR19990072917A (en) Data communication system, data communication method, data communication apparatus, and digital interface
JP2020529749A (en) Methods and equipment for conditional broadcasting of network configuration data
JP2007201758A (en) Receiver and method thereof, as well as program
JP6139872B2 (en) Information processing apparatus and control method therefor, program, storage medium, and video processing system
US20080068675A1 (en) Image display system
US20120008628A1 (en) Network communication apparatus, communication method, and integrated circuit
JP2006295787A (en) System, apparatus, and method for information processing
JP4413806B2 (en) Fault isolation method, communication apparatus and program having fault isolation function
US9667443B2 (en) Data distribution device and imaging apparatus
EP0984602A2 (en) Data communication method and system for connection establishment
JP2007184710A (en) Information processing apparatus and method, and program
JP2006345240A (en) System and method for remote operation
US8037201B2 (en) Content holder unit, information processing method, and program
JP2009077024A (en) Tcp packet communication device, and technique related thereto
JP2005110024A (en) Data transmitter, data transmission/reception system, and data transmission/reception method
JP2005275643A (en) Contents data processor, and 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: 20090407