Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4443482B2 - Internet printing system and program for realizing the same - Google Patents
[go: Go Back, main page]

JP4443482B2 - Internet printing system and program for realizing the same - Google Patents

Internet printing system and program for realizing the same Download PDF

Info

Publication number
JP4443482B2
JP4443482B2 JP2005231725A JP2005231725A JP4443482B2 JP 4443482 B2 JP4443482 B2 JP 4443482B2 JP 2005231725 A JP2005231725 A JP 2005231725A JP 2005231725 A JP2005231725 A JP 2005231725A JP 4443482 B2 JP4443482 B2 JP 4443482B2
Authority
JP
Japan
Prior art keywords
terminal device
hosting server
address
port number
printing
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.)
Expired - Fee Related
Application number
JP2005231725A
Other languages
Japanese (ja)
Other versions
JP2007048031A (en
Inventor
利男 阿部
Original Assignee
ファバ株式会社
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 ファバ株式会社 filed Critical ファバ株式会社
Priority to JP2005231725A priority Critical patent/JP4443482B2/en
Publication of JP2007048031A publication Critical patent/JP2007048031A/en
Application granted granted Critical
Publication of JP4443482B2 publication Critical patent/JP4443482B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Description

本発明は、ホスティングサーバからローカルエリアネットワーク内でプライベートIPアドレスを割り当てられたパーソナルコンピュータ等の端末に接続された印刷装置に対してプッシュ印刷を行うインターネット印刷システム及びそれを実現するためのプログラムに関する。   The present invention relates to an Internet printing system that performs push printing on a printing apparatus connected to a terminal such as a personal computer assigned a private IP address in a local area network from a hosting server, and a program for realizing the Internet printing system.

所望のWebサーバー上のページを定期購読するために、定期購読を希望するWebページのURLとアクセス日時とをユーザーが登録しておき、この登録に基づいて、印刷装置にWebサーバーへアクセスさせて、所望のページを取得させ印刷媒体へ印刷させるよう構成されたネットワーク印刷システムが知られている。例えば、特許文献1(特開平11−138954号公報)には、ネットワーク上のハイパーテキストデータをアクセスして印刷する印刷装置であって、アクセス対象のハイパーテキストデータのネットワーク上のアドレス情報と、アクセス頻度情報とを登録する登録手段と、前記登録手段により登録されたアクセス頻度情報に従って登録に係るアドレス情報で示される位置に存在するハイパーテキストデータを定期的にアクセスするアクセス手段と、前記アクセス手段によりアクセスされたハイパーテキストデータを印刷させる印刷制御手段と、を備えたことを特徴とする印刷装置が記載されている。
特開平11−138954号公報
In order to subscribe to a page on a desired Web server, the user registers the URL and access date and time of the Web page that the user wants to subscribe to, and based on this registration, allows the printing apparatus to access the Web server. A network printing system configured to acquire a desired page and print it on a print medium is known. For example, Patent Document 1 (Japanese Patent Application Laid-Open No. 11-138954) discloses a printing apparatus that accesses and prints hypertext data on a network, and includes address information on the network of hypertext data to be accessed and access. Registration means for registering frequency information, access means for periodically accessing hypertext data existing at a position indicated by address information related to registration according to the access frequency information registered by the registration means, and the access means There is described a printing apparatus comprising: a printing control unit that prints accessed hypertext data.
Japanese Patent Application Laid-Open No. 11-138954

所望の情報を保持するWebサーバーと印刷装置とがTCP/IPにより通信する場合、印刷装置と通信するための情報であるIPアドレスは一般的には固定されているとは限らず、ISPのサーバーの運用などによりIPアドレスは動的に変化する場合がある。このようにIPアドレスが動的に変化する場合、特許文献1の技術では、Webサーバーが印刷装置と通信を行っている際に、もし印刷装置のIPアドレスが動的に変化すると、Webサーバーは印刷装置のことを認識することできなくなり、印刷が途中で中断してしまう、という問題があった。このような問題があるので、特許文献1記載の技術では、印刷装置がWebサーバーに一方的にアクセスして、Webサーバーから情報を取得するという、あくまで「プル型」のインターネット印刷技術に過ぎない。これに対して、Webサーバー側が主体的に印刷装置に対して情報を送信して印刷させる形態の「プッシュ型」のインターネット印刷技術の実現が望まれている。
When a Web server that holds desired information and a printing apparatus communicate with each other by TCP / IP, the IP address, which is information for communicating with the printing apparatus, is not always fixed. The IP address may change dynamically depending on the operation of the network. When the IP address changes dynamically as described above, in the technology of Patent Document 1, if the IP address of the printing apparatus changes dynamically while the Web server is communicating with the printing apparatus, the Web server There is a problem that the printing apparatus cannot be recognized and printing is interrupted. Because of such problems, the technique described in Patent Document 1 is merely a “pull-type” Internet printing technique in which a printing apparatus unilaterally accesses a Web server and acquires information from the Web server. . On the other hand, it is desired to realize a “push-type” Internet printing technique in which the Web server side mainly transmits information to a printing apparatus to be printed.

上記課題を解決するために、請求項1に係る本発明は、インターネットに接続されたホスティングサーバと、インターネットに接続されたローカルエリアネットワーク内でプライベートIPアドレスが割り当てられた端末装置と、該端末装置に接続された印刷装置とからなり、該ホスティングサーバに蓄積された情報を該印刷装置で印刷するインターネット印刷システムにおいて、該ホスティングサーバは、該端末装置から送信された動的グローバルIPアドレス、ポート番号、及び該印刷装置のプリンタポート番号を記憶保持する端末装置情報記憶管理手段と、該端末装置情報記憶管理手段に記憶されている情報に基づいて、該ホスティングサーバに蓄積された情報を該端末装置に送信する情報送信手段と、を有することを特徴とする。   In order to solve the above problems, the present invention according to claim 1 is directed to a hosting server connected to the Internet, a terminal device assigned a private IP address in a local area network connected to the Internet, and the terminal device In the Internet printing system that prints information stored in the hosting server by the printing device, the hosting server includes a dynamic global IP address and a port number transmitted from the terminal device. And terminal device information storage management means for storing and holding the printer port number of the printing device, and information stored in the hosting server based on the information stored in the terminal device information storage management means And an information transmitting means for transmitting to.

また、請求項2に係る発明は、請求項1に記載のインターネット印刷システムにおいて、該端末装置は、該ホスティングサーバに対して、定期的に動的グローバルIPアドレス、ポート番号及び該印刷装置のプリンタポート番号を送信する端末装置情報定期送信手段を有することを特徴とする。   According to a second aspect of the present invention, in the Internet printing system according to the first aspect, the terminal device periodically sends a dynamic global IP address, a port number, and a printer of the printing device to the hosting server. It has terminal device information regular transmission means for transmitting a port number.

また、請求項3に係る発明は、請求項1又は請求項2に記載のインターネット印刷システムにおいて、該ホスティングサーバは、該ホスティングサーバに蓄積された情報を該端末装置に送信するためにパケットに分割するパケット分割手段を有し、該端末装置は、送信されたパケットを受信するパケット受信手段と、パケットの受信の中断を検出するパケット受信中断検出手段と、該パケット受信中断検出手段でパケット受信の中断を検出したとき、該ホスティングサーバに対して、動的グローバルIPアドレス、ポート番号及び該印刷装置のプリンタポート番号を送信する端末装置情報非定期送信手段と、を有することを特徴とする。   The invention according to claim 3 is the Internet printing system according to claim 1 or 2, wherein the hosting server divides the information stored in the hosting server into packets for transmission to the terminal device. The terminal apparatus comprises: a packet receiving means for receiving transmitted packets; a packet reception interruption detecting means for detecting interruption of packet reception; and a packet reception interruption detecting means for detecting packet reception. And terminal device information non-periodic transmission means for transmitting a dynamic global IP address, a port number, and a printer port number of the printing apparatus to the hosting server when interruption is detected.

また、請求項4に係る発明は、請求項1乃至請求項3のいずれかに記載のインターネット印刷システムを実現するためのプログラムである。
An invention according to claim 4 is a program for realizing the Internet printing system according to any one of claims 1 to 3.

本発明によれば、ホスティングサーバは、端末装置から送信された動的グローバルIPアドレス、ポート番号、及び該印刷装置のプリンタポート番号を記憶保持し、この記憶された情報に基づいて、ホスティングサーバに蓄積された情報を端末装置に送信するように構成されているので、ホスティングサーバから印刷装置に対して、プッシュ型で印刷することができる。特に、端末装置は、ホスティングサーバに対して、定期的に、或いは、必要が生じれば不定期的に、動的グローバルIPアドレス、ポート番号及び該印刷装置のプリンタポート番号を送信するよう構成されているので、ホスティングサーバ側から、端末装置及び印刷装置のことが認識できなくなるという事態を防止することができ、印刷が途中で中断してしまうという事態を回避することができる。
According to the present invention, the hosting server stores and holds the dynamic global IP address, the port number, and the printer port number of the printing apparatus transmitted from the terminal device. Based on the stored information, the hosting server Since the stored information is configured to be transmitted to the terminal device, the hosting server can print to the printing device in a push type. In particular, the terminal device is configured to transmit the dynamic global IP address, the port number, and the printer port number of the printing device to the hosting server periodically or irregularly if necessary. Therefore, it is possible to prevent a situation in which the terminal device and the printing device cannot be recognized from the hosting server side, and it is possible to avoid a situation in which printing is interrupted halfway.

以下、本発明の実施の形態を図面を参照しつつ説明する。図1は本発明に係るインターネット印刷システムであり、1はインターネットであり、2はホスティングサーバ、3は企業内或いは家庭内のローカルエリアネットワーク(LAN)であり、4−1〜4−3は当該LANに接続されているパーソナルコンピュータ等の端末装置であり、4−1−1〜4−3−2は端末装置4−1〜4−3に接続された印刷装置であり、5はLAN3内のモデム或いはルータである。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is an Internet printing system according to the present invention, 1 is the Internet, 2 is a hosting server, 3 is a local area network (LAN) in a company or home, and 4-1 to 4-3 are 4 is a terminal device such as a personal computer connected to the LAN, 4-1-1 to 4-3-2 are printing devices connected to the terminal devices 4-1 to 4-3, and 5 is a terminal in the LAN 3. It is a modem or a router.

本発明は、ホスティングサーバ2及び端末装置4−1〜4−3に、本発明に係るプログラムを所定の方法によりインストールすることにより実現することができる。   The present invention can be realized by installing the program according to the present invention in the hosting server 2 and the terminal devices 4-1 to 4-3 by a predetermined method.

端末装置4−1〜4−3には、LAN3内でプライベートIPアドレスが付与されているが、LAN3外との通信を行うためにはグローバルIPアドレスが必要となる。6はISP(Internet Service Provider)であり、このISP6が一般的に一つの動的グローバルIPアドレスを5のモデム・ルータに付与する。   The terminal devices 4-1 to 4-3 are assigned private IP addresses within the LAN 3, but a global IP address is required in order to communicate with outside the LAN 3. 6 is an ISP (Internet Service Provider), and this ISP 6 generally assigns one dynamic global IP address to 5 modem routers.

ISP6が動的グローバルIPアドレスを5のモデム・ルータに付与するには、一般的に、DHCP(Dynamic Host Configuration Protocol)で行われる。動的グローバルIPアドレスとLAN側のプライベートIPアドレスの変換には、NAT(Network Address Translator)或いはNAPT(Network Address Port Translation)と呼ばれる手法が用いられる。NAPTの手法はNATの手法を包含するものであるので、以下NAPTで代表して説明する。NAPTの実際の処理は以下のようになっている。
(1)LAN3内の端末装置4−1〜4−3から送られてきたIPパケットにあるプライベートIPアドレスの送信元IPとTCPヘッダーの送信元ポート番号を取り出す。
(2)NAPTで使うことのできるグローバルIPアドレスの中で、未使用のポート番号を確保し、そのポート番号を使用済みにする。
(3)「プライベートIPアドレスとそのポート番号」と「グローバルIPアドレスと確保したポート番号」の組を変換テーブルに登録する。
(4)変換テーブルに登録されている「プライベートIPアドレスとそのポート番号」を送信元とするパケットがLANからインターネットに送信されようとしたら、「グローバルIPアドレスと確保したポート番号」に変換する。
(5)変換テーブルに登録されている「グローバルIPアドレスと確保したポート番号」を宛先とするパケットがインターネットからLAN3に送られようとしたら、対応する「プライベートIPアドレスとそのポート番号」に変換する。
(6)アプリケーションが終了した段階で「ポート番号」を未使用にもどして、再利用可能にする。
In general, the ISP 6 assigns a dynamic global IP address to the modem router 5 by DHCP (Dynamic Host Configuration Protocol). A method called NAT (Network Address Translator) or NAPT (Network Address Port Translation) is used to convert the dynamic global IP address and the private IP address on the LAN side. Since the NAPT method includes the NAT method, the NAPT method will be described below as a representative. The actual processing of NAPT is as follows.
(1) The source IP of the private IP address and the source port number of the TCP header in the IP packet sent from the terminal devices 4-1 to 4-3 in the LAN 3 are extracted.
(2) An unused port number is secured in the global IP address that can be used for NAPT, and the port number is made used.
(3) A set of “private IP address and its port number” and “global IP address and reserved port number” is registered in the conversion table.
(4) If a packet whose source is “private IP address and its port number” registered in the conversion table is to be transmitted from the LAN to the Internet, the packet is converted to “global IP address and reserved port number”.
(5) When a packet destined for the “global IP address and reserved port number” registered in the conversion table is sent from the Internet to the LAN 3, the packet is converted into the corresponding “private IP address and its port number”. .
(6) When the application is completed, the “port number” is returned to the unused state so that it can be reused.

以上の通り、NAPTでは動的グローバルIPアドレスとポート番号のペアを、プライベートIPアドレスとポート番号のペアとを対応させるものである。   As described above, NAPT associates a dynamic global IP address and port number pair with a private IP address and port number pair.

ところで、このような動的グローバルIPアドレスは、流動的であり、いつ変わるか予想することができない。このような理由のために、ホスティングサーバ2が端末装置4−1〜4−3を認識できなくなってしまう。   By the way, such a dynamic global IP address is fluid and cannot be predicted when it will change. For this reason, the hosting server 2 cannot recognize the terminal devices 4-1 to 4-3.

本発明では、このように端末装置4−1〜4−3に割り当てられた動的グローバルIPアドレスが変わってしまっても、ホスティングサーバ2が端末装置4−1〜4−3を認識できるように構成し、端末装置4−1〜4−3に接続された印刷装置4−1−1〜4−3−2に対して、ホスティングサーバ2がプッシュプリントできるように構成するものである。   In the present invention, the hosting server 2 can recognize the terminal devices 4-1 to 4-3 even if the dynamic global IP address assigned to the terminal devices 4-1 to 4-3 changes in this way. The hosting server 2 is configured to perform push printing on the printing devices 4-1-1 to 4-3-2 connected to the terminal devices 4-1 to 4-3.

このために、本発明では、ホスティングサーバ2の方には普遍である固定グローバルIPアドレスが付与されていることを利用するものである。すなわち、端末装置4−1〜4−3側から、固定グローバルIPアドレスを持つホスティングサーバ2に通信し、端末装置4−1〜4−3の動的グローバルIPアドレス、ポート番号及び印刷装置4−1−1〜4−3−2のプリンタポート番号をホスティングサーバ2に通知し、ホスティングサーバ2側で端末装置4−1〜4−3の最新動的グローバルIPアドレス、ポート番号及び印刷装置4−1−1〜4−3−2のプリンタポート番号を記憶保持・管理するようにし、ホスティングサーバ2から端末装置4−1〜4−3を認識できるように構成するものである。   For this purpose, the present invention utilizes the fact that the hosting server 2 is given a universal fixed global IP address. That is, the terminal device 4-1 to 4-3 communicates with the hosting server 2 having a fixed global IP address, and the dynamic global IP address, the port number, and the printing device 4-4 of the terminal device 4-1 to 4-3. The host port 2 is notified of the printer port numbers 1-1 to 4-3-2, and the latest dynamic global IP address, port number, and printing device 4- The printer port numbers 1-1 to 4-3-2 are stored and held and managed so that the host devices 2 can recognize the terminal devices 4-1 to 4-3.

図2は、LAN3からインターネット1を介してホスティングサーバ2に向けて送信される際に用いられるデータ構造の一例を示す。図において、「送信先」に指定されている部分が、ホスティングサーバ2の「固定グローバルIPアドレス」とその「ポート番号」である。「送信情報」は、端末装置4−1〜4−3の「動的グローバルIPアドレス」、「ポート番号」、「プリンタポート番号」、「その他のデータ」から構成されている。   FIG. 2 shows an example of a data structure used when data is transmitted from the LAN 3 to the hosting server 2 via the Internet 1. In the figure, the part designated as “transmission destination” is the “fixed global IP address” of the hosting server 2 and its “port number”. The “transmission information” includes “dynamic global IP address”, “port number”, “printer port number”, and “other data” of the terminal devices 4-1 to 4-3.

このようなデータ構造により、端末装置4−1〜4−3から動的グローバルIPアドレスとNAT、NAPTで管理されるポート番号をホスティングサーバ2に通知する。このようにして、ホスティングサーバ2側では、本発明のプログラムで管理される、端末装置4−1〜4−3の「プライベートIPアドレス」と「プリンタのポート番号」を動的グローバルIPアドレスとポート番号で把握する。   With such a data structure, the terminal devices 4-1 to 4-3 notify the hosting server 2 of the dynamic global IP address and the port number managed by NAT and NAPT. In this way, on the hosting server 2 side, the “private IP address” and “port number of the printer” of the terminal devices 4-1 to 4-3 managed by the program of the present invention are set as the dynamic global IP address and port. Know by number.

図3は、ホスティングサーバ2から端末装置4−1〜4−3に送信する際に用いられるデータ構造の一例を示す。図において、「送信先」に指定されている部分が端末装置4−1〜4−3のプライベートIPアドレスとポート番号に対応する「動的グローバルIPアドレス」とその「ポート番号」である。「送信情報(印刷パケット)」は、「プリンタポート番号」、そして印刷装置4−1−1〜4−3−2で印刷されるに接続される「データ」から構成されている。   FIG. 3 shows an example of a data structure used when transmitting from the hosting server 2 to the terminal devices 4-1 to 4-3. In the figure, the portion designated as “transmission destination” is the “dynamic global IP address” and its “port number” corresponding to the private IP address and port number of the terminal devices 4-1 to 4-3. “Transmission information (print packet)” is composed of “printer port number” and “data” connected to the printing device 4-1-1 to 4-3-2.

このようなデータ構造により、本発明のプログラムがインストールされている端末装置4−1〜4−3は、ホスティングサーバ2から送信されたデータを印刷すべきプリンタが、印刷装置4−1−1〜4−3−2のうち、どのプリンタであるのかを把握し、管理することができる。   Due to such a data structure, the terminal devices 4-1 to 4-3 in which the program of the present invention is installed are configured so that the printer to print the data transmitted from the hosting server 2 is the printing device 4-1-1-1. It is possible to grasp and manage which printer among 4-3-2.

ホスティングサーバ2から端末装置4−1〜4−3に情報を送っていない瞬間(静的状態にある瞬間)に、前述したように動的グローバルIPアドレスが変わることがある。このようなときのために、本発明では、端末装置4−1〜4−3プログラムから、最新の動的グローバルIPアドレス、NAT、NAPTで管理されるポート番号およびプリンタのポート番号をホスティングサーバ2にインターバル時間で定期的に通知(ポーリング)するように構成されている。このようなポーリングの際に、端末装置4−1〜4−3からホスティングサーバ2へ送信されるデータ構造も図2に示されるものと同様のものが用いられる。なお、ポーリングはネットワーク負荷を及ぼさないような程度のインターバル時間を設定する。   As described above, the dynamic global IP address may change at the moment when information is not sent from the hosting server 2 to the terminal devices 4-1 to 4-3 (the moment when it is in a static state). For such a case, in the present invention, the host device 2 obtains the latest dynamic global IP address, the port number managed by NAT, NAPT, and the port number of the printer from the terminal device 4-1 to 4-3 program. It is configured to periodically notify (polling) at an interval time. At the time of such polling, the data structure transmitted from the terminal devices 4-1 to 4-3 to the hosting server 2 is the same as that shown in FIG. Note that the polling sets an interval time that does not affect the network load.

図4に示すように、印刷ジョブの印刷パケット(送信データパケット)の送信中に、ホスティングサーバ2と端末装置4−1〜4−3との間の通信に障害が発生した場合を考える。このような障害は、ホスティングサーバ2からジョブとして印刷パケットを送信している時(動的状態)に、ある印刷パケット送信中に、端末装置4−1〜4−3側の5のモデム・ルータの動的グローバルIPアドレスが変った場合である。このような場合、本発明では以下のように対応する。   As shown in FIG. 4, consider a case where a failure occurs in communication between the hosting server 2 and the terminal devices 4-1 to 4-3 during transmission of a print job print packet (transmission data packet). Such a failure is caused when a print packet is transmitted as a job from the hosting server 2 (dynamic state), while a certain print packet is being transmitted, the five modem routers on the terminal devices 4-1 to 4-3 side. This is when the dynamic global IP address changes. In such a case, the present invention responds as follows.

このような障害が発生すると、ホスティングサーバ2は印刷パケットを送信できなくなり、端末装置4−1〜4−3はジョブ単位の中でタイムアウトを検出することとなる。そうすると、本発明のプログラムをインストールされた端末装置4−1〜4−3は、変化後の動的グローバルIPアドレスの最新の動的グローバルIPアドレス、NAT、NAPTで管理されるポート番号およびプリンタのポート番号をホスティングサーバ2に通知する。そして、このようにすることで、ホスティングサーバ2から通信に再開を依頼し、続きの印刷ジョブのデータパケットの継続送信を行い、印刷を継続する。   When such a failure occurs, the hosting server 2 cannot transmit a print packet, and the terminal devices 4-1 to 4-3 detect a timeout within a job unit. Then, the terminal devices 4-1 to 4-3 installed with the program of the present invention have the latest dynamic global IP address of the changed dynamic global IP address, the port number managed by NAT, NAPT, and the printer. Inform the hosting server 2 of the port number. In this way, the hosting server 2 requests communication to be resumed, continuously transmits data packets of subsequent print jobs, and continues printing.

以上の仕組みをフローチャートで説明する。図5は、端末装置4−1〜4−3側で、ホスティングサーバ2とのセッションを維持するために行われる処理のフローチャートを示している。図において、S2で前述したポーリングのためのインターバルの時間を設定する。S3では、動的グローバルIPアドレス、ポート番号、プリンタポート番号、その他のデータをホスティングサーバ2へ送信する。S4で一定時間が経過したかどうかを判定し、経過していればS2へ戻り、再びポーリングのためのインターバルの時間を設定する。   The above mechanism will be described with reference to a flowchart. FIG. 5 shows a flowchart of processing performed to maintain a session with the hosting server 2 on the terminal devices 4-1 to 4-3. In the figure, the interval time for polling described in S2 is set. In S 3, the dynamic global IP address, port number, printer port number, and other data are transmitted to the hosting server 2. In S4, it is determined whether or not a predetermined time has elapsed. If it has elapsed, the process returns to S2, and the polling interval time is set again.

図6は、端末装置4−1〜4−3側で、ホスティングサーバ2とのセッションを、動的な状態で維持するために行われる処理のフローチャートを示している。S5で、印刷ジョブの受信が開始されると、S6では図3に示される印刷パケットを受信する。S7で、ホスティングサーバ2とのセッションがタイムアウトしていないかをチェックし、もしタイムアウトしていれば、S9で、動的グローバルIPアドレス、ポート番号、プリンタポート番号、その他のデータをホスティングサーバ2へ送信する。S7でタイムアウトしていなければ、S8で全ての印刷データの受信が完了したかをチェックし、完了していなければ、再びS6に戻る。完了していれば、S10へと移行し、印刷ジョブ受信処理を終了する。   FIG. 6 shows a flowchart of processing performed to maintain a session with the hosting server 2 in a dynamic state on the terminal devices 4-1 to 4-3. When reception of a print job is started in S5, a print packet shown in FIG. 3 is received in S6. In S7, it is checked whether the session with the hosting server 2 has timed out. If it has timed out, in S9, the dynamic global IP address, port number, printer port number, and other data are sent to the hosting server 2. Send. If not timed out in S7, it is checked in S8 whether reception of all print data is completed. If not completed, the process returns to S6 again. If completed, the process proceeds to S10, and the print job reception process is terminated.

図7は、ホスティングサーバ2側で、端末装置4−1〜4−3とのセッションを維持するために行われる処理のフローチャートを示している。図に示されるとおり、ホスティングサーバ2側でのセッション保持動作は、端末装置4−1〜4−3からの動的グローバルIPアドレス、ポート番号、プリンタポート番号、その他のデータを受信しこれを保持管理しておくことにある。   FIG. 7 shows a flowchart of processing performed to maintain a session with the terminal devices 4-1 to 4-3 on the hosting server 2 side. As shown in the figure, the session holding operation on the hosting server 2 side receives and holds the dynamic global IP address, port number, printer port number, and other data from the terminal devices 4-1 to 4-3. There is to manage.

図8は、ホスティングサーバ2側で、端末装置4−1〜4−3とのセッションを、動的な状態で維持するために行われる処理のフローチャートを示している。S14で、印刷ジョブの送信が開始されると、図3で示される印刷パケットを送信する(S15)。S16で、端末装置4−1〜4−3とのセッションがタイムアウトしていないか、すなわち、動的グローバルIPアドレスの変化によりタイムアウトしてパケットの送信が不可能になっていないかをチェックする。送信が不可能であれば、端末装置4−1〜4−3から再び、端末装置の、更新された最新の動的グローバルIPアドレス、ポート番号が送信されてくるまで、S16で待機する。一方、S16で送信が可能であれば、次のパケットを送信する。S17では、最終的に全ての印刷パケットが送信できたかどうかをチェックし、完了していればS18で処理を終了する。   FIG. 8 shows a flowchart of processing performed on the hosting server 2 side to maintain a session with the terminal devices 4-1 to 4-3 in a dynamic state. When the transmission of the print job is started in S14, the print packet shown in FIG. 3 is transmitted (S15). In S16, it is checked whether the session with the terminal devices 4-1 to 4-3 has timed out, that is, whether it has timed out due to a change in the dynamic global IP address and packet transmission is not possible. If transmission is impossible, the terminal device 4-1 to 4-3 stands by in S16 until the updated latest dynamic global IP address and port number of the terminal device are transmitted again. On the other hand, if transmission is possible in S16, the next packet is transmitted. In S17, it is checked whether or not all print packets have been finally transmitted. If completed, the process ends in S18.

本発明では、ホスティングサーバ2及び端末装置4−1〜4−3に、本発明のプログラムをインストールして、以上のような処理を行い得るようにしたものである。そして、そのようなプログラムをインストールしたシステムも、本発明の範囲に含まれる。
In the present invention, the program of the present invention is installed in the hosting server 2 and the terminal devices 4-1 to 4-3 so that the above processing can be performed. A system in which such a program is installed is also included in the scope of the present invention.

本発明に係るインターネット印刷システムのシステム構成図である。1 is a system configuration diagram of an Internet printing system according to the present invention. ホスティングサーバに向けて発信されるデータのデータ構造を示す図である。It is a figure which shows the data structure of the data transmitted toward a hosting server. ホスティングサーバから端末装置に送信するデータのデータ構造を示す図である。It is a figure which shows the data structure of the data transmitted to a terminal device from a hosting server. 印刷ジョブの印刷パケットの送信中に、障害が発生した様子を示す図である。FIG. 4 is a diagram illustrating a state in which a failure occurs during transmission of a print packet for a print job. 端末装置側で、セッションを維持するために行う処理のフローチャートを示す図である。It is a figure which shows the flowchart of the process performed in order to maintain a session by the terminal device side. 端末装置で、動的な状態でセッションを維持するために行う処理のフローチャートを示す図である。It is a figure which shows the flowchart of the process performed in order to maintain a session in a dynamic state with a terminal device. ホスティングサーバ側で、端末装置とのセッションを維持するために行う処理のフローチャートを示す図である。It is a figure which shows the flowchart of the process performed in order to maintain the session with a terminal device by the hosting server side. ホスティングサーバ側で、動的な状態でセッションを維持するために行う処理のフローチャートを示す図である。It is a figure which shows the flowchart of the process performed in order to maintain a session in a dynamic state by the hosting server side.

符号の説明Explanation of symbols

1・・・インターネット、2・・・ホスティングサーバ、3・・・ローカルエリアネットワーク(LAN)、4−1〜4−3・・・端末装置、4−1−1〜4−3−2・・・印刷装置、5・・・モデム、ルータ、6・・・ISP
DESCRIPTION OF SYMBOLS 1 ... Internet, 2 ... Hosting server, 3 ... Local area network (LAN), 4-1 to 4-3 ... Terminal device, 4-1-1 to 4-3-2.・ Printer, 5 ... modem, router, 6 ... ISP

Claims (4)

インターネットに接続されたホスティングサーバと、
インターネットに接続されたローカルエリアネットワーク内でプライベートIPアドレスが割り当てられた端末装置と、
該端末装置に接続された印刷装置とからなり、
該ホスティングサーバに蓄積された情報を該印刷装置で印刷するインターネット印刷システムにおいて、
該ホスティングサーバは、該端末装置から送信された動的グローバルIPアドレス、ポート番号、及び該印刷装置のプリンタポート番号を記憶保持する端末装置情報記憶管理手段と、
該端末装置情報記憶管理手段に記憶されている情報に基づいて、該ホスティングサーバに蓄積された情報を該端末装置に送信する情報送信手段と、を有することを特徴とするインターネット印刷システム。
A hosting server connected to the Internet;
A terminal device assigned a private IP address in a local area network connected to the Internet;
A printing device connected to the terminal device,
In an Internet printing system for printing information stored in the hosting server with the printing device,
The hosting server includes a terminal device information storage management unit that stores and holds a dynamic global IP address, a port number, and a printer port number of the printing device transmitted from the terminal device;
An Internet printing system comprising: information transmission means for transmitting information stored in the hosting server to the terminal device based on information stored in the terminal device information storage management means.
該端末装置は、該ホスティングサーバに対して、定期的に動的グローバルIPアドレス、ポート番号及び該印刷装置のプリンタポート番号を送信する端末装置情報定期送信手段を有することを特徴とする請求項1に記載のインターネット印刷システム。 The terminal device includes terminal device information periodic transmission means for periodically transmitting a dynamic global IP address, a port number, and a printer port number of the printing device to the hosting server. Internet printing system described in 1. 該ホスティングサーバは、該ホスティングサーバに蓄積された情報を該端末装置に送信するためにパケットに分割するパケット分割手段を有し、
該端末装置は、送信されたパケットを受信するパケット受信手段と、
パケットの受信の中断を検出するパケット受信中断検出手段と、
該パケット受信中断検出手段でパケット受信の中断を検出したとき、該ホスティングサーバに対して、動的グローバルIPアドレス、ポート番号及び該印刷装置のプリンタポート番号を送信する端末装置情報非定期送信手段と、を有することを特徴とする請求項1又は請求項2に記載のインターネット印刷システム。
The hosting server has packet dividing means for dividing information stored in the hosting server into packets for transmission to the terminal device,
The terminal device includes packet receiving means for receiving a transmitted packet;
A packet reception interruption detecting means for detecting interruption of packet reception;
Terminal device information non-periodic transmission means for transmitting a dynamic global IP address, a port number, and a printer port number of the printing apparatus to the hosting server when the packet reception interruption detection means detects the interruption of packet reception; The Internet printing system according to claim 1, further comprising:
請求項1乃至請求項3のいずれかに記載のインターネット印刷システムを実現するためのプログラム。 The program for implement | achieving the internet printing system in any one of Claims 1 thru | or 3.
JP2005231725A 2005-08-10 2005-08-10 Internet printing system and program for realizing the same Expired - Fee Related JP4443482B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005231725A JP4443482B2 (en) 2005-08-10 2005-08-10 Internet printing system and program for realizing the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005231725A JP4443482B2 (en) 2005-08-10 2005-08-10 Internet printing system and program for realizing the same

Publications (2)

Publication Number Publication Date
JP2007048031A JP2007048031A (en) 2007-02-22
JP4443482B2 true JP4443482B2 (en) 2010-03-31

Family

ID=37850803

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005231725A Expired - Fee Related JP4443482B2 (en) 2005-08-10 2005-08-10 Internet printing system and program for realizing the same

Country Status (1)

Country Link
JP (1) JP4443482B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8077334B2 (en) * 2007-04-13 2011-12-13 Amadeus S.A.S. Method and apparatus for managing printing solutions in a local area network
US9019532B2 (en) 2010-04-07 2015-04-28 Hewlett-Packard Development Company Device messaging
US9036185B2 (en) 2011-09-28 2015-05-19 Hewlett-Packard Development Company, L.P. Managing network connections
JP5803991B2 (en) 2013-07-01 2015-11-04 コニカミノルタ株式会社 Print system, intermediate server, printing apparatus, job system, print job execution method, and computer program

Also Published As

Publication number Publication date
JP2007048031A (en) 2007-02-22

Similar Documents

Publication Publication Date Title
US7009941B1 (en) Node-search method, device, and medium on which a node-search program is recorded
JP2015011599A (en) Print system, intermediate server, printer, job system, print job execution method, and computer program
JP2012146197A (en) Printing support device, printing system and printing support program
JP5328472B2 (en) Network communication apparatus and method and program
US7827235B2 (en) Service providing system, service providing method, and program of the same
JP5882855B2 (en) Method, system and program for protecting a host device
KR100652964B1 (en) Dual stack network device and its broadcast method
JP3812285B2 (en) Network system and network equipment
EP3461108B1 (en) Information processing apparatus and information processing program
JP2019033370A (en) Communication control system, image processing unit, router, communication relay device, and program
JP2013090089A (en) Information processing device, information processing method and program
JP5034828B2 (en) COMMUNICATION SYSTEM, RELAY DEVICE, AND PROGRAM
JP2008015880A (en) Network system, image processor and computer program
US9565058B2 (en) Method of connecting a device to a network, a device connecting system, and a program
JP4443482B2 (en) Internet printing system and program for realizing the same
US20110235641A1 (en) Communication apparatus, method of controlling the communication apparatus,and program
JP5501052B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP2008033693A (en) COMMUNICATION CONTROL DEVICE, DATA PROCESSING DEVICE, AND ITS CONTROL METHOD
JP7585005B2 (en) Information processing device, image processing device, and method and program for controlling the information processing device
JP4368776B2 (en) Network device, network device control method, program, and recording medium
JP2011114805A (en) Communication apparatus and method, and program
JP6119187B2 (en) Management device, address information management program, and address information management system
JP2010093609A (en) Digital composite machine
JP7073841B2 (en) Information processing device, packet relay method
JP2007201740A (en) Network equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20071227

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091224

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100112

R150 Certificate of patent or registration of utility model

Ref document number: 4443482

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130122

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20140122

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees