JP7247603B2 - Information processing device, program, search method and search system - Google Patents

Information processing device, program, search method and search system Download PDF

Info

Publication number
JP7247603B2
JP7247603B2 JP2019013172A JP2019013172A JP7247603B2 JP 7247603 B2 JP7247603 B2 JP 7247603B2 JP 2019013172 A JP2019013172 A JP 2019013172A JP 2019013172 A JP2019013172 A JP 2019013172A JP 7247603 B2 JP7247603 B2 JP 7247603B2
Authority
JP
Japan
Prior art keywords
address
addresses
information processing
image forming
generates
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.)
Active
Application number
JP2019013172A
Other languages
Japanese (ja)
Other versions
JP2020123773A (en
Inventor
章吾 熊谷
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2019013172A priority Critical patent/JP7247603B2/en
Publication of JP2020123773A publication Critical patent/JP2020123773A/en
Application granted granted Critical
Publication of JP7247603B2 publication Critical patent/JP7247603B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Description

本発明は、情報処理装置、プログラム、検索方法及び検索システムに関する。 The present invention relates to an information processing device, program, search method and search system.

従来、企業等に導入される大型の通信システムは複数のネットワークを備えて構成される場合がある。また、このような通信システムにおいて、プリンター等の画像形成装置を共有することがあり、他のネットワークに接続された画像形成装置を利用することがある。 2. Description of the Related Art Conventionally, a large-scale communication system introduced into a company or the like may be configured with a plurality of networks. In such a communication system, an image forming apparatus such as a printer may be shared, and an image forming apparatus connected to another network may be used.

従来技術において、プリンターを検索する方法としては、例えば特許文献1が知られている。特許文献1では、デバイスを特定するための入力をユーザーに入力させる入力手段と、前記入力手段による入力によって特定されるデバイスのアドレス情報から、当該デバイスが存在するネットワークに対するブロードキャストアドレスを決定する決定手段と、前記決定手段によって決定されたブロードキャストアドレスに基づいて、データを送信する送信手段と、を有する情報処理装置が開示されている。 In the prior art, for example, Patent Document 1 is known as a method of searching for printers. In Patent Document 1, an input means for allowing a user to input an input for specifying a device, and a determination means for determining a broadcast address for a network in which the device exists from address information of the device specified by the input by the input means. and transmitting means for transmitting data based on the broadcast address determined by the determining means.

しかしながら、従来技術では、ローカルネットワーク以外のプリンターの検索を行うためのブロードキャストアドレスを決定するためにユーザーの入力が必要となってしまう問題があった。 However, the conventional technology has the problem that user input is required to determine the broadcast address for searching for printers on networks other than the local network.

そこで、本発明は、ユーザーの入力がなくともローカルネットワーク以外の画像形成装置を検索できる情報処理装置を提供することを目的とする。 SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide an information processing apparatus capable of searching for an image forming apparatus other than a local network without user input.

上記課題を解決するために、本発明は、ネットワークに接続可能な情報処理装置であって、IPアドレスが紐づけられたプリンターポートの情報を有するとともに、前記プリンターポートに紐づけられたIPアドレスを取得する取得部と、前記取得部によって取得されたIPアドレスに基づいてブロードキャストアドレスを生成する生成部と、前記生成部によって生成された前記ブロードキャストアドレスに基づいてネットワークに接続された画像形成装置を検索する検索部とを備え、前記取得部は、複数の前記IPアドレスを取得し、取得したIPアドレスに基づいて、IPアドレスが重複しないようにIPアドレスの一覧を生成し、前記生成部は、前記IPアドレスの一覧の各IPアドレスに対応するブロードキャストアドレスを生成することを特徴とする。
In order to solve the above-described problems, the present invention provides an information processing apparatus connectable to a network, having information on a printer port associated with an IP address, and specifying the IP address associated with the printer port. an obtaining unit for obtaining, a generating unit for generating a broadcast address based on the IP address obtained by the obtaining unit, and searching for an image forming apparatus connected to a network based on the broadcast address generated by the generating unit a search unit for obtaining a plurality of the IP addresses, and based on the obtained IP addresses, generates a list of IP addresses so that the IP addresses do not overlap; It is characterized by generating a broadcast address corresponding to each IP address in the list of IP addresses .

本発明によれば、ユーザーの入力がなくともローカルネットワーク以外の画像形成装置を検索できる情報処理装置を提供することができる。 According to the present invention, it is possible to provide an information processing apparatus capable of searching for an image forming apparatus other than a local network without user input.

本発明に係る検索システムの構成の一例を示す図である。It is a figure showing an example of composition of a search system concerning the present invention. 本発明に係る情報処理装置のハードウェア構成の一例を示す図である。It is a figure which shows an example of the hardware constitutions of the information processing apparatus which concerns on this invention. 本発明に係る情報処理装置の機能ブロックの一例を示す図である。It is a figure which shows an example of the functional block of the information processing apparatus which concerns on this invention. 本発明に係る検索方法の一例を示すフローチャートである。4 is a flow chart showing an example of a search method according to the present invention; 本発明に係る検索方法の他の例を示すフローチャートである。4 is a flow chart showing another example of a search method according to the present invention; 取得部によって取得されたIPアドレスの一例を示す図(A)~(C)である。4A to 4C are diagrams (A) to (C) showing examples of IP addresses acquired by an acquisition unit; FIG. 生成部によって生成されたブロードキャストアドレスの一例を示す図(A)~(C)である。13A to 13C are diagrams (A) to (C) showing an example of a broadcast address generated by a generation unit; FIG. 検索部によって検索された画像形成装置の一例を示す図(A)~(C)である。4A to 4C are diagrams showing examples of image forming apparatuses searched by a search unit; FIG.

以下、本発明に係る情報処理装置、プログラム、検索方法及び検索システムについて図面を参照しながら説明する。なお、本発明は以下に示す実施形態に限定されるものではなく、他の実施形態、追加、修正、削除など、当業者が想到することができる範囲内で変更することができ、いずれの態様においても本発明の作用・効果を奏する限り、本発明の範囲に含まれるものである。 Hereinafter, an information processing apparatus, a program, a search method, and a search system according to the present invention will be described with reference to the drawings. In addition, the present invention is not limited to the embodiments shown below, and can be changed within the scope of those skilled in the art, such as other embodiments, additions, modifications, deletions, etc. is also included in the scope of the present invention as long as the functions and effects of the present invention are exhibited.

本発明は、ネットワークに接続可能な情報処理装置であって、IPアドレスが紐づけられたプリンターポートの情報を有するとともに、前記プリンターポートに紐づけられたIPアドレスを取得する取得部と、前記取得部によって取得されたIPアドレスに基づいてブロードキャストアドレスを生成する生成部と、前記ブロードキャストアドレスに基づいてネットワークに接続された画像形成装置を検索する検索部と、を備えることを特徴とする。 The present invention provides an information processing apparatus connectable to a network, comprising: an acquisition unit that has information on a printer port associated with an IP address and acquires the IP address associated with the printer port; a generator that generates a broadcast address based on the IP address acquired by the unit; and a search unit that searches for an image forming apparatus connected to a network based on the broadcast address.

また、本発明は、ネットワークに接続可能な情報処理装置がネットワークに接続された画像形成装置を検索するための情報処理装置用のプログラムであって、前記情報処理装置は、IPアドレスが紐づけられたプリンターポートの情報を有し、当該プログラムは、コンピュータを前記プリンターポートに紐づけられたIPアドレスを取得する取得部、前記取得部によって取得されたIPアドレスに基づいてブロードキャストアドレスを生成する生成部、及び、前記ブロードキャストアドレスに基づいて前記画像形成装置を検索する検索部として機能させることを特徴とする。 According to another aspect of the present invention, there is provided a program for an information processing apparatus for searching an image forming apparatus connected to a network by an information processing apparatus connectable to a network, wherein the information processing apparatus is associated with an IP address. The program includes an acquisition unit that acquires an IP address associated with the printer port, and a generation unit that generates a broadcast address based on the IP address acquired by the acquisition unit. and a search unit that searches for the image forming apparatus based on the broadcast address.

また、本発明は、ネットワークに接続可能な情報処理装置がネットワークに接続された画像形成装置を検索するための検索方法であって、前記情報処理装置は、IPアドレスが紐づけられたプリンターポートの情報を有し、当該検索方法は、前記プリンターポートに紐づけられたIPアドレスを取得する取得工程と、前記取得工程によって取得されたIPアドレスに基づいてブロードキャストアドレスを生成する生成工程と、前記ブロードキャストアドレスに基づいて前記画像形成装置を検索する検索工程と、を含むことを特徴とする。 The present invention also provides a search method for searching for an image forming apparatus connected to a network by an information processing apparatus connectable to a network, wherein the information processing apparatus has a printer port associated with an IP address. information, and the search method includes an acquisition step of acquiring an IP address associated with the printer port, a generation step of generating a broadcast address based on the IP address acquired by the acquisition step, and the broadcast and a searching step of searching for the image forming apparatus based on the address.

また、本発明は、ネットワークに接続可能な情報処理装置と、該情報処理装置の検索対象となる画像形成装置とを備える検索システムであって、前記情報処理装置は、IPアドレスが紐づけられたプリンターポートの情報を有し、当該検索システムは、前記プリンターポートに紐づけられたIPアドレスを取得する取得部と、前記取得部によって取得されたIPアドレスに基づいてブロードキャストアドレスを生成する生成部と、前記ブロードキャストアドレスに基づいて前記画像形成装置を検索する検索部と、を備えることを特徴とする。 According to another aspect of the present invention, there is provided a search system including an information processing device connectable to a network and an image forming device to be searched by the information processing device, wherein the information processing device is associated with an IP address. Having printer port information, the search system includes an acquisition unit that acquires an IP address linked to the printer port, and a generation unit that generates a broadcast address based on the IP address acquired by the acquisition unit. and a search unit that searches for the image forming apparatus based on the broadcast address.

図1は、本発明の一実施形態に係る検索システムの構成を示す図である。図1に示すように、本実施形態の検索システムは、複数のネットワーク系統ネットA~Cを備えている。 FIG. 1 is a diagram showing the configuration of a search system according to one embodiment of the present invention. As shown in FIG. 1, the search system of this embodiment comprises a plurality of network system nets A to C. FIG.

ネットAには、情報処理装置の一例であるクライアントPCとプリンターAが接続されている。
また、ネットAは、ルーターAを介してネットBと接続されており、ネットBには、プリンターBとプリンターCが接続されている。更に、ネットAは、ルーターBを介してネットCと接続されており、ネットCには、プリンターDが接続されている。
A client PC, which is an example of an information processing apparatus, and a printer A are connected to the network A. FIG.
Also, the network A is connected to the network B via the router A, and the printer B and the printer C are connected to the network B. Furthermore, the network A is connected to the network C via the router B, and the printer D is connected to the network C.

なお、「PC」とあるのは、パーソナルコンピュータを意味する。また、「ネット」とあるのは、ネットワークを意味し、セグメントとも称する。クライアントPCからみると、プリンターB及びC、並びに、プリンターDは別セグメントに位置している。 Note that "PC" means a personal computer. Also, "net" means a network and is also called a segment. When viewed from the client PC, printers B and C and printer D are located in separate segments.

本実施形態の情報処理装置としてPC(クライアントPC)を用いて説明を行うが、本発明の情報処理装置はこれに限られるものではない。情報処理装置は、通信機能を備えた装置であれば、PC(パーソナルコンピュータ)に限られず、例えば画像形成装置等であってもよい。情報処理装置は、例えば、PJ(Projector:プロジェクタ)、IWB(Interactive White Board:相互通信が可能な電子式の黒板機能を有する白板)、デジタルサイネージ等の出力装置、HUD(Head Up Display)装置、産業機械、撮像装置、集音装置、医療機器、ネットワーク家電、自動車(Connected Car)、ノートPC(Personal Computer)、携帯電話、スマートフォン、タブレット端末、ゲーム機、PDA(Personal Digital Assistant)、デジタルカメラ、ウェアラブルPC等であってもよい。 Although a PC (client PC) is used as the information processing apparatus of the present embodiment, the information processing apparatus of the present invention is not limited to this. The information processing device is not limited to a PC (personal computer) as long as it has a communication function, and may be an image forming device or the like. The information processing device includes, for example, a PJ (Projector), an IWB (Interactive White Board), an output device such as a digital signage, a HUD (Head Up Display) device, Industrial machinery, imaging devices, sound collectors, medical equipment, network appliances, automobiles (connected cars), notebook PCs (personal computers), mobile phones, smartphones, tablet terminals, game consoles, PDAs (Personal Digital Assistants), digital cameras, It may be a wearable PC or the like.

図2は、クライアントPCのハードウェア構成の一例を示す図である。
図2に示されているように、クライアントPCは、コンピュータによって構築されており、CPU501、ROM502、RAM503、HD504、HDD(Hard Disk Drive)コントローラ505、ディスプレイ506、外部機器接続I/F(Interface)508、ネットワークI/F509、データバス510、キーボード511、ポインティングデバイス512、DVD-RW(Digital Versatile Disk Rewritable)ドライブ514、メディアI/F516を備えている。
FIG. 2 is a diagram showing an example of the hardware configuration of a client PC.
As shown in FIG. 2, the client PC is constructed by a computer, and includes a CPU 501, ROM 502, RAM 503, HD 504, HDD (Hard Disk Drive) controller 505, display 506, external device connection I/F (Interface) 508 , network I/F 509 , data bus 510 , keyboard 511 , pointing device 512 , DVD-RW (Digital Versatile Disk Rewritable) drive 514 and media I/F 516 .

これらのうち、CPU501は、クライアントPC全体の動作を制御する。ROM502は、IPL等のCPU501の駆動に用いられるプログラムを記憶する。RAM503は、CPU501のワークエリアとして使用される。HD504は、プログラム等の各種データを記憶する。HDDコントローラ505は、CPU501の制御に従ってHD504に対する各種データの読み出し又は書き込みを制御する。ディスプレイ506は、カーソル、メニュー、ウィンドウ、文字、又は画像などの各種情報を表示する。外部機器接続I/F508は、各種の外部機器を接続するためのインターフェースである。この場合の外部機器は、例えば、USB(Universal Serial Bus)メモリやプリンター等である。ネットワークI/F509は、通信ネットワーク100を利用してデータ通信をするためのインターフェースである。バスライン510は、図2に示されているCPU501等の各構成要素を電気的に接続するためのアドレスバスやデータバス等である。 Among these, the CPU 501 controls the operation of the entire client PC. The ROM 502 stores programs used to drive the CPU 501 such as IPL. A RAM 503 is used as a work area for the CPU 501 . The HD 504 stores various data such as programs. The HDD controller 505 controls reading or writing of various data to/from the HD 504 under the control of the CPU 501 . A display 506 displays various information such as cursors, menus, windows, characters, or images. The external device connection I/F 508 is an interface for connecting various external devices. The external device in this case is, for example, a USB (Universal Serial Bus) memory, a printer, or the like. A network I/F 509 is an interface for data communication using the communication network 100 . A bus line 510 is an address bus, a data bus, or the like for electrically connecting each component such as the CPU 501 shown in FIG.

また、キーボード511は、文字、数値、各種指示などの入力のための複数のキーを備えた入力手段の一種である。ポインティングデバイス512は、各種指示の選択や実行、処理対象の選択、カーソルの移動などを行う入力手段の一種である。DVD-RWドライブ514は、着脱可能な記録媒体の一例としてのDVD-RW513に対する各種データの読み出し又は書き込みを制御する。なお、DVD-RWに限らず、DVD-R等であってもよい。メディアI/F516は、フラッシュメモリ等の記録メディア515に対するデータの読み出し又は書き込み(記憶)を制御する。 Also, the keyboard 511 is a kind of input means having a plurality of keys for inputting characters, numerical values, various instructions, and the like. A pointing device 512 is a kind of input means for selecting and executing various instructions, selecting a processing target, moving a cursor, and the like. A DVD-RW drive 514 controls reading or writing of various data to a DVD-RW 513 as an example of a removable recording medium. It should be noted that not only DVD-RW but also DVD-R or the like may be used. A media I/F 516 controls reading or writing (storage) of data to a recording medium 515 such as a flash memory.

なお、上記ではクライアントPCと記載しているが、これに限られるものではなく、サーバとして用いられてもよい。 In addition, although described as a client PC in the above, it is not limited to this, and may be used as a server.

図3は、本発明の一実施形態に係るクライアントPCの機能ブロック図の一例である。本実施形態の情報処理装置は、取得部101、生成部102、検索部103を備えている。 FIG. 3 is an example of a functional block diagram of a client PC according to one embodiment of the present invention. The information processing apparatus of this embodiment includes an acquisition unit 101 , a generation unit 102 and a search unit 103 .

また、図4及び図5は、本実施形態のシステムを説明するためのフローチャートであり、図3とあわせて説明を行う。なお、図5では、サブネットマスクの取得が図4と異なっている。 4 and 5 are flowcharts for explaining the system of this embodiment, and will be explained together with FIG. 5 differs from FIG. 4 in obtaining the subnet mask.

取得部101は、クライアントPC内に存在するプリンターポートを列挙し、それらのプリンターポートに紐づけられたIPアドレスを列挙する。このようにして、プリンターポートに紐づけられたIPアドレスを取得する(S101)。 The acquisition unit 101 lists printer ports existing in the client PC and lists IP addresses associated with those printer ports. In this way, the IP address associated with the printer port is obtained (S101).

生成部102は、取得部101により取得されたIPアドレスに基づいてブロードキャストアドレスを生成する(S102)。ブロードキャストアドレスの生成方法は、適宜変更することができる。 The generation unit 102 generates a broadcast address based on the IP address acquired by the acquisition unit 101 (S102). The method of generating the broadcast address can be changed as appropriate.

本実施形態において、ブロードキャストアドレスは、各IPアドレスとそのIPアドレスのサブネットマスクから計算できる。例えば、IPアドレスに割り当てられた画像形成装置と通信して、該画像形成装置からサブネットマスクを取得し、該サブネットマスクを用いてブロードキャストアドレスを生成することができる(S201)。 In this embodiment, the broadcast address can be calculated from each IP address and the subnet mask for that IP address. For example, it is possible to communicate with an image forming apparatus assigned to an IP address, acquire a subnet mask from the image forming apparatus, and generate a broadcast address using the subnet mask (S201).

その他にも、ユーザーにより指定されたサブネットマスクをブロードキャストアドレスの生成に用いてもよい。サブネットマスクは、生成部102とは別の手段がユーザーからの指定を受け付けるようにしてもよい。 Alternatively, a user-specified subnet mask may be used to generate the broadcast address. The subnet mask may be specified by the user by means other than the generator 102 .

また、社内ネットワークなどで社内ルールに従ってネットワーク構築されている場合、サブネットマスクが同一である可能性が高いため、クライアントPCに設定されているサブネットマスクと同じものを使用してもよい場合がある。例えば、「255.255.255.0」といった、よく用いられるものを使用してもよい。 Also, if the network is constructed according to company rules, such as an in-house network, there is a high possibility that the subnet mask will be the same. For example, a commonly used one such as "255.255.255.0" may be used.

検索部103は、ブロードキャストアドレスに基づいてネットワークに接続された所定の画像形成装置を検索する(S103)。また、必要に応じて、検索された結果を表示する。 The search unit 103 searches for a predetermined image forming apparatus connected to the network based on the broadcast address (S103). Also, the search results are displayed as needed.

次に、本実施形態における具体例を図6~図8を用いて説明する。 Next, specific examples of this embodiment will be described with reference to FIGS. 6 to 8. FIG.

図6は、取得部101によって取得されたIPアドレスの例である。
図6(A)は、PC内のプリンターポートの情報を列挙した場合の例である。プリンターポートには、IPアドレスが紐づけられたTCP/IPポートと、ローカルポートやUSBポートなどのIPアドレスが紐づけられていないポートが存在する。
FIG. 6 is an example of an IP address acquired by the acquisition unit 101. As shown in FIG.
FIG. 6A is an example of listing information about printer ports in a PC. Printer ports include a TCP/IP port associated with an IP address and a port not associated with an IP address, such as a local port or USB port.

本実施形態のPC(情報処理装置)は、IPアドレスが紐づけられたプリンターポートの情報を有している。「プリンターポートの情報」とは、プリンターポート名と、これに対応するIPアドレスとを少なくとも含む。プリンターポート名に対応するIPアドレスがない場合は、対応するIPアドレスがないことが判別できる値などが用いられる。 A PC (information processing device) according to the present embodiment has printer port information associated with an IP address. "Printer port information" includes at least a printer port name and a corresponding IP address. If there is no IP address corresponding to the printer port name, a value that can be used to determine that there is no corresponding IP address is used.

図6(A)は、プリンターポートの情報の一例を示す図である。プリンターポートに関する情報は、図6(A)に示すように表(テーブル)の形式で情報処理装置に保存されていてもよいが、これに制限されるものではない。各プリンターポートの情報は、別々に保存されていてもよく、取得部101が表(テーブル)の形式にしてもよいし、別手段が表(テーブル)の形式にしてもよいし、別々に保存された状態で後述の図6(C)のようにIPアドレスを取得してもよい。また、プリンターポート(プリンターポート名)と、これに紐づけられるIPアドレスは、同じデータ内に保存されていてもよいし、別々に保存されていてもよい。プリンターポート名と、これに対応するIPアドレスを紐づけることができればよい。 FIG. 6A is a diagram showing an example of printer port information. The information on the printer port may be stored in the information processing apparatus in the form of a table as shown in FIG. 6A, but is not limited to this. The information of each printer port may be stored separately, and may be stored in a table format by the acquisition unit 101, or in a table format by another means, or stored separately. In this state, the IP address may be acquired as shown in FIG. 6C described later. Also, the printer port (printer port name) and the IP address linked thereto may be stored in the same data or may be stored separately. It is sufficient if the printer port name and the corresponding IP address can be linked.

上述のように、プリンターポートとしては、例えばTCP/IPポート、ローカルポート、USBポートなどの各種ポートが含まれる。これらの呼称は適宜変更されていてもよい。また、情報処理装置のOS(Operating System)等の違いにより、プリンターポートに関する情報の保存場所やデータ形式が異なる可能性があるが、OS等が異なっていても本発明は適用可能である。 As described above, printer ports include various ports such as TCP/IP ports, local ports, and USB ports. These names may be changed as appropriate. In addition, although there is a possibility that the storage location and data format of information related to printer ports differ due to differences in OSs (Operating Systems) of information processing apparatuses, the present invention is applicable even if the OSs differ.

取得部101は、列挙したプリンターポートのうち、IPアドレスが紐づけられたポートからIPアドレスを取得し、IPアドレスの一覧を生成する。図示される例では、図6(A)においてIPアドレスが紐づけられたポートからIPアドレスを取得し、図6(B)に示すIPアドレスの一覧を生成する。 The obtaining unit 101 obtains an IP address from a port associated with the IP address among the enumerated printer ports, and generates a list of IP addresses. In the illustrated example, the IP address is acquired from the port associated with the IP address in FIG. 6A, and the list of IP addresses shown in FIG. 6B is generated.

このとき、IPアドレスが重複しないようにすることが好ましい。例えば、「IP_10.60.100.201」と「PrinterC」のIPアドレスが「10.60.100.201」で重複しているため、図6(C)に示すように、「10.60.100.201」が1つだけになるようにすることが好ましい。 At this time, it is preferable to avoid duplication of IP addresses. For example, since the IP addresses of "IP_10.60.100.201" and "PrinterC" are duplicated at "10.60.100.201", there is only one "10.60.100.201" as shown in Fig. 6(C). It is preferable to

このようにして、取得部101により、図6(C)に示すようにIPアドレスの一覧が生成される。 In this manner, the acquisition unit 101 generates a list of IP addresses as shown in FIG. 6(C).

次に、取得部101によって取得されたIPアドレスに基づいて、生成部102によってブロードキャストアドレスが生成される。図7を用いて一例を説明する。 Next, a broadcast address is generated by the generation unit 102 based on the IP address acquired by the acquisition unit 101 . An example will be described with reference to FIG.

図7(A)は、図6(C)のIPアドレスと、これに対応するサブネットマスクを一覧にして表示したものである。サブネットマスクは、上述の方法により取得できる。図7(A)に示す例では、各IPアドレスに対応したサブネットマスクを取得している。
なお、サブネットマスクは、「10.60.100.101/24」などのプレフィックス表示部分を用いて「255.255.255.0」などのように求めることができる。
FIG. 7A shows a list of the IP addresses in FIG. 6C and their corresponding subnet masks. A subnet mask can be obtained by the method described above. In the example shown in FIG. 7A, a subnet mask corresponding to each IP address is obtained.
Note that the subnet mask can be obtained as "255.255.255.0" using the prefix display part such as "10.60.100.101/24".

次いで、図7(B)に示すように、サブネットマスクからブロードキャストアドレスを生成する。
IPアドレス及びサブネットマスクによりブロードキャストアドレスを求める方法は、一般的な手法を用いることができる。例えば、IPアドレスとサブネットマスクからネットワークアドレスを求め、ネットワークアドレスとサブネットマスクを2進数表記し、サブネットマスクの0部分をネットワークアドレスにおいて1にすればよい。
Next, as shown in FIG. 7B, a broadcast address is generated from the subnet mask.
A general method can be used as a method of obtaining a broadcast address from an IP address and a subnet mask. For example, a network address may be obtained from an IP address and a subnet mask, the network address and subnet mask may be expressed in binary, and the 0 portion of the subnet mask may be set to 1 in the network address.

例えば、図7(A)における1行目では、IPアドレス「10.60.90.51」、サブネットマスク「255.255.255.128」となっており、ここからネットワークアドレスは「10.60.90.0」となる。更にここから、サブネットマスクにおける128は2進数表記で10000000となり、0の部分をネットワークアドレスにおいて1にすると、「10.60.90.127」となってブロードキャストアドレスが求められる。 For example, in the first line in FIG. 7A, the IP address is "10.60.90.51", the subnet mask is "255.255.255.128", and the network address is "10.60.90.0". Further, from here, 128 in the subnet mask becomes 10000000 in binary notation, and if the 0 part is replaced with 1 in the network address, it becomes "10.60.90.127" and the broadcast address is obtained.

ブロードキャストアドレスが重複した場合は、1つになるように重複を削除することが好ましい。例えば図7(C)に示すように、重複している「10.60.100.255」を削除することが好ましい。これにより、重複を削除することで処理の効率を上げることができる。 If there are duplicate broadcast addresses, it is preferable to remove the duplicates so that there is only one. For example, as shown in FIG. 7(C), it is preferable to delete the redundant "10.60.100.255". As a result, processing efficiency can be improved by deleting duplication.

ブロードキャストアドレスの生成は、基本的に、列挙されたIPアドレスすべてをブロードキャストアドレスに用いるが、以下のように絞り込んでもよい。
例えば、IPアドレスに割り当てられたプリンター(画像形成装置)と通信して、通信できないプリンターのIPアドレスを除外してもよい。通信手段は、適宜変更することができ、例えばpingを用いて、pingの応答があるIPアドレスに限定してもよい。pingが通らない場合、使われていないエリアや、プリンターが存在しないエリアである可能性があるため、そのようなIPアドレスを除外することで処理の効率を上げることができる。
Broadcast address generation basically uses all of the listed IP addresses for the broadcast address, but may be narrowed down as follows.
For example, by communicating with a printer (image forming apparatus) assigned to an IP address, the IP address of a printer that cannot communicate may be excluded. The communication means can be changed as appropriate. For example, ping may be used and limited to IP addresses with ping responses. If ping does not pass, it may be an unused area or an area where no printer exists, so excluding such IP addresses can improve processing efficiency.

図8は、検索部103によって検索されたプリンターを示す図である。
図8(A)~(C)は、それぞれ異なるネットワーク(別セグメント)となっている。
図8(A)~(C)の上部に示されるアドレスは、ネットワークアドレスとサブネットマスクを示す。例えば、図8(A)では、「10.60.90.0」はネットワークアドレスを示し、「255.255.255.128」はサブネットマスクを示す。
FIG. 8 is a diagram showing printers searched by the search unit 103. As shown in FIG.
8A to 8C show different networks (separate segments).
The addresses shown at the top of FIGS. 8A to 8C indicate network addresses and subnet masks. For example, in FIG. 8A, "10.60.90.0" indicates the network address and "255.255.255.128" indicates the subnet mask.

PCのIPアドレスが「10.60.90.77」のとき、ローカルネットワーク検索ではプリンターAしか検索されないが、本実施形態によれば、プリンターB~Dを見つけることができる。 When the IP address of the PC is "10.60.90.77", only printer A is searched in the local network search, but printers B to D can be found according to this embodiment.

本実施形態によれば、PC内のプリンターポートの出力先IPアドレスをもとに、プリンターが存在する別セグメントのネットワークを特定することができ、ユーザーの入力がなくともローカルネットワーク以外のプリンターの検索を行うことができる。 According to this embodiment, it is possible to identify the network of another segment where the printer exists based on the output destination IP address of the printer port in the PC, and search for printers other than the local network without user input. It can be performed.

プリンターポートの出力先のIPアドレスを含むネットワークには他にもプリンターが存在する可能性が高い。そのため、プリンターポートの情報を使用すれば、ユーザーに入力を求めることなく、プリンターが存在する可能性の高いネットワークを特定することができる。 It is highly probable that there are other printers on the network that include the IP address of the output destination of the printer port. Therefore, by using the printer port information, it is possible to identify the network where the printer is likely to exist without prompting the user for input.

上記で説明した実施形態の各機能は、一又は複数の処理回路によって実現することが可能である。ここで、本明細書における「処理回路」とは、電子回路により実装されるプロセッサのようにソフトウェアによって各機能を実行するようプログラミングされたプロセッサや、上記で説明した各機能を実行するよう設計されたASIC(Application Specific Integrated Circuit)、DSP(digital signal processor)、FPGA(field programmable gate array)や従来の回路モジュール等のデバイスを含むものとする。 Each function of the embodiments described above may be implemented by one or more processing circuits. Here, the "processing circuit" in this specification means a processor programmed by software to perform each function, such as a processor implemented by an electronic circuit, or a processor designed to perform each function described above. devices such as ASICs (Application Specific Integrated Circuits), DSPs (digital signal processors), FPGAs (field programmable gate arrays) and conventional circuit modules.

101 取得部
102 生成部
103 検索部
101 acquisition unit 102 generation unit 103 search unit

特開2007-174201号公報Japanese Patent Application Laid-Open No. 2007-174201

Claims (8)

ネットワークに接続可能な情報処理装置であって、
IPアドレスが紐づけられたプリンターポートの情報を有するとともに、
前記プリンターポートに紐づけられたIPアドレスを取得する取得部と、
前記取得部によって取得されたIPアドレスに基づいてブロードキャストアドレスを生成する生成部と、
前記生成部によって生成された前記ブロードキャストアドレスに基づいてネットワークに接続された画像形成装置を検索する検索部とを備え
前記取得部は、複数の前記IPアドレスを取得し、取得したIPアドレスに基づいて、IPアドレスが重複しないようにIPアドレスの一覧を生成し、
前記生成部は、前記IPアドレスの一覧の各IPアドレスに対応するブロードキャストアドレスを生成することを特徴とする情報処理装置。
An information processing device connectable to a network,
In addition to having information on a printer port associated with an IP address,
an acquisition unit that acquires an IP address associated with the printer port;
a generation unit that generates a broadcast address based on the IP address acquired by the acquisition unit;
a search unit that searches for an image forming apparatus connected to a network based on the broadcast address generated by the generation unit ;
The acquisition unit acquires a plurality of the IP addresses, and based on the acquired IP addresses, generates a list of IP addresses so that the IP addresses do not overlap,
The information processing apparatus, wherein the generating unit generates a broadcast address corresponding to each IP address in the list of IP addresses .
前記生成部は、生成された前記ブロードキャストアドレスが重複した場合は、重複を削除して前記ブロードキャストアドレスを生成することを特徴とする請求項1に記載の情報処理装置。2. The information processing apparatus according to claim 1, wherein, when the generated broadcast addresses are duplicated, the generating unit generates the broadcast addresses by deleting the duplicates. 前記生成部は、前記IPアドレスに割り当てられた画像形成装置と通信して、該画像形成装置からサブネットマスクを取得し、該サブネットマスクを前記ブロードキャストアドレスの生成に用いることを特徴とする請求項1又は2に記載の情報処理装置。 2. The generating unit communicates with an image forming apparatus assigned to the IP address, acquires a subnet mask from the image forming apparatus, and uses the subnet mask to generate the broadcast address. 3. The information processing device according to 2 . 前記生成部は、ユーザーにより指定されたサブネットマスクを前記ブロードキャストアドレスの生成に用いることを特徴とする請求項1又は2に記載の情報処理装置。 3. The information processing apparatus according to claim 1 , wherein the generation unit uses a subnet mask specified by a user to generate the broadcast address. 前記生成部は、前記IPアドレスに割り当てられた画像形成装置と通信し、通信できない画像形成装置のIPアドレスを除外して前記ブロードキャストアドレスを生成することを特徴とする請求項1~のいずれかに記載の情報処理装置。 5. The generating unit communicates with the image forming apparatus assigned to the IP address, and generates the broadcast address by excluding IP addresses of image forming apparatuses that cannot communicate with the image forming apparatus. The information processing device according to . ネットワークに接続可能な情報処理装置がネットワークに接続された画像形成装置を検索するための情報処理装置用のプログラムであって、
前記情報処理装置は、IPアドレスが紐づけられたプリンターポートの情報を有し、
当該プログラムは、コンピュータを
前記プリンターポートに紐づけられたIPアドレスを取得する取得部、
前記取得部によって取得されたIPアドレスに基づいてブロードキャストアドレスを生成する生成部、及び、
前記生成部によって生成された前記ブロードキャストアドレスに基づいて前記画像形成装置を検索する検索部
として機能させ
前記取得部は、複数の前記IPアドレスを取得し、取得したIPアドレスに基づいて、IPアドレスが重複しないようにIPアドレスの一覧を生成し、
前記生成部は、前記IPアドレスの一覧の各IPアドレスに対応するブロードキャストアドレスを生成することを特徴とするプログラム。
A program for a network connectable information processing device to search for an image forming device connected to the network, comprising:
The information processing device has printer port information associated with an IP address,
The program comprises: an acquisition unit that acquires an IP address associated with the printer port;
a generation unit that generates a broadcast address based on the IP address acquired by the acquisition unit; and
function as a search unit that searches for the image forming apparatus based on the broadcast address generated by the generation unit ;
The acquisition unit acquires a plurality of the IP addresses, and based on the acquired IP addresses, generates a list of IP addresses so that the IP addresses do not overlap,
The program , wherein the generating unit generates a broadcast address corresponding to each IP address in the list of IP addresses .
ネットワークに接続可能な情報処理装置がネットワークに接続された画像形成装置を検索するための検索方法であって、
前記情報処理装置は、IPアドレスが紐づけられたプリンターポートの情報を有し、
当該検索方法は、
前記プリンターポートに紐づけられたIPアドレスを取得する取得工程と、
前記取得工程によって取得されたIPアドレスに基づいてブロードキャストアドレスを生成する生成工程と、
前記生成工程によって生成された前記ブロードキャストアドレスに基づいて前記画像形成装置を検索する検索工程とを含み、
前記取得工程は、複数の前記IPアドレスを取得し、取得したIPアドレスに基づいて、IPアドレスが重複しないようにIPアドレスの一覧を生成し、
前記生成工程は、前記IPアドレスの一覧の各IPアドレスに対応するブロードキャストアドレスを生成することを特徴とする検索方法。
A search method for searching an image forming apparatus connected to a network by an information processing apparatus connectable to a network, comprising:
The information processing device has printer port information associated with an IP address,
The search method is
an obtaining step of obtaining an IP address associated with the printer port;
a generating step of generating a broadcast address based on the IP address obtained by the obtaining step;
a searching step of searching for the image forming apparatus based on the broadcast address generated by the generating step ;
The obtaining step obtains a plurality of the IP addresses, generates a list of IP addresses based on the obtained IP addresses so that the IP addresses do not overlap,
The search method, wherein the generating step generates a broadcast address corresponding to each IP address in the list of IP addresses .
ネットワークに接続可能な情報処理装置と、該情報処理装置の検索対象となる画像形成装置とを備える検索システムであって、
前記情報処理装置は、IPアドレスが紐づけられたプリンターポートの情報を有し、
当該検索システムは、
前記プリンターポートに紐づけられたIPアドレスを取得する取得部と、
前記取得部によって取得されたIPアドレスに基づいてブロードキャストアドレスを生成する生成部と、
前記生成部によって生成された前記ブロードキャストアドレスに基づいて前記画像形成装置を検索する検索部と、
を備え
前記取得部は、複数の前記IPアドレスを取得し、取得したIPアドレスに基づいて、IPアドレスが重複しないようにIPアドレスの一覧を生成し、
前記生成部は、前記IPアドレスの一覧の各IPアドレスに対応するブロードキャストアドレスを生成することを特徴とする検索システム。
A search system comprising an information processing device connectable to a network and an image forming device to be searched by the information processing device,
The information processing device has printer port information associated with an IP address,
The search system is
an acquisition unit that acquires an IP address associated with the printer port;
a generation unit that generates a broadcast address based on the IP address acquired by the acquisition unit;
a search unit that searches for the image forming apparatus based on the broadcast address generated by the generation unit ;
with
The acquisition unit acquires a plurality of the IP addresses, and based on the acquired IP addresses, generates a list of IP addresses so that the IP addresses do not overlap,
The search system , wherein the generating unit generates a broadcast address corresponding to each IP address in the list of IP addresses .
JP2019013172A 2019-01-29 2019-01-29 Information processing device, program, search method and search system Active JP7247603B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019013172A JP7247603B2 (en) 2019-01-29 2019-01-29 Information processing device, program, search method and search system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019013172A JP7247603B2 (en) 2019-01-29 2019-01-29 Information processing device, program, search method and search system

Publications (2)

Publication Number Publication Date
JP2020123773A JP2020123773A (en) 2020-08-13
JP7247603B2 true JP7247603B2 (en) 2023-03-29

Family

ID=71992986

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019013172A Active JP7247603B2 (en) 2019-01-29 2019-01-29 Information processing device, program, search method and search system

Country Status (1)

Country Link
JP (1) JP7247603B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007174201A (en) 2005-12-21 2007-07-05 Canon Inc Information processor, and communication method and program
JP2011076165A (en) 2009-09-29 2011-04-14 Brother Industries Ltd Terminal and computer program
JP2013222228A (en) 2012-04-12 2013-10-28 Konica Minolta Inc Print control system, print control method, server, image forming apparatus, and print control program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007174201A (en) 2005-12-21 2007-07-05 Canon Inc Information processor, and communication method and program
JP2011076165A (en) 2009-09-29 2011-04-14 Brother Industries Ltd Terminal and computer program
JP2013222228A (en) 2012-04-12 2013-10-28 Konica Minolta Inc Print control system, print control method, server, image forming apparatus, and print control program

Also Published As

Publication number Publication date
JP2020123773A (en) 2020-08-13

Similar Documents

Publication Publication Date Title
TW201351269A (en) Enabling access to supported capabilities of printers prior to installing printer-specific software for the printers
US20140208319A1 (en) System for providing virtual machines
JP2014106595A (en) Information processor, control method thereof, and program
JP7247603B2 (en) Information processing device, program, search method and search system
JP2017084146A (en) Information processing apparatus and information processing program
JP7380140B2 (en) Information processing system, server, method, program, and information processing device
JP2006331160A (en) Software introduction environment configuration apparatus, software introduction environment configuration method, software introduction environment configuration program and recording medium
JP6668868B2 (en) Information processing apparatus and information processing program
JP2017213827A (en) Information processing apparatus, information processing system, information processing method, and program
JP2016192752A (en) Display method, information processing device, and display program
JP7147580B2 (en) Information processing system, information processing device, parameter setting method and program
JP6958176B2 (en) Information processing equipment, information processing systems, control methods and programs
US11307729B2 (en) Information processing system, information processing apparatus, and method of processing information
JP7139991B2 (en) Information processing system, method, and information processing device
JP2007123998A (en) System and method of creating group for image forming apparatus, and program thereof
JP2020188421A (en) Information processing apparatus, information processing system, program, and information processing method
JP2016074150A (en) Image forming device and program
JP7225969B2 (en) Information processing system, method, and server device
JP2015215639A (en) Failure management system, failure management device, equipment, failure management method, and program
JP5843897B2 (en) DNS search record generation device, DNS record search device, and program
JP7293656B2 (en) system
JP7419958B2 (en) Information processing device, service integration system, service integration method and program
US11656806B2 (en) Information processing apparatus and system and non-transitory computer readable medium
JP7306243B2 (en) Information processing device, home screen display method, and home screen display program
US20210075923A1 (en) Data transmission apparatus, and control method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20211021

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220725

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220823

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221021

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230227

R151 Written notification of patent or utility model registration

Ref document number: 7247603

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151