JP2011199582A - Network connection apparatus and network connection method - Google Patents

Network connection apparatus and network connection method Download PDF

Info

Publication number
JP2011199582A
JP2011199582A JP2010063903A JP2010063903A JP2011199582A JP 2011199582 A JP2011199582 A JP 2011199582A JP 2010063903 A JP2010063903 A JP 2010063903A JP 2010063903 A JP2010063903 A JP 2010063903A JP 2011199582 A JP2011199582 A JP 2011199582A
Authority
JP
Japan
Prior art keywords
address
network
addresses
redirect
information processing
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
JP2010063903A
Other languages
Japanese (ja)
Inventor
Yuuki Dogo
勇樹 堂後
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2010063903A priority Critical patent/JP2011199582A/en
Publication of JP2011199582A publication Critical patent/JP2011199582A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To redirect to an IP address with the longest residual time period.SOLUTION: A network card 10 has: a network communication part 12 that communicates with an apparatus connected to a network 60, an addressing processor 14 that generates a plurality of IP addresses based on information included in a packet transmitted by a plurality of routers connected to the network 60 and sets the generated IP addresses in the network 60; an address determination part 22 that determines a second IP address with the longest residual time period among the plurality of IP addresses when receiving a reading command signal transmitted from a client apparatus 50 connected to the network 60 to a first IP address that is one of the plurality of IP addresses; and a redirection requesting part 24 that requests the client apparatus 50 to make redirection to the second IP address when the first IP address is different from the second IP address.

Description

本発明は、ネットワーク接続装置およびネットワーク接続方法に関する。   The present invention relates to a network connection device and a network connection method.

現在、広く普及しているインターネットではルーティテングプロトコルとしてIP(Internet Protocol)が用いられている。現状において、一般的に使用されているIPは、IPv4(Internet Protocol version4)であり、発信元/宛先として32ビットからなるアドレス(IPアドレス)が用いられている。
インターネット通信においては、32ビットIPアドレスを各発信元/宛先にユニークに割り当てるグローバルIPアドレスを採用し、IPアドレスに応じて、個々の発信元/宛先を判別している。しかしながら、インターネットの世界は急速に広がりを見せており、IPv4の限られたアドレス空間、すなわちグローバルアドレスの枯渇が問題となってきている。これを解決するために、次世代IPアドレスとして、IPアドレス空間を32ビットから128ビットに拡張し、新しいアドレス空間を持つIPv6(Internet Protocol version6)が提案され、実用化されている。
Currently, IP (Internet Protocol) is used as a routing protocol in the widespread Internet. Currently, the commonly used IP is IPv4 (Internet Protocol version 4), and an address (IP address) consisting of 32 bits is used as a source / destination.
In Internet communication, a global IP address that uniquely assigns a 32-bit IP address to each source / destination is adopted, and each source / destination is determined according to the IP address. However, the Internet world is rapidly expanding, and the limited address space of IPv4, that is, the exhaustion of global addresses has become a problem. In order to solve this problem, as a next generation IP address, IPv6 (Internet Protocol version 6) having a new address space by extending the IP address space from 32 bits to 128 bits has been proposed and put into practical use.

このようなIPアドレスは、下記特許文献1に示すように、使用可能な有効期限が終了した場合、ネットワーク上のルーター等で機能が中断されるため、再度接続処理を行ってIPアドレスを取得する必要があった。   As shown in Patent Document 1 below, when such an IP address expires, the function is interrupted by a router or the like on the network, so the connection process is performed again to obtain the IP address. There was a need.

特開2009−5189号公報JP 2009-5189 A

しかしながら、長時間に渡り接続状態を維持したい場合であっても、IPアドレスの有効期限が終了すると切断されるため、再度接続処理が煩雑で手間と時間を要した。本発明は、残存時間が最長なIPアドレスにリダイレクトすることを目的とする。   However, even if it is desired to maintain the connection state for a long time, it is disconnected when the expiration date of the IP address ends, so that the connection process is complicated again and requires time and effort. An object of the present invention is to redirect to an IP address having the longest remaining time.

本発明は、上述の課題の少なくとも一部を解決するためになされたものであり、以下の形態又は適用例として実現することが可能である。   SUMMARY An advantage of some aspects of the invention is to solve at least a part of the problems described above, and the invention can be implemented as the following forms or application examples.

[適用例1]
本適用例にかかるネットワーク接続装置は、情報処理装置に接続することで、前記情報処理装置に従属して作動し、前記情報処理装置とネットワークとを通信可能に接続するネットワーク接続装置であって、前記ネットワークに接続された装置と通信するネットワーク通信部と、前記ネットワークに接続された複数のIPアドレス割当装置が送信するパケットに含まれる情報に基づいて複数のIPアドレスを生成し、生成した複数の前記IPアドレスを前記ネットワークで使用可能に設定するアドレス設定部と、前記ネットワークに接続されたクライアント装置から前記複数のIPアドレスの1つである第1のIPアドレス宛に送信された信号を前記ネットワーク通信部が受信した場合、前記パケットに含まれ、前記複数のIPアドレスの中で使用可能な残り時間を示す残存時間が最長な第2のIPアドレスを判定するアドレス判定部と、前記第1のIPアドレスと前記第2のIPアドレスが異なる場合、前記クライアント装置に対して前記第2のIPアドレスへのリダイレクトを要求するリダイレクト要求部と、を備えることを特徴とする。
[Application Example 1]
The network connection device according to this application example is a network connection device that operates depending on the information processing device by connecting to the information processing device, and connects the information processing device and the network in a communicable manner. A network communication unit that communicates with a device connected to the network, and a plurality of IP addresses generated based on information included in a packet transmitted by a plurality of IP address assignment devices connected to the network, An address setting unit configured to set the IP address to be usable in the network; and a signal transmitted from a client device connected to the network to a first IP address that is one of the plurality of IP addresses. When received by the communication unit, it is included in the packet and is included in the plurality of IP addresses. When the first IP address and the second IP address are different from the address determination unit that determines the second IP address having the longest remaining time indicating the remaining remaining time, the first IP address is different from the second IP address. And a redirect request unit that requests redirection to the second IP address.

このような構成によれば、ネットワーク接続装置は、複数のIPアドレス割当装置毎に生成されたIPアドレスの中から1つである第1のIPアドレス宛に送信された信号をクライアント装置から受信した場合、複数のIPアドレスの中で、使用可能な残り時間を示す残存時間が最長な第2のIPアドレスを判定し、第1のIPアドレスと第2のIPアドレスが異なる場合、クライアント装置に対して第2のIPアドレスへのリダイレクトを要求する。従って、必要に応じて残存時間が最長のIPアドレスを選択することで、ネットワークの再接続処理を行う頻度を軽減できる。   According to such a configuration, the network connection device receives a signal transmitted from the client device to the first IP address that is one of the IP addresses generated for each of the plurality of IP address assignment devices. If the second IP address having the longest remaining time indicating the remaining usable time is determined from among the plurality of IP addresses, and the first IP address and the second IP address are different, Request redirection to the second IP address. Therefore, the frequency of performing the network reconnection process can be reduced by selecting the IP address with the longest remaining time as necessary.

[適用例2]
本適用例にかかるネットワーク接続方法は、情報処理装置に接続することで、前記情報処理装置に従属して作動し、前記情報処理装置とネットワークとを通信可能に接続するネットワーク接続方法であって、前記ネットワークに接続された複数のIPアドレス割当装置が送信するパケットに含まれる情報に基づいて複数のIPアドレスを生成し、生成した複数の前記IPアドレスを前記ネットワークで使用可能に設定するアドレス設定工程と、前記ネットワークに接続されたクライアント装置から前記複数のIPアドレスの1つである第1のIPアドレス宛に送信された信号を受信する受信工程と、前記信号を受信した場合、前記パケットに含まれ、前記複数のIPアドレスの中で使用可能な残り時間を示す残存時間が最長な第2のIPアドレスを判定するアドレス判定工程と、前記第1のIPアドレスと前記第2のIPアドレスが異なる場合、前記クライアント装置に対して前記第2のIPアドレスへのリダイレクトを要求するリダイレクト要求工程と、を有することを特徴とする。
[Application Example 2]
The network connection method according to this application example is a network connection method that operates depending on the information processing device by connecting to the information processing device, and connects the information processing device and the network in a communicable manner. An address setting step of generating a plurality of IP addresses based on information included in a packet transmitted by a plurality of IP address assignment devices connected to the network, and setting the generated plurality of IP addresses to be usable in the network A reception step of receiving a signal transmitted from a client device connected to the network to a first IP address that is one of the plurality of IP addresses, and when the signal is received, the packet is included in the packet The second IP address having the longest remaining time indicating the remaining usable time among the plurality of IP addresses. An address determination step for determining a request, and a redirect request step for requesting the client device to redirect to the second IP address when the first IP address and the second IP address are different. It is characterized by having.

このような方法によれば、ネットワーク接続装置は、複数のIPアドレス割当装置毎に生成されたIPアドレスの中から1つである第1のIPアドレス宛に送信された信号をクライアント装置から受信した場合、複数のIPアドレスの中で、使用可能な残り時間を示す残存時間が最長な第2のIPアドレスを判定し、第1のIPアドレスと第2のIPアドレスが異なる場合、クライアント装置に対して第2のIPアドレスへのリダイレクトを要求する。従って、必要に応じて残存時間が最長のIPアドレスを選択することで、ネットワークの再接続処理を行う頻度を軽減できる。   According to such a method, the network connection apparatus receives a signal transmitted from the client apparatus to the first IP address that is one of the IP addresses generated for each of the plurality of IP address assignment apparatuses. If the second IP address having the longest remaining time indicating the remaining usable time is determined from among the plurality of IP addresses, and the first IP address and the second IP address are different, Request redirection to the second IP address. Therefore, the frequency of performing the network reconnection process can be reduced by selecting the IP address with the longest remaining time as necessary.

本発明の実施形態に係るネットワークカードの構成を示すブロック図。1 is a block diagram showing a configuration of a network card according to an embodiment of the present invention. 本発明の実施形態に係るネットワークカードの処理の流れを示すフローチャート。The flowchart which shows the flow of a process of the network card which concerns on embodiment of this invention.

以下、ネットワーク接続装置について図面を参照して説明する。   Hereinafter, the network connection device will be described with reference to the drawings.

(実施形態)
図1は、本発明の実施形態として、情報処理装置であるスキャナー装置30と、ネットワーク60と、を通信可能に接続するネットワーク接続装置であるネットワークカード10の構成を示すブロック図である。
ネットワークカード10は、スキャナー装置30に装着することで、ネットワーク60におけるノードとして、スキャナー装置30とネットワーク60とが通信可能に接続される。
このネットワーク60には、DHCP(Dynanic Host Configuration Protocol)機能を有するルーターA(40)およびルーターB(45)が接続されている。また、ルーターA(40)およびルーターB(45)は、共にインターネット65に接続されている。更に、インターネット65には、DNS(Domain Name System)サーバー55およびクライアント装置50が接続されている。従って、ネットワークカード10は、ネットワーク60とインターネット65を介して、DNSサーバー55やクライアント装置50と通信可能に接続されている。
(Embodiment)
FIG. 1 is a block diagram illustrating a configuration of a network card 10 that is a network connection device that connects a scanner device 30 that is an information processing device and a network 60 so as to communicate with each other as an embodiment of the present invention.
When the network card 10 is attached to the scanner device 30, the scanner device 30 and the network 60 are communicably connected as nodes in the network 60.
The network 60 is connected to a router A (40) and a router B (45) having a DHCP (Dynamic Host Configuration Protocol) function. The router A (40) and the router B (45) are both connected to the Internet 65. Further, a DNS (Domain Name System) server 55 and a client device 50 are connected to the Internet 65. Therefore, the network card 10 is communicably connected to the DNS server 55 and the client device 50 via the network 60 and the Internet 65.

ネットワークカード10は、ネットワーク通信部12、アドレッシング処理部14、リダイレクト部20および機器通信部16を備える。また、リダイレクト部20は、アドレス判定部22およびリダイレクト要求部24を備える。   The network card 10 includes a network communication unit 12, an addressing processing unit 14, a redirect unit 20, and a device communication unit 16. The redirect unit 20 includes an address determination unit 22 and a redirect request unit 24.

このネットワークカード10は、ハードウェアとして、何れも図示は略した、CPU、ROM、RAM、フラッシュメモリーおよびMAC(Media Access Control)コントローラー等を備える。
ネットワーク通信部12は、OSI(Open System Interconnection)参照モデルのような階層化されたプロトコルに基づき、ネットワーク60を介してクライアント装置50との間で情報を送受信する。このネットワーク通信部12は、通信プロトコルであるIPv6に対応できるように構成されているが、これには限定されない。
The network card 10 includes, as hardware, a CPU, a ROM, a RAM, a flash memory, a MAC (Media Access Control) controller, and the like, all of which are not shown.
The network communication unit 12 transmits / receives information to / from the client device 50 via the network 60 based on a layered protocol such as an OSI (Open System Interconnection) reference model. The network communication unit 12 is configured to be compatible with IPv6, which is a communication protocol, but is not limited to this.

アドレッシング処理部14は、アドレス設定部であり、ルーターA(40)およびルーターB(45)と通信し、IPv6のプロトコルに基づくIPv6アドレス(第1のIPアドレス,第2のIPアドレス)をそれぞれ取得する。詳細には、アドレッシング処理部14は、ルーターA(40)およびルーターB(45)が送信するルーター広告(Router Advertisement:RA)パケットをそれぞれ受信し、受信したRAパケットのプレフィックスと、自身のリンクローカルアドレスの下位64bitとを組み合わせてIPv6アドレスを生成する。尚、自身のリンクローカルアドレスは、MACアドレス等からネットワーク60内で一意となるように自動的に生成される。生成されたIPv6アドレスは、それぞれアドレス判定部22から必要に応じて参照される。   The addressing processing unit 14 is an address setting unit, communicates with the router A (40) and the router B (45), and acquires IPv6 addresses (first IP address and second IP address) based on the IPv6 protocol, respectively. To do. Specifically, the addressing processing unit 14 receives router advertisement (RA) packets transmitted by the router A (40) and the router B (45), respectively, and receives the prefix of the received RA packet and its link local An IPv6 address is generated by combining the lower 64 bits of the address. The link local address is automatically generated from the MAC address or the like so as to be unique within the network 60. The generated IPv6 address is referred to by the address determination unit 22 as necessary.

また、アドレッシング処理部14は、ルーターA(40)およびルーターB(45)に対してホスト名を要求し、ルーターA(40)およびルーターB(45)から送られたホスト名と、生成したIPv6アドレスをそれぞれDNSサーバー55に登録する。この結果、クライアント装置50は名前解決が可能になり、ネットワークカード10との通信が可能になる。尚、IPアドレスとホスト名の情報をDNSサーバー55に登録する詳細な手順は、例えば、特開2004−228736号公報に開示されている。また、本実施形態では、クライアント装置50との通信は、HTTP(HyperText Transfer Protocol)のようにリダイレクト可能な転送プロトコルを想定する。
リダイレクト部20は、クライアント装置50から第1のIPアドレス宛に送信された信号、例えば、読取指令信号をネットワーク通信部12が受信したことを受けてサービスを開始する。即ち、ネットワークカード10が使用可能なIPアドレスの中で、使用可能な残り時間を示す残存時間(有効期限)が第1のIPアドレスよりも長いIPアドレスが存在する場合、そのIPアドレスへのリダイレクトをクライアント装置50に要求する。尚、本実施形態では、有効期限が最も長いIPアドレスを指示してリダイレクトを要求するが、これには限定されず、有効期限が最も短いIPアドレスを指示してリダイレクトを要求する様態も想定できる。
Further, the addressing processing unit 14 requests host names from the router A (40) and the router B (45), the host names sent from the router A (40) and the router B (45), and the generated IPv6. Each address is registered in the DNS server 55. As a result, the client device 50 can perform name resolution and can communicate with the network card 10. A detailed procedure for registering IP address and host name information in the DNS server 55 is disclosed in, for example, Japanese Patent Application Laid-Open No. 2004-228736. In the present embodiment, communication with the client device 50 is assumed to be a redirectable transfer protocol such as HTTP (HyperText Transfer Protocol).
The redirect unit 20 starts a service in response to the network communication unit 12 receiving a signal transmitted from the client device 50 to the first IP address, for example, a read command signal. In other words, if there is an IP address that has a remaining time (expiration date) indicating the remaining usable time that is longer than the first IP address among the IP addresses that can be used by the network card 10, redirect to the IP address. Is requested to the client device 50. In the present embodiment, the redirect is requested by instructing the IP address having the longest expiration date. However, the present invention is not limited to this, and a mode in which the redirect is requested by instructing the IP address having the shortest expiration date can be assumed. .

アドレス判定部22は、IPv6アドレスの有効期限の情報を取得し、クライアント装置50が使用している第1のIPアドレスは、他に使用可能なアドレス(第2のIPアドレス)よりも使用可能時間が長いか、否かを判定する。
本実施形態では、アドレス判定部22は、それぞれのIPv6アドレスに応じたRAパケットに含まれる有効期限に関するパラメーター(例えば、Router Lifetime)を取得し、取得したパラメーターに基づいてIPv6アドレスの有効期限を取得する。尚、取得したIPv6アドレスの有効期限は、ネットワークカード10内部で定期的に更新する。この場合、ルーターA(40)およびルーターB(45)からの通知に応じて更新しても良い。尚、アドレス判定部22により、第2のIPアドレスが最も長い使用可能時間を有すると判定された場合、第2のIPアドレスの情報はリダイレクト要求部24に送られる。他方で、第1のIPアドレスが最も長い使用可能時間を有する場合、アドレス判定部22はリダイレクト要求部24に情報を送らない。
リダイレクト要求部24は、アドレス判定部22から第2のIPアドレスの情報が送られた場合、クライアント装置50に対して、第2のIPアドレスでアクセスするように、クライアント装置50に対してリダイレクト要求を送信する。
The address determination unit 22 acquires information on the expiration date of the IPv6 address, and the first IP address used by the client device 50 is usable time than other usable addresses (second IP address). Whether or not is long.
In the present embodiment, the address determination unit 22 acquires a parameter related to an expiration date (for example, Router Lifetime) included in the RA packet corresponding to each IPv6 address, and acquires the expiration date of the IPv6 address based on the acquired parameter. To do. Note that the expiration date of the acquired IPv6 address is periodically updated inside the network card 10. In this case, it may be updated in accordance with notifications from the router A (40) and the router B (45). When the address determination unit 22 determines that the second IP address has the longest usable time, the information on the second IP address is sent to the redirect request unit 24. On the other hand, when the first IP address has the longest usable time, the address determination unit 22 does not send information to the redirect request unit 24.
When the information on the second IP address is sent from the address determination unit 22, the redirect request unit 24 requests the client device 50 to redirect the client device 50 with the second IP address. Send.

機器通信部16は、スキャナー装置30との間で通信を行うと共に、ネットワーク通信部12との間で通信を行う。尚、本実施形態では、USB(Universal Serial Bus)を介した通信を想定するが、これに限定されない。
スキャナー装置30は、何れも図示は略した、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)、光源、光学系、光電変換素子、走査駆動系、原稿用紙自動給紙装置(ADF)および液晶パネル等をハードウェアとして備える。尚、本実施形態では、スキャナー装置30は、単一機能の装置を想定するが、これに限定されるものではなく、プリンターやコピー機能を具備した複合機の様態でも良い。
図2は、ネットワークカード10の処理の流れを示すフローチャートである。ネットワークカード10は、起動後、ルーターA(40)およびルーターB(45)から送られるRAメッセージに基づいて、それぞれのIPv6アドレスを割り当てる(ステップS100)<アドレス設定工程>。
The device communication unit 16 communicates with the scanner device 30 and also communicates with the network communication unit 12. In the present embodiment, communication via USB (Universal Serial Bus) is assumed, but the present invention is not limited to this.
The scanner device 30 is a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), a light source, an optical system, a photoelectric conversion element, a scanning drive system, and a document paper automatic supply, all of which are not shown. A paper device (ADF) and a liquid crystal panel are provided as hardware. In this embodiment, the scanner device 30 is assumed to be a single-function device, but is not limited to this, and may be in the form of a multifunction machine having a printer or a copy function.
FIG. 2 is a flowchart showing a processing flow of the network card 10. After activation, the network card 10 assigns respective IPv6 addresses based on RA messages sent from the router A (40) and the router B (45) (step S100) <address setting process>.

次に、ネットワークカード10は、DNSサーバー55にホスト名とIPv6アドレスを登録する(ステップS102)。続いて、ネットワークカード10は、リダイレクト部20によるリダリレクトサービスを起動する(ステップS105)。
次に、ネットワークカード10は、クライアント装置50から読取指令信号を受信したか、否かを判定する(ステップS110)<受信工程>。尚、読取指令信号は、クライアント装置50が第1アドレスを取得し、取得した第1アドレスを使用して送信される。
ここで、ネットワークカード10が、クライアント装置50からの読取指令信号を受信できない場合(ステップS110でNo)、ステップS140に進む。
Next, the network card 10 registers the host name and the IPv6 address in the DNS server 55 (step S102). Subsequently, the network card 10 activates a redirect service by the redirect unit 20 (step S105).
Next, the network card 10 determines whether or not a read command signal has been received from the client device 50 (step S110) <receiving step>. The read command signal is transmitted by the client device 50 using the acquired first address after acquiring the first address.
Here, when the network card 10 cannot receive the read command signal from the client device 50 (No in step S110), the process proceeds to step S140.

他方で、ネットワークカード10がクライアント装置50からの読取指令信号を受信できた場合(ステップS110でYes)、ネットワークカード10は、外部機器との通信に使用している第1アドレスを取得する(ステップS115)。
続いて、ネットワークカード10は、外部機器との通信に最も長時間に渡り使用可能な第2アドレスを取得する(ステップS120)。
次に、ネットワークカード10は、第1アドレスと第2アドレスが一致するか、否かを判定する(ステップS125)<アドレス判定工程>。ここで、第1アドレスと第2アドレスが一致する場合(ステップS125でYes)、現在使用しているアドレスが最も使用可能時間が長いので、ステップS140に進む。
On the other hand, when the network card 10 has received the read command signal from the client device 50 (Yes in Step S110), the network card 10 acquires the first address used for communication with the external device (Step S110). S115).
Subsequently, the network card 10 acquires a second address that can be used for the longest time for communication with the external device (step S120).
Next, the network card 10 determines whether or not the first address matches the second address (step S125) <address determination step>. If the first address matches the second address (Yes in step S125), the currently used address has the longest usable time, and the process proceeds to step S140.

他方で、第1アドレスと第2アドレスが一致しない場合(ステップS125でNo)、第2アドレスを使用できるか、否かを判定する(ステップS130)。
ここで、第2アドレスを使用できる場合(ステップS130でYes)、ネットワークカード10は、第2アドレスでリダイレクトさせるべく、クライアント装置50に要求し(ステップS135)<リダイレクト要求工程>、ステップS140に進む。尚、リダイレクト要求を受信したクライアント装置50は、指定された第2アドレスで接続を行った後、再度読取指令信号を送信する。
On the other hand, if the first address and the second address do not match (No in step S125), it is determined whether or not the second address can be used (step S130).
If the second address can be used (Yes in step S130), the network card 10 requests the client device 50 to redirect the second address (step S135) <redirect request process>, and proceeds to step S140. . The client device 50 that has received the redirect request transmits a read command signal again after connecting with the designated second address.

他方で、第2アドレスを使用できない場合(ステップS130でNo)、ステップS140に進む。
ステップS140では、ネットワークカード10は、処理を終了するか、否かを判定し(ステップS140)、終了しない場合(ステップS140でNo)、ステップS110に戻る。他方で、終了する場合(ステップS140でYes)、リダイレクトサービスを終了し(ステップS145)、一連の処理を終了する。
On the other hand, if the second address cannot be used (No in step S130), the process proceeds to step S140.
In step S140, the network card 10 determines whether or not to end the process (step S140). If not (No in step S140), the network card 10 returns to step S110. On the other hand, if the process is to be terminated (Yes in step S140), the redirect service is terminated (step S145), and the series of processes is terminated.

以上述べた実施形態によれば、以下のような効果を奏する。
(1)スキャナー装置30とクライアント装置50は、使用可能時間が最も長いアドレスで接続されるため、途中で通信が切断されることによる再接続処理を行う煩わしさが低減し、長時間に渡って通信を維持できる。
According to the embodiment described above, the following effects can be obtained.
(1) Since the scanner device 30 and the client device 50 are connected with an address having the longest usable time, the troublesomeness of performing reconnection processing due to disconnection in the middle is reduced, and the scanner device 30 and the client device 50 can be used for a long time. Communication can be maintained.

以上、本発明を図示した実施形態に基づいて説明したが、本発明は、本実施形態に限定されるものではなく、以下に述べるような変形例も想定できる。
(1)本実施形態では、スキャナー装置30には1枚のネットワークカード10を装着したが、複数のネットワークカード10を装着し、有線接続と無線接続のように異なるネットワークでそれぞれのルーターと接続した様態でも良い。
(2)情報処理装置はスキャナー装置30には限定されず、プリンターやプロジェクターのような画像出力装置でも良い。
(3)クライアント装置50に対してアドレスを指定してリダイレクトを要求する前に、指定したアドレスはクライアント装置50との通信に使用可能か、否かを確認しても良い。
また、以上のような手法を実施する装置は、単独の装置によって実現される場合もあれば、複数の装置を組み合わせることによって実現される場合もあり、各種の態様を含むものである。
As mentioned above, although this invention was demonstrated based on embodiment shown in figure, this invention is not limited to this embodiment, The modification as described below can also be assumed.
(1) In this embodiment, a single network card 10 is attached to the scanner device 30, but a plurality of network cards 10 are attached and connected to respective routers via different networks such as wired connection and wireless connection. A mode is also good.
(2) The information processing apparatus is not limited to the scanner apparatus 30 and may be an image output apparatus such as a printer or a projector.
(3) Before requesting redirection by designating an address to the client device 50, it may be confirmed whether or not the designated address can be used for communication with the client device 50.
Moreover, the apparatus which implements the above methods may be realized by a single apparatus or may be realized by combining a plurality of apparatuses, and includes various aspects.

10…ネットワークカード、12…ネットワーク通信部、14…アドレッシング処理部、16…機器通信部、20…リダイレクト部、22…アドレス判定部、24…リダイレクト要求部、30…スキャナー装置、40…ルーターA、45…ルーターB、50…クライアント装置、55…DNSサーバー、60…ネットワーク、65…インターネット。   DESCRIPTION OF SYMBOLS 10 ... Network card, 12 ... Network communication part, 14 ... Addressing process part, 16 ... Device communication part, 20 ... Redirect part, 22 ... Address determination part, 24 ... Redirection request part, 30 ... Scanner apparatus, 40 ... Router A, 45 ... Router B, 50 ... Client device, 55 ... DNS server, 60 ... Network, 65 ... Internet.

Claims (2)

情報処理装置に接続することで、前記情報処理装置に従属して作動し、前記情報処理装置とネットワークとを通信可能に接続するネットワーク接続装置であって、
前記ネットワークに接続された装置と通信するネットワーク通信部と、
前記ネットワークに接続された複数のIPアドレス割当装置が送信するパケットに含まれる情報に基づいて複数のIPアドレスを生成し、生成した複数の前記IPアドレスを前記ネットワークで使用可能に設定するアドレス設定部と、
前記ネットワークに接続されたクライアント装置から前記複数のIPアドレスの1つである第1のIPアドレス宛に送信された信号を前記ネットワーク通信部が受信した場合、前記パケットに含まれ、前記複数のIPアドレスの中で使用可能な残り時間を示す残存時間が最長な第2のIPアドレスを判定するアドレス判定部と、
前記第1のIPアドレスと前記第2のIPアドレスが異なる場合、前記クライアント装置に対して前記第2のIPアドレスへのリダイレクトを要求するリダイレクト要求部と、を備えることを特徴とするネットワーク接続装置。
A network connection device that operates depending on the information processing device by connecting to the information processing device, and connects the information processing device and the network so as to communicate with each other.
A network communication unit that communicates with a device connected to the network;
An address setting unit that generates a plurality of IP addresses based on information included in a packet transmitted by a plurality of IP address allocation devices connected to the network, and sets the generated plurality of IP addresses to be usable in the network When,
When the network communication unit receives a signal transmitted from a client device connected to the network to a first IP address that is one of the plurality of IP addresses, the signal is included in the packet, and the plurality of IPs An address determination unit that determines the second IP address having the longest remaining time indicating the remaining time that can be used in the address;
A network connection device comprising: a redirect request unit that requests the client device to redirect to the second IP address when the first IP address is different from the second IP address. .
情報処理装置に接続することで、前記情報処理装置に従属して作動し、前記情報処理装置とネットワークとを通信可能に接続するネットワーク接続方法であって、
前記ネットワークに接続された複数のIPアドレス割当装置が送信するパケットに含まれる情報に基づいて複数のIPアドレスを生成し、生成した複数の前記IPアドレスを前記ネットワークで使用可能に設定するアドレス設定工程と、
前記ネットワークに接続されたクライアント装置から前記複数のIPアドレスの1つである第1のIPアドレス宛に送信された信号を受信する受信工程と、
前記信号を受信した場合、前記パケットに含まれ、前記複数のIPアドレスの中で使用可能な残り時間を示す残存時間が最長な第2のIPアドレスを判定するアドレス判定工程と、
前記第1のIPアドレスと前記第2のIPアドレスが異なる場合、前記クライアント装置に対して前記第2のIPアドレスへのリダイレクトを要求するリダイレクト要求工程と、を有することを特徴とするネットワーク接続方法。
A network connection method that operates depending on the information processing device by connecting to the information processing device, and connects the information processing device and the network in a communicable manner,
An address setting step of generating a plurality of IP addresses based on information included in a packet transmitted by a plurality of IP address assignment devices connected to the network, and setting the generated plurality of IP addresses to be usable in the network When,
A receiving step of receiving a signal transmitted to a first IP address that is one of the plurality of IP addresses from a client device connected to the network;
When receiving the signal, an address determination step of determining a second IP address that is included in the packet and has the longest remaining time indicating the remaining time that can be used among the plurality of IP addresses;
A network connection method comprising: a redirect requesting step for requesting the client device to redirect to the second IP address when the first IP address is different from the second IP address. .
JP2010063903A 2010-03-19 2010-03-19 Network connection apparatus and network connection method Withdrawn JP2011199582A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010063903A JP2011199582A (en) 2010-03-19 2010-03-19 Network connection apparatus and network connection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010063903A JP2011199582A (en) 2010-03-19 2010-03-19 Network connection apparatus and network connection method

Publications (1)

Publication Number Publication Date
JP2011199582A true JP2011199582A (en) 2011-10-06

Family

ID=44877228

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010063903A Withdrawn JP2011199582A (en) 2010-03-19 2010-03-19 Network connection apparatus and network connection method

Country Status (1)

Country Link
JP (1) JP2011199582A (en)

Similar Documents

Publication Publication Date Title
KR101227203B1 (en) A METHOD FOR UPDATING THE HOST&#39;S DNS DURING THE IPv6 STATELESS ADDRESS CONFIGURATION AND THE APPARATUS THEREOF
KR100652964B1 (en) Dual-stack network apparatus and broadcasting method thereof
JP2006086800A (en) Communication apparatus for selecting source address
EP2888863B1 (en) Method and apparatus for configuring dhcp client
US8817783B2 (en) Information processing apparatus, image processing apparatus, control method, and storage medium
KR20070097531A (en) Distributed domain name service
JP5857222B2 (en) Wireless network system, wireless communication device, and program for wireless communication device
JP2008033693A (en) Communication control device, data processor, and control method
US8291111B1 (en) Responding to a DHCPLEASEQUERY message
JP2008311799A (en) Server device, network system, and network connecting method used in them
JP2009206562A (en) IPv4-IPv6 TRANSLATOR DEVICE AND DUMMY ADDRESS RESPONSE METHOD
JP5845964B2 (en) Communication apparatus and program
US20110235641A1 (en) Communication apparatus, method of controlling the communication apparatus,and program
JP5030719B2 (en) Address duplication avoidance image forming apparatus, address duplication avoidance method, and address duplication avoidance program
JP2011199582A (en) Network connection apparatus and network connection method
WO2015139397A1 (en) Nat64 resource acquisition method and acquisition/distribution apparatus
JP2005210554A (en) Dhcp substitute server
JP2011171793A (en) Network connection device, and method of controlling the same
JP2007048031A (en) Internet printing system and program for achieving it
US9525596B2 (en) Information processing apparatus and method, and non-transitory computer readable medium
JP2009225287A (en) Communication system, server device, client device, communication method, program, and recording medium
JP2004135108A (en) Communication control method, communication terminal, router, control program of communication terminal and control program of router
JP4675842B2 (en) IP address management system, IP address management method and program
JP4796413B2 (en) Network equipment
JP6052039B2 (en) Information processing apparatus and network connection 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: 20130604