JP6771664B2 - Test equipment, test systems, test methods, and programs - Google Patents

Test equipment, test systems, test methods, and programs Download PDF

Info

Publication number
JP6771664B2
JP6771664B2 JP2019516327A JP2019516327A JP6771664B2 JP 6771664 B2 JP6771664 B2 JP 6771664B2 JP 2019516327 A JP2019516327 A JP 2019516327A JP 2019516327 A JP2019516327 A JP 2019516327A JP 6771664 B2 JP6771664 B2 JP 6771664B2
Authority
JP
Japan
Prior art keywords
test
simulator
air conditioner
unit
value
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.)
Active
Application number
JP2019516327A
Other languages
Japanese (ja)
Other versions
JPWO2018203390A1 (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Publication of JPWO2018203390A1 publication Critical patent/JPWO2018203390A1/en
Application granted granted Critical
Publication of JP6771664B2 publication Critical patent/JP6771664B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/273Tester hardware, i.e. output processing circuits
    • G06F11/277Tester hardware, i.e. output processing circuits with comparison between actual response and known fault-free response

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)
  • Testing And Monitoring For Control Systems (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)
  • Air Conditioning Control Device (AREA)

Description

本発明は、試験装置、試験システム、試験方法、および、プログラムに関する。 The present invention relates to test equipment, test systems, test methods, and programs.

複数のモジュールを備えるシステムにおいて、機能を改善したり不具合を修正したりするために一部のモジュールを変更する場合がある。この場合、この変更の影響がこれまで正常であった他のモジュールにおよび、当該他のモジュールで異常が発生する虞がある。したがって、高い品質を確保する為には、モジュールの変更があった場合は、当該変更がシステム全体の規模に比べて微小なものであったとしても、システム試験を全項目に渡って再度実施するのが望ましい。さらに、システム試験において不具合が発見された場合は、不具合を修正するために再度モジュールを変更する作業が必要となり、システム試験を再度実施する必要がある。 In a system with multiple modules, some modules may be modified to improve functionality or fix defects. In this case, the effect of this change may extend to other modules that have been normal so far, and an abnormality may occur in the other modules. Therefore, in order to ensure high quality, if there is a module change, the system test will be repeated for all items even if the change is small compared to the scale of the entire system. Is desirable. Furthermore, if a defect is found in the system test, it is necessary to change the module again in order to correct the defect, and it is necessary to carry out the system test again.

そこで、システム試験を効率化するため、システムを構成する機器の動作を計算機上で模擬するシミュレータを活用する技術が提案されている。例えば、特許文献1には、車両シミュレータを用いた車両装置の自動評価システムについて記載されている。具体的には、特許文献1に記載の車両装置の自動評価システムでは、評価者が入力した試験ケースデータにより設定した入力信号を車両シミュレータに入力し、車両シミュレータから出力される信号を分析する。これにより、車両装置の試験を簡易に実現することが可能となる。 Therefore, in order to improve the efficiency of system tests, a technique has been proposed that utilizes a simulator that simulates the operation of the devices constituting the system on a computer. For example, Patent Document 1 describes an automatic evaluation system for a vehicle device using a vehicle simulator. Specifically, in the automatic evaluation system of the vehicle device described in Patent Document 1, the input signal set by the test case data input by the evaluator is input to the vehicle simulator, and the signal output from the vehicle simulator is analyzed. This makes it possible to easily realize the test of the vehicle device.

特開2012−118043号公報Japanese Unexamined Patent Publication No. 2012-118043

上述した特許文献1に記載の技術では、機器から入力される入力信号および出力される出力信号を用いて機器の不具合を判別している。そのため、試験中に機器のメモリに記憶されている値を確認することはできないため、試験の精度において課題があった。また、試験の精度を向上させるために試験で確認したい情報を出力信号として出力させるようにすることも考えられるが、この場合は試験の内容が複雑化することが想定される。 In the technique described in Patent Document 1 described above, a defect of a device is discriminated by using an input signal input from the device and an output signal output from the device. Therefore, since it is not possible to confirm the value stored in the memory of the device during the test, there is a problem in the accuracy of the test. Further, in order to improve the accuracy of the test, it is conceivable to output the information to be confirmed in the test as an output signal, but in this case, the content of the test is expected to be complicated.

本発明は、上記実情に鑑みてなされたものであり、従来よりも高い精度での機器の試験を容易に実施することができる試験装置、試験システム、試験方法、および、プログラムを提供することを目的とする。 The present invention has been made in view of the above circumstances, and provides a test apparatus, a test system, a test method, and a program capable of easily performing a test of an apparatus with higher accuracy than before. The purpose.

上記目的を達成するため、本発明の試験装置は、
試験ケースに応じた処理を実行させるための入力信号を、試験対象とする機器を模擬するシミュレータに入力する信号入力部と、
前記入力信号の入力に応じて変化すると想定される前記シミュレータのメモリ領域の値を取得するメモリ取得部と、
前記メモリ取得部が取得した値に基づいて、異常の有無を判定する判定部と、を備え
前記入力信号は、前記シミュレータの前記メモリ領域の特定の場所に、特定の転送速度で、特定の値を格納させることを指示する信号である。
In order to achieve the above object, the test apparatus of the present invention
A signal input unit that inputs an input signal for executing processing according to the test case to a simulator that simulates the device to be tested,
A memory acquisition unit that acquires the value of the memory area of the simulator, which is expected to change according to the input of the input signal, and
A determination unit for determining the presence or absence of an abnormality based on the value acquired by the memory acquisition unit is provided .
The input signal is a signal instructing that a specific value is stored in a specific place in the memory area of the simulator at a specific transfer rate.

本発明によれば、従来よりも高い精度での機器の試験を容易に実施することができる。 According to the present invention, it is possible to easily test a device with higher accuracy than before.

本発明の実施形態に係る試験システムの構成を示すブロック図Block diagram showing the configuration of the test system according to the embodiment of the present invention 空調機プログラム格納部に格納されているデータの例を示す図The figure which shows the example of the data stored in the air conditioner program storage part. システム構成テーブルに格納されているデータの例を示す図Diagram showing an example of the data stored in the system configuration table 試験ケースデータ格納部に格納されているデータの例を示す図The figure which shows the example of the data stored in the test case data storage part. 試験結果格納部に格納されているデータの例を示す図The figure which shows the example of the data stored in the test result storage part. シミュレータ設定処理の手順を示すフローチャートFlowchart showing the procedure of simulator setting process シミュレータ設定処理の流れを示すシーケンス図Sequence diagram showing the flow of simulator setting processing 試験処理の手順を示すフローチャートFlowchart showing the procedure of the test process 信号入力処理の手順を示すフローチャートFlowchart showing the procedure of signal input processing 信号入力処理の手順を示すシーケンス図Sequence diagram showing the procedure of signal input processing メモリ取得処理の手順を示すフローチャートFlowchart showing the procedure of memory acquisition processing メモリ取得処理の流れを示すシーケンス図Sequence diagram showing the flow of memory acquisition processing 判定処理の手順を示すフローチャートFlowchart showing the procedure of judgment processing メモリ取得処理で取得された値の例を示す図The figure which shows the example of the value acquired by the memory acquisition process 判定処理で取得される判定用データの値の例を示す図The figure which shows the example of the value of the judgment data acquired by the judgment process

以下、本発明の実施形態について、図面を参照しながら詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

本発明の実施形態に係る試験システム10は、1又は複数の空調機(室内機、室外機)を備える空調システムで正常な処理が行われているかどうかを試験するためのシステムである。試験システム10は、図1に示すように、複数の空調機シミュレータ100A、B、Cと、試験装置200と、を備える。 The test system 10 according to the embodiment of the present invention is a system for testing whether or not normal processing is performed in an air conditioner system including one or more air conditioners (indoor unit, outdoor unit). As shown in FIG. 1, the test system 10 includes a plurality of air conditioner simulators 100A, B, and C, and a test device 200.

空調機シミュレータ100A、B、Cは、試験システム10で試験対象とする空調システムを構成する各空調機の動作を模擬するコンピュータである。なお、後述するシミュレータ設定処理により、空調機シミュレータ100Aは、空調機識別番号が「1」である室外機(以下、室外機1とも表記)を模擬するように設定される。また、後述するシミュレータ設定処理により、空調機シミュレータ100Bは、空調機識別番号が「2」である室内機(以下、室内機2とも表記)を模擬するように設定される。また、後述するシミュレータ設定処理により、空調機シミュレータ100Cは、空調機識別番号が「3」である室内機(以下、室内機3とも表記)を模擬するように設定される。なお、以下の説明では、空調機シミュレータ100A、B、Cを区別しない場合は、空調機シミュレータ100と表記する。 The air conditioner simulators 100A, B, and C are computers that simulate the operation of each air conditioner constituting the air conditioner system to be tested by the test system 10. The air conditioner simulator 100A is set to simulate an outdoor unit (hereinafter, also referred to as outdoor unit 1) having an air conditioner identification number of "1" by a simulator setting process described later. Further, the air conditioner simulator 100B is set to simulate an indoor unit having an air conditioner identification number of "2" (hereinafter, also referred to as indoor unit 2) by a simulator setting process described later. Further, the air conditioner simulator 100C is set to simulate an indoor unit having an air conditioner identification number of "3" (hereinafter, also referred to as an indoor unit 3) by a simulator setting process described later. In the following description, when the air conditioner simulators 100A, B, and C are not distinguished, they are referred to as the air conditioner simulator 100.

続いて、空調機シミュレータ100の構成について説明する。空調機シミュレータ100は、インタフェース(IF)部110と、記憶部120と、制御部130と、を備える。 Subsequently, the configuration of the air conditioner simulator 100 will be described. The air conditioner simulator 100 includes an interface (IF) unit 110, a storage unit 120, and a control unit 130.

IF部110は、空調機シミュレータ100が試験装置200、および、他の空調機シミュレータ100と通信するためのインタフェースである。 The IF unit 110 is an interface for the air conditioner simulator 100 to communicate with the test device 200 and another air conditioner simulator 100.

記憶部120は、いわゆる二次記憶装置(補助記憶装置)としての役割を担い、例えば、読み書き可能な不揮発性のフラッシュメモリ、ハードディスクドライブ等である。記憶部120には、制御部130が実行するプログラムや各種のデータが記憶される。また、記憶部120には、空調機シミュレータ100が模擬する空調機のメモリに相当する空調メモリ領域121が設けられている。模擬する空調機のメモリのアドレス空間のサイズと空調メモリ領域121のアドレス空間のサイズとは、実質的に同一である。 The storage unit 120 plays a role as a so-called secondary storage device (auxiliary storage device), and is, for example, a readable / writable non-volatile flash memory, a hard disk drive, or the like. The storage unit 120 stores programs and various data executed by the control unit 130. Further, the storage unit 120 is provided with an air conditioning memory area 121 corresponding to the memory of the air conditioner simulated by the air conditioner simulator 100. The size of the memory address space of the simulated air conditioner and the size of the address space of the air conditioning memory area 121 are substantially the same.

制御部130は、CPU(Central Processing Unit)、オペレーティングシステム等のプログラムを記憶するROM(Read Only Memory)、ワークエリアとなるRAM(Random Access Memory)等を備える。制御部130は、ROMに記憶されているプログラムを実行することにより、空調機シミュレータ100の全体を制御する。また、制御部130は、機能的な構成として、シミュレータ管理部131と、模擬部132と、を備える。 The control unit 130 includes a CPU (Central Processing Unit), a ROM (Read Only Memory) for storing programs such as an operating system, a RAM (Random Access Memory) serving as a work area, and the like. The control unit 130 controls the entire air conditioner simulator 100 by executing the program stored in the ROM. Further, the control unit 130 includes a simulator management unit 131 and a simulation unit 132 as functional configurations.

シミュレータ管理部131は、試験装置200からの指示に基づいて、空調メモリ領域121に情報を読み書きする。例えば、シミュレータ管理部131は、試験装置200から送信された空調機プログラムを空調メモリ領域121に格納する。また、シミュレータ管理部131は、試験装置200から要求された空調メモリ領域121のアドレスが示す場所から、要求されたサイズ分の値を取得して、試験装置200に送信する。 The simulator management unit 131 reads and writes information to and from the air conditioning memory area 121 based on the instruction from the test device 200. For example, the simulator management unit 131 stores the air conditioner program transmitted from the test device 200 in the air conditioning memory area 121. Further, the simulator management unit 131 acquires a value for the requested size from the location indicated by the address of the air conditioning memory area 121 requested by the test device 200, and transmits the value to the test device 200.

模擬部132は、試験装置200から送信された空調機プログラムを実行することにより、空調機を模擬する。例えば、模擬部132は、空調機で行われる通信処理を模擬して、他の空調機シミュレータ100との間で各種の情報を送受信する。また、模擬部132は、空調機で行われるCPUの動作(メモリ、および、レジスタへの情報の読み書き)を模擬する。 The simulation unit 132 simulates an air conditioner by executing an air conditioner program transmitted from the test apparatus 200. For example, the simulation unit 132 simulates the communication processing performed by the air conditioner and transmits and receives various information to and from another air conditioner simulator 100. Further, the simulation unit 132 simulates the operation of the CPU (reading / writing information to / from the memory and registers) performed by the air conditioner.

続いて、試験装置200について説明する。試験装置200は、空調機シミュレータ100を制御して試験ケースに応じた処理を実行させるコンピュータである。試験装置200は、インタフェース(IF)部210と、表示部220と、操作部230と、記憶部240と、制御部250と、を備える。 Subsequently, the test apparatus 200 will be described. The test device 200 is a computer that controls the air conditioner simulator 100 to execute processing according to the test case. The test device 200 includes an interface (IF) unit 210, a display unit 220, an operation unit 230, a storage unit 240, and a control unit 250.

IF部210は、試験装置200が空調機シミュレータ100と通信するためのインタフェースである。 The IF unit 210 is an interface for the test device 200 to communicate with the air conditioner simulator 100.

表示部220は、例えば、液晶ディスプレイであり、制御部250の制御の下、各種の情報を表示する。例えば、表示部220は、試験の結果を表す画面を表示する。 The display unit 220 is, for example, a liquid crystal display, and displays various information under the control of the control unit 250. For example, the display unit 220 displays a screen showing the result of the test.

操作部230は、例えば、キーボードやマウスであり、ユーザからの操作入力を受け付け、該操作入力に対応した信号を制御部250に出力する。例えば、操作部230は、ユーザから、試験ケースの指定や試験の開始の指示を受け付ける。 The operation unit 230 is, for example, a keyboard or a mouse, receives an operation input from the user, and outputs a signal corresponding to the operation input to the control unit 250. For example, the operation unit 230 receives an instruction from the user to specify a test case or start a test.

記憶部240は、いわゆる二次記憶装置(補助記憶装置)としての役割を担い、例えば、読み書き可能な不揮発性のフラッシュメモリ、ハードディスクドライブ等である。記憶部240には、制御部250が実行するプログラムと各種のデータが記憶される。また、記憶部240は、空調機プログラム格納部241と、システム構成テーブル242と、試験ケースデータ格納部243と、試験結果格納部244と、を記憶する。 The storage unit 240 plays a role as a so-called secondary storage device (auxiliary storage device), and is, for example, a readable / writable non-volatile flash memory, a hard disk drive, or the like. The storage unit 240 stores a program executed by the control unit 250 and various data. Further, the storage unit 240 stores the air conditioner program storage unit 241 and the system configuration table 242, the test case data storage unit 243, and the test result storage unit 244.

空調機プログラム格納部241には、空調機プログラムが格納される。具体的には、空調機プログラム格納部241には、図2に示すように、空調機プログラムと、該空調機プログラムを識別するためのプログラム名と、データテーブルと、が対応付けられて記憶される。 The air conditioner program is stored in the air conditioner program storage unit 241. Specifically, as shown in FIG. 2, the air conditioner program storage unit 241 stores the air conditioner program, the program name for identifying the air conditioner program, and the data table in association with each other. To.

空調機プログラムは、空調機シミュレータ100に送信されて実行されるプログラムである。空調機シミュレータ100が空調機プログラムを実行することにより、空調機シミュレータ100は、空調機として動作(模擬)する。空調機プログラムは、ソースコードをコンパイルすることによって作成されるオブジェクトコードである。なお、空調機プログラム格納部241に格納されている空調機プログラムは、模擬される空調機のメモリに実際に記憶されて実行されているものと同一である。 The air conditioner program is a program that is transmitted to and executed by the air conditioner simulator 100. When the air conditioner simulator 100 executes the air conditioner program, the air conditioner simulator 100 operates (simulates) as an air conditioner. An air conditioner program is object code created by compiling source code. The air conditioner program stored in the air conditioner program storage unit 241 is the same as the one actually stored and executed in the memory of the simulated air conditioner.

データテーブルは、この空調機プログラムで定義されている各データのデータ名、各データが格納されている場所を示す空調メモリ領域121のアドレス、および、各データのサイズが登録されるテーブルである。データテーブルは、例えば、空調機プログラムのソースコードをコンパイルした際のログファイルを解析することにより作成される。なお、図2におけるデータテーブルのサイズの単位はバイトである。 The data table is a table in which the data name of each data defined in this air conditioner program, the address of the air conditioner memory area 121 indicating the location where each data is stored, and the size of each data are registered. The data table is created, for example, by analyzing the log file when the source code of the air conditioner program is compiled. The unit of the size of the data table in FIG. 2 is bytes.

図1に戻り、システム構成テーブル242は、試験対象とする空調システムを構成する各空調機に関する情報が登録されるテーブルである。具体的には、図3に示すように、システム構成テーブル242には、空調システムを構成する空調機毎に、この空調機の識別情報である空調機識別番号と、この空調機が室内機か室外機の何れかであるかを示す種別と、この空調機のメモリに記憶されている空調機プログラムのプログラム名と、この空調機の接続相手(この空調機が接続する他の空調機の空調機識別番号)と、が登録される。なお、空調機識別番号の代わりに、空調機の識別名やID等をシステム構成テーブル242に登録してもよい。 Returning to FIG. 1, the system configuration table 242 is a table in which information about each air conditioner constituting the air conditioning system to be tested is registered. Specifically, as shown in FIG. 3, in the system configuration table 242, for each air conditioner constituting the air conditioner system, an air conditioner identification number which is identification information of the air conditioner and whether the air conditioner is an indoor unit The type indicating whether it is one of the outdoor units, the program name of the air conditioner program stored in the memory of this air conditioner, and the connection partner of this air conditioner (air conditioner of other air conditioners to which this air conditioner connects). Machine identification number) and are registered. Instead of the air conditioner identification number, the air conditioner identification name, ID, or the like may be registered in the system configuration table 242.

図1に戻り、試験ケースデータ格納部243には、図4に示すように、試験ケース毎に、試験ケース名と、入力信号と、入力信号の送信先となる空調機シミュレータ100が模擬する空調機の空調機識別番号(送信先空調機識別番号)と、判定対象情報と、が格納される。 Returning to FIG. 1, in the test case data storage unit 243, as shown in FIG. 4, the test case name, the input signal, and the air conditioner simulated by the air conditioner simulator 100 to which the input signal is transmitted are simulated for each test case. The air conditioner identification number (destination air conditioner identification number) of the machine and the determination target information are stored.

入力信号は、この試験ケースによる試験の開始時に空調機シミュレータ100に送信される信号である。入力信号には、アドレス、転送レート、および、入力値を示す情報が含まれる。空調機シミュレータ100は、入力信号を受信すると、この入力信号で指定されている空調メモリ領域121のアドレスが示す領域に、指定されている入力値を、指定されている転送レートで格納する。これにより、空調機シミュレータ100では、試験ケースに応じた処理が実行され、空調メモリ領域121に記憶されている各データ(判定用データ)の値が変更される。 The input signal is a signal transmitted to the air conditioner simulator 100 at the start of the test by this test case. The input signal contains information indicating the address, transfer rate, and input value. When the air conditioner simulator 100 receives the input signal, the air conditioner simulator 100 stores the designated input value at the designated transfer rate in the area indicated by the address of the air conditioning memory area 121 designated by the input signal. As a result, in the air conditioner simulator 100, the processing according to the test case is executed, and the value of each data (determination data) stored in the air conditioning memory area 121 is changed.

判定対象情報は、判定用データが格納されている空調機の空調機識別番号、判定用データのデータ名、および判定用データの期待値を示す情報により構成される。判定用データは、この試験ケースによる試験での異常の有無を判定するために値が参照されるデータである。正常動作の場合、判定用データの値は期待値と一致する。なお、期待値には、一定の幅を持たせてもよい。 The judgment target information is composed of the air conditioner identification number of the air conditioner in which the judgment data is stored, the data name of the judgment data, and the information indicating the expected value of the judgment data. The determination data is data whose value is referred to in order to determine the presence or absence of an abnormality in the test by this test case. In the case of normal operation, the value of the judgment data matches the expected value. The expected value may have a certain range.

図1に戻り、試験結果格納部244には、試験での異常の有無を判定した結果を示す情報が格納される。具体的には、図5に示すように、試験結果格納部244には、試験ケースの名称と、この試験ケースによる試験で判定した結果(正常か異常か)を示す判定結果と、その判定の理由を示す判定理由情報と、が対応付けられて格納される。なお、判定理由情報は、期待値が一致しなかった判定用データが格納されている空調機の空調機識別番号と、該判定用データのデータ名と、値と、期待値と、を示す情報が含まれる。なお、判定結果「正常」の場合は、判定理由情報には「全て一致」等のテキストが登録される。 Returning to FIG. 1, the test result storage unit 244 stores information indicating the result of determining the presence or absence of an abnormality in the test. Specifically, as shown in FIG. 5, in the test result storage unit 244, the name of the test case, the judgment result indicating the result (normal or abnormal) judged in the test by this test case, and the judgment result are determined. Judgment reason information indicating the reason is stored in association with each other. The judgment reason information is information indicating the air conditioner identification number of the air conditioner in which the judgment data in which the expected values do not match is stored, the data name, the value, and the expected value of the judgment data. Is included. If the judgment result is "normal", a text such as "all match" is registered in the judgment reason information.

図1に戻り、制御部250は、CPU、オペレーティングシステム等のプログラムを記憶するROM、ワークエリアとなるRAM等を備える。制御部250は、ROMに記憶されているプログラムを実行することにより、試験装置200の全体を制御する。また、制御部250は、機能的な構成として、設定部251と、信号入力部252と、メモリ取得部253と、判定部254と、を備える。 Returning to FIG. 1, the control unit 250 includes a CPU, a ROM for storing programs such as an operating system, a RAM serving as a work area, and the like. The control unit 250 controls the entire test apparatus 200 by executing the program stored in the ROM. Further, the control unit 250 includes a setting unit 251, a signal input unit 252, a memory acquisition unit 253, and a determination unit 254 as functional configurations.

設定部251は、試験を実施する前に、空調機シミュレータ100の設定を行う。設定部251が実施する処理の詳細については後述する。 The setting unit 251 sets the air conditioner simulator 100 before carrying out the test. Details of the processing performed by the setting unit 251 will be described later.

信号入力部252は、試験ケースデータ格納部243を参照して、試験ケースに応じた入力信号を対応する空調機シミュレータ100に入力する。信号入力部252が実施する処理の詳細については後述する。 The signal input unit 252 inputs the input signal corresponding to the test case to the corresponding air conditioner simulator 100 with reference to the test case data storage unit 243. Details of the processing performed by the signal input unit 252 will be described later.

メモリ取得部253は、空調機シミュレータ100から、入力信号の入力に応じて変化すると想定される空調機シミュレータ100の空調メモリ領域121の値を取得する。メモリ取得部253が実施する処理の詳細については後述する。 The memory acquisition unit 253 acquires the value of the air conditioner memory area 121 of the air conditioner simulator 100, which is expected to change according to the input of the input signal, from the air conditioner simulator 100. Details of the processing performed by the memory acquisition unit 253 will be described later.

判定部254は、メモリ取得部253が取得した値に基づいて、異常の有無を判定する。判定部254が実施する処理の詳細については後述する。 The determination unit 254 determines the presence or absence of an abnormality based on the value acquired by the memory acquisition unit 253. Details of the processing performed by the determination unit 254 will be described later.

(シミュレータ設定処理)
続いて、試験システム10の動作について説明する。始めに、試験を実施する前に、空調機シミュレータ100の設定を行うシミュレータ設定処理について、図6に示すフローチャート、および、このフローチャートに対応する図7に示すシーケンス図を用いて説明する。なお、ユーザが操作部230を介して入力したり図示せぬサーバからダウンロードする等して、試験装置200の記憶部240には、図2〜4に示すような内容の空調機プログラム格納部241、システム構成テーブル242、および、試験ケースデータ格納部243が格納されている。また、この段階では、各空調機シミュレータ100がどの空調機を模擬するかは設定されておらず、起動もしていない。
(Simulator setting process)
Subsequently, the operation of the test system 10 will be described. First, before carrying out the test, the simulator setting process for setting the air conditioner simulator 100 will be described with reference to the flowchart shown in FIG. 6 and the sequence diagram shown in FIG. 7 corresponding to this flowchart. It should be noted that the storage unit 240 of the test apparatus 200 has the contents of the air conditioner program storage unit 241 as shown in FIGS. , The system configuration table 242, and the test case data storage unit 243 are stored. Further, at this stage, which air conditioner each air conditioner simulator 100 simulates is not set, and it is not started.

試験装置200の操作部230を介して、ユーザからシミュレータ設定処理の開始の指示がなされるとシミュレータ設定処理が開始される。まず、試験装置200の設定部251は、システム構成テーブル242を参照して、試験対象とする空調システムを構成する空調機(室内機、室外機)の台数を判別する(ステップS11)。図3に示すシステム構成テーブル242より、空調機の台数は3台と判別される。そして、設定部251は、判別した台数分の空調機シミュレータ100に起動コマンドを送信する(ステップS12)。起動コマンドを受信した空調機シミュレータ100は、起動状態となる。なお、ここでは、空調機シミュレータ100A〜Cが起動されたものとする。 When the user gives an instruction to start the simulator setting process via the operation unit 230 of the test apparatus 200, the simulator setting process is started. First, the setting unit 251 of the test device 200 determines the number of air conditioners (indoor unit, outdoor unit) constituting the air conditioner system to be tested with reference to the system configuration table 242 (step S11). From the system configuration table 242 shown in FIG. 3, it is determined that the number of air conditioners is three. Then, the setting unit 251 transmits a start command to the determined number of air conditioner simulators 100 (step S12). The air conditioner simulator 100 that has received the start command is put into the start state. Here, it is assumed that the air conditioner simulators 100A to C have been started.

続いて、試験装置200の設定部251は、図2に示す空調機プログラム格納部241に格納されている各空調機プログラムを、起動させた各空調機シミュレータ100に送信する(ステップS13)。なお、ここでは、プログラム名「室外機PGM_v1」の空調機プログラムが空調機シミュレータ100Aに送信され、プログラム名「室内機PGM_v2」の空調機プログラムが空調機シミュレータ100Bに送信され、プログラム名「室内機PGM_v3」の空調機プログラムが空調機シミュレータ100Cに送信されたものとする。 Subsequently, the setting unit 251 of the test apparatus 200 transmits each air conditioner program stored in the air conditioner program storage unit 241 shown in FIG. 2 to each activated air conditioner simulator 100 (step S13). Here, the air conditioner program with the program name "outdoor unit PGM_v1" is transmitted to the air conditioner simulator 100A, the air conditioner program with the program name "indoor unit PGM_v2" is transmitted to the air conditioner simulator 100B, and the program name "indoor unit". It is assumed that the air conditioner program of "PGM_v3" is transmitted to the air conditioner simulator 100C.

続いて、空調機シミュレータ100のシミュレータ管理部131は、空調機プログラムを受信すると(ステップS14)、当該空調機プログラムを記憶部120の空調メモリ領域121に格納する(ステップS15)。そして、空調機シミュレータ100は、格納した空調機プログラムを実行する(ステップS16)。これにより、空調機シミュレータ100は、空調機プログラムに対応した空調機を模擬する。即ち、空調機シミュレータ100Aは室外機1を模擬し、空調機シミュレータ100Bは室内機2を模擬し、空調機シミュレータ100Cは室内機3を模擬する。以上でシミュレータ設定処理は終了する。 Subsequently, when the simulator management unit 131 of the air conditioner simulator 100 receives the air conditioner program (step S14), the simulator management unit 131 stores the air conditioner program in the air conditioning memory area 121 of the storage unit 120 (step S15). Then, the air conditioner simulator 100 executes the stored air conditioner program (step S16). As a result, the air conditioner simulator 100 simulates an air conditioner corresponding to the air conditioner program. That is, the air conditioner simulator 100A simulates the outdoor unit 1, the air conditioner simulator 100B simulates the indoor unit 2, and the air conditioner simulator 100C simulates the indoor unit 3. This completes the simulator setting process.

(試験処理)
続いて、上述したシミュレータ設定処理後に試験システム10で実施される、空調システムを試験する処理(試験処理)について、図8のフローチャートを参照して説明する。例えば、試験装置200の操作部230を介して、ユーザから実施したい試験ケースの指定を受け付けると試験処理は開始される。なお、ここでは、ユーザから試験ケース名「設定通信試験」が指定されたものとして以下説明する。
(Test process)
Subsequently, a process (test process) for testing the air conditioning system, which is performed in the test system 10 after the above-mentioned simulator setting process, will be described with reference to the flowchart of FIG. For example, the test process is started when a user specifies a test case to be executed via the operation unit 230 of the test device 200. Here, it will be described below assuming that the test case name "setting communication test" is specified by the user.

(試験処理:信号入力処理)
試験処理が開始されると、試験装置200は、試験ケースデータ格納部243を参照して、指定された試験ケースに応じた処理を実行させるための入力信号を空調機シミュレータ100に送信し、空調機シミュレータ100では、受信した入力信号に基づいた処理がなされる信号入力処理が実行される(ステップS100)。信号入力処理の詳細について、図9に示すフローチャート、および、このフローチャートに対応する図10に示すシーケンス図を用いて説明する。
(Test processing: Signal input processing)
When the test process is started, the test apparatus 200 refers to the test case data storage unit 243 and transmits an input signal for executing the process according to the designated test case to the air conditioner simulator 100 to perform air conditioning. In the machine simulator 100, signal input processing is executed, in which processing is performed based on the received input signal (step S100). The details of the signal input process will be described with reference to the flowchart shown in FIG. 9 and the sequence diagram shown in FIG. 10 corresponding to this flowchart.

まず、試験装置200の信号入力部252は、試験ケースデータ格納部243を参照して、指定された試験ケースに対応する入力信号を、送信先空調機識別番号で識別される空調機を模擬している空調機シミュレータ100に送信する(S101)。試験ケースデータ格納部243には図4に示す情報が格納されており、ユーザからは試験ケース名「設定通信試験」が指定されているため、アドレス「0x80808」、転送レート「10bps」、値「00101011b」を含んだ入力信号が、空調機識別番号がそれぞれ2、3である「室内機2」、「室内機3」を模擬している空調機シミュレータ100B、Cに送信される。 First, the signal input unit 252 of the test apparatus 200 refers to the test case data storage unit 243 and simulates an air conditioner in which the input signal corresponding to the designated test case is identified by the destination air conditioner identification number. It is transmitted to the air conditioner simulator 100 (S101). Since the information shown in FIG. 4 is stored in the test case data storage unit 243 and the test case name "setting communication test" is specified by the user, the address "0x80808", the transfer rate "10 bps", and the value " The input signal including "00101011b" is transmitted to the air conditioner simulators 100B and C simulating the "indoor unit 2" and the "indoor unit 3" whose air conditioner identification numbers are 2 and 3, respectively.

続いて、空調機シミュレータ100のシミュレータ管理部131は、試験装置200から入力信号を受信すると(ステップS102)、受信した入力信号で指定されている転送レートで、空調メモリ領域121の指定されているアドレスが示す場所に、指定されている値を格納する(ステップS103)。従って、空調機シミュレータ100B、Cのそれぞれの空調メモリ領域121のアドレス「0x80808」が示す位置に、転送レート「10bps」で、値「0101011b」が格納される。 Subsequently, when the simulator management unit 131 of the air conditioner simulator 100 receives the input signal from the test device 200 (step S102), the air conditioner memory area 121 is designated at the transfer rate specified by the received input signal. The specified value is stored in the location indicated by the address (step S103). Therefore, the value "0101011b" is stored at the position indicated by the address "0x80808" of each of the air conditioning memory areas 121 of the air conditioner simulators 100B and C at the transfer rate "10 bps".

このステップS103での空調メモリ領域121への値の格納をトリガにして、模擬部132は、指定された試験ケースに応じた処理を実行する(ステップS104)。そして、この処理が正常に実行されると、各判定用データの値は期待値に更新される。以上で信号入力処理は終了する。 Triggered by the storage of the value in the air conditioning memory area 121 in step S103, the simulation unit 132 executes the process according to the designated test case (step S104). Then, when this process is executed normally, the value of each determination data is updated to the expected value. This completes the signal input process.

(試験処理:メモリ取得処理)
図8に戻り、信号入力処理が終了すると、試験システム10では、試験装置200が空調機シミュレータ100のメモリ領域から判定用データの値を取得するメモリ取得処理が実施される(ステップS200)。メモリ取得処理の詳細について、図11に示すフローチャート、および、このフローチャートに対応する図12に示すシーケンス図を用いて説明する。
(Test process: Memory acquisition process)
Returning to FIG. 8, when the signal input process is completed, the test system 10 executes a memory acquisition process in which the test device 200 acquires the value of the determination data from the memory area of the air conditioner simulator 100 (step S200). The details of the memory acquisition process will be described with reference to the flowchart shown in FIG. 11 and the sequence diagram shown in FIG. 12 corresponding to this flowchart.

まず、試験装置200のメモリ取得部253は、試験ケースデータ格納部243の判定対象情報を参照して、指定した試験ケースで判定対象にする判定用データを特定する(ステップS201)。即ち、ここでは、試験ケース名「設定通信試験」が指定されているため、図4に示す試験ケースデータ格納部243から、空調機識別番号が「2」、「3」である空調機(室内機2、3)のデータ名が「発停」、「運転モード」、「冷房設定温度」、「暖房設定温度」、「通信異常」、「冷媒系異常」であるデータが、判定用データとして特定される。 First, the memory acquisition unit 253 of the test apparatus 200 refers to the determination target information of the test case data storage unit 243 and specifies the determination data to be determined in the designated test case (step S201). That is, since the test case name "setting communication test" is specified here, the air conditioner (indoor) whose air conditioner identification numbers are "2" and "3" from the test case data storage unit 243 shown in FIG. The data whose data names of the machines 2 and 3) are "start / stop", "operation mode", "cooling set temperature", "heating set temperature", "communication abnormality", and "refrigerant system abnormality" are used as judgment data. Be identified.

続いて、メモリ取得部253は、システム構成テーブル242と空調機プログラム格納部241のデータテーブルとを参照して、ステップS201で特定した判定用データが格納されている空調機シミュレータ100の空調メモリ領域121のアドレスの範囲を特定する(ステップS202)。従って、ここでは、判定用データ「発停」、「運転モード」、「冷房設定温度」、「暖房設定温度」、「通信異常」、「冷媒系異常」が格納されている室内機2、3の空調メモリ領域121のアドレス範囲「0x00000〜0x0000F」が特定される。 Subsequently, the memory acquisition unit 253 refers to the system configuration table 242 and the data table of the air conditioner program storage unit 241, and refers to the air conditioner memory area of the air conditioner simulator 100 in which the determination data specified in step S201 is stored. The range of addresses of 121 is specified (step S202). Therefore, here, the indoor units 2 and 3 in which the determination data "start / stop", "operation mode", "cooling set temperature", "heating set temperature", "communication abnormality", and "refrigerant system abnormality" are stored. The address range "0x00000 to 0x0000F" of the air conditioning memory area 121 of the above is specified.

そして、メモリ取得部253は、対応する空調機シミュレータ100に、空調メモリ領域121の特定したアドレス範囲が示す場所から値を取得することを要求する取得要求コマンドを送信する(ステップS203)。即ち、室内機2、室内機3をそれぞれ模擬している空調機シミュレータ100B、Cに、アドレス範囲「0x00000〜0x0000F」が示す空調メモリ領域121の場所から値を取得することを要求する取得要求コマンドが送信される。 Then, the memory acquisition unit 253 transmits an acquisition request command requesting the corresponding air conditioner simulator 100 to acquire a value from the location indicated by the specified address range of the air conditioning memory area 121 (step S203). That is, an acquisition request command that requires the air conditioner simulators 100B and C simulating the indoor unit 2 and the indoor unit 3, respectively, to acquire a value from the location of the air conditioning memory area 121 indicated by the address range "0x00000 to 0x0000F". Is sent.

空調機シミュレータ100のシミュレータ管理部131は、取得要求コマンドを受信すると(ステップS204)、空調メモリ領域121の当該取得要求コマンドで要求されているアドレス範囲が示す場所に格納されている値を取得する(ステップS205)。そして、シミュレータ管理部131は、取得した値を試験装置200に送信し(ステップS206)、試験装置200のメモリ取得部253は、この値を受信する(ステップS207)。以上でメモリ取得処理は終了する。 When the simulator management unit 131 of the air conditioner simulator 100 receives the acquisition request command (step S204), the simulator management unit 131 acquires the value stored in the location indicated by the address range requested by the acquisition request command in the air conditioning memory area 121. (Step S205). Then, the simulator management unit 131 transmits the acquired value to the test device 200 (step S206), and the memory acquisition unit 253 of the test device 200 receives this value (step S207). This completes the memory acquisition process.

(試験処理:判定処理)
図8に戻り、メモリ取得処理が終了すると、試験装置200は、当該メモリ取得処理で取得された値に基づいて、試験が正常に実施されたか否かを判定する判定処理を行う(ステップS300)。判定処理の詳細について、図13に示すフローチャートを用いて説明する。
(Test process: Judgment process)
Returning to FIG. 8, when the memory acquisition process is completed, the test apparatus 200 performs a determination process for determining whether or not the test has been normally performed based on the value acquired in the memory acquisition process (step S300). .. The details of the determination process will be described with reference to the flowchart shown in FIG.

まず、試験装置200の判定部254は、試験ケースデータ格納部243に格納されている判定対象情報を参照して、メモリ取得処理で取得された値(空調メモリ領域121の値)から、各判定用データの値を取得する(ステップS301)。 First, the determination unit 254 of the test apparatus 200 refers to the determination target information stored in the test case data storage unit 243, and makes each determination from the values acquired in the memory acquisition process (values of the air conditioning memory area 121). Acquire the value of the data for use (step S301).

例えば、メモリ取得処理で、室内機2を模擬している空調機シミュレータ100Bの空調メモリ領域121のアドレス範囲「0x00000〜0x0000F」が示す場所から、図14Aに示すような値が取得された場合を考える。この場合、判定部254は、判定用データ「発停」の値として、図14Aに示す値からアドレス「0x00000」を先頭に1バイト分の値「0x01」を取得する。同様に、判定部254は、判定用データ「運転モード」の値として、図14Aに示す値からアドレス「0x00001」を先頭に3バイト分の値「0x000001」を取得する。判定部254は、他の判定用データの値も同様に取得して、最終的には、図14Bに示すように、各判定用データの値が取得される。 For example, in the memory acquisition process, a value as shown in FIG. 14A may be acquired from the location indicated by the address range “0x00000 to 0x0000F” of the air conditioning memory area 121 of the air conditioner simulator 100B simulating the indoor unit 2. Think. In this case, the determination unit 254 acquires the value "0x01" for one byte from the value shown in FIG. 14A as the value of the determination data "start / stop", starting with the address "0x00000". Similarly, the determination unit 254 acquires the value “0x000001” for 3 bytes from the value shown in FIG. 14A as the value of the determination data “operation mode” starting from the address “0x00001”. The determination unit 254 also acquires the values of the other determination data in the same manner, and finally, as shown in FIG. 14B, the values of the respective determination data are acquired.

図13に戻り、続いて、判定部254は、試験ケースデータ格納部243を参照して、取得した判定用データの値が、全て期待値と一致するか否かを判別する(ステップS302)。 Returning to FIG. 13, the determination unit 254 then refers to the test case data storage unit 243 to determine whether or not all the acquired determination data values match the expected values (step S302).

全て一致すると判別された場合(ステップS302;Yes)、判定部254は、試験結果格納部244に、指定された試験ケースによる試験では異常は無かったことを示すデータ(判定結果「正常」とするデータ)を登録する(ステップS303)。なお、この場合、判定部254は、登録されたデータの判定理由情報は、「全て一致」等のテキストを入力する。 When it is determined that all of them match (step S302; Yes), the determination unit 254 indicates that there is no abnormality in the test result storage unit 244 in the test by the designated test case (determination result "normal"). Data) is registered (step S303). In this case, the determination unit 254 inputs a text such as "all match" as the determination reason information of the registered data.

一方、期待値と一致しない判定用データがあると判別された場合(ステップS302;No)、判定部254は、試験結果格納部244に、指定された試験ケースによる試験で異常が発生したことを示すデータ(判定結果「異常」とするデータ)を登録する(ステップS304)。なお、この場合、判定理由情報には、一致しなかった判定用データのデータ名、値、期待値を入力する。ここでは、今回指定した試験ケース「設定通信試験」での試験において、ステップS301で取得した室内機2の判定用データ「運転モード」の値「0x000002」が、期待値「0x000001」と一致しないため、図5に示すように、判定結果「異常」とするデータが、試験結果格納部244に登録される。 On the other hand, when it is determined that there is determination data that does not match the expected value (step S302; No), the determination unit 254 indicates that an abnormality has occurred in the test result storage unit 244 in the test using the designated test case. The indicated data (data whose determination result is “abnormal”) is registered (step S304). In this case, the data name, value, and expected value of the determination data that did not match are input in the determination reason information. Here, in the test in the test case "setting communication test" specified this time, the value "0x000002" of the determination data "operation mode" of the indoor unit 2 acquired in step S301 does not match the expected value "0x000001". , As shown in FIG. 5, the data having the determination result “abnormal” is registered in the test result storage unit 244.

続いて、判定部254は、判定結果を表示部220に出力させる(ステップS305)。例えば、判定部254は、試験結果格納部244に格納されている情報を表示するための画面を表示部220に表示させればよい。 Subsequently, the determination unit 254 outputs the determination result to the display unit 220 (step S305). For example, the determination unit 254 may display a screen for displaying the information stored in the test result storage unit 244 on the display unit 220.

以上で判定処理は終了し、図8に戻り、試験処理自体も終了する。 With the above, the determination process is completed, the process returns to FIG. 8, and the test process itself is also completed.

このように、本実施形態に係る試験装置200によれば、空調機から出力されない信号であるメモリ内の値を用いて、異常の有無を判定する。そのため、機器の出力信号を用いて異常の有無を判定する従来の技術よりも、精度の高い試験を容易に実施することが可能となる。 As described above, according to the test apparatus 200 according to the present embodiment, the presence or absence of an abnormality is determined by using the value in the memory which is a signal not output from the air conditioner. Therefore, it is possible to easily carry out a test with higher accuracy than the conventional technique of determining the presence or absence of an abnormality using the output signal of the device.

また、本実施形態に係る試験装置200では、メモリ内の値を直接確認して判定するため、条件によっては出力までに時間がかかる出力信号で異常の有無を判定する従来の試験よりも、試験時間を短縮することが可能となる。 Further, in the test apparatus 200 according to the present embodiment, since the value in the memory is directly confirmed and judged, the test is more than the conventional test in which the presence or absence of an abnormality is determined by the output signal which takes time to output depending on the conditions. It is possible to shorten the time.

また、本実施形態に係る試験装置200では、実際の空調機で実行されている空調機プログラムを、その空調機を模擬する空調機シミュレータ100に送信して実行させるため、空調機シミュレータ100用のプログラムを別途作成すること無しに試験を実行することができる。 Further, in the test apparatus 200 according to the present embodiment, since the air conditioner program executed by the actual air conditioner is transmitted to the air conditioner simulator 100 simulating the air conditioner and executed, the air conditioner simulator 100 is used. The test can be executed without creating a separate program.

また、本実施形態に係る試験装置200によれば、判定用データのデータ名とその値とを評価対象としているため、空調機プログラムの一部に変更が加えられた場合であっても、データ名に変更が無ければ同じ試験ケースデータを容易に流用することができる。 Further, according to the test apparatus 200 according to the present embodiment, since the data name of the judgment data and its value are evaluated, the data is obtained even when a part of the air conditioner program is changed. If there is no change in the name, the same test case data can be easily used.

また、本実施形態に係る試験装置200によれば、試験結果は人が視認可能な形式で出力される為、試験結果の確認作業が容易となる。また、試験結果とともにその判定理由も併せて出力される為、不具合の原因の解析に活用することができる。 Further, according to the test apparatus 200 according to the present embodiment, since the test result is output in a format that can be visually recognized by a person, the work of confirming the test result becomes easy. In addition, since the test result and the reason for the judgment are output together, it can be used for analysis of the cause of the defect.

また、本実施形態に係る試験装置200によれば、空調機自体は用いずに、空調機シミュレータ100を用いて試験をするため、システム試験を開発の早期段階にて実施することが可能となり、比較的少ないコストでソフトウェアの品質を向上させることが可能となる。 Further, according to the test apparatus 200 according to the present embodiment, since the test is performed using the air conditioner simulator 100 without using the air conditioner itself, it is possible to carry out the system test at an early stage of development. It is possible to improve the quality of software at a relatively low cost.

(変形例)
なお、本発明は、上記実施形態に限定されず、本発明の要旨を逸脱しない部分での種々の修正は勿論可能である。
(Modification example)
It should be noted that the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the gist of the present invention.

例えば、上記実施形態では、空調機(又は空調システム)の試験を行う試験システム10について説明したが、本発明は、空調機以外の機器や空調システム以外のシステムの試験を行う試験にも適用可能である。 For example, in the above embodiment, the test system 10 for testing an air conditioner (or an air conditioner system) has been described, but the present invention can also be applied to a test for testing a device other than an air conditioner or a system other than the air conditioner system. Is.

また、上記実施形態では、図4に示す試験ケースデータ格納部243において、試験ケースを2つ例示したが、実際には、空調システムの全動作を網羅した試験ケースを用意しておくことが望ましい。なお、ここでいう全動作とは、空調機のリモコンから設定可能な全ての値を網羅する動作、または、通常の空調機の使用では発生させることが困難な通信異常(通信衝突や通信タイミングのずれなど)やエラーコードの全種類の出力等を網羅した動作を意味する。 Further, in the above embodiment, two test cases are illustrated in the test case data storage unit 243 shown in FIG. 4, but in reality, it is desirable to prepare a test case that covers all the operations of the air conditioning system. .. Note that all operations referred to here are operations that cover all values that can be set from the remote controller of the air conditioner, or communication abnormalities that are difficult to occur when using a normal air conditioner (communication collision or communication timing). It means an operation that covers all types of output such as deviation) and error codes.

また、上記実施形態では、試験装置200のメモリ取得部253からの要求に応じて、シミュレータ管理部131は、判定対象となる空調メモリ領域121の値のみを送信しているが、空調メモリ領域121に格納されている全ての値を試験装置200に送信してもよい。また、試験中に空調メモリ領域121の値が変化する度に、その値を試験装置200に送信して期待度と比較して異常の有無を判定してもよい。 Further, in the above embodiment, in response to the request from the memory acquisition unit 253 of the test apparatus 200, the simulator management unit 131 transmits only the value of the air conditioning memory area 121 to be determined, but the air conditioning memory area 121 All the values stored in may be transmitted to the test apparatus 200. Further, every time the value of the air conditioning memory area 121 changes during the test, the value may be transmitted to the test apparatus 200 and compared with the expected degree to determine the presence or absence of an abnormality.

また、上記実施形態では、判定用データを特定するための情報として、「発停」や「運転モード」といった判定用データのデータ名を空調機プログラム格納部241(図2)や試験ケースデータ格納部243(図4)に格納させているが、データ名の代わりに、空調機プログラムのソースコード内で定義されている判定用データのグローバル変数名やID等を格納させてもよい。 Further, in the above embodiment, as information for specifying the determination data, the data names of the determination data such as "start / stop" and "operation mode" are stored in the air conditioner program storage unit 241 (FIG. 2) and the test case data. Although it is stored in the unit 243 (FIG. 4), the global variable name, ID, and the like of the determination data defined in the source code of the air conditioner program may be stored instead of the data name.

また、例えば、本実施形態に係る試験装置200の動作を規定する動作プログラムを既存のパーソナルコンピュータや情報端末機器等に適用することで、当該パーソナルコンピュータ等を本発明に係る試験装置200として機能させることも可能である。 Further, for example, by applying an operation program that defines the operation of the test device 200 according to the present embodiment to an existing personal computer, information terminal device, or the like, the personal computer or the like can function as the test device 200 according to the present invention. It is also possible.

また、このようなプログラムの配布方法は任意であり、例えば、CD−ROM(Compact Disk Read-Only Memory)、DVD(Digital Versatile Disk)、MO(Magneto Optical Disk)、メモリカードなどのコンピュータ読み取り可能な記録媒体に格納して配布してもよいし、インターネットなどの通信ネットワークを介して配布してもよい。 The distribution method of such a program is arbitrary, and for example, a computer-readable CD-ROM (Compact Disk Read-Only Memory), DVD (Digital Versatile Disk), MO (Magneto Optical Disk), memory card, etc. It may be stored in a recording medium and distributed, or may be distributed via a communication network such as the Internet.

本発明は、本発明の広義の精神と範囲を逸脱することなく、様々な実施形態及び変形が可能とされるものである。また、上述した実施形態は、この発明を説明するためのものであり、本発明の範囲を限定するものではない。すなわち、本発明の範囲は、実施形態ではなく、請求の範囲によって示される。そして、請求の範囲内及びそれと同等の発明の意義の範囲内で施される様々な変形が、この発明の範囲内とみなされる。 The present invention allows for various embodiments and modifications without departing from the broad spirit and scope of the present invention. Moreover, the above-described embodiment is for explaining the present invention, and does not limit the scope of the present invention. That is, the scope of the present invention is indicated not by the embodiment but by the claims. And various modifications made within the scope of the claims and within the equivalent meaning of the invention are considered to be within the scope of the invention.

本発明は、例えば、空調機や空調システムの試験を実施する試験装置に好適に利用できる。 INDUSTRIAL APPLICABILITY The present invention can be suitably used, for example, in a test device for performing a test of an air conditioner or an air conditioning system.

10 試験システム、100(100A,100B,100C) 空調機シミュレータ、110 IF部、120 記憶部、121 空調メモリ領域、130 制御部、131 シミュレータ管理部、132 模擬部、200 試験装置、210 IF部、220 表示部、230 操作部、240 記憶部、241 空調機プログラム格納部、242 システム構成テーブル、243 試験ケースデータ格納部、244 試験結果格納部、250 制御部、251 設定部、252 信号入力部、253 メモリ取得部、254 判定部 10 test system, 100 (100A, 100B, 100C) air conditioner simulator, 110 IF unit, 120 storage unit, 121 air conditioner memory area, 130 control unit, 131 simulator management unit, 132 simulation unit, 200 test equipment, 210 IF unit, 220 display unit, 230 operation unit, 240 storage unit, 241 air conditioner program storage unit, 242 system configuration table, 243 test case data storage unit, 244 test result storage unit, 250 control unit, 251 setting unit, 252 signal input unit, 253 Memory acquisition unit, 254 Judgment unit

Claims (10)

試験ケースに応じた処理を実行させるための入力信号を、試験対象とする機器を模擬するシミュレータに入力する信号入力部と、
前記入力信号の入力に応じて変化すると想定される前記シミュレータのメモリ領域の値を取得するメモリ取得部と、
前記メモリ取得部が取得した値に基づいて、異常の有無を判定する判定部と、を備え
前記入力信号は、前記シミュレータの前記メモリ領域の特定の場所に、特定の転送速度で、特定の値を格納させることを指示する信号である、
試験装置。
A signal input unit that inputs an input signal for executing processing according to the test case to a simulator that simulates the device to be tested,
A memory acquisition unit that acquires the value of the memory area of the simulator, which is expected to change according to the input of the input signal, and
A determination unit for determining the presence or absence of an abnormality based on the value acquired by the memory acquisition unit is provided .
The input signal is a signal instructing that a specific value is stored in a specific place in the memory area of the simulator at a specific transfer rate.
Test equipment.
前記シミュレータに、該シミュレータが模擬する機器で実行されているプログラムを送信して実行させる設定部をさらに備える、
請求項1に記載の試験装置。
The simulator is further provided with a setting unit for transmitting and executing a program executed by the device simulated by the simulator.
The test apparatus according to claim 1.
前記設定部は、試験対象とするシステムを構成する複数の機器のそれぞれで実行されている各プログラムを、前記複数の機器の数と同数の前記シミュレータにそれぞれ送信して実行させる、
請求項2に記載の試験装置。
The setting unit transmits and executes each program executed by each of the plurality of devices constituting the system to be tested to the simulator having the same number as the number of the plurality of devices.
The test apparatus according to claim 2.
前記判定部は、異常の有無を判定するための判定用データが格納されている前記メモリ領域の位置を特定するための情報に基づいて、前記メモリ取得部が取得した値から、前記判定用データの値を取得する、
請求項1から3の何れか1項に記載の試験装置。
The determination unit uses the value acquired by the memory acquisition unit based on the information for specifying the position of the memory area in which the determination data for determining the presence or absence of an abnormality is stored. To get the value of,
The test apparatus according to any one of claims 1 to 3.
前記判定部は、前記メモリ取得部が取得した値を期待値と比較することにより、異常の有無を判定する、
請求項1から4の何れか1項に記載の試験装置。
The determination unit determines the presence or absence of an abnormality by comparing the value acquired by the memory acquisition unit with the expected value.
The test apparatus according to any one of claims 1 to 4.
前記判定部は、異常の有無を判定した判定結果を示す情報を、判定理由を示す情報と併せて出力する、
請求項1からの何れか1項に記載の試験装置。
The determination unit outputs information indicating a determination result of determining the presence or absence of an abnormality together with information indicating a determination reason.
The test apparatus according to any one of claims 1 to 5 .
前記機器は、空調機である、
請求項1からの何れか1項に記載の試験装置。
The device is an air conditioner.
The test apparatus according to any one of claims 1 to 6 .
請求項1からの何れか1項に記載の試験装置と、機器の動作を模擬するシミュレータと、
を備える試験システム。
The test apparatus according to any one of claims 1 to 7 , a simulator that simulates the operation of the apparatus, and the like.
Test system with.
試験ケースに応じた入力信号を、試験対象とする機器を模擬するシミュレータに入力する信号入力ステップと、
前記入力信号の入力に応じて変化すると想定される前記シミュレータのメモリ領域の値を取得するメモリ取得ステップと、
前記取得した値に基づいて、異常の有無を判定する判定ステップと、を有し、
前記入力信号は、前記シミュレータの前記メモリ領域の特定の場所に、特定の転送速度で、特定の値を格納させることを指示する信号である、
試験方法。
A signal input step that inputs an input signal according to the test case into a simulator that simulates the equipment to be tested, and
A memory acquisition step for acquiring the value of the memory area of the simulator, which is expected to change according to the input of the input signal, and
Based on the obtained value, have a, a determining step of determining the presence or absence of an abnormality,
The input signal is a signal instructing that a specific value is stored in a specific place in the memory area of the simulator at a specific transfer rate.
Test method.
コンピュータを、
試験ケースに応じた処理を実行させるための入力信号を、試験対象とする機器を模擬するシミュレータに入力する信号入力部、
前記入力信号の入力に応じて変化すると想定される前記シミュレータのメモリ領域の値を取得するメモリ取得部、
前記メモリ取得部が取得した値に基づいて、異常の有無を判定する判定部、
として機能させ
前記入力信号は、前記シミュレータの前記メモリ領域の特定の場所に、特定の転送速度で、特定の値を格納させることを指示する信号である、
プログラム。
Computer,
A signal input unit that inputs an input signal for executing processing according to the test case to a simulator that simulates the equipment to be tested.
A memory acquisition unit that acquires the value of the memory area of the simulator, which is expected to change according to the input of the input signal.
A determination unit that determines the presence or absence of an abnormality based on the value acquired by the memory acquisition unit.
To function as,
The input signal is a signal instructing that a specific value is stored in a specific place in the memory area of the simulator at a specific transfer rate.
program.
JP2019516327A 2017-05-02 2017-05-02 Test equipment, test systems, test methods, and programs Active JP6771664B2 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2017/017265 WO2018203390A1 (en) 2017-05-02 2017-05-02 Testing apparatus, testing system, testing method, and program

Publications (2)

Publication Number Publication Date
JPWO2018203390A1 JPWO2018203390A1 (en) 2019-11-07
JP6771664B2 true JP6771664B2 (en) 2020-10-21

Family

ID=64016540

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019516327A Active JP6771664B2 (en) 2017-05-02 2017-05-02 Test equipment, test systems, test methods, and programs

Country Status (2)

Country Link
JP (1) JP6771664B2 (en)
WO (1) WO2018203390A1 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03225436A (en) * 1990-01-31 1991-10-04 Fuji Xerox Co Ltd Simulator of recording device and its debugger
JP2011123672A (en) * 2009-12-10 2011-06-23 Mitsubishi Electric Corp Module generation device and verification system
JP5882052B2 (en) * 2011-12-28 2016-03-09 日立オートモティブシステムズ株式会社 Computer system for co-simulation, verification method and program for embedded system

Also Published As

Publication number Publication date
WO2018203390A1 (en) 2018-11-08
JPWO2018203390A1 (en) 2019-11-07

Similar Documents

Publication Publication Date Title
US11302412B2 (en) Systems and methods for simulated device testing using a memory-based communication protocol
JP2009002950A (en) Testing device for testing at least one electronic control system and method for operating testing device
US20120185669A1 (en) Program inspection method and non-transitory, computer readable storage medium storing inspection program
JP2017084082A (en) Simulation device, test scenario file creation method, and test method using test scenario file
CN108427637B (en) Test case recommendation method, electronic device and readable storage medium
CN111123736A (en) Universal virtualization platform for systems using hardware abstraction software layers
CN111913694A (en) Method and system for compiling automatic identification platform
CN115794519A (en) Test method, test system, electronic device and readable storage medium
CN107272441B (en) Method for monitoring errors and data processing device for monitoring errors
WO2019077738A1 (en) Data verification device, data verification method, and data verification program
KR20100124726A (en) Building operating system images based on applications
JP6771664B2 (en) Test equipment, test systems, test methods, and programs
EP3734379A1 (en) Method and system for generating control programs in a cloud computing environment
JP6366811B2 (en) Inspection device, inspection method, and program
JP2009104490A (en) Apparatus for testing program
JP2008299502A (en) Test case validity automatic verification program and test case validity automatic verification result display method
CN110968519A (en) Game testing method, device, server and storage medium
JPWO2020065804A1 (en) Eligibility automatic judgment system
US9710581B1 (en) VIP assisted method and apparatus to enable SOC integration and software development
US9183331B1 (en) Formalizing IP driver interface
JPH07219980A (en) Test execution system
TWI749774B (en) Verification system and verification method thereof
CN113360406B (en) Method and device for testing JSbridge method of application program
JP2019079219A (en) Semiconductor device and debugging system
CN113377586B (en) Automatic detection method and device for server and storage medium

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190702

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190702

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200929

R150 Certificate of patent or registration of utility model

Ref document number: 6771664

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250