JP2002300161A - Information processing unit and method for controlling the information processing unit - Google Patents

Information processing unit and method for controlling the information processing unit

Info

Publication number
JP2002300161A
JP2002300161A JP2001104659A JP2001104659A JP2002300161A JP 2002300161 A JP2002300161 A JP 2002300161A JP 2001104659 A JP2001104659 A JP 2001104659A JP 2001104659 A JP2001104659 A JP 2001104659A JP 2002300161 A JP2002300161 A JP 2002300161A
Authority
JP
Japan
Prior art keywords
notation
information processing
network
host name
address
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.)
Granted
Application number
JP2001104659A
Other languages
Japanese (ja)
Other versions
JP4598983B2 (en
JP2002300161A5 (en
Inventor
Masahiro Nishio
雅裕 西尾
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2001104659A priority Critical patent/JP4598983B2/en
Publication of JP2002300161A publication Critical patent/JP2002300161A/en
Publication of JP2002300161A5 publication Critical patent/JP2002300161A5/ja
Application granted granted Critical
Publication of JP4598983B2 publication Critical patent/JP4598983B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To enable a user to utilize a network application without being made aware of the state of a network environment. SOLUTION: The information processing unit acquires an IP address, receives a host name, executes a Ping command or a loopback address and then executes also Ping for its own IP address (S1 to S10). Then the information processing unit executes the Ping fro its won home name, determines the absence of a DNS(Domain Name System) server on the occurrence of an error and decides the use of IP address representation (S13 to S15). On the other hand, when no error occurs, the information processing unit determines the presence of the DNS server on the network, the information processing unit analyzes the host header of the HTTP/1.1(Hyper Text Transfer Protocol 1.1), decides the use of the host name representation when the host header uses the host name representation, or decides the use of the IP address when no host name representation is used.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は情報処理装置及び該
情報処理装置の制御方法に関し、より詳しくは画像デー
タ等の各種データを処理するネットワーク通信機能を備
えた情報処理装置及び該情報処理装置の制御方法に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus and a control method of the information processing apparatus, and more particularly, to an information processing apparatus having a network communication function for processing various data such as image data and the like. It relates to a control method.

【0002】[0002]

【従来の技術】インターネット等の情報技術の飛躍的発
展に伴い、今日では、ネットワーク環境下においてWe
bブラウザをクライアント・ソフトウェアとし、Web
サーバを使用したクライアント・サーバシステムが広く
普及している。
2. Description of the Related Art With the rapid development of information technology such as the Internet, today, in a network environment, Web
b. Using the browser as client software and the Web
A client-server system using a server is widely used.

【0003】そして、この種のクライアント・サーバシ
ステムの普及に伴い、インターネット経由で印刷処理を
行うIPP(Internet Printing Protocol)やSSDP
(Simple service Discovery Protocol)、GENA(G
eneral Event Notification)等、HTTP/1.1(H
yper Text Transfer Protocol 1.1 : RFC(Requestfo
r comment)2068、2616)を利用したネットワー
クアプリケーションもその仕様が各種標準化機構より多
数提唱され、ネットワーク対応型のプリンタ、スキャ
ナ、複写機等の画像処理装置などのネットワークサービ
スへの実装化が進んでいる。
[0003] With the spread of this type of client-server system, IPP (Internet Printing Protocol) for performing print processing via the Internet, SSDP and the like.
(Simple service Discovery Protocol), GENA (G
eneral Event Notification), HTTP / 1.1 (H
yper Text Transfer Protocol 1.1: RFC (Requestfo
r comment) The specifications of network applications using 2068 and 2616) have been proposed by various standardization organizations, and their implementation in network services such as network-compatible image processing devices such as printers, scanners, and copiers has progressed. I have.

【0004】また、HTTPでは、ホストコンピュータ
からの利用可能な特定の情報資源を識別するためにUR
I(Uniform Resource Identifier)が使用されている
が、URIのシンタックとセマンティックスはRFC1
78、1808及び2396で定義されており、ホスト
コンピュータの定義としてホストネームによるホストネ
ーム表記か、又はIP(Internet Protocol)アドレス
によるIPアドレス表記のいずれかが選択可能とされて
いる。
[0004] In HTTP, UR is used to identify a specific information resource available from a host computer.
I (Uniform Resource Identifier) is used, but the syntax and semantics of URI are RFC1
78, 1808, and 2396, and the host computer can select either a host name notation using a host name or an IP address notation using an IP (Internet Protocol) address.

【0005】また、ネットワーク上にはホストコンピュ
ータとIPアドレスとを対応付けるDNS(Domain Nam
e System)サーバが接続され、URIにホストネーム表
記を使用する場合は、DNSサーバにホストネームを問
い合わせることにより当該ホストコンピュータのIPア
ドレスが通知される。
On the network, a DNS (Domain Naming System) that associates a host computer with an IP address is provided.
e System) When a server is connected and the host name notation is used for the URI, the IP address of the host computer is notified by inquiring the DNS server for the host name.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記従
来技術では、DNSサーバがネットワーク上に存在する
ことを前提としているため、小規模事業所内LANや家
庭内ネットワーク等のDNSサーバが存在しないネット
ワーク環境下や、ホストネームとIPアドレスとを対応
させてIPアドレスを決定するサーバ機能の存在しない
ネットワーク環境下では、ホストネーム表記を使用して
もホストネームに対するIPアドレスを取得することが
できず、クライアント装置とサーバ装置であるホストコ
ンピュータとの間の通信が不能になるという問題点があ
った。
However, in the above prior art, it is assumed that the DNS server exists on the network. Therefore, in the network environment where the DNS server does not exist, such as a small business office LAN and a home network. Also, in a network environment where there is no server function for determining an IP address by associating a host name with an IP address, an IP address for the host name cannot be obtained even if the host name notation is used, and the client device There is a problem that communication between the server and the host computer as a server device becomes impossible.

【0007】本発明はこのような問題点に鑑みなされた
ものであって、URIをホストネーム表記にするかIP
アドレス表記にするかを自動的に決定することにより、
ユーザがネットワーク環境の状態を意識することなくネ
ットワークアプリケーションを利用することが可能な情
報処理装置及び該情報処理装置の制御方法を提供するこ
とを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and is directed to a method in which a URI is represented by a host name or an IP.
By automatically determining whether to use address notation,
An object of the present invention is to provide an information processing apparatus that allows a user to use a network application without being aware of the state of a network environment, and a control method of the information processing apparatus.

【0008】[0008]

【課題を解決するための手段】本発明は上記目的を達成
するために本発明に係る情報処理装置は、ネットワーク
に接続されて複数のクライアント装置に共有される情報
処理装置であって、自己を前記ネットワーク上で特定す
るための複数の表記手段と、前記複数の表記手段を互い
に対応付けるためのサーバ装置が、前記ネットワークに
接続されているか否かを判断する判断手段と、前記複数
の表記手段の中から前記判断手段の判断結果に基づいて
特定された一の表記手段の使用を決定する決定手段とを
有していることを特徴としている。
According to the present invention, an information processing apparatus according to the present invention is an information processing apparatus connected to a network and shared by a plurality of client apparatuses. A plurality of notation means for specifying on the network, a server device for associating the plurality of notation means with each other, a determination means for determining whether or not the plurality of notation means are connected to the network; Determining means for determining use of the one notation means specified based on the determination result of the determination means from among them.

【0009】また、本発明に係る情報処理装置の制御方
法は、ネットワークに接続されて複数のクライアント装
置に共有される情報処理装置の制御方法であって、自己
を前記ネットワーク上で特定するための複数の表記手段
を有すると共に、前記複数の表記手段を互いに対応付け
るためのサーバ装置が、前記ネットワークに接続されて
いるか否かを判断する判断ステップと、前記複数の表記
手段の中から前記判断ステップでの判断結果に基づいて
特定された一の表記手段の使用を決定する決定ステップ
とを含んでいることを特徴としている。
[0009] A method for controlling an information processing apparatus according to the present invention is a method for controlling an information processing apparatus connected to a network and shared by a plurality of client apparatuses. A server having a plurality of notation means, and a server device for associating the plurality of notation means with each other, a determination step of determining whether or not the server device is connected to the network, and the determination step from among the plurality of notation means And determining a use of the specified notation means based on the result of the determination.

【0010】尚、本発明の他の特徴は、下記の発明の実
施の形態の記載より明かとなろう
[0010] Other features of the present invention will be apparent from the following description of embodiments of the invention.

【0011】[0011]

【発明の実施の形態】次に、本発明の実施の形態を図面
に基づき詳説する。
Next, an embodiment of the present invention will be described in detail with reference to the drawings.

【0012】図1は本発明に係る情報処理装置の一実施
の形態を示すブロック構成図である。
FIG. 1 is a block diagram showing an embodiment of an information processing apparatus according to the present invention.

【0013】同図において、1はCPUであって、例え
ば32ビットのRISC(reduced instruction set comput
er)チップで構成され、装置全体を制御する。
In FIG. 1, reference numeral 1 denotes a CPU, for example, a 32-bit reduced instruction set (RISC).
er) It is composed of chips and controls the entire device.

【0014】2はフラッシュROMであって、プログラ
ム実行コード、及びネットワーク管理情報データベース
テーブル(以下、「データベーステーブル」という)が
格納されている。また、該フラッシュROM2の一部領
域を不揮発性メモリ領域として使用し、ユーザが設定し
たパラメータ、コンフィグレーション情報等を記憶保持
する。
Reference numeral 2 denotes a flash ROM which stores a program execution code and a network management information database table (hereinafter, referred to as a "database table"). Further, a part of the flash ROM 2 is used as a non-volatile memory area to store and hold parameters set by a user, configuration information, and the like.

【0015】3はDRAMであって、CPU1の作業領
域として使用されると共に、フラッシュROM2上に格
納された実行コードやデータベーステーブルが起動時に
コピーされ、該コピー作業が完了した時点でプログラム
コードの実行を開始する。
Reference numeral 3 denotes a DRAM, which is used as a work area of the CPU 1 and copies execution codes and database tables stored in the flash ROM 2 at the time of startup, and executes program codes when the copy work is completed. To start.

【0016】4はバスマスタタイプからなるLANコン
トローラであって、送受信をイベントトリガとしてバス
権をCPU1と調停し、CPU1とは独立してDRAM
3上に確保された送受信バッファを介してデータの送受
信を実行する。
Reference numeral 4 denotes a LAN controller of a bus master type, which arbitrates for a bus right with the CPU 1 using transmission / reception as an event trigger, and which is independent of the CPU 1 and has a DRAM.
3. Data transmission / reception is executed via the transmission / reception buffer secured above.

【0017】5はLAN物理層制御部(PHY)であ
り、コネクタ6を介してイーサネット(登録商標)に接
続されている。
Reference numeral 5 denotes a LAN physical layer control unit (PHY), which is connected to Ethernet (registered trademark) via a connector 6.

【0018】7はペリフェラルI/Fコントローラであ
ってASICで構成され、プリンタ等の周辺機器(ペリ
フェラル)との通信を制御すると共に、32KBのデュ
アルポートRAMを有し、該周辺機器とはデュアルポー
トRAMを使用し、ペリフェラルI/F8を介してデー
タ通信を行う。
Reference numeral 7 denotes a peripheral I / F controller which is composed of an ASIC, controls communication with peripheral devices (peripherals) such as a printer, has a 32 KB dual port RAM, and has a dual port RAM. Data communication is performed via the peripheral I / F 8 using the RAM.

【0019】また、図示は省略するが該情報処理装置に
は送信、受信、エラーの各状態を示す3つの発光ダイオ
ード(LED)が実装されており、装置状態を目視によ
り確認することが可能となっている。
Although not shown, the information processing apparatus is equipped with three light emitting diodes (LEDs) indicating transmission, reception and error states, so that the state of the apparatus can be visually checked. Has become.

【0020】尚、上記周辺機器は、情報処理装置と同
様、CPU、ROM、RAM等を備え、通信制御部側の
制御系からは独立した構成を有する。
The peripheral device has a CPU, a ROM, a RAM, and the like, similarly to the information processing device, and has a configuration independent of a control system on the communication control unit side.

【0021】図2はCPU1に内蔵されるネットワーク
制御部の機能ブロックを示したブロック構成図であっ
て、該機能ブロックは、データリンク層としてイーサネ
ット9が使用され、該イーサネット9の上位層であるト
ランスポート層のプロトコルとしてTCP(Transmissi
ons Control Protocol)10、IP11、UDP(User
Datagram Protocol)12、及びHTTP13が実装され
ている。
FIG. 2 is a block diagram showing a functional block of a network control unit built in the CPU 1. The functional block uses an Ethernet 9 as a data link layer and is an upper layer of the Ethernet 9. TCP (Transmissi
ons Control Protocol) 10, IP11, UDP (User
Datagram Protocol) 12 and HTTP 13 are mounted.

【0022】また、本実施の形態では、アプリケーショ
ンプロトコルとしてデバイス検索のためのプロトコルで
あるSSDP14、本ネットワーク制御部に論理的に接
続されたプリンタを制御するIPP15、及びネットワ
ーク制御部のコンフィグレーションやステータスを監視
するWebサーバ16がHTTP13の上位層として実
装されている。そして、本実施の形態では、これらアプ
リケーションプロトコルにおいて使用されるURI表記
においてIPアドレス表記、又はホストネーム表記のい
ずれを選択するか自動的に判断する。
In the present embodiment, SSDP 14, which is a protocol for device search, an IPP 15, which controls a printer logically connected to the network controller, and configuration and status of the network controller are used as application protocols. Is implemented as an upper layer of the HTTP 13. In the present embodiment, it is automatically determined whether to select the IP address notation or the host name notation in the URI notation used in these application protocols.

【0023】Telnet17は、ネットワーク制御部のコン
フィグレーションやステータス監視のためにTCP10
の上位層として実装され、SNMP(Simple Network M
anagement Protocol)18がTCP10/UDP12の
上位層として実装されている。
The Telnet 17 is a TCP 10 for configuration and status monitoring of the network control unit.
Implemented as an upper layer of SNMP (Simple Network M
Anagement Protocol) 18 is implemented as an upper layer of TCP10 / UDP12.

【0024】ルータ相互間の通信に使用されるRIP
(Rooting Information Protocol)のアドレス取得手段
として、BootP(Bootstrap Protocol)19、DHCP(D
ynamicHost Configuration Protocol)20、及びRA
RP(Reverse Address Resolution Protocol)21が
備えられており、IPアドレス取得のためにいずれのプ
ロトコルを使用するかは、前述のTelnet17、Webサ
ーバ16及びSNMP18のうちのいずれかのコンフィ
ギュレーション設定により選択可能とされている。
RIP used for communication between routers
(Rooting Information Protocol) addresses, BootP (Bootstrap Protocol) 19, DHCP (D
dynamicHost Configuration Protocol) 20 and RA
An RP (Reverse Address Resolution Protocol) 21 is provided, and which protocol to use for obtaining an IP address can be selected by any of the above-described configuration settings of Telnet 17, Web server 16 and SNMP 18. It has been.

【0025】さらに、ネットワーク制御部は、ネットワ
ークの状態確認のためのプロトコルとしてICMP(Int
ernet Control Message Protocol)22がIP11上に
実装されており、ICMPタイプ0(Echo Request)/8
(Response)(IPパケットの折り返し送信要求/応答)
を使用することで、DNSサーバの存在の有無を判定し
ている。 また、MACアドレス検索手段としてARP
(Address ResolutionProtocol)23が実装されてい
る。
Further, the network control unit uses ICMP (Int) as a protocol for confirming the state of the network.
(Ethernet Control Message Protocol) 22 is implemented on IP11, and ICMP type 0 (Echo Request) / 8
(Response) (IP packet return transmission request / response)
Is used to determine whether a DNS server exists. ARP as a MAC address search means
(Address Resolution Protocol) 23 is implemented.

【0026】デバイスI/F24はネットワークアプリ
ケーション群(SSDP14、IPP15、Webサー
バ26)の上位に実装され、該デバイスI/F24を介
してネットワーク制御部と論理的に接続された情報処理
装置との通信を行う。
The device I / F 24 is mounted on a network application group (the SSDP 14, the IPP 15, and the Web server 26), and communicates with an information processing apparatus logically connected to the network control unit via the device I / F 24. I do.

【0027】図3は本情報処理装置の制御方法の一実施
の形態を示すフローチャートである。
FIG. 3 is a flowchart showing an embodiment of a control method of the information processing apparatus.

【0028】まず、ステップS1では装置の起動により
IPアドレスを取得する。
First, in step S1, an IP address is obtained by starting the apparatus.

【0029】IPアドレスは、ネットワーク制御部に接
続されるLANと同一セグメントに存在するクライアン
トのWebサーバ16、Telnet17、SNMP18のい
ずれかにより予め選択されたプロトコルを使用し、Boot
P19、DHCP20、RARP21のいずれかでこれ
らプロトコルを実行することにより取得される。
The IP address uses a protocol selected in advance by one of the Web server 16, Telnet 17, and SNMP 18 of the client existing in the same segment as the LAN connected to the network control unit, and uses the Boot.
It is obtained by executing these protocols in any of P19, DHCP20, and RARP21.

【0030】次に、ステップS2ではIPアドレスの取
得手順が正常に終了したか否かを判断し、その答が否定
(No)のときはステップS3に進んでエラーLEDを
点灯し、エラー状態が解消されるまで、制御動作を中断
する。
Next, in step S2, it is determined whether or not the procedure for obtaining the IP address has been completed normally. If the answer is negative (No), the process proceeds to step S3, where the error LED is turned on, and the error state is set. The control operation is interrupted until it is canceled.

【0031】また、ステップS2の答が肯定(Ye
s)、すなわちIPアドレスの取得手順が正常に終了し
た場合やIPアドレスが予め設定されている場合はステ
ップS4に進み、本装置に固有のホストネームが与えら
れているか否かを判断する。すなわち、本実施の形態で
はWebサーバ16、Telnet17、SNMP18のいず
れかから「デバイス名称」に該当するオブジェクトに対
しホストネームの設定が可能とされており、該ホストネ
ームがDRAM3に記憶される。そして、ネットワーク
制御部は該DRAM3に記憶された記憶情報を参照し、
ホストネームが与えられているか否かを判断する。
If the answer in step S2 is affirmative (Ye
s), that is, when the procedure for acquiring the IP address has been completed normally or when the IP address has been set in advance, the process proceeds to step S4, and it is determined whether a unique host name has been given to the apparatus. That is, in the present embodiment, a host name can be set for an object corresponding to the “device name” from any of the Web server 16, the Telnet 17, and the SNMP 18, and the host name is stored in the DRAM 3. Then, the network control unit refers to the storage information stored in the DRAM 3,
Determine whether a host name has been given.

【0032】そして、ステップS4の答が否定(N
o)、すなわちホストネームが与えられていない場合は
ステップS5に進み、URIの表記としてIPアドレス
表記の使用を決定する。
If the answer to step S4 is negative (N
o), that is, when the host name has not been given, the process proceeds to step S5, and the use of the IP address notation as the URI notation is determined.

【0033】一方、ステップS4の答が肯定(Yes)
となってホストネームが与えられている場合は、ネット
ワーク制御部はループバックアドレスに対しPingコ
マンドを実行し、ステップS7でPingコマンドに対
する返答が異常終了したか否かを判断する。そして異常
終了したと判断された場合はステップS8に進み、エラ
ーLEDを点灯し、エラー状態が解消されるまで、制御
動作を中断する。
On the other hand, the answer to step S4 is affirmative (Yes).
If the host name is given, the network control unit executes the Ping command for the loopback address, and determines in step S7 whether the response to the Ping command has been abnormally terminated. When it is determined that the process has abnormally ended, the process proceeds to step S8, the error LED is turned on, and the control operation is interrupted until the error state is resolved.

【0034】また、ステップS7の答が否定(No)の
場合は、TCP/IPプロトコルスタックが正常に動作
していると判断してステップS9に進み、ネットワーク
制御部は自己のIPアドレスに対しPingコマンドを
実行し、続くステップS10ではPingに対する返答
が異常終了したか否かを判断し、その答が肯定(Ye
s)の場合はステップS11に進んでエラーLEDを点
灯し、エラー状態が解消されるまで、制御動作を中断す
る。
If the answer to step S7 is negative (No), it is determined that the TCP / IP protocol stack is operating normally, and the process proceeds to step S9, where the network control unit pings its own IP address. A command is executed, and in a succeeding step S10, it is determined whether or not a reply to Ping has abnormally ended, and the answer is affirmative (Ye
In the case of s), the process proceeds to step S11 to turn on the error LED, and the control operation is suspended until the error state is eliminated.

【0035】一方、ステップS10の答が否定(No)
の場合は、自己のIPアドレスが正しく設定されている
と判断してステップS12に進み、自己のホストネーム
に対してPingを実行し、続くステップS13ではD
NSサーバによるネーム決定が正常に処理されたか否か
を判断する。
On the other hand, the answer in step S10 is negative (No).
In the case of, it is determined that its own IP address is correctly set, the process proceeds to step S12, Ping is executed for its own host name, and in step S13, Ding is performed.
It is determined whether the name determination by the NS server has been normally processed.

【0036】そして、ステップS13の答が肯定(Ye
s)の場合はステップS14に進み、ネットワーク上に
はDNSサーバが存在しないか、又は本ネットワーク制
御部がDNSサーバに登録されていないと判断し、続く
ステップS15ではURIとしてIPアドレス表記の使
用を決定し処理を終了する。
Then, the answer at step S13 is affirmative (Ye).
In the case of s), the process proceeds to step S14, in which it is determined that there is no DNS server on the network or that the present network control unit is not registered in the DNS server, and in step S15, the use of the IP address notation is used as the URI. Determine and end the process.

【0037】一方、ステップS13の答が否定(No)
となって自己のホストネームに対するPingが正常終
了したと判断された場合はステップS16に進み、ネッ
トワーク上にDNSサーバが存在し、ネーム決定が正常
に処理されたと判断し、URIとしてホストネーム表記
の使用を決定する。
On the other hand, the answer in step S13 is negative (No).
When it is determined that Ping for its own host name has been completed normally, the process proceeds to step S16, where it is determined that the DNS server exists on the network and the name determination has been normally performed, and the host name notation is used as the URI. Decide to use.

【0038】次に、ステップS17に進み、クライアン
トから発行されたHTTP/1.1のホストヘッダを解
析し、ホストヘッダのURIがホストネーム表記してい
るか否かを判断し、その答が肯定(Yes)の場合はス
テップS19に進んでホストネーム表記の使用を決定し
て処理を終了する一方、その答が否定(No)の場合は
ステップS20に進み、HTTP/1.1を発行したク
ライアント装置がDNSサーバによるネーム決定を利用
しないと判断し、URIとしてIPアドレス表記の使用
を決定する。
Next, the process proceeds to step S17, where the HTTP / 1.1 host header issued by the client is analyzed, and it is determined whether or not the URI of the host header indicates the host name. In the case of Yes), the process proceeds to step S19 to determine the use of the host name notation, and the process ends. On the other hand, if the answer is negative (No), the process proceeds to step S20, and the client device that has issued HTTP / 1.1 Determines that the DNS server does not use the name determination, and determines to use the IP address notation as the URI.

【0039】このように本実施の形態では、ネットワー
ク上でDNSサーバの接続有無を判断したり、或いはH
TTP/1・1リクエスト発行側であるクライアント装
置がDNSサーバによるネーム決定の使用を要求してい
るか否かをを判断することで、URIをホストネーム表
記にするかIPアドレス表記にするかを自動的に決定す
ることができ、ユーザがネットワーク環境の状態を意識
することなくネットワークアプリケーションを利用する
とが可能となる。
As described above, in the present embodiment, it is determined whether or not the DNS server is connected on the network,
By determining whether or not the client device that is the TTP / 1.1 request issuing side has requested the use of name determination by the DNS server, it is automatically determined whether the URI is in host name notation or IP address notation. It is possible to use the network application without the user being aware of the state of the network environment.

【0040】尚、本発明は上記実施の形態に限定される
ものではない。上記実施の形態では、ICMPのPin
gコマンドを実行することによりネーム決定が可能か否
かを確認しているが、ネットワーク制御部がDNSレゾ
ルバを実装する構成をとる場合は、図3のステップS9
で自己のホストネームに対しPingを発行する代わり
に、自己のホストネームに対しDNSリクエストを発行
すればよく、また該DNSリクエストに対する応答が異
常終了した場合はネットワーク上にはDNSサーバが存
在しないか、又は該ネットワーク制御部がDNSサーバ
に登録されていないと判断してIPアドレス表記の使用
を決定し、一方、自己のホストネームに対するDNSリ
クエストが正常終了した場合は、ネットワーク上にはD
NSサーバが存在しているため名前決定が正常に処理さ
れると判断し、ホストネーム表記の使用を決定すること
により、表記法を自動的に決定することができる。
The present invention is not limited to the above embodiment. In the above embodiment, the ICMP Pin
Although it is confirmed whether or not the name can be determined by executing the g command, if the network control unit has a configuration in which a DNS resolver is implemented, step S9 in FIG.
Instead of issuing a Ping to its own host name, a DNS request may be issued to its own host name. If the response to the DNS request ends abnormally, check whether there is a DNS server on the network. Or, if the network control unit determines that the DNS request is not registered in the DNS server and decides to use the IP address notation, and if the DNS request for its own host name ends normally, the network
By judging that the name determination is normally processed because of the presence of the NS server, and by deciding to use the host name notation, the notation can be automatically determined.

【0041】尚、上記実施の形態では、周辺機器として
は、プリンタ以外であっても同様に適用することができ
るのはいうまでもなく、例えばスキャナ、FAX、複写
機、およびこれらの機能を複合的に備えたデジタル複合
機にも適用できる。
In the above-described embodiment, it goes without saying that the present invention can be applied to a peripheral device other than a printer in the same manner. For example, a scanner, a facsimile, a copying machine, and a function combining these functions can be used. The present invention can also be applied to a digital multifunction device equipped with a personal computer.

【0042】また、デバイスI/F24との接続形態に
ついても、バス接続、シリアルI/F、パラレルI/
F、イーサネット等汎用的に利用されているいかなるイ
ンターフェイス通信により構成してもよい。
The connection form with the device I / F 24 also includes bus connection, serial I / F, and parallel I / F.
F, Ethernet, or any other commonly used interface communication may be used.

【0043】[0043]

【発明の効果】以上説明したように本発明によれば、ネ
ットワーク上にサーバ装置が接続されているか否か、或
いはクライアント装置がサーバ装置で決定された表記法
を要求しているか否かを自動的に判断することで、ホス
トネーム表記又はIPアドレス表記のいずれを使用する
かを自動的に決定しているので、ユーザがネットワーク
の状態を意識することなくネットワークアプリケーショ
ンを利用するとを可能とする。
As described above, according to the present invention, it is automatically determined whether a server device is connected to a network or whether a client device requests a notation determined by the server device. By automatically determining whether to use the host name notation or the IP address notation, it is possible for the user to use the network application without being conscious of the state of the network.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明に係る情報処理装置の一実施の形態を示
すブロック構成図である。
FIG. 1 is a block diagram showing an embodiment of an information processing apparatus according to the present invention.

【図2】ネットワーク制御部の機能ブロックを示すブロ
ック構成図である
FIG. 2 is a block diagram showing functional blocks of a network control unit;

【図3】本発明に係る情報処理装置の制御方法の一実施
の形態を示すフローチャートである。
FIG. 3 is a flowchart illustrating an embodiment of a method for controlling an information processing apparatus according to the present invention.

【符号の説明】[Explanation of symbols]

1 CPU 2 フラッシュROM 3 DRAM 1 CPU 2 Flash ROM 3 DRAM

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 ネットワークに接続されて複数のクライ
アント装置に共有される情報処理装置であって、 自己を前記ネットワーク上で特定するための複数の表記
手段と、 前記複数の表記手段を互いに対応付けるためのサーバ装
置が、前記ネットワークに接続されているか否かを判断
する判断手段と、 前記複数の表記手段の中から前記判断手段の判断結果に
基づいて特定された一の表記手段の使用を決定する決定
手段とを有することを特徴とする情報処理装置。
An information processing apparatus connected to a network and shared by a plurality of client devices, wherein the plurality of notation means for identifying itself on the network and the plurality of notation means are associated with each other. A determination unit that determines whether or not the server device is connected to the network; and determines use of one of the plurality of notation units specified based on a determination result of the determination unit. An information processing apparatus comprising: a determination unit.
【請求項2】 前記複数の表記手段は、少なくともホス
トネーム表記法と、インタ−ネットプロトコル表記法と
を含み、 前記決定手段は、前記判断手段により前記サーバ装置が
接続されていないと判断されたときは、前記インターネ
ットプロトコル表記法の使用を決定することを特徴とす
る請求項1記載の情報処理装置。
2. The notation means includes at least a host name notation and an Internet protocol notation, and the determination means determines that the server device is not connected by the determination means. 2. The information processing apparatus according to claim 1, wherein the use of the Internet protocol notation is determined.
【請求項3】 前記複数の表記手段は、少なくともホス
トネーム表記法と、インタ−ネットプロトコル表記法と
を含み、 前記決定手段は、前記判断手段により前記サーバ装置が
接続されていると判断された場合であって、前記クライ
アント装置からホストネーム表記法での要求がなされた
ときは該ホストネーム表記法を使用することを決定し、
前記クライアント装置からインターネットプロトコル表
記法での要求がなされたときは前記インターネットプロ
トコル表記法を使用することを決定することを特徴とす
る請求項1又は請求項2記載の情報処理装置。
3. The notation means includes at least a host name notation and an Internet protocol notation, and the determination means determines that the server device is connected by the determination means. In the case, when a request is made in the host name notation from the client device, it is determined to use the host name notation,
3. The information processing apparatus according to claim 1, wherein when the client apparatus makes a request in the Internet protocol notation, it is determined to use the Internet protocol notation.
【請求項4】 前記サーバ装置は、ドメインネームシス
テムサーバであることを特徴とする請求項1乃至請求項
3のいずれかに記載の情報処理装置。
4. The information processing apparatus according to claim 1, wherein said server device is a domain name system server.
【請求項5】 ネットワークに接続されて複数のクライ
アント装置に共有される情報処理装置の制御方法であっ
て、 自己を前記ネットワーク上で特定するための複数の表記
手段を有すると共に、前記複数の表記手段を互いに対応
付けるためのサーバ装置が、前記ネットワークに接続さ
れているか否かを判断する判断ステップと、 前記複数の表記手段の中から前記判断ステップでの判断
結果に基づいて特定された一の表記手段の使用を決定す
る決定ステップとを含んでいることを特徴とする情報処
理装置の制御方法。
5. A method for controlling an information processing device connected to a network and shared by a plurality of client devices, comprising: a plurality of notation means for identifying itself on the network; A judging step of judging whether or not a server device for associating means with each other is connected to the network; and one notation specified based on the judgment result in the judging step from among the plurality of notation means And a determining step of determining the use of the means.
【請求項6】 前記複数の表記手段は、少なくともホス
トネーム表記法と、インタ−ネットプロトコル表記法と
を含み、 前記決定ステップは、前記判断ステップで前記サーバ装
置が接続されていないと判断したときは、前記インター
ネットプロトコル表記法の使用を決定することを特徴と
する請求項5記載の情報処理装置の制御方法。
6. The notation means includes at least a host name notation and an Internet protocol notation, and the determining step determines that the server device is not connected in the determining step. 6. The method according to claim 5, wherein determining the use of the Internet protocol notation.
【請求項7】 前記複数の表記手段は、少なくともホス
トネーム表記法と、インタ−ネットプロトコル表記法と
を含み、 前記決定ステップは、前記判断ステップにより前記サー
バ装置が接続されていると判断された場合であって、前
記クライアント装置からホストネーム表記法での要求が
なされたときは該ホストネーム表記法を使用することを
決定し、前記クライアント装置からインターネットプロ
トコル表記法での要求がなされたときは前記インターネ
ットプロトコル表記法を使用することを決定することを
特徴とする請求項4乃至請求項6のいずれかに記載の情
報処理装置の制御方法。
7. The notation means includes at least a host name notation and an Internet protocol notation, and the determining step determines that the server device is connected by the determining step. If the request is made in the host name notation from the client device, it is determined that the host name notation is used, and if the request is made in the Internet protocol notation from the client device, 7. The control method for an information processing apparatus according to claim 4, wherein it is determined to use the Internet protocol notation.
【請求項8】 前記サーバ装置は、ドメインネームシス
テムサーバであることを特徴とする請求項4乃至請求項
7のいずれかに記載の情報処理装置の制御方法。
8. The method according to claim 4, wherein the server device is a domain name system server.
JP2001104659A 2001-04-03 2001-04-03 Information processing apparatus and control method of the information processing apparatus Expired - Fee Related JP4598983B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001104659A JP4598983B2 (en) 2001-04-03 2001-04-03 Information processing apparatus and control method of the information processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001104659A JP4598983B2 (en) 2001-04-03 2001-04-03 Information processing apparatus and control method of the information processing apparatus

Publications (3)

Publication Number Publication Date
JP2002300161A true JP2002300161A (en) 2002-10-11
JP2002300161A5 JP2002300161A5 (en) 2008-02-07
JP4598983B2 JP4598983B2 (en) 2010-12-15

Family

ID=18957485

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001104659A Expired - Fee Related JP4598983B2 (en) 2001-04-03 2001-04-03 Information processing apparatus and control method of the information processing apparatus

Country Status (1)

Country Link
JP (1) JP4598983B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012234443A (en) * 2011-05-06 2012-11-29 Brother Ind Ltd Communication device
CN114598629A (en) * 2022-03-09 2022-06-07 深圳市吉祥腾达科技有限公司 Terminal type identification automatic test system and computer equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000099429A (en) * 1998-09-25 2000-04-07 Nippon Telegr & Teleph Corp <Ntt> Method and device for discriminating network connecting state
JP2000165390A (en) * 1998-11-24 2000-06-16 Murata Mach Ltd Network device
JP2001075757A (en) * 1999-09-07 2001-03-23 Brother Ind Ltd Printing system, control of printing and information recording medium stored with printing control program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000099429A (en) * 1998-09-25 2000-04-07 Nippon Telegr & Teleph Corp <Ntt> Method and device for discriminating network connecting state
JP2000165390A (en) * 1998-11-24 2000-06-16 Murata Mach Ltd Network device
JP2001075757A (en) * 1999-09-07 2001-03-23 Brother Ind Ltd Printing system, control of printing and information recording medium stored with printing control program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012234443A (en) * 2011-05-06 2012-11-29 Brother Ind Ltd Communication device
CN114598629A (en) * 2022-03-09 2022-06-07 深圳市吉祥腾达科技有限公司 Terminal type identification automatic test system and computer equipment
CN114598629B (en) * 2022-03-09 2023-08-11 深圳市吉祥腾达科技有限公司 Terminal type identification automatic test system and computer equipment

Also Published As

Publication number Publication date
JP4598983B2 (en) 2010-12-15

Similar Documents

Publication Publication Date Title
JP2008028914A (en) Device and method for reducing communication load, and program
JP2007018330A (en) Network terminal equipment, application program, recording medium with the program recorded thereon, installation program and recording medium with the program recorded thereon
JP2005094252A (en) Image processing apparatus, image processing system, name registration method, name registration program, and recording medium
US8817783B2 (en) Information processing apparatus, image processing apparatus, control method, and storage medium
JP5882855B2 (en) Method, system and program for protecting a host device
JP2008033693A (en) Communication control device, data processor, and control method
JP2006050286A (en) Network system, communication method therein, and host device
US8738728B2 (en) Information processing apparatus that identifies transmission source, and control method and storage medium therefor
JP6953878B2 (en) Communication control system, image processing unit, router, communication relay device and program
JP3812285B2 (en) Network system and network equipment
JP5328472B2 (en) Network communication apparatus and method and program
JP2010176164A (en) Server, and data reception method
US20060282531A1 (en) Network interface apparatus for controlling image data forwarding according to performance function of each address and method thereof
US20110235641A1 (en) Communication apparatus, method of controlling the communication apparatus,and program
JP4443482B2 (en) Internet printing system and program for realizing the same
JP2002300161A (en) Information processing unit and method for controlling the information processing unit
JP2006011703A (en) Information collection device, information collection method, information collection program and device management system
JP5442626B2 (en) Method for managing network components in a network and network components
JP2009015716A (en) Image forming apparatus by multiple ip addresses
JP2006197051A (en) Network communication control unit and method
JP2004253843A (en) Information processing apparatus, method of controlling the same, and control program thereof
US20060271648A1 (en) Communication Device And Program Employed By The Same
JP2011114805A (en) Communication apparatus and method, and program
JP4368776B2 (en) Network device, network device control method, program, and recording medium
JP2007174201A (en) Information processor, and communication method and program

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20060405

RD05 Notification of revocation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7425

Effective date: 20070626

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071217

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20071217

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100402

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100420

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100616

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100921

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100927

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131001

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees