JP3728879B2 - Data processing apparatus with communication function and program recording medium thereof - Google Patents

Data processing apparatus with communication function and program recording medium thereof Download PDF

Info

Publication number
JP3728879B2
JP3728879B2 JP19335097A JP19335097A JP3728879B2 JP 3728879 B2 JP3728879 B2 JP 3728879B2 JP 19335097 A JP19335097 A JP 19335097A JP 19335097 A JP19335097 A JP 19335097A JP 3728879 B2 JP3728879 B2 JP 3728879B2
Authority
JP
Japan
Prior art keywords
input
data
communication line
input form
amount
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
JP19335097A
Other languages
Japanese (ja)
Other versions
JPH1125041A (en
Inventor
健一 安原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP19335097A priority Critical patent/JP3728879B2/en
Publication of JPH1125041A publication Critical patent/JPH1125041A/en
Application granted granted Critical
Publication of JP3728879B2 publication Critical patent/JP3728879B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
この発明は、通信回線の接続を制御することで通信コストの節約を図る通信機能付きデータ処理装置およびそのプログラム記録媒体に関する。
【0002】
【従来の技術】
従来、インターネットに接続されているパーソナルコンピュータ等のデータ処理装置においては、ダイヤルアップ接続に対する科金やダイヤル回線料金を節約するための回線制御方法として、送受信が全て終了したときに回線を切る方法の他、送受信を行っていないアイドリング時間を監視し、アイドリング時間が所定時間に達した際に回線を切る方法が知られている。
ところで、インターネットで用いられる情報検索システムWWW(ワールドワイドウェッブ)などを利用しているときに、データ入力域を有する入力フォーム(例えばアンケートやCGIメールなど)を受信した際にはこの入力フォームを表示出力させ、この入力フォームのデータ入力域に各種のデータをキー入力するようにしているが、データ入力量が多かったり、入力が面倒な場合にはその入力に時間を要することになる。
【0003】
【発明が解決しようとする課題】
しかしながら、入力フォームへのデータ入力に時間を要したとしても、アイドリング時間が規定時間に達するまでは回線が接続されたままとなるため、手動で通信回線の接続を切るまでは、インターネット接続に対する科金やダイヤル回線料金を無駄に消費してしまう。
第1の発明の課題は、通信回線を介して送信されて来た入力フォームの形式によってそのデータ入力域に入力を要するデータ量が多い場合に、通信回線の接続を切り、データ入力をオフライン状態で行うことで通信コストを大幅に節約できるようにすることである。
第2の発明の課題は、通信回線を介して送信されて来た入力フォームのデータ入力域にデータを入力する操作が遅い場合に、通信回線の接続を切り、データ入力をオフライン状態で行うことで、通信コストを大幅に節約できるようにすることである。
【0004】
【課題を解決するための手段】
この発明の手段は次の通りである。
請求項1記載の発明は、データ入力域を有する入力フォームが通信回線を介して送信されて来た際に、入力フォームを受信する受信手段と、入力フォームのデータ入力域に入力可能な最大データ量が規定量を越えるか否かを判別するデータ量判別手段と、このデータ量判別手段によって規定量を越えることが判別された際に通信回線の接続を切る通信制御手段と、この通信制御手段によって通信回線の接続が切られている状態で入力フォームのデータ入力域に入力されたデータを通信回線の再接続によって送信する送信手段とを具備するものである。
なお、入力フォームのデータ入力域を解析し、そのデータ入力域に入力可能な最大データ量を算出する入力フォーム解析手段を設け、この入力フォーム解析手段によって算出されたデータ量に基づいて前記データ量判別手段は、当該データ量が規定量を越えるか否かを判別するようにしてもよい。
また、前記データ量判別手段によって規定量を越えることが判別された際に、その旨をメッセージ出力する出力手段を設け、前記通信制御手段は所定の入力操作に応答して通信回線の接続を切るようにしてもよい。
更に、前記データ量判別手段は、入力フォームのデータ入力域にデータを入力する入力操作が開始された際に、データ入力域に入力可能な最大データ量が規定量を越えるか否かを判別するようにしてもよい。
請求項1記載の発明においては、データ入力域を有する入力フォームが通信回線を介して送信されて来た場合に、入力フォームのデータ入力域に入力可能な最大データ量が規定量を越えるか否かを判別し、規定量を越える場合にはデータ入力前であっても通信回線の接続を切る。そして、回線が切られている状態で入力フォームのデータ入力域に入力されたデータは通信回線を再接続させることによって送信される。
したがって通信回線を介して送信されて来た入力フォームの形式によってそのデータ入力域に入力を要するデータ量が多い場合に、通信回線の接続を切り、データ入力をオフライン状態で行うことで通信コストを大幅に節約することができる。
【0005】
請求項5記載の発明は、データ入力域を有する入力フォームが通信回線を介して送信されて来た際に、入力フォームを受信する受信手段と、入力フォームのデータ入力域に対してデータを入力する入力操作が開始されたか否かを判別する入力開始判別手段と、この入力開始判別手段によって入力開始が判別されてからの経過時間を計測する時間計測手段と、この時間計測手段によって得られた経過時間が規定時間を越えたか否かを判別する時間判別手段と、この時間判別手段によって規定時間を越えたことが判別された際に、通信回線の接続を切る通信制御手段と、この通信制御手段によって通信回線の接続が切られている状態で入力フォームのデータ入力域に入力されたデータを通信回線の再接続によって送信する送信手段とを具備するものである。
請求項5記載の発明においては、データ入力域を有する入力フォームが通信回線を介して送信されて来た場合に、その入力域に対してデータを入力する入力操作が開始されると、入力開始からの経過時間を計測し、この経過時間が規定時間を越えたか否かを判別し、規定時間を越える場合には、データ入力途中であっても通信回線の接続を切る。そして、回線が切られている状態で入力フォームのデータ入力域に入力されたデータは、通信回線を再接続させることによって送信される。
したがって、通信回線を介して送信されて来た入力フォームのデータ入力域にデータを入力する操作が遅い場合に、通信回線の接続を切り、データ入力をオフライン状態で行うことで、通信コストを大幅に節約することができる。
【0006】
【発明の実施の形態】
以下、図1〜図5を参照してこの発明の一実施形態を説明する。
図1(A)は通信機能付きデータ処理装置の全体構成を示したブロック図で、このデータ処理装置はインターネットに接続可能なものである。
CPU1はRAM2内にロードされている各種プログラムにしたがってこの通信機能付きデータ処理装置の全体動作を制御する中央演算処理装置である。記憶装置3はオペレーティングシステムや各種アプリケーションプログラム、データファイル、文字フォントデータ等が予め格納されている記憶媒体4やその駆動系を有している。この記憶媒体4は固定的に設けたもの、もしくは着脱自在に装着可能なものであり、フロッピーディスク、ハードディスク、光ディスク、RAMカード等の磁気的・光学的記憶媒体、半導体メモリによって構成されている。また、記憶媒体4内のプログラムやデータは、必要に応じてCPU1の制御により、RAM2にロードされる。更に、CPU1は通信回線等を介して他の機器側から送信されて来たプログラム、データを受信して記憶媒体4に格納したり、他の機器側に設けられている記憶媒体に格納されているプログラム、データを通信回線等を介して使用することもできる。
そして、CPU1にはその入出力周辺デバイスである入力装置5、表示装置6、印刷装置7がバスラインを介して接続されており、入出力プログラムにしたがってCPU1はそれらの動作を制御する。
入力装置5は文字列データを入力したり、各種コマンドを入力するキーボードの他、マウス等のポインティングデバイスを有している。表示装置6は多色表示を行う液晶表示装置やCRT表示装置あるいはプラズマ表示装置等であり、また印刷装置7はフルカラープリンタ装置で、熱転写やインクジェットなどのノンインパクトプリンタあるいはインパクトプリンタである。
【0007】
図1(B)はRAM2の主要構成を示したもので、RAM2には各種のメモリ領域が割り当てられている。システムワークメモリ2−1にはダヤルアップによるインターネット接続時に起動されるプラウザが記憶装置3からロードされる。受信データメモリ2−2はインターネット接続によって通信回線を介して送信されて来たテキスト、画像等のデータを記憶保持するもので、その内容は表示画面上に表示出力される。アイドリングタイマ2−3は何も送受信を行っていないアイドリング時間を計測するタイマで、このアイドリング時間が規定時間を越えた際に、通信回線を自動的に切るようにしている。入力文字数カウンタ2−4はWWWのページを作成するためのHTML文書の中にデータ入力域を有する入力フォーム(アンケートやCGIメール等)が含まれている場合に、そのデータ入力域に入力可能な最大文字数をカウントするもので、そのカウント数が規定値を越えた際に通信回線を自動的に切るようにしている。入力時間監視タイマ2−5は入力フォームのデータ入力域に対してデータを入力する入力操作が開始されてからの経過時間を計測するもので、この経過時間が規定時間を越えた際に、通信回線を自動的に切るようにしている。規定値メモリ2−6はアイドリングタイマ2−3、入力文字数カウンタ2−4、入力時間監視タイマ2−5の値にしたがって自動的に回線を切断するか否かを判断するための規定値を記憶する。再接続メモリ2−7は回線を自動的に切る際に、現在のダイヤルNo等を記憶保持するもので、再接続にその内容が呼び出されて通信回線の再接続が行われる。
【0008】
次に、この通信機能付きデータ処理装置の動作を図2〜図4に示すフローチャートにしたがって説明する。ここで、これらのフローチャートに記述されている各機能を実現するためのプログラムは、CPU1が読み取り可能なプログラムコードの形態で記憶媒体4に記憶されており、その内容がRAM2内にロードされている。
図2はインターネット接続でWWWを利用する場合の動作を示したフローチャートである。
先ず、ユーザはプラウザの起動を指定すると共に(ステップA1)、ダイヤルアップ接続を行い(ステップA2)、任意のwebページへのアクセスを指定する(ステップA3)。ここで、CPU1はプラウザにしたがった処理を実行し、指定webページを表示出力させると共にアイドリングタイマ2−3の計時動作をスタートさせる(ステップA4)。そして、指定webページのHTML文書を解析する処理を行う(ステップA5)。
【0009】
図3はデHTML文書解析処理を示したフローチャートである。
先ず、CPU1は入力文字数カウンタ2−4の内容をリセットする(ステップB1)。そして、HTML文書内のタグを順次解析し、データ入力に関するタグ、つまりinputタグやtext areaタグが含まれているかを調べる(ステップB2、B3)。ここで、inputタグやtext areaタグが有れば、入力フォームを含むHTML文書と判断し、そのタグで示されているデータ入力域の大きさがHTML文書中に定義されているかを調べ(ステップB4)、定義されていれば、その大きさ(半角サイズの最大入力文字数)を読み込むが(ステップB5)、定義されていなければ、データ入力域の大きさを算出する(ステップB6)。この場合、半角文字サイズでそのデータ入力域に入力可能な最大文字数を求める。そして、ステップB5、B6で得られたデータ入力域の大きさを入力文字数カウンタ2−4に累計する処理が行われる(ステップB7)。そして、次のタグを指定し(ステップB8)、webページのHTML文書中に存在するタグを全て指定し終ったかを調べ(ステップB9)、タグの終了が検出されるまでステップB2に戻り、HTML文書中の入力フォームを解析する処理を繰り返す。この結果、例えば、HTML文書中に図5に示したような入力フォームが含まれている場合には、“名前”、“メールアドレス”、“コメント”に対応する各データ入力域毎にその大きさが半角サイズの文字数として入力文字数カウンタ2−4に累計されるため、入力文字数カウンタ2−4の値は各データ入力域の大きさを合計した値、つまり、この入力フォーム全体に入力可能な最大入力文字数となる。
【0010】
このようなHTML文書解析処理が終ると、入力文字数カウンタ2−4の内容に基づいてその文書中に入力フォームが存在するかを調べる(図2のステップA6)。ここで、入力文字数カウンタ2−4の値が“0”であれば入力フォーム無しと判断されるが、“0”でなければアンケートメールなどの入力フォームが含まれていると判断される。いま、入力フォームが含まれていないwebページが表示されている場合であれば別のwebページに切り替えるためにそのアクセスが指定されたかを調べる(ステップA8)。ここで、別のwebページが指定されなければ、アイドリングタイマ2−3の計測時間(アイドリング時間)と規定値メモリ2−6内に設定されているアイドリング監視用の規定時間とを比較し、何も送受信が行われていないアイドリング状態がその時間継続したままとなっているかを調べる(ステップA9)。ここで、規定時間が過ぎていなければ、ステップA8に戻り、別のwebページへのアクセスが指定されるまでアイドリングタイマ2−3を監視するが、規定時間が過ぎた場合には、その旨をユーザに報知するために回線を切断するかのメッセージ表示が行われる(ステップA10)。この場合、ユーザはそのメッセージを確認し、回線を接続したままとするには、その旨を宣言するために所定の入力操作を行う(ステップA11)。すると、ステップA12に進み、再びアイドリングタイマ2−3がリセットスタートされたのちステップA8に戻り、回線の接続状態は保持されるが、上述の入力操作が行われなかった場合にはダイヤルアップ接続を自動的に切断する処理が行われる(ステップA13)。このようにアイドリング時間に応じて回線が切られている状態において、別のwebページへのアクセスが指定されたか(ステップA14)、プラウザの終了が指定されたかを調べ(ステップA15)、何れが指定されるまで待機状態となる。ここで、別のwebページが指定されると、ステップA16に進み、ダイヤルアップ再接続処理を行い、ステップA4に戻る。
いま、ステップA8あるいはA14で別のwebページへのアクセスが指定されたものとすると(ステップA8)、そのwebページが表示出力されると共にアイドリングタイマ2−3がリセットスタートされる(ステップA4)。そして、このwebページのHTML文書を解析する処理が行われ(ステップA5)、その結果、当該文書内に入力フォームが含まれていることが検出されると(ステップA6)、文書入力処理に移行する(ステップA7)。
【0011】
図4はこの文書入力処理を示したフローチャートである。
先ず、入力フォーム内にデータを入力する入力操作が開始されたかを調べ(ステップC1)、データ入力が開始されなければ、アイドリング時間を調べ(ステップC2)、規定時間を過ぎた場合には図2のステップA10に進み、回線を切断するかのメッセージ表示が行われる。またアイドリングが規定時間内であれば、webページへのアクセスが指定されたかを調べ(ステップC3)、指定された場合には図2のステップA4に進み、そのwebページを表示出力させると共にアイドリングタイマ2−3をスタートさせるが、別のwebページが指定されなければステップC1に戻る。
いま、図5に示すような入力フォームの何れかのデータ入力域にデータを入力するためにその入力操作が開始されたものとすると、ステップC1で入力開始が検出されてステップC4に進み、入力文字数カウンタ2−4の内容を読み出し、その入力文字数と規定値メモリ2−6内に設定されている規定値とを比較し、入力文字数が規定文字数を越えたかを調べる。ここで、入力フォームに“コメント”の入力域のように比較的大きな入力域が含まれている場合には、入力文字数カウンタ2−4の値はその規定値を越えるが、このような大きな入力域が含まれておらず、入力フォーム全体に入力するデータ量が比較的少ない場合にはステップC4で規定値以内であることが検出されるので、ステップC5に進み、入力時間監視タイマ2−5をリセットスタートさせる。
【0012】
そして、入力フォームへのデータ入力が可能な状態となり、文字データが入力されると、その文字データを取り込んで入力フォームの入力粋内に書き込む文字入力処理が行われる(ステップC6)。そして、入力フォーム全体に文字を入力し終ったかを調べ(ステップC7)、文字入力の終了が指示されなければ、ステップC8に進みアイドリングタイマ2−3、入力時間監視タイマ2−5で得られた計測時間とそれに対応する規定値メモリ2−6内の規定時間とを比較し、データ入力が遅く時間を要することによって規定時間を過ぎたかあるいはアイドリングは規定時間を越えたかを調べる。ここで、何れの規定時間も過ぎていなければ、ステップC6に戻り、回線を接続したままデータ入力が可能となるが、何れかの規定時間が過ぎた場合には、回線を切断する旨のメッセージ表示が行われる(ステップC9)。いま、ダイヤルアップ接続を保持するために所定の入力操作を行うと(ステップC10)、再びアイドリングタイマ2−3をリセットスタートさせると共に(ステップC11)、入力時間監視タイマ2−5をリセットスタートさせ(ステップC5)、回線を接続したまま引き続いてデータ入力が可能となるが(ステップC6)、上述の入力操作が行われなかったときには、ダイヤルアップ接続が自動的に切断される(ステップC12)。このように文字入力途中において回線を切断する場合には、そのダイヤルNoと現在のwebページ名が再接続メモリ2−7に記憶される。
【0013】
一方、入力フォームに対してデータの入力を開始した際に、この入力フォームに入力可能な最大入力文字数が規定文字数を越えていることがステップC4で検出された場合にも、ステップC9に進み、回線を切断するかのガイダンス表示が行われる。ここで、その接続を保持する入力操作が行われなかったときには、ダイヤルアップ接続が自動的に切断される(ステップC12)。
このように回線が切られてオフライン状態となってもプラウザは終了せず、入力フォームへのデータ入力を引き続き行うことができる(ステップC13)。ここで、文字入力の終了が指示されたかを調べ(ステップC14)、入力フォームの各データ入力域に必要事項を全て入力し終るまで文字入力を続ける。そして、入力フォームの送信ボタンによって“送る”が指示されると、再接続メモリ2−7の内容を読み出してダイヤル再接続処理が行われると共に(ステップC15)、再接続メモリ2−7内のwebページに対応する入力フォームと共にその入力データを送信する送信処理が行われる(ステップC16)。
そして、図2のステップA8に進み、別のwebページへのアクセスが指定された場合には、ステップA4に戻り、以下、上述の動作はプラウザ終了まで繰り返される。
【0014】
以上のようにこの通信機能付きデータ処理装置においては、ダイヤルアップのインターネット接続において、プラウザを起動させ、HTML文書中に入力フォームが含まれていれば、その入力フォームの形式を解析することによって入力可能な最大入力文字数を累計し、それが規定文字数を越えていれば、それを条件にダイヤルアップ接続を解除し、データ入力をオフラインで行うことにより、通信コストを節約することができる。この場合、データ入力終了後にダイヤルアップの再接続によって入力データを送信することができる。また、入力フォームの各データ入力域に対応してその大きさがHTML文書中に定義されていれば、その値を単に累計してゆけばよいが、データ入力域の大きさが定義されていなくてもその大きさを算出することができるので、入力フォーム全体の最大入力文字数を正確に求めることができる。この際、データ入力域の大きさに制限がないものが1つでも存在する場合には、それだけで規定文字数を越えることが判断される。また、回線を切るときにはその旨がメッセージ表示されるので、ユーザはそれを確認し、回線を接続したままとするには、所定の入力操作を行えばよい。更に、入力フォームにデータを入力する入力操作が開始された際に、上述の条件を判断し、回線を切るようにしたので、入力フォームに対して入力が開始されるまでは、接続状態を保持することができる。
また、HTML文書中に入力フォームが含まれている場合に、その入力フォームに対してデータを入力する操作が開始されてからの経過時間を監視し、その経過時間が規定時間を過ぎても入力を終らすことができなかった場合にダイヤルアップ接続を解除し、以降のデータ入力をオフラインで行うことにより通信コストを節約することができる。この場合、データ入力終了後にダイヤルアップの再接続によって入力データを送信することができる。
【0015】
なお、上述した一実施形態においては、入力フォームに入力可能な最大文字数を累計して入力フォーム全体のデータ入力域の大きさを求めるようにしたが、データ入力域の大きさをドットサイズで求めるようにしてもよい。
また、インターネット接続を例に挙げたが、LAN等のネットワークシステムであってもよい。
【0016】
【発明の効果】
この発明によれば、通信回線を介して送信されて来た入力フォームの形式によってそのデータ入力域に入力を要するデータ量が多い場合に、通信回線の接続を切り、データ入力をオフライン状態で行うことで通信コストを大幅に節約することができる。
また、他の発明によれば、通信回線を介して送信されて来た入力フォームのデータ入力域にデータを入力する操作が遅い場合に、通信回線の接続を切り、データ入力をオフライン状態で行うことで、通信コストを大幅に節約することができる。
【図面の簡単な説明】
【図1】(A)はインターネットに接続される通信機能付きデータ処理装置の全体構成を示したブロック図、(B)はRAM2の主要構成を示した図。
【図2】インターネット接続でWWWを利用する場合の動作を示したフローチャート。
【図3】図2のステップA5(HTML文書解析処理)を示したフローチャート。
【図4】図2のステップA7(文書入力処理)を示したフローチャート。
【図5】入力フォームを例示した図。
【符号の説明】
1 CPU
2 RAM
2−1 システムワークメモリ
2−2 受信データメモリ
2−3 アイドリングタイマ
2−4 入力文字数カウンタ
2−5 入力時間監視タイマ
2−6 規定値メモリ
2−7 再接続メモリ
3 記憶装置
4 記憶媒体
5 入力装置
6 表示装置
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a data processing apparatus with a communication function and a program recording medium thereof for reducing communication costs by controlling connection of communication lines.
[0002]
[Prior art]
Conventionally, in a data processing apparatus such as a personal computer connected to the Internet, as a line control method for saving a fee for dial-up connection and a dial line charge, a method of disconnecting a line when all transmission / reception is completed In addition, there is known a method of monitoring an idling time when no transmission / reception is performed and disconnecting a line when the idling time reaches a predetermined time.
By the way, when using an information search system WWW (World Wide Web) used on the Internet, when an input form having a data input area (for example, a questionnaire or CGI mail) is received, this input form is displayed. The data is output and various data are keyed in the data input area of the input form. However, if the amount of data input is large or the input is troublesome, it takes time to input.
[0003]
[Problems to be solved by the invention]
However, even if it takes time to input data to the input form, the line remains connected until the idling time reaches the specified time. Therefore, until the communication line is manually disconnected, the Internet connection Money and dial line charges are wasted.
The subject of the first invention is that the communication line is disconnected and the data input is in an offline state when there is a large amount of data that needs to be input into the data input area depending on the format of the input form transmitted via the communication line. By doing so, it is possible to greatly save communication costs.
The subject of the second invention is to disconnect the communication line and perform the data input in an offline state when the operation for inputting data into the data input area of the input form transmitted via the communication line is slow. Thus, the communication cost can be greatly reduced.
[0004]
[Means for Solving the Problems]
Means of the present invention are as follows.
According to the first aspect of the present invention, when an input form having a data input area is transmitted via a communication line, receiving means for receiving the input form and maximum data that can be input to the data input area of the input form A data amount discriminating means for discriminating whether or not the amount exceeds a prescribed amount, a communication control means for disconnecting the communication line when the data amount discriminating means discriminates that the prescribed amount is exceeded, and the communication control means And transmitting means for transmitting the data input to the data input area of the input form when the communication line is disconnected by reconnecting the communication line.
An input form analysis means for analyzing the data input area of the input form and calculating the maximum amount of data that can be input to the data input area is provided, and the data amount is based on the data amount calculated by the input form analysis means. The determining means may determine whether or not the data amount exceeds a specified amount.
When the data amount determining means determines that the specified amount is exceeded, an output means is provided for outputting a message to that effect, and the communication control means disconnects the communication line in response to a predetermined input operation. You may do it.
Further, the data amount determining means determines whether or not the maximum data amount that can be input to the data input area exceeds a specified amount when an input operation for inputting data to the data input area of the input form is started. You may do it.
In the first aspect of the invention, when an input form having a data input area is transmitted via a communication line, whether or not the maximum amount of data that can be input to the data input area of the input form exceeds a specified amount. If the specified amount is exceeded, the communication line is disconnected even before data input. Then, data input to the data input area of the input form with the line disconnected is transmitted by reconnecting the communication line.
Therefore, if there is a large amount of data that needs to be entered in the data input area depending on the format of the input form sent via the communication line, the communication cost can be reduced by disconnecting the communication line and performing data input offline. Significant savings can be made.
[0005]
According to the fifth aspect of the present invention, when an input form having a data input area is transmitted via a communication line, receiving means for receiving the input form and data input to the data input area of the input form Input start determining means for determining whether or not the input operation to be started, time measuring means for measuring an elapsed time after the input start is determined by the input start determining means, and obtained by the time measuring means A time discriminating means for discriminating whether or not the elapsed time exceeds a specified time; a communication control means for disconnecting the communication line when it is determined by the time discriminating means that the specified time has been exceeded; and Transmission means for transmitting the data input to the data input area of the input form when the communication line is disconnected by the means by reconnection of the communication line. It is.
According to the fifth aspect of the present invention, when an input form having a data input area is transmitted via a communication line, an input operation for inputting data to the input area is started. The elapsed time is measured, and it is determined whether or not this elapsed time exceeds a specified time. If the specified time is exceeded, the communication line is disconnected even during data input. Data input to the data input area of the input form with the line disconnected is transmitted by reconnecting the communication line.
Therefore, if the operation to input data into the data input area of the input form sent via the communication line is slow, the communication line is disconnected and the data input is performed offline, greatly increasing the communication cost. Can save you money.
[0006]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an embodiment of the present invention will be described with reference to FIGS.
FIG. 1A is a block diagram showing the overall configuration of a data processing apparatus with a communication function. This data processing apparatus can be connected to the Internet.
The CPU 1 is a central processing unit that controls the overall operation of the data processing device with a communication function according to various programs loaded in the RAM 2. The storage device 3 has a storage medium 4 in which an operating system, various application programs, data files, character font data, and the like are stored in advance, and a drive system thereof. This storage medium 4 is fixedly provided or detachably mountable, and is composed of a magnetic / optical storage medium such as a floppy disk, a hard disk, an optical disk, and a RAM card, and a semiconductor memory. Further, programs and data in the storage medium 4 are loaded into the RAM 2 under the control of the CPU 1 as necessary. Further, the CPU 1 receives a program and data transmitted from another device via a communication line or the like and stores them in the storage medium 4 or stored in a storage medium provided on the other device. Existing programs and data can be used via a communication line or the like.
An input device 5, a display device 6, and a printing device 7 as input / output peripheral devices are connected to the CPU 1 via a bus line, and the CPU 1 controls their operations according to the input / output program.
The input device 5 has a pointing device such as a mouse in addition to a keyboard for inputting character string data or inputting various commands. The display device 6 is a liquid crystal display device that performs multicolor display, a CRT display device, a plasma display device, or the like, and the printing device 7 is a full-color printer device, which is a non-impact printer or impact printer such as thermal transfer or ink jet.
[0007]
FIG. 1B shows the main configuration of the RAM 2, and various memory areas are allocated to the RAM 2. The system work memory 2-1 is loaded from the storage device 3 with a browser that is activated when the Internet is connected by dial-up. The reception data memory 2-2 stores and holds data such as texts and images transmitted via a communication line by Internet connection, and the contents are displayed and output on a display screen. The idling timer 2-3 is a timer for measuring an idling time during which no transmission / reception is performed. When the idling time exceeds a specified time, the communication line is automatically disconnected. The input character counter 2-4 can input data into an input form (questionnaire, CGI mail, etc.) having a data input area in an HTML document for creating a WWW page. It counts the maximum number of characters and automatically disconnects the communication line when the count exceeds a specified value. The input time monitoring timer 2-5 measures the elapsed time from the start of the input operation for inputting data to the data input area of the input form. When this elapsed time exceeds the specified time, the communication is performed. The line is automatically disconnected. The specified value memory 2-6 stores specified values for determining whether to automatically disconnect the line according to the values of the idling timer 2-3, the input character number counter 2-4, and the input time monitoring timer 2-5. To do. When the line is automatically disconnected, the reconnection memory 2-7 stores and holds the current dial number and the like, and the contents are called for reconnection and the communication line is reconnected.
[0008]
Next, the operation of the data processing apparatus with a communication function will be described with reference to the flowcharts shown in FIGS. Here, a program for realizing each function described in these flowcharts is stored in the storage medium 4 in the form of a program code readable by the CPU 1, and the contents thereof are loaded into the RAM 2. .
FIG. 2 is a flowchart showing an operation when the WWW is used for Internet connection.
First, the user designates activation of the browser (step A1), performs dial-up connection (step A2), and designates access to an arbitrary web page (step A3). Here, the CPU 1 executes processing in accordance with the browser, displays the designated web page, and starts the timing operation of the idling timer 2-3 (step A4). And the process which analyzes the HTML document of a designated web page is performed (step A5).
[0009]
FIG. 3 is a flowchart showing the de-HTML document analysis process.
First, the CPU 1 resets the contents of the input character number counter 2-4 (step B1). Then, the tags in the HTML document are sequentially analyzed to check whether tags relating to data input, that is, input tags and text area tags are included (steps B2, B3). Here, if there is an input tag or a text area tag, it is determined as an HTML document including an input form, and it is checked whether the size of the data input area indicated by the tag is defined in the HTML document (step B4) If it is defined, the size (maximum number of input characters of half-size size) is read (step B5). If not defined, the size of the data input area is calculated (step B6). In this case, the maximum number of characters that can be input in the data input area with a single-byte character size is obtained. Then, processing for accumulating the size of the data input area obtained in steps B5 and B6 in the input character number counter 2-4 is performed (step B7). Then, the next tag is designated (step B8), it is checked whether all tags existing in the HTML document on the web page have been designated (step B9), and the process returns to step B2 until the end of the tag is detected. Repeat the process of analyzing the input form in the document. As a result, for example, when an input form as shown in FIG. 5 is included in an HTML document, the size of each data input area corresponding to “name”, “mail address”, and “comment” is large. Is accumulated in the input character counter 2-4 as the number of half-size characters, so the value of the input character counter 2-4 is the sum of the sizes of the data input areas, that is, can be input to the entire input form. Maximum number of input characters.
[0010]
When such HTML document analysis processing is completed, it is checked whether an input form exists in the document based on the contents of the input character counter 2-4 (step A6 in FIG. 2). Here, if the value of the input character counter 2-4 is “0”, it is determined that there is no input form, but if it is not “0”, it is determined that an input form such as a questionnaire mail is included. If a web page that does not include an input form is displayed, it is checked whether the access is designated to switch to another web page (step A8). Here, if another web page is not designated, the measured time (idling time) of the idling timer 2-3 is compared with the specified time for idling monitoring set in the specified value memory 2-6. In step A9, it is checked whether the idling state in which transmission / reception is not performed continues for that time. If the specified time has not passed, the process returns to step A8, and the idling timer 2-3 is monitored until access to another web page is designated. A message is displayed as to whether to disconnect the line in order to notify the user (step A10). In this case, the user confirms the message, and in order to keep the line connected, the user performs a predetermined input operation to declare the fact (step A11). Then, the process proceeds to step A12. After the idling timer 2-3 is reset and started again, the process returns to step A8, where the line connection state is maintained. If the above input operation is not performed, the dial-up connection is established. Processing for automatic disconnection is performed (step A13). In this way, in the state where the line is disconnected according to the idling time, it is checked whether access to another web page is designated (step A14) or termination of the browser is designated (step A15). It will be in a standby state until it is done. If another web page is designated, the process proceeds to step A16, dial-up reconnection processing is performed, and the process returns to step A4.
Assuming that access to another web page is designated in step A8 or A14 (step A8), the web page is displayed and output, and the idling timer 2-3 is reset and started (step A4). Then, a process of analyzing the HTML document of the web page is performed (step A5). As a result, when it is detected that the input form is included in the document (step A6), the process proceeds to the document input process. (Step A7).
[0011]
FIG. 4 is a flowchart showing the document input process.
First, it is checked whether an input operation for inputting data into the input form is started (step C1). If the data input is not started, the idling time is checked (step C2). In step A10, a message indicating whether to disconnect the line is displayed. If the idling is within the specified time, it is checked whether access to the web page is designated (step C3). If designated, the process proceeds to step A4 in FIG. 2-3 is started, but if another web page is not designated, the process returns to step C1.
Assuming that the input operation is started to input data into any data input area of the input form as shown in FIG. 5, the input start is detected in step C1, and the process proceeds to step C4. The contents of the character number counter 2-4 are read out, and the number of input characters is compared with a specified value set in the specified value memory 2-6 to check whether the number of input characters exceeds the specified number of characters. If the input form includes a relatively large input area such as the “comment” input area, the value of the input character counter 2-4 exceeds the specified value, but such a large input is required. If no area is included and the amount of data to be input to the entire input form is relatively small, it is detected in step C4 that it is within the specified value, so the process proceeds to step C5 and the input time monitoring timer 2-5 Start reset.
[0012]
Then, when data input to the input form is possible, and character data is input, character input processing is performed to capture the character data and write it in the input form of the input form (step C6). Then, it is checked whether or not characters have been input to the entire input form (step C7), and if the end of character input is not instructed, the process proceeds to step C8 and obtained by the idling timer 2-3 and the input time monitoring timer 2-5. The measurement time is compared with the corresponding specified time in the specified value memory 2-6, and it is checked whether the specified time has passed due to the slow data input and the idling has exceeded the specified time. Here, if any specified time has not passed, the process returns to step C6, and data can be input with the line connected, but if any specified time has passed, a message to disconnect the line. Display is performed (step C9). If a predetermined input operation is performed to maintain the dial-up connection (step C10), the idling timer 2-3 is reset and started again (step C11), and the input time monitoring timer 2-5 is reset and started ( In step C5), data can be continuously input while the line is connected (step C6), but when the above input operation is not performed, the dial-up connection is automatically disconnected (step C12). Thus, when the line is disconnected during character input, the dial number and the current web page name are stored in the reconnection memory 2-7.
[0013]
On the other hand, when it is detected in step C4 that the maximum number of input characters that can be input to the input form exceeds the specified number when data input to the input form is started, the process proceeds to step C9. A guidance display is displayed as to whether to disconnect the line. Here, when the input operation for holding the connection is not performed, the dial-up connection is automatically disconnected (step C12).
Thus, even if the line is disconnected and the offline state is entered, the browser is not terminated, and data input to the input form can be continued (step C13). Here, it is checked whether or not the end of character input has been instructed (step C14), and character input is continued until all necessary items are input in each data input area of the input form. When “SEND” is instructed by the send button of the input form, the contents of the reconnection memory 2-7 are read and dial reconnection processing is performed (step C15), and the web in the reconnection memory 2-7 is also executed. A transmission process for transmitting the input data together with the input form corresponding to the page is performed (step C16).
Then, the process proceeds to step A8 in FIG. 2, and if access to another web page is designated, the process returns to step A4, and the above-described operation is repeated until the browser ends.
[0014]
As described above, in this data processing apparatus with a communication function, in dial-up Internet connection, when a browser is started and an input form is included in an HTML document, input is performed by analyzing the format of the input form. If the maximum possible number of input characters is accumulated and exceeds the specified number of characters, the dial-up connection is canceled on the condition, and the data input is performed offline, so that the communication cost can be saved. In this case, input data can be transmitted by dial-up reconnection after the data input is completed. In addition, if the size is defined in the HTML document corresponding to each data input area of the input form, the values can be simply accumulated, but the size of the data input area is not defined. However, since the size can be calculated, the maximum number of input characters of the entire input form can be accurately obtained. At this time, if there is even one data input area that is not limited in size, it is determined that the specified number of characters is exceeded. Further, when the line is disconnected, a message to that effect is displayed, so that the user can confirm it and perform a predetermined input operation to keep the line connected. In addition, when the input operation to input data to the input form is started, the above-mentioned conditions are judged and the line is disconnected, so that the connection state is maintained until the input to the input form is started. can do.
In addition, when an input form is included in the HTML document, the elapsed time from the start of the operation of inputting data to the input form is monitored, and the input is performed even if the elapsed time exceeds the specified time. The communication cost can be saved by canceling the dial-up connection when the connection cannot be completed and performing subsequent data input offline. In this case, input data can be transmitted by dial-up reconnection after the data input is completed.
[0015]
In the embodiment described above, the maximum number of characters that can be entered in the input form is accumulated to obtain the size of the data input area of the entire input form. However, the size of the data input area is obtained in dot size. You may do it.
In addition, the Internet connection is taken as an example, but a network system such as a LAN may be used.
[0016]
【The invention's effect】
According to the present invention, when there is a large amount of data that needs to be input in the data input area depending on the format of the input form transmitted via the communication line, the communication line is disconnected and the data input is performed offline. As a result, communication costs can be greatly reduced.
According to another invention, when the operation for inputting data into the data input area of the input form transmitted via the communication line is slow, the communication line is disconnected and the data input is performed offline. As a result, communication costs can be greatly saved.
[Brief description of the drawings]
1A is a block diagram showing the overall configuration of a data processing apparatus with a communication function connected to the Internet, and FIG. 1B is a diagram showing the main configuration of a RAM 2;
FIG. 2 is a flowchart showing an operation when using the WWW for Internet connection.
FIG. 3 is a flowchart showing step A5 (HTML document analysis processing) in FIG. 2;
FIG. 4 is a flowchart showing step A7 (document input processing) in FIG. 2;
FIG. 5 is a diagram illustrating an input form.
[Explanation of symbols]
1 CPU
2 RAM
2-1 System Work Memory 2-2 Received Data Memory 2-3 Idling Timer 2-4 Input Character Number Counter 2-5 Input Time Monitoring Timer 2-6 Specified Value Memory 2-7 Reconnection Memory 3 Storage Device 4 Storage Medium 5 Input Device 6 Display device

Claims (7)

データ入力域を有する入力フォームが通信回線を介して送信されて来た際に、入力フォームを受信する受信手段と、
入力フォームのデータ入力域に入力可能な最大データ量が規定量を越えるか否かを判別するデータ量判別手段と、
このデータ量判別手段によって規定量を越えることが判別された際に通信回線の接続を切る通信制御手段と、
この通信制御手段によって通信回線の接続が切られている状態で入力フォームのデータ入力域に入力されたデータを通信回線の再接続によって送信する送信手段とを具備したことを特徴とする通信機能付きデータ処理装置。
Receiving means for receiving an input form when an input form having a data input area is transmitted via a communication line;
A data amount discriminating means for discriminating whether or not the maximum data amount that can be entered in the data input area of the input form exceeds a prescribed amount;
A communication control means for disconnecting the communication line when it is determined by the data amount determination means that the specified amount is exceeded;
With a communication function, comprising: a transmission means for transmitting data inputted in the data input area of the input form by reconnection of the communication line in a state where the communication line is disconnected by the communication control means Data processing device.
入力フォームのデータ入力域を解析し、そのデータ入力域に入力可能な最大データ量を算出する入力フォーム解析手段を設け、
この入力フォーム解析手段によって算出されたデータ量に基づいて前記データ量判別手段は、当該データ量が規定量を越えるか否かを判別するようにしたことを特徴とする請求項1記載の通信機能付きデータ処理装置。
Analyzing the data input area of the input form, providing an input form analysis means to calculate the maximum amount of data that can be entered in the data input area,
2. The communication function according to claim 1, wherein the data amount determining means determines whether or not the data amount exceeds a prescribed amount based on the data amount calculated by the input form analyzing means. Data processor.
前記データ量判別手段によって規定量を越えることが判別された際に、その旨をメッセージ出力する出力手段を設け、
前記通信制御手段は所定の入力操作に応答して通信回線の接続を切るようにしたことを特徴とする請求項1記載の通信機能付きデータ処理装置。
When it is determined by the data amount determining means that the specified amount is exceeded, an output means for outputting a message to that effect is provided,
2. A data processing apparatus with a communication function according to claim 1, wherein said communication control means disconnects the communication line in response to a predetermined input operation.
前記データ量判別手段は、入力フォームのデータ入力域にデータを入力する入力操作が開始された際に、データ入力域に入力可能な最大データ量が規定量を越えるか否かを判別するようにしたことを特徴とする請求項1記載の通信機能付きデータ処理装置。The data amount discriminating unit discriminates whether or not the maximum data amount that can be input to the data input area exceeds a specified amount when an input operation for inputting data to the data input area of the input form is started. The data processing apparatus with a communication function according to claim 1. データ入力域を有する入力フォームが通信回線を介して送信されて来た際に、入力フォームを受信する受信手段と、
入力フォームのデータ入力域に対してデータを入力する入力操作が開始されたか否かを判別する入力開始判別手段と、
この入力開始判別手段によって入力開始が判別されてからの経過時間を計測する時間計測手段と、
この時間計測手段によって得られた経過時間が規定時間を越えたか否かを判別する時間判別手段と、
この時間判別手段によって規定時間を越えたことが判別された際に、通信回線の接続を切る通信制御手段と、
この通信制御手段によって通信回線の接続が切られている状態で入力フォームのデータ入力域に入力されたデータを通信回線の再接続によって送信する送信手段とを具備したことを特徴とする通信機能付きデータ処理装置。
Receiving means for receiving an input form when an input form having a data input area is transmitted via a communication line;
An input start determining means for determining whether or not an input operation for inputting data to the data input area of the input form is started;
A time measuring means for measuring an elapsed time after the input start is determined by the input start determining means;
Time discriminating means for discriminating whether or not the elapsed time obtained by the time measuring means exceeds a specified time;
A communication control means for disconnecting the communication line when it is determined by the time determination means that the specified time has been exceeded;
With a communication function, comprising: a transmission means for transmitting data inputted in the data input area of the input form by reconnection of the communication line in a state where the communication line is disconnected by the communication control means Data processing device.
コンピュータに対して、
データ入力域を有する入力フォームが通信回線を介して送信されて来た際に、入力フォームを受信する機能と、
入力フォームのデータ入力域に入力可能な最大データ量が規定量を越えるか否かを判別する機能と、
規定量を越えることが判別された際に通信回線の接続を切る機能と、
通信回線の接続が切られている状態で入力フォームのデータ入力域に入力されたデータを通信回線の再接続によって送信する機能を実現させるためのプログラムを記録した記録媒体。
Against the computer,
A function for receiving an input form when an input form having a data input area is transmitted via a communication line;
A function to determine whether or not the maximum amount of data that can be entered in the data entry area of the input form exceeds the specified amount;
A function to disconnect the communication line when it is determined that the specified amount is exceeded;
A recording medium recording a program for realizing a function of transmitting data input to a data input area of an input form by reconnection of a communication line in a state where the connection of the communication line is disconnected.
コンピュータに対して、
データ入力域を有する入力フォームが通信回線を介して送信されて来た際に、入力フォームを受信する機能と、
入力フォームのデータ入力域に対してデータを入力する入力操作が開始されたか否かを判別する機能と、
入力開始が判別されてからの経過時間を計測する機能と、
計測された経過時間が規定時間を越えたか否かを判別する機能と、
規定時間を越えたことが判別された際に、通信回線の接続を切る機能と、
通信回線の接続が切られている状態で入力フォームのデータ入力域に入力されたデータを通信回線の再接続によって送信する機能を実現させるためのプログラムを記録した記録媒体。
Against the computer,
A function for receiving an input form when an input form having a data input area is transmitted via a communication line;
A function for determining whether or not an input operation for inputting data is started in the data input area of the input form;
A function to measure the elapsed time since the start of input was determined;
A function to determine whether the measured elapsed time has exceeded a specified time;
A function to disconnect the communication line when it is determined that the specified time has been exceeded;
A recording medium recording a program for realizing a function of transmitting data input to a data input area of an input form by reconnection of a communication line in a state where the connection of the communication line is disconnected.
JP19335097A 1997-07-04 1997-07-04 Data processing apparatus with communication function and program recording medium thereof Expired - Fee Related JP3728879B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19335097A JP3728879B2 (en) 1997-07-04 1997-07-04 Data processing apparatus with communication function and program recording medium thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19335097A JP3728879B2 (en) 1997-07-04 1997-07-04 Data processing apparatus with communication function and program recording medium thereof

Publications (2)

Publication Number Publication Date
JPH1125041A JPH1125041A (en) 1999-01-29
JP3728879B2 true JP3728879B2 (en) 2005-12-21

Family

ID=16306448

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19335097A Expired - Fee Related JP3728879B2 (en) 1997-07-04 1997-07-04 Data processing apparatus with communication function and program recording medium thereof

Country Status (1)

Country Link
JP (1) JP3728879B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002077755A (en) * 2000-08-29 2002-03-15 Sharp Corp Agent interface apparatus
JP4900194B2 (en) * 2007-10-24 2012-03-21 富士通株式会社 Form input support method, form input support apparatus, and form input support program

Also Published As

Publication number Publication date
JPH1125041A (en) 1999-01-29

Similar Documents

Publication Publication Date Title
US8300246B2 (en) Image forming apparatus and host terminal apparatus
EP1754136A1 (en) Direct printing method and apparatus
JP3287787B2 (en) Output control method and device
US20060290980A1 (en) Character entry system
JP4347649B2 (en) Content browsing management system, program, and content server
US6864992B1 (en) Network system, method and computer readable medium including print log generation
US7325077B1 (en) Miniclient for internet appliance
EP1011259A2 (en) Remote scanning through a computer system network
US8514439B2 (en) Image processing system and image processing method for estimating image forming operation charges
EP2234101B1 (en) Client apparatus, computer system, computer readable program storage medium and display method, each for detecting change of display contents in status bar area to display the change
JP3728879B2 (en) Data processing apparatus with communication function and program recording medium thereof
KR100299972B1 (en) Method for controlling order of print job in printer
JP2004310185A (en) Image processor and program
JP2000215019A (en) Device and method for image formation
KR20030009210A (en) Electronic service transaction and method
JP2002209035A (en) Image processing unit, information processing system, and data processing method
JP3332517B2 (en) PRINTING APPARATUS, PRINT CONTROL METHOD, AND INFORMATION PROCESSING APPARATUS AND METHOD
KR100509469B1 (en) Method for management of printing information in a network printer system
EP1906351A2 (en) Print order server, method of controlling same, and control program therefore
CN111176586B (en) Multi-terminal virtual hardware and method for providing virtual hardware service
JPH06119135A (en) Computer system
JP2002133305A (en) Service provision system
JP2006031071A (en) Asp portal server device, method of providing software processing service, and program
JP2001014120A (en) Print system and recording medium
JPH0926864A (en) Printing system and font data transfer method therefor

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050826

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050926

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20081014

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20091014

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20091014

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20101014

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20101014

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20111014

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20111014

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20121014

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20121014

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20131014

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees