JP2005072759A - Transmission device and method therefor, reception device and method therefor, communication device and method therefor, and program - Google Patents

Transmission device and method therefor, reception device and method therefor, communication device and method therefor, and program Download PDF

Info

Publication number
JP2005072759A
JP2005072759A JP2003297307A JP2003297307A JP2005072759A JP 2005072759 A JP2005072759 A JP 2005072759A JP 2003297307 A JP2003297307 A JP 2003297307A JP 2003297307 A JP2003297307 A JP 2003297307A JP 2005072759 A JP2005072759 A JP 2005072759A
Authority
JP
Japan
Prior art keywords
interface
connection
application program
network connection
communication
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
JP2003297307A
Other languages
Japanese (ja)
Inventor
Isao Hidaka
伊佐夫 日高
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 JP2003297307A priority Critical patent/JP2005072759A/en
Publication of JP2005072759A publication Critical patent/JP2005072759A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a transmitter for switching the utilization of a plurality of NICs dynamically. <P>SOLUTION: A driver wrapper 107 recognizes if data are communicated by an Internet telephone application program 101, or an ftp data transmission application program, reads user's request information regarding a communication path stored in a request information management section 111, connects interfaces 105, 106, or each of MAC drivers 108, 109 for each application program, and sets a communication path, thus switching NICs 42-1, 42-2 used for communication for each application program for use. The transmitter can be applied to a personal computer. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、送信装置および方法、受信装置および方法、通信装置および方法、並びにプログラムに関し、特に、複数のネットワークインタフェースカードを処理に応じて切り替えて使用できるようにした送信装置および方法、受信装置および方法、通信装置および方法、並びにプログラムに関する。   The present invention relates to a transmission apparatus and method, a reception apparatus and method, a communication apparatus and method, and a program, and more particularly, a transmission apparatus and method, a reception apparatus, and a communication apparatus that can switch and use a plurality of network interface cards according to processing. The present invention relates to a method, a communication apparatus and method, and a program.

近年、パーソナルコンピュータ(以下PCとも称する)が普及し、オフィスや家庭で頻繁に利用されるようになっている。さらに、インターネットの普及に伴い、上述したPCがネットワークに接続される機会も非常に多くなっている。   In recent years, personal computers (hereinafter also referred to as PCs) have become widespread and are frequently used in offices and homes. Furthermore, with the spread of the Internet, there are many opportunities for the above-mentioned PCs to be connected to the network.

PCがネットワークに接続される形態としては、様々なものが存在する。世界的に普及しているものとして、イーサネット(登録商標)(Ethernet(R):IEEE(Institute of Electrical and Electronic Engineers) 802.3)がある。イーサネット(登録商標)のインタフェース装置が設けられているPCに、イーサネット(登録商標)ケーブルを接続し、各種設定を行なうことでネットワークに接続されたPC間で通信をすることができる。現在では、ほぼ全てのPCにイーサネット(登録商標)インタフェース装置が設けられており、TCP/IP(Transmission Control Protocol/Internet Protocol)を用いてネットワークへのアクセスが行なわれている。   There are various forms in which a PC is connected to a network. Ethernet (registered trademark) (Ethernet (R): Institute of Electrical and Electronic Engineers (IEEE) 802.3) is widely used worldwide. By connecting an Ethernet (registered trademark) cable to a PC provided with an Ethernet (registered trademark) interface device and performing various settings, communication can be performed between the PCs connected to the network. Currently, almost all PCs are provided with an Ethernet (registered trademark) interface device, and access to the network is performed using TCP / IP (Transmission Control Protocol / Internet Protocol).

さらに、このイーサネット(登録商標)を用いた新たなネットワークの形態として、無線を媒体として通信する無線LAN(Local Area Network)が開発されている。ノート型のPCなどは子型で持ち歩くことも可能であるため、イーサネット(登録商標)ケーブルを接続するよりも手軽に簡単にネットワークに接続することができる。   Further, as a new network form using the Ethernet (registered trademark), a wireless LAN (Local Area Network) that communicates using radio as a medium has been developed. Since notebook PCs can be carried around as a child, it can be easily and easily connected to a network rather than connecting an Ethernet (registered trademark) cable.

オフィスなどでは、旧来からのイーサネット(登録商標)によるネットワークの環境に加えて、無線LANにより構築されるネットワークを新規に導入するケースが増えている。   In offices and the like, in addition to the conventional network environment based on Ethernet (registered trademark), cases of newly introducing networks constructed by wireless LANs are increasing.

無線LANの方式には、IEEE (The Institute of Electrical and Electronics Engineers, Inc.)で規定された 802.11b,802.11g、または、802.11aなどの複数の方式がある。これらは、利用する周波数帯域や変復調の方式によって区別して規定されている。   As a wireless LAN system, there are a plurality of systems such as 802.11b, 802.11g, or 802.11a defined by IEEE (The Institute of Electrical and Electronics Engineers, Inc.). These are defined separately depending on the frequency band to be used and the modulation / demodulation method.

他のネットワーク接続形態として、IEEE 1394やxDSL(x Digital Subscriber Line)、PHS (Personal Handy Phone System)、IDSN (Integrated Services Digital Network) などの電話回線を利用した接続方式がある。このように、ネットワークへの接続形態は様々なものがあるが、例えば、図1に示されるように、1台のPCに複数の接続インタフェース装置が用意されている場合がある。すなわち、図1においては、PC1がイーサネット(登録商標)、IEEE802.11(無線LAN)、IEEE1394、xDSL(x Digital Subscriber Line)、および、ISDN(Integrated Services Digital Network)を介してネットワーク12に接続されており、それぞれの接続インタフェースを介して、ネットワーク12に接続されている他のPCと通信することができる。   As other network connection forms, there are connection systems using telephone lines such as IEEE 1394, xDSL (x Digital Subscriber Line), PHS (Personal Handy Phone System), IDSN (Integrated Services Digital Network). As described above, there are various types of connection modes to the network. For example, as shown in FIG. 1, a plurality of connection interface devices may be prepared for one PC. That is, in FIG. 1, the PC 1 is connected to the network 12 via Ethernet (registered trademark), IEEE802.11 (wireless LAN), IEEE1394, xDSL (x Digital Subscriber Line), and ISDN (Integrated Services Digital Network). And can communicate with other PCs connected to the network 12 via the respective connection interfaces.

一方、利用する場所に複数の接続インタフェースが敷設されている場合もある。例えば、図2で示されるように、PC11には、無線LAN用の通信部11a(IEEE 802.11a)とイーサネット(登録商標)用の通信部11bが設けられており、それぞれ対応するように、アクセスポイント14(IEEE802.11a)とイーサネット(登録商標)12が設けられており、それぞれの経路からネットワーク13に接続できるような場合である。このようなPC11を利用すれば、ユーザの利用形態に応じて利用するインタフェースを適宜選択して通信することができる。   On the other hand, there are cases where a plurality of connection interfaces are laid at the place of use. For example, as shown in FIG. 2, the PC 11 is provided with a communication unit 11a for wireless LAN (IEEE 802.11a) and a communication unit 11b for Ethernet (registered trademark). This is a case where a point 14 (IEEE802.11a) and an Ethernet (registered trademark) 12 are provided and can be connected to the network 13 from their respective paths. If such a PC 11 is used, communication can be performed by appropriately selecting an interface to be used according to a user's usage mode.

ここで上位プロトコルである、TCP/IP (Transmission Control Protocol/Internet Protocol) に関して考える。PC11を一意に識別するためのIPアドレスはそれぞれのインタフェースに静的に、もしくは動的に割り当てられている。例えば、静的に割り当てられるとき、PC11の「ネットワークの設定」の欄にユーザが設定したものがその都度利用される。   Here, we consider TCP / IP (Transmission Control Protocol / Internet Protocol), which is a higher-level protocol. An IP address for uniquely identifying the PC 11 is statically or dynamically assigned to each interface. For example, when statically assigned, what is set by the user in the “network setting” column of the PC 11 is used each time.

また、動的に割り当てられているとき、DHCP (Dynamic Host Configuration Protocol) などの動的割り当てプロトコルによって割り当てられる。前述のように、複数あるインタフェースのうち、ユーザが一つしか使わない場合は、それぞれのインタフェースでの割り当て方法(静的か動的か)に応じてその都度異なる IP アドレスが利用される。   In addition, when dynamically assigned, it is assigned by a dynamic assignment protocol such as DHCP (Dynamic Host Configuration Protocol). As described above, when only one user is used among a plurality of interfaces, a different IP address is used each time depending on the allocation method (static or dynamic) in each interface.

従来は、ユーザがどちらか一方のインタフェースを自ら明示的に利用することが多かったため、上記手法によって利用していた。これは、例えばデスクトップPCなら持ち運ばないのでイーサネット(登録商標)インタフェースを利用し、様々な場所で利用するノートPCは IEEE802.11bを利用するといった使い分けがされていたためである。   Conventionally, since the user often explicitly uses one of the interfaces himself, the above method is used. This is because, for example, a desktop PC is not carried, so an Ethernet (registered trademark) interface is used, and a notebook PC used in various places is used IEEE802.11b.

また、IPネットワーク網においてパケット毎にアプリケーションの種別毎にクラスを分けて仮想的な異なったIPアドレスを割り当てることが提案されている。
特開2001−160825号公報
In addition, it has been proposed to assign virtual different IP addresses by classifying each application type for each packet in an IP network.
JP 2001-160825 A

しかしながら、近年においては、上述したように無線LANの規格が複数規定されたこともあり、ノートPCでも、例えば、IEEE802.11b,IEEE802.11aを同時に搭載することも可能になってきた。このようなPCを使う場合、その通信の特性やそのネットワークのトラフィックなどに応じて適宜通信インタフェースを切り替えることが考えられる。   However, in recent years, a plurality of wireless LAN standards have been defined as described above, and it has become possible to simultaneously mount, for example, IEEE802.11b and IEEE802.11a even on notebook PCs. When using such a PC, it is conceivable to switch the communication interface as appropriate according to the characteristics of the communication and the traffic of the network.

すなわち、例えば、IEEE802.11aは、通信相手と近距離のとき高速で通信することが可能である。一方、IEEE802.11bは、通信速度は低速であるが通信相手との距離が比較的遠距離であっても伝送が可能である。このような伝送特性の違いや、利用ユーザの増減や環境の変化による伝送速度の変化などに対応して通信インタフェースを切り替えるようにすることで、必要に応じて高速に、または、必要に応じて遠距離の相手との通信に適したものとすることができる。   That is, for example, IEEE802.11a can communicate at high speed with a communication partner at a short distance. On the other hand, although IEEE802.11b has a low communication speed, transmission is possible even when the distance to the communication partner is relatively long. By switching the communication interface in response to such differences in transmission characteristics, changes in transmission speed due to changes in the number of users and changes in the environment, etc., it can be performed at high speed as necessary or as necessary. It can be suitable for communication with a remote party.

このような場合、複数のインタフェースを適宜切り替えて利用することが有効となる。すなわち、同時に複数のインタフェースを利用しようとすると、各インタフェースにIPアドレスが割り振られることになるが、複数のインタフェースで同時に同じIPアドレスを使うことはできないため、それぞれ別のIPアドレスが割り当てられる。   In such a case, it is effective to switch and use a plurality of interfaces as appropriate. That is, if an attempt is made to use a plurality of interfaces simultaneously, an IP address is assigned to each interface. However, since the same IP address cannot be used simultaneously on a plurality of interfaces, a different IP address is assigned to each interface.

各インタフェースが別のブロードキャストドメインにある場合は、それぞれのインタフェースは、各ブロードキャストドメインでネットワークアドレスが異なるため、アドレスは一意になる。(例えば、192.168.1.xと172.16.1.xなど)   If each interface is in a different broadcast domain, each interface has a unique address because each broadcast domain has a different network address. (For example, 192.168.1.x and 172.16.1.x)

一方、各インタフェースが同じブロードキャストドメインにある場合は、ネットワークアドレスが同じであるため、割り当ての際は注意しなければならない。   On the other hand, if each interface is in the same broadcast domain, the network address is the same, so care must be taken when assigning.

このような複数のIPアドレスが割り当てられた状態で、別のPCと通信を行なう場合を考える。ここでは、2つのインタフェースが有効なパソコンを想定し、各インタフェースに、「192.168.1.1」と「172.16.1.1」というアドレスが割り当てられているものとする。なお、この例は各インタフェースが「172.16.1.x」と「192.168.1.x」という別々のブロードキャストドメインに存在しているが、同じブロードキャストドメインでも同様である。ここで、それぞれのドメインにおけるゲートウェイを、「172.16.1.254」と、「192.168.1.254」であるものとする。   Consider a case where communication is performed with another PC in a state where a plurality of IP addresses are assigned. Here, it is assumed that the personal computer is effective for two interfaces, and addresses “192.168.1.1” and “172.16.1.1” are assigned to each interface. In this example, each interface exists in separate broadcast domains “172.16.1.x” and “192.168.1.x”, but the same applies to the same broadcast domain. Here, it is assumed that the gateways in the respective domains are “172.16.1.254” and “192.168.1.254”.

別のコンピュータと通信する際、どちらのインタフェースを経由してパケットを送出するかについてはルーティングテーブルに従う。例えば、図3で示されるように、ルーティングテーブルが設定されているものとする。   When communicating with another computer, the routing table is used as to which interface the packet is sent through. For example, it is assumed that a routing table is set as shown in FIG.

図3においては、図中左側にルーティング情報の番号として1乃至7が示されている。また、その右側には、Network Destinationが示されており、番号1から順に、「0.0.0.0」、「0.0.0.0」、「172.16.1.0」、「172.255. 255. 255」、「192.168.1.0」、「192.168.1.255」、および、「255.255.255.255」とアドレスが示されている。さらに右側には、Netmaskが示されており、番号1から順に、「0.0.0.0」、「0.0.0.0」、「255.255. 255. 0」、「255.255. 255. 255」、「255.255. 255. 0」、「255.255. 255. 255」、および「255.255. 255. 255」とアドレスが示されている。また、Netmaskの右側には、ゲートウェイが示されており番号1から順に「172.16.1.254」、「192.168.1.254」、「172.16.1.1」、「172.16.1.1」、「192.168.1.1」、「192.168.1.1」、および「172.16.1.1」とアドレスが示されている。さらに、右側には、インタフェースが示されており、「172.16.1.1」、「172.16.1.1」、「172.16.1.1」、「172.16.1.1」、「192.168.1.1」、「192.168.1.1」、および「172.16.1.1」とアドレスが示されている。最も右側には、Metricとして個数が示されており、全て1として示されている。   In FIG. 3, 1 to 7 are shown as routing information numbers on the left side of the drawing. In addition, Network Destination is shown on the right side, and in order from number 1, “0.0.0.0”, “0.0.0.0”, “172.16.1.0”, “172.255.255.255”, “192.168.1.0 "," 192.168.1.255 ", and" 255.255.255.255 "are shown. Further, on the right side, Netmask is shown, and in order from number 1, “0.0.0.0”, “0.0.0.0”, “255.255.255.0”, “255.255.255.255”, “255.255.255. The addresses are shown as “0”, “255.255.255.255”, and “255.255.255.255”. On the right side of the Netmask, gateways are shown. In order from the number 1, "172.16.1.254", "192.168.1.254", "172.16.1.1", "172.16.1.1", "192.168.1.1", "192.168 ".1.1" and "172.16.1.1" are shown. In addition, on the right side, the interfaces are shown: “172.16.1.1”, “172.16.1.1”, “172.16.1.1”, “172.16.1.1”, “192.168.1.1”, “192.168.1.1”, and The address is shown as “172.16.1.1”. On the rightmost side, the number is shown as Metric, and all are shown as 1.

例えば、「192.168.1.10」というアドレスのPCと通信をする場合は、このアドレスが5番目のインタフェースとマッチするため、「192.168.1.1」のインタフェースを通して送信される。この場合、一番マッチするルーティングテーブルは5番のみである。ここで、マッチするとは、Netmask(ネットマスク)の設定に基づいて、最も一致するアドレスを示す。すなわち、ネットマスクでは、「255」で設定された部分が完全一致で求められるのに対して、「0」で設定された部分は、いずれの値であってもよいことを示している。従って、Network Destinationにおいて、5番のものは、「192.168.1.0」のうちネットマスクとして「225.225.225.0」であるため、所望とするアドレス「192.168.1.10」の上位「192.168.1」が一致することになり、残りの「0」は、ネットマスクにおいて「0」として設定されている部分であるため、必ずしも一致することが求められていないので、最も一致するルーティングテーブルとして選択されることになる。   For example, when communicating with a PC having an address “192.168.1.10”, since this address matches the fifth interface, it is transmitted through the interface “192.168.1.1”. In this case, the best matching routing table is only No. 5. Here, “match” indicates the most matching address based on the setting of Netmask. In other words, in the netmask, the part set with “255” is obtained with a perfect match, whereas the part set with “0” may be any value. Therefore, in Network Destination, the number 5 is “225.225.225.0” as the netmask in “192.168.1.0”, so the upper address “192.168.1” of the desired address “192.168.1.10” matches. Therefore, the remaining “0” is a portion set as “0” in the netmask, and is not necessarily required to match, so it is selected as the most matching routing table. .

一方、例えば「10.1.1.1」という端末と通信する場合は、このアドレスは、ルーティングテーブルの1番と2番にマッチしている。すなわち、この場合、Network Destinationのいずれにも近いアドレスがないが、ルーティングテーブルの1番、2番は、それぞれのネットマスクがいずれも「0.0.0.0」であるため、いずれの部分も必ずしも一致しなくてもよいことになっている。   On the other hand, for example, when communicating with a terminal “10.1.1.1”, this address matches No. 1 and No. 2 in the routing table. In other words, in this case, there is no address close to any of the Network Destination, but since the netmasks of both No. 1 and No. 2 in the routing table are both “0.0.0.0”, both parts do not necessarily match. It is not necessary.

このような場合、通常はテーブルの番号の上位が選択されるので、結果として172.16.1.254を経由して通信経路が設定される。ユーザが、もし192.168.1.254を経由して通信したい場合、図3で示されるルーティングテーブルを書き換えることによって、通信経路を変更することが可能である。   In such a case, normally, the higher rank of the table number is selected, and as a result, the communication path is set via 172.16.1.254. If the user wants to communicate via 192.168.1.254, the communication path can be changed by rewriting the routing table shown in FIG.

しかしながら、ルーティングテーブルを管理するのは、通常OS(Operating System)であるため、このように変更してしまうと、全ての通信経路が変更されてしまうことになるため、例えばアプリケーションプログラムごとに通信経路を指定することはできず、ユーザの意図した通信経路に動的に変化させて通信させることができないという課題があった。   However, since the routing table is usually managed by the OS (Operating System), if this change is made, all communication paths will be changed. For example, the communication path for each application program Cannot be specified, and there is a problem that communication cannot be performed by dynamically changing the communication path intended by the user.

また、上述したように伝送路の特性や通信状況に合わせて通信経路を変更していくことも、実際には、OSで管理されるため動的に変化させて対応させることができず、結果として、伝送路の特性や通信状態に合わせて動的に変化させることができないという課題があった。   In addition, as described above, changing the communication path according to the characteristics of the transmission path and the communication status is actually managed by the OS, so it cannot be dynamically changed and handled. However, there is a problem that it cannot be dynamically changed in accordance with the characteristics of the transmission path and the communication state.

本発明はこのような状況に鑑みてなされたものであり、特に、複数のネットワーク接続装置(例えば、ネットワークカードなど)を伝送路の特性や、通信状態に合わせて、動的に切り替えて使用できるようにするものである。   The present invention has been made in view of such a situation, and in particular, a plurality of network connection devices (for example, network cards) can be used by dynamically switching according to the characteristics of the transmission path and the communication state. It is what you want to do.

本発明の送信装置は、複数のネットワーク接続装置毎のインタフェースの情報を記憶するインタフェース情報記憶手段と、インタフェース情報記憶手段により記憶されたインタフェース情報に基づいて、インタフェースを介した通信経路を設定する通信経路設定手段と、アプリケーションプログラム毎に使用するネットワーク接続装置の接続情報を記憶する接続情報記憶手段と、接続情報記憶手段に記憶された接続情報に基づいて、アプリケーションプログラム毎にインタフェースと、ネットワーク接続装置のMACドライバとの接続を切り替える切替手段と、切替手段によりアプリケーションプログラム毎にインタフェースとの接続が切り替えられたネットワーク接続装置のMACドライバを介して情報を送信する送信手段とを備えることを特徴とする。   The transmission device of the present invention includes an interface information storage unit that stores interface information for each of a plurality of network connection devices, and a communication that sets a communication path via the interface based on the interface information stored by the interface information storage unit. A path setting unit; a connection information storage unit that stores connection information of a network connection device used for each application program; an interface for each application program based on the connection information stored in the connection information storage unit; and a network connection device Switching means for switching connection with the MAC driver, and transmission means for transmitting information via the MAC driver of the network connection device whose connection with the interface is switched for each application program by the switching means, That.

前記切替手段には、接続情報記憶手段に記憶された接続情報に基づいて、インタフェースと、ネットワーク接続装置のMACドライバとの接続をパケットデータ毎のIPヘッダを書き換えることにより切り替えるようにさせることができる。   The switching means can switch the connection between the interface and the MAC driver of the network connection device by rewriting the IP header for each packet data based on the connection information stored in the connection information storage means. .

前記通信ポートを認識する認識手段と、認識手段により認識された通信ポートに基づいてアプリケーションプログラムを識別する識別手段をさらに設けるようにさせることができ、切替手段には、接続情報記憶手段に記憶された接続情報に基づいて、識別手段により識別されたアプリケーションプログラム毎にインタフェースと、ネットワーク接続装置のMACドライバとの接続を切り替えるようにさせることができる。   Recognizing means for recognizing the communication port and identification means for identifying the application program based on the communication port recognized by the recognizing means can be further provided. The switching means is stored in the connection information storage means. Based on the connection information, the connection between the interface and the MAC driver of the network connection device can be switched for each application program identified by the identification means.

前記アプリケーションプログラムとネットワーク接続装置との対応関係を入力する入力手段をさらに設けるようにさせることができ、接続情報記憶手段には、入力手段により入力されたアプリケーションプログラムとネットワーク接続装置との対応関係に基づいた、アプリケーションプログラム毎に使用するネットワーク接続装置の接続情報を記憶させるようにすることができる。   An input means for inputting a correspondence relationship between the application program and the network connection device can be further provided, and the connection information storage means has a correspondence relationship between the application program input by the input means and the network connection device. Based on this, it is possible to store the connection information of the network connection device used for each application program.

前記ネットワーク接続装置による通信状態を検出する状態検出手段をさらに設けるようにすることができ、接続情報記憶手段には、状態検出手段により検出される通信状態に基づいた、アプリケーションプログラム毎に使用するネットワーク接続装置のMACドライバの接続情報を記憶させるようにすることができ、切替手段には、状態検出手段により検出される通信状態により、接続情報記憶手段に記憶された接続情報に基づいて、アプリケーションプログラム毎にインタフェースと、ネットワーク接続装置のMACドライバとの接続を切り替えるようにさせることができる。   A state detection unit for detecting a communication state by the network connection device can be further provided, and the connection information storage unit includes a network used for each application program based on the communication state detected by the state detection unit. The connection information of the MAC driver of the connection device can be stored, and the switching unit has an application program based on the connection information stored in the connection information storage unit according to the communication state detected by the state detection unit. The connection between the interface and the MAC driver of the network connection device can be switched every time.

前記状態検出手段には、電界強度を検出する電解強度検出手段をさらに設けるようにさせることができ、電界強度検出手段により検出された電界強度によりネットワーク接続装置による通信状態を検出させるようにすることができる。   The state detection means may be further provided with an electrolytic strength detection means for detecting electric field strength, and the communication state by the network connection device is detected by the electric field strength detected by the electric field strength detection means. Can do.

本発明の送信方法は、複数のネットワーク接続装置毎のインタフェースの情報を記憶するインタフェース情報記憶ステップと、インタフェース情報記憶ステップの処理で記憶されたインタフェース情報に基づいて、インタフェースを介した通信経路を設定する通信経路設定ステップと、アプリケーションプログラム毎に使用するネットワーク接続装置の接続情報を記憶する接続情報記憶ステップと、接続情報記憶ステップの処理で記憶された接続情報に基づいて、アプリケーションプログラム毎にインタフェースと、ネットワーク接続装置のMACドライバとの接続を切り替える切替ステップと、切替ステップの処理でアプリケーションプログラム毎にインタフェースとの接続が切り替えられたネットワーク接続装置のMACドライバを介して情報を送信する送信ステップとを含むことを特徴とする。   In the transmission method of the present invention, an interface information storage step for storing interface information for each of a plurality of network connection devices, and a communication path via the interface are set based on the interface information stored in the processing of the interface information storage step. A communication path setting step, a connection information storage step for storing connection information of a network connection device used for each application program, and an interface for each application program based on the connection information stored in the processing of the connection information storage step. The switching step of switching the connection with the MAC driver of the network connection device, and the information through the MAC driver of the network connection device whose connection with the interface is switched for each application program in the processing of the switching step Characterized in that it comprises a transmission step of signal to.

本発明の第1のプログラムは、複数のネットワーク接続装置毎のインタフェースの情報の記憶を制御するインタフェース情報記憶制御ステップと、インタフェース情報記憶制御ステップの処理で記憶が制御されたインタフェース情報に基づいて、インタフェースを介した通信経路を設定する通信経路設定ステップと、アプリケーションプログラム毎に使用するネットワーク接続装置の接続情報の記憶を制御する接続情報記憶制御ステップと、接続情報記憶制御ステップの処理で記憶が制御された接続情報に基づいて、アプリケーションプログラム毎にインタフェースと、ネットワーク接続装置のMACドライバとの接続を切り替える切替ステップと、切替ステップの処理でアプリケーションプログラム毎にインタフェースとの接続が切り替えられたネットワーク接続装置のMACドライバを介して情報の送信を制御する送信制御ステップとをコンピュータに実行させることを特徴とする。   The first program of the present invention is based on an interface information storage control step for controlling storage of interface information for each of a plurality of network connection devices, and interface information whose storage is controlled by the processing of the interface information storage control step. Memory is controlled by processing of a communication path setting step for setting a communication path via an interface, a connection information storage control step for controlling storage of connection information of a network connection device used for each application program, and a connection information storage control step. Based on the connection information, the switching step for switching the connection between the interface and the MAC driver of the network connection device for each application program, and the connection with the interface for each application program is switched by the processing of the switching step. Characterized in that to execute a transmission control step of controlling transmission of information via the MAC driver for the network connection device to the computer.

本発明の受信装置は、複数のネットワーク接続装置毎のインタフェースの情報を記憶するインタフェース情報記憶手段と、インタフェース情報記憶手段により記憶されたインタフェース情報に基づいて、インタフェースを介した通信経路を設定する通信経路設定手段と、アプリケーションプログラム毎に使用するネットワーク接続装置の接続情報を記憶する接続情報記憶手段と、接続情報記憶手段に記憶された接続情報に基づいて、アプリケーションプログラム毎にインタフェースと、ネットワーク接続装置のMACドライバとの接続を切り替える切替手段と、切替手段によりアプリケーションプログラム毎にインタフェースとの接続が切り替えられたネットワーク接続装置のMACドライバを介して情報を受信する受信手段とを備えることを特徴とする。   The receiving device according to the present invention includes an interface information storage unit that stores interface information for each of a plurality of network connection devices, and a communication that sets a communication path via the interface based on the interface information stored by the interface information storage unit. A path setting unit; a connection information storage unit that stores connection information of a network connection device used for each application program; an interface for each application program based on the connection information stored in the connection information storage unit; and a network connection device Switching means for switching the connection with the MAC driver, and receiving means for receiving information via the MAC driver of the network connection device whose connection with the interface is switched for each application program by the switching means, That.

前記切替手段には、接続情報記憶手段に記憶された接続情報に基づいて、インタフェースと、ネットワーク接続装置のMACドライバとの接続をパケットデータ毎のIPヘッダを書き換えることにより切り替えるようにさせることができる。   The switching means can switch the connection between the interface and the MAC driver of the network connection device by rewriting the IP header for each packet data based on the connection information stored in the connection information storage means. .

前記通信ポートを認識する認識手段と、認識手段により認識された通信ポートに基づいてアプリケーションプログラムを識別する識別手段をさらに設けるようにさせることができ、切替手段には、接続情報記憶手段に記憶された接続情報に基づいて、識別手段により識別されたアプリケーションプログラム毎にインタフェースと、ネットワーク接続装置のMACドライバとの接続を切り替えるようにさせることができる。   Recognizing means for recognizing the communication port and identification means for identifying the application program based on the communication port recognized by the recognizing means can be further provided. The switching means is stored in the connection information storage means. Based on the connection information, the connection between the interface and the MAC driver of the network connection device can be switched for each application program identified by the identification means.

前記アプリケーションプログラムとネットワーク接続装置との対応関係を入力する入力手段をさらに設けるようにさせることができ、接続情報記憶手段には、入力手段により入力されたアプリケーションプログラムとネットワーク接続装置との対応関係に基づいた、アプリケーションプログラム毎に使用するネットワーク接続装置の接続情報を記憶させるようにすることができる。   An input means for inputting a correspondence relationship between the application program and the network connection device can be further provided, and the connection information storage means has a correspondence relationship between the application program input by the input means and the network connection device. Based on this, it is possible to store the connection information of the network connection device used for each application program.

前記ネットワーク接続装置による通信状態を検出する状態検出手段をさらに設けるようにさせることができ、接続情報記憶手段には、状態検出手段により検出される通信状態に基づいた、アプリケーションプログラム毎に使用するネットワーク接続装置の接続情報を記憶させるようにすることができ、切替手段には、状態検出手段により検出される通信状態により、接続情報記憶手段に記憶された接続情報に基づいて、アプリケーションプログラム毎にインタフェースと、ネットワーク接続装置のMACドライバとの接続を切り替えるようにさせることができる。   A state detection unit for detecting a communication state by the network connection device can be further provided, and the connection information storage unit includes a network used for each application program based on the communication state detected by the state detection unit. The connection information of the connection device can be stored, and the switching means has an interface for each application program based on the connection information stored in the connection information storage means according to the communication state detected by the state detection means. Then, the connection with the MAC driver of the network connection device can be switched.

前記状態検出手段には、電界強度を検出する電解強度検出手段をさらに設けるようにさせることができ、電界強度検出手段により検出された電界強度によりネットワーク接続装置による通信状態を検出させるようにすることができる。   The state detection means may be further provided with an electrolytic strength detection means for detecting electric field strength, and the communication state by the network connection device is detected by the electric field strength detected by the electric field strength detection means. Can do.

本発明の受信方法は、複数のネットワーク接続装置毎のインタフェースの情報を記憶するインタフェース情報記憶ステップと、インタフェース情報記憶ステップの処理で記憶されたインタフェース情報に基づいて、インタフェースを介した通信経路を設定する通信経路設定ステップと、アプリケーションプログラム毎に使用するネットワーク接続装置の接続情報を記憶する接続情報記憶ステップと、接続情報記憶ステップの処理で記憶された接続情報に基づいて、アプリケーションプログラム毎にインタフェースと、ネットワーク接続装置のMACドライバとの接続を切り替える切替ステップと、切替ステップの処理でアプリケーションプログラム毎にインタフェースとの接続が切り替えられたネットワーク接続装置のMACドライバを介して情報を受信する受信ステップとを含むことを特徴とする。   The reception method of the present invention sets an interface information storage step for storing interface information for each of a plurality of network connection devices, and sets a communication path via the interface based on the interface information stored in the interface information storage step. A communication path setting step, a connection information storage step for storing connection information of a network connection device used for each application program, and an interface for each application program based on the connection information stored in the processing of the connection information storage step. The switching step of switching the connection with the MAC driver of the network connection device, and the information through the MAC driver of the network connection device whose connection with the interface is switched for each application program in the processing of the switching step Characterized in that it comprises a receiving step signal to.

本発明の第2のプログラムは、複数のネットワーク接続装置毎のインタフェースの情報の記憶を制御するインタフェース情報記憶制御ステップと、インタフェース情報記憶制御ステップの処理で記憶が制御されたインタフェース情報に基づいて、インタフェースを介した通信経路を設定する通信経路設定ステップと、アプリケーションプログラム毎に使用するネットワーク接続装置の接続情報の記憶を制御する接続情報記憶制御ステップと、接続情報記憶制御ステップの処理で記憶が制御された接続情報に基づいて、アプリケーションプログラム毎にインタフェースと、ネットワーク接続装置のMACドライバとの接続を切り替える切替ステップと、切替ステップの処理でアプリケーションプログラム毎にインタフェースとの接続が切り替えられたネットワーク接続装置のMACドライバを介して情報の送信を制御する送信制御ステップと、切替ステップの処理でアプリケーションプログラム毎にインタフェースとの接続が切り替えられたネットワーク接続装置のMACドライバを介した情報の受信を制御する受信制御ステップとをコンピュータに実行させることを特徴とする。   The second program of the present invention is based on an interface information storage control step for controlling storage of interface information for each of a plurality of network connection devices, and interface information whose storage is controlled by the processing of the interface information storage control step. Memory is controlled by processing of a communication path setting step for setting a communication path via an interface, a connection information storage control step for controlling storage of connection information of a network connection device used for each application program, and a connection information storage control step. Based on the connection information, the switching step for switching the connection between the interface and the MAC driver of the network connection device for each application program, and the connection with the interface for each application program is switched by the processing of the switching step. Information transmission via the MAC driver of the network connection device whose connection to the interface is switched for each application program in the transmission control step for controlling transmission of information via the MAC driver of the network connection device and the switching step. The reception control step to be controlled is executed by a computer.

本発明の通信装置は、複数のネットワーク接続装置毎のインタフェースの情報を記憶するインタフェース情報記憶手段と、インタフェース情報記憶手段により記憶されたインタフェース情報に基づいて、インタフェースを介した通信経路を設定する通信経路設定手段と、アプリケーションプログラム毎に使用するネットワーク接続装置の接続情報を記憶する接続情報記憶手段と、接続情報記憶手段に記憶された接続情報に基づいて、アプリケーションプログラム毎にインタフェースと、ネットワーク接続装置のMACドライバとの接続を切り替える切替手段と、切替手段によりアプリケーションプログラム毎にインタフェースとの接続が切り替えられたネットワーク接続装置のMACドライバを介して情報を通信する通信手段とを備えることを特徴とする。   The communication apparatus according to the present invention includes an interface information storage unit that stores interface information for each of a plurality of network connection devices, and a communication that sets a communication path via the interface based on the interface information stored by the interface information storage unit. A path setting unit; a connection information storage unit that stores connection information of a network connection device used for each application program; an interface for each application program based on the connection information stored in the connection information storage unit; and a network connection device Switching means for switching the connection with the MAC driver, and communication means for communicating information via the MAC driver of the network connection device whose connection with the interface is switched for each application program by the switching means, That.

前記切替手段には、接続情報記憶手段に記憶された接続情報に基づいて、インタフェースと、ネットワーク接続装置との接続をパケットデータ毎のIPヘッダを書き換えることにより切り替えるようにさせることができる。   The switching unit can switch the connection between the interface and the network connection device by rewriting the IP header for each packet data based on the connection information stored in the connection information storage unit.

前記通信ポートを認識する認識手段と、認識手段により認識された通信ポートに基づいてアプリケーションプログラムを識別する識別手段をさらに設けるようにさせることができ、切替手段には、接続情報記憶手段に記憶された接続情報に基づいて、識別手段により識別されたアプリケーションプログラム毎にインタフェースと、ネットワーク接続装置のMACドライバとの接続を切り替えるようにさせることができる。   Recognizing means for recognizing the communication port and identification means for identifying the application program based on the communication port recognized by the recognizing means can be further provided. The switching means is stored in the connection information storage means. Based on the connection information, the connection between the interface and the MAC driver of the network connection device can be switched for each application program identified by the identification means.

前記アプリケーションプログラムとネットワーク接続装置との対応関係を入力する入力手段をさらに設けるようにさせることができ、接続情報記憶手段には、入力手段により入力されたアプリケーションプログラムとネットワーク接続装置との対応関係に基づいた、アプリケーションプログラム毎に使用するネットワーク接続装置の接続情報を記憶させるようにすることができる。   An input means for inputting a correspondence relationship between the application program and the network connection device can be further provided, and the connection information storage means has a correspondence relationship between the application program input by the input means and the network connection device. Based on this, it is possible to store the connection information of the network connection device used for each application program.

前記ネットワーク接続装置による通信状態を検出する状態検出手段をさらに設けるようにさせることができ、接続情報記憶手段には、状態検出手段により検出される通信状態に基づいた、アプリケーションプログラム毎に使用するネットワーク接続装置の接続情報を記憶させるようにすることができ、切替手段には、状態検出手段により検出される通信状態により、接続情報記憶手段に記憶された接続情報に基づいて、アプリケーションプログラム毎にインタフェースと、ネットワーク接続装置のMACドライバとの接続を切り替えるようにさせることができる。   A state detection unit for detecting a communication state by the network connection device can be further provided, and the connection information storage unit includes a network used for each application program based on the communication state detected by the state detection unit. The connection information of the connection device can be stored, and the switching means has an interface for each application program based on the connection information stored in the connection information storage means according to the communication state detected by the state detection means. Then, the connection with the MAC driver of the network connection device can be switched.

前記状態検出手段には、電界強度を検出する電解強度検出手段をさらに設けるようにさせることができ、電界強度検出手段により検出された電界強度によりネットワーク接続装置による通信状態を検出させるようにすることができる。   The state detection means may be further provided with an electrolytic strength detection means for detecting electric field strength, and the communication state by the network connection device is detected by the electric field strength detected by the electric field strength detection means. Can do.

本発明の通信方法は、複数のネットワーク接続装置毎のインタフェースの情報を記憶するインタフェース情報記憶ステップと、インタフェース情報記憶ステップの処理で記憶されたインタフェース情報に基づいて、インタフェースを介した通信経路を設定する通信経路設定ステップと、アプリケーションプログラム毎に使用するネットワーク接続装置の接続情報を記憶する接続情報記憶ステップと、接続情報記憶ステップの処理で記憶された接続情報に基づいて、アプリケーションプログラム毎にインタフェースと、ネットワーク接続装置のMACドライバとの接続を切り替える切替ステップと、切替ステップの処理でアプリケーションプログラム毎にインタフェースとの接続が切り替えられたネットワーク接続装置のMACドライバを介して情報を通信する通信ステップとを含むことを特徴とする。   According to the communication method of the present invention, an interface information storage step for storing interface information for each of a plurality of network connection devices, and a communication path through the interface are set based on the interface information stored in the processing of the interface information storage step. A communication path setting step, a connection information storage step for storing connection information of a network connection device used for each application program, and an interface for each application program based on the connection information stored in the processing of the connection information storage step. The switching step of switching the connection with the MAC driver of the network connection device, and the information through the MAC driver of the network connection device whose connection with the interface is switched for each application program in the processing of the switching step Characterized in that it comprises a communication step of Shin.

本発明の第3のプログラムは、複数のネットワーク接続装置毎のインタフェースの情報の記憶を制御するインタフェース情報記憶制御ステップと、インタフェース情報記憶制御ステップの処理で記憶が制御されたインタフェース情報に基づいて、インタフェースを介した通信経路を設定する通信経路設定ステップと、アプリケーションプログラム毎に使用するネットワーク接続装置の接続情報の記憶を制御する接続情報記憶制御ステップと、接続情報記憶制御ステップの処理で記憶が制御された接続情報に基づいて、アプリケーションプログラム毎にインタフェースと、ネットワーク接続装置のMACドライバとの接続を切り替える切替ステップと、切替ステップの処理でアプリケーションプログラム毎にインタフェースとの接続が切り替えられたネットワーク接続装置のMACドライバを介した情報の通信を制御する通信制御ステップとをコンピュータに実行させることを特徴とする。   The third program of the present invention is based on an interface information storage control step for controlling storage of interface information for each of a plurality of network connection devices, and interface information whose storage is controlled by the processing of the interface information storage control step. Memory is controlled by processing of a communication path setting step for setting a communication path via an interface, a connection information storage control step for controlling storage of connection information of a network connection device used for each application program, and a connection information storage control step. Based on the connection information, the switching step for switching the connection between the interface and the MAC driver of the network connection device for each application program, and the connection with the interface for each application program is switched by the processing of the switching step. Characterized in that to execute a communication control step of controlling the communication of information via the MAC driver for the network connection device to the computer.

本発明の送信装置および方法、並びにプログラムにおいては、複数のネットワーク接続装置毎のインタフェースの情報が記憶され、記憶されたインタフェース情報に基づいて、インタフェースを介した通信経路が設定され、アプリケーションプログラム毎に使用するネットワーク接続装置の接続情報が記憶され、記憶された接続情報に基づいて、アプリケーションプログラム毎にインタフェースと、ネットワーク接続装置のMACドライバとの接続が切り替えられ、アプリケーションプログラム毎にインタフェースとの接続が切り替えられたネットワーク接続装置のMACドライバを介して情報が送信される。   In the transmission apparatus, method, and program of the present invention, information on the interface for each of a plurality of network connection apparatuses is stored, and a communication path via the interface is set based on the stored interface information. The connection information of the network connection device to be used is stored. Based on the stored connection information, the connection between the interface and the MAC driver of the network connection device is switched for each application program, and the connection with the interface is performed for each application program. Information is transmitted through the MAC driver of the switched network connection device.

本発明の受信装置および方法、並びにプログラムにおいては、複数のネットワーク接続装置毎のインタフェースの情報が記憶され、記憶されたインタフェース情報に基づいて、インタフェースを介した通信経路が設定され、アプリケーションプログラム毎に使用するネットワーク接続装置の接続情報が記憶され、記憶された接続情報に基づいて、アプリケーションプログラム毎にインタフェースと、ネットワーク接続装置のMACドライバとの接続が切り替えられ、アプリケーションプログラム毎にインタフェースとの接続が切り替えられたネットワーク接続装置のMACドライバを介して情報が受信される。   In the receiving apparatus and method, and the program of the present invention, information on the interface for each of a plurality of network connection apparatuses is stored, and a communication path via the interface is set based on the stored interface information. The connection information of the network connection device to be used is stored. Based on the stored connection information, the connection between the interface and the MAC driver of the network connection device is switched for each application program, and the connection with the interface is performed for each application program. Information is received via the MAC driver of the switched network connection device.

本発明の通信装置および方法、並びにプログラムにおいては、複数のネットワーク接続装置毎のインタフェースの情報が記憶され、記憶されたインタフェース情報に基づいて、インタフェースを介した通信経路が設定され、アプリケーションプログラム毎に使用するネットワーク接続装置の接続情報が記憶され、記憶された接続情報に基づいて、アプリケーションプログラム毎にインタフェースと、ネットワーク接続装置のMACドライバとの接続が切り替えられ、アプリケーションプログラム毎にインタフェースとの接続が切り替えられたネットワーク接続装置のMACドライバを介して情報が通信される。   In the communication apparatus and method, and the program of the present invention, information on the interface for each of a plurality of network connection apparatuses is stored, and a communication path via the interface is set based on the stored interface information. The connection information of the network connection device to be used is stored. Based on the stored connection information, the connection between the interface and the MAC driver of the network connection device is switched for each application program, and the connection with the interface is performed for each application program. Information is communicated via the MAC driver of the switched network connection device.

本発明の送信装置、受信装置、または、通信装置は、それぞれ独立した装置であっても良いし、送信処理、受信処理、または、通信処理を行うブロックであっても良い。   The transmission device, the reception device, or the communication device of the present invention may be an independent device, or may be a block that performs transmission processing, reception processing, or communication processing.

本発明によれば、複数のネットワーク接続装置を動的に切り替えてネットワークを介して通信することが可能となる。   According to the present invention, it is possible to dynamically switch a plurality of network connection devices and communicate via a network.

以下に本発明の実施の形態を説明するが、本明細書に記載の発明と、発明の実施の形態との対応関係を例示すると、次のようになる。この記載は、本明細書に記載されている発明をサポートする実施の形態が本明細書に記載されていることを確認するためのものである。従って、発明の実施の形態中には記載されているが、発明に対応するものとして、ここには記載されていない実施の形態があったとしても、そのことは、その実施の形態が、その発明に対応するものではないことを意味するものではない。逆に、実施の形態が発明に対応するものとしてここに記載されていたとしても、そのことは、その実施の形態が、その発明以外の発明には対応しないものであることを意味するものでもない。   Embodiments of the present invention will be described below. The correspondence relationship between the invention described in this specification and the embodiments of the invention is exemplified as follows. This description is intended to confirm that the embodiments supporting the invention described in this specification are described in this specification. Therefore, although there is an embodiment which is described in the embodiment of the invention but is not described here as corresponding to the invention, it means that the embodiment is not It does not mean that it does not correspond to the invention. Conversely, even if an embodiment is described herein as corresponding to an invention, that means that the embodiment does not correspond to an invention other than the invention. Absent.

さらに、この記載は、本明細書に記載されている発明の全てを意味するものではない。換言すれば、この記載は、本明細書に記載されている発明であって、この出願では請求されていない発明の存在、すなわち、将来、分割出願されたり、補正により出現、追加される発明の存在を否定するものではない。   Further, this description does not mean all the inventions described in this specification. In other words, this description is for the invention described in the present specification, which is not claimed in this application, that is, for the invention that will be applied for in the future or that will appear and be added by amendment. It does not deny existence.

即ち、本発明の送信装置は、複数のネットワーク接続装置(例えば、図6のNIC42−1,42−2)毎のインタフェースの情報を記憶するインタフェース情報記憶手段(例えば、図6のルーティングテーブル104a)と、インタフェース情報記憶手段により記憶されたインタフェースの情報に基づいて、インタフェースに通信経路を設定する通信経路設定手段(例えば、図6のルーティングテーブル管理部104)と、アプリケーションプログラム毎に使用するネットワーク接続装置の接続情報を記憶する接続情報記憶手段(例えば、図6の要求情報記憶部111)と、接続情報記憶手段に記憶された接続情報に基づいて、アプリケーションプログラム毎にインタフェースと、ネットワーク接続装置のMACドライバとの接続を切り替える切替手段(例えば、図6のドライバラッパ107)と、切替手段によりアプリケーションプログラム毎にインタフェースとの接続が切り替えられたネットワーク接続装置のMACドライバを介して情報を送信する送信手段(例えば、図6のMACドライバ108,109)とを備えることを特徴とする。   That is, the transmission apparatus of the present invention is an interface information storage unit (for example, the routing table 104a in FIG. 6) that stores interface information for each of a plurality of network connection apparatuses (for example, the NICs 42-1 and 42-2 in FIG. 6). And a communication path setting means (for example, the routing table management unit 104 in FIG. 6) for setting a communication path for the interface based on the interface information stored by the interface information storage means, and a network connection used for each application program Based on the connection information stored in the connection information storage means (for example, the request information storage unit 111 in FIG. 6) and the connection information storage means for storing the connection information of the device, an interface for each application program, and the network connection device Switching the connection with the MAC driver 6 (for example, the driver wrapper 107 in FIG. 6) and a transmission unit (for example, the MAC in FIG. 6) that transmits information via the MAC driver of the network connection device whose connection with the interface is switched for each application program by the switching unit. And drivers 108 and 109).

また、本発明の送信方法は、複数のネットワーク接続装置毎のインタフェースの情報を記憶するインタフェース情報記憶ステップ(例えば、図8のフローチャートのステップS2の処理)と、インタフェース情報記憶ステップの処理で記憶されたインタフェース情報に基づいて、インタフェースに通信経路を設定する通信経路設定ステップ(例えば、図11のフローチャートのステップS23の処理)と、アプリケーションプログラム毎に使用するネットワーク接続装置の接続情報を記憶する接続情報記憶ステップ(例えば、図9のフローチャートのステップS14の処理)と、接続情報記憶ステップの処理で記憶された接続情報に基づいて、アプリケーションプログラム毎にインタフェースと、ネットワーク接続装置との接続を切り替える切替ステップ(例えば、図11のフローチャートのステップS28の処理)と、切替ステップの処理でアプリケーションプログラム毎にインタフェースとの接続が切り替えられたネットワーク接続装置を介して情報を送信する送信ステップ(例えば、図11のフローチャートのステップS30の処理)とを含むことを特徴とする。   The transmission method of the present invention is stored in an interface information storage step (for example, step S2 in the flowchart of FIG. 8) for storing interface information for each of a plurality of network connection devices, and an interface information storage step. A communication path setting step for setting a communication path for the interface based on the interface information (for example, the process of step S23 in the flowchart of FIG. 11), and connection information for storing connection information of the network connection device used for each application program Based on the storage step (for example, the process of step S14 in the flowchart of FIG. 9) and the connection information stored in the process of the connection information storage step, the connection between the interface and the network connection device is switched for each application program. A transmission step (for example, FIG. 11), and a transmission step (for example, FIG. 11) for transmitting information via the network connection device in which the connection to the interface is switched for each application program in the switching step processing. 11 in the flowchart of step S30).

さらに、本発明の受信装置は、複数のネットワーク接続装置(例えば、図6のNIC42−1,42−2)毎のインタフェースの情報を記憶するインタフェース情報記憶手段(例えば、図6のルーティングテーブル104a)と、インタフェース情報記憶手段により記憶されたインタフェース情報に基づいて、インタフェースに通信経路を設定する通信経路設定手段(例えば、図6のルーティングテーブル管理部104)と、アプリケーションプログラム毎に使用するネットワーク接続装置の接続情報を記憶する接続情報記憶手段(例えば、図6の要求情報記憶部111)と、接続情報記憶手段に記憶された接続情報に基づいて、アプリケーションプログラム毎にインタフェースと、ネットワーク接続装置との接続を切り替える切替手段(例えば、図6のドライバラッパ107)と、切替手段によりアプリケーションプログラム毎にインタフェースとの接続が切り替えられたネットワーク接続装置を介して情報を受信する受信手段(例えば、図6のMACドライバ108,109)とを備えることを特徴とする。   Furthermore, the receiving apparatus of the present invention is an interface information storage unit (for example, the routing table 104a in FIG. 6) that stores interface information for each of a plurality of network connection apparatuses (for example, the NICs 42-1 and 42-2 in FIG. 6). And a communication path setting means (for example, the routing table management unit 104 in FIG. 6) for setting a communication path for the interface based on the interface information stored by the interface information storage means, and a network connection device used for each application program Connection information storage means for storing the connection information (for example, the request information storage unit 111 in FIG. 6), and the interface and network connection device for each application program based on the connection information stored in the connection information storage means. Switching means for switching connection (for example, 6 and driver means (for example, MAC drivers 108 and 109 in FIG. 6) for receiving information via the network connection device whose connection to the interface is switched for each application program by the switching means. It is characterized by providing.

本発明の受信方法は、複数のネットワーク接続装置毎のインタフェースの情報を記憶するインタフェース情報記憶ステップ(例えば、図8のフローチャートのステップS2の処理)と、インタフェース情報記憶ステップの処理で記憶されたインタフェース情報に基づいて、インタフェースに通信経路を設定する通信経路設定ステップ(例えば、図14のフローチャートのステップS42の処理)と、アプリケーションプログラム毎に使用するネットワーク接続装置の接続情報を記憶する接続情報記憶ステップ(例えば、図9のフローチャートのステップS14の処理)と、接続情報記憶ステップの処理で記憶された接続情報に基づいて、アプリケーションプログラム毎にインタフェースと、ネットワーク接続装置との接続を切り替える切替ステップ(例えば、図14のフローチャートのステップS47の処理)と、切替ステップの処理でアプリケーションプログラム毎にインタフェースとの接続が切り替えられたネットワーク接続装置を介して情報を受信する受信ステップ(例えば、図11のフローチャートのステップS29の処理)とを含むことを特徴とする。   The reception method of the present invention includes an interface information storage step (for example, the process of step S2 in the flowchart of FIG. 8) for storing interface information for each of a plurality of network connection devices, and the interface information stored in the interface information storage step. Based on the information, a communication path setting step for setting a communication path for the interface (for example, the process of step S42 in the flowchart of FIG. 14), and a connection information storage step for storing connection information of the network connection device used for each application program (For example, the process of step S14 in the flowchart of FIG. 9) and the switching switch for switching the connection between the interface and the network connection device for each application program based on the connection information stored in the connection information storage step. (For example, the process of step S47 in the flowchart of FIG. 14) and the reception step of receiving information via the network connection device whose connection with the interface is switched for each application program in the process of the switching step (for example, FIG. 11 in the flowchart of step S29).

本発明の通信装置は、複数のネットワーク接続装置(例えば、図6のNIC42−1,42−2)毎のインタフェースの情報を記憶するインタフェース情報記憶手段(例えば、図6のルーティングテーブル104a)と、インタフェース情報記憶手段により記憶されたインタフェース情報に基づいて、インタフェースに通信経路を設定する通信経路設定手段(例えば、図6のルーティングテーブル管理部104)と、アプリケーションプログラム毎に使用するネットワーク接続装置の接続情報を記憶する接続情報記憶手段(例えば、図6の要求情報記憶部111)と、接続情報記憶手段に記憶された接続情報に基づいて、アプリケーションプログラム毎にインタフェースと、ネットワーク接続装置との接続を切り替える切替手段(例えば、図6のドライバラッパ107)と、切替手段によりアプリケーションプログラム毎にインタフェースとの接続が切り替えられたネットワーク接続装置を介して情報を通信する通信手段(例えば、図6のMACドライバ108,109)とを備えることを特徴とする。   The communication apparatus of the present invention includes an interface information storage unit (for example, the routing table 104a in FIG. 6) for storing interface information for each of a plurality of network connection apparatuses (for example, the NICs 42-1 and 42-2 in FIG. 6), Connection between communication path setting means (for example, routing table management unit 104 in FIG. 6) for setting a communication path for an interface based on the interface information stored in the interface information storage means, and a network connection device used for each application program Connection information storage means for storing information (for example, request information storage unit 111 in FIG. 6) and connection between the interface and the network connection device for each application program based on the connection information stored in the connection information storage means. Switching means for switching (for example, in FIG. And a communication unit (for example, the MAC drivers 108 and 109 in FIG. 6) for communicating information via a network connection device whose connection with the interface is switched for each application program by the switching unit. And

本発明の通信方法は、複数のネットワーク接続装置毎のインタフェースの情報を記憶するインタフェース情報記憶ステップ(例えば、図8のフローチャートのステップS2の処理)と、インタフェース情報記憶ステップの処理で記憶されたインタフェース情報に基づいて、インタフェースを通信経路に設定する通信経路設定ステップ(例えば、図11のフローチャートのステップS22の処理、または、図14のフローチャートのステップS42の処理)と、アプリケーションプログラム毎に使用するネットワーク接続装置の接続情報を記憶する接続情報記憶ステップ(例えば、図9のフローチャートのステップS14の処理)と、接続情報記憶ステップの処理で記憶された接続情報に基づいて、アプリケーションプログラム毎にインタフェースと、ネットワーク接続装置との接続を切り替える切替ステップ(例えば、図11のフローチャートのステップS28の処理、または、図14のフローチャートのステップS47の処理)と、切替ステップの処理でアプリケーションプログラム毎にインタフェースとの接続が切り替えられたネットワーク接続装置を介して情報を通信する通信ステップ(例えば、図11のフローチャートのステップS30の処理、または、図14のフローチャートのステップS49の処理)とを含むことを特徴とする。   The communication method of the present invention includes an interface information storage step (for example, step S2 in the flowchart of FIG. 8) for storing interface information for each of a plurality of network connection devices, and an interface stored in the interface information storage step. A communication path setting step for setting an interface as a communication path based on the information (for example, the process of step S22 in the flowchart of FIG. 11 or the process of step S42 in the flowchart of FIG. 14), and the network used for each application program Based on the connection information stored in the connection information storage step (for example, the process of step S14 in the flowchart of FIG. 9) and the connection information storage step of storing the connection information of the connection device, an interface is set for each application program. Interface for each application program in the switching step (for example, the process in step S28 in the flowchart in FIG. 11 or the process in step S47 in the flowchart in FIG. 14) and the switching step. Communication step (for example, the process of step S30 in the flowchart of FIG. 11 or the process of step S49 in the flowchart of FIG. 14) for communicating information via the network connection device that has been switched to the connection. And

図1は、本発明を適用したPC41を用いた通信システムの一実施の形態の構成を示す図である。   FIG. 1 is a diagram showing a configuration of an embodiment of a communication system using a PC 41 to which the present invention is applied.

PC(パーソナルコンピュータ)41は、複数のカードスロットを備えており、図1においては、NIC(Network Interface Card)42−1,42−2が装着されている。このNIC42−1,42−2は、それぞれゲートウェイ44,46に接続されており、それぞれネットワーク45,47を介してPC43と通信することができる。以下においては、PC41は、NIC42−1、ゲートウェイ44、および、ネットワーク45を介して、PC43とVoIP(Voice over IP)によるインターネット電話による通信を行うと共に、NIC42−2、ゲートウェイ46、および、ネットワーク47を介して、PC43とftp(File Transfer Protocol)データ伝送による通信を行う。尚、もちろんそれぞれの通信経路においても、インターネット電話の通信、および、ftpデータ伝送の通信処理を実行することは可能である。   The PC (personal computer) 41 includes a plurality of card slots. In FIG. 1, NICs (Network Interface Cards) 42-1 and 42-2 are mounted. The NICs 42-1 and 42-2 are connected to gateways 44 and 46, respectively, and can communicate with the PC 43 via the networks 45 and 47, respectively. In the following, the PC 41 communicates with the PC 43 via the NIC 42-1, the gateway 44, and the network 45 by Internet telephone by VoIP (Voice over IP), and also the NIC 42-2, the gateway 46, and the network 47. , Communication with the PC 43 by ftp (File Transfer Protocol) data transmission is performed. Of course, it is possible to execute communication processing for Internet telephone and ftp data transmission in each communication path.

NIC42−1,42−2は、何れもイーサネット(登録商標)(IEEE 802.3)による通信を行うインタフェースカードであり、それぞれIP(Internet Protocol)アドレスとして「172.16.1.1」および「192.168.1.1」が設定されている。また、ゲートウェイ44,46は、IPアドレスとして「172.16.1.254」および「192.168.1.254」が設定されている。また、PC43は、IPアドレスとして「10.1.1.1」が設定されている。尚、NIC42−1,42−2は、イーサネット(登録商標)対応のものに限らず、その他のLANを構成するものであってもよく、例えば、FDDI(Fiber-Distributed Data Interface)、Token Ring(IEEE 802.5)などに対応するものであってもよいし、有線LANに限らず、無線LANなどであってもよいことは言うまでもない。   Each of the NICs 42-1 and 42-2 is an interface card that performs communication by Ethernet (registered trademark) (IEEE 802.3), and “172.16.1.1” and “192.168.1.1” are set as IP (Internet Protocol) addresses, respectively. Has been. The gateways 44 and 46 are set with “172.16.1.254” and “192.168.1.254” as IP addresses. Further, “10.1.1.1” is set as the IP address of the PC 43. Note that the NICs 42-1 and 42-2 are not limited to those compatible with Ethernet (registered trademark), but may be other LANs, such as FDDI (Fiber-Distributed Data Interface), Token Ring ( Needless to say, it may be compatible with IEEE 802.5), and is not limited to a wired LAN, but may be a wireless LAN.

次に、図5を参照して、PC41の構成を説明する。   Next, the configuration of the PC 41 will be described with reference to FIG.

CPU(Central Processing Unit)51は、ROM(Read Only Memory)52、または記憶部58に記憶されているプログラムに従って各種の処理を実行する。RAM(Random Access Memory)53には、CPU51が実行するプログラムやデータなどが適宜記憶される。これらのCPU51、ROM52、およびRAM53は、バス54により相互に接続されている。   A CPU (Central Processing Unit) 51 executes various processes according to a program stored in a ROM (Read Only Memory) 52 or a storage unit 58. A RAM (Random Access Memory) 53 appropriately stores programs executed by the CPU 51 and data. The CPU 51, ROM 52, and RAM 53 are connected to each other by a bus 54.

CPU51にはまた、バス54を介して入出力インタフェース55が接続されている。入出力インタフェース55には、キーボード、マウス、マイクロフォンなどよりなる入力部56、ディスプレイ、スピーカなどよりなる出力部57が接続されている。CPU51は、入力部56から入力される指令に対応して各種の処理を実行する。そして、CPU51は、処理の結果得られた画像や音声等を出力部57に出力する。   An input / output interface 55 is also connected to the CPU 51 via the bus 54. Connected to the input / output interface 55 are an input unit 56 made up of a keyboard, mouse, microphone, and the like, and an output unit 57 made up of a display, a speaker, and the like. The CPU 51 executes various processes in response to commands input from the input unit 56. Then, the CPU 51 outputs an image, sound, or the like obtained as a result of the processing to the output unit 57.

入出力インタフェース55に接続されている記憶部58は、例えばハードディスクなどで構成され、CPU51が実行するプログラムや各種のデータを記憶する。通信部59は、例えば、図示せぬインターネット、その他のネットワークを介して外部の装置と通信する。   The storage unit 58 connected to the input / output interface 55 is configured by, for example, a hard disk and stores programs executed by the CPU 51 and various data. The communication unit 59 communicates with an external device via, for example, the Internet (not shown) or other networks.

カードスロット60は、所定のインタフェースカードを接続することが可能であり、接続されたインタフェースカードの機能をさらに備えることができる。図5においては、NIC42−1,42−2が接続されており、上述したように、NIC42−1,42−2のそれぞれに接続されたゲートウェイ44,46に接続されている。尚、以下において、NIC42−1,42−2を特に区別する必要がない場合、単に、NIC42と称するものとし、その他の構成についても同様とする。   The card slot 60 can be connected to a predetermined interface card, and can further have a function of the connected interface card. In FIG. 5, the NICs 42-1 and 42-2 are connected, and as described above, connected to the gateways 44 and 46 connected to the NICs 42-1 and 42-2, respectively. In the following, when it is not necessary to distinguish between the NICs 42-1 and 42-2, the NICs 42-1 and 42-2 are simply referred to as the NIC 42, and the same applies to other configurations.

また、記憶部58は、図6以降において後述するインターネット電話アプリケーションプログラム101、ftpデータ転送アプリケーションプログラム102、TCP/UDPソケットライブラリ103、ルーティングテーブル管理部104(ルーティングテーブル104a含む)、インタフェース105,106、ドラバラッパ107、MACドライバ108,109、通信状態検出部110、および、要求情報管理部111をソフトウェアプログラム(ドライバなどを含む)、または、それらのソフトウェアプログラムが所定の処理を実行する際に必要とするデータとして記憶している。尚、以上のソフトウェアプログラムの動作については、図6以降を参照して後述する。   The storage unit 58 includes an Internet telephone application program 101, an ftp data transfer application program 102, a TCP / UDP socket library 103, a routing table management unit 104 (including the routing table 104a), interfaces 105 and 106, which will be described later in FIG. The driver wrapper 107, the MAC drivers 108 and 109, the communication state detection unit 110, and the request information management unit 111 are required for software programs (including drivers) or when these software programs execute predetermined processing. It is stored as data. The operation of the above software program will be described later with reference to FIG.

また、記憶部58に記憶されるプログラムは、上述のほかにも、通信部59、または、カードスロット60に装着されているNIC42−1または42−2を介してプログラムを取得し、記憶部58に記憶してもよい。   In addition to the above, the program stored in the storage unit 58 acquires the program via the communication unit 59 or the NIC 42-1 or 42-2 attached to the card slot 60, and the storage unit 58 May be stored.

入出力インタフェース55に接続されているドライブ70は、磁気ディスク81、光ディスク82、光磁気ディスク83、或いは半導体メモリ84などが装着されたとき、それらを駆動し、そこに記録されているプログラムやデータなどを取得する。取得されたプログラムやデータは、必要に応じて記憶部58に転送され、記憶される。   The drive 70 connected to the input / output interface 55 drives a magnetic disk 81, an optical disk 82, a magneto-optical disk 83, or a semiconductor memory 84 when they are mounted, and programs and data recorded there. Get etc. The acquired program and data are transferred to and stored in the storage unit 58 as necessary.

尚、図4のPC43については、カードスロット60が設けられておらず、通信部59でインターネット電話、および、ftpデータ通信を行っている点が異なるが、基本的にPC41と同様の構成であるので、その説明は省略する。   The PC 43 in FIG. 4 is basically the same configuration as the PC 41 except that the card slot 60 is not provided and the communication unit 59 performs Internet telephone and ftp data communication. Therefore, the description is omitted.

次に、図6を参照して、図5のPC41により実現される機能について説明する。   Next, functions realized by the PC 41 in FIG. 5 will be described with reference to FIG.

インターネット電話アプリケーションプログラム101は、図1で示されるNIC42−1、ゲートウェイ44、および、ネットワーク45を介してPC43とインターネット電話による通信処理を実行し、マイクロフォンなどからなる入力部56より入力される音声データを所定の形式に変換してPC43に送出すると共に、PC43より送信されてくる音声データを受信して、スピーカなどからなる出力部57に出力して、音声として出力させ、PC41,43のそれぞれのユーザ間の通話を可能にする。より詳細には、インターネット電話アプリケーションプログラム101は、TCP/UDPソケットライブラリ103に対して、通信先となるPC43のIPアドレスを供給し、インターネット電話の通信経路を初期化して設定するように求め、設定された経路を用いて、音声データの授受を行い、PC43のユーザとの通話を可能にする。   The Internet phone application program 101 executes communication processing by the Internet phone with the PC 43 via the NIC 42-1, the gateway 44, and the network 45 shown in FIG. 1, and audio data input from the input unit 56 such as a microphone. Is converted into a predetermined format and transmitted to the PC 43, and the audio data transmitted from the PC 43 is received and output to the output unit 57 such as a speaker to be output as audio. Allows calls between users. More specifically, the Internet phone application program 101 supplies the TCP / UDP socket library 103 with the IP address of the PC 43 that is the communication destination, and requests to initialize and set the communication path of the Internet phone. Using the route, voice data is exchanged to enable a call with the user of the PC 43.

ftpデータ伝送アプリケーションプログラム102は、NIC42−2、ゲートウェイ46、および、ネットワーク47を介してPC43とのデータ通信処理を実行し、記憶部58に記憶されている所定のデータをftpでPC43に送出すると共に、PC43よりftpで送信されてくるデータを受信する。より詳細には、ftpデータ伝送アプリケーションプログラム102は、通信先となるPC43のIPアドレスを供給し、TCP/UDPソケットライブラリ103に対して、ftpデータ伝送処理を行うための通信経路を初期化して設定するように求め、設定された経路を用いて、ftpによるデータの授受を行い、PC43とのftpデータ伝送を可能にする。   The ftp data transmission application program 102 executes data communication processing with the PC 43 via the NIC 42-2, the gateway 46, and the network 47, and sends predetermined data stored in the storage unit 58 to the PC 43 by ftp. At the same time, it receives data sent from the PC 43 by ftp. More specifically, the ftp data transmission application program 102 supplies the IP address of the PC 43 serving as a communication destination, and initializes and sets a communication path for performing ftp data transmission processing to the TCP / UDP socket library 103. The ftp data transmission / reception with the PC 43 is enabled by exchanging data by ftp using the set route.

インターネット電話アプリケーションプログラム101、および、ftpデータ伝送アプリケーションプログラム102は、それぞれOSI(Open Systems Interconnection)参照モデルの通信機能階層でいうところのアプリケーション層に相当する。また、アプリケーションプログラムは、上述したインターネット電話アプリケーションプログラム101、および、ftpデータ伝送アプリケーションプログラム102に限るものではなく、その他のアプリケーションプログラムであってもよい。   The Internet telephone application program 101 and the ftp data transmission application program 102 correspond to application layers in the communication function hierarchy of the OSI (Open Systems Interconnection) reference model. The application program is not limited to the Internet telephone application program 101 and the ftp data transmission application program 102 described above, and may be other application programs.

TCP/UDP(Transmission Control Protocol/User Datagram Protocol)ソケットライブラリ103は、インターネット電話アプリケーションプログラム101、または、ftpデータ伝送アプリケーションプログラム102からの通信の要求を受けるとルーティングテーブル管理部104に問い合わせて、予め設定されたルーティングテーブル104aのルーティングに基づいて、NIC42−1,42−2に対応するインタフェース105,106を選択して通信できる状態に設定する。また、TCP/UDPソケットライブラリ103は、アプリケーションプログラムに応じてポートが予め設定されており(どのアプリケーションプログラムに対してどのポートを使用するかがポート番号により設定されている)、信号が供給されたポート番号からアプリケーションプログラムを認識して(例えば、ポート番号20番,21番は一般にftpデータ伝送ように設定されている)、ルーティングテーブル管理部104のルーティングテーブル104aに基づいてインタフェース105,106を介してドライバラッパ107に供給する。尚、TCP/UDPソケットライブラリ103は、OS上で実行されるプログラムであって、同ようにOSで管理されるルーティングテーブル管理部104により管理されているルーティングテーブル104aの情報に基づいて、インタフェース105,106の何れかに対して通信状態を確保できるように設定する。   When the TCP / UDP (Transmission Control Protocol / User Datagram Protocol) socket library 103 receives a communication request from the Internet telephone application program 101 or the ftp data transmission application program 102, it inquires the routing table management unit 104 and sets in advance. Based on the routing of the routing table 104a, the interfaces 105 and 106 corresponding to the NICs 42-1 and 42-2 are selected and set in a state where communication is possible. The TCP / UDP socket library 103 has a port set in advance according to the application program (which port is used for which application program is set by the port number), and a signal is supplied. The application program is recognized from the port number (for example, the port numbers 20 and 21 are generally set to transmit ftp data), and the interfaces 105 and 106 are passed through the routing table 104a of the routing table management unit 104. To the driver wrapper 107. Note that the TCP / UDP socket library 103 is a program executed on the OS, and similarly, based on the information in the routing table 104a managed by the routing table management unit 104 managed by the OS, the interface 105 , 106 is set so as to ensure a communication state.

TCP/UDPソケットライブラリ103は、それぞれOSI参照モデルの通信機能階層でいうところのトランスポート層に相当する。   Each TCP / UDP socket library 103 corresponds to a transport layer in the communication function hierarchy of the OSI reference model.

ルーティングテーブル管理部104は、実際には、OS上で管理されるルーティングテーブル104aを管理するプログラムであって、OSそのものであってもよいものである。   The routing table management unit 104 is actually a program for managing the routing table 104a managed on the OS, and may be the OS itself.

インタフェース105,106は、それぞれNIC42−1,42−2に対応して設定されたIPアドレスにより設定されたインタフェースであって、ドライバラッパ107によりMACドライバ108または109のいずれかを介してNIC42−1または42−2よりインターネット電話の音声データ、または、ftpデータの通信を可能にする。   The interfaces 105 and 106 are interfaces set by IP addresses set corresponding to the NICs 42-1 and 42-2, respectively. The driver wrapper 107 passes the NIC 42-1 via either the MAC driver 108 or 109. Alternatively, communication of voice data of Internet telephone or ftp data is enabled from 42-2.

インタフェース105,106は、それぞれOSI参照モデルの通信機能階層でいうところのネットワーク層(IPレイヤ)に相当する。   Each of the interfaces 105 and 106 corresponds to a network layer (IP layer) in the communication function hierarchy of the OSI reference model.

ドライバラッパ107は、要求情報管理部111に記憶されたユーザの接続に関する要求情報に基づいて、インタフェース105,106と、MACドライバ108,109とを接続し、NIC42−1,42−2による通信を可能にする。また、ドライバラッパ107は、要求情報の要求により通信状態検出部110により検出される通信状態の情報に基づいて、インタフェース105,106と、MACドライバ108,109とを接続する事も可能である。   The driver wrapper 107 connects the interfaces 105 and 106 and the MAC drivers 108 and 109 based on the request information related to the user connection stored in the request information management unit 111, and performs communication using the NICs 42-1 and 42-2. to enable. The driver wrapper 107 can also connect the interfaces 105 and 106 to the MAC drivers 108 and 109 based on the communication state information detected by the communication state detection unit 110 in response to a request for request information.

さらに、通常の接続と異なる場合、すなわち、インタフェース105とMACドライバ109を接続したり、または、インタフェース106とMACドライバ108を接続したような場合、通信に際して、パケットのヘッダに記録される、送信元を示すアドレスをMACドライバに対応するインタフェースのIPアドレスに書き換えてデータを通信させる。すなわち、インタフェース105とMACドライバ109を接続したNIC42−2より送信されるパケットのパケットヘッダの送信元を示すIPアドレスは、通信にNIC42−2に対応するインタフェース106に対応するIPアドレスに書き換えられる。また、インタフェース106とMACドライバ108を接続したNIC42−1より送信されるパケットのパケットヘッダの送信元を示すIPアドレスは、通信にNIC42−1に対応するインタフェース105に対応するIPアドレスに書き換えられる。すなわち、常に、最終的にパケット単位でデータを送信するNIC42に対応するインタフェース105,106のIPアドレスが使用される。   Further, when different from the normal connection, that is, when the interface 105 and the MAC driver 109 are connected, or when the interface 106 and the MAC driver 108 are connected, the transmission source recorded in the header of the packet at the time of communication Rewrite the address indicating to the IP address of the interface corresponding to the MAC driver to communicate data. That is, the IP address indicating the transmission source of the packet header of the packet transmitted from the NIC 42-2 connecting the interface 105 and the MAC driver 109 is rewritten to the IP address corresponding to the interface 106 corresponding to the NIC 42-2 for communication. Further, the IP address indicating the transmission source of the packet header of the packet transmitted from the NIC 42-1 connecting the interface 106 and the MAC driver 108 is rewritten to the IP address corresponding to the interface 105 corresponding to the NIC 42-1. That is, the IP addresses of the interfaces 105 and 106 corresponding to the NIC 42 that finally transmits data in units of packets are always used.

要求情報管理部111は、要求情報をユーザに設定させるアプリケーションプログラムであり、要求情報を入力させる処理を実行した後、その際入力された要求情報を記憶する。要求情報は、それぞれのアプリケーションプログラムにより実行される処理に応じて通信に利用されるNICの種類を設定するものであり、例えば、インターネット電話アプリケーションプログラム101の通信においては、NIC42−1を利用し、ftpデータ伝送アプリケーションプログラム102においては、NIC42−2を用いるようにすると言ったものである。より具体的には、インターネット電話アプリケーションプログラム101の通信においては、PHS(Personal Handy-Phone System)に対応したNICを利用し、ftpデータ伝送アプリケーションプログラムにおいては、IEEE802.11bに対応したNICを用いるようにするといった設定とするようにしてもよい。また、要求情報においては、自動という設定も可能であり、このような場合、通信状態検出部110により検出される通信状態に応じて、通信経路を設定する。例えば、通信状態検出部110が通信レートに基づいて通信状態を監視するような場合、ドライバラッパ107は、NIC42−1,42−2のそれぞれの通信状態に応じて、通信状態が良好なNICを選択して接続するように設定する。   The request information management unit 111 is an application program that allows a user to set request information. The request information management unit 111 stores request information input at that time after executing a process of inputting request information. The request information sets the type of NIC used for communication according to the processing executed by each application program. For example, the communication of the Internet telephone application program 101 uses the NIC 42-1, In the ftp data transmission application program 102, the NIC 42-2 is used. More specifically, an NIC that supports PHS (Personal Handy-Phone System) is used for communication of the Internet telephone application program 101, and an NIC that supports IEEE802.11b is used for the ftp data transmission application program. You may make it the setting which makes it. In the request information, automatic setting is also possible. In such a case, a communication path is set according to the communication state detected by the communication state detection unit 110. For example, when the communication state detection unit 110 monitors the communication state based on the communication rate, the driver wrapper 107 selects a NIC with a good communication state according to the communication state of each of the NICs 42-1 and 42-2. Select and set to connect.

通信状態検出部110は、NIC42−1,42−2のそれぞれについて通信レートを検出し、通信状態を検出し、ドライバラッパ107に供給する。尚、通信状態検出部110は、ソフトウェアにより通信レートを検出する構成とするのみならず、例えば、ハードウェアにより構成し、電界強度などを検出するようにすることで、通信状態を検出するようにしてもよい。   The communication state detection unit 110 detects the communication rate for each of the NICs 42-1 and 42-2, detects the communication state, and supplies it to the driver wrapper 107. Note that the communication state detection unit 110 is not only configured to detect the communication rate by software, but also configured by hardware, for example, to detect the communication state by detecting the electric field strength and the like. May be.

MAC(Media Access Control)ドライバ108,109は、それぞれNIC42−1,42−2に対応するドライバであり、実際にドライバラッパ107により接続されたインタフェースを経由して通信経路を形成し、実際にNIC42−1,42−2を介してデータの通信を行う。   MAC (Media Access Control) drivers 108 and 109 are drivers corresponding to the NICs 42-1 and 42-2, respectively, and actually form a communication path via an interface connected by the driver wrapper 107. -1 and 42-2 are used for data communication.

MACドライバ108,109は、それぞれOSI参照モデルの通信機能階層でいうところの物理層(MAC層)に相当する。   Each of the MAC drivers 108 and 109 corresponds to a physical layer (MAC layer) in the communication function hierarchy of the OSI reference model.

次に、図7のフローチャートを参照して、ルーティングテーブル生成処理について説明する。尚、この処理は、OS上に存在するルーティングテーブル管理部104により実行され、OSにより管理されるルーティングテーブル104aを生成するものである。   Next, the routing table generation process will be described with reference to the flowchart of FIG. This process is executed by the routing table management unit 104 existing on the OS, and generates the routing table 104a managed by the OS.

ステップS1において、ルーティングテーブル管理部104は、入力部56に問い合わせて、ユーザよりルーティングテーブルの情報が入力されたか否かを判定し、ルーティングテーブルの情報が入力されてくるまで、その処理を繰り返す。そして、ステップS1において、何らかのルーティングテーブルの情報が入力されたと判定された場合、ステップS2において、ルーティングテーブル管理部104は、入力されたルーティングテーブルの情報を記憶して、ルーティングテーブル104aに記憶させる。ここで、ルーティングテーブルの情報は、Network Destination、Netmask、Gateway、InterfaceのそれぞれのIPアドレス、および、Metricである。   In step S1, the routing table management unit 104 inquires of the input unit 56, determines whether or not the routing table information is input from the user, and repeats the processing until the routing table information is input. If it is determined in step S1 that some routing table information has been input, in step S2, the routing table management unit 104 stores the input routing table information in the routing table 104a. Here, the information in the routing table includes Network Destination, Netmask, Gateway, and Interface IP addresses, and Metric.

ステップS3において、ルーティングテーブル管理部104は、ルーティングテーブルの設定処理の終了が指示されたか否かを判定し、終了が指示されていないと判定した場合、その処理は、ステップS1に戻り、それ以降の処理が繰り返される。ステップS3において、終了が指示されたと判定された場合、その処理は終了する。尚、以上においては、ルーティングテーブルの情報が入力された場合に新たに追記する状態について説明したが、言うまでもなく、入力の代わりに更新(書き換え)や削除なども同様にすることができる。   In step S3, the routing table management unit 104 determines whether or not the end of the routing table setting process is instructed. If it is determined that the end is not instructed, the process returns to step S1, and thereafter The process is repeated. In step S3, when it is determined that the end is instructed, the process ends. In the above description, a state in which a new addition is made when routing table information is input has been described. Needless to say, updating (rewriting), deletion, and the like can be similarly performed instead of input.

すなわち、この処理により、OSで管理されるルーティングテーブル104aが設定されることになる。このルーティングテーブル104aに関する情報が、図7のフローチャートを参照して説明したように生成されると(または、書き換えられると)、OSは、以降の処理を書き換えられたルーティングテーブル104aに基づいて実行するため、再起動などを実行し、起動時にOS上のプログラムで、そのルーティングテーブル104aに対応した設定がなされる。すなわち、ルーティングテーブル104aの設定内容を書き換える処理を行っても、リアルタイムで変更されたルーティングテーブル104aの内容を反映させることは事実不可能である。   That is, the routing table 104a managed by the OS is set by this processing. When the information regarding the routing table 104a is generated as described with reference to the flowchart of FIG. 7 (or rewritten), the OS executes the subsequent processing based on the rewritten routing table 104a. For this reason, a reboot or the like is executed, and settings corresponding to the routing table 104a are made by a program on the OS at the time of startup. That is, even if processing for rewriting the setting contents of the routing table 104a is performed, it is actually impossible to reflect the contents of the routing table 104a changed in real time.

尚、図7のフローチャートを参照して説明した処理により、例えば、図8で示されるようなルーティングテーブル104aが設定されたものとして、以下の説明を進める。   The following description will be made assuming that, for example, the routing table 104a as shown in FIG. 8 is set by the processing described with reference to the flowchart of FIG.

ここで、図8のルーティングテーブル104aの設定内容は、図中左側にルーティング情報の番号として1乃至7が示されている。また、その右側には、Network Destinationが示されており、番号1から順に、「0.0.0.0」、「0.0.0.0」、「172.16.1.0」、「172.255. 255. 255」、「192.168.1.0」、「192.168.1.255」、および、「255.255.255.255」とアドレスが示されている。さらに右側には、Netmaskが示されており、番号1から順に、「0.0.0.0」、「0.0.0.0」、「255.255. 255. 0」、「255.255. 255. 255」、「255.255. 255. 0」、「255.255. 255. 255」、および「255.255. 255. 255」とアドレスが示されている。また、Netmaskの右側には、ゲートウェイ(Gateway)が示されており番号1から順に「172.16.1.254」、「192.168.1.254」、「172.16.1.1」、「172.16.1.1」、「192.168.1.1」、「192.168.1.1」、および「172.16.1.1」とアドレスが示されている。さらに、右側には、インタフェース(Interface)が示されており、「172.16.1.1」、「172.16.1.1」、「172.16.1.1」、「172.16.1.1」、「192.168.1.1」、「192.168.1.1」、および「172.16.1.1」とアドレスが示されている。最も右側には、Metricとして個数が示されており、図8においては、全て1として示されている。   Here, as for the setting contents of the routing table 104a in FIG. 8, 1 to 7 are shown as routing information numbers on the left side in the figure. In addition, Network Destination is shown on the right side, and in order from number 1, “0.0.0.0”, “0.0.0.0”, “172.16.1.0”, “172.255.255.255”, “192.168.1.0 "," 192.168.1.255 ", and" 255.255.255.255 "are shown. Further, on the right side, Netmask is shown, and in order from number 1, “0.0.0.0”, “0.0.0.0”, “255.255.255.0”, “255.255.255.255”, “255.255.255. The addresses are shown as “0”, “255.255.255.255”, and “255.255.255.255”. On the right side of the Netmask, gateways are shown. In order from the number 1, "172.16.1.254", "192.168.1.254", "172.16.1.1", "172.16.1.1", "192.168.1.1" , “192.168.1.1”, and “172.16.1.1” are indicated. Furthermore, on the right side, an interface (Interface) is shown, and “172.16.1.1”, “172.16.1.1”, “172.16.1.1”, “172.16.1.1”, “192.168.1.1”, “192.168.1.1” "And" 172.16.1.1 "are shown as addresses. On the rightmost side, the number is shown as Metric, and all are shown as 1 in FIG.

すなわち、ルーティングテーブル104aの番号1のルーティングテーブルの情報は、Network Destinationが「0.0.0.0」、Netmaskが「0.0.0.0」、ゲートウェイが「172.16.1.254」、インタフェースが「172.16.1.1」、Metricが1であることが示されている。同ように、番号2のルーティングテーブルの情報は、Network Destinationが「0.0.0.0」、Netmaskが「0.0.0.0」、ゲートウェイが「192.16.1.254」、インタフェースが「172.16.1.1」、Metricが1であることが示されている。番号3のルーティングテーブルの情報は、Network Destinationが「172.16.1.0」、Netmaskが「255.255.255.0」、ゲートウェイが「172.16.1.1」、インタフェースが「172.16.1.1」、Metricが1であることが示されている。番号4のルーティングテーブルの情報は、Network Destinationが「172.255.255.255」、Netmaskが「255.255.255.255」、ゲートウェイが「172.16.1.1」、インタフェースが「172.16.1.1」、Metricが1であることが示されている。番号5のルーティングテーブルの情報は、Network Destinationが「192.168.1.0」、Netmaskが「255.255.255.0」、ゲートウェイが「192.16.1.1」、インタフェースが「192.16.1.1」、Metricが1であることが示されている。番号6のルーティングテーブルの情報は、Network Destinationが「192.168.1.255」、Netmaskが「255.255.255.255」、ゲートウェイが「192.16.1.1」、インタフェースが「192.16.1.1」、Metricが1であることが示されている。番号7のルーティングテーブルの情報は、Network Destinationが「255.255.255.255」、Netmaskが「255.255.255.255」、ゲートウェイが「172.16.1.1」、インタフェースが「172.16.1.1」、Metricが1であることが示されている。   That is, the information of the routing table number 1 in the routing table 104a is that the Network Destination is “0.0.0.0”, the Netmask is “0.0.0.0”, the gateway is “172.16.1.254”, the interface is “172.16.1.1”, and the Metric is 1 is shown. Similarly, the routing table number 2 has Network Destination “0.0.0.0”, Netmask “0.0.0.0”, Gateway “192.16.1.254”, Interface “172.16.1.1”, Metric 1 It is shown that there is. The routing table number 3 indicates that the network destination is “172.16.1.0”, the netmask is “255.255.255.0”, the gateway is “172.16.1.1”, the interface is “172.16.1.1”, and the metric is 1. Has been. The routing table information of number 4 indicates that the network destination is “172.255.255.255”, the netmask is “255.255.255.255”, the gateway is “172.16.1.1”, the interface is “172.16.1.1”, and the metric is 1. Has been. The number 5 routing table information shows that the network destination is “192.168.1.0”, the Netmask is “255.255.255.0”, the gateway is “192.16.1.1”, the interface is “192.16.1.1”, and the Metric is 1. Has been. The routing table information of number 6 indicates that the network destination is “192.168.1.255”, the netmask is “255.255.255.255”, the gateway is “192.16.1.1”, the interface is “192.16.1.1”, and the metric is 1. Has been. The routing table number 7 indicates that the network destination is “255.255.255.255”, the netmask is “255.255.255.255”, the gateway is “172.16.1.1”, the interface is “172.16.1.1”, and the metric is 1. Has been.

次に、図9のフローチャートを参照して、要求情報管理部111による要求情報入力処理について説明する。   Next, the request information input processing by the request information management unit 111 will be described with reference to the flowchart of FIG.

ステップS11において、要求情報管理部111は、要求情報の入力が指示されたか否かを判定し、要求情報の入力が要求されるまでその処理を繰り返す。例えば、ステップS11において、要求情報の入力が指示されたと判定された場合、ステップS12において、要求情報管理部111は、要求情報を入力する入力画面を表示する。例えば、要求情報の入力画面は、図10で示されるような入力画面である。   In step S11, the request information management unit 111 determines whether or not an input of request information is instructed, and repeats the process until an input of request information is requested. For example, if it is determined in step S11 that an input of request information has been instructed, in step S12, the request information management unit 111 displays an input screen for inputting request information. For example, the request information input screen is an input screen as shown in FIG.

図10においては、最上部に「MACドライバラッパ設定」と表示されており、右側の下に「利用中のプロトコル」と表示され、上から「VoIP(インターネット電話)」、および、「ftp」と表示されており、それぞれインターネット電話アプリケーションプログラム101のプロトコルと、ftpデータ伝送アプリケーションプログラム102のプロトコルとが示されている。さらに、それぞれのプロトコルに対して、「NIC42−1を使う」、「NIC42−2を使う」、および、「自動」と表示されており、各項目に対して、プロトコル毎にそれぞれマーク欄121乃至126が設けられており、それぞれ設定したい内容のマーク欄を選択すると丸印が表示される(マークされる)。マーク欄121,124が選択されると、「NIC42−1を使う」設定され、NIC42−1が通信に使用されるように設定され、マーク欄122,125が選択されると、「NIC42−2を使う」が設定され、NIC42−2が通信に使用されるように設定される。また、「自動」が設定されると、通信状態検出部110の通信状態に応じて、通信状態が良好なNIC42−1または42−2が通信に使用される。   In FIG. 10, “MAC driver wrapper setting” is displayed at the top, “protocol in use” is displayed below the right side, and “VoIP (Internet phone)” and “ftp” are displayed from the top. The protocol of the Internet telephone application program 101 and the protocol of the ftp data transmission application program 102 are shown. Furthermore, “use NIC 42-1”, “use NIC 42-2”, and “automatic” are displayed for each protocol, and for each item, mark fields 121 to 126 is provided, and a circle is displayed (marked) when a mark field of the content to be set is selected. When the mark fields 121 and 124 are selected, “use NIC 42-1” is set, and the NIC 42-1 is set to be used for communication, and when the mark fields 122 and 125 are selected, “NIC 42-2”. "Use" is set, and the NIC 42-2 is set to be used for communication. When “automatic” is set, the NIC 42-1 or 42-2 having a good communication state is used for communication according to the communication state of the communication state detection unit 110.

図10の場合、VoIPに対しては、マーク欄121が選択されており、インターネット電話アプリケーションプログラム101に対してはNIC42−1を使うことがユーザにより設定されていることが示されている。同ようにして、ftpデータ伝送アプリケーションプログラム102に対しては、マーク欄121が選択されており、VoIPに対してはNIC42−1を使うことがユーザにより設定されていることが示されている。要求情報管理部111は、デフォルトで各プロトコル毎にいずれかのマーク欄が選択されるた状態で要求情報を管理している。   In the case of FIG. 10, the mark column 121 is selected for VoIP, and it is shown that the user is set to use the NIC 42-1 for the Internet telephone application program 101. Similarly, the mark field 121 is selected for the ftp data transmission application program 102, and it is shown that the user is set to use the NIC 42-1 for VoIP. The request information management unit 111 manages request information in a state where any mark column is selected for each protocol by default.

「OK」と表示されたボタン127は、要求情報の入力処理が終了されるとき、押下されるボタンである。   A button 127 displayed as “OK” is a button that is pressed when the request information input process is completed.

ステップS12において、要求情報管理部111は、入力部56に問い合わせて、要求情報の入力操作がなされたか否かを判定し、入力操作がなされていると判定した場合、ステップS14において、入力操作に応じて入力画面の表示を切り替えて、同時に、入力操作に応じた要求情報を設定し、記憶する。   In step S12, the request information management unit 111 makes an inquiry to the input unit 56 to determine whether or not an input operation for request information has been performed. When it is determined that an input operation has been performed, in step S14, the request information management unit 111 The display of the input screen is switched accordingly, and at the same time, the request information corresponding to the input operation is set and stored.

ステップS15において、要求情報管理部111は、入力部56に問い合わせて要求情報の入力処理の終了が指示されたか否かを判定し、終了が指示されていないと判定した場合、その処理は、ステップS13の処理に戻る。すなわち、要求情報の入力処理の終了が指示されるまでステップS13乃至S15の処理が繰り返される。また、例えば、ボタン127が押下されて、終了が指示されたと判定された場合、その処理は、ステップS11に戻り、それ以降の処理を繰り返す。   In step S15, the request information management unit 111 makes an inquiry to the input unit 56 to determine whether or not the end of request information input processing has been instructed. The process returns to S13. That is, the processes in steps S13 to S15 are repeated until an instruction to end the request information input process is given. Further, for example, when it is determined that the button 127 has been pressed and the end has been instructed, the processing returns to step S11 and the subsequent processing is repeated.

ステップS13において、入力操作がなされていないと判定された場合、ステップS14の処理がスキップされる。すなわち、入力画面として表示している状態で、要求情報を保持し、記憶する。   If it is determined in step S13 that no input operation has been performed, the process in step S14 is skipped. That is, the request information is held and stored while being displayed as an input screen.

要求情報管理部111で管理する要求情報は、ルーティングテーブル104aのようにOSで直接管理されていないので、図9のフローチャートの処理は、いつでも実行し、要求情報の変更については、再起動などの処理を必要とすることなく、リアルタイムで要求情報の変更を反映させることが可能である。   Since the request information managed by the request information management unit 111 is not directly managed by the OS as in the routing table 104a, the processing of the flowchart of FIG. 9 is executed at any time. It is possible to reflect the change of the request information in real time without requiring processing.

次に、以上の処理により設定されたルーティングテーブル104aと要求情報に基づいた送信処理について説明する。   Next, the transmission process based on the routing table 104a set by the above process and the request information will be described.

ステップS21において、TCP/UDPソケットライブラリ103は、通信の要求があったか否かを判定する。すなわち、インターネット電話アプリケーションプログラム101、または、ftpデータ伝送アプリケーションプログラム102のいずれかから通信が要求されたか否かを判定し、要求されたと判定されるまで、その処理を繰り返す。   In step S21, the TCP / UDP socket library 103 determines whether or not there is a communication request. That is, it is determined whether communication is requested from either the Internet telephone application program 101 or the ftp data transmission application program 102, and the process is repeated until it is determined that the communication is requested.

ステップS21において、いずれかのアプリケーションプログラムより通信が要求されたと判定された場合、ステップS22において、通信の要求があったポート番号を確認する。このポート番号の確認により、通信を要求したアプリケーションプログラムが認識される。   If it is determined in step S21 that communication has been requested by any application program, the port number for which communication has been requested is confirmed in step S22. By confirming the port number, the application program that has requested communication is recognized.

ステップS23において、TCP/UDPソケットライブラリ103は、ルーティングテーブル管理部104に問い合わせて、アプリケーションプログラムより通信が要求された送信相手のIPアドレスをルーティングテーブル104aに照会して、対応するインタフェース105または106に接続する。   In step S23, the TCP / UDP socket library 103 makes an inquiry to the routing table management unit 104, makes an inquiry to the routing table 104a for the IP address of the transmission partner requested for communication by the application program, and sends it to the corresponding interface 105 or 106. Connecting.

例えば、図12で示されるように、インターネット電話アプリケーションプログラム101より、IPアドレスが「10.1.1.1」のPC43に対して通信が要求された場合、TCP/UDPソケットライブラリ103は、Network DestinationとNetmaskの関係から最も近いルーティングテーブルを選択する。今の場合、「10.1.1.1」に、番号1,2のいずれかが近いルーティングとして選択されることになるが、このように複数のルーティングが選択される場合、番号が上位となるルーティングが選択されることになる。従って、今の場合、番号1のルーティングが選択されることになる。そこで、TCP/UDPソケットライブラリ103は、IPアドレスが「172.16.1.1」のインタフェース105に対して通信経路を設定する。この処理により、インターネット電話アプリケーションプログラム101において授受される通信データがインタフェース105を介してドライバラッパ107に供給される。尚、図12においては、通信状態検出部110と要求情報管理部111からの矢印を除く、実線の矢印は、設定された通信経路を示している。   For example, as shown in FIG. 12, when communication is requested from the Internet telephone application program 101 to the PC 43 whose IP address is “10.1.1.1”, the TCP / UDP socket library 103 sets the Network Destination and Netmask. Select the closest routing table from the relationship. In this case, one of the numbers 1 and 2 is selected as the closest route to “10.1.1.1”. When multiple routes are selected in this way, the routing with the higher number is selected. Will be. Therefore, in this case, the routing with the number 1 is selected. Therefore, the TCP / UDP socket library 103 sets a communication path for the interface 105 whose IP address is “172.16.1.1”. With this processing, communication data exchanged in the Internet telephone application program 101 is supplied to the driver wrapper 107 via the interface 105. In FIG. 12, solid arrows excluding the arrows from the communication state detection unit 110 and the request information management unit 111 indicate the set communication paths.

ステップS24においてドライバラッパ107は、要求情報管理部111に問い合わせて要求情報を読み出し、ステップS25において、ポート番号から認識されるアプリケーションプログラムのプロトコルにおける通信の設定が「自動」にされているか否かを判定する。   In step S24, the driver wrapper 107 inquires the request information management unit 111 to read out the request information. In step S25, the driver wrapper 107 determines whether or not the communication setting in the protocol of the application program recognized from the port number is “automatic”. judge.

例えば、図10において、マーク欄123にマークが設定された場合、自動が選択されていると判定され、その処理は、ステップS26に進む。   For example, in FIG. 10, when a mark is set in the mark field 123, it is determined that automatic is selected, and the process proceeds to step S26.

ステップS26において、ドライバラッパ107は、通信状態検出部110に問い合わせて通信状態を検出させ、通信状態の情報を取得する。   In step S26, the driver wrapper 107 makes an inquiry to the communication state detection unit 110 to detect the communication state, and acquires information on the communication state.

ステップS27において、ドライバラッパ107は、経路の変更が必要であるか否かを判定する。すなわち、IPアドレスが「172.16.1.1」のインタフェース105は、通常NIC42−1のMACドライバ108に対して通信の経路が設定されるが、自動が設定されている場合、通信状態検出部110により検出された通信状態に対応してNIC42−2に接続を切り替える。例えば、NIC42−1の通信状態がNIC42−2の通信状態よりも良好である場合、ステップS31において、MACドライバ108がドライバラッパ107を介して供給されるパケット化されたデータを、図12で示されるように、標準のMACドライバ108に対して出力する。このときパケット化されているデータのパケットヘッダには、送信元となるインタフェースのIPアドレスが記録されている。   In step S27, the driver wrapper 107 determines whether or not a route change is necessary. That is, the interface 105 with the IP address “172.16.1.1” is normally set with a communication path to the MAC driver 108 of the NIC 42-1, but is detected by the communication state detection unit 110 when automatic is set. The connection is switched to the NIC 42-2 corresponding to the communication state. For example, when the communication state of the NIC 42-1 is better than the communication state of the NIC 42-2, the packetized data supplied by the MAC driver 108 via the driver wrapper 107 in step S31 is shown in FIG. Output to the standard MAC driver 108. At this time, the IP address of the interface serving as the transmission source is recorded in the packet header of the packetized data.

ステップS30において、NIC42−1が、インターネット電話アプリケーションプログラム101の通信に係るデータを送信する。   In step S30, the NIC 42-1 transmits data relating to communication of the Internet telephone application program 101.

一方、ステップS25において、例えば、図10で示されるようにインターネット電話においては、マーク欄121がマークされて「NIC42−1を使用する」が選択されている、すなわち、「自動」は選択されていないので、自動ではないと判定され、ステップS26の処理がスキップされて、その処理は、ステップS27に進む。   On the other hand, in step S25, for example, as shown in FIG. 10, in the Internet telephone, the mark column 121 is marked and "Use NIC 42-1" is selected, that is, "Automatic" is selected. Therefore, it is determined that it is not automatic, the process of step S26 is skipped, and the process proceeds to step S27.

図10の場合、マーク欄121がマークされて「NIC42−1を使用する」が選択されているので、ステップS27において、標準となるNIC42−1が使用されることになるので、経路の変更は必要ないと判定され、その処理は、ステップS31に進む。   In the case of FIG. 10, since the mark field 121 is marked and “Use NIC 42-1” is selected, the standard NIC 42-1 is used in step S27. It is determined that it is not necessary, and the process proceeds to step S31.

ステップS27において、例えば、図10のマーク欄123がマークされ、「自動」が選択されて、かつ、通信状態がNIC42−2の方が良好である場合、または、マーク欄122が選択されて、NIC42−2の使用が要求されている場合、ステップS28において、ドライバラッパ107は、インターネット電話アプリケーションプログラム101より供給されるパケット化されたデータのパケットヘッダの送信元を示すIPアドレスをインタフェース105のIPアドレスである「172.16.1.1」から、NIC42−2の標準となるインタフェース106の「192.168.1.1」に書き換える。   In step S27, for example, the mark field 123 of FIG. 10 is marked and “automatic” is selected, and if the communication state is better for the NIC 42-2, or the mark field 122 is selected, When the use of the NIC 42-2 is requested, in step S28, the driver wrapper 107 sets the IP address indicating the transmission source of the packet header of the packetized data supplied from the Internet telephone application program 101 to the IP of the interface 105. The address “172.16.1.1” is rewritten to “192.168.1.1” of the interface 106 which is the standard of the NIC 42-2.

ステップS29において、ドライバラッパ107は、パケット化されているデータをMACドライバ109に出力する。そして、ステップS30において、NIC42−2よりインターネット電話アプリケーションプログラム101からのデータがPC43に送信される。   In step S29, the driver wrapper 107 outputs the packetized data to the MAC driver 109. In step S30, the data from the Internet telephone application program 101 is transmitted from the NIC 42-2 to the PC 43.

また、例えば、ftpデータ伝送アプリケーションプログラム102からのftpデータ伝送を実行する場合、図10で示されるように要求情報が設定されているとき、通信相手として、選択されるPC43のIPアドレスは、上述と同ように、「10.1.1.1」であるので、図8で示されるルーティングテーブル104aの設定に従うと、図13で示されるように、やはり、インタフェース105が選択されることになる(尚、図13においては、通信状態検出部110と要求情報管理部111からの矢印を除く、実線の矢印は、設定された通信経路を示している。)。しかしながら、要求情報管理部111に記憶されている要求情報の設定に基づいて、ドライバラッパ107が通信経路を切り替えて(ステップS27において、経路の変更が必要であると判定される)、NIC42−2よりftpデータ伝送アプリケーションプログラム102によるftpデータ伝送が実現される。   Further, for example, when executing ftp data transmission from the ftp data transmission application program 102, when the request information is set as shown in FIG. 10, the IP address of the PC 43 selected as the communication partner is the above-mentioned Similarly, since it is “10.1.1.1”, according to the setting of the routing table 104a shown in FIG. 8, the interface 105 is still selected as shown in FIG. 13, solid arrows excluding the arrows from the communication state detection unit 110 and the request information management unit 111 indicate the set communication paths. However, based on the setting of the request information stored in the request information management unit 111, the driver wrapper 107 switches the communication path (determined that the path needs to be changed in step S27), and the NIC 42-2. Thus, ftp data transmission by the ftp data transmission application program 102 is realized.

すなわち、上述したように、これまでは、OSで管理されていたルーティングテーブル104aに基づいて経路が設定されることにより、複数のNIC42が存在しても、一定のルーティングしか選択されないので、事実上1個のNIC42にしかこれまでは通信に使用することができなかった(動的に通信に使用するNIC42を切り替えることができなかった)が、ドライバラッパ107を設けることにより、ユーザの要求情報に基づいて、経路を変更させることが可能となるため、例えば、経路の設定を変更する度に再起動する必要が無くなるので、リアルタイムで通信経路を変更させることが可能になると共に、さらに、通信状態に応じて動的に通信経路を変更させるようにすることも可能となる。   That is, as described above, since a route is set based on the routing table 104a that has been managed by the OS so far, only a certain routing is selected even if there are a plurality of NICs 42. Until now, only one NIC 42 could be used for communication (the NIC 42 used for communication could not be dynamically switched). However, by providing the driver wrapper 107, user request information is added. Since it is possible to change the route on the basis of this, for example, it is not necessary to restart every time the route setting is changed, so that the communication route can be changed in real time, and further, the communication state It is also possible to dynamically change the communication path according to the situation.

従って、今の例においては、NIC42−1,42−2は、いずれもイーサネット(登録商標)対応の同様の仕様のものが用いられる例について説明してきたが、NIC42−1を低速だが遠距離でも通信が可能なIEEE802.11aに準拠したものとし、NIC42−2を高速通信が可能なIEEE802.11bに準拠したものとすることにより、インターネット電話アプリケーションプログラム101の場合、NIC42−1を、ftpデータ伝送アプリケーションプログラム102の場合、NIC42−2を、それぞれ選択することによって、それぞれの特性に対応したNICに切り替えて送信することが可能となる。   Accordingly, in the present example, the NICs 42-1 and 42-2 have been described with respect to the example in which the same specifications corresponding to the Ethernet (registered trademark) are used. In the case of the Internet telephone application program 101, the NIC 42-1 is compliant with IEEE802.11a capable of communication, and the NIC 42-2 is compliant with IEEE802.11b capable of high-speed communication. In the case of the application program 102, by selecting each of the NICs 42-2, it is possible to switch to the NIC corresponding to each characteristic and transmit.

次に、以上の処理により設定されたルーティングテーブル104aと要求情報に基づいた受信処理について説明する。   Next, the reception process based on the routing table 104a set by the above process and the request information will be described.

ステップS41において、ドライバラッパ107は、MACドライバ108,109のいずれからデータ入力されたか否か(PC43より送信されてきたデータがNIC42−1,42−2のいずれを介して受信されたか否か)を判定する。すなわち、インターネット電話アプリケーションプログラム101、または、ftpデータ伝送プログラム102のいずれかのデータが入力されたと判定されるまで、その処理を繰り返す。   In step S41, the driver wrapper 107 determines whether data is input from either the MAC driver 108 or 109 (whether the data transmitted from the PC 43 is received via the NIC 42-1, 42-2). Determine. That is, the process is repeated until it is determined that either the Internet telephone application program 101 or the ftp data transmission program 102 has been input.

ステップS41において、いずれかのMACドライバ108,109よりデータが入力されたと判定された場合、ドライバラッパ107は、ステップS42において、データの入力があった通信経路のポート番号を確認する。   If it is determined in step S41 that data has been input from any of the MAC drivers 108 and 109, the driver wrapper 107 confirms the port number of the communication path in which the data has been input in step S42.

ステップS43においてドライバラッパ107は、要求情報管理部111に問い合わせて要求情報を読み出し、ステップS44において、ポート番号から認識されるアプリケーションプログラムのプロトコルにおける通信の設定が「自動」にされているか否かを判定する。   In step S43, the driver wrapper 107 inquires of the request information management unit 111 to read out the request information. In step S44, it is determined whether or not the communication setting in the protocol of the application program recognized from the port number is “automatic”. judge.

例えば、インターネット電話アプリケーションプログラム101のデータが受信された場合、図10において、マーク欄123にマークが設定されているとき、「自動」が選択されていると判定され、その処理は、ステップS45に進む。   For example, when data of the Internet telephone application program 101 is received, it is determined that “automatic” is selected when a mark is set in the mark field 123 in FIG. 10, and the process proceeds to step S45. move on.

ステップS45において、ドライバラッパ107は、通信状態検出部110に問い合わせて通信状態を検出させ、通信状態の情報を取得する。   In step S45, the driver wrapper 107 makes an inquiry to the communication state detection unit 110 to detect the communication state, and acquires communication state information.

ステップS46において、ドライバラッパ107は、経路の変更が必要であるか否かを判定する。すなわち、IPアドレスが「172.16.1.1」のインタフェース105は、通常NIC42−1のMACドライバ108に対して通信の経路が設定されるが、自動が設定されている場合、通信状態検出部110により検出された通信状態に対応してNIC42−2に接続を切り替える。例えば、NIC42−1の通信状態がNIC42−2の通信状態よりも良好である場合、経路の変更は不要であると判定され、ステップS50において、MACドライバ108より供給される受信データをドライバラッパ107を介して、図15で示されるように、標準のインタフェース105に対して出力する。   In step S46, the driver wrapper 107 determines whether or not the route needs to be changed. That is, the interface 105 with the IP address “172.16.1.1” is normally set with a communication path to the MAC driver 108 of the NIC 42-1, but is detected by the communication state detection unit 110 when automatic is set. The connection is switched to the NIC 42-2 corresponding to the communication state. For example, when the communication state of the NIC 42-1 is better than the communication state of the NIC 42-2, it is determined that the path change is unnecessary, and the reception data supplied from the MAC driver 108 is received from the driver wrapper 107 in step S50. And output to the standard interface 105 as shown in FIG.

ステップS49において、インタフェース105が、インターネット電話アプリケーションプログラム101に、通信に係るデータを出力する。   In step S49, the interface 105 outputs data related to communication to the Internet telephone application program 101.

一方、ステップS44において、例えば、図10で示されるようにインターネット電話においては、マーク欄121がマークされて「NIC42−1を使用する」が選択されている、すなわち、「自動」は選択されていないので、自動ではないと判定され、ステップS45の処理がスキップされて、その処理は、ステップS46に進む。   On the other hand, in step S44, for example, as shown in FIG. 10, in the Internet telephone, the mark column 121 is marked and "Use NIC 42-1" is selected, that is, "Automatic" is selected. Therefore, it is determined that it is not automatic, the process of step S45 is skipped, and the process proceeds to step S46.

図10の場合、マーク欄121がマークされて「NIC42−1を使用する」が選択されているので、ステップS46において、標準となるNIC42−1が使用されることになるので、経路の変更は必要ないと判定され、その処理は、ステップS50に進む。   In the case of FIG. 10, since the mark field 121 is marked and “Use NIC 42-1” is selected, the standard NIC 42-1 is used in step S46. It is determined that it is not necessary, and the process proceeds to step S50.

ステップS46において、例えば、図10のマーク欄123がマークされ、「自動」が選択されて、かつ、通信状態がNIC42−2の方が良好である場合、または、マーク欄122が選択されて、NIC42−2の使用が要求されている場合、NIC42−2によりPC43のインターネット電話アプリケーションプログラムの通信データを受信していることになるので、ステップS47において、ドライバラッパ107は、NIC42−2のMACドライバ109より供給された、PC43からのインターネット電話アプリケーションプログラム101のパケット化されたデータのパケットヘッダの受信元を示すIPアドレスをNIC42−2の標準となるインタフェース106のIPアドレスである「192.168.1.1」から、インタフェース105の「172.16.1.1」に書き換える。   In step S46, for example, if the mark field 123 of FIG. 10 is marked and “automatic” is selected and the communication state is better for the NIC 42-2, or the mark field 122 is selected, If the use of the NIC 42-2 is requested, the NIC 42-2 has received the communication data of the Internet telephone application program of the PC 43, so in step S47, the driver wrapper 107 determines the MAC driver of the NIC 42-2. The IP address indicating the source of the packet header of the packetized data of the Internet phone application program 101 from the PC 43 supplied from 109 is “192.168.1.1”, which is the IP address of the interface 106 serving as the standard of the NIC 42-2. To “172.16.1.1” of the interface 105.

ステップS48において、ドライバラッパ107は、MACドライバ109からのパケット化されているデータをインタフェース105に出力する。そして、ステップS49において、インタフェース105よりインターネット電話アプリケーションプログラム101にインターネット電話の音声データが出力される。   In step S <b> 48, the driver wrapper 107 outputs the packetized data from the MAC driver 109 to the interface 105. In step S49, voice data of the Internet telephone is output from the interface 105 to the Internet telephone application program 101.

また、例えば、ftpデータ伝送アプリケーションプログラム102に対するftpデータ伝送によるデータがNIC42−2を介してMACドライバ109に受信された場合、図10で示されるように要求情報が設定されているとき、通信相手として、選択されるPC43のIPアドレスは、上述と同ように、「10.1.1.1」であるので、図8で示されるルーティングテーブル104aの設定に従うと、図16で示されるように、やはり、インタフェース105が選択されることになる。しかしながら、要求情報管理部111に記憶されている要求情報の設定に基づいて、ドライバラッパ107が通信経路を切り替えて(ステップS46において、経路の変更が必要であると判定される)、MACドライバ109から供給されるftpデータ伝送アプリケーションプログラム102にPC43より送信されてきたパケット化されたftpデータのパケットヘッダのIPアドレスを、受信されたNIC42−2のインタフェース106のIPアドレスとは異なる、指定されたインタフェース105のIPアドレスに書き換えて、インタフェース105に供給するようにすることで、ftpデータ伝送を実現させることが可能となる。   Further, for example, when data by ftp data transmission to the ftp data transmission application program 102 is received by the MAC driver 109 via the NIC 42-2, when the request information is set as shown in FIG. As described above, since the IP address of the selected PC 43 is “10.1.1.1” as described above, according to the setting of the routing table 104a shown in FIG. 8, as shown in FIG. 105 will be selected. However, based on the setting of the request information stored in the request information management unit 111, the driver wrapper 107 switches the communication path (in step S46, it is determined that the path needs to be changed), and the MAC driver 109 The IP address of the packet header of the packetized ftp data transmitted from the PC 43 to the ftp data transmission application program 102 supplied from the designated IP address is different from the IP address of the interface 106 of the received NIC 42-2. By rewriting the IP address of the interface 105 and supplying it to the interface 105, ftp data transmission can be realized.

すなわち、上述したように、これまでは、OSで管理されていたルーティングテーブル104aに基づいて経路が設定されることにより、複数のNIC42が存在しても、一定のルーティングしか選択されないので、事実上1個のNIC42にしかこれまでは通信に使用することができなかった(動的に通信に使用するNIC42を切り替えることができなかった)が、ドライバラッパ107を設けることにより、ユーザの要求情報に基づいて、経路を変更させることが可能となるため、例えば、経路の設定を変更する度に再起動する必要が無くなるので、リアルタイムで通信経路を変更させることが可能になると共に、さらに、通信状態に応じて動的に通信経路を変更させてデータを受信することも可能となる。   That is, as described above, since a route is set based on the routing table 104a that has been managed by the OS so far, only a certain routing is selected even if there are a plurality of NICs 42. Until now, only one NIC 42 could be used for communication (the NIC 42 used for communication could not be dynamically switched). However, by providing the driver wrapper 107, user request information is added. Since it is possible to change the route on the basis of, for example, there is no need to restart every time the setting of the route is changed, so that the communication route can be changed in real time, and further, the communication state It is also possible to dynamically change the communication path in accordance with the data and receive the data.

従って、今の例においても、NIC42−1,42−2は、いずれもイーサネット(登録商標)対応の同様の仕様のものが用いられる例について説明してきたが、NIC42−1を低速だが遠距離でも通信が可能なIEEE802.11aに準拠したものとし、NIC42−2を高速通信が可能なIEEE802.11bに準拠したものとすることにより、インターネット電話アプリケーションプログラム101の場合、NIC42−1を、ftpデータ伝送アプリケーションプログラム102の場合、NIC42−2を、それぞれ選択することによって、それぞれの特性に対応したNICに切り替えて受信することが可能となる。   Accordingly, in the present example, the NICs 42-1 and 42-2 have been described with respect to the example in which the same specifications corresponding to the Ethernet (registered trademark) are used. In the case of the Internet telephone application program 101, the NIC 42-1 is compliant with IEEE802.11a capable of communication, and the NIC 42-2 is compliant with IEEE802.11b capable of high-speed communication. In the case of the application program 102, by selecting each of the NICs 42-2, it is possible to switch to and receive the NICs corresponding to the respective characteristics.

上述した、送信処理、または、受信処理についてまとめると、インターネット電話アプリケーションプログラム101やftpデータ伝送アプリケーションプログラム102などのアプリケーション層から、インタフェース105,106などのネットワーク層までの処理については、従来通りルーティングテーブル104aの情報に基づいて通信経路を設定するが、本発明を適用することにより、従来、NIC42単位で1対1で設定されたインタフェースとMACドライバとの接続関係を、ドライバラッパ107を設けるようにしたことで、インタフェースとMACドライバとの接続関係を要求情報に基づいて切り替えるようにすることができるので、これまでのルーティングテーブル104aの設定により固定されていた通信経路を、変化させることが可能とすることができ、結果として、仕様の異なるNICを複数に設けるようにした場合でも、ユーザの要求に応じて、または、通信状態に応じて切り替えて仕様することが可能となる。   Summarizing the above-described transmission processing or reception processing, the processing from the application layer such as the Internet telephone application program 101 and the ftp data transmission application program 102 to the network layer such as the interfaces 105 and 106 is conventionally performed as a routing table. The communication path is set based on the information of 104a. However, by applying the present invention, the driver wrapper 107 is provided so that the connection relationship between the interface and the MAC driver that has been conventionally set on a one-to-one basis for each NIC 42 is provided. As a result, the connection relationship between the interface and the MAC driver can be switched based on the request information, so that the communication path that has been fixed by the setting of the routing table 104a so far can be changed. Ability and it can be, as a result, even case of providing a different specifications NIC into a plurality, in response to a user request, or, it is possible to design switched in accordance with the communication state.

以上においては、送信処理、および、受信処理のそれぞれについて説明してきたが、送信処理と受信処理を組み合わせた通信処理を実行することも可能である。   In the above, each of the transmission process and the reception process has been described, but it is also possible to execute a communication process that combines the transmission process and the reception process.

図17は、この通信処理を説明するフローチャートである。   FIG. 17 is a flowchart for explaining this communication process.

ステップS61において、ドライバラッパ107は、インタフェース105,106、または、MACドライバ108,109のいずれかからデータが入力されたか否かを判定する。ステップS61の処理は、いずれかからデータ入力されたと判定されるまで繰り返され、データが入力された場合、その処理は、ステップS62に進む。   In step S61, the driver wrapper 107 determines whether data is input from either the interface 105, 106 or the MAC driver 108, 109. The process of step S61 is repeated until it is determined that data has been input from either. When data is input, the process proceeds to step S62.

ステップS62において、ドライバラッパ107は、入力されたデータが上位層からの入力であったか否か、すなわち、ドライバラッパ107は、OSI参照モデルの通信機能階層でいうところの自らよりも上位であるインタフェース105または106からの入力データであったか否かを判定する。すなわち、ステップS62において、入力されたデータが、上位であるインタフェース105または106からの入力データであるということは、アプリケーション層からデータが供給されている送信状態であるとみなされるので、その処理は、ステップS63に進む。   In step S62, the driver wrapper 107 determines whether or not the input data is input from an upper layer, that is, the driver wrapper 107 is an interface 105 that is higher than itself in the communication function hierarchy of the OSI reference model. Alternatively, it is determined whether or not the input data is from 106. That is, in step S62, the fact that the input data is input data from the upper interface 105 or 106 is regarded as a transmission state in which data is supplied from the application layer. The process proceeds to step S63.

ステップS63において、ドライバラッパ107は、送信処理を実行する。尚、送信処理は、図11を参照して説明したステップS22乃至S31の処理(図11のフローチャートの処理におけるステップS21の処理を削除した処理)であるので、その説明は省略する。   In step S63, the driver wrapper 107 executes a transmission process. Since the transmission process is the process of steps S22 to S31 described with reference to FIG. 11 (the process in which the process of step S21 in the process of the flowchart of FIG. 11 is deleted), the description thereof is omitted.

また、ステップS62において、入力されたデータが、上位であるインタフェース105または106からの入力データではない、すなわち、下位となるMAC層であるMACドライバ108または109からデータが供給されていると判定された場合、受信状態であるとみなされるので、その処理は、ステップS64に進む。   In step S62, it is determined that the input data is not input data from the upper interface 105 or 106, that is, data is supplied from the MAC driver 108 or 109 which is the lower MAC layer. If so, the process is considered to be in a receiving state, and the process proceeds to step S64.

ステップS64において、ドライバラッパ107は、受信処理を実行する。尚、受信処理は、図14を参照して説明したステップS42乃至S50の処理(図14のフローチャートの処理におけるステップS41の処理を削除した処理)であるので、その説明は省略する。   In step S64, the driver wrapper 107 executes a reception process. Since the reception process is the process of steps S42 to S50 described with reference to FIG. 14 (the process in which the process of step S41 in the process of the flowchart of FIG. 14 is deleted), the description thereof is omitted.

以上の通信処理においても、上述した送信処理、または、受信処理により得られる効果と同様の効果が得られる。   Also in the above communication processing, the same effect as that obtained by the above-described transmission processing or reception processing can be obtained.

以上においては、インタフェース105,106の階層と、MACドライバ108,109の階層の間で、接続を切り替えるようにしていたが、例えば、図18で示されるように、ドライバラッパ107に特有のインタフェース151を専用のIPアドレス(図18においては、「20.0.0.1」)と共に設けるようにして、ルーティングテーブル104aにおいて、常にインタフェース151が選択されるように設定することで、常にドラバラッパ107と接続するようにし、接続されたドライバラッパ107がインタフェース105,106、および、MACドライバ108,109の接続(の切替)を行うようにさせてもよい。尚、この場合、通信経路を設定するための処理を開始するために最初にドライバラッパ107に入力されるデータが、インタフェース105,106からインタフェース151に変更されるのみであるため、送信処理、受信処理、および、通信処理は、図6における場合と実質的に変わるものではないので、その説明は省略する。   In the above, the connection is switched between the hierarchy of the interfaces 105 and 106 and the hierarchy of the MAC drivers 108 and 109. For example, as shown in FIG. 18, the interface 151 specific to the driver wrapper 107 is used. Is provided together with a dedicated IP address ("20.0.0.1" in FIG. 18), and the interface 151 is always selected in the routing table 104a, so that it is always connected to the driver wrapper 107. The connected driver wrapper 107 may connect (switch) the interfaces 105 and 106 and the MAC drivers 108 and 109. In this case, since the data first input to the driver wrapper 107 to start the process for setting the communication path is only changed from the interfaces 105 and 106 to the interface 151, transmission processing and reception Since the processing and the communication processing are not substantially different from those in FIG. 6, the description thereof is omitted.

以上によれば、複数のネットワークインタフェースを具備する機器において、TCP/IPのプロトコルスタックの流れを損なうことなく、ユーザからの要求に応じて、経路を動的に変更することが可能となる。また、これにより、例えば、リアルタイム性が必要なアプリケーションを、混雑していないネットワークへと動的に経路変更することが可能となる。   As described above, in a device having a plurality of network interfaces, it is possible to dynamically change a route in response to a request from the user without impairing the flow of the TCP / IP protocol stack. In addition, for example, it is possible to dynamically change the route of an application that requires real-time performance to a network that is not congested.

さらに、IEEE802.11a, b, gなどの伝送特性が時々刻々と変化するような無線LANに対応するNICを用いた場合、通信状態によりNICを使い分けることができるので、そのタイミングで最も高いスループットを得るように通信することができる。   In addition, when using a NIC that supports wireless LAN, such as IEEE802.11a, b, g, etc., whose transmission characteristics change from moment to moment, the NIC can be used properly depending on the communication status, so the highest throughput is achieved at that timing. Can communicate to get.

また、本発明で述べた実現方法はOSが持つ機能を変更せずに構成することが可能なため、OSに含まれる様々なネットワークに関する機能(例えば、firewall機能や、高度な認証/暗号化機能など)をそのまま利用しつつ、NICを適宜、切り替えて使用することが可能となる。   In addition, since the implementation method described in the present invention can be configured without changing the functions of the OS, functions related to various networks included in the OS (for example, firewall functions and advanced authentication / encryption functions). Etc.) can be used as they are, and the NICs can be switched appropriately.

上述した一連の処理は、ハードウェアにより実行させることもできるが、ソフトウェアにより実行させることもできる。一連の処理をソフトウェアにより実行させる場合には、そのソフトウェアを構成するプログラムが、専用のハードウェアに組み込まれているコンピュータ、または、各種のプログラムをインストールすることで、各種の機能を実行させることが可能な、例えば汎用のパーソナルコンピュータなどに記録媒体からインストールされる。   The series of processes described above can be executed by hardware, but can also be executed by software. When a series of processes is executed by software, a program constituting the software may execute various functions by installing a computer incorporated in dedicated hardware or various programs. For example, it is installed from a recording medium in a general-purpose personal computer or the like.

この記録媒体は、図5に示すようにPC41に予め組み込まれた状態でユーザに提供される、プログラムが記録されている記憶部58だけではなく、コンピュータとは別に、ユーザにプログラムを提供するために配布される、プログラムが記録されている磁気ディスク81(フレキシブルディスクを含む)、光ディスク82(CD-ROM(Compact Disk-Read Only Memory),DVD(Digital Versatile Disk)を含む)、光磁気ディスク83(MD(Mini-Disc)(登録商標)を含む)、もしくは半導体メモリ84(Memory Stickを含む)などよりなるパッケージメディアにより構成される。   As shown in FIG. 5, this recording medium is provided to the user in a state of being pre-installed in the PC 41, in order to provide the program to the user separately from the computer, as well as the storage unit 58 in which the program is recorded. , A magnetic disk 81 (including a flexible disk) on which a program is recorded, an optical disk 82 (including a compact disk-read only memory (CD-ROM), a DVD (digital versatile disk)), and a magneto-optical disk 83. (Including MD (Mini-Disc) (registered trademark)) or a package medium made of semiconductor memory 84 (including Memory Stick).

尚、本明細書において、記録媒体に記録されるプログラムを記述するステップは、記載された順序に沿って時系列的に行われる処理は、もちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理を含むものである。   In this specification, the step of describing the program recorded on the recording medium is not limited to the processing performed in time series in the order described, but of course, it is not necessarily performed in time series. Or the process performed separately is included.

また、本明細書において、システムとは、複数の装置により構成される装置全体を表すものである。   Further, in this specification, the system represents the entire apparatus constituted by a plurality of apparatuses.

従来のPCにおける複数のNICを用いた場合のネットワークに対する接続例を示す図である。It is a figure which shows the example of a connection with the network at the time of using the several NIC in the conventional PC. 従来のPCによる複数のNICを用いた場合の通信を説明する図である。It is a figure explaining communication at the time of using several NIC by conventional PC. ルーティングテーブルの例を説明する図である。It is a figure explaining the example of a routing table. 本発明を適用したPCを用いた通信システムの構成を説明する図である。It is a figure explaining the structure of the communication system using PC to which this invention is applied. 本発明を適用したPCの一実施の形態の構成を示す図である。It is a figure which shows the structure of one Embodiment of PC to which this invention is applied. 図5のPCにより実現される機能を説明する機能ブロック図である。It is a functional block diagram explaining the function implement | achieved by PC of FIG. 図5のPCによるルーティングテーブルを生成する処理を説明するフローチャートである。It is a flowchart explaining the process which produces | generates the routing table by PC of FIG. 図5のPCで用いられるルーティングテーブルの例を説明する図である。It is a figure explaining the example of the routing table used with PC of FIG. 図5のPCによる要求情報入力処理を説明するフローチャートである。It is a flowchart explaining the request information input process by PC of FIG. 要求情報入力処理において表示される入力画面を説明する図である。It is a figure explaining the input screen displayed in a request information input process. 送信処理を説明するフローチャートである。It is a flowchart explaining a transmission process. 送信処理を説明する図である。It is a figure explaining a transmission process. 送信処理を説明する図である。It is a figure explaining a transmission process. 受信処理を説明するフローチャートである。It is a flowchart explaining a reception process. 受信処理を説明する図である。It is a figure explaining a reception process. 受信処理を説明する図である。It is a figure explaining a reception process. 通信処理を説明するフローチャートである。It is a flowchart explaining a communication process. 図5のPCにより実現されるその他の機能を説明する機能ブロック図である。It is a functional block diagram explaining the other function implement | achieved by PC of FIG.

符号の説明Explanation of symbols

41 PC, 42,42−1,42−2 NIC, 44 ゲートウェイ, 45 ネットワーク, 46 ゲートウェイ, 47 ネットワーク, 101 インターネット電話アプリケーションプログラム, 102 ftpデータ伝送アプリケーションプログラム, 103 TCP/UDPソケットライブラリ, 104 ルーティングテーブル管理部, 104a ルーティングテーブル, 105,106 インタフェース, 107 ドライバラッパ, 108,109 MACドライバ, 110 通信状態検出部, 111 要求情報管理部, 151 インタフェース   41 PC, 42, 42-1, 42-2 NIC, 44 gateway, 45 network, 46 gateway, 47 network, 101 Internet telephone application program, 102 ftp data transmission application program, 103 TCP / UDP socket library, 104 routing table management Unit, 104a routing table, 105, 106 interface, 107 driver wrapper, 108, 109 MAC driver, 110 communication state detection unit, 111 request information management unit, 151 interface

Claims (24)

ネットワークに接続する複数のネットワーク接続装置を有する送信装置において、
前記複数のネットワーク接続装置毎のインタフェースの情報を記憶するインタフェース情報記憶手段と、
前記インタフェース情報記憶手段により記憶されたインタフェース情報に基づいて、前記インタフェースを介した通信経路を設定する通信経路設定手段と、
アプリケーションプログラム毎に使用するネットワーク接続装置の接続情報を記憶する接続情報記憶手段と、
前記接続情報記憶手段に記憶された前記接続情報に基づいて、アプリケーションプログラム毎に前記インタフェースと、前記ネットワーク接続装置のMACドライバとの接続を切り替える切替手段と、
前記切替手段により前記アプリケーションプログラム毎に前記インタフェースとの接続が切り替えられた前記ネットワーク接続装置のMACドライバを介して情報を送信する送信手段と
を備えることを特徴とする送信装置。
In a transmission device having a plurality of network connection devices connected to a network,
Interface information storage means for storing interface information for each of the plurality of network connection devices;
Communication path setting means for setting a communication path via the interface based on the interface information stored by the interface information storage means;
Connection information storage means for storing connection information of a network connection device used for each application program;
Based on the connection information stored in the connection information storage means, switching means for switching the connection between the interface and the MAC driver of the network connection device for each application program,
A transmission device comprising: a transmission unit configured to transmit information via a MAC driver of the network connection device whose connection with the interface is switched for each application program by the switching unit.
前記切替手段は、前記接続情報記憶手段に記憶された前記接続情報に基づいて、前記インタフェースと、前記ネットワーク接続装置のMACドライバとの接続をパケットデータ毎のIPヘッダを書き換えることにより切り替える
ことを特徴とする請求項1に記載の送信装置。
The switching means switches the connection between the interface and the MAC driver of the network connection device by rewriting an IP header for each packet data based on the connection information stored in the connection information storage means. The transmission device according to claim 1.
通信ポートを認識する認識手段と、
前記認識手段により認識された通信ポートに基づいてアプリケーションプログラムを識別する識別手段をさらに備え、
前記切替手段は、前記接続情報記憶手段に記憶された前記接続情報に基づいて、前記識別手段により識別されたアプリケーションプログラム毎に前記インタフェースと、前記ネットワーク接続装置のMACドライバとの接続を切り替える
ことを特徴とする請求項1に記載の送信装置。
A recognition means for recognizing the communication port;
An identification unit for identifying the application program based on the communication port recognized by the recognition unit;
The switching means switches the connection between the interface and the MAC driver of the network connection device for each application program identified by the identification means based on the connection information stored in the connection information storage means. The transmission device according to claim 1, wherein
前記アプリケーションプログラムと前記ネットワーク接続装置との対応関係を入力する入力手段をさらに備え、
前記接続情報記憶手段は、前記入力手段により入力された前記アプリケーションプログラムと前記ネットワーク接続装置との対応関係に基づいた、前記アプリケーションプログラム毎に使用するネットワーク接続装置の接続情報を記憶する
ことを特徴とする請求項1に記載の送信装置。
An input unit for inputting a correspondence relationship between the application program and the network connection device;
The connection information storage unit stores connection information of a network connection device used for each application program based on a correspondence relationship between the application program input by the input unit and the network connection device. The transmission device according to claim 1.
前記ネットワーク接続装置による通信状態を検出する状態検出手段をさらに備え、
前記接続情報記憶手段は、前記状態検出手段により検出される通信状態に基づいた、前記アプリケーションプログラム毎に使用するネットワーク接続装置のMACドライバの接続情報を記憶し、
前記切替手段は、前記状態検出手段により検出される通信状態により、前記接続情報記憶手段に記憶された前記接続情報に基づいて、アプリケーションプログラム毎に前記インタフェースと、前記ネットワーク接続装置のMACドライバとの接続を切り替える
ことを特徴とする請求項1に記載の送信装置。
A state detecting unit for detecting a communication state by the network connection device;
The connection information storage means stores connection information of a MAC driver of a network connection device used for each application program based on a communication state detected by the state detection means,
The switching means, based on the connection information stored in the connection information storage means according to the communication state detected by the state detection means, for each application program, between the interface and the MAC driver of the network connection device The transmission apparatus according to claim 1, wherein the connection is switched.
前記状態検出手段は、電界強度を検出する電解強度検出手段をさらに備え、
前記電界強度検出手段により検出された電界強度により前記ネットワーク接続装置による通信状態を検出する
ことを特徴とする請求項5に記載の送信装置。
The state detection means further comprises electrolytic strength detection means for detecting electric field strength,
The transmission apparatus according to claim 5, wherein a communication state by the network connection apparatus is detected based on an electric field intensity detected by the electric field intensity detection unit.
ネットワークに接続する複数のネットワーク接続装置を有する送信装置の送信方法において、
前記複数のネットワーク接続装置毎のインタフェースの情報を記憶するインタフェース情報記憶ステップと、
前記インタフェース情報記憶ステップの処理で記憶されたインタフェース情報に基づいて、前記インタフェースを介した通信経路を設定する通信経路設定ステップと、
アプリケーションプログラム毎に使用するネットワーク接続装置の接続情報を記憶する接続情報記憶ステップと、
前記接続情報記憶ステップの処理で記憶された前記接続情報に基づいて、アプリケーションプログラム毎に前記インタフェースと、前記ネットワーク接続装置のMACドライバとの接続を切り替える切替ステップと、
前記切替ステップの処理で前記アプリケーションプログラム毎に前記インタフェースとの接続が切り替えられた前記ネットワーク接続装置のMACドライバを介して情報を送信する送信ステップと
を含むことを特徴とする送信方法。
In a transmission method of a transmission device having a plurality of network connection devices connected to a network,
An interface information storage step for storing interface information for each of the plurality of network connection devices;
A communication path setting step for setting a communication path via the interface based on the interface information stored in the process of the interface information storage step;
A connection information storage step for storing connection information of a network connection device used for each application program;
Based on the connection information stored in the process of storing the connection information, a switching step for switching connection between the interface and the MAC driver of the network connection device for each application program,
And a transmission step of transmitting information via the MAC driver of the network connection device whose connection with the interface is switched for each application program in the process of the switching step.
ネットワークに接続する複数のネットワーク接続装置を備える送信装置を制御するコンピュータのプログラムであって、
前記複数のネットワーク接続装置毎のインタフェースの情報の記憶を制御するインタフェース情報記憶制御ステップと、
前記インタフェース情報記憶制御ステップの処理で記憶が制御されたインタフェース情報に基づいて、前記インタフェースを介した通信経路を設定する通信経路設定ステップと、
アプリケーションプログラム毎に使用するネットワーク接続装置の接続情報の記憶を制御する接続情報記憶制御ステップと、
前記接続情報記憶制御ステップの処理で記憶が制御された前記接続情報に基づいて、アプリケーションプログラム毎に前記インタフェースと、前記ネットワーク接続装置のMACドライバとの接続を切り替える切替ステップと、
前記切替ステップの処理で前記アプリケーションプログラム毎に前記インタフェースとの接続が切り替えられた前記ネットワーク接続装置のMACドライバを介して情報の送信を制御する送信制御ステップと
をコンピュータに実行させることを特徴とするプログラム。
A computer program for controlling a transmission device including a plurality of network connection devices connected to a network,
An interface information storage control step for controlling storage of interface information for each of the plurality of network connection devices;
A communication path setting step for setting a communication path via the interface based on the interface information whose storage is controlled in the process of the interface information storage control step;
A connection information storage control step for controlling storage of connection information of the network connection device used for each application program;
Based on the connection information whose storage is controlled in the processing of the connection information storage control step, a switching step of switching connection between the interface and the MAC driver of the network connection device for each application program,
A transmission control step for controlling transmission of information via a MAC driver of the network connection device whose connection with the interface has been switched for each application program in the processing of the switching step. program.
ネットワークに接続する複数のネットワーク接続装置を有する受信装置において、
前記複数のネットワーク接続装置毎のインタフェースの情報を記憶するインタフェース情報記憶手段と、
前記インタフェース情報記憶手段により記憶されたインタフェース情報に基づいて、前記インタフェースを介した通信経路を設定する通信経路設定手段と、
アプリケーションプログラム毎に使用するネットワーク接続装置の接続情報を記憶する接続情報記憶手段と、
前記接続情報記憶手段に記憶された前記接続情報に基づいて、アプリケーションプログラム毎に前記インタフェースと、前記ネットワーク接続装置のMACドライバとの接続を切り替える切替手段と、
前記切替手段により前記アプリケーションプログラム毎に前記インタフェースとの接続が切り替えられた前記ネットワーク接続装置のMACドライバを介して情報を受信する受信手段と
を備えることを特徴とする受信装置。
In a receiving device having a plurality of network connection devices connected to a network,
Interface information storage means for storing interface information for each of the plurality of network connection devices;
Communication path setting means for setting a communication path via the interface based on the interface information stored by the interface information storage means;
Connection information storage means for storing connection information of a network connection device used for each application program;
Based on the connection information stored in the connection information storage means, switching means for switching the connection between the interface and the MAC driver of the network connection device for each application program,
A receiving device comprising: a receiving unit configured to receive information via a MAC driver of the network connection device whose connection with the interface is switched for each application program by the switching unit.
前記切替手段は、前記接続情報記憶手段に記憶された前記接続情報に基づいて、前記インタフェースと、前記ネットワーク接続装置のMACドライバとの接続をパケットデータ毎のIPヘッダを書き換えることにより切り替える
ことを特徴とする請求項9に記載の受信装置。
The switching means switches the connection between the interface and the MAC driver of the network connection device by rewriting an IP header for each packet data based on the connection information stored in the connection information storage means. The receiving device according to claim 9.
通信ポートを認識する認識手段と、
前記認識手段により認識された通信ポートに基づいてアプリケーションプログラムを識別する識別手段をさらに備え、
前記切替手段は、前記接続情報記憶手段に記憶された前記接続情報に基づいて、前記識別手段により識別されたアプリケーションプログラム毎に前記インタフェースと、前記ネットワーク接続装置のMACドライバとの接続を切り替える
ことを特徴とする請求項9に記載の受信装置。
A recognition means for recognizing the communication port;
An identification unit for identifying the application program based on the communication port recognized by the recognition unit;
The switching means switches the connection between the interface and the MAC driver of the network connection device for each application program identified by the identification means based on the connection information stored in the connection information storage means. The receiving device according to claim 9.
前記アプリケーションプログラムと前記ネットワーク接続装置との対応関係を入力する入力手段をさらに備え、
前記接続情報記憶手段は、前記入力手段により入力された前記アプリケーションプログラムと前記ネットワーク接続装置との対応関係に基づいた、前記アプリケーションプログラム毎に使用するネットワーク接続装置の接続情報を記憶する
ことを特徴とする請求項9に記載の受信装置。
An input unit for inputting a correspondence relationship between the application program and the network connection device;
The connection information storage unit stores connection information of a network connection device used for each application program based on a correspondence relationship between the application program input by the input unit and the network connection device. The receiving device according to claim 9.
前記ネットワーク接続装置による通信状態を検出する状態検出手段をさらに備え、
前記接続情報記憶手段は、前記状態検出手段により検出される通信状態に基づいた、前記アプリケーションプログラム毎に使用するネットワーク接続装置の接続情報を記憶し、
前記切替手段は、前記状態検出手段により検出される通信状態により、前記接続情報記憶手段に記憶された前記接続情報に基づいて、アプリケーションプログラム毎に前記インタフェースと、前記ネットワーク接続装置のMACドライバとの接続を切り替える
ことを特徴とする請求項9に記載の受信装置。
A state detecting unit for detecting a communication state by the network connection device;
The connection information storage unit stores connection information of a network connection device used for each application program based on a communication state detected by the state detection unit;
The switching means, based on the connection information stored in the connection information storage means according to the communication state detected by the state detection means, for each application program, between the interface and the MAC driver of the network connection device The receiving apparatus according to claim 9, wherein the connection is switched.
前記状態検出手段は、電界強度を検出する電解強度検出手段をさらに備え、
前記電界強度検出手段により検出された電界強度により前記ネットワーク接続装置による通信状態を検出する
ことを特徴とする請求項13に記載の受信装置。
The state detection means further comprises electrolytic strength detection means for detecting electric field strength,
The receiving apparatus according to claim 13, wherein a communication state by the network connection apparatus is detected based on an electric field intensity detected by the electric field intensity detecting unit.
ネットワークに接続する複数のネットワーク接続装置を有する受信装置の受信方法において、
前記複数のネットワーク接続装置毎のインタフェースの情報を記憶するインタフェース情報記憶ステップと、
前記インタフェース情報記憶ステップの処理で記憶されたインタフェース情報に基づいて、前記インタフェースを介した通信経路を設定する通信経路設定ステップと、
アプリケーションプログラム毎に使用するネットワーク接続装置の接続情報を記憶する接続情報記憶ステップと、
前記接続情報記憶ステップの処理で記憶された前記接続情報に基づいて、アプリケーションプログラム毎に前記インタフェースと、前記ネットワーク接続装置のMACドライバとの接続を切り替える切替ステップと、
前記切替ステップの処理で前記アプリケーションプログラム毎に前記インタフェースとの接続が切り替えられた前記ネットワーク接続装置のMACドライバを介して情報を受信する受信ステップと
を含むことを特徴とする受信方法。
In a receiving method of a receiving device having a plurality of network connecting devices connected to a network,
An interface information storage step for storing interface information for each of the plurality of network connection devices;
A communication path setting step for setting a communication path via the interface based on the interface information stored in the process of the interface information storage step;
A connection information storage step for storing connection information of a network connection device used for each application program;
Based on the connection information stored in the process of storing the connection information, a switching step for switching connection between the interface and the MAC driver of the network connection device for each application program,
And a receiving step of receiving information via a MAC driver of the network connection device whose connection with the interface is switched for each application program in the process of the switching step.
ネットワークに接続する複数のネットワーク接続装置を備える受信装置を制御するコンピュータのプログラムであって、
前記複数のネットワーク接続装置毎のインタフェースの情報の記憶を制御するインタフェース情報記憶制御ステップと、
前記インタフェース情報記憶制御ステップの処理で記憶が制御されたインタフェース情報に基づいて、前記インタフェースを介した通信経路を設定する通信経路設定ステップと、
アプリケーションプログラム毎に使用するネットワーク接続装置の接続情報の記憶を制御する接続情報記憶制御ステップと、
前記接続情報記憶制御ステップの処理で記憶が制御された前記接続情報に基づいて、アプリケーションプログラム毎に前記インタフェースと、前記ネットワーク接続装置のMACドライバとの接続を切り替える切替ステップと、
前記切替ステップの処理で前記アプリケーションプログラム毎に前記インタフェースとの接続が切り替えられた前記ネットワーク接続装置のMACドライバを介して情報の送信を制御する送信制御ステップと、
前記切替ステップの処理で前記アプリケーションプログラム毎に前記インタフェースとの接続が切り替えられた前記ネットワーク接続装置のMACドライバを介した情報の受信を制御する受信制御ステップと
をコンピュータに実行させることを特徴とするプログラム。
A computer program for controlling a receiving device including a plurality of network connection devices connected to a network,
An interface information storage control step for controlling storage of interface information for each of the plurality of network connection devices;
A communication path setting step for setting a communication path via the interface based on the interface information whose storage is controlled in the process of the interface information storage control step;
A connection information storage control step for controlling storage of connection information of the network connection device used for each application program;
Based on the connection information whose storage is controlled in the processing of the connection information storage control step, a switching step of switching connection between the interface and the MAC driver of the network connection device for each application program,
A transmission control step for controlling the transmission of information via the MAC driver of the network connection device in which the connection with the interface is switched for each application program in the process of the switching step;
A reception control step for controlling reception of information via a MAC driver of the network connection device whose connection with the interface is switched for each application program in the processing of the switching step. program.
ネットワークに接続する複数のネットワーク接続装置を有する通信装置において、
前記複数のネットワーク接続装置毎のインタフェースの情報を記憶するインタフェース情報記憶手段と、
前記インタフェース情報記憶手段により記憶されたインタフェース情報に基づいて、前記インタフェースを介した通信経路を設定する通信経路設定手段と、
アプリケーションプログラム毎に使用するネットワーク接続装置の接続情報を記憶する接続情報記憶手段と、
前記接続情報記憶手段に記憶された前記接続情報に基づいて、アプリケーションプログラム毎に前記インタフェースと、前記ネットワーク接続装置のMACドライバとの接続を切り替える切替手段と、
前記切替手段により前記アプリケーションプログラム毎に前記インタフェースとの接続が切り替えられた前記ネットワーク接続装置のMACドライバを介して情報を通信する通信手段と
を備えることを特徴とする通信装置。
In a communication device having a plurality of network connection devices connected to a network,
Interface information storage means for storing interface information for each of the plurality of network connection devices;
Communication path setting means for setting a communication path via the interface based on the interface information stored by the interface information storage means;
Connection information storage means for storing connection information of a network connection device used for each application program;
Based on the connection information stored in the connection information storage means, switching means for switching the connection between the interface and the MAC driver of the network connection device for each application program,
A communication device comprising: communication means for communicating information via a MAC driver of the network connection device whose connection with the interface is switched for each application program by the switching means.
前記切替手段は、前記接続情報記憶手段に記憶された前記接続情報に基づいて、前記インタフェースと、前記ネットワーク接続装置との接続をパケットデータ毎のIPヘッダを書き換えることにより切り替える
ことを特徴とする請求項17に記載の通信装置。
The switching means switches the connection between the interface and the network connection device by rewriting an IP header for each packet data based on the connection information stored in the connection information storage means. Item 18. The communication device according to Item 17.
通信ポートを認識する認識手段と、
前記認識手段により認識された通信ポートに基づいてアプリケーションプログラムを識別する識別手段をさらに備え、
前記切替手段は、前記接続情報記憶手段に記憶された前記接続情報に基づいて、前記識別手段により識別されたアプリケーションプログラム毎に前記インタフェースと、前記ネットワーク接続装置のMACドライバとの接続を切り替える
ことを特徴とする請求項17に記載の通信装置。
A recognition means for recognizing the communication port;
An identification unit for identifying the application program based on the communication port recognized by the recognition unit;
The switching means switches the connection between the interface and the MAC driver of the network connection device for each application program identified by the identification means based on the connection information stored in the connection information storage means. The communication device according to claim 17, characterized in that:
前記アプリケーションプログラムと前記ネットワーク接続装置との対応関係を入力する入力手段をさらに備え、
前記接続情報記憶手段は、前記入力手段により入力された前記アプリケーションプログラムと前記ネットワーク接続装置との対応関係に基づいた、前記アプリケーションプログラム毎に使用するネットワーク接続装置の接続情報を記憶する
ことを特徴とする請求項17に記載の通信装置。
An input unit for inputting a correspondence relationship between the application program and the network connection device;
The connection information storage unit stores connection information of a network connection device used for each application program based on a correspondence relationship between the application program input by the input unit and the network connection device. The communication device according to claim 17.
前記ネットワーク接続装置による通信状態を検出する状態検出手段をさらに備え、
前記接続情報記憶手段は、前記状態検出手段により検出される通信状態に基づいた、前記アプリケーションプログラム毎に使用するネットワーク接続装置の接続情報を記憶し、
前記切替手段は、前記状態検出手段により検出される通信状態により、前記接続情報記憶手段に記憶された前記接続情報に基づいて、アプリケーションプログラム毎に前記インタフェースと、前記ネットワーク接続装置のMACドライバとの接続を切り替える
ことを特徴とする請求項17に記載の通信装置。
A state detecting unit for detecting a communication state by the network connection device;
The connection information storage unit stores connection information of a network connection device used for each application program based on a communication state detected by the state detection unit;
The switching means, based on the connection information stored in the connection information storage means according to the communication state detected by the state detection means, for each application program, between the interface and the MAC driver of the network connection device The communication apparatus according to claim 17, wherein the connection is switched.
前記状態検出手段は、電界強度を検出する電解強度検出手段をさらに備え、
前記電界強度検出手段により検出された電界強度により前記ネットワーク接続装置による通信状態を検出する
ことを特徴とする請求項21に記載の通信装置。
The state detection means further comprises electrolytic strength detection means for detecting electric field strength,
The communication apparatus according to claim 21, wherein a communication state by the network connection apparatus is detected based on an electric field intensity detected by the electric field intensity detection unit.
ネットワークに接続する複数のネットワーク接続装置を有する通信装置の通信方法において、
前記複数のネットワーク接続装置毎のインタフェースの情報を記憶するインタフェース情報記憶ステップと、
前記インタフェース情報記憶ステップの処理で記憶されたインタフェース情報に基づいて、前記インタフェースを介した通信経路を設定する通信経路設定ステップと、
アプリケーションプログラム毎に使用するネットワーク接続装置の接続情報を記憶する接続情報記憶ステップと、
前記接続情報記憶ステップの処理で記憶された前記接続情報に基づいて、アプリケーションプログラム毎に前記インタフェースと、前記ネットワーク接続装置のMACドライバとの接続を切り替える切替ステップと、
前記切替ステップの処理で前記アプリケーションプログラム毎に前記インタフェースとの接続が切り替えられた前記ネットワーク接続装置のMACドライバを介して情報を通信する通信ステップと
を含むことを特徴とする通信方法。
In a communication method of a communication device having a plurality of network connection devices connected to a network,
An interface information storage step for storing interface information for each of the plurality of network connection devices;
A communication path setting step for setting a communication path via the interface based on the interface information stored in the process of the interface information storage step;
A connection information storage step for storing connection information of a network connection device used for each application program;
Based on the connection information stored in the process of storing the connection information, a switching step for switching connection between the interface and the MAC driver of the network connection device for each application program,
And a communication step of communicating information via a MAC driver of the network connection device whose connection with the interface is switched for each application program in the process of the switching step.
ネットワークに接続する複数のネットワーク接続装置を備える通信装置を制御するコンピュータのプログラムであって、
前記複数のネットワーク接続装置毎のインタフェースの情報の記憶を制御するインタフェース情報記憶制御ステップと、
前記インタフェース情報記憶制御ステップの処理で記憶が制御されたインタフェース情報に基づいて、前記インタフェースを介した通信経路を設定する通信経路設定ステップと、
アプリケーションプログラム毎に使用するネットワーク接続装置の接続情報の記憶を制御する接続情報記憶制御ステップと、
前記接続情報記憶制御ステップの処理で記憶が制御された前記接続情報に基づいて、アプリケーションプログラム毎に前記インタフェースと、前記ネットワーク接続装置のMACドライバとの接続を切り替える切替ステップと、
前記切替ステップの処理で前記アプリケーションプログラム毎に前記インタフェースとの接続が切り替えられた前記ネットワーク接続装置のMACドライバを介した情報の通信を制御する通信制御ステップと
をコンピュータに実行させることを特徴とするプログラム。
A computer program for controlling a communication device including a plurality of network connection devices connected to a network,
An interface information storage control step for controlling storage of interface information for each of the plurality of network connection devices;
A communication path setting step for setting a communication path via the interface based on the interface information whose storage is controlled in the process of the interface information storage control step;
A connection information storage control step for controlling storage of connection information of the network connection device used for each application program;
Based on the connection information whose storage is controlled in the processing of the connection information storage control step, a switching step of switching connection between the interface and the MAC driver of the network connection device for each application program,
A communication control step for controlling communication of information via a MAC driver of the network connection device whose connection with the interface is switched for each application program in the process of the switching step. program.
JP2003297307A 2003-08-21 2003-08-21 Transmission device and method therefor, reception device and method therefor, communication device and method therefor, and program Withdrawn JP2005072759A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003297307A JP2005072759A (en) 2003-08-21 2003-08-21 Transmission device and method therefor, reception device and method therefor, communication device and method therefor, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003297307A JP2005072759A (en) 2003-08-21 2003-08-21 Transmission device and method therefor, reception device and method therefor, communication device and method therefor, and program

Publications (1)

Publication Number Publication Date
JP2005072759A true JP2005072759A (en) 2005-03-17

Family

ID=34403215

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003297307A Withdrawn JP2005072759A (en) 2003-08-21 2003-08-21 Transmission device and method therefor, reception device and method therefor, communication device and method therefor, and program

Country Status (1)

Country Link
JP (1) JP2005072759A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006132080A1 (en) * 2005-06-08 2006-12-14 Sharp Kabushiki Kaisha Transmitting/receiving method and program, and recording medium
JP2007087266A (en) * 2005-09-26 2007-04-05 Hitachi Ltd Storage system and storage device
JP2008028939A (en) * 2006-07-25 2008-02-07 Sumitomo Heavy Ind Ltd Switching system and switching method for communication path
WO2008023441A1 (en) * 2006-08-25 2008-02-28 Fujitsu Limited Path control program and path control method
JP2009049999A (en) * 2007-08-13 2009-03-05 Honeywell Internatl Inc Common protocol and routing scheme for space data processing networks
JP2009049555A (en) * 2007-08-15 2009-03-05 Hitachi Ltd Control method of separate type television receiver
JP2009055130A (en) * 2007-08-23 2009-03-12 Ntt Docomo Inc Network apparatus and communication method
JP2012110056A (en) * 2012-03-02 2012-06-07 Hitachi Ltd Video transmission system and physical address setting method
JP2013062869A (en) * 2012-12-03 2013-04-04 Hitachi Ltd Method of controlling separation type television receiver
JP2013520123A (en) * 2010-02-26 2013-05-30 タタ コンサルタンシー サービシズ リミテッド System and method for aggregating the bandwidth of multiple active physical interfaces at the application layer
WO2013080848A1 (en) * 2011-11-28 2013-06-06 Suginaka Junko File communication processing method and external device

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006132080A1 (en) * 2005-06-08 2006-12-14 Sharp Kabushiki Kaisha Transmitting/receiving method and program, and recording medium
US8165022B2 (en) 2005-06-08 2012-04-24 Sharp Kabushiki Kaisha Transmitting/receiving method and program and recording medium
JP2007087266A (en) * 2005-09-26 2007-04-05 Hitachi Ltd Storage system and storage device
JP2008028939A (en) * 2006-07-25 2008-02-07 Sumitomo Heavy Ind Ltd Switching system and switching method for communication path
WO2008023441A1 (en) * 2006-08-25 2008-02-28 Fujitsu Limited Path control program and path control method
JP2009049999A (en) * 2007-08-13 2009-03-05 Honeywell Internatl Inc Common protocol and routing scheme for space data processing networks
JP2009049555A (en) * 2007-08-15 2009-03-05 Hitachi Ltd Control method of separate type television receiver
JP2009055130A (en) * 2007-08-23 2009-03-12 Ntt Docomo Inc Network apparatus and communication method
JP2013520123A (en) * 2010-02-26 2013-05-30 タタ コンサルタンシー サービシズ リミテッド System and method for aggregating the bandwidth of multiple active physical interfaces at the application layer
WO2013080848A1 (en) * 2011-11-28 2013-06-06 Suginaka Junko File communication processing method and external device
JP2012110056A (en) * 2012-03-02 2012-06-07 Hitachi Ltd Video transmission system and physical address setting method
JP2013062869A (en) * 2012-12-03 2013-04-04 Hitachi Ltd Method of controlling separation type television receiver

Similar Documents

Publication Publication Date Title
JP5113993B2 (en) Method for selecting devices and applications with multiple network interfaces among network interfaces
JP4044036B2 (en) Method and system for mobile IP nodes in heterogeneous networks
US8352596B2 (en) Method, apparatus, and computer program for processing information
RU2270531C2 (en) System and method for using ip-address as an identifier of wireless device
JP4146886B2 (en) Communication module and application program including this communication module
WO2001061965A1 (en) Automatic switching network points based on configuration profiles
US20040071123A1 (en) Apparatus and method for linking bluetooth to wireless LAN
EP1378112A2 (en) System and method for performing ip telephony
AU2002256072A1 (en) System and method for performing IP telephony
JP2010502067A (en) Method and apparatus for identifying and selecting an interface for accessing a network
JP2007228548A (en) Dynamic building of vlan interfaces based on subscriber information strings
JP2009500891A (en) Local area network proxy for remotely connected mobile devices operating in reduced power mode
JP4153524B2 (en) Automatic switching of network settings
JP2005072759A (en) Transmission device and method therefor, reception device and method therefor, communication device and method therefor, and program
JP5350004B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP2005341237A (en) Network setting method and program, and its storage medium
CA2471322A1 (en) Method and apparatus for dynamically assigning a network endpoint to a network region
EP1418733B1 (en) Method for assigning a virtual network identifier to a terminal, terminal and dynamic host configuration server for implementing this method
US20080159302A1 (en) Network Communication Equipment with PPPoE Bridging Function
JP2003283536A (en) Portable router unit
KR20010073827A (en) Method for expanding address for internet protocol version 4 in internet edge router
Tourrilhes et al. On-Demand TCP: Transparent peer to peer TCP/IP over IrDA
JP2006074302A (en) Key telephone system and voice data communication method
JP2006262352A (en) Mobile terminal, packet relay device, communication system, and communication method
JP3840215B2 (en) COMMUNICATION DEVICE, METHOD, DEVICE CONTROL DEVICE, METHOD, AND PROGRAM

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