JP2003046599A - Measurement system - Google Patents

Measurement system

Info

Publication number
JP2003046599A
JP2003046599A JP2001232100A JP2001232100A JP2003046599A JP 2003046599 A JP2003046599 A JP 2003046599A JP 2001232100 A JP2001232100 A JP 2001232100A JP 2001232100 A JP2001232100 A JP 2001232100A JP 2003046599 A JP2003046599 A JP 2003046599A
Authority
JP
Japan
Prior art keywords
operation terminal
measurement
communication
information
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2001232100A
Other languages
Japanese (ja)
Other versions
JP3539941B2 (en
Inventor
Akio Akiyama
秋生 秋山
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

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a measurement system that relieves processing load on a measurement device. SOLUTION: The measurement system is provided with a measurement device 7, that measures characteristics of a measurement object 6 with respect to data communication, an operation terminal 9 connected to the measurement device via a network 8 and applying various operation instructions to the measurement device, and uses socket communication, adopting the TCP/IP to exchange information between the measurement device and the operation terminal, and the operation terminal transmits normal information to the measurement device for a lapse of a prescribed time for a period from the end of transmission of the operation information to the measurement, device, until the start of the transmission of the succeeding operation information in a communication enabled state in the socket communication, with respect to the measurement device. In the communication enabled state by the socket communication between the measurement device and the operation terminal, when the measurement device cannot receive operation information or normal information from the operation terminal, even after the lapse of a margin time in excess of a prescribed period, the communication enabled state to the operation terminal is released, and the processing over the operation terminal is forcibly terminated.

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(Transmis
sion Control Protocol/Internet Protocol)のソケッ
ト通信を用いて情報交換を実施するようにしている。こ
の「ソケット」は、TCP/IPネットワーク内のOS
I(Open Systems Interconnection)参照モデルにおけ
るトランスポート層上で、プロセス間通信を実施するA
PI(Application Programming Interface)である。 【0007】操作端末4と測定器2とがインターネット
3を介して、トランスポート層上で接続された状態にお
いて、図7に示すシーケンスに従って、ソケット通信の
起動、終了を実行する。 【0008】先ず、操作端末4と測定器2とが「soc
ket」のシステムコールで、通信のための接続点(接
続ポート)を示すソケットをそれぞれ作成する。「bi
nd」のシステムコールでそれぞれのソケットの名前を
つけ、測定器2側の「listen(接続受付設定)」
のシステムコールを経て、操作端末4が「connec
t」のシステムコールで自己のソケットを測定器2のソ
ケットに接続する。 【0009】以上の処理動作で、操作端末4と測定器2
とは通信可能状態となる。この通信可能状態において、
「read/write」のシステムコールで、実際の
情報が操作端末4と測定器2と間で送受信される。 【0010】そして、操作端末4又は測定器2の「cl
ose」のシステムコールでこのソケット通信を終了す
る。 【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)が受信されないと、
所定のエラー処理を実施するとともに、原因究明処理を
自動実地し、回線復旧を試みる。この正常応答(AC
K)が受信されなかった場合における処理は複雑多岐に
亘るので、情報の送信側の処理負担が増大する。 【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には、GU
I(グラフィカル・ユーザ・インタフェース)の一部を
構成する表示器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と、この装置内操作端末1
6に対してLAN22を介して接続された測定器本体7
aとで構成されている。 【0034】この装置内操作端末16は、通信機器単独
の測定を実施する場合等において、この測定器7を直接
操作者(測定者)が操作する場合に使用される。 【0035】測定器本体7aは、前記各測定モジュール
13が装着される測定実施部18と通信処理部19とで
構成されている。測定実施部18内には、測定実施部1
8が測定モジュール13を介して各測定対象6に対して
測定を実施して得られる各測定データを一時的に記憶す
る測定データメモリ20と、装置内操作端末16を含む
接続状態の各操作端末9、16に関する各ワーク領域が
形成された操作端末テーブル21が形成されている。 【0036】この測定実施部18は、装置内操作端末1
6を含む各操作端末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へ戻る。S1
1にて、タイマにおける操作情報の送信終了からの経過
時間Taが予め定められた一定時間Tmaを越えると、
操作端末が正常である旨の正常情報を測定器7へ送信す
る(S12)。そして、S5へ戻り、タイマにおける操
作情報の送信終了からの経過時間Taをリセット(初期
化)する(Ta=0)。 【0043】また、S6にて、操作者が測定終了指示を
操作入力すると、自己の操作端末9と接続先の測定器7
との間で形成されているソケット通信を終了させるクロ
ース処理を実施する(S13)。 【0044】なお、この図4に流れ図における測定器7
は正確には、図3の測定器本体7aを示すが、この測定
器7を、インターネット8を介して遠隔操作を実施する
場合は、装置内操作端末16は電源投入されていないの
で、測定器7に入出力される各情報は直接測定器本体7
aへ入力される。 【0045】すなわち、操作端末9は、インターネット
8を介して接続された測定器7との間でソケット通信で
の通信可能状態において、測定器7に対する一つの操作
情報の送信終了から次の操作情報の送信開始までの期間
において一定時間Ta経過する毎に測定器7に対して正
常情報を送信する。 【0046】なお、操作端末9は、操作情報や正常情報
を測定器7へ送信したが、測定器7から正常応答(AC
K)が受信されないと、再送信を実施し、この再送信で
も正常応答(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にて、タイマにお
ける操作情報又は正常情報の受信時刻からの経過時間T
bが前記一定時間Tmaを越える予め定められた猶予時
間Tmbを越えていなければ、Q6へ戻る。Q11に
て、タイマにおける操作情報又は正常情報の受信時刻か
らの経過時間Tbが猶予時間Tmbを越えると、該当操
作端末9との間で通信不実行状態になったと判断する。 【0053】そして、測定実施部18で実行中の該当操
作端末9のみが実行指示している測定項目の測定を中止
し、該当操作端末9のみが実行指示している測定データ
のデータ処理を中止し、さらに、操作端末テーブル21
内の該当操作端末9のワーク領域をクリアする(Q1
2)。その後、該当操作端末9との間に形成されている
回線を強制遮断する(Q13)。 【0054】すなわち、測定器7は、インターネット8
を介して接続された操作端末9との間でソケット通信で
の通信可能状態において、正常情報の送信間隔である一
定期間Tmaを越える猶予時間Tmbが経過しても、操
作端末9から操作情報又は正常情報が受信されなかった
場合、即座に操作端末9に対する通信可能状態を解除す
ると共に、操作端末9に関する処理動作を強制終了す
る。 【0055】このように、測定器7は、常に操作端末9
との間の通信状態を監視し、通信不実行状態になると、
該当操作端末9に関する測定を含む各種の処理動作を強
制終了するとともに、該当操作端末9に関する記憶情報
もクリアしている。 【0056】したがって、測定器7は、操作端末9に通
知できない無駄な処理動作を省略できるので、処理負担
を大幅に軽減できる。さらに、必要な記憶容量を低減で
き、測定器7のリソースをより有効に使用できる。 【0057】 【発明の効果】以上説明したように、本発明の測定シス
テムにおいては、操作端末から測定器に一定時間間隔で
正常情報を送出している。したがって、測定器として
は、常に操作端末の接続状態を把握でき、通信不実施の
操作端末に関する無駄な処理を中止して測定器の処理負
担を軽減でき、かつメモリ等の測定器のリソースを有効
に使用できる
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to the performance of various communication devices incorporated in various communication networks such as the Internet, and digital data transmitted and received between the communication devices. In particular, the present invention relates to a measurement system for remotely controlling a communication device or a measuring device for measuring characteristics of a measurement target of digital data by an operation terminal connected via a network. 2. Description of the Related Art It is new to measure and understand 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 the communication devices. This is an important item that is indispensable when developing communication devices or constructing new communication networks. 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 devices and communication networks, the measuring object is incorporated in the communication system. Therefore, a measuring instrument for measuring the characteristic of the measuring object is also included in the communication system. Need to be installed. Some measurement items of the characteristics of the measurement target require a long period of time for the measurement. For a long time,
Since it is not possible to be stationed at the measurement site, a measurement system has been proposed in which this measurement device is remotely controlled by an operation terminal connected via a network. 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. This 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] In each operation terminal 4, for example, a browser for exchanging information with the measuring instrument 2 via the Internet 3 with a commercially available personal computer is incorporated, and further, the measurement object 1 is remotely operated. Operation program (application program) is installed. 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. ,
Between the operation terminal 4 and the measuring instrument 2, TCP / IP (Transmis
Information exchange is performed using socket communication of the sion control protocol / Internet Protocol). This "socket" is the OS in the TCP / IP network
A that performs inter-process communication on the transport layer in the I (Open Systems Interconnection) reference model
PI (Application Programming Interface). In a state where the operation terminal 4 and the measuring device 2 are connected on the transport layer via the Internet 3, activation and termination 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 are connected to the "soc"
A socket indicating a connection point (connection port) for communication is created by a "ket" system call. "Bi
nd ", the name of each socket is given by the system call, and" listen (connection acceptance setting) "on the measuring instrument 2 side
After the system call described above, the operation terminal 4
The own socket is connected to the socket of the measuring device 2 by the system call of "t". With the above processing operation, the operation terminal 4 and the measuring device 2
Becomes a communicable state. In this communicable state,
By a “read / write” system call, actual information is transmitted and received between the operation terminal 4 and the measuring device 2. Then, "cl" of the operation terminal 4 or the measuring instrument 2
The socket communication is terminated by the system call "ose". The measuring device 2 can maintain a communicable state for each operation terminal 4 in parallel using the above-described socket communication. 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. [0013] When receiving the measurement instruction indicating the measurement item and the measurement condition from the operation terminal 4, the measuring device 2 secures a work area corresponding to the operation request source operation terminal 4 in its 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. However, a measuring system in which the above-described measuring device 2 is remotely controlled from the operation terminal 4 by using TCP / IP socket communication still needs to be improved. There were the following issues. That is, since the measuring device 2 can generally measure a large number of measurement items for the measurement target 1 at the same time, it measures the measurement items specified by the plurality of operation terminals 4 at the same time. Therefore, a large number of work areas are secured for each operation terminal 4 in the storage unit. In a state where socket communication is possible,
When information is exchanged between the measuring device 2 and the operation terminal 4, the side that has received the information transmits a normal response (ACK) to the transmitting side when the information is normally received. Therefore, if the transmission side does not receive a normal response (ACK) from the transmission destination even after transmitting the information, it determines that a communication abnormality has occurred and retransmits the information.
If a normal response (ACK) is not received even with this retransmission,
In addition to performing predetermined error processing, it automatically performs the cause investigation processing and attempts to restore the line. This normal response (AC
Since the processing when K) is not received is complicated and diverse, the processing load on the information transmitting side increases. In this measuring system, the operation information transmitted from each operation terminal 4 to the measuring device 2 is implemented in principle according to the operation of the operator (measurer), so that the transmission time is irregular. . Therefore, when the measuring device 2 does not receive the operation information from each operation terminal 4 for a long period of time, (a) the operation information is not actually transmitted from the operation terminal 4 (b) the operation terminal 4 (C) The terminal for connecting the terminal 3 and the Internet 3 has been disconnected.
It can be assumed that the power is cut off without notifying the measuring device 2. 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 detects an abnormality. When you send the detection information,
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. However, since the measuring instrument 2 continuously measures the measurement items specified by the other operation terminals 4,
When the number of operation terminals 4 from which operation information is not received for a long period of time increases, the processing load at the time of not receiving the above-mentioned normal response (ACK) increases. Further, 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. 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 has the operation terminal. It is an object of the present invention to provide a measurement system capable of grasping a connection state, canceling unnecessary processing relating to an operation terminal in which communication is not performed, reducing a processing load on the measurement instrument, and effectively using resources of the measurement instrument such as a memory. And According to the present invention, there is provided a measuring instrument for measuring characteristics of a measuring object relating to data communication, and a variety of operation instructions to the measuring instrument which are connected to the measuring instrument via a network. And an operation terminal for performing information exchange between the measuring instrument and the operation terminal using TCP / IP socket communication. In order to solve the above-mentioned problem, the operation terminal in the measurement system of the present invention is set to a communication-enabled state with the measurement device by the socket communication, and one operation information for the measurement device is transmitted. Every time a predetermined time elapses from the end of transmission to the start of transmission of the next operation information, normal information indicating that the operation terminal is normal is transmitted to the measuring instrument. Further, the measuring instrument in the measuring system of the present invention is set in a state where communication with the operating terminal is possible by socket communication, and even if a grace period exceeding a certain period has elapsed, the measuring instrument is operated from the operating terminal. If the information or the normal information is not received, the self-communicable state of the operation terminal is released, and the processing operation related to the operation terminal is forcibly terminated. In the measuring system configured as described above, the operating terminal transmits normal information to the measuring device at regular time intervals during a period in which the operating 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. Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a schematic diagram illustrating a schematic configuration of the measurement system according to the embodiment. Communication equipment such as a router included in a relay station incorporated in the communication system 5 and each measurement target 6 such as digital data transmitted and received between the relay stations.
Are connected to the measuring device 7 respectively. 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. Each operation terminal 9 has, for example, a built-in browser for exchanging information with each measuring device 7 via the Internet 8 in a commercially available personal computer, and further remotely controls the measuring device 7. Operation program (application program) is installed. Further, each of the operation terminals 9 uses an operation program stored therein to form an environment in which the measurement device 7 can be operated without being conscious of the Internet 8 existing in the middle. 7 and TCP / IP
Information exchange is performed using the socket communication. Next, the configuration of each measuring device 7 will be described. FIG.
As shown in (a), a GU is provided on the front face 10a of the measuring instrument 7.
A display unit 11 and an operation panel 12 which form part of an I (graphical user interface) are provided. As shown in FIG. 2 (b), the back surface 10b of the measuring instrument 7 has a 5
Each slot (insertion port) 14 is formed. Further, a connection terminal 15 for connecting the measuring device 7 to the Internet 8 is provided on the back surface 10b. The operator (measurer) measures the measurement module 13 equipped with a physical interface and communication protocol that conforms to the specifications and standards of the measurement object 6 to be measured by the user, such as communication equipment and digital data. Is attached to an arbitrary slot (insertion port) 14, 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. FIG. 3 is a block diagram showing 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. This operation terminal 1 in the device
Measuring instrument body 7 connected to LAN 6 via LAN 22
a. The in-apparatus operation terminal 16 is used when an operator (measurer) directly operates the measuring device 7 in a case where a communication device is measured alone. The measuring device main body 7a is composed of a measurement execution section 18 to which each of the measurement modules 13 is mounted and a communication processing section 19. The measurement execution unit 18 includes the measurement execution unit 1
8 is a measurement data memory 20 for temporarily storing each measurement data obtained by performing measurement on each measurement target 6 via the measurement module 13, and each operation terminal in a connected state including the in-apparatus operation terminal 16 An operation terminal table 21 in which each of the work areas 9 and 16 is formed is formed. The measurement execution unit 18 is connected to the operation terminal 1 in the apparatus.
The measurement is performed on the specified measurement target 6 under the same specified measurement conditions from the operation terminals 9 and 16 including the operation terminal 6, and the obtained measurement data is measured in time series. Once written into the data memory 20. 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 out, and the operation requesting operation terminal 9 via the communication processing unit 19 is read.
16 to be transmitted. Further, when the measurement execution unit 18 detects any abnormality in the measurement object 6, it transmits abnormality detection information to the operation terminals 9 and 16 that have issued the measurement request. The communication processing unit 19 exchanges information between the LAN 22, the connection terminal 18, the in-device operation terminal 16 and the operation terminal 9 connected via the Internet 8 using the above-described TCP / IP socket communication. carry out. Each operating terminal 9 in the measuring system thus configured causes each measuring instrument 7 to perform a measuring operation on the measuring object 6 by remote control according to a flowchart shown in FIG. When an operator inputs a connection instruction to the measuring instrument 7 whose connection destination is specified (S1), the specified measuring instrument 7 is accessed via the Internet 8 (S2). TCP / IP with specified measuring instrument 7
When the connection on the transport layer using is completed, a socket communication procedure with the designated measuring device 7 is started by the procedure shown in FIG. 7 (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). 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 stored in its own storage unit. Data processing is performed based on the program (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). At S9, the operator does not input the operation information for the measuring device 7, and at S11, the elapsed time Ta from the end of the transmission of the operation information in the timer exceeds the predetermined time Tma. If not, return to S6. S1
At 1, if 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). In S6, when the operator inputs a measurement end instruction, the operator's own operation terminal 9 and the measuring instrument 7 to be connected to are input.
Then, a close process for terminating the socket communication formed between the server and the server is performed (S13). The measuring device 7 in the flow chart shown in FIG.
3 shows the measuring device main body 7a in FIG. 3 accurately. When the measuring device 7 is remotely controlled via the Internet 8, the operation terminal 16 in the apparatus is not turned on. Each information that is input and output to and from
a. That is, in a state in which the operation terminal 9 can communicate with the measuring device 7 connected via the Internet 8 by the socket communication, from the end of transmission of one operation information to the measuring device 7, The normal information is transmitted to the measuring device 7 every time the predetermined time Ta elapses in the period until the transmission of the data is started. Although the operation terminal 9 has transmitted the operation information and the normal information to the measuring device 7, the operating terminal 9 transmits a normal response (AC
If K) is not received, retransmission is performed. If normal response (ACK) is not received even in this retransmission, predetermined error processing is performed, and the cause investigation processing is automatically performed.
Attempt to restore the line. Therefore, as the operation terminal 9,
It is possible to immediately recognize that a communication error has occurred between the terminal device 10 and the operation terminal 9. Further, the communication processing unit 19 and the measurement execution unit 18 of the measuring device 7 communicate with each operation terminal 9 according to the flowchart of FIG. 5 in a state where the in-apparatus operation terminal 16 is not turned on. Perform processing. When there is a connection request from one operation terminal 9 via the Internet 8 (Q1), a socket communication procedure with the operation terminal 9 is started (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). If a communication end notification is not input from the operation terminal 9 of the connection destination (Q5) and the transmission timing of the measurement data to the operation terminal 9 comes (Q6), the operation terminal 9 of the operation terminal table 21 The measurement data stored in the work area is read and transmitted to the corresponding operation terminal 9 (Q7). 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). When no operation information is input from the operation terminal 9 of the connection destination in Q8, and 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 the normal information is returned. The elapsed time Tb from the information reception time is reset (initialized) (Tb = 0). Further, the operation information and the normal information are not inputted from the operation terminal 9 of the connection destination, and the elapsed time T from the reception time of the operation information or the normal information in the timer is inputted in Q11.
If b does not exceed the predetermined delay time Tmb exceeding the predetermined time Tma, 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. Then, the measurement of the measurement item whose execution is instructed only by the operation terminal 9 being executed by the measurement execution unit 18 is stopped, and the data processing of the measurement data instructed by only the operation terminal 9 is stopped. And the operation terminal table 21
Clear the work area of the corresponding operation terminal 9 in (1)
2). Thereafter, the line formed with the corresponding operation terminal 9 is forcibly cut off (Q13). That is, the measuring device 7 is connected to the Internet 8
In the state in which communication with the operation terminal 9 connected via the communication is possible by socket communication, even if the grace time Tmb exceeding the fixed period Tma which is the transmission interval of the normal information elapses, the operation information or the operation information If the normal information is not received, the communicable state for the operation terminal 9 is immediately released, and the processing operation for the operation terminal 9 is forcibly terminated. As described above, the measuring device 7 is always connected to the operation terminal 9.
Monitors the communication status between the
Various processing operations including the measurement for the operation terminal 9 are forcibly terminated, and the storage information for the operation terminal 9 is also cleared. Therefore, the measuring device 7 can omit useless processing operations that cannot be notified to the operation terminal 9, so that the processing load can be greatly reduced. Further, the required storage capacity can be reduced, and the resources of the measuring device 7 can be used more effectively. As described above, in the measuring system of the present invention, normal information is transmitted from the operating terminal to the measuring device at regular time intervals. Therefore, as a measuring instrument, the connection state of the operating terminal can always be grasped, unnecessary processing relating to the operating terminal that does not perform communication can be stopped, the processing load on the measuring instrument can be reduced, and resources of the measuring instrument such as memory can be used efficiently. Can be used for

【図面の簡単な説明】 【図1】本発明の一実施形態に係わる測定システムの概
略構成図 【図2】同実施形態の測定システムに組込まれた測定器
の外観図 【図3】同実施形態の測定システムに組込まれた測定器
の概略構成を示すブロック図 【図4】同実施形態の測定システムに組込まれた操作端
末の動作を示す流れ図 【図5】同実施形態の測定システムに組込まれた測定器
の動作を示す流れ図 【図6】従来の測定システムの概略構成図 【図7】操作端末と測定器との間で形成されるTCP/
IPのソケット通信の形成手順を示すシーケンス図 【符号の説明】 5…通信システム 6…測定対象 7…測定器 8…インターネット 9…操作端末 13…測定モジュール 16…装置内操作端末 18…測定実施部 19…通信処理部 20…測定データメモリ 21…操作端末テーブル
BRIEF DESCRIPTION OF THE 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. 4 is a block diagram showing a schematic configuration of a measuring device incorporated in the measuring system of the embodiment. FIG. 4 is a flowchart showing an operation of an operation terminal incorporated in the measuring system of the embodiment. FIG. 5 is incorporated in the measuring system of the embodiment. FIG. 6 is a schematic configuration diagram of a conventional measurement system. FIG. 7 is a flow chart showing a TCP / TCP formed between an operation terminal and a measurement device.
Sequence diagram showing a procedure for forming IP socket communication [Description of References] 5 ... Communication system 6 ... Measurement target 7 ... Measuring 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)

【特許請求の範囲】 【請求項1】 データ通信に関する測定対象(6)の特
性を測定する測定器(7)と、この測定器に対してネッ
トワーク(8)を介して接続され前記測定器に対して各
種操作指示を行う操作端末(9)とを備え、前記測定器
と前記操作端末との間でTCP/IPのソケット通信を
用いて情報交換を行う測定システムにおいて、 前記操作端末(9)は、前記測定器との間でソケット通
信での通信可能状態に設定されていて、前記測定器に対
する一つの操作情報の送信終了から次の操作情報の送信
開始までの期間において一定時間経過する毎に前記測定
器に対して前記操作端末が正常である旨の正常情報を送
信し、 前記測定器(7)は、前記操作端末との間でソケット通
信での通信可能状態に設定されていて、前記一定期間を
越える猶予時間が経過しても、前記操作端末から操作情
報又は正常情報が受信されなかった場合、前記操作端末
に対する自己の通信可能状態を解除すると共に、前記操
作端末に関する処理動作を強制終了することを特徴とす
る測定システム。
Claims: 1. A measuring instrument (7) for measuring characteristics of a measurement object (6) relating to data communication, and connected to the measuring instrument via a network (8). A measurement system that includes an operation terminal (9) for issuing various operation instructions to the measurement device and exchanges information using TCP / IP socket communication between the measuring device and the operation terminal; Is set to a state in which communication with the measuring device by socket communication is enabled, and every time a predetermined time elapses from the end of transmission of one operation information to the measuring device to the start of transmission of the next operation information. Transmitting normal information to the effect that the operation terminal is normal to the measurement device, wherein the measurement device (7) is set to a state where communication with the operation terminal by socket communication is possible, The certain period If the operation information or the normal information is not received from the operation terminal even after the lapse of the grace period, the communication terminal releases its own communicable state with the operation terminal and forcibly terminates the processing operation related to the operation terminal. A measurement system characterized by the following.
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 true JP2003046599A (en) 2003-02-14
JP3539941B2 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007123025A1 (en) * 2006-04-13 2007-11-01 International Business Machines Corporation Technique of controlling communication of installed apparatus with outside by means of proxy server
JP2009168783A (en) * 2008-01-21 2009-07-30 Fujitsu Ltd Measurement/test access control device, method ,and its program
JP5551299B1 (en) * 2013-10-07 2014-07-16 ソフトバンクテレコム株式会社 Measuring system, measuring instrument and measuring method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007123025A1 (en) * 2006-04-13 2007-11-01 International Business Machines Corporation Technique of controlling communication of installed apparatus with outside by means of proxy server
US7996524B2 (en) 2006-04-13 2011-08-09 International Business Machines Corporation Controlling external communication of embedded device using proxy server
CN101411165B (en) * 2006-04-13 2013-06-19 国际商业机器公司 Technique of controlling communication of installed apparatus with outside by means of proxy server
JP2009168783A (en) * 2008-01-21 2009-07-30 Fujitsu Ltd Measurement/test access control device, method ,and its program
JP5551299B1 (en) * 2013-10-07 2014-07-16 ソフトバンクテレコム株式会社 Measuring system, measuring instrument and measuring method
JP2015076669A (en) * 2013-10-07 2015-04-20 ソフトバンクテレコム株式会社 Measurement system, measuring device, and measuring method

Also Published As

Publication number Publication date
JP3539941B2 (en) 2004-07-07

Similar Documents

Publication Publication Date Title
JP2009516955A (en) Integrated gateway and software framework structure for distributed home networks
JP3539941B2 (en) Measurement system
JP2773424B2 (en) Network system and connection computer switching method
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
JP2003044438A (en) Measurement system
JP2001036649A (en) Central transmitter for data collection system, the data collection system and automatic meter reading system
KR0143970B1 (en) Telecommunication part control system
JPS5811146B2 (en) Communication method using polling emulator
JPH05248692A (en) Relay communication equipment for air conditioner
Zhou Design and Implementation of PROFIBUS DPV0 Master Software
JP2594663B2 (en) Terminal network controller
JPH04301945A (en) High efficiency multicast system
CN115529623A (en) Baseband unit testing device and method, terminal equipment and storage medium
JPS6085642A (en) Common channel access control circuit for subscriber equipment in multi-point connection
JPS6354845A (en) Communication control equipment
JPS616952A (en) Data transmission system
JP3217226B2 (en) Subscriber data registration device for communication terminals
JPH05143491A (en) Device health check system
JPS63224418A (en) System for monitoring cordless telephone system
JP2001024639A (en) Broadcast communication test system
JPH05136854A (en) Terminal equipment
JPH11289343A (en) Card input terminal device having communication wiretapping function
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