JPWO2018158939A1 - COMMUNICATION TEST DEVICE, COMMUNICATION TEST METHOD, AND PROGRAM - Google Patents
COMMUNICATION TEST DEVICE, COMMUNICATION TEST METHOD, AND PROGRAM Download PDFInfo
- Publication number
- JPWO2018158939A1 JPWO2018158939A1 JP2019502410A JP2019502410A JPWO2018158939A1 JP WO2018158939 A1 JPWO2018158939 A1 JP WO2018158939A1 JP 2019502410 A JP2019502410 A JP 2019502410A JP 2019502410 A JP2019502410 A JP 2019502410A JP WO2018158939 A1 JPWO2018158939 A1 JP WO2018158939A1
- Authority
- JP
- Japan
- Prior art keywords
- communication
- communication device
- test
- data
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Maintenance And Management Of Digital Transmission (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
通信試験装置(20)は、第1通信機器及び第2通信機器に接続される。通信試験装置(20)は、第1通信機器及び第2通信機器のうち、データの送受信を模擬する対象となる模擬機器を指定する指定情報(34)と、第1通信機器と第2通信機器との間で特定のデータが伝送される順序を判定するための式であって、予め定められた文法で記述される判定式を示す判定式情報(33)と、を取得する取得部(201)と、模擬機器によるデータの送受信を模擬して、第1通信機器及び第2通信機器のうちの模擬機器とは異なる機器と通信する通信部(205)と、通信部(205)によってなされた通信を判定式により試験した結果を示す情報を出力する出力部(206)と、を備える。The communication test apparatus (20) is connected to the first communication device and the second communication device. The communication test apparatus (20) includes designation information (34) for designating a simulated device to be used for simulating data transmission / reception among the first communication device and the second communication device, and the first communication device and the second communication device. An acquisition unit (201) for acquiring determination formula information (33) indicating a determination formula described in a predetermined grammar, which is a formula for determining the order in which specific data is transmitted between ) And a communication unit (205) that simulates data transmission / reception by the simulation device and communicates with a device different from the simulation device of the first communication device and the second communication device, and the communication unit (205). And an output unit (206) for outputting information indicating a result of testing the communication according to the determination formula.
Description
本発明は、通信試験装置、通信試験方法及びプログラムに関する。 The present invention relates to a communication test apparatus, a communication test method, and a program.
近年、通信機能を有する機器が、住宅、オフィス、及び工場を含む種々の環境で活用されている。このような機器が複数あって互いに通信をすることで、通信システムが形成される。通信システムは、例えば、一の機器が他の複数の機器を管理する集中管理システム、又は、ユーザが端末に情報を入力して遠隔の機器を操作する遠隔操作システムである。 In recent years, devices having communication functions have been utilized in various environments including houses, offices, and factories. A plurality of such devices communicate with each other to form a communication system. The communication system is, for example, a centralized management system in which one device manages a plurality of other devices, or a remote operation system in which a user inputs information to a terminal to operate a remote device.
この種の通信システムが設置される際には、通信システムが正常に動作するかどうかの試験を実施することが望ましい。この試験は、通信システムを構成する機器が、予め設計された仕様に従って特定のデータを送信及び受信するかどうかを確認することで実施される。このため、試験を実施する際には、システムが備えるべき性質を表す基準を定める必要がある。そこで、そのような基準を生成する技術を用いることが考えられる(例えば、特許文献1を参照)。特許文献1には、検証の対象となるシステムの性質を適切に記述した時相論理式を生成する技術について記載されている。 When this type of communication system is installed, it is desirable to test whether the communication system operates normally. This test is performed by checking whether or not the devices constituting the communication system transmit and receive specific data according to a pre-designed specification. For this reason, when conducting a test, it is necessary to establish a standard that represents the properties that the system should have. Therefore, it is conceivable to use a technique for generating such a reference (see, for example, Patent Document 1). Patent Document 1 describes a technique for generating a temporal logic formula that appropriately describes the properties of a system to be verified.
特許文献1に記載の技術を用いて試験の基準を生成しても、通信システムが複数の機器を有するため、一般的には基準の数が膨大になると考えられる。このため、通信システムの試験を実施する作業者の負担が大きくなってしまう。 Even if the test standard is generated using the technique described in Patent Document 1, it is generally considered that the number of standards is enormous because the communication system includes a plurality of devices. For this reason, the burden of the operator who implements the test of a communication system will become large.
本発明は、上記の事情に鑑みてなされたもので、通信システムの試験を実施する作業者の負担を軽減することを目的とする。 The present invention has been made in view of the above circumstances, and an object thereof is to reduce the burden on an operator who performs a test of a communication system.
上記目的を達成するため、本発明の通信試験装置は、第1通信機器及び第2通信機器に接続される通信試験装置であって、第1通信機器及び第2通信機器のうち、データの送受信を模擬する対象となる模擬機器を指定する指定情報と、第1通信機器と第2通信機器との間で特定のデータが伝送される順序を判定するための式であって、予め定められた文法で記述される判定式を示す判定式情報と、を取得する取得手段と、模擬機器によるデータの送受信を模擬して、第1通信機器及び第2通信機器のうちの模擬機器とは異なる機器と通信する通信手段と、通信手段によってなされた通信を判定式により試験した結果を示す情報を出力する出力手段と、を備える。 In order to achieve the above object, a communication test apparatus of the present invention is a communication test apparatus connected to a first communication apparatus and a second communication apparatus, and transmits and receives data among the first communication apparatus and the second communication apparatus. Is a formula for determining the order in which specific data is transmitted between the first communication device and the second communication device, and specifying information for specifying the simulated device to be a target for simulating A device that is different from the simulated device of the first communication device and the second communication device by simulating data acquisition / reception by the simulated device and determination means information indicating the determination equation described in the grammar And a communication unit that communicates with the communication unit, and an output unit that outputs information indicating a result of testing the communication performed by the communication unit using a determination formula.
本発明によれば、通信試験装置は、第1通信機器及び第2通信機器のうち、データの送受信を模擬する対象となる模擬機器を指定する指定情報と、判定式を示す判定式情報と、を取得する。そして、通信試験装置は、指定された模擬機器によるデータの送受信を模擬して通信機器と通信し、当該通信を判定式により試験した結果を示す情報を出力する。この通信試験装置を利用すれば、作業者は、模擬機器を指定して、判定式情報を準備することで、通信試験を実施することができる。すなわち、通信システムの試験を実施する作業者の負担を軽減することができる。 According to the present invention, the communication test apparatus includes: designation information for designating a simulation device that is a target for simulating data transmission / reception among the first communication device and the second communication device; determination formula information indicating a determination formula; To get. Then, the communication test apparatus simulates data transmission / reception by the designated simulation device, communicates with the communication device, and outputs information indicating a result of testing the communication using a determination formula. If this communication test apparatus is used, the operator can perform a communication test by designating simulated equipment and preparing determination formula information. That is, it is possible to reduce the burden on the operator who performs the test of the communication system.
以下、本発明の実施の形態を、図面を参照しつつ詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
実施の形態.
図1には、本実施の形態に係る試験システム100の構成が示されている。試験システム100は、通信システム10における通信が、予め規定された条件を満たすかどうかを試験するためのシステムである。試験システム100は、通信機能を備えた複数の機器を有する通信システム10と、通信システム10における通信を試験する通信試験装置20と、を有している。Embodiment.
FIG. 1 shows a configuration of a
通信システム10は、通信機器11,12,13を有している。通信機器11〜13はそれぞれ、通信機能を有し、ネットワークNWを介して互いに通信をする。本実施の形態に係る通信機器11〜13はいずれも、住宅に設置された空調機器であってネットワークNWとしてのLAN(Local Area Network)に接続される。ただし、通信機器11〜13は、これに限定されない。例えば、通信機器11〜13は、住宅に設置される照明機器、調理機器、及びルータを含む通信機器に代表される家電機器であってもよいし、住宅の住人が利用する携帯端末又は自動車であってもよい。さらに、通信機器11〜13は、オフィスに設置された情報機器であってもよいし、工場に設置された生産設備であってもよい。ネットワークNWは、有線通信又は無線通信をするための通信網である
The
本実施の形態では、通信機器11は、空調空気を室内空間に吹き出す室内機であって、通信機器12は、通信機器11と冷媒管を介して接続された室外機であって、通信機器13は、有線の操作端末とする。通信機器11〜13は、ネットワークNWを介して通信コマンドを送受信することで、協調して稼働する。このようにして通信機器11〜13が稼働することにより、室内機と室外機との間で冷媒が循環して、冷房運転又は暖房運転が実行される。
In the present embodiment, the
通信試験装置20は、ネットワークNWを介して通信機器11〜13に接続されて、通信機器11〜13によって送受信されるデータを監視する。そして、通信試験装置20は、通信機器11〜13によってなされる通信を試験するためのデータを送信し、送信したデータに応じて通信機器11〜13から送信されたデータを受信することで、通信システム10における通信を試験する。
The
図2には、通信試験装置20のハードウェア構成が示されている。図2に示されるように、通信試験装置20は、プロセッサ21、主記憶部22、補助記憶部23、UI(User Interface)部24、及び送受信部25を有するコンピュータとして構成されている。主記憶部22、補助記憶部23、UI部24、及び送受信部25はいずれも、内部バス26を介してプロセッサ21に接続されている。
FIG. 2 shows a hardware configuration of the
プロセッサ21は、CPU(Central Processing Unit)又はMPU(Micro Processing Unit)を含んで構成される。プロセッサ21は、補助記憶部23に記憶されるプログラム28を実行することにより、後述の処理を実行する。
The
主記憶部22は、RAM(Random Access Memory)を含んで構成される。主記憶部22には、補助記憶部23からプログラム28がロードされる。そして、主記憶部22は、プロセッサ21の作業領域として用いられる。
The
補助記憶部23は、ハードディスク及びフラッシュメモリに代表される不揮発性メモリを含んで構成される。補助記憶部23は、プログラム28の他に、プロセッサ21の処理に用いられる種々のデータを記憶する。補助記憶部23は、プロセッサ21の指示に従って、プロセッサ21によって利用されるデータをプロセッサ21に供給し、プロセッサ21から供給されたデータを記憶する。
The
UI部24は、入力キー及び静電容量方式のポインティングデバイスに代表される入力モジュールと、LCD(Liquid Crystal Display)及びスピーカに代表される出力モジュールと、を含んで構成される。UI部24は、ユーザによって入力された情報を取得して、取得した情報をプロセッサ21に通知する。また、UI部24は、プロセッサ21の指示に従って、種々の情報を外部に提示する。本実施の形態に係るUI部24は、表示デバイスを有し、この表示デバイスは、ポインティングデバイスと一体的に形成されることで、タッチスクリーンを構成する。
The
送受信部25は、外部の機器とネットワークNWを介して通信するための通信インタフェース回路を含んで構成される。送受信部25は、ネットワークNWから信号を受信して、この信号に含まれるデータをプロセッサ21へ出力する。また、送受信部25は、プロセッサ21から出力されたデータを含む信号を、ネットワークNWへ送信する。
The transmission /
通信試験装置20は、上述のハードウェア構成が協働することで、種々の機能を発揮する。図3には、通信試験装置20の機能的な構成が示されている。図3に示されるように、通信試験装置20は、種々のデータを取得する取得部201と、試験モデルを生成するモデル生成部202と、通信の合否基準を生成する基準生成部203と、試験を実行する試験部204と、外部の機器と通信する通信部205と、試験の結果を出力する出力部206と、を有している。
The
取得部201は、主としてUI部24と送受信部25とによって実現される。取得部201は、通信システム10の通信に関する仕様を示すシステム情報31と、通信システム10を構成する機器のうち試験対象の機器に関する情報を示す機器情報32と、通信異常の有無を判定するための判定式を示す判定式情報33と、通信システム10を構成する機器のうちデータの送受信を模擬する対象を指定する指定情報34と、を取得する。取得部201は、ユーザにこれらの情報の入力を促すことで情報を取得してもよいし、これらの情報を記憶する記憶部(不図示)からこれらの情報を読み出すことで情報を取得してもよいし、ネットワークNWを介してサーバ(不図示)からこれらの情報を取得してもよい。以下、取得部201によって取得されるデータそれぞれについて、順に説明する。
The
システム情報31は、通信システム10においてなされるべき通信シーケンスを列挙したデータである。詳細には、システム情報31は、図4に示されるように、通信シーケンスの識別子と、通信シーケンスにおいて伝送されるデータに含まれる通信コマンドと、この通信コマンドの送信元機種及び送信先機種と、この通信コマンドの送信タイミングと、を対応付けたレコードを1組以上含むテーブルデータである。ここで、通信シーケンスの識別子は、値又は文字列であり、通信コマンドと、送信元機種及び送信先機種と、送信タイミングとはそれぞれ、コマンドの内容を示す値又は文字列と、機種を示す値又は文字列と、タイミングを示す値又は文字列である。なお、図4中の送信タイミングは、通信シーケンスにおいて通信コマンドが伝送される順序を示す。送信タイミングは、タイムスタンプであってもよい。送信タイミングがタイムスタンプである場合には、この送信タイミングは、通信コマンドが伝送される順序と、通信コマンドが伝送される時間間隔と、を示すこととなる。
The
図4中、レコード311は、室外機の電源を投入するための通信シーケンス「SQ1」において「1」番目に送信される通信コマンド「Power−On」と、この通信コマンドを送信する機種「室内機」と、この通信コマンドの宛先となる機種「室外機」と、が対応付けられたデータである。レコード312は、通信シーケンス「SQ1」において電源投入の完了を通知するために「2」番目に送信される通信コマンド「Power−On−Done」と、この通信コマンドを送信する機種「室外機」と、宛先となる機種「室内機」と、が対応付けられたデータである。
In FIG. 4, a
また、レコード314は、室内機が内蔵の温度センサで検知した室内温度を有線端末に通知するための通信コマンド「Temp−Notice」と、この通信コマンドを送信する機種「室内機」と、宛先となる機種「有線端末」と、が対応付けられたデータである。通信コマンド「Temp−Notice」は、定期的に室内機から送信され、有線端末が室内温度を表示するために利用される。この通信コマンドを受けた有線端末が室内機を含む機器に通信コマンドを送ることは、本実施の形態に係るシステム情報31に規定されない。すなわち、通信シーケンス「SQ2」において2番目に送信される通信コマンドは、システム情報31に規定されない。
The
また、レコード315は、室外機の電源を切断するための通信シーケンス「SQ4」において「1」番目に送信される通信コマンド「Power−Off」と、この通信コマンドを送信する機種「室内機」と、宛先となる機種「室外機」と、が対応付けられたデータである。レコード316は、通信シーケンス「SQ4」において電源切断の完了を通知するために「2」番目に送信される通信コマンド「Power−Off−Done」と、この通信コマンドを送信する機種「室外機」と、宛先となる機種「室内機」と、が対応付けられたデータである。
The record 315 includes a communication command “Power-Off” transmitted “1” in the communication sequence “SQ4” for cutting off the power of the outdoor unit, and a model “indoor unit” that transmits the communication command. , The destination model “outdoor unit” is associated with the data. The
機器情報32は、通信システム10を構成する機器のうち試験の対象となる機器を列挙したデータである。詳細には、機器情報32は、図5に示されるように、試験の対象となる機器それぞれについて識別番号と機種と通信アドレスとを対応付けたレコードを1組以上含むテーブルデータである。ここで、識別番号は、値又は文字列であり、通信機種と、通信アドレスとはそれぞれ、機種を示す値又は文字列と、アドレスを示す値又は文字列である。なお、各レコードの順序は任意である。また、図5中の識別番号は、便宜的に通信機器11〜13の符号に等しいものとしている。
The
図5中、レコード321は、通信機器11の識別番号「11」と、「室内機」という機種と、通信アドレス「192.168.5.11」と、が対応付けられたデータである。レコード322は、通信機器12の識別番号「12」と、「室外機」という機種と、通信アドレス「192.168.5.12」と、が対応付けられたデータである。本実施の形態では、図5に示されるように、通信機器11,12が通信試験の対象とされていて、通信機器13は試験の対象から除外されており、通信機器13に対応するレコードは機器情報32に含まれていない。
In FIG. 5, a
判定式情報33は、通信コマンドに含まれる特定のデータについて予め定められた仕様に従うかどうかを判定するための式が記述されたデータである。この判定式は、特定のデータが伝送される順序を判定するための式であって、予め定められた文法で記述される。本実施の形態に係る判定式情報33は、時相論理式で記述される。
The
図6には、判定式情報33の一例が示されている。図6に示されるように、判定式情報33は、判定式を列挙したリストデータであって、各データの順序は任意である。図6中、データ331は、「Power−On」を受信した室外機が「Power−On−Done」を送信することを判定するための式である。データ333は、「Echo−Request」という通信コマンドを受信した有線端末が「Echo」という通信コマンドを送信することを判定するための式である。データ334は、「Power−Off」を受信した室外機が「Power−Off−Done」を送信することを判定するための式である。いずれの判定式についても、その値は、真又は偽となる。なお、「Echo−Request」及び「Echo」は、通信可能であることを確認するための要求及び応答のコマンドである。
FIG. 6 shows an example of the
指定情報34は、各機器にフラグを割り当てるための1つ以上のルールを含むフラグルールセットである。このルールは、各機器の通信アドレス又は機種に基づいて、機器をシミュレーション環境で稼働させるか、或いは実環境で稼働させるかを指定するデータである。
The
図7には、各機器の通信アドレスに基づく指定情報34の一例が示されている。図7に示されるように、指定情報34は、ルール番号と、各機器の通信アドレスに対して割り当てられたフラグと、が対応付けられたルールを列挙したテーブルデータである。フラグの値は、「シミュレーション」又は「実機」である。
FIG. 7 shows an example of the
図3に戻り、モデル生成部202は、主としてプロセッサ21によって実現される。モデル生成部202は、システム情報31と機器情報32とから試験対象のモデルを示す試験モデルデータ35を生成する。詳細には、モデル生成部202は、機器情報32に含まれる機種が送受信する通信コマンドに対応するレコードをシステム情報31から抽出する。そして、モデル生成部202は、抽出したレコードに含まれる送信元機種、及び送信先機種を、機器情報32を参照することでアドレスに置換することにより、試験モデルデータ35を生成する。
Returning to FIG. 3, the
図8にはモデル生成部202によって生成される試験モデルデータ35の一例が示されている。図8中のレコード351,352,355,356はそれぞれ、図4に示されるレコード311,312,315,316に対応する。通信機器13は試験対象とされていないため、図4中のレコード314に対応するレコードは、図8に示されるデータに含まれない。換言すると、「有線端末」に対応するレコードが機器情報32に含まれないため、この機種に対応するレコードは図8に示されるデータに含まれない。
FIG. 8 shows an example of
基準生成部203は、主としてプロセッサ21によって実現される。基準生成部203は、試験モデルデータ35と判定式情報33とから試験の合否基準を示す基準データ36を生成する。詳細には、基準生成部203は、判定式情報33を構成する判定式に対応するレコードが試験モデルデータ35に含まれているときに、この判定式と試験モデルデータ35のレコードとを対応付けることで、基準データ36を生成する。
The
図9には、基準生成部203によって生成される基準データ36の一例が示されている。図9中のレコード361は、図6に示される判定式情報33のデータ331が、図8に示される試験モデルデータ35のレコード351と通信コマンド「Power−On」を介して対応付けられていて、図8中のレコード352と通信コマンド「Power−On−Done」を介して対応付けられていることから、これらのデータ331及びレコード351,352を組み合わせて生成されたデータである。また、図9中のレコード362は、図6中のデータ334が、図8中のレコード355と通信コマンド「Power−Off」を介して対応付けられていて、図8中のレコード356と通信コマンド「Power−Off−Done」を介して対応付けられていることから、これらのデータ334及びレコード355,356を組み合わせて生成されたデータである。
FIG. 9 shows an example of the
試験部204は、主としてプロセッサ21によって実現される。試験部204は、指定情報34から選択したルールに従って各機器にフラグを割り当てて、割り当てられたフラグに従って構成した模擬システムにおける通信を試験する。模擬システムは、通信システム10の一部又は全部の機器が、機器情報32に基づいてシミュレーション上で実行される機器に置き換えられたシステムである。試験部204は、試験モデルデータ35と基準データ36とに基づいて、模擬システムを構成する機器に情報を入力し、当該機器から出力される情報を得て、得た情報が基準データ36に規定される基準を満たすか否かを試験する。詳細には、試験部204は、模擬システム上で、基準データ36に含まれる通信コマンドを送信し、この通信コマンドを受信した機器から応答される通信コマンドを受信して、受信した通信コマンドが判定式を満たすか否かを判定する。
The
ただし、試験部204は、模擬システム上の通信コマンドの送信先となる機器が実機である場合に、通信コマンドのプロトコルを模擬システムに適したものから通信システム10に適したものに変換して、後述の通信部205に出力する。また、試験部204は、通信部205が通信システム10から受信した通信コマンドを取得して、取得した通信コマンドが基準を満たすか否かを判定する。そして、試験部204は、判定の結果を、出力部206に出力する。
However, the
通信部205は、主として送受信部25によって実現される。通信部205は、試験部204から出力された通信コマンドを通信システム10に送信し、通信システム10上で伝送される通信コマンドを受信して試験部204に出力する。
The
出力部206は、主としてUI部24によって実現される。出力部206は、試験部204によって実行された試験の結果をユーザに対して表示する。すなわち、出力部206は、通信部205による通信を基準データ36に含まれる判定式で試験した結果を出力する。なお、出力部206は、通信試験装置20が有する記憶装置、又は通信試験装置20にネットワークNWを介して接続された外部の記憶装置に、試験の結果を含む情報を出力してもよい。
The
続いて、通信試験装置20によって実行される一連の処理について、図10〜13を用いて説明する。図10に示される処理は、通信試験装置20の特定のアプリケーションソフトウェアが実行されることで開始する。
Subsequently, a series of processes executed by the
通信試験装置20は、まず、各種のデータを取得する(ステップS1)。具体的には、取得部201が、システム情報31、機器情報32、判定式情報33、及び指定情報34を取得する。
The
次に、通信試験装置20は、試験モデルを生成する(ステップS2)。具体的には、モデル生成部202が、システム情報31と機器情報32とから試験モデルデータ35を生成する。
Next, the
次に、通信試験装置20は、基準データ36を生成する(ステップS3)。具体的には、基準生成部203が、試験モデルデータ35と判定式情報33とから基準データ36を生成する。
Next, the
次に、通信試験装置20の試験部204は、試験処理を実行する(ステップS4)。この試験処理について、図11を用いて説明する。
Next, the
試験処理では、図11に示されるように、まず、試験部204が、フラグを割り当てるためのルールを指定情報34から1つ読み出す(ステップS41)。例えば、試験部204は、最初にステップS41を実行するときには、図7に示されるルール341を読み出す。
In the test process, as shown in FIG. 11, first, the
次に、試験部204は、シミュレーションのフラグが付された通信機器によるデータの送受信を模擬し、実機のフラグが付された通信機器と通信することで、模擬システムを形成する(ステップS42)。例えば、ステップS41にて図7中のルール341を読み出した場合には、試験部204は、図12に示される模擬システム10aを形成することとなる。模擬システム10aは、通信機器11と同等に動作する模擬機器11aと、通信機器12と同等に動作する模擬機器12aと、実環境の通信機器13と、を有している。
Next, the
次に、試験部204は、基準データ36から判定式を1つ読み出す(ステップS43)。その後、試験部204は、読み出した判定式の真偽値を得るための通信コマンドを模擬システム上で送信する(ステップS44)。例えば、試験部204は、図9中のレコード361を読み出して、アドレス「192.168.5.11」の機器から通信コマンド「Power−On」をアドレス「192.168.5.12」の機器へ送信する。図12に示される模擬システム10aでは、この通信コマンド「Power−On」の送信元及び送信先の双方の機器がシミュレーション上で動作する。
Next, the
次に、試験部204は、読み出した判定式に従った通信が模擬システム上でなされるか否かを判定する(ステップS45)。具体的には、試験部204は、ステップS44で通信コマンドの送信先となった機器が模擬システム上で応答する通信コマンドを受信して、受信した通信コマンドがステップS43で読み出された判定式を満たすか否かを判定する。例えば、ステップS43にて図9中のレコード361を読み出した場合には、試験部204は、アドレス「192.168.5.12」の機器から通信コマンド「Power−On−Done」が送信されるか否かを判定する。
Next, the
判定式に従った通信であると判定した場合(ステップS45;Yes)、試験部204は、基準を満たす旨の結果を出力する(ステップS46)。具体的には、試験部204は、基準を満たす旨の情報を出力部206に出力し、出力部206は、基準を満たす通信がなされたことを示す文字列又は図形を表示する。その後、試験部204は、ステップS48を実行する。
When it is determined that the communication conforms to the determination formula (step S45; Yes), the
一方、判定式に従った通信ではないと判定した場合(ステップS45;No)、試験部204は、基準を満たさない旨のエラーを含む結果を出力する(ステップS47)。具体的には、試験部204は、基準を満たさない旨の情報を出力部206に出力し、出力部206は、基準を満たさない通信がなされたこと、若しくは通信がなされなかったこと、又は通信異常を示す文字列又は図形を表示する。
On the other hand, if it is determined that the communication does not conform to the determination formula (step S45; No), the
次に、試験部204は、未選択の判定式が基準データ36に含まれるか否かを判定する(ステップS48)。未選択の判定式があると判定した場合(ステップS48;Yes)、試験部204は、ステップS43に戻って、未選択の判定式を1つ読み出す。これにより、試験部204は、例えば図9中のレコード362に含まれる判定式を読み出すこととなる。
Next, the
一方、未選択の判定式がないと判定した場合(ステップS48;No)、試験部204は、未選択のルールが指定情報34に含まれるか否かを判定する(ステップS49)。未選択のルールがあると判定した場合(ステップS49;Yes)、試験部204は、ステップS41に戻って、未選択のルールを1つ読み出す。これにより、試験部204は、例えば図7中のルール342を読み出して、図13に示される新たな模擬システム10bを形成することとなる。この模擬システム10bは、通信機器11と同等に動作する模擬機器11bと、実環境の通信機器12,13と、を有している。そして、試験部204は、この模擬システム10bを対象に、基準データ36に含まれる判定を1つずつ実行することで、模擬システム10bにてなされる通信を試験する。
On the other hand, when it is determined that there is no unselected determination formula (step S48; No), the
一方、未選択のルールがないと判定した場合(ステップS49;No)、試験部204による試験処理は終了して、通信試験装置20によって実行される処理は、図10に示される一連の処理に戻る。そして、図10に示されるように、試験処理が終了すると、通信試験装置20によって実行される一連の処理は終了する。
On the other hand, when it is determined that there is no unselected rule (step S49; No), the test process by the
以上、説明したように、通信試験装置20は、通信システム10を構成する通信機器11,12のうち、データの送受信を模擬する対象となる模擬機器を指定する指定情報34と、判定式を示す判定式情報33と、を取得する。そして、通信試験装置20は、指定された模擬機器によるデータの送受信を模擬して通信機器と通信し、当該通信を判定式により試験した結果を示す情報を出力する。この通信試験装置20を利用すれば、作業者は、模擬機器を指定して判定式情報を準備することで通信試験を容易に実施することができる。すなわち、通信システムの試験を実施する作業者の負担を軽減することができる。
As described above, the
判定式情報33の判定式は、通信機器間で特定のデータが伝送される順序を判定するための式であって、予め定められた文法で記述された。このため、作業者が入れ替わっても判定式が変更されることはなく、試験の基準に曖昧さが残るリスク、及び、試験の基準と試験内容とに齟齬が生じるリスクを低減することができる。
The determination expression of the
また、指定情報34の各ルールにより、通信システムを構成する複数の機器から通信試験の対象となる実機が指定された。このため、ルールを指定情報34に集約することで、膨大な数の通信試験を効率よく実施することができる。
In addition, according to each rule of the
また、時相論理式を用いることで、試験部204は、いわゆるモデル検証の技術により効率的な試験を実施することができる。
Further, by using the temporal logic formula, the
以上、本発明の実施の形態について説明したが、本発明は上記実施の形態によって限定されるものではない。 As mentioned above, although embodiment of this invention was described, this invention is not limited by the said embodiment.
上記実施の形態に係る判定式は、特定のデータとして通信コマンドが伝送される順序を記述したものであったが、これには限定されない。例えば、判定式は、通信コマンド以外のデータを判定するものであってもよいし、通信コマンドが伝送される順序と時間間隔とを記述したものであってもよい。通信コマンドが伝送される時間間隔が判定式に記述されれば、試験対象となる通信機器の応答に異常に長い時間がかかるときに通信異常を検知することができる。 The determination formula according to the above embodiment describes the order in which communication commands are transmitted as specific data, but is not limited to this. For example, the determination formula may determine data other than the communication command, or may describe the order in which the communication command is transmitted and the time interval. If the time interval at which the communication command is transmitted is described in the determination formula, it is possible to detect a communication abnormality when the response of the communication device to be tested takes an abnormally long time.
上記実施の形態に係る通信試験装置20の機能は、専用のハードウェアによっても、また、通常のコンピュータシステムによっても実現することができる。
The function of the
例えば、補助記憶部23に記憶されるプログラム28を、コンピュータ読み取り可能な記録媒体に格納して配布し、そのプログラム28をコンピュータにインストールすることにより、上述の処理を実行する装置を構成することができる。
For example, the
また、プログラム28をインターネットに代表される通信ネットワーク上のサーバ装置が有するディスク装置に格納しておき、例えば、搬送波に重畳させて、コンピュータにダウンロードするようにしてもよい。
Further, the
また、通信ネットワークを介してプログラム28を転送しながら起動実行することによっても、上述の処理を達成することができる。
The above-described processing can also be achieved by starting and executing the
さらに、プログラム28の全部又は一部をサーバ装置上で実行させ、その処理に関する情報をコンピュータが通信ネットワークを介して送受信しながらプログラム28を実行することによっても、上述の処理を達成することができる。
Furthermore, the above-described processing can also be achieved by executing all or part of the
なお、上述の機能を、OS(Operating System)が分担して実現する場合又はOSとアプリケーションとの協働により実現する場合等には、OS以外の部分のみを媒体に格納して配布してもよく、また、コンピュータにダウンロードしてもよい。 Note that when the above functions are realized by sharing an OS (Operating System) or when the functions are realized by cooperation between the OS and an application, only the part other than the OS may be stored in a medium and distributed. It may also be downloaded to a computer.
また、通信試験装置20の機能を実現する手段は、ソフトウェアに限られず、その一部又は全部を、回路を含む専用のハードウェアによって実現してもよい。
The means for realizing the function of the
本発明は、本発明の広義の精神と範囲を逸脱することなく、様々な実施の形態及び変形が可能とされるものである。また、上述した実施の形態は、本発明を説明するためのものであり、本発明の範囲を限定するものではない。つまり、本発明の範囲は、実施の形態ではなく、請求の範囲によって示される。そして、請求の範囲内及びそれと同等の発明の意義の範囲内で施される様々な変形が、本発明の範囲内とみなされる。 Various embodiments and modifications can be made to the present invention without departing from the broad spirit and scope of the present invention. The above-described embodiments are for explaining the present invention and do not limit the scope of the present invention. In other words, the scope of the present invention is shown not by the embodiments but by the claims. Various modifications within the scope of the claims and within the scope of the equivalent invention are considered to be within the scope of the present invention.
本発明は、通信の試験に適している。 The present invention is suitable for communication testing.
100 試験システム、 10 通信システム、 10a,10b 模擬システム、 11〜13 通信機器、 11a,11b,12a 模擬機器、 20 通信試験装置、 21 プロセッサ、 22 主記憶部、 23 補助記憶部、 24 UI部、 25 送受信部、 26 内部バス、 28 プログラム、 31 システム情報、 32 機器情報、 33 判定式情報、 34 指定情報、 35 試験モデルデータ、 36 基準データ、 201 取得部、 202 モデル生成部、 203 基準生成部、 204 試験部、 205 通信部、 206 出力部、 311,312,314−316,351,352,355,356,361,362 レコード、 331,333,334 データ、 341,342 ルール、 NW ネットワーク。 100 test system, 10 communication system, 10a, 10b simulation system, 11-13 communication device, 11a, 11b, 12a simulation device, 20 communication test device, 21 processor, 22 main storage unit, 23 auxiliary storage unit, 24 UI unit, 25 Transmitter / Receiver, 26 Internal Bus, 28 Program, 31 System Information, 32 Device Information, 33 Judgment Information, 34 Designation Information, 35 Test Model Data, 36 Reference Data, 201 Acquisition Unit, 202 Model Generation Unit, 203 Reference Generation Unit , 204 test unit, 205 communication unit, 206 output unit, 311, 312, 314-316, 351, 352, 355, 356, 361, 362 record, 331, 333, 334 data, 341, 342 rule, NW network.
Claims (5)
前記第1通信機器及び前記第2通信機器のうち、データの送受信を模擬する対象となる模擬機器を指定する指定情報と、前記第1通信機器と前記第2通信機器との間で特定のデータが伝送される順序を判定するための式であって、予め定められた文法で記述される判定式を示す判定式情報と、を取得する取得手段と、
前記模擬機器によるデータの送受信を模擬して、前記第1通信機器及び前記第2通信機器のうちの前記模擬機器とは異なる機器と通信する通信手段と、
前記通信手段によってなされた通信を前記判定式により試験した結果を示す情報を出力する出力手段と、
を備える通信試験装置。A communication test apparatus connected to a first communication device and a second communication device,
Among the first communication device and the second communication device, designation information for designating a simulation device to be used for simulating data transmission and reception, and specific data between the first communication device and the second communication device Is an expression for determining the order in which transmission is performed, and the determination expression information indicating the determination expression described in a predetermined grammar;
A communication means for simulating transmission and reception of data by the simulation device, and communicating with a device different from the simulation device among the first communication device and the second communication device;
An output unit that outputs information indicating a result of testing the communication performed by the communication unit according to the determination formula;
A communication test apparatus comprising:
請求項1に記載の通信試験装置。The determination formula is a formula for determining the order and time interval in which the specific data is transmitted.
The communication test apparatus according to claim 1.
前記試験モデルに含まれる前記伝送データに関する判定式を前記判定式情報から抽出することで、試験の基準を示す基準データを生成する基準生成手段と、
をさらに備え、
前記取得手段は、前記システム情報と、前記機器情報と、を取得し、
前記判定式は、前記伝送データが伝送される順序を判定するための式であって、
前記通信手段は、前記試験モデルに含まれる前記通信アドレスを用いて通信する、
請求項1又は2に記載の通信試験装置。System information in which transmission data transmitted in a communication system including the first communication device and the second communication device is associated with a model of the device constituting the communication system, and the first communication device to be tested And model generation means for generating a test model in which the transmission data and the communication address are associated with each other from the device information in which the model of the second communication device and the communication address are associated with each other.
A reference generation means for generating reference data indicating a test reference by extracting a determination expression related to the transmission data included in the test model from the determination expression information;
Further comprising
The acquisition means acquires the system information and the device information,
The determination formula is a formula for determining the order in which the transmission data is transmitted,
The communication means communicates using the communication address included in the test model.
The communication test apparatus according to claim 1 or 2.
前記第1通信機器と前記第2通信機器との間で特定のデータが伝送される順序を判定するための式であって、予め定められた文法で記述される判定式により、前記通信ステップにおいてなされた通信を試験した結果を示す情報を出力する出力ステップと、
を含む通信試験方法。Communication that simulates data transmission / reception by a designated simulation device of the first communication device and the second communication device, and communicates with a device different from the simulation device of the first communication device and the second communication device. Steps,
An expression for determining the order in which specific data is transmitted between the first communication device and the second communication device, and in the communication step, according to a determination expression described in a predetermined grammar. An output step for outputting information indicating a result of testing the communication made;
A communication test method including:
第1通信機器及び第2通信機器のうち指定された模擬機器によるデータの送受信を模擬して、前記第1通信機器及び前記第2通信機器のうちの前記模擬機器とは異なる機器と通信し、
前記第1通信機器と前記第2通信機器との間で特定のデータが伝送される順序を判定するための式であって、予め定められた文法で記述される判定式により、通信を試験した結果を示す情報を出力する、
ことを実行させるためのプログラム。On the computer,
Simulating data transmission / reception by a designated simulation device among the first communication device and the second communication device, and communicating with a device different from the simulation device among the first communication device and the second communication device,
An expression for determining the order in which specific data is transmitted between the first communication apparatus and the second communication apparatus, and communication was tested using a determination expression described in a predetermined grammar. Output information indicating the results,
A program to make things happen.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2017/008528 WO2018158939A1 (en) | 2017-03-03 | 2017-03-03 | Communication test device, communication test method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JPWO2018158939A1 true JPWO2018158939A1 (en) | 2019-11-07 |
JP6802354B2 JP6802354B2 (en) | 2020-12-16 |
Family
ID=63370977
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019502410A Active JP6802354B2 (en) | 2017-03-03 | 2017-03-03 | Communication test equipment, communication test methods and programs |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP6802354B2 (en) |
WO (1) | WO2018158939A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109857085B (en) * | 2019-01-25 | 2021-01-15 | 深圳市元征科技股份有限公司 | Method and system for generating driving data in simulation mode, simulation terminal and test system |
KR102297542B1 (en) * | 2019-12-18 | 2021-09-02 | 한국항공우주연구원 | Connecting simulator |
CN116055353B (en) * | 2023-01-28 | 2023-06-30 | 中国信息通信研究院 | Device, method and system for testing communication network element technical interface performance |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010140084A (en) * | 2008-12-09 | 2010-06-24 | Toshiba Corp | Device for inspection model generation, device for model inspection, and method for inspection model generation |
JP2016012274A (en) * | 2014-06-30 | 2016-01-21 | 日立オートモティブシステムズ株式会社 | Test case generation system and recording medium recording test case |
WO2016135821A1 (en) * | 2015-02-23 | 2016-09-01 | 三菱電機株式会社 | Inspection device, inspection method and program |
JP2016224623A (en) * | 2015-05-28 | 2016-12-28 | 日本電信電話株式会社 | Screen UI verification device, screen UI verification method, and program |
-
2017
- 2017-03-03 WO PCT/JP2017/008528 patent/WO2018158939A1/en active Application Filing
- 2017-03-03 JP JP2019502410A patent/JP6802354B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010140084A (en) * | 2008-12-09 | 2010-06-24 | Toshiba Corp | Device for inspection model generation, device for model inspection, and method for inspection model generation |
JP2016012274A (en) * | 2014-06-30 | 2016-01-21 | 日立オートモティブシステムズ株式会社 | Test case generation system and recording medium recording test case |
WO2016135821A1 (en) * | 2015-02-23 | 2016-09-01 | 三菱電機株式会社 | Inspection device, inspection method and program |
JP2016224623A (en) * | 2015-05-28 | 2016-12-28 | 日本電信電話株式会社 | Screen UI verification device, screen UI verification method, and program |
Non-Patent Citations (1)
Title |
---|
隅田 嘉裕: "「空調システムの進化を支える最新技術」", 三菱電機技報, vol. 第88巻 第10号, JPN6020030337, 20 October 2014 (2014-10-20), pages 2 - 6, ISSN: 0004327652 * |
Also Published As
Publication number | Publication date |
---|---|
JP6802354B2 (en) | 2020-12-16 |
WO2018158939A1 (en) | 2018-09-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20180123820A1 (en) | Apparatus and method of generating internet of things data | |
JP4894619B2 (en) | Screen output setting method, information processing apparatus, and information processing system | |
JP6904683B2 (en) | Systems and methods that utilize machine-readable code for testing communication networks | |
CN102710549B (en) | To be established a communications link the method for relation, terminal and system by shooting | |
JP6802354B2 (en) | Communication test equipment, communication test methods and programs | |
JP6715283B2 (en) | Network system and information processing method | |
WO2014149671A2 (en) | Gateway system and process for ip enabled devices | |
JP5974931B2 (en) | Communication device | |
JP2016063520A (en) | Consumer electronics controller, consumer electronics control system, and consumer electronics control method | |
CN108293199B (en) | Electronic device and method for providing event management service | |
CN110678879A (en) | Data generation device, data generation method, and program | |
CN107181606B (en) | Method and apparatus for controlling network nodes | |
JP6014740B1 (en) | Radio status map creation system | |
CN112413826A (en) | Device configuration method and device, electronic device and storage medium | |
CN111602412B (en) | Device selection apparatus, data set selection apparatus, device selection method, and storage medium | |
JPWO2020255272A1 (en) | Electronic devices and methods | |
US9369515B2 (en) | Communication method, communication device, appliance control method, and appliance control device | |
CN107645377B (en) | System and method for adding an extrinsic part to a device key of a networked device | |
JP7196764B2 (en) | Information processing system | |
JP7381218B2 (en) | Product management system and product management method | |
JP6036593B2 (en) | COMMUNICATION SYSTEM, COMMUNICATION DEVICE, CONTROL METHOD, COMMUNICATION METHOD, AND COMPUTER PROGRAM | |
JP2017151742A (en) | Network system, server, information processing method, and electric appliance | |
JP6687430B2 (en) | Device control device, device control method, and device operation content acquisition method | |
JP2007128363A (en) | Programmable controller system | |
WO2020228037A1 (en) | Method and device for pushing information, smart terminal, server, and smart device system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190625 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190625 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20200825 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20201001 |
|
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: 20201027 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20201126 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6802354 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |