JP2018125611A - Communication device, communication method, and program - Google Patents

Communication device, communication method, and program Download PDF

Info

Publication number
JP2018125611A
JP2018125611A JP2017014514A JP2017014514A JP2018125611A JP 2018125611 A JP2018125611 A JP 2018125611A JP 2017014514 A JP2017014514 A JP 2017014514A JP 2017014514 A JP2017014514 A JP 2017014514A JP 2018125611 A JP2018125611 A JP 2018125611A
Authority
JP
Japan
Prior art keywords
transmission
data
information
response
recording
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
JP2017014514A
Other languages
Japanese (ja)
Other versions
JP7022508B2 (en
JP2018125611A5 (en
Inventor
中澤 紀之
Noriyuki Nakazawa
紀之 中澤
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 JP2017014514A priority Critical patent/JP7022508B2/en
Priority to US15/860,215 priority patent/US10652424B2/en
Publication of JP2018125611A publication Critical patent/JP2018125611A/en
Publication of JP2018125611A5 publication Critical patent/JP2018125611A5/ja
Application granted granted Critical
Publication of JP7022508B2 publication Critical patent/JP7022508B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32502Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device in systems having a plurality of input or output devices
    • H04N1/32523Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device in systems having a plurality of input or output devices a plurality of output devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00832Recording use, e.g. counting number of pages copied
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32037Automation of particular transmitter jobs, e.g. multi-address calling, auto-dialing
    • H04N1/32053Delayed transmission, e.g. to make use of reduced connection rates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32609Fault detection or counter-measures, e.g. original mis-positioned, shortage of paper
    • H04N1/32614Fault detection or counter-measures, e.g. original mis-positioned, shortage of paper related to a single-mode communication, e.g. at the transmitter or at the receiver
    • H04N1/32619Fault detection or counter-measures, e.g. original mis-positioned, shortage of paper related to a single-mode communication, e.g. at the transmitter or at the receiver with retransmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32609Fault detection or counter-measures, e.g. original mis-positioned, shortage of paper
    • H04N1/32646Counter-measures
    • H04N1/32694Storing a fault condition in memory
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/327Initiating, continuing or ending a single-mode communication; Handshaking therefor
    • H04N1/32765Initiating a communication
    • H04N1/32771Initiating a communication in response to a request, e.g. for a particular document
    • H04N1/3278Initiating a communication in response to a request, e.g. for a particular document using a protocol or handshaking signal, e.g. non-standard set-up [NSS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/0008Connection or combination of a still picture apparatus with another apparatus
    • H04N2201/0034Details of the connection, e.g. connector, interface
    • H04N2201/0037Topological details of the connection
    • H04N2201/0039Connection via a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/0077Types of the still picture apparatus
    • H04N2201/0094Multifunctional device, i.e. a device capable of all of reading, reproducing, copying, facsimile transception, file transception

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Facsimiles In General (AREA)
  • Communication Control (AREA)
  • Computer And Data Communications (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Small-Scale Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To transmit multiple data while sharing the port of a transmission source, and to re-transmit the data not responded to the transmission data multiple times.SOLUTION: A transmission device includes transmission means for transmitting data to a specified destination, receiving means for receiving a response to the transmission by the transmission means, recording means for recording the information about the transmission, when transmission is performed by the transmission means, and further recording the information of the transmission source of the response in association, when the response to the transmission is received by the receiving means, and control means for controlling the transmission means to re-transmit the data based on the information recorded by the recording means. The control means controls the transmission means to re-transmit the data to a destination indicated by the information, which has elapsed a prescribed time after being recorded and the response is not received by the receiving means, out of the information recorded by the recording means.SELECTED DRAWING: Figure 3

Description

本発明は、通信装置、通信方法、及びプログラムに関する。   The present invention relates to a communication device, a communication method, and a program.

従来の通信の宛先にコネクションの確立のためのハンドシェイクを行うことなくデータの送受信を行う通信手段として、特許文献1の構成が挙げられる。   As a communication means for transmitting and receiving data without performing a handshake for establishing a connection to a conventional communication destination, the configuration of Patent Document 1 can be cited.

特許文献1では、個々のデータの送信が行われるたびに送信した各データを特定する送信データ特定情報を順次記録する手段と、送信されたデータの宛先が受信したことを確認させるためのデータを送信してきた際にこれを特定する受信データ特定情報を順次記録する手段を備える。そして、記録された情報を対比した結果、対とならなかった送信データ特定情報のうち、受信データ特定情報が到来するまでの遅延時間の最大値を超えて存在するものを不達送信データとして抽出し、抽出された送信データ特定情報に対応する送信データを所定の相手先に再送信している。   In Patent Document 1, means for sequentially recording transmission data specifying information for specifying each transmitted data each time transmission of individual data is performed, and data for confirming that the destination of the transmitted data has been received. Means are provided for sequentially recording received data specifying information for specifying this when it is transmitted. Then, as a result of comparing the recorded information, out of the transmission data specifying information that was not paired, the data that exceeds the maximum delay time until the received data specifying information arrives is extracted as non-delivery transmission data The transmission data corresponding to the extracted transmission data specifying information is retransmitted to a predetermined destination.

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

しかしながら、上記従来技術では再送信したデータに対するデータの受信が無い場合にデータを再度送信する手段を持たない。また、データを再送信したことを記録していないため、不達送信データを複数回抽出する場合に、同じ送信データ特定情報が抽出されるという問題がある。一方、ハンドシェイクを行った上で、同時に複数の再送信を行う構成とした場合、その送信宛先の数に対応して通信ポートそれぞれ設ける必要がある。   However, the prior art does not have means for retransmitting data when no data is received for the retransmitted data. In addition, since the fact that the data has been retransmitted is not recorded, there is a problem in that the same transmission data specifying information is extracted when undelivered transmission data is extracted a plurality of times. On the other hand, when a plurality of retransmissions are simultaneously performed after handshaking, it is necessary to provide each communication port corresponding to the number of transmission destinations.

上記課題を解決するために本願発明は以下の構成を有する。すなわち、ネットワークを介して接続された装置と通信を行う通信装置であって、指定された宛先に対してデータを送信する送信手段と、前記送信手段による送信に対する応答を受信する受信手段と、前記送信手段による送信が行われた際に当該送信に関する情報を記録し、更に当該送信に対する応答を前記受信手段により受信した際に当該応答の送信元の情報を対応づけて記録する記録手段と、前記記録手段にて記録した情報に基づいて、前記送信手段にデータの再送を行わせる制御手段とを備え、前記制御手段は、前記記録手段に記録されている情報のうち、記録されてから所定の時間が経過し、かつ、前記受信手段にて応答を受信していない情報が示す宛先に対し、前記送信手段によるデータの再送を行わせる。   In order to solve the above problems, the present invention has the following configuration. That is, a communication device that communicates with a device connected via a network, a transmission unit that transmits data to a specified destination, a reception unit that receives a response to transmission by the transmission unit, and Recording means for recording information related to the transmission when transmission by the transmission means is performed, and further recording information associated with the transmission source of the response when receiving a response to the transmission by the receiving means; and Control means for causing the transmission means to retransmit the data based on the information recorded by the recording means, and the control means is configured to store a predetermined amount of information recorded in the recording means after being recorded. The transmission means retransmits the data to the destination indicated by the information whose time has passed and the reception means has not received a response.

本願発明により、ホストの通信ポートを節約しつつ、応答が返されなかった送信データを複数回再送信することが可能となる。   According to the present invention, it is possible to retransmit the transmission data for which a response is not returned a plurality of times while saving the communication port of the host.

ネットワークデバイス管理システムの構成を示すブロック図。The block diagram which shows the structure of a network device management system. ホストコンピュータのハードウェア構成の例を示すブロック図。The block diagram which shows the example of the hardware constitutions of a host computer. 第1の実施形態に係る処理部の構成例を示す図。The figure which shows the structural example of the process part which concerns on 1st Embodiment. 初期化処理およびタイマーの起動処理のフローチャート。The flowchart of the initialization process and the starting process of a timer. 定期的な探索データの送信処理のフローチャート。7 is a flowchart of periodic search data transmission processing. 送信情報追加処理のフローチャート。The flowchart of a transmission information addition process. 遅延呼び出し処理のフローチャート。The flowchart of a delay call process. 遅延処理のフローチャート。The flowchart of a delay process. 受信処理のフローチャート。The flowchart of a reception process. 第2の実施形態に係る処理部の構成例を示す図。The figure which shows the structural example of the process part which concerns on 2nd Embodiment. 第2の実施形態に係る受信処理のフローチャート。The flowchart of the reception process which concerns on 2nd Embodiment. 第3の実施形態に係る送信処理のフローチャート。The flowchart of the transmission process which concerns on 3rd Embodiment.

<第1の実施形態>
以下、本発明を実施するための形態について図面を用いて説明する。
<First Embodiment>
Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings.

[システム構成]
図1は、本発明の第1の実施の形態に係るネットワークデバイス管理システムの構成例を示す図である。図1において、ホストコンピュータ101は、ネットワークデバイス管理システムにおけるホストコンピュータとして機能する。画像形成装置103、104、105は、管理対象の画像形成装置である。なお、画像形成装置の数はこれに限定するものではなく、更に多くの画像形成装置が接続されていてもよい。また、画像形成装置としては、ネットワークプリンタ、MFP(Multi−Function Peripheral)、コピー機などが該当するが特に限定するものではない。また、ネットワークデバイスとしての管理対象は、画像形成装置に限定するものではなく、ホストコンピュータ101が管理すべき機器であれば他の機器であってもよい。
[System configuration]
FIG. 1 is a diagram showing a configuration example of a network device management system according to the first embodiment of the present invention. In FIG. 1, a host computer 101 functions as a host computer in a network device management system. The image forming apparatuses 103, 104, and 105 are management target image forming apparatuses. The number of image forming apparatuses is not limited to this, and more image forming apparatuses may be connected. Examples of the image forming apparatus include a network printer, an MFP (Multi-Function Peripheral), and a copier, but are not particularly limited. Further, the management target as the network device is not limited to the image forming apparatus, and may be another device as long as it is a device to be managed by the host computer 101.

ホストコンピュータ101及び画像形成装置103、104、105は、ネットワーク102に接続され、各装置はネットワーク102を介して互いに通信可能となっている。ホストコンピュータ101は、ネットワーク102を介して画像形成装置103、104、105と通信を行う。ここで、各画像形成装置との通信には、SNMP(Simple Network Management Protocol)が用いられる。SNMPはUDP(User Diagram Protocol)上で動作するプロトコルである。UDPは、データの送信先に対して、事前のハンドシェイクを行うことなくデータを送信する。   The host computer 101 and the image forming apparatuses 103, 104, and 105 are connected to a network 102, and each apparatus can communicate with each other via the network 102. The host computer 101 communicates with the image forming apparatuses 103, 104, and 105 via the network 102. Here, SNMP (Simple Network Management Protocol) is used for communication with each image forming apparatus. SNMP is a protocol that operates on UDP (User Diagram Protocol). UDP transmits data to a data transmission destination without performing a prior handshake.

UDPには、以下に述べる特徴がある。送信処理と受信処理を分離することが可能となる。例えば、送信処理では、受信処理が受信待ちをしているポートを送信元ポートとして、複数の宛先に対してデータを送信する。このデータを受信した宛先側では、送信元ポートに対してUDPの応答を送信する。受信処理では、これらの複数の宛先からの応答を受信することができる。これにより、複数の宛先に対するデータの送信と受信とをより少ない処理とポートを用いて実現することが可能となる。これに対して、ハンドシェイクが必要なTCP(Transmission Control Protocol)では、宛先毎に送信処理と受信処理が必要になる。   UDP has the following characteristics. Transmission processing and reception processing can be separated. For example, in the transmission process, data is transmitted to a plurality of destinations with the port waiting for reception in the reception process as a transmission source port. Upon receiving this data, the destination side transmits a UDP response to the transmission source port. In the reception process, responses from these multiple destinations can be received. As a result, data transmission and reception for a plurality of destinations can be realized with fewer processes and ports. On the other hand, in TCP (Transmission Control Protocol) that requires handshaking, transmission processing and reception processing are required for each destination.

また、UDPでは、ハンドシェイクを行わないため、送信したデータが宛先により受信されたか否かの確認や受信がされない場合における再送信の仕組みを持たない。   In addition, since UDP does not perform handshake, it does not have a re-transmission mechanism when confirmation or reception of transmitted data has not been received or received.

(ハードウェア構成)
図2は、ホストコンピュータ101のハードウェア構成の例を示す図である。図2において、ホストコンピュータ101は、CPU201、RAM202、ROM203、および外部記憶装置207を備える。CPU201は、ROM203や外部記憶装置207に記憶された、或いはネットワーク102よりダウンロードしたソフトウェアを実行し、システムバス209に接続された各デバイスを総括的に制御する。RAM202は、CPU201の主メモリあるいはワークエリアなどとして機能する記憶手段である。外部記憶装置207は、ハードディスク(HD)やソリッドステートドライブ(SSD)等から構成される記憶手段である。外部記憶装置207は、ブートプログラム、オペレーティングシステム(OS)、認証サーバ、認証クライアント等を含む各種のアプリケーション、データベースデータ、ユーザファイル等を記憶する。
(Hardware configuration)
FIG. 2 is a diagram illustrating an example of the hardware configuration of the host computer 101. In FIG. 2, the host computer 101 includes a CPU 201, a RAM 202, a ROM 203, and an external storage device 207. The CPU 201 executes software stored in the ROM 203 or the external storage device 207 or downloaded from the network 102, and comprehensively controls each device connected to the system bus 209. A RAM 202 is a storage unit that functions as a main memory or a work area of the CPU 201. The external storage device 207 is a storage unit configured by a hard disk (HD), a solid state drive (SSD), or the like. The external storage device 207 stores various applications including a boot program, an operating system (OS), an authentication server, an authentication client, database data, user files, and the like.

さらにホストコンピュータ101は、キーボードコントローラ(KBDC)204、ビデオコントローラ(VC)205、ディスクコントローラ(DC)206、およびネットワークインタフェースコントローラ(NIC)208を備える。KBDC204は、不図示のキーボードやポインティングデバイスなどの入力手段からの入力情報をCPU201に送る。VC205は、LCD等からなる表示装置の表示を制御する。DC206は、外部記憶装置207との通信を制御する。NIC208は、ホストコンピュータ101をネットワーク102に接続し、各種通信を制御する。   The host computer 101 further includes a keyboard controller (KBDC) 204, a video controller (VC) 205, a disk controller (DC) 206, and a network interface controller (NIC) 208. The KBDC 204 sends input information from an input unit such as a keyboard or a pointing device (not shown) to the CPU 201. The VC 205 controls display on a display device such as an LCD. The DC 206 controls communication with the external storage device 207. The NIC 208 connects the host computer 101 to the network 102 and controls various communications.

(UDPデータの送信処理)
図3は、ホストコンピュータ101における、SNMPのようなUDPデータ(パケット)の送信処理に関するソフトウェア構成の例を示す図である。図3を用いてデータの送信から再送信までの流れの概要を説明する。ここで、UDPデータの送信処理は、ホストコンピュータ101から、ネットワーク102に接続された画像形成装置103、104、105に対してデータを送信するものとする。また、ここではホストコンピュータ101の構成のみを示し、画像形成装置側の構成については省略する。なお、画像形成装置105は電源が投入されていない等の理由により、このUDPデータに対して応答を返せない状態にあるとする。
(UDP data transmission process)
FIG. 3 is a diagram illustrating an example of a software configuration related to a transmission process of UDP data (packet) such as SNMP in the host computer 101. An outline of the flow from data transmission to retransmission will be described with reference to FIG. Here, in the UDP data transmission processing, data is transmitted from the host computer 101 to the image forming apparatuses 103, 104, and 105 connected to the network 102. Here, only the configuration of the host computer 101 is shown, and the configuration on the image forming apparatus side is omitted. It is assumed that the image forming apparatus 105 cannot return a response to the UDP data because the power is not turned on.

送信開始部301は、画像形成装置103、104、105に対するUDPデータの送信の指示を行う。送信開始部301は、データ送信部304、データ受信部305、遅延呼出制御部302、受信記録部306を適時呼び出す。そして、送信開始部301は、データ送信部304を用いて、送信先の画像形成装置にUDPデータを送信させ、送信情報を遅延呼出制御部302に追加させる。送信情報については後述する。   The transmission start unit 301 instructs the image forming apparatuses 103, 104, and 105 to transmit UDP data. The transmission start unit 301 calls the data transmission unit 304, the data reception unit 305, the delayed call control unit 302, and the reception recording unit 306 in a timely manner. Then, the transmission start unit 301 uses the data transmission unit 304 to cause the destination image forming apparatus to transmit UDP data, and causes the delayed call control unit 302 to add transmission information. The transmission information will be described later.

データ送信部304は、指定した送信先に対して指定したデータをUDPデータとして送信する。ここで、データの送信先は、アドレスにより指定される。遅延呼出制御部302は、送信情報が追加されてから所定の経過時間(T秒とする)後に、この送信情報を引数として遅延処理実行部303による遅延処理を呼び出す。ここでのTは、予め定義され、保持されているものとする。遅延呼出制御部302及び遅延処理実行部303による遅延処理に入力される送信情報は、宛先となる画像形成装置のアドレス、再送信のリトライ回数、および送信データを含む。ここで、送信開始部301が遅延呼出制御部302に送信情報を追加させる際のリトライ回数の値は、データの再送信回数(N回とする)である。   The data transmission unit 304 transmits specified data as UDP data to a specified transmission destination. Here, the data transmission destination is designated by an address. The delay call control unit 302 calls the delay process by the delay process execution unit 303 using the transmission information as an argument after a predetermined elapsed time (T seconds) after the transmission information is added. Here, T is defined and held in advance. The transmission information input to the delay process by the delay call control unit 302 and the delay process execution unit 303 includes the address of the image forming apparatus that is the destination, the number of retransmission retries, and the transmission data. Here, the value of the number of retries when the transmission start unit 301 causes the delayed call control unit 302 to add transmission information is the number of data retransmissions (N times).

データ受信部305は、ホストコンピュータ101が指定したポートに対して送信されたUDPデータを、ネットワーク102を介して受信する。データ受信部305は、受信したデータがデータ送信部304により送信されたデータに対する応答であることを確認し、データの送信元を特定できる情報(この場合はIPアドレス)を受信記録部306に保存する。受信記録部306は、保存された情報を利用して指定された送信元からのデータが受信済みであるか否か判定する機能を有する。ここで、データ受信部305が受信待ちするポート番号と、データ送信部304がデータを送信する際の送信元のポート番号は同一である。これにより、データ送信部304により送信されたデータに対する応答がデータ受信部305により受信されることになる。言い換えると、同じポートから送信されたデータに対する応答は、異なる装置から送信(返信)されたデータであっても、同じポートにて受信される。   The data receiving unit 305 receives UDP data transmitted to the port designated by the host computer 101 via the network 102. The data reception unit 305 confirms that the received data is a response to the data transmitted by the data transmission unit 304, and stores information (in this case, an IP address) that can identify the data transmission source in the reception recording unit 306. To do. The reception recording unit 306 has a function of determining whether data from a designated transmission source has been received using stored information. Here, the port number that the data reception unit 305 waits for reception is the same as the port number of the transmission source when the data transmission unit 304 transmits data. As a result, a response to the data transmitted by the data transmission unit 304 is received by the data reception unit 305. In other words, a response to data transmitted from the same port is received at the same port even if it is data transmitted (returned) from a different device.

遅延処理実行部303は、遅延処理において、遅延呼出制御部302にて追加された送信情報を受け取り、送信情報中のIPアドレスからのデータが受信済みか否かを受信記録部306に問い合わせる。つまり、送信情報に示されたIPアドレスに対して送信したデータに対する応答が、受信されているか否かを問い合わせる。問い合わせの結果、受信済みでない場合は、遅延処理実行部303は、データ送信部304を用いてデータを再送信する。   The delay processing execution unit 303 receives the transmission information added by the delay call control unit 302 in the delay processing, and inquires of the reception recording unit 306 whether data from the IP address in the transmission information has been received. That is, it inquires whether a response to data transmitted to the IP address indicated in the transmission information has been received. As a result of the inquiry, if not received, the delay processing execution unit 303 retransmits the data using the data transmission unit 304.

次に、送信情報中の「リトライ回数」を1減算した結果が正数(>0)の場合、遅延処理実行部303は、遅延呼出制御部302に「リトライ回数」を1減算した送信情報を追加(更新)させる。この再送信処理により、応答を返さない宛先(本例の場合は、画像形成装置105)に対しては、T秒毎に最大N回のデータの再送信が行われる。つまり、初回の送信と最大N回の再送信により、N+1回のデータの送信が行われうる。なお、例えば、画像形成装置105が途中で起動した場合など、画像形成装置105から応答があった場合には、それ以降のデータの再送信は行われない。   Next, when the result of subtracting 1 from the “retry count” in the transmission information is a positive number (> 0), the delay processing execution unit 303 sends the transmission information obtained by subtracting 1 from the “retry count” to the delayed call control unit 302. Add (update). As a result of this retransmission processing, a maximum of N data retransmissions are performed every T seconds for a destination that does not return a response (in this example, the image forming apparatus 105). That is, N + 1 times of data transmission can be performed by the initial transmission and a maximum of N retransmissions. Note that, for example, when there is a response from the image forming apparatus 105, such as when the image forming apparatus 105 is activated in the middle, the subsequent data is not retransmitted.

ここでは、送信するデータを送信情報中に含めた例を示したが、これに限定するものではない。例えば、送信するデータが規定のものである場合、データ送信部304あるいは、送信開始部301と遅延処理実行部303とが、送信するデータを作成することにより、送信情報内の「送信データ」は不要となる。   Here, an example in which data to be transmitted is included in the transmission information is shown, but the present invention is not limited to this. For example, when the data to be transmitted is specified, the data transmission unit 304 or the transmission start unit 301 and the delay processing execution unit 303 create the data to be transmitted, so that “transmission data” in the transmission information is It becomes unnecessary.

以下、ネットワーク102上の画像形成装置の探索処理を例に挙げて、図3の各ブロックの処理を詳細に説明する。探索処理では、ネットワークにおいて指定されたアドレス群に対してSNMPバージョン1(SNMPv1)のデータを順次送信し、その応答として受信した受信データを検証する。ここでのアドレス群としては、例えば、192.16.0.0〜192.16.255.255の場合、計65536個のアドレスが該当する。このような場合、アドレスを割り当てれられた宛先が存在しない、或いは宛先が起動していない等の理由により、送信したデータの全てに対して応答が返信されるとは限らない。また、応答を返した宛先が全て画像形成装置であるとは限らない。また、UDPの性質上、送信したSNMPの要求及び応答データが必ず宛先により受信されるとは限らない。上記の探索処理の対象となるアドレス群に関する情報(範囲)は、予め保持しているものとする。   Hereinafter, the processing of each block in FIG. 3 will be described in detail with reference to search processing of the image forming apparatus on the network 102 as an example. In the search process, SNMP version 1 (SNMPv1) data is sequentially transmitted to a group of addresses designated in the network, and received data received as a response is verified. As an address group here, for example, in the case of 192.16.0.0 to 192.168.2.255.255, a total of 65536 addresses correspond. In such a case, a response is not always returned for all transmitted data because there is no destination to which an address is assigned or the destination is not activated. In addition, not all destinations that returned responses are image forming apparatuses. Also, due to the nature of UDP, the transmitted SNMP request and response data are not always received by the destination. It is assumed that information (range) related to the address group to be subjected to the search process is held in advance.

[処理フロー]
以下に、本実施形態に係る処理フローについて説明する。なお、以下に示す各処理フローは、ホストコンピュータ101のCPU201が、RAM202等に格納されたプログラムを読み出して実行されることにより、実現される。
[Processing flow]
The processing flow according to this embodiment will be described below. Each processing flow shown below is realized by the CPU 201 of the host computer 101 reading and executing a program stored in the RAM 202 or the like.

図4Aおよび図4Bは、本実施形態に係る送信開始部301の処理の流れを示すフローチャートである。送信開始部301は、各種初期化処理とタイマーにより定期的に実行される探索データの送信処理を行う。タイマーによる定期的な送信処理の実行は、短時間に大量の探索用データを送信せず、毎秒決まった個数のアドレスに対して順次探索用のデータを送信するための仕組みである。図4Aは、各種初期化処理とタイマーの起動のフローチャートである。図4Bは、タイマーにより定期的に実行される探索データの送信処理のフローチャートである。   4A and 4B are flowcharts showing a processing flow of the transmission start unit 301 according to the present embodiment. The transmission start unit 301 performs search data transmission processing that is periodically executed by various initialization processes and timers. The periodic transmission processing by the timer is a mechanism for transmitting search data sequentially to a fixed number of addresses every second without transmitting a large amount of search data in a short time. FIG. 4A is a flowchart of various initialization processes and timer activation. FIG. 4B is a flowchart of search data transmission processing periodically executed by a timer.

(初期化処理)
まず、図4Aに示す各種初期化処理とタイマーの起動処理について説明する。
(Initialization process)
First, various initialization processes and timer activation processes shown in FIG. 4A will be described.

S401にて、送信開始部301は、受信記録部306を作成する。なお、ここでの「作成する」とは、各処理部を呼び出し、各種処理を実行するように設定を行うことを意味する。受信記録部306は、IPアドレスのリストを保持し、与えられたIPアドレスをリストに追加する機能と、与えられたIPアドレスがリスト内に存在するか否かを返す機能とを持つ。   In S 401, the transmission start unit 301 creates the reception recording unit 306. Here, “create” means to call each processing unit and make settings to execute various processes. The reception recording unit 306 has a function of holding a list of IP addresses, adding a given IP address to the list, and returning a function indicating whether or not the given IP address exists in the list.

S402にて、送信開始部301は、データ受信部305を作成し、UDPデータの受信開始をデータ受信部305に指示する。この際、データ受信用のポートは、通常、システムにより自動的に割り当てられた未使用のポートが使用される。   In S402, transmission start section 301 creates data reception section 305 and instructs data reception section 305 to start receiving UDP data. At this time, an unused port automatically assigned by the system is normally used as the data reception port.

S403にて、送信開始部301は、データ送信部304を作成する。この際、送信開始部301は、データ送信元のポート番号として、S402にて割り当てられたデータ受信部305の受信ポート番号を用いるようデータ送信部304に指示する。   In S403, the transmission start unit 301 creates the data transmission unit 304. At this time, the transmission start unit 301 instructs the data transmission unit 304 to use the reception port number of the data reception unit 305 assigned in S402 as the port number of the data transmission source.

S404にて、送信開始部301は、遅延呼出制御部302を作成する。この際、送信開始部301は、作成した遅延呼出制御部302に遅延時間Tと、送信情報が入力されてから遅延時間T後にこの送信情報を引数にして呼び出す遅延処理実行部303による遅延処理とを設定する。   In S404, transmission start section 301 creates delayed call control section 302. At this time, the transmission start unit 301 performs delay processing by the delay processing execution unit 303 which calls the delay time T to the created delayed call control unit 302 and calls the transmission information as an argument after the delay time T after the transmission information is input. Set.

S405にて、送信開始部301は、タイマーを作成し、一定の時間間隔t1毎に図4Bの探索データの送信処理を呼び出すように設定する。ここでの時間間隔t1として、例えば、1秒や0.5秒などの設定が行われる。   In S405, transmission start section 301 creates a timer and sets so as to call the search data transmission processing of FIG. 4B at regular time intervals t1. For example, 1 second or 0.5 second is set as the time interval t1 here.

S406にて、送信開始部301は、S405で作成したタイマーを開始する。これにより、タイマーによる一定時間の経過を検知することにより、その時間毎に図4Bに示す探索データ送信処理が起動されることとなる。その後、本処理フローを終了する。   In S406, transmission start section 301 starts the timer created in S405. Thereby, by detecting the elapse of a certain time by the timer, the search data transmission process shown in FIG. 4B is started every time. Thereafter, this processing flow ends.

(探索データの送信処理)
次に、図4Bに示すタイマーにより定期的に起動される探索データの送信処理について説明する。
(Search data transmission process)
Next, search data transmission processing periodically started by the timer shown in FIG. 4B will be described.

S410にて、送信開始部301は、変数iに値Mを設定する。ここで、MはS405で作成したタイマーによる処理の呼び出し間隔(時間間隔t1)内にて送信する探索データ(送信データ)の数である。例えば、タイマーの呼び出し間隔(時間間隔t1)が0.5秒であり、毎秒30個のアドレスに対して探索データを送信する場合、Mは15(=30/0.5)となる。   In S410, transmission starting unit 301 sets value M to variable i. Here, M is the number of search data (transmission data) to be transmitted within the processing call interval (time interval t1) by the timer created in S405. For example, when the timer call interval (time interval t1) is 0.5 seconds and search data is transmitted to 30 addresses per second, M is 15 (= 30 / 0.5).

S411にて、送信開始部301は、探索対象として指定されたアドレス群からアドレスを1つ取得する。このとき、アドレスを取得できない場合は、全てのアドレスに対する探索データの送信が完了したことを意味する。従って、ここで取得したアドレスは、アドレス群において処理済みとして扱われる。   In S411, the transmission start unit 301 acquires one address from the address group designated as the search target. If the address cannot be acquired at this time, it means that the transmission of the search data for all addresses is completed. Therefore, the acquired address is treated as processed in the address group.

S412にて、送信開始部301は、S411にてアドレスが取得できたか否かを判定する。アドレスが取得できなかった場合は(S412にてNO)S413へ進み、アドレスが取得できた場合(S412にてYES)S414へ進む。   In S412, the transmission start unit 301 determines whether an address has been acquired in S411. If the address could not be acquired (NO in S412), the process proceeds to S413. If the address could be acquired (YES in S412), the process proceeds to S414.

S413にて、送信開始部301は、タイマーを停止する。その後、本処理フローを終了する。ここで、タイマーを停止すると、以降、送信開始部301による定期的な探索データの送信処理は停止される。   In S413, transmission start section 301 stops the timer. Thereafter, this processing flow ends. Here, when the timer is stopped, the transmission processing of the periodic search data by the transmission start unit 301 is stopped thereafter.

S414にて、送信開始部301は、S411で取得したアドレスに対して探索用のデータを送信するようにデータ送信部304に指示する。ここで、探索用のデータとは例えば、SNMPv1のプリンタMIB(RFC3805)のルートOID(mib−2.43)のGetNext要求である。例えば、この送信データに対してPrinterMIB内のOIDを返した宛先は、プリンタであると判断することができる。   In S414, the transmission start unit 301 instructs the data transmission unit 304 to transmit search data to the address acquired in S411. Here, the search data is, for example, a GetNext request for the root OID (mib-2.43) of the SNMPv1 printer MIB (RFC3805). For example, it is possible to determine that the destination that returned the OID in the Printer MIB for this transmission data is a printer.

S415にて、送信開始部301は、アドレスとリトライ回数(N)とを含む送信情報を作成し、この送信情報をS404で作成した遅延呼出制御部302に入力する。   In S415, transmission start section 301 creates transmission information including an address and the number of retries (N), and inputs this transmission information to delayed call control section 302 created in S404.

S416にて、送信開始部301は、変数iの値を1減ずる。   In S416, transmission start section 301 decrements the value of variable i by one.

S417にて、送信開始部301は、変数iが0か否かを判定する。変数iが0でない場合(S417にてNO)、送信開始部301はS411に戻り、次の探索対象のアドレスに対して同様の処理を実行する。変数iが0の場合(S417にてYES)、送信開始部301は、本処理フローを終了する。以上の処理により、t1毎にM個のアドレスに対して探索データが送信される。   In S417, transmission start section 301 determines whether variable i is 0 or not. If variable i is not 0 (NO in S417), transmission start section 301 returns to S411 and executes the same processing for the next search target address. If variable i is 0 (YES in S417), transmission start unit 301 ends this processing flow. Through the above processing, search data is transmitted to M addresses every t1.

図5Aおよび図5Bは、遅延呼出制御部302の処理の流れを示すフローチャートである。図5Aは、送信情報の追加処理のフローチャートを示す。図5Bは、遅延呼び出し処理のフローチャートである。なお、図4AのS404における遅延呼出制御部302の呼び出し時に、図5Bに示す遅延呼び出し処理を時間間隔t2毎に呼び出すようにタイマーに設定されているものとする。また、遅延呼出制御部302は、追加された送信情報とこれを追加した時刻を組にしたデータのリストを内部的に保持する。   5A and 5B are flowcharts showing the processing flow of the delayed call control unit 302. FIG. 5A shows a flowchart of transmission information addition processing. FIG. 5B is a flowchart of the delayed call process. It is assumed that the timer is set to call the delayed call processing shown in FIG. 5B at every time interval t2 when the delayed call control unit 302 is called in S404 of FIG. 4A. Further, the delayed call control unit 302 internally holds a list of data in which the added transmission information and the time when the added transmission information is added.

(送信情報追加処理)
図5Aを用いて、送信情報追加処理の詳細を説明する。
(Transmission information addition process)
Details of the transmission information addition processing will be described with reference to FIG. 5A.

S501にて、遅延呼出制御部302は、引数として渡された送信情報と現在時刻を含むデータをリストに追加する。   In S501, the delayed call control unit 302 adds the transmission information passed as an argument and data including the current time to the list.

S502にて、遅延呼出制御部302は、リストの要素数が1か否かの判定を行う。判定の結果、要素数が1ではない場合(S502にてNO)、本処理フローを終了する。要素数が1の場合(S502にてYES)、S503へ進む。ここで、要素数が2以上である場合にはすでにタイマーは開始されていると判断でき、また、要素数が0である場合には遅延している処理は無いものと判断できる。なお、ここでのタイマーは、図4Aにて示したタイマーとは異なるものとして説明する。   In S502, the delayed call control unit 302 determines whether or not the number of elements in the list is one. If the number of elements is not 1 as a result of the determination (NO in S502), the process flow ends. If the number of elements is 1 (YES in S502), the process proceeds to S503. Here, when the number of elements is 2 or more, it can be determined that the timer has already been started, and when the number of elements is 0, it can be determined that there is no delayed processing. Note that the timer here is assumed to be different from the timer shown in FIG. 4A.

S503にて、遅延呼出制御部302は、遅延呼び出し処理(図5B)を時間間隔t2毎に呼び出すためのタイマーを開始する。これにより、図5Bに示す遅延呼び出し処理が、タイマーによる時間間隔t2毎に呼び出されることとなる。なお、時間間隔t2の値は特に限定するものではないが、例えば、上記の時間間隔t1の値との処理負荷を考慮して設定してよい。その後、本処理フローを終了する。   In S503, the delayed call control unit 302 starts a timer for calling the delayed call process (FIG. 5B) at every time interval t2. Thereby, the delay call process shown in FIG. 5B is called at every time interval t2 by the timer. The value of the time interval t2 is not particularly limited. For example, the value may be set in consideration of the processing load with the value of the time interval t1. Thereafter, this processing flow ends.

(遅延呼び出し処理)
S510にて、遅延呼出制御部302は、リストに追加されてからT時間以上経過した要素群をリストから取り出す。このとき、取り出された要素群はリストから削除される。
(Delayed call processing)
In step S510, the delayed call control unit 302 extracts from the list an element group that has been added to the list and that has passed T time or more. At this time, the extracted element group is deleted from the list.

S511にて、遅延呼出制御部302は、取り出した要素群から要素を1つ取り出す。   In S511, delayed call control unit 302 extracts one element from the extracted element group.

S512にて、遅延呼出制御部302は、S511にて要素が取り出せたか否かを判定する。要素が取り出せなかった場合は(S512にてNO)S514に遷移し、要素が取り出せた場合は(S512にてYES)S513に遷移する。   In S512, the delayed call control unit 302 determines whether an element has been extracted in S511. If the element could not be extracted (NO in S512), the process proceeds to S514. If the element could be extracted (YES in S512), the process proceeds to S513.

S513にて、遅延呼出制御部302は、要素内の送信情報を引数にして、図4AのS404で登録された遅延処理実行部303による処理を呼び出す。その後、遅延呼出制御部302は、リストから取り出した要素群の次の要素に対する処理を行うため、S511に遷移する。   In S513, the delayed call control unit 302 calls the processing by the delay processing execution unit 303 registered in S404 of FIG. 4A using the transmission information in the element as an argument. Thereafter, the delayed call control unit 302 transitions to S511 in order to perform processing for the next element in the element group extracted from the list.

S514にて、遅延呼出制御部302は、リストが空か否かを判定する。リストが空の場合(S514にてYES)S515へ遷移し、リストが空でない場合(S514にてNO)本処理フローを終了する。リストが空の場合は、全ての要素に対する遅延処理が完了したことを意味する。   In S514, the delayed call control unit 302 determines whether or not the list is empty. If the list is empty (YES in S514), the process proceeds to S515, and if the list is not empty (NO in S514), the process flow ends. If the list is empty, it means that the delay processing for all elements has been completed.

S515にて、遅延呼出制御部302は、S503で開始したタイマーを停止する。これにより、余分な遅延呼び出し処理の呼び出しが抑止される。その後、本処理フローを終了する。   In S515, the delayed call control unit 302 stops the timer started in S503. As a result, calling of an extra delayed call process is suppressed. Thereafter, this processing flow ends.

(遅延処理)
図6は、図5BのS513で呼び出される、図4AのS404で遅延呼出制御部302に登録された遅延処理実行部303による遅延処理の流れを示すフローチャートである。
(Delayed processing)
FIG. 6 is a flowchart showing the flow of delay processing performed by the delay processing execution unit 303 registered in the delay call control unit 302 in S404 of FIG. 4A, which is called in S513 of FIG. 5B.

S601にて、遅延処理実行部303は、引数として渡された送信情報内のアドレスが、受信記録部306内に存在するか否かを受信記録部306に問い合わせる。   In step S <b> 601, the delay processing execution unit 303 inquires of the reception recording unit 306 whether or not the address in the transmission information passed as an argument exists in the reception recording unit 306.

S602にて、遅延処理実行部303は、S601の問い合わせの結果、アドレスが存在するか否かを判定する。アドレスが存在する場合(S602にてYES)、即ちこのアドレスに送信した探索データに対する応答をデータ受信部305が既に受信している場合、遅延処理実行部303は、本処理フローを終了する。確認の結果、アドレスが存在しない場合(S602にてNO)、即ちこのアドレスからの応答をデータ受信部305がまだ受信していない場合、S603に遷移する。   In step S602, the delay processing execution unit 303 determines whether an address exists as a result of the inquiry in step S601. If the address exists (YES in S602), that is, if the data reception unit 305 has already received a response to the search data transmitted to this address, the delay processing execution unit 303 ends this processing flow. As a result of the confirmation, if the address does not exist (NO in S602), that is, if the data reception unit 305 has not yet received a response from this address, the process proceeds to S603.

S603にて、遅延処理実行部303は、データ送信部304に探索データの送信(再送信)を指示する。   In step S603, the delay processing execution unit 303 instructs the data transmission unit 304 to transmit (retransmit) search data.

S604にて、遅延処理実行部303は、引数として受け取った送信情報内のリトライ回数を1減算する。   In step S604, the delay processing execution unit 303 subtracts 1 from the number of retries in the transmission information received as an argument.

S605にて、遅延処理実行部303は、減算した結果のリトライ回数が0か否かを判定する。リトライ回数が0である場合(S605にてYES)、即ち既に探索データをN回(送信情報で指定された回数)再送信した場合、本処理フローを終了する。リトライ回数が0でない場合(S605にてNO)、即ちまだ探索データをN回再送信していない場合、S606へ遷移する。   In step S605, the delay processing execution unit 303 determines whether the number of retries as a result of the subtraction is zero. If the number of retries is 0 (YES in S605), that is, if the search data has already been retransmitted N times (number of times specified by the transmission information), this processing flow ends. If the number of retries is not 0 (NO in S605), that is, if the search data has not been retransmitted N times, the process proceeds to S606.

S606にて、遅延処理実行部303は、S604でリトライ回数を1減算した受信情報を、遅延呼出制御部302に追加する。その後、本処理フローを終了する。   In S606, the delay processing execution unit 303 adds the reception information obtained by subtracting the retry count by 1 in S604 to the delayed call control unit 302. Thereafter, this processing flow ends.

(受信処理)
図7は、データ受信部305がネットワークからデータを受信した際の受信処理の流れを示すフローチャートである。ここで、受信処理では、受信したデータとデータの送信元のアドレスが取得可能であるとする。
(Reception processing)
FIG. 7 is a flowchart showing a flow of reception processing when the data receiving unit 305 receives data from the network. Here, in the reception process, it is assumed that the received data and the address of the data transmission source can be acquired.

S701にて、データ受信部305は、受信データを取得する。   In step S701, the data reception unit 305 acquires received data.

S702にて、データ受信部305は、受信したデータがSNMPの応答データであるか否かを判定する。受信したデータがSNMPの応答でない場合(S702にてNO)、本処理フローを終了する。受信したデータがSNMPの応答である場合(S702にてYES)、S703に遷移する。   In step S702, the data reception unit 305 determines whether the received data is SNMP response data. If the received data is not an SNMP response (NO in S702), the process flow ends. If the received data is an SNMP response (YES in S702), the process proceeds to S703.

S703にて、データ受信部305は、受信データの送信元のアドレスを取り出し、これを受信記録部306に登録する。   In step S <b> 703, the data reception unit 305 extracts the transmission source address of the reception data and registers it in the reception recording unit 306.

S704にて、データ受信部305は、S701で取得した受信データからSNMPのMIBのOIDを取り出す。   In step S704, the data reception unit 305 extracts the OID of the SNMP MIB from the reception data acquired in step S701.

S705にて、データ受信部305は、S704で取り出したSNMP応答中のMIBのOIDがプリンタMIBであるか否かを判定する。ここで、OIDがプリンタMIBであるとは、具体的には、OIDがプリンタMIB(RFC3805)のルートOID(mib−2.43)で始まっていることを意味する。受信したSNMP応答がプリンタMIBでない場合(S705にてNO)、本処理フローを終了する。受信したSNMP応答がプリンタMIBである場合(S705にてYES)、データ受信部305は、S706に遷移する。なお、探索対象の装置が画像形成装置以外である場合には、その装置の種類に対応してここでの判定を行うものとする。   In step S705, the data reception unit 305 determines whether the OID of the MIB in the SNMP response extracted in step S704 is a printer MIB. Here, the OID being the printer MIB specifically means that the OID starts with the root OID (mib-2.43) of the printer MIB (RFC3805). If the received SNMP response is not the printer MIB (NO in S705), the process flow ends. If the received SNMP response is the printer MIB (YES in step S705), the data reception unit 305 proceeds to step S706. When the device to be searched is other than the image forming device, the determination here is performed according to the type of the device.

S706にて、データ受信部305は、詳細情報取得部(不図示)に詳細情報の取得を依頼する。詳細情報取得部は、データ受信部305からの依頼に基づいて、受信データを送信した画像形成装置から詳細情報を取得する。ここでの詳細情報とは、画像形成装置の状態情報や動作情報などが含まれるものとするが、特に限定するものではない。その後、本処理フローを終了する。   In S706, the data receiving unit 305 requests a detailed information acquisition unit (not shown) to acquire detailed information. The detailed information acquisition unit acquires detailed information from the image forming apparatus that has transmitted the received data based on a request from the data reception unit 305. The detailed information here includes state information and operation information of the image forming apparatus, but is not particularly limited. Thereafter, this processing flow ends.

なお、図4BのS414で送信する探索データと図6のS603で送信する探索データは必ずしも同一である必要はない。例えば、探索で使用するSNMPv1のコミュニティ名が複数指定されており、その内の1つが規定値であるとする。S414での最初の送信ではこのコミュニティを使用し、後続のS603では指定されている全てのコミュニティ名のそれぞれを指定した複数の探索データを送信してもよい。   Note that the search data transmitted in S414 in FIG. 4B and the search data transmitted in S603 in FIG. 6 are not necessarily the same. For example, it is assumed that a plurality of SNMPv1 community names used in the search are specified, and one of them is a specified value. In the first transmission in S414, this community may be used, and in the subsequent S603, a plurality of search data specifying each of all specified community names may be transmitted.

以上、本実施形態により、ホストの通信ポートを節約しつつ、送信データに対して応答を返さなかった送信データを複数回再送信することが可能となる。   As described above, according to the present embodiment, it is possible to retransmit transmission data that has not returned a response to transmission data a plurality of times while saving the communication port of the host.

<第2の実施形態>
本願発明の第2の実施形態について説明する。第1の実施形態では、探索処理で用いるSNMPとして1のバージョン(SNMPv1)のみを用いていた。これに対し、本実施形態では、画像形成装置の仕様に対応して、複数のバージョンを用いて探索処理を行う構成について説明する。
<Second Embodiment>
A second embodiment of the present invention will be described. In the first embodiment, only one version (SNMPv1) is used as the SNMP used in the search process. In contrast, in the present embodiment, a configuration in which search processing is performed using a plurality of versions corresponding to the specifications of the image forming apparatus will be described.

図8は、本実施形態に係る探索処理をSNMPのバージョン1(SNMPv1)とバージョン3(SNMPv3)を用いて実行する場合の処理に関するソフトウェア構成の例を示す図である。第1の実施形態にて示した図3の構成と同じ部分については、同じ参照番号を用いて説明する。また、処理に関しても第1の実施形態と異なる部分のみを記すものとする。   FIG. 8 is a diagram illustrating an example of a software configuration related to processing when the search processing according to the present embodiment is executed using SNMP version 1 (SNMPv1) and version 3 (SNMPv3). The same parts as those in the configuration of FIG. 3 shown in the first embodiment will be described using the same reference numerals. Further, only the parts different from the first embodiment will be described with respect to the processing.

SNMPv3の場合は、MIBの値に対する要求を送信する前に、事前にエンジン情報をSNMPのエージェントから取得する必要がある。ここでエンジン情報とは、エンジンID、エンジンブート、およびエンジンタイムを含んで構成される。詳細は、RFC3414等に記載されているため、ここでの説明は省略する。   In the case of SNMPv3, it is necessary to obtain engine information from an SNMP agent before transmitting a request for a MIB value. Here, the engine information includes an engine ID, an engine boot, and an engine time. The details are described in RFC 3414 and the like, and thus the description thereof is omitted here.

図8において、SNMPv3データ送信部801は、SNMPv3のエンジン情報を要求するデータを送信する。SNMPv3データ受信部802は、SNMPv3データ送信部801から送信されたデータに対する応答を受信する。   In FIG. 8, an SNMPv3 data transmission unit 801 transmits data requesting SNMPv3 engine information. The SNMPv3 data receiving unit 802 receives a response to the data transmitted from the SNMPv3 data transmitting unit 801.

データ送信部304及びデータ受信部305は、SNMPv1のデータ送受信に用いられる部位であり、第1の実施形態にて述べた図3のデータ送信部304及びデータ受信部305に対応する。ここでは、それぞれSNMPv1データ送信部、SNMPv1データ受信部と記している。それぞれの動作は、第1の実施形態にて述べたように、SNMPv1を用いたネットワーク102上の画像形成装置の探索処理の例に記した通りである。   The data transmission unit 304 and the data reception unit 305 are parts used for data transmission / reception of SNMPv1, and correspond to the data transmission unit 304 and the data reception unit 305 of FIG. 3 described in the first embodiment. Here, the SNMPv1 data transmitting unit and the SNMPv1 data receiving unit are described. Each operation is as described in the example of the search process of the image forming apparatus on the network 102 using SNMPv1 as described in the first embodiment.

本実施形態では、図4のS402の工程において、SNMPv1データ受信部305とSNMPv3データ受信部802を作成する。これらは別のポートでデータの受信を待機する。また、S403の工程において、SNMPv1データ送信部304とSNMPv3データ送信部801を作成する。ここで、SNMPv1データ受信部305及びSNMPv3データ受信部802が受信待ちをしているそれぞれのポートを、データの送信元として使用するように各データ送信部に設定する。更に、図4のS414及び図6のS603の探索データの送信処理は、以下の2つのデータを送信する。
1.SNMPv1データ送信部304を用いた、プリンタMIBのルートOID(mib−2.43)のGetNextのSNMPv1の要求データ
2.SNMPv3データ送信部801を用いた、SNMPエージェントのエンジン情報を取得するためのSNMPv3の要求データ
In the present embodiment, the SNMPv1 data receiving unit 305 and the SNMPv3 data receiving unit 802 are created in the process of S402 in FIG. They wait to receive data on another port. In step S403, an SNMPv1 data transmission unit 304 and an SNMPv3 data transmission unit 801 are created. Here, the respective ports that are waiting for reception by the SNMPv1 data receiving unit 305 and the SNMPv3 data receiving unit 802 are set in each data transmitting unit so as to be used as a data transmission source. Further, the search data transmission processing in S414 of FIG. 4 and S603 of FIG. 6 transmits the following two data.
1. 1. Request data of SNMPv1 of GetNext of root OID (mib-2.43) of printer MIB using SNMPv1 data transmission unit 304. SNMPv3 request data for obtaining engine information of an SNMP agent using the SNMPv3 data transmission unit 801

[処理フロー]
図9は、SNMPv3データ受信部802がネットワーク102を介してデータを受信した際の受信処理の流れを示すフローチャートである。以下に示す処理フローは、ホストコンピュータ101のCPU201が、RAM202等に格納されたプログラムを読み出して実行されることにより、実現される。また、受信処理では受信したデータとデータの送信元のアドレスが取得可能であるとする。
[Processing flow]
FIG. 9 is a flowchart showing a flow of reception processing when the SNMPv3 data receiving unit 802 receives data via the network 102. The processing flow shown below is realized by the CPU 201 of the host computer 101 reading and executing a program stored in the RAM 202 or the like. In the reception process, it is assumed that the received data and the address of the data transmission source can be acquired.

S901にて、SNMPv3データ受信部802は、受信データを取得する。   In step S901, the SNMPv3 data receiving unit 802 acquires received data.

S902にて、SNMPv3データ受信部802は、受信したデータがSNMPの応答データであるか否かを判定する。受信したデータがSNMPの応答でない場合(S902にてNO)、本処理フローを終了する。受信したデータがSNMPの応答である場合(S902にてYES)、S903に遷移する。   In step S902, the SNMPv3 data receiving unit 802 determines whether the received data is SNMP response data. If the received data is not an SNMP response (NO in S902), the process flow ends. If the received data is an SNMP response (YES in S902), the process proceeds to S903.

S903にて、SNMPv3データ受信部802は、受信データの送信元のアドレスを取り出し、受信記録部306に登録する。   In step S <b> 903, the SNMPv3 data receiving unit 802 extracts the transmission source address of the received data and registers it in the reception recording unit 306.

S904にて、SNMPv3データ受信部802は、S901で取得した受信データからSNMPv3のエージェントのエンジン情報を取り出す。   In step S904, the SNMPv3 data reception unit 802 extracts SNMPv3 agent engine information from the reception data acquired in step S901.

S905にて、SNMPv3データ受信部802は、エンジン情報の取り出しに成功したか否かを判定する。エンジン情報の取り出しに失敗した場合(S905にてNO)、本処理フローを終了する。エンジン情報の取り出しに成功した場合(S905にてYES)、S906に遷移する。   In step S905, the SNMPv3 data receiving unit 802 determines whether the engine information has been successfully extracted. If the extraction of engine information has failed (NO in S905), the process flow ends. If the engine information has been successfully extracted (YES in S905), the process proceeds to S906.

S906にて、SNMPv3データ受信部802は、詳細情報取得部(不図示)に詳細情報の取得を依頼する。詳細情報取得部(不図示)は、SNMPv3データ受信部802からの依頼に基づいて、受信データを送信した画像形成装置から詳細情報を取得する。ここでの詳細情報とは、画像形成装置の状態情報や動作情報などが含まれるものとするが、特に限定するものではない。そして、本処理フローを終了する。   In S906, the SNMPv3 data receiving unit 802 requests a detailed information acquisition unit (not shown) to acquire detailed information. A detailed information acquisition unit (not shown) acquires detailed information from the image forming apparatus that transmitted the reception data based on a request from the SNMPv3 data reception unit 802. The detailed information here includes state information and operation information of the image forming apparatus, but is not particularly limited. Then, this processing flow ends.

以上、本実施形態では、第1の実施形態の効果に加え、SNMPの複数のバージョンに対応して探索処理を行うことが可能となる。   As described above, in the present embodiment, in addition to the effects of the first embodiment, it is possible to perform search processing corresponding to a plurality of versions of SNMP.

<第3の実施形態>
本発明の第3の実施形態について説明する。本実施形態は、ネットワークに接続された画像形成装置を管理するアプリケーションが、管理対象の複数の画像形成装置の状態を、SNMPを用いて収集する。
<Third Embodiment>
A third embodiment of the present invention will be described. In this embodiment, an application that manages image forming apparatuses connected to a network collects the statuses of a plurality of image forming apparatuses to be managed using SNMP.

画像形成装置の中には、省電力モードに遷移する際や省電力モードから回復する際、電源オフの前、通常動作モードにある場合は定期的に、その旨をネットワークに通知するものがある。これにより、管理アプリケーションは管理対象の画像形成装置の電源状態を管理することが可能である。ただし、全ての管理対象の画像形成装置がこの機能を有するわけではなく、また、通知を確実に受信できるとは限らない。また、画像形成装置の中には、SNMPデータの受信により省電力モードから通常動作モードに遷移するが、その際に受信したSNMPデータに対しては応答を返さないものがある。   Some image forming apparatuses notify the network when switching to the power saving mode or when recovering from the power saving mode, before turning off the power, or periodically in the normal operation mode. . Thereby, the management application can manage the power supply state of the image forming apparatus to be managed. However, not all image forming apparatuses to be managed have this function, and the notifications cannot be surely received. Some image forming apparatuses transition from the power saving mode to the normal operation mode by receiving SNMP data, but do not return a response to the received SNMP data.

このような場合に対応するため、管理アプリケーションの状態収集処理は以下の動作を行う。
1.管理対象の画像形成装置の電源状態を調べ、電源オフ或いは省電力モードにある場合は、状態取得のためのデータを送信しない。
2.電源状態が電源オフ及び省電力モードでない場合(即ち、通常動作モード或いは状態不明)、画像形成装置がSNMP要求に対する応答を返信するか確認するために、SNMP要求を送信する。
3.2のSNMP要求に対して応答を返した画像形成装置に対しては、状態取得処理を実行する。
4.2のSNMP応答に対して応答を返さない画像形成装置に対しては、2の処理を時間Tの間隔でN回繰り返す。
In order to cope with such a case, the status collection process of the management application performs the following operations.
1. The power status of the image forming apparatus to be managed is checked, and if the power is off or in the power saving mode, data for acquiring the status is not transmitted.
2. When the power state is not the power-off mode or the power saving mode (that is, the normal operation mode or the state is unknown), the SNMP request is transmitted in order to confirm whether the image forming apparatus returns a response to the SNMP request.
For the image forming apparatus that has returned a response to the SNMP request of 3.2, a state acquisition process is executed.
For an image forming apparatus that does not return a response to the SNMP response of 4.2, the process of 2 is repeated N times at time T intervals.

全体の構成は第2の実施形態にて示した図8と同様である。また、基本的な動作も第1、第2の実施形態の各構成要素の動作と同様であるため、第1、第2の実施形態と異なる部分のみを以下にて説明する。   The overall configuration is the same as that of FIG. 8 shown in the second embodiment. Further, since the basic operation is the same as the operation of each component of the first and second embodiments, only the parts different from the first and second embodiments will be described below.

前述の実施形態では各宛先を識別する情報としてアドレスを用いた。一方、本実施形態では、各画像形成装置に割り当てられた画像形成装置を一意に識別するための情報(以下、画像形成装置IDと記す)を用いる。本実施形態において、ホストコンピュータ101が各画像形成装置を管理対象とした管理アプリケーションを備えているものとする。管理アプリケーションは、管理対象の画像形成装置の一覧を保持しており、画像形成装置IDを用いて、一覧から目的の画像形成装置に関する各種情報を取得可能であるとする。ここで各種情報は、画像形成装置のアドレス、SNMPv1のコミュニティ名、SNMPv3の認証情報を含む。これに伴い、前述の実施形態にて述べた受信記録部306に格納される情報はアドレスではなく画像形成装置IDとなり、図6のS601、図7のS703、図9のS903の各工程において、アドレスではなく画像形成装置IDが用いられる。   In the above-described embodiment, an address is used as information for identifying each destination. On the other hand, in this embodiment, information (hereinafter referred to as an image forming apparatus ID) for uniquely identifying the image forming apparatus assigned to each image forming apparatus is used. In this embodiment, it is assumed that the host computer 101 includes a management application that manages each image forming apparatus. It is assumed that the management application holds a list of image forming apparatuses to be managed, and can acquire various types of information regarding the target image forming apparatus from the list using the image forming apparatus ID. Here, the various information includes an address of the image forming apparatus, a community name of SNMPv1, and authentication information of SNMPv3. Accordingly, the information stored in the reception recording unit 306 described in the above embodiment is not an address but an image forming apparatus ID, and in each step of S601 in FIG. 6, S703 in FIG. 7, and S903 in FIG. An image forming apparatus ID is used instead of an address.

[処理フロー]
図10は、第1、第2の実施形態にて述べた図4Bの処理の部分に対応する、送信開始部301が各画像形成装置に最初のデータを送信する送信処理のフローチャートである。
[Processing flow]
FIG. 10 is a flowchart of a transmission process in which the transmission start unit 301 transmits initial data to each image forming apparatus, corresponding to the processing part of FIG. 4B described in the first and second embodiments.

S1001にて、送信開始部301は、変数iに値Mを設定する。ここで、Mは、S405で作成したタイマーによる処理の呼び出し間隔(時間間隔t1)に送信する探索データの数である。   In S1001, transmission start section 301 sets value M to variable i. Here, M is the number of search data to be transmitted at the processing call interval (time interval t1) by the timer created in S405.

S1002にて、送信開始部301は、管理対象の画像形成装置群から画像形成装置を1つ取り出す。   In step S1002, the transmission start unit 301 extracts one image forming apparatus from the management target image forming apparatus group.

S1003にて、送信開始部301は、画像形成装置の取得に成功したか否かを判定する。画像形成装置の取得に失敗した場合(S1003にてNO)、即ち全ての管理対象の画像形成装置に対する処理がなされた場合、S1004に遷移する。画像形成装置の取得に成功した場合(S1003にてYES)、S1005に遷移する。   In step S1003, the transmission start unit 301 determines whether acquisition of the image forming apparatus is successful. If acquisition of the image forming apparatus has failed (NO in step S1003), that is, if processing has been performed on all the image forming apparatuses to be managed, the process proceeds to step S1004. If acquisition of the image forming apparatus has succeeded (YES in S1003), the process proceeds to S1005.

S1004にて、送信開始部301は、タイマーを停止する。そして、本処理フローを終了する。   In S1004, transmission start section 301 stops the timer. Then, this processing flow ends.

S1005にて、送信開始部301は、取得した画像形成装置の電源状態を電源状態管理部(不図示)に確認する。電源状態管理部(不図示)は、画像形成装置からの電源状態の通知を受信し、画像形成装置の電源状態(オフ/省電力モード/通常動作モード/不明)を保持して、要求に応じて指定された画像形成装置の電源状態を返すものである。なお、電源状態は、上記に示すものに限定するものではなく、他の状態があってもよい。確認の結果、取得した画像形成装置の電源状態がオフあるいは省電力モードである場合(S1005にてYES)S1002に遷移し、次の管理対象の画像形成装置に対して同様の処理を実行する。取得した画像形成装置の電源状態が上記以外の場合(S1005にてNO)S1008に遷移する。   In step S1005, the transmission start unit 301 confirms the acquired power state of the image forming apparatus with a power state management unit (not shown). A power state management unit (not shown) receives a power state notification from the image forming apparatus, holds the power state (off / power saving mode / normal operation mode / unknown) of the image forming apparatus, and responds to a request. Returns the power state of the designated image forming apparatus. Note that the power supply state is not limited to the one shown above, and there may be other states. As a result of the confirmation, if the acquired power state of the image forming apparatus is off or in the power saving mode (YES in S1005), the process proceeds to S1002, and the same process is executed for the next image forming apparatus to be managed. If the acquired power state of the image forming apparatus is other than the above (NO in S1005), the process proceeds to S1008.

S1008にて、送信開始部301は、取得した画像形成装置に確認用のデータの送信を行う。確認用のデータ送信処理として、以下の動作を行う。
1.取得した画像形成装置に対しSNMPv3の認証情報が設定されている場合、SNMPv3データ送信部801を用いてエンジン情報を取得するSNMPv3のデータを送信する。
2.取得した画像形成装置に対しSNMPv1のコミュニティ名が設定されている場合、SNMPv1データ送信部304を用いてSNMPv1のSysObjectIDのGet要求を送信する。
In step S <b> 1008, the transmission start unit 301 transmits confirmation data to the acquired image forming apparatus. The following operations are performed as data transmission processing for confirmation.
1. When SNMPv3 authentication information is set for the acquired image forming apparatus, the SNMPv3 data transmitting unit 801 is used to transmit SNMPv3 data for acquiring engine information.
2. When the SNMPv1 community name is set for the acquired image forming apparatus, the SNMPv1 data transmission unit 304 is used to transmit the SNMPv1 SysObjectID Get request.

S1007にて、送信開始部301は、取得した画像形成装置を一意に識別する情報とリトライ回数(N)とを含む送信情報を作成し、S404で作成した遅延呼出制御部302に入力する。   In step S1007, the transmission start unit 301 creates transmission information including information that uniquely identifies the acquired image forming apparatus and the number of retries (N), and inputs the transmission information to the delayed call control unit 302 created in step S404.

S1008にて、送信開始部301は、変数iの値を1減ずる。   In S1008, transmission start section 301 decrements the value of variable i by one.

S1009にて、送信開始部301は、変数iが0か否かを判定する。変数iが0でない場合(S1009にてNO)、S1002に遷移し、次の管理対象の画像形成装置に対して同様の処理を実行する。変数iが0の場合(S1009にてYES)本処理フローを終了する。以上の処理により、時間間隔t1毎にM個の画像形成装置に対して確認データを送信する。   In S1009, transmission start section 301 determines whether variable i is 0 or not. If the variable i is not 0 (NO in S1009), the process proceeds to S1002, and the same processing is executed for the next management target image forming apparatus. If variable i is 0 (YES in S1009), the process flow ends. Through the above processing, confirmation data is transmitted to the M image forming apparatuses every time interval t1.

本実施形態において、SNMPv1データ送信部304が送信するデータがSysObjectIDのGet要求であるため、図7のS705のOIDの確認はSysObjcectIDの値となる。また、図7のS706及び図9のS906の呼び出しは、画像形成装置の状態取得処理の呼び出しとなる。   In this embodiment, since the data transmitted by the SNMPv1 data transmission unit 304 is a Get request for SysObjectID, the confirmation of the OID in S705 of FIG. 7 becomes the value of SysObjectID. Also, the call of S706 in FIG. 7 and S906 in FIG. 9 is a call for the status acquisition process of the image forming apparatus.

以上、本実施形態により、画像形成装置の状態に応じて、データの送信を制御することができ、無駄なデータの送信/再送信を抑制することができる。   As described above, according to the present exemplary embodiment, data transmission can be controlled according to the state of the image forming apparatus, and useless data transmission / retransmission can be suppressed.

<その他の実施形態>
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピューターにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
<Other embodiments>
The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in a computer of the system or apparatus read and execute the program This process can be realized. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

101…情報処理装置、102…ネットワーク、103〜105…画像形成装置、301…送信開始部、302…遅延呼出制御部、303…遅延処理実行部、304…データ送信部、305…データ受信部、306…受信記録部 DESCRIPTION OF SYMBOLS 101 ... Information processing apparatus, 102 ... Network, 103-105 ... Image forming apparatus, 301 ... Transmission start part, 302 ... Delayed call control part, 303 ... Delay processing execution part, 304 ... Data transmission part, 305 ... Data reception part, 306 ... Reception recording unit

Claims (10)

ネットワークを介して接続された装置と通信を行う通信装置であって、
指定された宛先に対してデータを送信する送信手段と、
前記送信手段による送信に対する応答を受信する受信手段と、
前記送信手段による送信が行われた際に当該送信に関する情報を記録し、更に当該送信に対する応答を前記受信手段により受信した際に当該応答の送信元の情報を対応づけて記録する記録手段と、
前記記録手段にて記録した情報に基づいて、前記送信手段にデータの再送を行わせる制御手段と
を備え、
前記制御手段は、前記記録手段に記録されている情報のうち、記録されてから所定の時間が経過し、かつ、前記受信手段にて応答を受信していない情報が示す宛先に対し、前記送信手段によるデータの再送を行わせることを特徴とする通信装置。
A communication device that communicates with a device connected via a network,
A transmission means for transmitting data to a specified destination;
Receiving means for receiving a response to transmission by the transmitting means;
Recording means for recording information related to the transmission when transmission by the transmission means is performed, and further recording information associated with the transmission source of the response when receiving a response to the transmission by the receiving means;
Control means for causing the transmission means to retransmit data based on the information recorded by the recording means,
The control means sends the transmission to the destination indicated by the information that is recorded in the recording means and for which a predetermined time has passed since the recording and for which no response has been received by the receiving means. A communication apparatus characterized by causing data to be retransmitted by means.
前記記録手段は、前記送信に関する情報として、再送を行う回数を管理し、
前記制御手段は、前記管理している回数を超えない範囲で、前記送信手段に再送を行わせることを特徴とする請求項1に記載の通信装置。
The recording means manages the number of retransmissions as information relating to the transmission,
The communication apparatus according to claim 1, wherein the control unit causes the transmission unit to perform retransmission within a range not exceeding the managed number of times.
前記送信手段は、第1の時間間隔ごとに、指定された宛先に対してデータの送信処理を開始することを特徴とする請求項1または2に記載の通信装置。   3. The communication apparatus according to claim 1, wherein the transmission unit starts data transmission processing to a designated destination at each first time interval. 前記送信手段は、前記第1の時間間隔において、所定の数の宛先に対して、データの送信を行うことを特徴とする請求項3に記載の通信装置。   The communication apparatus according to claim 3, wherein the transmission unit transmits data to a predetermined number of destinations in the first time interval. 前記制御手段は、第2の時間間隔ごとに、前記送信手段にデータの再送を行わせるか否かを判定することを特徴とする請求項1乃至4のいずれか一項に記載の通信装置。   5. The communication apparatus according to claim 1, wherein the control unit determines whether to cause the transmission unit to retransmit data at each second time interval. 前記受信手段により応答を受信した場合に当該応答の送信元に対し、前記送信手段によるデータの送信にて要求した情報よりも詳細な情報を要求する手段を更に有することを特徴とする請求項1乃至5のいずれか一項に記載の通信装置。   2. The information processing apparatus according to claim 1, further comprising means for requesting more detailed information than the information requested in the transmission of data by the transmitting means when the response is received by the receiving means. The communication apparatus as described in any one of thru | or 5. 複数の前記送信手段と、複数の前記受信手段が設けられ、
前記複数の送信手段と前記複数の受信手段はそれぞれ異なるプロトコルもしくはバージョンに対応していることを特徴とする請求項1乃至6のいずれか一項に記載の通信装置。
A plurality of transmitting means and a plurality of receiving means are provided;
The communication apparatus according to claim 1, wherein the plurality of transmission units and the plurality of reception units correspond to different protocols or versions, respectively.
前記ネットワークを介して接続された装置の状態情報を管理する手段を更に有し、
前記制御手段は、前記ネットワークを介して接続された装置のうち、所定の状態にある装置に対しては、前記送信手段にデータを送信させないことを特徴とする請求項1乃至7のいずれか一項に記載の通信装置。
Means for managing status information of devices connected via the network;
8. The control unit according to claim 1, wherein the control unit does not cause the transmission unit to transmit data to a device in a predetermined state among devices connected via the network. The communication device according to item.
ネットワークを介して装置と接続された通信装置における通信方法であって、
指定された宛先に対してデータを送信する送信工程と、
前記送信工程による送信に対する応答を受信する受信工程と、
前記送信工程による送信が行われた際に当該送信に関する情報を記録し、更に当該送信に対する応答を前記受信工程にて受信した際に当該応答の送信元の情報を対応づけて記録部に記録する記録工程と、
前記記録部に記録されている情報に基づいて、前記送信工程によりデータの再送を行わせる制御工程と
を有し、
前記制御工程において、前記記録部に記録されている情報のうち、記録されてから所定の時間が経過し、かつ、前記受信工程にて応答を受信していない情報が示す宛先に対し、前記送信工程によるデータの再送を行わせることを特徴とする通信方法。
A communication method in a communication device connected to a device via a network,
A transmission step of transmitting data to a specified destination;
A receiving step for receiving a response to the transmission by the transmitting step;
When transmission by the transmission step is performed, information related to the transmission is recorded, and when a response to the transmission is received in the reception step, information on the transmission source of the response is associated and recorded in the recording unit. Recording process;
Based on the information recorded in the recording unit, and a control step for retransmitting data by the transmission step,
In the control step, among the information recorded in the recording unit, the transmission is made to a destination indicated by information that has passed a predetermined time since being recorded and has not received a response in the reception step. A communication method characterized by causing data to be retransmitted in a process.
コンピューターを、
指定された宛先に対してデータを送信する送信手段、
前記送信手段にて送信したデータに対する応答を受信する受信手段、
前記送信手段による送信が行われた際に当該送信に関する情報を記録し、更に当該送信に対する応答を前記受信手段により受信した際に当該応答の送信元の情報を対応づけて記録する記録手段、
前記記録手段にて記録した情報に基づいて、前記送信手段にデータの再送を行わせる制御手段
として機能させ、
前記制御手段は、前記記録手段に記録されている情報のうち、記録されてから所定の時間が経過し、かつ、前記受信手段にて応答を受信していない情報が示す宛先に対し、前記送信手段によるデータの再送を行わせることを特徴とするプログラム。
Computer
A transmission means for transmitting data to a specified destination;
Receiving means for receiving a response to the data transmitted by the transmitting means;
Recording means for recording information related to the transmission when transmission by the transmission means is performed, and further recording information associated with the transmission source of the response when receiving a response to the transmission by the receiving means;
Based on the information recorded by the recording means, function as a control means for causing the transmission means to retransmit data,
The control means sends the transmission to the destination indicated by the information that is recorded in the recording means and for which a predetermined time has passed since the recording and for which no response has been received by the receiving means. A program that causes data to be retransmitted by means.
JP2017014514A 2017-01-30 2017-01-30 Communication equipment, communication methods, and programs Active JP7022508B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2017014514A JP7022508B2 (en) 2017-01-30 2017-01-30 Communication equipment, communication methods, and programs
US15/860,215 US10652424B2 (en) 2017-01-30 2018-01-02 Communication apparatus, communication method, and nontransitory computer readable storage medium that resends data when no response is received and records the result

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017014514A JP7022508B2 (en) 2017-01-30 2017-01-30 Communication equipment, communication methods, and programs

Publications (3)

Publication Number Publication Date
JP2018125611A true JP2018125611A (en) 2018-08-09
JP2018125611A5 JP2018125611A5 (en) 2020-02-27
JP7022508B2 JP7022508B2 (en) 2022-02-18

Family

ID=62980958

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017014514A Active JP7022508B2 (en) 2017-01-30 2017-01-30 Communication equipment, communication methods, and programs

Country Status (2)

Country Link
US (1) US10652424B2 (en)
JP (1) JP7022508B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63294148A (en) * 1987-05-27 1988-11-30 Matsushita Seiko Co Ltd Transmission controller
JP2006203575A (en) * 2005-01-20 2006-08-03 Fractalist Inc Communicating method
JP2009212796A (en) * 2008-03-04 2009-09-17 Nec Corp Transmitter, data transfer system, data transfer method, and data transfer program
JP2010268164A (en) * 2009-05-13 2010-11-25 Canon Inc Network communication apparatus, and method and program
JP4851585B2 (en) * 2007-02-28 2012-01-11 富士通株式会社 COMMUNICATION METHOD FOR SYSTEM COMPRISING CLIENT DEVICE AND MULTIPLE SERVER DEVICE, ITS COMMUNICATION PROGRAM, CLIENT DEVICE, AND SERVER DEVICE

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63294148A (en) * 1987-05-27 1988-11-30 Matsushita Seiko Co Ltd Transmission controller
JP2006203575A (en) * 2005-01-20 2006-08-03 Fractalist Inc Communicating method
JP4851585B2 (en) * 2007-02-28 2012-01-11 富士通株式会社 COMMUNICATION METHOD FOR SYSTEM COMPRISING CLIENT DEVICE AND MULTIPLE SERVER DEVICE, ITS COMMUNICATION PROGRAM, CLIENT DEVICE, AND SERVER DEVICE
JP2009212796A (en) * 2008-03-04 2009-09-17 Nec Corp Transmitter, data transfer system, data transfer method, and data transfer program
JP2010268164A (en) * 2009-05-13 2010-11-25 Canon Inc Network communication apparatus, and method and program

Also Published As

Publication number Publication date
US10652424B2 (en) 2020-05-12
US20180220033A1 (en) 2018-08-02
JP7022508B2 (en) 2022-02-18

Similar Documents

Publication Publication Date Title
JP4956314B2 (en) Event notification device, event notification method, and event notification program
US9582233B1 (en) Systems and methods for registering, configuring, and troubleshooting printing devices
TW200929949A (en) Relay server and relay communication system
JP5751770B2 (en) Facsimile server, facsimile server control method, facsimile system, communication control method in facsimile system, and program
JP5929946B2 (en) Image forming system, relay server, communication control method, and program
JP6380453B2 (en) Image forming system, relay server, communication control method, and program
US9250841B2 (en) Print server, control method of print server, and storage medium
JP7022508B2 (en) Communication equipment, communication methods, and programs
US20110235641A1 (en) Communication apparatus, method of controlling the communication apparatus,and program
JP6853689B2 (en) Monitoring equipment, methods and programs
WO2011080967A1 (en) Communication method, system, and program
JP5685971B2 (en) Program update management server and program update management method
EP2220814B1 (en) Method for managing network components in a network, as well as a network component
JP5383415B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE COMMUNICATION METHOD, AND PROGRAM
JP2016152461A (en) Cloud system, router, management server, and program
JP4882669B2 (en) Network system, transmission side information terminal, and reception side information terminal
JP2017068415A (en) System and method for controlling the same
JP6191271B2 (en) COMMUNICATION SYSTEM, COMMUNICATION SETTING METHOD, AND PROGRAM
JP2012098890A (en) Image processing apparatus and control program for image processing apparatus
JP2024043812A (en) Device Management System
JP6249114B2 (en) Image forming system and program
JP6669382B2 (en) Device device, information processing method and program
JP2019101976A (en) Communication apparatus, notification apparatus, relay apparatus, communication system, control method of each apparatus and program
JP6079845B2 (en) System and processing terminal
JP2019164622A (en) Management apparatus, method of controlling management apparatus, and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200116

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200116

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20201015

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20201109

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201225

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20210103

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210113

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210604

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210728

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220207

R151 Written notification of patent or utility model registration

Ref document number: 7022508

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151