JP3539941B2 - Measurement system - Google Patents

Measurement system Download PDF

Info

Publication number
JP3539941B2
JP3539941B2 JP2001232100A JP2001232100A JP3539941B2 JP 3539941 B2 JP3539941 B2 JP 3539941B2 JP 2001232100 A JP2001232100 A JP 2001232100A JP 2001232100 A JP2001232100 A JP 2001232100A JP 3539941 B2 JP3539941 B2 JP 3539941B2
Authority
JP
Japan
Prior art keywords
operation terminal
measurement
measuring device
communication
information
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
JP2001232100A
Other languages
Japanese (ja)
Other versions
JP2003046599A (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.)
Anritsu Corp
Original Assignee
Anritsu Corp
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 Anritsu Corp filed Critical Anritsu Corp
Priority to JP2001232100A priority Critical patent/JP3539941B2/en
Publication of JP2003046599A publication Critical patent/JP2003046599A/en
Application granted granted Critical
Publication of JP3539941B2 publication Critical patent/JP3539941B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、インターネットを始めとする各種通信ネットワークに組込まれた各種の通信機器の性能や通信機器相互間で送受信されるデジタルデータのデータ品質の測定を行う測定システムに係わり、特に、通信機器やデジタルデータの測定対象の特性を測定する測定器を、ネットワークを介して接続された操作端末で遠隔操作する測定システムに関する。
【0002】
【従来の技術】
インターネットを始めとする各種通信ネットワークに組込まれた各種の通信機器の性能や通信機器相互間で送受信されるデジタルデータのデータ品質を測定して把握することは、新規の通信機器を開発したり、新規の通信ネットワークを構築する場合に、欠かすことのできない重要な事項である。また、稼働中の通信機器や通信ネットワークの保守、管理においても欠かすことのできない事項である。
【0003】
特に、稼働中の通信機器や通信ネットワークの保守、管理を実施する場合、測定対象は通信システム内に組込まれているので、この測定対象の特性を測定する測定器も通信システム内に設置する必要がある。測定対象における特性の測定項目の中には測定に長期間を要するものもある。測定者(操作者)が長期間亘って、測定現場に駐在できないので、この測定器を、ネットワークを介して接続された操作端末で遠隔操作する測定システムが提唱されている。
【0004】
図6は、このようなネットワークを用いた測定システムを示す模式図である。各種通信システムに組込まれた測定対象1に対して、この測定対象1の特性を測定する測定器2が接続されている。この測定器2は、ネットワークの一種であるインターネット3に接続されている。このインターネット3に対して、例えばメンテナンス会社の各事務所等に設置された複数の操作端末4が接続されている。
【0005】
各操作端末4には、例えば、市販のパーソナル・コンピュータに対してインターネット3を介して測定器2と情報交換を実施するためのブラウザが組込まれ、さらに、測定対象1を遠隔操作するための操作プログラム(アプリケーション・プログラム)が組込まれている。
【0006】
この各操作端末4から、自己が記憶しているアプリケーション・プログラムである操作プログラムを用いて、中間に存在するインターネット3を意識することなく測定器2を操作できる環境を形成するために、操作端末4と測定器2との間でTCP/IP(Transmission Control Protocol/Internet Protocol)のソケット通信を用いて情報交換を実施するようにしている。この「ソケット」は、TCP/IPネットワーク内のOSI(Open Systems Interconnection)参照モデルにおけるトランスポート層上で、プロセス間通信を実施するAPI(Application Programming Interface)である。
【0007】
操作端末4と測定器2とがインターネット3を介して、トランスポート層上で接続された状態において、図7に示すシーケンスに従って、ソケット通信の起動、終了を実行する。
【0008】
先ず、操作端末4と測定器2とが「socket」のシステムコールで、通信のための接続点(接続ポート)を示すソケットをそれぞれ作成する。「bind」のシステムコールでそれぞれのソケットの名前をつけ、測定器2側の「listen(接続受付設定)」のシステムコールを経て、操作端末4が「connect」のシステムコールで自己のソケットを測定器2のソケットに接続する。
【0009】
以上の処理動作で、操作端末4と測定器2とは通信可能状態となる。この通信可能状態において、「read/write」のシステムコールで、実際の情報が操作端末4と測定器2と間で送受信される。
【0010】
そして、操作端末4又は測定器2の「close」のシステムコールでこのソケット通信を終了する。
【0011】
測定器2は上述したソケット通信を用いて各操作端末4毎に並行に通信可能状態を維持できる。
【0012】
このような構成の測定システムにおいて、操作端末4と測定器2とがソケット通信における通信可能状態において、操作端末4は測定器2に対して、測定対象1に対する各種の測定項目と測定条件とを送信する。
【0013】
測定器2は、操作端末4から測定項目と測定条件とを指示した測定指示を受信すると、自己の記憶装置内に、測定要求元の操作端末4に対応するワーク領域を確保する。そして、測定対象1に対して指定された測定条件で指定された測定項目の測定を実施する。得られた測定データは、先に作成した該当操作端末4に対応するワーク領域に書込む。このワーク領域に時系列的に書込んだ測定データを一定期間毎にまとめて測定要求元の操作端末4へ送信したり、操作端末4からの送信要求に応じて、測定データを該当操作端末4へ送信していた。また、測定器2は、測定対象1に何らかの異常を検出すると、異常検出情報を操作端末4へ送信する。
【0014】
【発明が解決しようとする課題】
しかかしながら上述したような測定器2をTCP/IPのソケット通信を用いて操作端末4から遠隔操作するようにした測定システムにおいてもまだ改良すべき次のような課題があった。
【0015】
すなわち、測定器2は、一般に、測定対象1に対して同時に多数の測定項目の測定が実施可能であるので、同時に複数の操作端末4から指示された測定項目の測定を実施する。したがって、記憶部内に各操作端末4毎に多数のワーク領域が確保されている。
【0016】
ソケット通信での通信可能状態において、測定器2と操作端末4との間で情報交換を実施する場合、情報を受信した側は、正常に受信した場合に送信側に正常応答(ACK)を送信するようにしている。
【0017】
したがって、送信側としては、情報を送信しても、送信先から正常応答(ACK)が受信されないと、通信異常が発生したと判断して、再送信を実施し、この再送信でも正常応答(ACK)が受信されないと、所定のエラー処理を実施するとともに、原因究明処理を自動実地し、回線復旧を試みる。この正常応答(ACK)が受信されなかった場合における処理は複雑多岐に亘るので、情報の送信側の処理負担が増大する。
【0018】
この測定システムにおいては、各操作端末4から測定器2へ送信された操作情報は、原則として操作者(測定者)の操作に応じて実施されるので、送信時期が不定期である。
【0019】
したがって、測定器2に、各操作端末4から長期間に亘って操作情報が受信されない場合、
(a) 該当操作端末4から本当に操作情報が送信されなかった
(b) 該当操作端末4とインターネット3とを接続する端子が外れた
(c) 該当操作端末4の操作者が測定終了したので、測定器2へ通知することなく電源遮断した
等が想定できる。
【0020】
しかし、測定器2としては、該当操作端末4が指定する測定項目の測定を継続し、指定されたタイミングで測定データを送信した時点や、測定対象1に何らかの異常を検出して異常検出情報を送信した時点で、通信異常を気付く。そして、この時点で、上述した正常応答(ACK)の不受信時における煩雑な処理を実施する必要がある。
【0021】
しかし、測定器2は、他の操作端末4が指定する測定項目の測定をも継続して実施しているので、長期間に亘って操作情報が受信されない操作端末4の数が増加すると、上述した正常応答(ACK)の不受信時における処理負担が増大する。
【0022】
さらに、通信不実施状態である多数の操作端末4のためのワーク領域を記憶部内に確保しておくことは記憶部の必要記憶容量が増大する問題もある。
【0023】
本発明はこのような事情に鑑みてなされたものであり、操作端末から測定器に操作端末が正常である旨の正常情報を送出することにより、測定器としては、常に操作端末の接続状態を把握でき、通信不実施の操作端末に関する無駄な処理を中止して測定器の処理負担を軽減でき、かつメモリ等の測定器のリソースを有効に使用できる測定システムを提供することを目的とする。
【0024】
【課題を解決するための手段】
本発明は、データ通信に関する測定対象の特性を測定する測定器と、この測定器に対してネットワークを介して接続され測定器に対して各種操作指示を行う操作端末とを備え、測定器と操作端末との間でTCP/IPのソケット通信を用いて情報交換を行う測定システムに適用される。
【0025】
そして、上記課題を解消するために、本発明の測定システムにおける操作端末は、測定器との間でソケット通信での通信可能状態に設定されていて、測定器に対する一つの操作情報の送信終了から次の操作情報の送信開始までの期間において一定時間経過する毎に測定器に対して操作端末が正常である旨の正常情報を送信する。
【0026】
さらに、本発明の測定システムにおける測定器は、操作端末との間でソケット通信での通信可能状態に設定されていて、一定期間を越える猶予時間が経過しても、操作端末から操作情報又は正常情報が受信されなかった場合、操作端末に対する自己の通信可能状態を解除すると共に、操作端末に関する処理動作を強制終了する。
【0027】
このように構成された測定システムにおいては、操作端末は、操作情報を測定器へ送信していない期間においては、一定時間間隔で測定器へ正常情報を送信している。したがって、測定器としては、この正常情報の受信を確認することによって、操作端末の現在の状態を把握できる。そして、操作端末との間における通信不実施状態が検出されると、操作端末に対する通信可能状態を解除すると共に、操作端末に関する処理動作を強制終了している。よって、測定器の処理負担を軽減できる。
【0028】
【発明の実施の形態】
以下、本発明の一実施形態を図面を用いて説明する。
図1は実施形態に係る測定システムの概略構成を示す模式図である。通信システム5内に組込まれた中継局に含まれるルータ等の通信機器や中継局相互間で送受信されるデジタルデータ等の各測定対象6に対してそれぞれ測定器7が接続されている。各測定器7は、ネットワークとしてのインターネット8に接続されている。このインターネット8に対して、例えばメンテナンス会社の各事務所等に設置された複数の操作端末9が接続されている。
【0029】
各操作端末9は、例えば、市販のパーソナル・コンピュータに対してインターネット8を介して各測定器7と情報交換を実施するためのブラウザが組込まれ、さらに、測定器7を遠隔操作するための操作プログラム(アプリケーション・プログラム)が組込まれている。
【0030】
さらに、この各操作端末9は、自己が記憶している操作プログラムを用いて、中間に存在するインターネット8を意識することなく測定器7を操作できる環境を形成するために、測定器7との間でTCP/IPのソケット通信を用いて情報交換を実施するようにしている。
【0031】
次に、各測定器7の構成を説明する。
図2(a)に示すように、測定器7の正面10aには、GUI(グラフィカル・ユーザ・インタフェース)の一部を構成する表示器11及び操作パネル12が設けられている。測定器7の裏面10bには、図2(b)に示すように、カード状の測定モジュール13を装着するための5個のスロット(挿入口)14が形成されている。さらに、この裏面10bには、この測定器7をインターネット8に接続するための接続端子15が設けられている。
【0032】
操作者(測定者)は、通信機器やデジタルデータ等の自己が測定を実施しようとする測定対象6の仕様や規格に合致した物理的インタフェースや通信プロトコルが搭載されている測定モジュール13を、任意のスロット(挿入口)14に装着し、この測定モジュール14の入出力端子に測定対象6を接続する。さらに、接続端子15にインターネット8の信号線を接続して、測定準備作業を終了する。
【0033】
図3は、測定器7の概略構成を示すブロック図である。
図3に示すように、この測定器7は、大きく分けて、前述した測定器7の正面10aに設けられた表示器11及び操作パネル12からなるGUI17が組込まれた装置内操作端末16と、この装置内操作端末16に対してLAN22を介して接続された測定器本体7aとで構成されている。
【0034】
この装置内操作端末16は、通信機器単独の測定を実施する場合等において、この測定器7を直接操作者(測定者)が操作する場合に使用される。
【0035】
測定器本体7aは、前記各測定モジュール13が装着される測定実施部18と通信処理部19とで構成されている。測定実施部18内には、測定実施部18が測定モジュール13を介して各測定対象6に対して測定を実施して得られる各測定データを一時的に記憶する測定データメモリ20と、装置内操作端末16を含む接続状態の各操作端末9、16に関する各ワーク領域が形成された操作端末テーブル21が形成されている。
【0036】
この測定実施部18は、装置内操作端末16を含む各操作端末9、16から指定された測定項目を同じく指定された測定条件で、指定された測定対象6に対して測定を実行し、得られた各測定データを時系列的に測定データメモリ20へ一旦書込む。そして、各操作端末9、16の指定したタイミング又は周期で、測定データメモリ20に書込まれた測定データを読出して、指定された処理を実施し、操作端末テーブル21の対応するワーク領域に書込む。そして、指定したタイミング又は周期で、ワーク領域に書込まれた測定データを読出して、通信処理部19を介して測定要求元の操作端末9、16へ送信する。
【0037】
さらに、この測定実施部18は、測定対象6に何らかの異常を検出すると、異常検出情報を測定要求元の操作端末9、16へ送信する。
【0038】
通信処理部19は、LAN22、接続端子18、インターネット8を介して接続される装置内操作端末16、操作端末9との間で前述したTCP/IPのソケット通信を用いて情報交換を実施する。
【0039】
このように構成された測定システムにおける各操作端末9は、図4に示す流れ図に従って、各測定器7に対して遠隔操作で測定対象6に対する測定操作を実施させる。
【0040】
操作者が接続先を指定した測定器7に対する接続指示が操作入力されると(S1)、インターネット8を介して、指定された測定器7にアクセスを実施する(S2)。指定された測定器7との間でTCP/IPを用いたトランスポート層上での接続が完了すると、図7に示した手順で、指定された測定器7との間におけるソケット通信手続きを開始する(S3)。そして、指定された測定器7との間でソケット通信による通信可能状態に移行すると(S4)、タイマにおける操作情報の送信終了からの経過時間Taをリセット(初期化)する(Ta=0)(S5)。
【0041】
操作者が測定終了指示を操作入力せずに(S6)、測定データが接続先の測定器7から受信すると(S7)、この受信した測定データを自己の記憶部に記憶された測定プログラムに基づいてデータ処理を実施する(S8)。さらに、操作者が測定器7に対する操作情報を操作入力すると(S9)、この操作情報を測定器7へ送信する(S10)。そして、S5へ戻り、タイマにおける操作情報の送信終了からの経過時間Taをリセット(初期化)する(Ta=0)。
【0042】
S9にて、操作者が測定器7に対する操作情報を操作入力せずに、S11にて、タイマにおける操作情報の送信終了からの経過時間Taが予め定められた一定時間Tmaを越えていなければ、S6へ戻る。S11にて、タイマにおける操作情報の送信終了からの経過時間Taが予め定められた一定時間Tmaを越えると、操作端末が正常である旨の正常情報を測定器7へ送信する(S12)。そして、S5へ戻り、タイマにおける操作情報の送信終了からの経過時間Taをリセット(初期化)する(Ta=0)。
【0043】
また、S6にて、操作者が測定終了指示を操作入力すると、自己の操作端末9と接続先の測定器7との間で形成されているソケット通信を終了させるクロース処理を実施する(S13)。
【0044】
なお、この図4に流れ図における測定器7は正確には、図3の測定器本体7aを示すが、この測定器7を、インターネット8を介して遠隔操作を実施する場合は、装置内操作端末16は電源投入されていないので、測定器7に入出力される各情報は直接測定器本体7aへ入力される。
【0045】
すなわち、操作端末9は、インターネット8を介して接続された測定器7との間でソケット通信での通信可能状態において、測定器7に対する一つの操作情報の送信終了から次の操作情報の送信開始までの期間において一定時間Ta経過する毎に測定器7に対して正常情報を送信する。
【0046】
なお、操作端末9は、操作情報や正常情報を測定器7へ送信したが、測定器7から正常応答(ACK)が受信されないと、再送信を実施し、この再送信でも正常応答(ACK)が受信されないと、所定のエラー処理を実施するとともに、原因究明処理を自動実地し、回線復旧を試みる。したがって、操作端末9としては、操作端末9と間で通信異常が生じたことを直ちに把握できる。
【0047】
また、測定器7の通信処置部19及び測定実施部18は、装置内操作端末16の電源が投入されていない状態において、図5の流れ図に従って、各操作端末9との間で通信処理を実施する。
【0048】
一つの操作端末9からインターネット8を介して接続要求があると(Q1)、該当操作端末9との間で、ソケット通信手続きを開始する(Q2)。接続要求元の操作端末9との間で、ソケット通信における通信可能状態に移行すると(Q3)、タイマにおける操作情報又は正常情報の受信時刻からの経過時間Tbをリセット(初期化)する(Tb=0)(Q4)。
【0049】
接続先の操作端末9から通信終了通知が入力せずに(Q5)、該当操作端末9への測定データの送信タイミングが到来すると(Q6)、操作端末テーブル21の該当操作端末9のワーク領域に記憶された測定データを読出して該当操作端末9へ送信する(Q7)。
【0050】
接続先の操作端末9から操作情報が入力すると(Q8)、この操作情報が示す測定処理を実行する(Q9)。そして、Q4へ戻り、操作情報又は正常情報の受信時刻からの経過時間Tbをリセット(初期化)する(Tb=0)。
【0051】
また、Q8にて、接続先の操作端末9から操作情報が入力されなく、Q10にて、接続先の操作端末9から正常情報が入力されると、Q4へ戻り、操作情報又は正常情報の受信時刻からの経過時間Tbをリセット(初期化)する(Tb=0)。
【0052】
さらに、接続先の操作端末9から操作情報及び正常情報が入力されなく、Q11にて、タイマにおける操作情報又は正常情報の受信時刻からの経過時間Tbが前記一定時間Tmaを越える予め定められた猶予時間Tmbを越えていなければ、Q6へ戻る。Q11にて、タイマにおける操作情報又は正常情報の受信時刻からの経過時間Tbが猶予時間Tmbを越えると、該当操作端末9との間で通信不実行状態になったと判断する。
【0053】
そして、測定実施部18で実行中の該当操作端末9のみが実行指示している測定項目の測定を中止し、該当操作端末9のみが実行指示している測定データのデータ処理を中止し、さらに、操作端末テーブル21内の該当操作端末9のワーク領域をクリアする(Q12)。その後、該当操作端末9との間に形成されている回線を強制遮断する(Q13)。
【0054】
すなわち、測定器7は、インターネット8を介して接続された操作端末9との間でソケット通信での通信可能状態において、正常情報の送信間隔である一定期間Tmaを越える猶予時間Tmbが経過しても、操作端末9から操作情報又は正常情報が受信されなかった場合、即座に操作端末9に対する通信可能状態を解除すると共に、操作端末9に関する処理動作を強制終了する。
【0055】
このように、測定器7は、常に操作端末9との間の通信状態を監視し、通信不実行状態になると、該当操作端末9に関する測定を含む各種の処理動作を強制終了するとともに、該当操作端末9に関する記憶情報もクリアしている。
【0056】
したがって、測定器7は、操作端末9に通知できない無駄な処理動作を省略できるので、処理負担を大幅に軽減できる。さらに、必要な記憶容量を低減でき、測定器7のリソースをより有効に使用できる。
【0057】
【発明の効果】
以上説明したように、本発明の測定システムにおいては、操作端末から測定器に一定時間間隔で正常情報を送出している。したがって、測定器としては、常に操作端末の接続状態を把握でき、通信不実施の操作端末に関する無駄な処理を中止して測定器の処理負担を軽減でき、かつメモリ等の測定器のリソースを有効に使用できる
【図面の簡単な説明】
【図1】本発明の一実施形態に係わる測定システムの概略構成図
【図2】同実施形態の測定システムに組込まれた測定器の外観図
【図3】同実施形態の測定システムに組込まれた測定器の概略構成を示すブロック図
【図4】同実施形態の測定システムに組込まれた操作端末の動作を示す流れ図
【図5】同実施形態の測定システムに組込まれた測定器の動作を示す流れ図
【図6】従来の測定システムの概略構成図
【図7】操作端末と測定器との間で形成されるTCP/IPのソケット通信の形成手順を示すシーケンス図
【符号の説明】
5…通信システム
6…測定対象
7…測定器
8…インターネット
9…操作端末
13…測定モジュール
16…装置内操作端末
18…測定実施部
19…通信処理部
20…測定データメモリ
21…操作端末テーブル
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a measurement system for measuring the performance of various communication devices incorporated in various communication networks such as the Internet and the data quality of digital data transmitted and received between communication devices. The present invention relates to a measurement system for remotely controlling a measuring device for measuring characteristics of a measurement object of digital data with an operation terminal connected via a network.
[0002]
[Prior art]
To measure and grasp the performance of various communication devices incorporated in various communication networks including the Internet and the data quality of digital data transmitted and received between communication devices, it is possible to develop new communication devices, This is an important item that is indispensable when building a new communication network. It is also an indispensable item in the maintenance and management of operating communication devices and communication networks.
[0003]
In particular, when performing maintenance and management of operating communication equipment and communication networks, since the measurement target is built into the communication system, it is necessary to install a measuring instrument for measuring the characteristics of the measurement target in the communication system. There is. Some measurement items of the characteristics of the measurement target require a long period of time for the measurement. Since a measurer (operator) cannot stay at the measurement site for a long period of time, a measurement system has been proposed in which this measurer is remotely controlled by an operation terminal connected via a network.
[0004]
FIG. 6 is a schematic diagram showing a measurement system using such a network. A measuring instrument 2 for measuring characteristics of the measuring object 1 is connected to the measuring object 1 incorporated in various communication systems. The measuring device 2 is connected to the Internet 3 which is a kind of network. A plurality of operation terminals 4 installed in, for example, each office of a maintenance company are connected to the Internet 3.
[0005]
Each operation terminal 4 incorporates, for example, a browser for exchanging information with the measuring instrument 2 via the Internet 3 with a commercially available personal computer, and further, an operation for remotely operating the measurement target 1. A program (application program) is incorporated.
[0006]
In order to form an environment in which each of the operation terminals 4 can operate the measuring instrument 2 without being conscious of the Internet 3 existing therebetween, using an operation program which is an application program stored therein, The information is exchanged between the communication device 4 and the measuring device 2 using socket communication of TCP / IP (Transmission Control Protocol / Internet Protocol). The “socket” is an API (Application Programming Interface) for performing inter-process communication on a transport layer in an OSI (Open Systems Interconnection) reference model in a TCP / IP network.
[0007]
In a state where the operation terminal 4 and the measuring instrument 2 are connected on the transport layer via the Internet 3, the start and end of the socket communication are executed in accordance with the sequence shown in FIG.
[0008]
First, the operation terminal 4 and the measuring device 2 each create a socket indicating a connection point (connection port) for communication by a “socket” system call. The name of each socket is given by the “bind” system call, and the operation terminal 4 measures its own socket by the “connect” system call via the “listen (connection acceptance setting)” system call on the measuring device 2 side. Connect to the socket of the container 2.
[0009]
With the above processing operations, the operation terminal 4 and the measuring device 2 are in a communicable state. In this communicable state, actual information is transmitted and received between the operation terminal 4 and the measuring device 2 by a “read / write” system call.
[0010]
Then, the socket communication is terminated by a “close” system call of the operation terminal 4 or the measuring device 2.
[0011]
The measuring device 2 can maintain a communicable state in parallel for each operation terminal 4 using the above-described socket communication.
[0012]
In the measurement system having such a configuration, in a state where the operation terminal 4 and the measuring device 2 can communicate with each other in the socket communication, the operation terminal 4 transmits various measurement items and measurement conditions for the measurement target 1 to the measuring device 2. Send.
[0013]
When receiving the measurement instruction indicating the measurement item and the measurement condition from the operation terminal 4, the measurement device 2 secures a work area corresponding to the operation terminal 4 that is the measurement request source in its own storage device. Then, the measurement of the measurement item specified by the measurement condition specified for the measurement target 1 is performed. The obtained measurement data is written in the work area corresponding to the operation terminal 4 created earlier. The measurement data written in time series in the work area is collectively transmitted at regular intervals to the operation terminal 4 that is the measurement request source, and the measurement data is transmitted to the operation terminal 4 in response to a transmission request from the operation terminal 4. Was sent to. When detecting any abnormality in the measurement target 1, the measuring device 2 transmits abnormality detection information to the operation terminal 4.
[0014]
[Problems to be solved by the invention]
However, the following problems still need to be improved in a measurement system in which the above-described measuring device 2 is remotely controlled from the operation terminal 4 using TCP / IP socket communication.
[0015]
That is, since the measuring device 2 can generally measure a large number of measurement items on the measurement target 1 at the same time, the measurement device 2 simultaneously measures the measurement items specified by the plurality of operation terminals 4. Therefore, a large number of work areas are secured for each operation terminal 4 in the storage unit.
[0016]
When information is exchanged between the measuring instrument 2 and the operation terminal 4 in a state in which communication by socket communication is possible, the side that has received the information transmits a normal response (ACK) to the transmitting side when the information is normally received. I am trying to do it.
[0017]
Therefore, even if information is transmitted, if a normal response (ACK) is not received from the transmission destination, it is determined that a communication error has occurred, and retransmission is performed. If ACK is not received, predetermined error processing is performed, the cause investigation processing is automatically performed, and an attempt is made to restore the line. The processing when this normal response (ACK) is not received is complicated and diversified, so that the processing load on the information transmitting side increases.
[0018]
In this measurement system, the operation information transmitted from each operation terminal 4 to the measuring device 2 is basically performed according to the operation of the operator (measurer), and thus the transmission time is irregular.
[0019]
Therefore, when operation information is not received for a long time from each operation terminal 4 by the measuring device 2,
(A) The operation information was not actually transmitted from the operation terminal 4 (b) The terminal connecting the operation terminal 4 and the Internet 3 was disconnected (c) Since the operator of the operation terminal 4 completed the measurement, It can be assumed that the power is cut off without notifying the measuring device 2.
[0020]
However, the measuring device 2 continues the measurement of the measurement item specified by the operation terminal 4 and transmits the measurement data at the specified timing, or detects any abnormality in the measurement target 1 and transmits the abnormality detection information. At the time of transmission, notice a communication error. At this point, it is necessary to perform the above-described complicated processing when the normal response (ACK) is not received.
[0021]
However, since the measuring device 2 continuously measures the measurement items specified by the other operation terminals 4, if the number of operation terminals 4 for which operation information is not received for a long period increases, the measurement device 2 described above increases. The processing load when a normal response (ACK) is not received is increased.
[0022]
Furthermore, securing a work area for a large number of operation terminals 4 in a communication non-executing state in the storage unit has a problem that the required storage capacity of the storage unit increases.
[0023]
The present invention has been made in view of such circumstances, and by transmitting normal information indicating that the operation terminal is normal from the operation terminal to the measurement device, the measurement device always changes the connection state of the operation terminal. It is an object of the present invention to provide a measurement system capable of comprehending, canceling useless processing relating to an operation terminal for which communication is not performed, reducing the processing load on the measuring instrument, and effectively using resources of the measuring instrument such as a memory.
[0024]
[Means for Solving the Problems]
The present invention includes a measuring device for measuring characteristics of a measurement object related to data communication, and an operation terminal connected to the measuring device via a network and instructing the measuring device to perform various operation instructions. The present invention is applied to a measurement system that exchanges information with a terminal using TCP / IP socket communication.
[0025]
In order to solve the above-mentioned problem, the operation terminal in the measurement system of the present invention is set in a communication-enabled state with the measurement device by socket communication, and from the end of transmission of one operation information to the measurement device. The normal information indicating that the operation terminal is normal is transmitted to the measuring device every time a predetermined time elapses during a period until the start of transmission of the next operation information.
[0026]
Furthermore, the measuring instrument in the measuring system of the present invention is set to a state in which communication with the operation terminal is possible by socket communication, and even if a grace period exceeding a certain period elapses, operation information or normal information is transmitted from the operation terminal. When the information is not received, the self-communicable state with respect to the operation terminal is released, and the processing operation regarding the operation terminal is forcibly terminated.
[0027]
In the measurement system configured as described above, the operation terminal transmits normal information to the measuring device at regular time intervals during a period in which the operation information is not transmitted to the measuring device. Therefore, the measuring device can grasp the current state of the operation terminal by confirming reception of the normal information. Then, when a state in which communication with the operation terminal is not performed is detected, the state in which communication with the operation terminal is possible is released, and the processing operation regarding the operation terminal is forcibly terminated. Therefore, the processing load on the measuring instrument can be reduced.
[0028]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a schematic diagram illustrating a schematic configuration of the measurement system according to the embodiment. Measuring devices 7 are connected to communication devices such as routers included in the relay station incorporated in the communication system 5 and measurement objects 6 such as digital data transmitted and received between the relay stations. Each measuring device 7 is connected to the Internet 8 as a network. A plurality of operation terminals 9 installed in, for example, each office of a maintenance company are connected to the Internet 8.
[0029]
Each operation terminal 9 has, for example, a built-in browser for exchanging information with each measuring instrument 7 via the Internet 8 on a commercially available personal computer, and further has an operation for remotely operating the measuring instrument 7. A program (application program) is incorporated.
[0030]
Furthermore, each of the operation terminals 9 uses the operation program stored therein to form an environment in which the operation of the measurement device 7 can be performed without being conscious of the Internet 8 existing therebetween. Information is exchanged between them using TCP / IP socket communication.
[0031]
Next, the configuration of each measuring device 7 will be described.
As shown in FIG. 2A, a display 11 and an operation panel 12, which are part of a GUI (graphical user interface), are provided on a front face 10a of the measuring instrument 7. As shown in FIG. 2B, five slots (insertion holes) 14 for mounting a card-shaped measurement module 13 are formed on the back surface 10b of the measuring device 7. Further, a connection terminal 15 for connecting the measuring device 7 to the Internet 8 is provided on the back surface 10b.
[0032]
The operator (measurer) can freely install the measurement module 13 equipped with a physical interface or communication protocol that conforms to the specifications and standards of the measurement target 6, such as communication equipment or digital data, on which the operator intends to perform measurement. And the measurement object 6 is connected to the input / output terminal of the measurement module 14. Further, the signal line of the Internet 8 is connected to the connection terminal 15, and the measurement preparation operation is completed.
[0033]
FIG. 3 is a block diagram illustrating a schematic configuration of the measuring device 7.
As shown in FIG. 3, the measuring device 7 is roughly divided into an in-apparatus operation terminal 16 in which a GUI 17 including a display 11 and an operation panel 12 provided on a front face 10 a of the measuring device 7 is incorporated. The measuring device main body 7a is connected to the in-apparatus operation terminal 16 via the LAN 22.
[0034]
The in-apparatus operation terminal 16 is used when an operator (operator) directly operates the measuring device 7 in a case where a communication device alone is measured, for example.
[0035]
The measuring device main body 7a includes a measurement performing unit 18 to which each of the measurement modules 13 is mounted and a communication processing unit 19. The measurement execution unit 18 includes a measurement data memory 20 for temporarily storing measurement data obtained by the measurement execution unit 18 performing measurement on each measurement target 6 via the measurement module 13; An operation terminal table 21 is formed in which respective work areas for the operation terminals 9 and 16 in a connected state including the operation terminal 16 are formed.
[0036]
The measurement performing unit 18 measures the measurement items specified from the operation terminals 9 and 16 including the in-apparatus operation terminal 16 on the specified measurement target 6 under the same specified measurement conditions. The obtained measurement data is temporarily written to the measurement data memory 20 in time series. Then, at the timing or cycle specified by each of the operation terminals 9 and 16, the measurement data written in the measurement data memory 20 is read, the specified processing is performed, and the data is written to the corresponding work area of the operation terminal table 21. Put in. Then, at the designated timing or cycle, the measurement data written in the work area is read and transmitted to the operation requesting operation terminals 9 and 16 via the communication processing unit 19.
[0037]
Further, when the measurement execution unit 18 detects some abnormality in the measurement target 6, the measurement execution unit 18 transmits abnormality detection information to the operation terminals 9 and 16 that are the measurement request sources.
[0038]
The communication processing unit 19 performs information exchange between the LAN 22, the connection terminal 18, and the in-device operation terminal 16 and the operation terminal 9 connected via the Internet 8 by using the above-described TCP / IP socket communication.
[0039]
Each operation terminal 9 in the measurement system thus configured causes each measurement device 7 to perform a measurement operation on the measurement target 6 by remote control according to the flowchart shown in FIG.
[0040]
When an operator inputs a connection instruction to the measuring device 7 for which the connection destination is specified (S1), the specified measuring device 7 is accessed via the Internet 8 (S2). When the connection on the transport layer using TCP / IP with the designated measuring instrument 7 is completed, the socket communication procedure with the designated measuring instrument 7 is started by the procedure shown in FIG. (S3). Then, when the communication with the designated measuring device 7 is shifted to a communication enabled state by the socket communication (S4), the elapsed time Ta from the end of the transmission of the operation information by the timer is reset (initialized) (Ta = 0) (Ta = 0) ( S5).
[0041]
When the measurement data is received from the connected measuring instrument 7 (S7) without the operator inputting the measurement end instruction (S6), the received measurement data is based on the measurement program stored in its own storage unit. To perform data processing (S8). Further, when the operator inputs operation information on the measuring device 7 (S9), the operation information is transmitted to the measuring device 7 (S10). Then, returning to S5, the elapsed time Ta from the end of the transmission of the operation information by the timer is reset (initialized) (Ta = 0).
[0042]
In S9, if the operator does not input the operation information for the measuring device 7 and the elapsed time Ta from the end of the transmission of the operation information in the timer does not exceed the predetermined time Tma in S11, Return to S6. In S11, when the elapsed time Ta from the end of the transmission of the operation information by the timer exceeds a predetermined time Tma, normal information indicating that the operation terminal is normal is transmitted to the measuring device 7 (S12). Then, returning to S5, the elapsed time Ta from the end of the transmission of the operation information by the timer is reset (initialized) (Ta = 0).
[0043]
When the operator inputs a measurement end instruction in S6, a close process for terminating the socket communication formed between the operation terminal 9 of the operator and the measuring instrument 7 to be connected is performed (S13). .
[0044]
The measuring device 7 in the flow chart in FIG. 4 is exactly the measuring device main body 7a in FIG. 3. However, when the measuring device 7 is remotely controlled via the Internet 8, an operation terminal in the device is used. Since the power supply 16 is not turned on, each information input / output to / from the measuring instrument 7 is directly input to the measuring instrument main body 7a.
[0045]
That is, the operation terminal 9 starts transmission of one operation information to the measurement device 7 and starts transmission of the next operation information in a state where communication with the measurement device 7 connected via the Internet 8 is possible by socket communication. The normal information is transmitted to the measuring device 7 every time the predetermined time Ta elapses in the period up to.
[0046]
The operation terminal 9 transmits the operation information and the normal information to the measuring device 7, but if a normal response (ACK) is not received from the measuring device 7, the operation terminal 9 performs retransmission, and the normal response (ACK) is performed even in the retransmission. If is not received, predetermined error processing is performed, the cause investigation processing is automatically performed, and an attempt is made to restore the line. Therefore, the operation terminal 9 can immediately recognize that a communication abnormality has occurred with the operation terminal 9.
[0047]
Further, the communication processing unit 19 and the measurement execution unit 18 of the measuring device 7 perform communication processing with each operation terminal 9 according to the flowchart of FIG. 5 in a state where the power of the operation terminal 16 in the apparatus is not turned on. I do.
[0048]
When there is a connection request from one operating terminal 9 via the Internet 8 (Q1), a socket communication procedure is started with the operating terminal 9 (Q2). When a transition is made to the communication enabled state in the socket communication with the operation terminal 9 of the connection request source (Q3), the elapsed time Tb from the reception time of the operation information or the normal information in the timer is reset (initialized) (Tb = 0) (Q4).
[0049]
When the communication end notification is not input from the operation terminal 9 of the connection destination (Q5), and the timing of transmitting the measurement data to the operation terminal 9 comes (Q6), the work area of the operation terminal 9 in the operation terminal table 21 becomes available. The stored measurement data is read and transmitted to the corresponding operation terminal 9 (Q7).
[0050]
When operation information is input from the operation terminal 9 of the connection destination (Q8), a measurement process indicated by the operation information is executed (Q9). Then, the process returns to Q4 to reset (initialize) the elapsed time Tb from the reception time of the operation information or the normal information (Tb = 0).
[0051]
Also, in Q8, if no operation information is input from the operation terminal 9 of the connection destination, and if normal information is input from the operation terminal 9 of the connection destination in Q10, the process returns to Q4, and the operation information or normal information is received. The elapsed time Tb from the time is reset (initialized) (Tb = 0).
[0052]
Further, the operation information and the normal information are not input from the operation terminal 9 of the connection destination, and the predetermined time Tb, at which the elapsed time Tb from the reception time of the operation information or the normal information in the timer exceeds the predetermined time Tma, is inputted in Q11. If the time has not exceeded Tmb, the process returns to Q6. In Q11, when the elapsed time Tb from the reception time of the operation information or the normal information in the timer exceeds the grace time Tmb, it is determined that the communication with the corresponding operation terminal 9 has been disabled.
[0053]
Then, the measurement of the measurement item whose execution is instructed only by the corresponding operation terminal 9 being executed by the measurement execution unit 18 is stopped, and the data processing of the measurement data whose execution is instructed only by the corresponding operation terminal 9 is stopped. Then, the work area of the corresponding operation terminal 9 in the operation terminal table 21 is cleared (Q12). Thereafter, the line formed with the corresponding operation terminal 9 is forcibly cut off (Q13).
[0054]
That is, in a state where the measuring device 7 can communicate with the operation terminal 9 connected via the Internet 8 by the socket communication, the grace period Tmb exceeding the predetermined period Tma which is the transmission interval of the normal information has elapsed. Also, when the operation information or the normal information is not received from the operation terminal 9, the communicable state for the operation terminal 9 is immediately released, and the processing operation regarding the operation terminal 9 is forcibly terminated.
[0055]
As described above, the measuring device 7 always monitors the communication state with the operation terminal 9, and when the communication terminal is in the communication non-execution state, forcibly terminates various processing operations including the measurement related to the operation terminal 9, and The stored information on the terminal 9 is also cleared.
[0056]
Therefore, the measuring device 7 can omit useless processing operations that cannot be notified to the operation terminal 9, and can greatly reduce the processing load. Further, the required storage capacity can be reduced, and the resources of the measuring device 7 can be used more effectively.
[0057]
【The invention's effect】
As described above, in the measurement system of the present invention, normal information is transmitted from the operation terminal to the measuring device at regular time intervals. Therefore, as a measuring device, the connection state of the operating terminal can be always grasped, unnecessary processing for the operating terminal that does not perform communication can be stopped, the processing load on the measuring device can be reduced, and resources of the measuring device such as memory can be used effectively. [Brief description of drawings]
FIG. 1 is a schematic configuration diagram of a measurement system according to an embodiment of the present invention. FIG. 2 is an external view of a measurement device incorporated in the measurement system of the embodiment. FIG. 3 is incorporated in the measurement system of the embodiment. FIG. 4 is a block diagram showing a schematic configuration of the measuring device shown in FIG. 4. FIG. 5 is a flowchart showing an operation of an operation terminal incorporated in the measuring system of the embodiment. FIG. 5 shows an operation of the measuring device incorporated in the measuring system of the embodiment. FIG. 6 is a schematic configuration diagram of a conventional measurement system. FIG. 7 is a sequence diagram showing a procedure for forming TCP / IP socket communication formed between an operation terminal and a measuring instrument.
5 Communication system 6 Measurement object 7 Measurement device 8 Internet 9 Operation terminal 13 Measurement module 16 In-device operation terminal 18 Measurement execution unit 19 Communication processing unit 20 Measurement data memory 21 Operation terminal table

Claims (1)

データ通信に関する測定対象(6)の特性を測定する測定器(7)と、この測定器に対してネットワーク(8)を介して接続され前記測定器に対して各種操作指示を行う操作端末(9)とを備え、前記測定器と前記操作端末との間でTCP/IPのソケット通信を用いて情報交換を行う測定システムにおいて、
前記操作端末(9)は、前記測定器との間でソケット通信での通信可能状態に設定されていて、前記測定器に対する一つの操作情報の送信終了から次の操作情報の送信開始までの期間において一定時間経過する毎に前記測定器に対して前記操作端末が正常である旨の正常情報を送信し、
前記測定器(7)は、前記操作端末との間でソケット通信での通信可能状態に設定されていて、前記一定期間を越える猶予時間が経過しても、前記操作端末から操作情報又は正常情報が受信されなかった場合、前記操作端末に対する自己の通信可能状態を解除すると共に、前記操作端末に関する処理動作を強制終了することを特徴とする測定システム。
A measuring device (7) for measuring characteristics of a measurement target (6) relating to data communication, and an operation terminal (9) connected to the measuring device via a network (8) and giving various operation instructions to the measuring device ), Wherein information is exchanged between the measuring device and the operation terminal using TCP / IP socket communication.
The operation terminal (9) is set in a communication-enabled state with the measuring device by socket communication, and is a period from the end of transmission of one operation information to the measuring device to the start of transmission of the next operation information. Transmits normal information to the effect that the operation terminal is normal to the measuring device every time a predetermined time elapses,
The measuring device (7) is set in a state in which communication with the operation terminal by socket communication is enabled, and even if a grace period exceeding the predetermined period elapses, operation information or normal information is transmitted from the operation terminal. If no is received, the measurement system releases its own communicable state with respect to the operation terminal and forcibly terminates processing operations relating to the operation terminal.
JP2001232100A 2001-07-31 2001-07-31 Measurement system Expired - Fee Related JP3539941B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001232100A JP3539941B2 (en) 2001-07-31 2001-07-31 Measurement system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001232100A JP3539941B2 (en) 2001-07-31 2001-07-31 Measurement system

Publications (2)

Publication Number Publication Date
JP2003046599A JP2003046599A (en) 2003-02-14
JP3539941B2 true JP3539941B2 (en) 2004-07-07

Family

ID=19064069

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001232100A Expired - Fee Related JP3539941B2 (en) 2001-07-31 2001-07-31 Measurement system

Country Status (1)

Country Link
JP (1) JP3539941B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7996524B2 (en) 2006-04-13 2011-08-09 International Business Machines Corporation Controlling external communication of embedded device using proxy server
JP5115208B2 (en) * 2008-01-21 2013-01-09 富士通株式会社 MEASUREMENT / TEST ACCESS CONTROL DEVICE AND METHOD, AND ITS PROGRAM
JP5551299B1 (en) * 2013-10-07 2014-07-16 ソフトバンクテレコム株式会社 Measuring system, measuring instrument and measuring method

Also Published As

Publication number Publication date
JP2003046599A (en) 2003-02-14

Similar Documents

Publication Publication Date Title
US20080279202A1 (en) Integrated Gateway for Distributed Home Network and Software Framework Structure for the Same
JP3570968B2 (en) Router device
JP3539941B2 (en) Measurement system
JPH1146196A (en) Communication equipment, communication terminal equipment and program recording medium
JP2000293272A (en) Unit and method for power supply control over common equipment
JPS61265937A (en) Method for avoiding collision of call in local network
CN205847321U (en) A kind of information transmitting terminal based on Linux system
JP3356809B2 (en) LAN fault monitoring apparatus, LAN fault monitoring system, and logging data collection method therefor
JP2001036649A (en) Central transmitter for data collection system, the data collection system and automatic meter reading system
JP2001177508A (en) Radio communication equipment
KR20130031891A (en) Method and system for processing a plurality of radiofrequency communication streams by way of an integrated circuit card
JP2003044438A (en) Measurement system
JP3501650B2 (en) Programmable controller network system
Zhou Design and Implementation of PROFIBUS DPV0 Master Software
JP2594663B2 (en) Terminal network controller
JPS5811146B2 (en) Communication method using polling emulator
KR0143970B1 (en) Telecommunication part control system
JPH05248692A (en) Relay communication equipment for air conditioner
JP2002141929A (en) Lan connection device
JPH0764472A (en) Remote i/o system of programmable controller
JP2001292243A (en) Remote monitor and control system and remote monitor and control method for the same
JPH04301945A (en) High efficiency multicast system
CN117579418A (en) Master-slave self-adaptive communication system based on RS485 bus and communication method thereof
JPH08163133A (en) Digital radio communication system
JP2001197219A (en) Data transmitter-receiver

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040219

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040323

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20090402

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090402

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100402

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110402

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120402

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130402

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees