JP2009168783A - Measurement/test access control device, method ,and its program - Google Patents

Measurement/test access control device, method ,and its program Download PDF

Info

Publication number
JP2009168783A
JP2009168783A JP2008010494A JP2008010494A JP2009168783A JP 2009168783 A JP2009168783 A JP 2009168783A JP 2008010494 A JP2008010494 A JP 2008010494A JP 2008010494 A JP2008010494 A JP 2008010494A JP 2009168783 A JP2009168783 A JP 2009168783A
Authority
JP
Japan
Prior art keywords
socket
measurement
master
slave
operation terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2008010494A
Other languages
Japanese (ja)
Other versions
JP5115208B2 (en
Inventor
Hirotaro Furuta
大太郎 古田
Satoshi Mikami
智 三上
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2008010494A priority Critical patent/JP5115208B2/en
Publication of JP2009168783A publication Critical patent/JP2009168783A/en
Application granted granted Critical
Publication of JP5115208B2 publication Critical patent/JP5115208B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a measurement/test access control device, method and its program enables to access to an application soft ware of one measurement system from a plurality of operation terminals, and also preventing measurement setting from being damaged by performing measurement/test at the other operation terminal. <P>SOLUTION: Socket arbitration management department 1-21, as sockets connecting between measurement system application software 1-2 and operation terminals PC1 to 3, formes a master socket 1-31 for connecting only one operation terminal, and forms all other sockets as slave sockets 1-32, and 1-33. The master process part 1-22 processes control command and measure command without limiting which are sent and received with the master socket, a slave process part 1-23 processes only the command permitted by the functional limited rule among the commands which are sent and received with slave socket, and other than the commands permitted by the functional limited rule are canceled. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、測定/試験アクセス制御装置及び方法並びにそのプログラムに関し、例えばモバイルフォン等の被試験カードの動作や特性等の多数の測定項目を測定又は試験する場合に、それら多数の測定項目の測定データを収集管理する測定系アプリケーションソフトウェアに、複数の操作端末からアクセスして測定又は試験を実施する場合の接続制御に好適に適用されるものである。   The present invention relates to a measurement / test access control apparatus and method, and a program thereof. For example, when measuring or testing a large number of measurement items such as operation and characteristics of a card under test such as a mobile phone, the measurement of the large number of measurement items is performed. The present invention is suitably applied to connection control when measuring or testing is performed by accessing measurement application software that collects and manages data from a plurality of operation terminals.

図11に従来の測定/試験システムの接続インタフェースを示す。同図に示すように、測定/試験アクセス制御装置内の制御カード11−1と、パーソナルコンピュータ(PC)等による測定/試験の作業を実施するための複数の操作端末PC1,PC2,PC3とが、ルータ11−6を介して接続され、制御カード11−1内では、1000BASE−T等のLANインタフェース11−4を介し、各操作端末PC1,PC2,PC3がそれぞれソケット11−31,11−32,11−33を経由して、測定系アプリケーションソフトウェア11−2に接続される。   FIG. 11 shows a connection interface of a conventional measurement / test system. As shown in the figure, there are a control card 11-1 in the measurement / test access control device and a plurality of operation terminals PC1, PC2, PC3 for performing measurement / test work by a personal computer (PC) or the like. In the control card 11-1, the operation terminals PC1, PC2, and PC3 are connected to the sockets 11-31 and 11-32 via the LAN interface 11-4 such as 1000BASE-T. 11-33 to the measurement system application software 11-2.

測定系アプリケーションソフトウェア11−2は、制御カード11−1内にファームウェア機能部として実装され、TCPサーバ機能部及びTCPプロトコル処理部を備え、各操作端末PC1,PC2,PC3からのコマンドに従って、各被試験カード11−5の測定データの収集、測定/試験のための各種設定等を行う。   The measurement system application software 11-2 is implemented as a firmware function unit in the control card 11-1, and includes a TCP server function unit and a TCP protocol processing unit. Collection of measurement data of test card 11-5, various settings for measurement / test, etc.

測定系アプリケーションソフトウェア11−2は、LANインタフェース11−4を介して接続された各操作端末PC1,PC2,PC3と、それぞれソケット11−31,11−32,11−33を通してTCP/IP通信によるデータ送受を行い、各操作端末PC1,PC2,PC3から制御コマンド又は測定コマンドを受信し、各操作端末PC1,PC2,PC3に測定データを転送する。   The measurement system application software 11-2 receives data by TCP / IP communication through the operation terminals PC1, PC2, and PC3 connected via the LAN interface 11-4 and the sockets 11-31, 11-32, and 11-33, respectively. Transmission / reception is performed, control commands or measurement commands are received from the operation terminals PC1, PC2, and PC3, and measurement data is transferred to the operation terminals PC1, PC2, and PC3.

ここでソケットとは、BSD(Berkeley Software Distribution)系UNIX(登録商標)を起源とするAPI(Application Program Interface)であり、C言語によるアプリケーションソフトウェア開発でのプロセス間通信、特にコンピュータネットワークに関するライブラリを構成し、データ送受を行うアプリケーションソフトウェアがTCP/IP通信を扱うためのインタフェースである。   Here, the socket is an API (Application Program Interface) derived from BSD (Berkeley Software Distribution) UNIX (registered trademark), and constitutes a library related to inter-process communication in application software development in C language, particularly a computer network. The application software that transmits and receives data is an interface for handling TCP / IP communication.

図11に示すように、制御カード11−1内で1つの測定系アプリケーションソフトウェア(即ち1つのポート)11−2に対してソケット11−3を複数生成し、各ソケット11−31,11−32,11−33を通して1つの測定系アプリケーションソフトウェア11−2と複数の操作端末PC1,PC2,PC3とで通信を行うことは可能である。   As shown in FIG. 11, a plurality of sockets 11-3 are generated for one measurement system application software (that is, one port) 11-2 in the control card 11-1, and each of the sockets 11-31 and 11-32 is generated. 11-33, it is possible to communicate with one measurement system application software 11-2 and a plurality of operation terminals PC1, PC2 and PC3.

しかし、1つの測定系アプリケーションソフトウェア11−2に1つの操作端末例えばPC1がアクセスし、測定系にユニークな設定情報#Aを設定して測定/試験を実施している最中に、他の操作端末例えばPC2からの命令が非同期で測定系アプリケーションソフトウェア11−2に入力され、測定系にユニークな設定情報#Bを設定しようとすると、先の操作端末PC1で設定した設定情報#Aが破壊されてしまうこととなる。   However, while one operation terminal, for example, PC1 accesses one measurement system application software 11-2 and sets unique setting information #A in the measurement system and performs measurement / test, other operations are performed. When an instruction from a terminal, for example, PC2 is asynchronously input to the measurement system application software 11-2 and an attempt is made to set unique setting information #B in the measurement system, the setting information #A set in the previous operation terminal PC1 is destroyed. Will end up.

このようなことを防ぐために、従来の試験制御装置では、1つの操作端末(例えばPC1)が測定系アプリケーションソフトウェア11−2にアクセスしている最中には、他の操作端末(例えばPC2,PC3)はアクセスすることができないようにし、ソケット11−3を1個しか生成しない構成とするなどの手法を採用していた。   In order to prevent this, in the conventional test control apparatus, while one operation terminal (for example, PC1) is accessing the measurement system application software 11-2, the other operation terminals (for example, PC2, PC3) are accessed. ) Has adopted a method such that the access is not allowed and only one socket 11-3 is generated.

1つの試験装置で複数の被試験デバイスを試験する試験方法、試験制御プログラム等に関しては下記の特許文献1に開示されている。
特開2006−266835号公報
A test method for testing a plurality of devices under test with one test apparatus, a test control program, and the like are disclosed in Patent Document 1 below.
JP 2006-266835 A

前述のように、1つの測定系アプリケーションソフトウェア(同一ポート)に対して、各操作端末対応に複数のソケットを生成することにより、複数の操作端末が1つの測定系アプリケーションソフトウェアにアクセスすることは可能であるが、従来のソケットによる接続では、複数の操作端末のアクセスを相互に関連付けたアクセス制御をすることができず、このため、複数の操作端末が1つの測定系アプリケーションソフトウェアにアクセスすると、1つの操作端末による測定設定にユニークな設定情報が、他の操作端末のアクセスによって上書きされ、或いは測定項目が測定中に変更されたりして、測定/試験に不具合が発生するため、複数の操作端末がアクセス可能であっても、その内の1つのアクセスしか許容されないという制約があった。   As described above, a plurality of operation terminals can access one measurement system application software by generating a plurality of sockets corresponding to each operation terminal for one measurement system application software (same port). However, in the connection by the conventional socket, it is not possible to perform access control in which accesses of a plurality of operation terminals are associated with each other. For this reason, when a plurality of operation terminals access one measurement system application software, 1 Since the setting information unique to the measurement settings by one operation terminal is overwritten by the access of another operation terminal, or the measurement item is changed during measurement, a malfunction occurs in the measurement / test. Constraint that only one access is allowed even if is accessible There was.

本発明は、1つの測定系アプリケーションソフトウェアに対して複数の操作端末がアクセスして測定/試験を実施することができ、かつ、測定系アプリケーションソフトウェアに最初にアクセスした操作端末が測定/試験を実施している最中に、他の操作端末のアクセスによる測定/試験の実施によって測定設定が破壊されることなく影響を受けない測定/試験を実施可能にする。   In the present invention, a plurality of operation terminals can access one measurement system application software to perform measurement / test, and the operation terminal that first accesses the measurement system application software performs measurement / test. In the meantime, it is possible to perform measurement / test that is not affected by the measurement setting without being destroyed by performing measurement / test by accessing another operation terminal.

上記課題を解決するために、この測定/試験アクセス制御システムは、測定系アプリケーションソフトウェアと操作端末との間の接続インタフェースとして生成するソケットを、マスタソケット及びスレーブソケットの2種類のソケットとして生成し、かつ、マスタソケットを1台の操作端末の接続にのみ生成し、他のソケットを全てスレーブソケットとして生成するソケット調停管理部と、前記マスタソケット又はスレーブソケットの何れであるかを示す識別子を各ソケットの識別番号毎に登録するソケットデータベース格納部と、前記マスタソケットで接続された操作端末からの測定アプリケーションソフトウェアに対する制御コマンド及び測定コマンドを制限することなく処理するマスタ処理部と、前記スレーブソケットで接続された操作端末からの前記測定アプリケーションソフトウェアに対する制御コマンド及び測定コマンドのうち、機能限定規則によって許可されたコマンドのみを処理し、機能限定規則によって許可されたコマンド以外のコマンドを破棄するスレーブ処理部とを備ることを要件とする。   In order to solve the above-mentioned problem, this measurement / test access control system generates a socket to be generated as a connection interface between the measurement system application software and the operation terminal as two types of sockets, a master socket and a slave socket. In addition, a socket arbitration management unit that generates a master socket only for connection of one operation terminal and generates all other sockets as slave sockets, and an identifier indicating whether the socket is the master socket or the slave socket. A socket database storage unit registered for each identification number, a master processing unit that processes control commands and measurement commands for measurement application software from the operation terminal connected by the master socket without restriction, and a connection by the slave socket Was Among the control commands and measurement commands for the measurement application software from the operation terminal, a slave processing unit that processes only commands permitted by the function limitation rules and discards commands other than those permitted by the function limitation rules is provided. It is a requirement.

この測定/試験アクセス制御システムでは、測定系アプリケーションソフトウェアと操作端末とを接続するソケットを、マスタソケットとスレーブソケットとに分離し、1台の操作端末の接続に使用するマスタソケットにのみ通常の測定設定の機能与え、スレーブソケットに対して機能限定規則によって制限した機能のみを与えることにより、1つの測定系アプリケーションソフトウェアに対して複数の操作端末がアクセスして測定/試験を実施することができ、かつ、他の操作端末のアクセスによる測定/試験の実施によって測定設定が破壊されることなく影響を受けない測定/試験が実施可能となる。   In this measurement / test access control system, the socket for connecting the measurement system application software and the operation terminal is separated into a master socket and a slave socket, and normal measurement is performed only on the master socket used to connect one operation terminal. By giving the setting function and giving only the function restricted by the function restriction rule to the slave socket, a plurality of operation terminals can access one measurement system application software to perform measurement / test, In addition, measurement / test that is not affected by measurement / test performed by accessing another operation terminal can be performed without destroying the measurement settings.

図1は本発明による測定/試験システムの接続インタフェースを示す。同図に示すように、ソケットをマスタソケット1−31及びスレーブソケット1−32,1−33の2種類のソケットに分離し、マスタソケット1−31によって接続された操作端末PC1からは、従来と同様の通常の測定アプリケーションソフトウェア1−2による測定/試験を実施可能とするが、スレーブソケット1−32,1−33によって接続された操作端末PC2,PC3からは、他の操作端末の測定/試験に影響を与えない処理に限定した測定/試験を実施可能とする。具体例としては、スレーブソケット1−32,1−33で接続された操作端末PC2,PC3から実施可能な制御は、測定項目の追加設定の要求、測定開始/停止の要求、接続終了(Close)要求等に制限する。   FIG. 1 shows the connection interface of a measurement / test system according to the invention. As shown in the figure, the socket is divided into two types of sockets, a master socket 1-31 and slave sockets 1-32, 1-33, and the operation terminal PC1 connected by the master socket 1-31 has a conventional socket. It is possible to perform measurement / test using the same normal measurement application software 1-2, but from the operation terminals PC2 and PC3 connected by the slave sockets 1-32 and 1-33, measurement / test of other operation terminals is performed. It is possible to carry out measurement / test limited to processes that do not affect the process. As a specific example, control that can be performed from the operation terminals PC2 and PC3 connected by the slave sockets 1-32 and 1-33 includes a request for additional setting of measurement items, a request for start / stop of measurement, and a connection end (Close). Restrict to requests.

マスタソケット1−31及びスレーブソケット1−32,1−33を生成して管理するソケット調停管理部1−21を、測定系アプリケーションソフトウェア1−2内のTCPサーバ部に設ける。該ソケット調停管理部1−21は、複数のソケットを生成し、そのうちの1つをマスタソケット1−31に決定し、他のソケットをスレーブソケット1−32,1−33として管理する。   A socket arbitration management unit 1-21 that generates and manages the master socket 1-31 and the slave sockets 1-32, 1-33 is provided in the TCP server unit in the measurement system application software 1-2. The socket arbitration management unit 1-21 generates a plurality of sockets, determines one of them as a master socket 1-31, and manages the other sockets as slave sockets 1-32, 1-33.

ソケット調停管理部1−21は、何れの操作端末PC1,PC2,PC3も接続されていない初期状態から、最初にアクセス要求のあった操作端末PC1を接続するソケットをマスタソケット1−31とする。ソケット生成は、操作端末PC1,PC2,PC3からの接続要求の受信前に予め1つ分余分に生成しておき、マスタソケット1−31を設定登録すると、その後に設定登録するソケットは全てスレーブソケット1−32,1−33として設定登録する。   The socket arbitration management unit 1-21 sets, as a master socket 1-31, a socket that connects the operation terminal PC1 that has made an access request first from an initial state in which no operation terminal PC1, PC2, PC3 is connected. The socket is generated in advance by one extra before receiving a connection request from the operation terminals PC1, PC2 and PC3. When the master socket 1-31 is set and registered, all sockets to be set and registered thereafter are slave sockets. Settings are registered as 1-32, 1-33.

マスタソケット1−31で接続された操作端末PC1から、接続終了(Close)の要求が発せられ、マスタソケット1−31の接続を終了するときは、スレーブソケット1−32,1−33の何れか1つをマスタソケットに変更する。スレーブソケットが複数存在する場合は、ラウンドロビン等による割り当て制御によって選択したスレーブソケットをマスタソケットに変更する。   When the operation terminal PC1 connected by the master socket 1-31 issues a connection end (Close) request, and the connection of the master socket 1-31 is ended, either the slave socket 1-32 or 1-33 is selected. Change one to the master socket. When there are a plurality of slave sockets, the slave socket selected by assignment control by round robin or the like is changed to a master socket.

また、生成したソケットがマスタソケット又はスレーブソケットの何れであるかを示す識別子(マスタ/スレーブ)を各ソケットに対応付けて管理するソケットデータベース格納部1−4を導入する。該ソケットデータベース格納部1−4は、各生成ソケットにユニークなソケット識別番号(ID)対応にマスタ/スレーブ識別子を保持する。   In addition, a socket database storage unit 1-4 that manages an identifier (master / slave) indicating whether the generated socket is a master socket or a slave socket in association with each socket is introduced. The socket database storage unit 1-4 holds a master / slave identifier corresponding to a unique socket identification number (ID) for each generated socket.

また、測定系アプリケーションソフトウェア1−2内に、マスタ・スレーブ測定制御部を設け、マスタ・スレーブ測定制御部内にはマスタ処理部1−22及びスレーブ処理部1−23を実装する。マスタ処理部1−22は、通常の測定/試験機能及び配下被試験カード11−5に対する各種の設定機能を具備する。スレーブ処理部1−23は、機能限定規則によって実施可能な機能のみに限定して実施し、基本的に測定データ転送と、他の操作端末に影響を与えない設定制御のみを実施する。なお、図1において、図11に示した構成要素と同一の構成要素には同一の符号を付し、重複した説明は省略する。   In addition, a master / slave measurement control unit is provided in the measurement system application software 1-2, and a master processing unit 1-22 and a slave processing unit 1-23 are mounted in the master / slave measurement control unit. The master processing unit 1-22 has a normal measurement / test function and various setting functions for the subordinate card under test 11-5. The slave processing unit 1-23 performs only the functions that can be performed according to the function limitation rule, and basically performs only the measurement data transfer and setting control that does not affect other operation terminals. In FIG. 1, the same components as those shown in FIG. 11 are denoted by the same reference numerals, and redundant description is omitted.

図2は本発明の測定/試験システムにおけるアクセス制御の機能部を示す。これらの機能部は、TCP/IP通信機能のミドルウェアプログラム2−9のBSD(Berkeley Software Distribution)準拠TCP用APIを利用し、上位アプリケーションソフトウェア2−1との仲介層となる部分に該当し、上位アプリケーションソフトウェア2−1に対して、送信関数、受信関数、サーバ開始関数等でAPI(Application Program Interface)を生成する。   FIG. 2 shows functional units of access control in the measurement / test system of the present invention. These functional units correspond to a part serving as a mediation layer with the upper application software 2-1, using the BSD (Berkeley Software Distribution) compliant TCP API of the middleware program 2-9 of the TCP / IP communication function. An API (Application Program Interface) is generated for the application software 2-1 using a transmission function, a reception function, a server start function, and the like.

本発明の測定/試験システムにおけるアクセス制御機能部として、ソケット調停管理部2−2、ソケットデータベース格納部2−3、測定機能データベース格納部2−4、測定データ格納部2−5、機能限定規則命令ルーティング格納部2−6、マスタ処理部2−7及びスレーブ処理部2−8を備える。   As an access control function unit in the measurement / test system of the present invention, a socket arbitration management unit 2-2, a socket database storage unit 2-3, a measurement function database storage unit 2-4, a measurement data storage unit 2-5, and a function limitation rule An instruction routing storage unit 2-6, a master processing unit 2-7, and a slave processing unit 2-8 are provided.

図2では左側に1つのマスタ処理部2−7、右側に1つのスレーブ処理部2−8を示しているが、スレーブソケットは複数生成され、各スレーブソケット対応にスレーブ処理部2−8は複数生成される。マスタソケットが生成されると、その後に受け付けられる操作端末からの接続要求に対して生成するソケットは全てスレーブソケットとなる。これらのソケットの生成手順は、以下のとおりである。   FIG. 2 shows one master processing unit 2-7 on the left side and one slave processing unit 2-8 on the right side. However, a plurality of slave sockets are generated, and a plurality of slave processing units 2-8 are provided for each slave socket. Generated. When a master socket is generated, all sockets generated in response to a connection request from an operation terminal that is subsequently accepted are slave sockets. The procedure for generating these sockets is as follows.

(1)マスタ処理部2−7のソケット制御部2−73により、最初のソケット(1個目)をマスタソケットの制御用ソケット2−74として生成する。
(2)マスタ処理部2−7のソケット制御部2−73で、制御用ソケット2−74により受信した操作端末(PC)の接続要求を受け付ける。
(3)マスタ処理部2−7により、上記操作端末(PC)を接続するマスタソケットの通信用ソケット2−75として2個目のソケットを生成する。
(4)スレーブ処理部2−8のソケット制御部2−83により、3個目のソケットをスレーブソケットの制御用ソケット2−84として生成し、次の操作端末(PC)からの接続要求を待機する。
(5)スレーブ処理部2−8のソケット制御部2−83で、制御用ソケット2−84により受信した次の操作端末(PC)の接続要求を受け付ける。
(6)スレーブ処理部2−8のソケット制御部2−83で、次の操作端末(PC)を接続するスレーブソケットの通信用ソケット2−85として4個目のソケットを生成する。
(7)スレーブ処理部のソケット制御部で、5個目のソケットをスレーブソケットの制御用ソケットとして生成し、更に次の操作端末(PC)からの接続要求を待機する。
(1) The socket control unit 2-73 of the master processing unit 2-7 generates the first socket (first) as the control socket 2-74 of the master socket.
(2) The socket control unit 2-73 of the master processing unit 2-7 accepts the operation terminal (PC) connection request received by the control socket 2-74.
(3) The master processing unit 2-7 generates a second socket as the communication socket 2-75 of the master socket to which the operation terminal (PC) is connected.
(4) The socket control unit 2-83 of the slave processing unit 2-8 generates a third socket as a control socket 2-84 for the slave socket, and waits for a connection request from the next operation terminal (PC). To do.
(5) The socket control unit 2-83 of the slave processing unit 2-8 accepts a connection request for the next operation terminal (PC) received by the control socket 2-84.
(6) The socket control unit 2-83 of the slave processing unit 2-8 generates a fourth socket as the communication socket 2-85 of the slave socket to which the next operation terminal (PC) is connected.
(7) The socket control unit of the slave processing unit generates the fifth socket as a control socket for the slave socket, and waits for a connection request from the next operation terminal (PC).

マスタ処理部2−7のパケット制御・送信部2−72は、通信用ソケット2−75から受信される制御コマンド及び測定コマンドを、従来と同様に制限なく処理し、それらを上位アプリケーションソフトウェア2−1に渡す。しかし、スレーブ処理部2−8のパケット判定・送信部2−82は、機能限定規則命令ルーティング格納部2−6に格納された機能限定規則を参照し、該機能限定規則によって許可されたコマンド以外のコマンドを破棄する。   The packet control / transmission unit 2-72 of the master processing unit 2-7 processes the control command and the measurement command received from the communication socket 2-75 without limitation as in the prior art, and processes them as upper application software 2- Pass to 1. However, the packet determination / transmission unit 2-82 of the slave processing unit 2-8 refers to the function limitation rule stored in the function limitation rule instruction routing storage unit 2-6, and other than the command permitted by the function limitation rule. Discard the command.

また、スレーブ処理部2−8の登録依頼部2−81は、上記機能限定規則によって許可された制御コマンドを、マスタ処理部2−7へのシグナルとしてメールボックス等により通知し、マスタ処理部2−7から、測定機能データベース部2−4に必要な測定項目を登録するよう依頼する。   In addition, the registration request unit 2-81 of the slave processing unit 2-8 notifies the control command permitted by the function limitation rule as a signal to the master processing unit 2-7 through a mailbox or the like, and the master processing unit 2 From -7, a request is made to register necessary measurement items in the measurement function database section 2-4.

マスタ処理部2−7の機能データ保存部2−71は、上記スレーブ処理部2−8の登録依頼部2−81からの登録要求を受け取り、該要求に応じて測定機能データベース格納部2−4に測定項目の変更を指示する。ここで、許可された制御コマンドは、測定項目追加の設定、自身のソケットのみに割り当てられた測定項目の削除、測定開始/停止、接続終了(Close)等の要求コマンドのように、他の操作端末の測定/試験の測定設定に影響を与えない制御コマンドである。   The function data storage unit 2-71 of the master processing unit 2-7 receives the registration request from the registration request unit 2-81 of the slave processing unit 2-8, and in response to the request, the measurement function database storage unit 2-4. To change the measurement item. Here, the permitted control command includes other operations such as a request command for setting measurement item addition, deleting a measurement item assigned only to its own socket, starting / stopping measurement, and closing connection (Close). This is a control command that does not affect the measurement settings of the terminal measurement / test.

なお、スレーブ処理部2−8は、許可されたコマンド以外のコマンドを無視して破棄するが、該コマンドを送信した操作端末(PC)に破棄した旨のメッセージを通知する。また、マスタ処理部2−7及びスレーブ処理部2−8は、上位アプリケーションソフトウェア2−1により測定され、測定データ格納部2−5に格納された測定データを、それぞれパケット制御・送信部2−72及びパケット判定・送信部2−82で受け、該測定データを測定報告周期毎に、それぞれ通信用ソケット2−75及び2−85により各操作端末(PC)に通知する。   Note that the slave processing unit 2-8 ignores and discards commands other than the authorized command, but notifies the operation terminal (PC) that has transmitted the command of a message indicating that the command has been discarded. The master processing unit 2-7 and the slave processing unit 2-8 measure the measurement data measured by the upper application software 2-1 and stored in the measurement data storage unit 2-5, respectively. 72 and the packet determination / transmission unit 2-82, and the measurement data is notified to each operation terminal (PC) by the communication sockets 2-75 and 2-85, respectively, for each measurement report period.

ここで前述のソケットデータベース格納部2−3、測定機能データベース格納部2−4、測定データ格納部2−5、及び機能限定規則命令ルーティング格納部2−6の4つのデータベース格納部について説明する。ソケットデータベース格納部2−3は、図3の(a)に示すように、ソケット調停管理部2−2が生成したソケットの識別番号(ID)とマスタ又はスレーブの識別子(M/S)とを対応付けて保持し、それらの保持内容はソケット調停管理部2−2が編集する。   Here, the four database storage units of the socket database storage unit 2-3, the measurement function database storage unit 2-4, the measurement data storage unit 2-5, and the function limitation rule instruction routing storage unit 2-6 will be described. As shown in FIG. 3A, the socket database storage unit 2-3 uses the socket identification number (ID) generated by the socket arbitration management unit 2-2 and the master or slave identifier (M / S). These are held in correspondence, and the held contents are edited by the socket arbitration management unit 2-2.

ソケット調停管理部2−2は、受け付けの早いものから順番にソケットを登録していく。各ソケットを識別するためにソケット識別番号(ID)を使用する。1つの接続要求に対して制御用ソケットと及び通信用ソケットの2つのソケットを生成し、それぞれにソケット識別番号(ID)を付与する。制御用ソケットは接続を終了(クローズ)するときに使用し、通常の測定データの送受には通信用ソケットを使用する。該ソケット識別番号(ID)の情報は上位アプリケーションソフトウェア2−1が読み出し可能なものとする。   The socket arbitration management unit 2-2 registers sockets in order from the earliest acceptance. A socket identification number (ID) is used to identify each socket. Two sockets, a control socket and a communication socket, are generated in response to one connection request, and a socket identification number (ID) is assigned to each socket. The control socket is used when closing (closing) the connection, and the communication socket is used for sending and receiving normal measurement data. The information of the socket identification number (ID) is readable by the upper application software 2-1.

測定機能データベース格納部2−4は、図3(b)の上部に示すように、全測定項目について各ソケット識別番号(ID)対応に、それぞれ要求された測定項目に対して「有効(“1”)」を示す情報を設定する。また、測定機能データベース格納部2−4の最下行に、各ソケット識別番号(ID)対応の「有効(“1”)」を論理和演算した結果を格納する。該論理和演算結果が“1”となっている測定項目が、測定すべき測定項目となる。   As shown in the upper part of FIG. 3 (b), the measurement function database storage unit 2-4 displays “valid (“ 1 ”) for each requested measurement item corresponding to each socket identification number (ID) for all measurement items. Information indicating ")" is set. Further, the result of logical OR operation of “valid (“ 1 ”)” corresponding to each socket identification number (ID) is stored in the bottom row of the measurement function database storage unit 2-4. The measurement item whose logical sum operation result is “1” is the measurement item to be measured.

測定データ格納部2−5は、図3(b)の下部に示すように、各測定項目の測定データを格納する。測定機能データベース格納部2−4及び測定データ格納部2−5は、図3の(b)に示すように組み合わせて使用することができる。同図では、各測定項目の「有効」/「無効」を示す格納領域と同一のコラムに当該測定項目の測定データを格納するテーブルの構成例を示しているが、「有効」/「無効」を示す格納領域と、測定データを格納する領域とは同一コラムである必要はなく、測定項目に対応した領域にその測定データを格納する構成であれば良い。   The measurement data storage unit 2-5 stores the measurement data of each measurement item as shown in the lower part of FIG. The measurement function database storage unit 2-4 and the measurement data storage unit 2-5 can be used in combination as shown in FIG. In the figure, a configuration example of a table for storing measurement data of the measurement item in the same column as the storage area indicating “valid” / “invalid” of each measurement item is shown, but “valid” / “invalid” The storage area indicating the measurement data and the area for storing the measurement data do not need to be in the same column, and the measurement data may be stored in an area corresponding to the measurement item.

測定機能データベース格納部2−4は、マスタ処理部2−7のみ編集可能とし、スレーブ処理部2−8からは読み出しのみを許可する。測定機能データベース格納部2−4の格納情報(「有効」/「無効」)により、それぞれのソケットで接続された各操作端末(PC)が要求した測定項目の情報が認識される。   The measurement function database storage unit 2-4 can edit only the master processing unit 2-7, and permits only reading from the slave processing unit 2-8. Based on the storage information (“valid” / “invalid”) in the measurement function database storage unit 2-4, information on the measurement items requested by the respective operation terminals (PCs) connected to the respective sockets is recognized.

上位アプリケーションソフトウェア2−1は、測定機能データベース格納部2−4に有効情報が格納された測定項目の全てを網羅する(各測定項目の有効を示す情報ビットの論理和が1となる測定項目を収集する)ように測定項目を収集し、該収集した測定項目の測定データを測定データ格納部2−5に蓄積し、それぞれの測定報告周期毎に、各測定項目の測定データを各ソケットに転送する。   The host application software 2-1 covers all measurement items for which valid information is stored in the measurement function database storage unit 2-4 (measurement items for which the logical sum of information bits indicating the validity of each measurement item is 1). Collect the measurement items, accumulate the measurement data of the collected measurement items in the measurement data storage unit 2-5, and transfer the measurement data of each measurement item to each socket for each measurement report cycle To do.

機能限定規則命令ルーティング格納部2−6は、図3の(c)に示すように、スレーブ処理部2−8における機能限定規則を格納し、スレーブ処理部2−8における処理識別テーブルとなる。機能限定規則命令ルーティング格納部2−6は、スレーブ処理部2−8で受信されたコマンドをどのように処理するかについての情報を設定する。   As shown in FIG. 3C, the function limitation rule instruction routing storage unit 2-6 stores the function limitation rule in the slave processing unit 2-8 and becomes a process identification table in the slave processing unit 2-8. The function limitation rule instruction routing storage unit 2-6 sets information on how to process the command received by the slave processing unit 2-8.

スレーブ処理部2−8は、操作端末(PC)から受信される各コマンドに対して、機能限定規則命令ルーティング格納部2−6を参照して、許可するコマンドを選別し、該許可するコマンドに対してマスタ処理部2−7に測定機能データベースの編集を依頼する。許可しないコマンドに対しては、自身のスレーブ処理部2−8のタスク内で該コマンドを破棄し、破棄した旨を通知するパケットを操作端末(PC)に送信する。   For each command received from the operation terminal (PC), the slave processing unit 2-8 refers to the function limitation rule instruction routing storage unit 2-6, selects a command to be permitted, and sets the command to be permitted. The master processing unit 2-7 is requested to edit the measurement function database. For a command that is not permitted, the command is discarded within the task of its own slave processing unit 2-8, and a packet notifying that the command has been discarded is transmitted to the operation terminal (PC).

次に、ソケット調停管理部、マスタ処理部及びスレーブ処理部におけるタスクフローを関連付けて説明する。ソケットのマスタ又はスレーブの種別を決定するのはソケット調停管理部である。初期状態で操作端末(PC)から接続要求を受けたときには、マスタソケットもスレーブソケッも存在せず、先着優先によりマスタソケットを設定登録する。先着優先でマスタソケットを設定登録すると、その後の接続要求に対しては全てスレーブソケットの設定登録となる。   Next, task flows in the socket arbitration management unit, the master processing unit, and the slave processing unit will be described in association with each other. It is the socket arbitration management unit that determines the type of the socket master or slave. When a connection request is received from the operation terminal (PC) in the initial state, neither the master socket nor the slave socket exists, and the master socket is set and registered on a first-come-first-served basis. If the master socket is set and registered on a first-come-first-served basis, all subsequent connection requests are registered and registered as slave sockets.

ソケット調停管理部、マスタ処理部及びスレーブ処理部の全体のタスクフローの詳細を、図4及び図5を参照して説明する。まず、全体のタスクフローは、A.ソケット調停管理タスク(又はプロセス)、B.マスタ制御タスク(又はプロセス)、及びC.スレーブ制御タスク(又はプロセス)の三つの部分に分かれている。以下、順を追って説明する。   Details of the overall task flow of the socket arbitration management unit, the master processing unit, and the slave processing unit will be described with reference to FIGS. First, the overall task flow is as follows. Socket arbitration management task (or process); A master control task (or process), and C.I. It is divided into three parts: slave control task (or process). In the following, description will be given in order.

A.ソケット調停管理タスク(又はプロセス)について(図4の(a)参照)
このタスクフローは、ソケットデータベースを管理するフローである。動作は次の通りである。
A−1.測定/試験システムが起動し、最初に操作端末(PC)が接続を開始すると、マスタ処理部はマスタ制御タスクを生成する。このマスタ制御タスクが開始すると、ソケット調停管理タスクにマスタ制御タスクが開始された旨のメッセージを通知する。ソケット調停管理タスクにおいてこれを待ち受けるのが接続要求発生判定(4−1)のフローである。
A. Socket arbitration management task (or process) (see (a) of FIG. 4)
This task flow is a flow for managing the socket database. The operation is as follows.
A-1. When the measurement / test system is activated and the operation terminal (PC) first starts connection, the master processing unit generates a master control task. When this master control task starts, a message indicating that the master control task has started is sent to the socket arbitration management task. The socket arbitration management task waits for this in the flow of connection request occurrence determination (4-1).

A−2.接続要求が発生したメッセージを受け取ると、ソケット調停管理タスクではソケットデータベースにマスタフラグをセットし(4−2)、マスタとなる操作端末(クライアントPC)との接続情報を登録する(4−3)。   A-2. When a message indicating a connection request is received, the socket arbitration management task sets a master flag in the socket database (4-2) and registers connection information with the operation terminal (client PC) serving as the master (4-3). .

A−3.その後のフローは、ソケットの登録数が0でない限り、即ち、少なくとも1つのソケットが存在し、マスタソケットが登録されていれば、次の操作端末(PC)からの接続要求に対してスレーブソケットを生成するための接続要求発生待ちのループ処理を巡回する(4−4〜4−6)。   A-3. After that, unless the number of registered sockets is 0, that is, if at least one socket exists and the master socket is registered, a slave socket is set in response to a connection request from the next operation terminal (PC). Loop processing waiting for the generation of a connection request for generation is performed (4-4 to 4-6).

A−4.前項のループ処理を巡回している状態(4−4〜4−6)で、新たな操作端末(クライアントPC)からの接続要求が発生すると、スレーブ制御タスクは、ソケット調停管理タスクにスレーブ制御タスクが開始された旨のメッセージを通知する。これを待ち受けるのが下段にある接続要求発生判定(4−4)のフローである。   A-4. When a connection request from a new operation terminal (client PC) is generated in the state (4-4 to 4-6) in which the loop processing in the previous section is being circulated, the slave control task is transferred to the socket arbitration management task. A message indicating that has started. Waiting for this is the flow of the connection request generation determination (4-4) in the lower stage.

A−5.接続要求が発生した旨のメッセージを受け取ると、ソケット調停管理タスクはソケットデータベースにスレーブフラグをセットし(4−5)、スレーブとなる操作端末(クライアントPC)との接続情報を登録する(4−6)。   A-5. Upon receiving a message indicating that a connection request has occurred, the socket arbitration management task sets a slave flag in the socket database (4-5), and registers connection information with the operation terminal (client PC) serving as the slave (4- 6).

A−6.最後にマスタソケットが機能停止した場合の処理フローについて説明する。新規スレーブソケット生成の待ち受け処理ループの実施中(4−4〜4−6)に、マスタソケットで接続された操作端末(PC)による測定/試験の作業が終了し、接続断要求により該マスタソケットの機能が停止すると、登録中のスレーブソケットの中から次にマスタソケットとなるソケットを決定する必要がある。それがマスタ停止発生の判断(4−7)のフローである。   A-6. Finally, the processing flow when the master socket stops functioning will be described. During the standby processing loop for generating a new slave socket (4-4 to 4-6), the measurement / test operation by the operation terminal (PC) connected by the master socket is completed, and the master socket is received by the disconnection request. When this function stops, it is necessary to determine a socket to be the next master socket from among the registered slave sockets. This is the flow (4-7) for determining whether a master stop has occurred.

A−7.マスタ停止発生の判断(4−7)のフローでマスタ停止発生を検出すると、ソケットデータベースに登録されているスレーブソケットで接続された操作端末(クライアントPC)の中から、例えばソケット識別番号(ID)が一番若いソケットをマスタソケットとして選出し、該ソケットで接続された操作端末(クライアントPC)をマスタとして選択する(4−8)。   A-7. When the master stop occurrence is detected in the flow of determining master stop occurrence (4-7), for example, the socket identification number (ID) is selected from the operation terminals (client PCs) connected by the slave socket registered in the socket database. The youngest socket is selected as the master socket, and the operation terminal (client PC) connected by the socket is selected as the master (4-8).

A−8.次期マスタソケットとなるスレーブソケットのスレーブ制御タスクに、マスタソケットへの切り替え要求のメッセージを送信する(4−9)。
A−9.ソケットデータベース上で、次にマスタソケットとなるスレーブソケットの識別子をマスタにする処理を行う。
A-8. A message for requesting switching to the master socket is transmitted to the slave control task of the slave socket to be the next master socket (4-9).
A-9. On the socket database, the process of making the identifier of the slave socket to be the next master socket the master is performed.

A−10.登録されているソケット数が0(マスタもスレーブも無い状態)かどうかを判定し(4−10)、登録ソケット数が0でなければ、処理フロー4−4に戻って同様の処理を繰り返し、登録ソケット数が0なったときは、最初の接続要求発生待ちループの処理フロー4−1に戻って同様の処理を繰り返す。   A-10. It is determined whether the number of registered sockets is 0 (no master or slave) (4-10). If the number of registered sockets is not 0, the process returns to the process flow 4-4 and the same process is repeated. When the number of registered sockets becomes 0, the process returns to the process flow 4-1 of the first connection request generation waiting loop and the same process is repeated.

B.マスタ制御タスク(又はプロセス)について(図4の(b)参照)
このタスクのメインフローは、測定機能データベースを管理するフローである。動作は次の通りである。但し、前提として測定/試験システムに操作端末(PC)が全く接続していない初期状態(立ち上げ直後の状態)、或いは、全ての操作端末(PC)が接続を切断した状態から開始するものとする。
B. Master control task (or process) (see FIG. 4B)
The main flow of this task is a flow for managing the measurement function database. The operation is as follows. However, it is assumed that the operation terminal (PC) is not connected to the measurement / test system at the initial state (the state immediately after start-up) or all the operation terminals (PC) are disconnected from the connection. To do.

B−1.制御用ソケットを生成する(4−11)。
B−2.操作端末(クライアントPC)からの接続要求を待ち受ける(4−12,4−13)。
B−3.操作端末(クライアントPC)からの接続要求を検出すると、ソケット調停管理タスクに受付メッセージを通知する(4−14)。
B-1. A control socket is generated (4-11).
B-2. It waits for a connection request from the operation terminal (client PC) (4-12, 4-13).
B-3. When a connection request from the operation terminal (client PC) is detected, a reception message is notified to the socket arbitration management task (4-14).

B−4.最初の接続要求なので、ソケット調停管理タスクは、該接続用のソケットをマスタソケットとして登録する。これをマスタ処理部の制御タスクは、ソケットデータベースの参照により確認し(又はステータス通知関数などを用意して通知する構成としてもよい)、自身がマスタであることを認識する。
B−5.自身がマスタ処理部の制御タスクであることを認識すると、自身の通信用ソケットで接続された操作端末(クライアントPC)に対して、従来と同様の通常の制限の無いアクセスを提供し、通常のパケットを送受信する(4−15)。
B-4. Since this is the first connection request, the socket arbitration management task registers the socket for connection as a master socket. The control task of the master processing unit confirms this by referring to the socket database (or prepares and notifies a status notification function or the like) and recognizes that it is the master.
B-5. When it recognizes that it is a control task of the master processing unit, it provides normal unrestricted access to the operation terminal (client PC) connected by its own communication socket, Packets are transmitted and received (4-15).

そして、スレーブ制御タスクから、測定項目の追加要求が発生したか否かを判定し(4−16)、測定項目の追加要求が発生した場合は、測定項目を追加するよう測定機能データベースを編集する(4−17)。また、マスタソケットとしての機能停止要求が発生したか否かを判定し(4−18)、マスタソケットの機能停止要求が発生していない場合は、前述の処理フロー4−15に戻って同様の処理を繰り返す。マスタソケットの機能停止要求が発生した場合は、ソケット調停管理タスクにマスタ停止を通知し(4−19)、マスタタスクの消去を実施してマスタタスクを終了する(4−20)。   Then, it is determined from the slave control task whether or not a measurement item addition request has occurred (4-16). If a measurement item addition request has occurred, the measurement function database is edited to add the measurement item. (4-17). Further, it is determined whether or not a function stop request as a master socket has occurred (4-18). If a function stop request for the master socket has not occurred, the process returns to the above-described process flow 4-15 to perform the same. Repeat the process. If a master socket function stop request is generated, the socket arbitration management task is notified of master stop (4-19), the master task is deleted, and the master task is terminated (4-20).

C.スレーブ制御タスク(又はプロセス)について(図5参照)
このタスクのメインフローは、機能限定規則命令ルーティングテーブルを利用し、制限された設定機能のみをスレーブソケットに提供する。動作は次の通りである。
C. About slave control tasks (or processes) (see Figure 5)
The main flow of this task uses the function restriction rule instruction routing table and provides only limited setting functions to the slave socket. The operation is as follows.

C−1.スレーブソケットの制御用ソケットを生成する(5−1)。
C−2.操作端末(クライアントPC)からの接続要求を待ち受ける(5−2,5−3)。
C−3.操作端末(クライアントPC)からの接続要求を検出すると、ソケット調停管理タスクに受付メッセージを通知する(5−4)。
C-1. A control socket for the slave socket is generated (5-1).
C-2. It waits for a connection request from the operation terminal (client PC) (5-2, 5-3).
C-3. When a connection request from the operation terminal (client PC) is detected, a reception message is notified to the socket arbitration management task (5-4).

C−4.操作端末(クライアントPC)からの接続要求に対して、スレーブ制御タスクはソケットを生成し、ソケットデータベースの参照によりマスタソケットかスレーブソケットかを確認する(5−5)。或いはステータス通知関数等を用意して通知する構成としてもよい。   C-4. In response to a connection request from the operation terminal (client PC), the slave control task generates a socket and confirms whether it is a master socket or a slave socket by referring to the socket database (5-5). Alternatively, a status notification function or the like may be prepared and notified.

C−5.自身がスレーブであることを認識すると、操作端末(クライアントPC)にスレーブ情報を通知する(5−6)。このスレーブ情報には、現状の測定機能データベースに登録されている測定項目の情報を含む。この通知で操作端末(クライアントPC)は、自身がスレーブ処理しか実施できないことを認識する。また、通知されたスレーブ情報から、現在登録されている測定項目の情報を認識し、登録されている測定項目に足りない測定項目が有れば、その測定項目の追加要求を送信する。測定項目の追加要求のコマンドは、スレーブ制御タスクで廃棄されることなく、マスタ制御タスクへの測定機能データベースの編集依頼として送出される。   C-5. When it recognizes that it is a slave, it notifies slave information to the operation terminal (client PC) (5-6). This slave information includes information on measurement items registered in the current measurement function database. With this notification, the operation terminal (client PC) recognizes that it can only perform slave processing. In addition, the information on the currently registered measurement item is recognized from the notified slave information, and if there is a measurement item that is insufficient in the registered measurement item, a request for adding the measurement item is transmitted. The measurement item addition request command is sent as a request to edit the measurement function database to the master control task without being discarded by the slave control task.

C−6.スレーブ制御タスクは、操作端末(クライアントPC)からのパケットを受信し(5−7)、該パケットのペイロードを解析し(5−8)、コマンドパケットを受信するたびに、そのコマンドが測定コマンドか制御コマンドであるかを判定する(5−9)。   C-6. The slave control task receives a packet from the operation terminal (client PC) (5-7), analyzes the payload of the packet (5-8), and each time a command packet is received, the command is a measurement command. It is determined whether it is a control command (5-9).

C−7.受信パケットのコマンドが制御コマンドである場合は破棄する(5−11)。
C−8.受信パケットのコマンドが測定コマンドである場合は、マスタ制御タスクへその要求内容を転送し、登録を依頼する(5−10)。マスタ制御タスクでは、測定項目の測定周期などを設定し、その設定が完了すると、スレーブ制御タスクでは、現時刻が測定報告周期の時刻か否かを判定し(5−12)、測定報告周期の時刻であるときは、測定データを操作端末(クライアントPC)に送信する(5−13)。
C-7. If the received packet command is a control command, it is discarded (5-11).
C-8. When the command of the received packet is a measurement command, the request content is transferred to the master control task, and registration is requested (5-10). In the master control task, the measurement cycle of the measurement item is set, and when the setting is completed, the slave control task determines whether or not the current time is the time of the measurement report cycle (5-12). When it is time, the measurement data is transmitted to the operation terminal (client PC) (5-13).

C−9.スレーブ制御タスクは、この後、マスタへの切り替え要求が発生したか否かを判定する(5−14)。現存のマスタソケットの接続が切断され、ソケット調停管理タスクで当該スレーブソケットが次のマスタソケットに選定されると、当該スレーブ制御タスクにその旨のメッセージが転送されて来るのでそれを判定する。   C-9. Thereafter, the slave control task determines whether or not a request for switching to the master has occurred (5-14). When the existing master socket is disconnected and the slave arbitration management task selects the slave socket as the next master socket, a message to that effect is transferred to the slave control task, and it is determined.

C−10.マスタへの切り替え要求が発生した場合は、操作端末(PC)にマスタ切り替えの旨のメッセージを通知する(5−15)。
C−11.このとき現状の測定項目の設定情報を測定機能データベースから読み取り、それらを該操作端末(PC)に転送する(5−16)。
C-10. When a request for switching to the master is generated, a message indicating that the master is switched is sent to the operation terminal (PC) (5-15).
C-11. At this time, the current measurement item setting information is read from the measurement function database and transferred to the operation terminal (PC) (5-16).

C−12.そして、スレーブソケットとしての機能停止要求が発生したか否かを判定し(5−17)、スレーブソケットの機能停止要求が発生していない場合は、前述の処理フロー5−5に戻って同様の処理を繰り返す。スレーブソケットの機能停止要求が発生した場合は、スレーブタスクを終了する(5−18)。   C-12. Then, it is determined whether or not a function stop request as a slave socket has occurred (5-17). If a function stop request for the slave socket has not occurred, the process returns to the above-described process flow 5-5 to perform the same process. Repeat the process. If a slave socket function stop request is generated, the slave task is terminated (5-18).

C−13.前述のマスタ/スレーブ判定(5−5)の処理フローで、マスタソケットに切り替わったことを認識すると、処理フローがマスタ処理部の処理フローに遷移することになる。マスタソケットへの切り替えが完了すると、その旨を操作端末(クライアントPC)に通知する(5−19)。これは測定/試験システムで処理を同期化するためである。   C-13. When the master / slave determination (5-5) processing flow described above recognizes the switching to the master socket, the processing flow transitions to the processing flow of the master processing unit. When the switching to the master socket is completed, this is notified to the operation terminal (client PC) (5-19). This is to synchronize processing in the measurement / test system.

C−14.これ以降は、前述のマスタ制御タスクのフローと同様であり、制限の無い通常のパケット送受信を行い(5−20)、スレーブタスク制御部から測定項目の追加要求が発生したか否かを判定し(5−21)、発生した場合は該測定項目を追加するよう、測定機能データベースを編集する(5−22)。   C-14. Thereafter, the flow is the same as that of the master control task described above, and normal packet transmission / reception without restriction is performed (5-20), and it is determined whether a measurement item addition request is generated from the slave task control unit. (5-21) When it occurs, the measurement function database is edited so that the measurement item is added (5-22).

そして、マスタソケットとしての機能停止要求が発生したか否かを判定し(5−23)、マスタソケットの機能停止要求が発生していない場合は、前述の処理フロー5−20に戻って同様の処理を繰り返し、マスタソケットの機能停止要求が発生した場合は、マスタタスクを終了する(5−24)。なお、マスタ制御タスクからスレーブ制御タスクへの遷移は無い。   Then, it is determined whether or not a function stop request as a master socket has occurred (5-23). If a function stop request for the master socket has not occurred, the process returns to the above-described processing flow 5-20 to perform the same. When the process is repeated and a master socket function stop request is generated, the master task is terminated (5-24). There is no transition from the master control task to the slave control task.

上述のA.ソケット調停管理タスク(又はプロセス)、B.マスタ制御タスク(又はプロセス)、及びC.スレーブ制御タスク(又はプロセス)の各処理フローのタイミング相関は、図中の点線矢印で示している。これらのタイミング相関は、例えばリアルタイムOSにおけるようなメッセージキューやメールボックス等を用いて実現することができる。   A. above. Socket arbitration management task (or process); A master control task (or process), and C.I. The timing correlation of each processing flow of the slave control task (or process) is indicated by a dotted arrow in the figure. These timing correlations can be realized using, for example, a message queue or a mailbox as in a real-time OS.

次に、2つの操作端末(PC)が測定アプリケーションソフトウェアの制御カードにアクセスしたときの動作シーケンス例を図6及び図7に示す。この動作シーケンス例は、ソケットのマスタ/スレーブを決定し、各操作端末(PC)に測定情報を転送するまでの動作シーケンスを示している。   Next, FIG. 6 and FIG. 7 show examples of operation sequences when two operation terminals (PCs) access the control card of the measurement application software. This operation sequence example shows an operation sequence from determining a master / slave of a socket to transferring measurement information to each operation terminal (PC).

この動作シーケンス例において、図示のTCPサーバは、マスタ制御タスク及びスレーブ制御タスクの両方の実行機能を含んでいるものとする。また、タスク生成用関数は、通常リアルタイムOSなどでAPIとして定義(用意)されているものとする。   In this operation sequence example, it is assumed that the illustrated TCP server includes functions for executing both the master control task and the slave control task. Further, it is assumed that the task generation function is normally defined (prepared) as an API in a real-time OS or the like.

TCPサーバはマスタ制御タスクを生成する。そして操作端末(マスタPC)から接続要求が発生する(6−1)。TCPサーバは、ソケット調停管理タスクにソケット管理番号(識別番号)取得要求のメッセージを送信する(6−2)。ソケット調停管理タスクは、ソケットデータベースを参照してマスタソケットの有無を判定し(6−3)、管理番号(マスタ通知)をTCPサーバに送信する(6−4)。   The TCP server generates a master control task. Then, a connection request is generated from the operation terminal (master PC) (6-1). The TCP server sends a socket management number (identification number) acquisition request message to the socket arbitration management task (6-2). The socket arbitration management task determines whether there is a master socket by referring to the socket database (6-3), and transmits a management number (master notification) to the TCP server (6-4).

TCPサーバでは、先に受け取った操作端末(PC)からの接続要求に対して先着優先でマスタソケットを生成する(6−5)。この後、生成したマスタソケットの識別番号IDの登録要求をソケット調停管理タスクに送信する(6−6)。ソケット調停管理タスクは、先に生成登録したマスタ情報に追加してマスタソケットのソケットIDを登録する(6−7)。   The TCP server generates a master socket on a first-come-first-served basis with respect to the connection request from the operation terminal (PC) received first (6-5). Thereafter, a registration request for the identification number ID of the generated master socket is transmitted to the socket arbitration management task (6-6). The socket arbitration management task registers the socket ID of the master socket in addition to the previously created and registered master information (6-7).

TCPサーバは、測定機能データベース格納部にマスタ領域を生成する(6−8)。この領域は最初に空データとなる。また、このときまでにTCPサーバは、マスタとなる操作端末(PC)とのソケット環境を構築しておく(6−9)。操作端末(マスタPC)は、測定機能データベース格納部に対して測定動作設定及び測定項目の設定を行う(6−10)。   The TCP server generates a master area in the measurement function database storage unit (6-8). This area is initially empty data. By this time, the TCP server has built a socket environment with the master operating terminal (PC) (6-9). The operation terminal (master PC) performs measurement operation settings and measurement item settings in the measurement function database storage unit (6-10).

マスタ制御タスクの生成が完了した後、TCPサーバでスレーブ制御タスクを生成する(6−11)。ここで、今まで待たされていた操作端末(スレーブPC)の接続要求がTCPサーバによって受け付けられる。TCPサーバは、ソケット調停管理タスクに2個目のソケットID登録要求を送信する(6−12)。   After the generation of the master control task is completed, a slave control task is generated on the TCP server (6-11). Here, the connection request of the operation terminal (slave PC) that has been waited until now is accepted by the TCP server. The TCP server transmits a second socket ID registration request to the socket arbitration management task (6-12).

ソケット調停管理タスクは、マスタソケットの有無を判定し(6−13)、管理番号(スレーブ通知)をTCPサーバに送信する(6−14)。TCPサーバでは、先に受け取った操作端末(スレーブPC)からの接続要求に対してスレーブソケットを生成し(6−15)、ソケット調停管理タスクにソケットID登録要求を送信する(6−16)。   The socket arbitration management task determines whether or not there is a master socket (6-13), and transmits a management number (slave notification) to the TCP server (6-14). The TCP server generates a slave socket in response to the connection request from the previously received operation terminal (slave PC) (6-15), and transmits a socket ID registration request to the socket arbitration management task (6-16).

ソケット調停管理タスクは、先に生成登録したスレーブ情報に追加してスレーブソケットのソケットIDを登録する(6−17)。TCPサーバは、スレーブとなる操作端末(スレーブPC)とソケット環境を構築しておく(6−18)。そしてスレーブ通知を該操作端末(スレーブPC)に送信し(6−19)、マスタに設定された測定項目の情報を操作端末(スレーブPC)に転送する(6−20)。   The socket arbitration management task registers the socket ID of the slave socket in addition to the previously created and registered slave information (6-17). The TCP server establishes a socket environment with a slave operation terminal (slave PC) (6-18). Then, the slave notification is transmitted to the operation terminal (slave PC) (6-19), and the information of the measurement item set in the master is transferred to the operation terminal (slave PC) (6-20).

操作端末(スレーブPC)は、測定項目として追加項目の有無を判定し(7−1)、追加項目が存在すれば、測定機能データベース格納部に対して測定項目の追加を設定する(7−2)。操作端末(スレーブPC)から測定開始要求が送出され(7−3)、TCPサーバは該測定開始要求に対して、測定機能データベース格納部からの測定状態の応答を受けて応答を返し(7−4)、測定データ(全測定データ)を操作端末(スレーブPC)に転送する(7−5)。   The operation terminal (slave PC) determines whether or not there is an additional item as a measurement item (7-1), and if there is an additional item, sets the addition of the measurement item to the measurement function database storage unit (7-2). ). A measurement start request is sent from the operation terminal (slave PC) (7-3), and the TCP server returns a response to the measurement start request in response to the measurement state response from the measurement function database storage unit (7- 4) Transfer the measurement data (all measurement data) to the operation terminal (slave PC) (7-5).

また、操作端末(マスタPC)から測定開始要求が送出され(7−6)、TCPサーバは該測定開始要求に対して、測定機能データベース格納部からの測定状態の応答を受けて応答を返し(7−7)、測定データ(全測定データ)を操作端末(マスタPC)に転送する(7−8)。測定項目の設定情報は測定機能データベース格納部に保管され、TCPサーバはその情報に基づいて操作端末(PC)に測定データを転送する。測定データの振り分けは、測定機能データベース格納部に基づきTCPサーバが選択して転送する。   In addition, a measurement start request is sent from the operation terminal (master PC) (7-6), and the TCP server receives a response of the measurement state from the measurement function database storage unit in response to the measurement start request and returns a response ( 7-7) The measurement data (all measurement data) is transferred to the operation terminal (master PC) (7-8). Setting information of measurement items is stored in a measurement function database storage unit, and the TCP server transfers measurement data to the operation terminal (PC) based on the information. The distribution of the measurement data is selected and transferred by the TCP server based on the measurement function database storage unit.

また、マスタ切り替え時の動作シーケンス例を図8に示す。マスタ切り替えは、マスタソケットで接続された操作端末(マスタPC)が、接続の終了(Close)を要求すると自動的に処理される。スレーブPCは、切り替え前に自身がマスタに選定された旨の通知を受ける。この後、以前のマスタPCの測定項目のみを削除した全測定項目情報を最新のマスタPCに転送する。マスタPCとなったスレーブPCは、その情報を画面に表示し直す。   An example of an operation sequence at the time of switching the master is shown in FIG. Master switching is automatically processed when an operation terminal (master PC) connected by a master socket requests termination of connection (Close). The slave PC receives a notification that it has been selected as the master before switching. Thereafter, all measurement item information from which only the measurement items of the previous master PC are deleted is transferred to the latest master PC. The slave PC that has become the master PC redisplays the information on the screen.

図8を参照して上記のシーケンス例を詳細に説明する。同図のシーケンス例において、TCPサーバは、マスタ制御タスク及びスレーブ制御タスクの両方の実行機能を含んでいるものとする。   The above sequence example will be described in detail with reference to FIG. In the sequence example of FIG. 6, the TCP server includes functions for executing both the master control task and the slave control task.

操作端末(マスタPC)から接続の終了(Close)要求が発生する(8−1)。TCPサーバは、該接続の終了(Close)要求の通知を受け取り、ソケット調停管理タスクに対して、ソケット管理番号(識別番号)の削除要求を送る(8−3)。ソケット調停管理タスクで、該ソケット管理番号の削除によるマスタの有無の影響を判定し(8−4)、マスタ無しとなる場合は、他のスレーブをマスタに変更する(8−5)。   A connection termination request is generated from the operation terminal (master PC) (8-1). The TCP server receives the notification of the connection termination (Close) request, and sends a socket management number (identification number) deletion request to the socket arbitration management task (8-3). In the socket arbitration management task, the influence of the presence or absence of the master due to the deletion of the socket management number is determined (8-4). If there is no master, the other slave is changed to the master (8-5).

ソケット調停管理タスクは、旧マスタソケットの管理番号削除の通知と共に、新マスタソケットの情報をTCPサーバに通知する(8−6)。TCPサーバは、該通知により測定データの転送を停止し、バッファに蓄積し(又は破棄でも測定データなので問題ない)、旧マスタソケットを削除する(8−7)。   The socket arbitration management task notifies the TCP server of the information of the new master socket together with the notification of deletion of the management number of the old master socket (8-6). The TCP server stops the transfer of the measurement data according to the notification, accumulates it in the buffer (or there is no problem even if it is discarded, and deletes the old master socket (8-7).

そしてその旨を操作端末(旧マスタPC)に通知し(8−8)、操作端末(旧マスタPC)は該通知に対して応答(Ack)を返す。ここまでが操作端末(マスタPC)が接続の終了(Close)要求を送信してからの3ウェイハンドシェークの通信である。   The operation terminal (old master PC) is notified to that effect (8-8), and the operation terminal (old master PC) returns a response (Ack) to the notification. Up to this point, the communication of the 3-way handshake after the operation terminal (master PC) transmits a connection end (Close) request.

また、TCPサーバは、測定機能データベース格納部に対してマスタ情報の抹消と共に新マスタの情報を通知し(8−9)、測定機能データベース格納部では該通知によりマスタ情報を切り替え(8−10)、測定機能データベース格納部に対してマスタ変更の応答を返し(8−10)、マスタ変更を通知する(8−11)。   Further, the TCP server notifies the measurement function database storage unit of the master information and notifies the new master information (8-9), and the measurement function database storage unit switches the master information by the notification (8-10). The master change response is returned to the measurement function database storage unit (8-10), and the master change is notified (8-11).

TCPサーバは、マスタに変更された操作端末(スレーブPC1)に対して、スレーブからマスタの変更を通知し(8−12)、測定機能データベース格納部に格納された全測定項目の情報を、操作端末(スレーブPC1)に転送する(8−13)。操作端末(スレーブPC1)ではマスタ変更通知を検出すると、全測定項目の設定情報を表示し、操作者はそれを基に測定項目の変更、追加又は削除を実施することができる。マスタ切り替え通知後、すぐに、TCPサーバから切り替え処理期間に貯めていた測定データを転送する。   The TCP server notifies the operation terminal (slave PC1) changed to the master of the change of the master from the slave (8-12), and operates the information of all measurement items stored in the measurement function database storage unit. Transfer to the terminal (slave PC1) (8-13). When the master terminal notification is detected in the operation terminal (slave PC 1), the setting information of all measurement items is displayed, and the operator can change, add or delete the measurement items based on it. Immediately after the master switching notification, the measurement data stored in the switching processing period is transferred from the TCP server.

図9は測定情報の設定例を示している。同図(a)及び(b)に示すように、2つの操作端末(マスタPC及びスレーブPC)がそれぞれ測定項目を要求しているとすると、実際に制御カードから各操作端末(マスタPC及びスレーブPC)に転送される測定データの測定項目を図(c)に示す。   FIG. 9 shows an example of setting measurement information. As shown in FIGS. 2A and 2B, if two operation terminals (master PC and slave PC) request measurement items, respectively, the operation terminals (master PC and slave) are actually sent from the control card. The measurement items of the measurement data transferred to (PC) are shown in FIG.

即ち、図9の(a)及び(b)に示すそれぞれの測定項目をマージ(併合)した測定項目の測定データを、各操作端末(マスタPC及びスレーブPC)に転送する。各操作端末(マスタPC及びスレーブPC)は自身が要求した測定項目の測定データを取り込む。   That is, the measurement data of the measurement items obtained by merging the measurement items shown in FIGS. 9A and 9B are transferred to each operation terminal (master PC and slave PC). Each operation terminal (master PC and slave PC) takes in the measurement data of the measurement item requested by itself.

図10は、2つの操作端末(マスタPC及びスレーブPC)が測定開始要求を送出した場合の測定データ報告タイミングを示す。図示の例では、制御カードから各操作端末(マスタPC及びスレーブPC)への測定データ報告周期を100msとしている。100msの間で配下の被試験カードから測定データを収集する。   FIG. 10 shows measurement data report timing when two operation terminals (master PC and slave PC) send a measurement start request. In the illustrated example, the measurement data report cycle from the control card to each operation terminal (master PC and slave PC) is 100 ms. Measurement data is collected from the card under test within 100 ms.

即ち、図10に示すように、操作端末(マスタPC)が500msの測定期間に亘る測定データをTのタイミングで要求した場合、該要求後の100msの測定周期毎に得られる測定データをそれぞれT1,T2,T3,T4,T5のタイミングで報告する。一方、操作端末(スレーブPC)が300msの測定期間に亘る測定データをTのタイミングで要求した場合、該要求後の100msの測定周期毎に得られる測定データをそれぞれT4,T5,T6のタイミングで報告する。 That is, as shown in FIG. 10, when the operation terminal (master PC) requests the measurement data over a measurement period of 500ms at timing T M, the measurement data obtained for each measurement cycle of 100ms after the request, respectively Report at the timing of T1, T2, T3, T4, T5. On the other hand, if the operating terminal (slave PC) requests the measurement data over a measurement period of 300ms at timing T S, the measured data obtained for each measurement cycle of 100ms after the request each T4, T5, T6 timing To report.

図10に示すように、既に何らかの測定が開始されている場合に、新たにTのタイミングで測定開始要求をした操作端末(スレーブPC)への測定データの報告は、1周期後の100msの報告周期T4に合わせて報告することとする。 As shown in FIG. 10, when the already some measurable been started, new measurement data reporting to the operation terminal which has a measurement start request at the timing of T S (Slave PC) is after one cycle 100ms of The report will be made in accordance with the report period T4.

これは、測定開始が厳密に定義されることはなく、測定が可能となった時点で開始すればよいという特性を利用している。無線通信はいつアクセスが発生するか分からないので、測定を行う場合は事前に十分に余裕を持って設定することになるからである。   This uses the characteristic that the measurement start is not strictly defined, and the measurement may be started when measurement is possible. This is because it is not known when access occurs in wireless communication, and therefore, measurement is performed with sufficient margin in advance.

本発明による測定/試験システムの接続インタフェースを示す図である。1 is a diagram showing a connection interface of a measurement / test system according to the present invention. 本発明の測定/試験システムにおけるアクセス制御の機能部を示す図である。It is a figure which shows the function part of the access control in the measurement / test system of this invention. ソケットデータベース格納部、測定機能データベース格納部、測定データ格納部及び機能限定規則命令ルーティング格納部を示す図である。It is a figure which shows a socket database storage part, a measurement function database storage part, a measurement data storage part, and a function limitation rule command routing storage part. ソケット調停管理部及びマスタ処理部のタスクフローを示す図である。It is a figure which shows the task flow of a socket mediation management part and a master process part. スレーブ処理部のタスクフローを示す図である。It is a figure which shows the task flow of a slave process part. 2つの操作端末(PC)が制御カードにアクセスしたときの動作シーケンス例を示す図である。It is a figure which shows the example of an operation | movement sequence when two operation terminals (PC) access a control card. 2つの操作端末(PC)が制御カードにアクセスしたときの動作シーケンス例を示す図である。It is a figure which shows the example of an operation | movement sequence when two operation terminals (PC) access a control card. マスタ切り替え時の動作シーケンス例を示す図である。It is a figure which shows the example of an operation | movement sequence at the time of master switching. 測定情報の設定例を示す図である。It is a figure which shows the example of a setting of measurement information. 2つの操作端末が測定開始要求を送出した場合の測定データ報告タイミングを示す図である。It is a figure which shows the measurement data report timing when two operation terminals transmit the measurement start request | requirement. 従来の測定/試験システムの接続インタフェースを示す図である。It is a figure which shows the connection interface of the conventional measurement / test system.

符号の説明Explanation of symbols

1−1 制御カード
1−2 測定アプリケーションソフトウェア
1−21 ソケット調停管理部
1−22 マスタ処理部
1−23 スレーブ処理部
1−31 マスタソケット
1−32,1−33 スレーブソケット
1−4 ソケットデータベース格納部
11−4 LANインタフェース
11−5 配下被試験カード
11−6 ルータ
PC1,PC2,PC3 操作端末
1-1 Control Card 1-2 Measurement Application Software 1-21 Socket Arbitration Management Unit 1-22 Master Processing Unit 1-23 Slave Processing Unit 1-31 Master Socket 1-32, 1-33 Slave Socket 1-4 Socket Database Storage Section 11-4 LAN interface 11-5 Subordinate test card 11-6 Router PC1, PC2, PC3 Operation terminal

Claims (5)

測定系アプリケーションソフトウェアと操作端末との間の接続インタフェースとして生成するソケットを、マスタソケット及びスレーブソケットの2種類のソケットとして生成し、かつ、マスタソケットを1台の操作端末の接続にのみ生成し、他のソケットを全てスレーブソケットとして生成するソケット調停管理部と、
前記マスタソケット又はスレーブソケットの何れであるかを示す識別子を各ソケットの識別番号毎に登録するソケットデータベース格納部と、
前記マスタソケットで接続された操作端末からの測定アプリケーションソフトウェアに対する制御コマンド及び測定コマンドを制限することなく処理するマスタ処理部と、
前記スレーブソケットで接続された操作端末からの前記測定アプリケーションソフトウェアに対する制御コマンド及び測定コマンドのうち、機能限定規則によって許可されたコマンドのみを処理し、機能限定規則によって許可されたコマンド以外のコマンドを破棄するスレーブ処理部と
を備えた測定/試験アクセス制御装置。
A socket generated as a connection interface between the measurement system application software and the operation terminal is generated as two types of sockets, a master socket and a slave socket, and the master socket is generated only for connection of one operation terminal, A socket arbitration manager that generates all other sockets as slave sockets;
A socket database storage unit that registers an identifier indicating whether the master socket or the slave socket for each socket identification number;
A master processing unit for processing without limiting control commands and measurement commands for measurement application software from the operation terminal connected by the master socket;
Of the control commands and measurement commands for the measurement application software from the operation terminal connected by the slave socket, only commands permitted by the function restriction rules are processed, and commands other than those permitted by the function restriction rules are discarded. A measurement / test access control device comprising a slave processing unit.
前記ソケット調停管理部は、初期状態から最初に接続要求した操作端末に対するソケットをマスタソケットとして登録し、該操作端末の接続が終了したときに、他の操作端末の接続に使用されているスレーブソケットの1つをマスタソケットとして登録するよう、前記ソケットデータベース格納部の識別子を書き換える構成を有する請求項1に記載の測定/試験アクセス制御装置。   The socket arbitration management unit registers, as a master socket, a socket for an operation terminal that is requested to be connected first from an initial state, and a slave socket that is used for connection of another operation terminal when the connection of the operation terminal is completed The measurement / test access control device according to claim 1, wherein the identifier of the socket database storage unit is rewritten so that one of them is registered as a master socket. 前記マスタソケット及びスレーブソケットで接続された各操作端末から要求された測定項目を有効な測定項目として記憶保持する測定機能データベース格納部と、
前記測定機能データベース格納部で有効な測定項目として記憶保持された測定項目の測定データを記憶保持する測定データ格納部とを有し、
前記マスタ処理部及びスレーブ処理部は、それぞれマスタソケット及びスレーブソケットで接続された各操作端末に、前記測定データ格納部に格納された測定データを転送する構成を有する請求項1又は2に記載の測定/試験アクセス制御装置。
A measurement function database storage unit that stores and holds measurement items requested from each operation terminal connected by the master socket and the slave socket as effective measurement items;
A measurement data storage unit that stores and holds measurement data of measurement items stored and held as effective measurement items in the measurement function database storage unit,
The said master process part and a slave process part have the structure which transfers the measurement data stored in the said measurement data storage part to each operation terminal connected with the master socket and the slave socket, respectively. Measurement / test access control device.
測定系アプリケーションソフトウェアと操作端末との間の接続インタフェースとして生成するソケットを、マスタソケット及びスレーブソケットの2種類のソケットとして生成し、かつ、マスタソケットを1台の操作端末の接続にのみ生成し、他のソケットを全てスレーブソケットとして生成するソケット調停管理プロセスと、
前記マスタソケット又はスレーブソケットの何れであるかを示す識別子を各ソケットの識別番号毎に登録するソケットデータベース格納プロセスと、
前記マスタソケットで接続された操作端末からの測定アプリケーションソフトウェアに対する制御コマンド及び測定コマンドを制限することなく処理するマスタ処理プロセスと、
前記スレーブソケットで接続された操作端末からの前記測定アプリケーションソフトウェアに対する制御コマンド及び測定コマンドのうち、機能限定規則によって許可されたコマンドのみを処理し、機能限定規則によって許可されたコマンド以外のコマンドを破棄するスレーブ処理プロセスと
を含む測定/試験アクセス制御方法。
A socket generated as a connection interface between the measurement system application software and the operation terminal is generated as two types of sockets, a master socket and a slave socket, and the master socket is generated only for connection of one operation terminal, A socket arbitration management process that creates all other sockets as slave sockets;
A socket database storage process for registering an identifier indicating whether the master socket or the slave socket for each socket identification number;
A master processing process for processing without limiting control commands and measurement commands for measurement application software from the operation terminal connected by the master socket;
Of the control commands and measurement commands for the measurement application software from the operation terminal connected by the slave socket, only commands permitted by the function restriction rules are processed, and commands other than those permitted by the function restriction rules are discarded. A measurement / test access control method including a slave processing process.
測定系アプリケーションソフトウェアと操作端末との間の接続インタフェースとして生成するソケットを、マスタソケット及びスレーブソケットの2種類のソケットとして生成し、かつ、マスタソケットを1台の操作端末の接続にのみ生成し、他のソケットを全てスレーブソケットとして生成するソケット調停管理手段と、
前記マスタソケット又はスレーブソケットの何れであるかを示す識別子を各ソケットの識別番号毎に登録するソケットデータベース格納手段と、
前記マスタソケットで接続された操作端末からの測定アプリケーションソフトウェアに対する制御コマンド及び測定コマンドを制限することなく処理するマスタ処理手段と、
前記スレーブソケットで接続された操作端末からの前記測定アプリケーションソフトウェアに対する制御コマンド及び測定コマンドのうち、機能限定規則によって許可されたコマンドのみを処理し、機能限定規則によって許可されたコマンド以外のコマンドを破棄するスレーブ処理手段と
を実行させるための測定/試験アクセス制御用のプログラム。
A socket generated as a connection interface between the measurement system application software and the operation terminal is generated as two types of sockets, a master socket and a slave socket, and the master socket is generated only for connection of one operation terminal, Socket arbitration management means for generating all other sockets as slave sockets;
Socket database storage means for registering an identifier indicating whether the master socket or the slave socket for each socket identification number;
Master processing means for processing without limiting control commands and measurement commands for measurement application software from the operation terminal connected by the master socket;
Of the control commands and measurement commands for the measurement application software from the operation terminal connected by the slave socket, only commands permitted by the function restriction rules are processed, and commands other than those permitted by the function restriction rules are discarded. Measurement / test access control program for executing slave processing means.
JP2008010494A 2008-01-21 2008-01-21 MEASUREMENT / TEST ACCESS CONTROL DEVICE AND METHOD, AND ITS PROGRAM Expired - Fee Related JP5115208B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008010494A JP5115208B2 (en) 2008-01-21 2008-01-21 MEASUREMENT / TEST ACCESS CONTROL DEVICE AND METHOD, AND ITS PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008010494A JP5115208B2 (en) 2008-01-21 2008-01-21 MEASUREMENT / TEST ACCESS CONTROL DEVICE AND METHOD, AND ITS PROGRAM

Publications (2)

Publication Number Publication Date
JP2009168783A true JP2009168783A (en) 2009-07-30
JP5115208B2 JP5115208B2 (en) 2013-01-09

Family

ID=40970099

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008010494A Expired - Fee Related JP5115208B2 (en) 2008-01-21 2008-01-21 MEASUREMENT / TEST ACCESS CONTROL DEVICE AND METHOD, AND ITS PROGRAM

Country Status (1)

Country Link
JP (1) JP5115208B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018200305A (en) * 2017-04-28 2018-12-20 株式会社アドバンテスト Test program flow control

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003046599A (en) * 2001-07-31 2003-02-14 Anritsu Corp Measurement system
JP2006092365A (en) * 2004-09-24 2006-04-06 Seiko Epson Corp Image display device, reservation management server and conference system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003046599A (en) * 2001-07-31 2003-02-14 Anritsu Corp Measurement system
JP2006092365A (en) * 2004-09-24 2006-04-06 Seiko Epson Corp Image display device, reservation management server and conference system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018200305A (en) * 2017-04-28 2018-12-20 株式会社アドバンテスト Test program flow control

Also Published As

Publication number Publication date
JP5115208B2 (en) 2013-01-09

Similar Documents

Publication Publication Date Title
CN106790758B (en) Method and device for accessing network object in NAT network
JP5753629B2 (en) Method, device and system for managing mobile broadband devices
JPH09244940A (en) Method for managing distributed computer resource
JPH0776939B2 (en) Communication network system
JP2003046569A (en) Load test execution device and system, and method and program thereof
CN111459632B (en) Serial port agent for calling terminal application program and implementation method
US8589381B2 (en) Resource management program, resource management process, and resource management apparatus
WO2022028092A1 (en) Vnf instantiation method and apparatus
CN109547875A (en) A kind of FC exchange network arbitrary port access design method
TWI498037B (en) Service information managing method and service information managing system
JP2000172600A (en) Network constitution investigation method, network equipment control method and device therefor
US20220337926A1 (en) Virtualization Method and Apparatus
JP5115208B2 (en) MEASUREMENT / TEST ACCESS CONTROL DEVICE AND METHOD, AND ITS PROGRAM
JP4637140B2 (en) Computer system
CN115102999B (en) DevOps system, service providing method, storage medium and electronic device
WO2016091141A1 (en) Method and apparatus for information collection
KR20210044281A (en) Method and apparatus for ensuring continuous device operation stability in cloud degraded mode
US10148518B2 (en) Method and apparatus for managing computer system
CN112134749A (en) Dynamic network access management method and system
JP3950752B2 (en) apparatus
WO2001093032A1 (en) Computer system, method of controlling computer, and medium storing control program
CN114461157B (en) IDV client multi-screen divide-and-conquer method and system
JP6838444B2 (en) Information processing device, information processing device control method and information processing device control program
CN115604102A (en) Communication method and device
JP4138707B2 (en) Session connection apparatus and session connection method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100820

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20110915

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111117

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111122

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120113

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121001

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20151026

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees