Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7773205B2 - Industrial machinery information collection system, setting information data input method, and program - Google Patents
[go: Go Back, main page]

JP7773205B2 - Industrial machinery information collection system, setting information data input method, and program - Google Patents

Industrial machinery information collection system, setting information data input method, and program

Info

Publication number
JP7773205B2
JP7773205B2 JP2022098814A JP2022098814A JP7773205B2 JP 7773205 B2 JP7773205 B2 JP 7773205B2 JP 2022098814 A JP2022098814 A JP 2022098814A JP 2022098814 A JP2022098814 A JP 2022098814A JP 7773205 B2 JP7773205 B2 JP 7773205B2
Authority
JP
Japan
Prior art keywords
data
relay device
unit
character string
client device
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
JP2022098814A
Other languages
Japanese (ja)
Other versions
JP2024000186A5 (en
JP2024000186A (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.)
Silex Technology Inc
Original Assignee
Silex Technology Inc
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 Silex Technology Inc filed Critical Silex Technology Inc
Priority to JP2022098814A priority Critical patent/JP7773205B2/en
Publication of JP2024000186A publication Critical patent/JP2024000186A/en
Publication of JP2024000186A5 publication Critical patent/JP2024000186A5/ja
Application granted granted Critical
Publication of JP7773205B2 publication Critical patent/JP7773205B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

本発明は、産業機械情報収集システム、設定情報データ入力方法、および、そのプログラムに関する。 The present invention relates to an industrial machinery information collection system, a setting information data input method, and a program therefor.

ユーザがPC(Personal Computer)等のクライアントデバイスを使用して所望の情報を産業機械より収集する中継装置が知られている。これらの中継装置が産業機械から情報を収集する際には、まず収集対象の情報を定義した設定データをCSV(Comma Separated-Values)形式で自機に記憶しておく必要がある。例えば特許文献1には公知のデータ入力方法が示されている。 Relay devices are known that allow users to collect desired information from industrial machinery using client devices such as PCs (Personal Computers). When these relay devices collect information from industrial machinery, they must first store configuration data defining the information to be collected in CSV (Comma Separated Values) format. For example, Patent Document 1 (JP-A-2005-102528) describes a well-known data input method.

特開2009-059250号公報JP 2009-059250 A

しかしながら、従来の方法ではユーザは外部の装置でCSVファイルを予め作成した上で中継装置に作成したCSVファイルそのものをデータとして取り込む、または中継装置が備えるWebインターフェース上で、直接カンマで各要素を区切るCSV形式の文字列を手動で入力しなければならず中継装置の利便性が損なわれていた。 However, with conventional methods, users had to create a CSV file on an external device beforehand and then import the created CSV file itself into the relay device as data, or manually enter CSV-formatted strings, with each element separated by a comma, directly into the relay device's web interface, reducing the convenience of the relay device.

本発明は以上の事情に鑑みてなされたものであり、その主要な目的は、産業機械から収集する対象情報を定義するため、ユーザが容易に中継装置用のCSV形式の設定データファイルを作成するデータ入力の仕組みを提供することにある。 The present invention was made in light of the above circumstances, and its main purpose is to provide a data input mechanism that allows users to easily create CSV-format configuration data files for relay devices in order to define the target information to be collected from industrial machinery.

本発明の一態様に係る産業機械情報収集システムは、産業機械と、産業機械の稼働情報を産業機械から取得する中継装置と、クライアントデバイスとを備える産業機械情報収集システムであって、中継装置は、クライアントデバイスから産業機械の稼働情報を収集するために予め定義される設定情報データを受信するとともに、設定情報データをユーザに入力させる入力フォームの表示用データを前記クライアントデバイスに送信する第一通信部と、産業機械から稼働情報を取得する第二通信部と、産業機械の前記設定情報データを記憶する記憶部とを備え、クライアントデバイスは、中継装置との間でデータの送受信を行う通信部と、中継装置から通信部を介して前記入力フォームの表示用データを受信し、ユーザから産業機械の設定情報データをフィールドデータとして受け付ける受付部と、フィールドデータの妥当性を判定する判定部と、判定部の所定の通知を受けた場合にフィールドデータをCSV形式の文字列データとして生成する生成部と、CSV形式の文字列データを一時的に保持する一次保持テーブルとして1行または複数行を記憶する記憶部と、一次保持テーブルのデータをPOST用フォームに整形しPOST用データを作成する処理部と、を備え、判定部は、さらにユーザよりCSV形式の文字列データを中継装置に送信する指示が行われたと判定すると、処理部はPOST用データを中継装置に向けて送信する。
An industrial machinery information collection system according to one aspect of the present invention is an industrial machinery information collection system comprising an industrial machine, a relay device that acquires operation information of the industrial machine from the industrial machine, and a client device, wherein the relay device comprises a first communication unit that receives predefined setting information data for collecting operation information of the industrial machine from the client device and transmits display data for an input form that prompts a user to input the setting information data to the client device, a second communication unit that acquires operation information from the industrial machine, and a memory unit that stores the setting information data of the industrial machine, and the client device comprises a communication unit that transmits and receives data to the relay device, a reception unit that receives the display data for the input form from the relay device via the communication unit and accepts the setting information data of the industrial machine from the user as field data, a determination unit that determines the validity of the field data, and a generation unit that generates the field data as character string data in CSV format when a predetermined notification from the determination unit is received . The device is equipped with a memory unit that stores one or more rows as a primary storage table that temporarily stores character string data in CSV format, and a processing unit that formats the data in the primary storage table into a POST form to create POST data, and when the determination unit determines that a user has issued an instruction to send the CSV format character string data to the relay device, the processing unit sends the POST data to the relay device.

これによれば、ユーザは中継装置が予め記憶する入力フォームに基づいてフィールドデータを個別入力するだけで、CSV形式の設定情報データを中継装置に送信し、中継装置はこれを記憶し、産業機械の稼働データの処理に使用することができる。なお、入力フォームとは、ユーザがクライアントデバイスの画面上で設定情報を容易に入力できるよう設計された、フォームを意味する。 With this system, users can simply enter individual field data based on an input form pre-stored in the relay device, and send CSV-formatted setting information data to the relay device, which then stores the data and uses it to process industrial machinery operation data. Note that an input form is a form designed to allow users to easily enter setting information on the screen of a client device.

また、クライアントデバイスの処理部は、さらに一次保テーブルにおいて、ユーザによるCSV形式の文字列データの削除、複製、および編集を可能としてもよい。 Furthermore, the processing unit of the client device may further enable the user to delete, copy, and edit character string data in CSV format in the primary storage table.

これによれば、ユーザはクライアントデバイスの表示画面における簡易な操作でCSV形式の文字列データの追加、変更、および削除を行うことができる。 This allows users to add, change, and delete string data in CSV format with simple operations on the display screen of the client device.

本発明の一態様に係る産業機械と、産業機械の稼働情報を前記産業機械から取得する中継装置と、クライアントデバイスとを備える産業機械情報収集システムにおける設定情報データを入力する方法であって、クライアントデバイスが中継装置に入力フォーム表示用データを要求するステップと、入力フォームによりフィールドデータの入力を受け付けるステップと、フィールドデータを入力フォームの順に取得し、フィールドデータを含む文字列データをCSV形式の文字列データとして生成するステップと、CSV形式の文字列データを一時的に保持する一次保持テーブルに追加するステップと、一次保持テーブルにおいて、ユーザがCSV形式の文字列データの削除、複製、編集を行うステップと、ユーザの指示に基づいて、一次保持テーブルに記憶したCSV形式の文字列データをPOST用フォームにPOST用データとして整形するステップと、POST用データを中継装置に送信するステップと、を含む。
A method for inputting setting information data in an industrial machinery information collection system including an industrial machine according to one aspect of the present invention, a relay device that acquires operation information of the industrial machine from the industrial machine, and a client device , includes the steps of: the client device requesting input form display data from the relay device; accepting input of field data by the input form; acquiring the field data in the order of the input form and generating character string data including the field data as character string data in CSV format ; adding the CSV format character string data to a primary storage table that temporarily stores the CSV format character string data; a user deleting, duplicating, and editing the CSV format character string data in the primary storage table;

これによれば、上記産業機械情報収集システムと同様の効果を奏する。 This achieves the same effects as the above-mentioned industrial machinery information collection system.

本発明によれば、ユーザは、産業機械の稼働データ処理のため、CSV形式である設定情報データを容易に作成し、中継装置に保存することができる。 According to the present invention, users can easily create setting information data in CSV format for processing industrial machinery operation data and save it on a relay device.

図1は、実施の形態に係る産業機械情報収集のためのデータ入力システム(産業機械情報収集システム)の概要を示す模式図である。FIG. 1 is a schematic diagram showing an overview of a data input system for collecting industrial machinery information (industrial machinery information collection system) according to an embodiment. 図2は、実施の形態に係るクライアントデバイスの機能構成を示すブロック図である。FIG. 2 is a block diagram illustrating a functional configuration of a client device according to the embodiment. 図3は、実施の形態に係るクライアントデバイスの受付部にユーザがフィールドデータを生成する際のフォーム表示画面を示す一例である。FIG. 3 shows an example of a form display screen when a user generates field data in the reception unit of the client device according to the embodiment. 図4は、実施の形態のクライアントデバイスにおいて、入力されたフィールドデータを含むCSV形式の行データを一時的に記憶する際の形態である一次保持テーブルを表示した画面の一例である。FIG. 4 shows an example of a screen displaying a temporary storage table, which is a format for temporarily storing CSV-formatted row data including input field data, in a client device according to the embodiment. 図5は、実施の形態のクライアントデバイスが一次保持テーブルの記憶内容を基に生成するCSV形式のデータの一例である。FIG. 5 shows an example of CSV format data that the client device according to the embodiment generates based on the stored contents of the primary holding table. 図6は、実施の形態のクライアントデバイスがCSV形式のデータを中継装置に送信する一連の処理の流れを示すフローチャートである。FIG. 6 is a flowchart showing a series of processing steps in which a client device according to the embodiment transmits CSV format data to a relay device. 図7は、実施の形態の中継装置がCSV形式のデータを保存する一連の処理の流れを示すフローチャートである。FIG. 7 is a flowchart showing a series of processing steps for storing CSV format data by the relay device according to the embodiment. 図8は、実施の形態の中継装置の機能構成を示すブロック図である。FIG. 8 is a block diagram illustrating a functional configuration of a relay device according to an embodiment. 図9は、実施の形態のデータ入力システムにおけるデータおよび処理の流れを示すシーケンス図である。FIG. 9 is a sequence diagram showing the flow of data and processing in the data entry system according to the embodiment.

以下、実施の形態について、図面を参照しながら具体的に説明する。
以下で説明する実施の形態は、いずれも本発明の好ましい一具体例を示すものである。以下の実施の形態で示される数値、形状、構成要素、構成要素の配置位置および接続形態、ステップ、ステップの順序等は、一例であり、本発明を限定する主旨ではない。また、以下の実施の形態における構成要素のうち、本発明の最上位概念を示す独立請求項に記載されていない構成要素については、より好ましい形態を構成する任意の構成要素として説明される。なお、同一の構成要素には同一の符号を付し、説明を省略する場合がある。
[実施の形態]
Hereinafter, the embodiments will be specifically described with reference to the drawings.
The embodiments described below each illustrate a preferred specific example of the present invention. The numerical values, shapes, components, component placement and connection configurations, steps, and step order shown in the following embodiments are merely examples and are not intended to limit the present invention. Furthermore, among the components in the following embodiments, components that are not described in the independent claims that represent the highest concept of the present invention will be described as optional components that constitute a more preferred embodiment. Note that identical components will be assigned the same reference numerals, and descriptions thereof may be omitted.
[Embodiment Mode]

図1は、実施の形態に係る産業機械情報収集のためのデータ入力システム(産業機械情報収集システム)の概要を示す模式図である。
図1に示すように、産業機械情報収集システム100は、中継装置101、通信リンク102、クライアントデバイス103、産業機械104,通信リンク105を備える。
なお、本実施の形態では、産業機械情報収集システム100は1つのクライアントデバイス103および1つの中継装置101を備えているが、これに限定されず、複数のクライアントデバイスおよび複数の中継装置を備えていてもよい。
FIG. 1 is a schematic diagram showing an overview of a data input system for collecting industrial machinery information (industrial machinery information collection system) according to an embodiment.
As shown in FIG. 1 , the industrial machinery information collection system 100 includes a relay device 101 , a communication link 102 , a client device 103 , an industrial machine 104 , and a communication link 105 .
In this embodiment, the industrial machinery information collection system 100 has one client device 103 and one relay device 101, but is not limited to this and may have multiple client devices and multiple relay devices.

中継装置101は、自機に接続される産業機械104より稼働情報(例えば産業機械の運転状態、加工軸の回転速度等)を収集するために予め定義される設定情報データ(以下設定情報データ)をまとめたCSV形式のデータを、クライアントデバイス103から受信し記憶する。中継装置101は通信リンク102を介してクライアントデバイス103と接続される。 The relay device 101 receives and stores CSV-formatted data from the client device 103 that summarizes predefined setting information data (hereinafter referred to as setting information data) for collecting operational information (e.g., the operating status of the industrial machine, the rotational speed of the machining shaft, etc.) from the industrial machine 104 connected to the relay device 101. The relay device 101 is connected to the client device 103 via a communication link 102.

通信リンク102は、中継装置101およびクライアントデバイス103を接続するネットワークである。通信リンク102はIEEE802.3等の規格に準拠して実現される有線ネットワークの形態であってもよく、IEEE802.11ac等の規格に準拠して実現される無線ネットワークの形態であってもよい。また、通信リンク102は、内部のネットワーク(例えば社内や工場内など)で構成されてもよいし、外部のネットワーク(例えばインターネットなど)で構成されてもよい。 The communication link 102 is a network that connects the relay device 101 and the client device 103. The communication link 102 may be in the form of a wired network that complies with a standard such as IEEE 802.3, or in the form of a wireless network that complies with a standard such as IEEE 802.11ac. The communication link 102 may also be configured as an internal network (e.g., within a company or factory) or an external network (e.g., the Internet).

クライアントデバイス103は、ユーザの操作により中継装置101への設定情報データの入力を行うと共に、産業機械104の稼働データを閲覧監視または産業機械104を制御する端末装置である。具体的には、クライアントデバイス103は、パーソナルコンピュータ、タブレット型コンピュータ、またはスマートフォン等である。クライアントデバイス103は通信リンク102を介して中継装置101と接続される。 The client device 103 is a terminal device that inputs setting information data to the relay device 101 through user operation, and also views and monitors the operation data of the industrial machinery 104 or controls the industrial machinery 104. Specifically, the client device 103 is a personal computer, tablet computer, smartphone, or the like. The client device 103 is connected to the relay device 101 via the communication link 102.

産業機械104は、例えば、CNC(数値制御装置)や、切削機械等で構成される。産業機械104は、通信リンク105を介して中継装置101と接続される。 The industrial machine 104 is composed of, for example, a CNC (computer numerical control) or a cutting machine. The industrial machine 104 is connected to the relay device 101 via a communication link 105.

通信リンク105は、例えばRS-232C、IEEE802.3規格等に適合する有線通信、または、IEEE802.11ac規格等に適合する無線通信により実現され、産業機械104と中継装置101との間における通信経路である。 The communication link 105 is realized by wired communication conforming to the RS-232C or IEEE 802.3 standard, or wireless communication conforming to the IEEE 802.11ac standard, and is the communication path between the industrial machine 104 and the relay device 101.

図2は、実施の形態に係るクライアントデバイスの機能構成を示すブロック図である。クライアントデバイス103は、記憶部201、判定部202、処理部203、通信部204、受付部205、および生成部206を備える。クライアントデバイス103における上記各機能は、クライアントデバイス103が備えるCPU(Central Processing Unit)、RAM(Random Access Memory)、ROM(Read Only Memory)、補助記憶装置(eMMC(Embedded Multimedia Card)や、SSD(Solid State Drive)等の不揮発性記憶手段)、通信モジュール等のハードウェア(いずれも図示せず)、およびROMに格納されたプログラムをCPUが読み出してこれらハードウェアと協調しつつ実行することにより実現される。 Figure 2 is a block diagram showing the functional configuration of a client device according to an embodiment. The client device 103 includes a memory unit 201, a determination unit 202, a processing unit 203, a communication unit 204, a reception unit 205, and a generation unit 206. The above functions of the client device 103 are realized by the client device 103's CPU (Central Processing Unit), RAM (Random Access Memory), ROM (Read Only Memory), auxiliary storage devices (non-volatile storage devices such as eMMC (Embedded Multimedia Card) and SSD (Solid State Drive)), communication modules, and other hardware (none of which are shown), as well as by the CPU reading and executing programs stored in the ROM in cooperation with this hardware.

記憶部201は、受付部205よりフィールドデータ(後述する)が入力された結果として生成されたCSV形式のデータである文字列データを格納するための一次保持テーブル(後述する)および中継装置101に送信するPOST用データ(後述する)を記憶する。 The memory unit 201 stores a primary storage table (described later) for storing character string data, which is CSV format data generated as a result of field data (described later) input from the reception unit 205, and POST data (described later) to be sent to the relay device 101.

判定部202は、受付部205が受け付けたフィールドデータが妥当か否かを判定する。判定部202は、判定結果が妥当な場合に、処理部203にその旨およびフィールドデータを通知する。また、判定部202は、受付部205から入力されたフィールドデータを含む文字列データを集合させたテーブルである一次保持テーブルの送信指示を受けたか否かの判定を実行する。 The determination unit 202 determines whether the field data received by the reception unit 205 is valid. If the determination result is valid, the determination unit 202 notifies the processing unit 203 of this fact and the field data. The determination unit 202 also determines whether it has received an instruction to send a primary storage table, which is a table that collects character string data including the field data input from the reception unit 205.

処理部203は、データの入出力を制御する。処理部203は、判定部202よりフィールドデータが妥当であるとの通知を受けた後に、フィールドデータを生成部206に転送し当該フィールドデータを含む文字列データを生成させる。また、処理部203は、生成部206が生成する当該フィールドデータを含む文字列データを記憶部201に一次保持テーブルの形態で一時的に記憶させる。さらに、処理部203は、後述するように、一次保存テーブルにおいて、ユーザの指示に基づいて、文字列データの削除、複製、および編集処理を行う。 The processing unit 203 controls the input and output of data. After receiving notification from the determination unit 202 that the field data is valid, the processing unit 203 transfers the field data to the generation unit 206, which generates character string data including the field data. The processing unit 203 also temporarily stores the character string data including the field data generated by the generation unit 206 in the storage unit 201 in the form of a primary storage table. Furthermore, as described below, the processing unit 203 deletes, copies, and edits the character string data in the primary storage table based on user instructions.

通信部204は、中継装置101との間でデータの送受信を行う。通信部204はIEEE802.3規格やIEEE802.11ac等の通信規格に準拠する有線通信および無線通信モジュール(図示せず)等により実現され、例えば、TCP(Transmission Control Protocol)通信等に基づくデータの送受信を行う。 The communication unit 204 transmits and receives data to and from the relay device 101. The communication unit 204 is implemented by a wired communication and wireless communication module (not shown) that conforms to communication standards such as the IEEE 802.3 standard or IEEE 802.11ac, and transmits and receives data based on, for example, TCP (Transmission Control Protocol) communication.

受付部205は、フィールドデータの入力を受け付ける。受付部205は、表示部等(図示しない)に表示させた入力フォーム300(具体的なフォームは、後に図3により説明する)にユーザが入力したフィールドデータを取得すると、判定部202に通知し、当該フィールドデータの妥当性の判定を受ける。なお、フィールドデータとは、産業機械から収集する対象情報を定義するために必要な、CSV形式の各行にカンマ区切りで含まれる各々の設定情報データの要素を指す。 The reception unit 205 receives input of field data. When the reception unit 205 acquires field data entered by a user into an input form 300 (the specific form will be explained later with reference to Figure 3) displayed on a display unit or the like (not shown), it notifies the determination unit 202, which then determines the validity of the field data. Note that field data refers to each element of setting information data contained in each line of the CSV format, separated by commas, which is necessary to define the target information to be collected from industrial machinery.

また、受付部205はユーザより一次保持テーブル400の変更操作、POSTリクエスト等のデータ送信の要求を受け付け、当該要求を処理部203に通知する。また、受付部205は、ユーザがフィールドデータを入力するための入力フォーム300に係わる表示用データを中継装置101より取得するための要求である、入力フォーム取得リクエストを、通信部204を介して中継装置101に送信する。入力フォーム取得リクエストとは、例えばHTTP(Hypertext Transfer Protocol) GETリクエスト等により行われる要求である。 The reception unit 205 also receives requests from the user for data transmission, such as changes to the primary retention table 400 and POST requests, and notifies the processing unit 203 of the requests. The reception unit 205 also transmits an input form acquisition request, which is a request for acquiring display data related to the input form 300 for the user to input field data from the relay device 101, to the relay device 101 via the communication unit 204. The input form acquisition request is a request made, for example, by an HTTP (Hypertext Transfer Protocol) GET request.

生成部206は、フィールドデータからCSV形式の行である文字列データ(後述する)を生成する。具体的には、ユーザが入力したフィールドデータの情報を順次読み出すことにより、HTML(Hypertext Markup Language)フォームである受付部205で入力されたフィールドデータをCSV形式のデータとして、カンマ区切りで順次格納する。 The generation unit 206 generates character string data (described below) in the form of lines in CSV format from the field data. Specifically, by sequentially reading out the information in the field data entered by the user, the field data entered by the reception unit 205, which is an HTML (Hypertext Markup Language) form, is stored sequentially as CSV format data, separated by commas.

図3は、実施の形態に係るクライアントデバイス103の受付部205が表示する入力フォームを示す一例である。受付部205は、中継装置101が予め記憶しクライアントデバイス103に向けて送信した表示用データ(例えばHTML等により定義されてもよい)に基づいて入力フォーム300を生成し、当該入力フォーム300をクライアントデバイス103上の表示装置(例えばLCD(Liquid Crystal Display)等)に表示させる。入力フォーム300は各フィールドデータの入力を受け付ける入力部301a~301f(以下総称して入力部301とも呼ぶ)を備える。ユーザが入力部301に値を入力すると、判定部202による入力値の妥当性判定を経て、生成部206が文字列データ303を生成する。図3に示される受付部205が生成する入力フォーム300の入力部301それぞれのフィールドデータ名は、入力フォーム300に画面表示されており、例えば、入力部301aはポイント名、入力部301bはポイントタイプ、入力部301cは定数値、入力部301dは更新周期、入力部301eは系統数、および入力部301fは開始アドレスなどである。 Figure 3 shows an example of an input form displayed by the reception unit 205 of the client device 103 according to an embodiment. The reception unit 205 generates an input form 300 based on display data (which may be defined, for example, by HTML) stored in advance by the relay device 101 and transmitted to the client device 103, and displays the input form 300 on a display device (for example, an LCD (Liquid Crystal Display)) on the client device 103. The input form 300 includes input units 301a to 301f (hereinafter collectively referred to as input unit 301) that accept input of each field data. When a user inputs a value into the input unit 301, the determination unit 202 determines the validity of the input value, and the generation unit 206 generates character string data 303. The field data names of each input section 301 of the input form 300 generated by the reception unit 205 shown in Figure 3 are displayed on the screen of the input form 300. For example, input section 301a is the point name, input section 301b is the point type, input section 301c is a constant value, input section 301d is the update period, input section 301e is the number of systems, and input section 301f is the start address.

生成部206が生成する文字列データ303は、カンマ区切りのフィールドデータ302a~302f(以下総称してフィールドデータ302とも呼ぶ)、および固定値304a~304d(固定値304とも総称する)を備える。フィールドデータ302a~302fは、入力フォーム300が備える入力部301a~302fの各々のフィールドデータ302と1対1に対応付けられ、ユーザが各入力部301に入力を行った内容が対応する各フィールドデータ302に格納される。固定値304a~304dは、中継装置101が予め記憶し自機の内部の処理(例えば稼働情報の取得に係る設定パラメータ等)に利用し、例えばユーザによる変更の必要がないデータ等である。 The character string data 303 generated by the generation unit 206 includes comma-separated field data 302a-302f (hereinafter collectively referred to as field data 302) and fixed values 304a-304d (hereinafter collectively referred to as fixed values 304). The field data 302a-302f are in one-to-one correspondence with the field data 302 of each of the input sections 301a-302f of the input form 300, and the content entered by the user into each input section 301 is stored in the corresponding field data 302. The fixed values 304a-304d are stored in advance by the relay device 101 and used for internal processing of the device itself (e.g., setting parameters related to obtaining operating information), and are, for example, data that does not need to be changed by the user.

文字列303の生成は、より具体的には、生成部206が入力部301a~301fに入力されたデータを先頭から順に読み出して行き、順にカンマで区切りながらフィールドデータ302a~302fとして並べ、1行のCSV行データとして整形する。また、生成部206はフィールドデータ302をカンマ区切りで格納しながら、固定値304を中継装置101が予め定義する所定の位置に当該固定値をカンマ区切りで格納する。生成部206が当該フィールドデータ302および固定値304の文字列データ303への格納を完了させると、文字列データ303が完成する。 To generate the character string 303, more specifically, the generation unit 206 reads the data input to the input units 301a to 301f sequentially from the beginning, arranges the data as field data 302a to 302f while separating them with commas, and formats them into one line of CSV data. Furthermore, while storing the field data 302 separated by commas, the generation unit 206 also stores the fixed values 304 separated by commas in a predetermined position predefined by the relay device 101. When the generation unit 206 has finished storing the field data 302 and fixed values 304 in the character string data 303, the character string data 303 is complete.

なお、固定値304のデータは、中継装置101が送信する表示用データとともにクライアントデバイス103に送信される。また、図3の例では入力部301において6つのフィールドデータを備える構成を例としているが、フィールドデータの数はこれに限定されるものではない。 Note that the data of the fixed value 304 is sent to the client device 103 together with the display data sent by the relay device 101. In addition, the example in Figure 3 shows an example in which the input unit 301 has six field data, but the number of field data is not limited to this.

生成部206により生成された文字列データ303は、ユーザの操作(例えば入力フォーム300への入力内容を確定するボタンの押下等)により、後述する一次保持テーブル400に一時的に保持される。 The string data 303 generated by the generation unit 206 is temporarily stored in the primary storage table 400, which will be described later, in response to a user operation (such as pressing a button to confirm the input content in the input form 300).

図4は、実施の形態に係るクライアントデバイス103がCSV形式のフィールドデータおよび固定データを含む複数の文字列データ303を一時記憶する際の形態である一次保持テーブル400を、クライアントデバイス103上の表示装置に表示させた画面の一例である。ユーザはこの表示画面を通じて、一次保持テーブル400における列データについて、削除、複製、編集などの操作を行うことができる。一次保持テーブル400は、行名401、隠しフィールド402、操作部403を備える。行名401はCSV行データを識別するための行名を表示するフィールドである。行名401は入力部301a(例えばポイント名)の入力内容を表示する。 Figure 4 shows an example of a screen displayed on the display device of the client device 103, showing a primary storage table 400, which is the format in which the client device 103 according to the embodiment temporarily stores multiple pieces of character string data 303, including CSV-format field data and fixed data. Through this display screen, the user can perform operations such as deleting, duplicating, and editing on the column data in the primary storage table 400. The primary storage table 400 includes a row name 401, a hidden field 402, and an operation section 403. The row name 401 is a field that displays the row name used to identify the CSV row data. The row name 401 displays the input content of the input section 301a (e.g., point name).

隠しフィールド402は、文字列データ303を保持する、一次保持テーブルの実体として機能するフィールドである。隠しフィールド402はデフォルトで非表示のフィールドであり、実際に格納されている文字列データ303はデフォルトではユーザに対し表示されない。 Hidden field 402 is a field that functions as the entity of the primary storage table, holding string data 303. Hidden field 402 is a hidden field by default, and the string data 303 actually stored therein is not displayed to the user by default.

操作部403はユーザが任意で文字列データ303を変更する操作を行う操作部である。操作部403は、行ごとに削除ボタン403a、複製ボタン403b、および、編集ボタン403cを備える。削除ボタン403aを押下すると、一次保持テーブル400から操作部403の削除ボタンに対応する行の行名401、隠しフィールド402、および操作部403が削除される。また、複製ボタン403bを押下することで、一次保持テーブル400において、新たな行を追加し、操作部403の複製ボタンに対応する行名401、隠しフィールド402、操作部403を複製する。これらの画面上での動きは、実体的には、クライアントデバイスの処理部203が一次保持テーブルを処理することで行われている。同様に、編集ボタン403bをユーザが押下することで非表示としていた文字列データ303を表示させる。そして、ユーザに隠しフィールド402に格納された文字列データ303を当画面上で、あるいは図3に示す画面に戻って編集させることを可能としてもよい。
The operation unit 403 is an operation unit through which the user performs an operation to arbitrarily change the character string data 303. The operation unit 403 includes a delete button 403a, a duplicate button 403b, and an edit button 403c for each row. Pressing the delete button 403a deletes the row name 401, hidden field 402, and operation unit 403 of the row corresponding to the delete button on the operation unit 403 from the primary storage table 400. Pressing the duplicate button 403b adds a new row to the primary storage table 400 and duplicates the row name 401, hidden field 402, and operation unit 403 corresponding to the duplicate button on the operation unit 403. These on-screen actions are actually performed by the processing unit 203 of the client device processing the primary storage table. Similarly, pressing the edit button 403b by the user causes the character string data 303 that was hidden to be displayed. The user may then be allowed to edit the character string data 303 stored in the hidden field 402 on this screen or by returning to the screen shown in FIG.

この一次保持テーブルによれば、ユーザは簡易な操作でCSV形式のデータの削除・追加・編集を行うことができる。より具体的には、ユーザは一次保持テーブルに既に格納されたCSV形式のデータの行削除、既に入力済みのCSV形式のデータの一次保持テーブル400への行追加、および所望のCSV形式のデータにおけるフィールドデータの編集を簡易な操作で行える。また、一次保持テーブル400の文字列データ303を非表示の隠しフィールド402に格納することで、ユーザに取って可読性が低い文字列データ303を非表示としながらも、文字列データ303を保持することができる。 This primary storage table allows users to delete, add, and edit CSV-format data with simple operations. More specifically, users can easily delete rows of CSV-format data already stored in the primary storage table, add rows of CSV-format data that have already been entered to the primary storage table 400, and edit field data for desired CSV-format data. Furthermore, by storing string data 303 in the primary storage table 400 in a hidden field 402, string data 303 that is difficult for users to read can be hidden, yet still be retained.

図5は、実施の形態に係るクライアントデバイス103が一次保持テーブル400の記憶内容を基に生成するCSV形式のデータの一例である。 Figure 5 shows an example of CSV format data generated by the client device 103 according to the embodiment based on the contents stored in the primary retention table 400.

POST用フォーム500は、生成部206により生成されたCSV形式のデータ303からPOST用データ501を格納するためのフォームである。生成部206は、一次保持テーブル400の隠しフィールド402を先頭から順次読み出して行き、一次保持テーブル400の各隠しフィールドに保持されている文字列データ303を逐次POST用フォーム500に書き込んでいきPOST用データ501を整形する。その後、生成部206は、ユーザの送信指示があると、当該フォームを処理部203に通知する。処理部203は当該通知を受けるとPOST用フォーム500に格納されたPOST用データ501をHTTP POSTリクエストに含めて中継装置101に送信する。
POST form 500 is a form for storing POST data 501 from CSV format data 303 generated by generation unit 206. Generation unit 206 sequentially reads hidden fields 402 from primary storage table 400 starting from the top , and writes string data 303 stored in each hidden field of primary storage table 400 into POST form 500 one by one to format POST data 501. Thereafter, upon receiving a transmission instruction from the user, generation unit 206 notifies processing unit 203 of the form. Upon receiving the notification, processing unit 203 includes POST data 501 stored in POST form 500 in an HTTP POST request and transmits the request to relay device 101.

続いて、図8を用いて実施の形態に係る中継装置101の機能構成について説明する。中継装置101は、記憶部801、処理部802、第1通信部803、および第2通信部804を備える。中継装置101は一種のコンピュータであり、当該各機能は、中継装置101が備えるCPU、RAM、ROM、補助記憶装置、通信モジュール(いずれも図示せず)などのハードウェア、およびROMに格納されたプログラムをCPUが読み出してこれらハードウェアと協調しつつ実行することにより実現される。 Next, the functional configuration of the relay device 101 according to the embodiment will be described using Figure 8. The relay device 101 includes a memory unit 801, a processing unit 802, a first communication unit 803, and a second communication unit 804. The relay device 101 is a type of computer, and each of the functions is realized by hardware such as a CPU, RAM, ROM, auxiliary storage device, and communication module (none of which are shown) included in the relay device 101, and by the CPU reading and executing programs stored in the ROM in cooperation with this hardware.

記憶部801は、クライアントデバイス103より受信したCSV形式のデータを記憶する。記憶部801は、SSDや、eMMC等の補助記憶装置により実現され、クライアントデバイス103より受信したPOST用データ501から抽出したCSV形式の文字列データをCSVファイルとして記憶する。また、クライアントデバイス103に表示させるための入力フォーム300の表示用データおよび固定値304も記憶する。 The storage unit 801 stores CSV-formatted data received from the client device 103. The storage unit 801 is realized by an auxiliary storage device such as an SSD or eMMC, and stores CSV-formatted character string data extracted from the POST data 501 received from the client device 103 as a CSV file. It also stores display data and fixed values 304 for the input form 300 to be displayed on the client device 103.

処理部802は、データの入出力を制御する。処理部802は、第1通信部803から通知されたHTTP POSTリクエストよりPOST用データ501を抽出し、当該抽出したPOST用データ501に含まれるCSV形式のファイルの記憶を記憶部801に指示する。また、処理部802は、クライアントデバイス103の要求に応じて入力フォーム300の表示用データを記憶部801より読み出して第1通信部803に通知し、クライアントデバイス103への当該表示用データの送信を指示する。さらに処理部802は、第2通信部から受け取った産業機械104の稼働データを、記憶部801に記憶したCSV形式のファイル(産業機械データ構成ファイル)に従って、クライアントデバイス103の要求に応じて提供する。 The processing unit 802 controls the input and output of data. The processing unit 802 extracts POST data 501 from the HTTP POST request notified by the first communication unit 803, and instructs the storage unit 801 to store a CSV file included in the extracted POST data 501. The processing unit 802 also reads display data for the input form 300 from the storage unit 801 in response to a request from the client device 103, notifies the first communication unit 803, and instructs the first communication unit 803 to transmit the display data to the client device 103. Furthermore, the processing unit 802 provides the operation data of the industrial machine 104 received from the second communication unit in accordance with the CSV file (industrial machine data configuration file) stored in the storage unit 801 in response to a request from the client device 103.

第1通信部803は、中継装置101とクライアントデバイス103との間においてデータの送受信を行う。第1通信部803はIEEE802.3規格やIEEE802.11ac等の通信規格に準拠する有線通信および無線通信モジュール(図示せず)等により実現され、例えば、TCP通信等に基づくデータの送受信を行う。第1通信部803はクライアントデバイス103よりPOST用データ501を含むHTTP POSTリクエストを受信(POST受信とも呼ぶ)すると、当該リクエストを処理部802に通知する。さらに第1通信部は、クライアントデバイス103からの入力フォーム取得リクエストに応じて入力フォーム300をクライアントデバイス103に送信する。また、第1通信部802は、HTTP POSTリクエストが受信された後は、産業機械104の稼働データをクライアントデバイスに提供するためにも用いられる。 The first communication unit 803 transmits and receives data between the relay device 101 and the client device 103. The first communication unit 803 is implemented by a wired communication and wireless communication module (not shown) that conforms to communication standards such as the IEEE 802.3 standard or IEEE 802.11ac, and transmits and receives data based on TCP communication, for example. When the first communication unit 803 receives an HTTP POST request including POST data 501 from the client device 103 (also referred to as POST reception), it notifies the processing unit 802 of the request. Furthermore, the first communication unit transmits an input form 300 to the client device 103 in response to an input form acquisition request from the client device 103. After receiving the HTTP POST request, the first communication unit 802 is also used to provide operation data of the industrial machine 104 to the client device.

第2通信部804は、産業機械104より送信される稼働情報のデータを受信する。第2通信部804は第1通信部とは異なるネットワークに対して稼働する。第2通信部804は例えばRS232C等のシリアル通信、IEEE802.3規格またはIEEE802.11ac規格等に準拠して産業機械104との通信経路を構成する。第2通信部804に受信された産業機械104の稼働データは処理部802に通知され、クライアントデバイス103により定義されたCSV形式のデータ構成(すなわち、産業機械のデータ構成)に基づいて取得されたデータを蓄積する。
[実施の形態に係るフローの説明]
The second communication unit 804 receives operation information data transmitted from the industrial machine 104. The second communication unit 804 operates on a network different from that of the first communication unit. The second communication unit 804 configures a communication path with the industrial machine 104 in accordance with, for example, serial communication such as RS232C, the IEEE802.3 standard, the IEEE802.11ac standard, or the like. The operation data of the industrial machine 104 received by the second communication unit 804 is notified to the processing unit 802, which stores the acquired data based on the CSV format data structure defined by the client device 103 (i.e., the data structure of the industrial machine).
[Explanation of flow according to the embodiment]

次に実施の形態に係るクライアントデバイス103が、ユーザが入力したフィールドデータをPOST用データ501の形態に整形して中継装置101に向けて送信する処理について、図6を用いて説明する。 Next, the process in which the client device 103 according to the embodiment formats field data entered by the user into POST data 501 and transmits it to the relay device 101 will be described with reference to Figure 6.

図6は、実施の形態のクライアントデバイス103がCSV形式のデータをHTTP POSTリクエストにより中継装置101に送信するまでの一連の処理の流れを示すフローチャートである。 Figure 6 is a flowchart showing the flow of a series of processes until the client device 103 in this embodiment sends CSV format data to the relay device 101 using an HTTP POST request.

ステップS601は、受付部205がユーザによりフィールドデータを入力するための入力フォーム300に係わる表示用データ(以後入力フォーム表示用データとも呼ぶ)を中継装置101より取得するための要求である、入力フォーム取得リクエストを中継装置101に向けて送信するステップである。 Step S601 is a step in which the reception unit 205 transmits an input form acquisition request to the relay device 101 , which is a request for acquiring display data (hereinafter also referred to as input form display data) related to the input form 300 for the user to input field data from the relay device 101.

ステップS602は、判定部202が入力フォーム表示用データを中継装置101より受信したか否かを判定するステップである。中継装置101より入力フォーム表示用データを受信した場合(ステップS602のYes)には、当該入力フォーム表示用データを表示装置に表示し、中継装置101より入力フォーム表示用データを受信しなかった場合には、ステップS602を繰り返し実行する(ステップS602のNo)。 Step S602 is a step in which the determination unit 202 determines whether input form display data has been received from the relay device 101. If input form display data has been received from the relay device 101 (Yes in step S602), the input form display data is displayed on the display device. If input form display data has not been received from the relay device 101, step S602 is repeatedly executed (No in step S602).

ステップS603は、ユーザが入力フォーム300上でフィールドデータを入力し、受付部205がこれを取得するステップである。 Step S603 is the step in which the user enters field data on the input form 300 and the reception unit 205 acquires it.

ステップS604は、判定部202が入力フォーム300の入力部301に入力されたデータが妥当か否かを判定するステップである。ここでの判定は、例えば入力された数値が予め定められた入力仕様の範囲内か否か、文字が規定に沿っているか否か、等により行う。入力されたデータが妥当ではない場合はステップS605を実行し、入力されたデータが妥当である場合はステップS606を実行する。 Step S604 is a step in which the determination unit 202 determines whether the data entered into the input unit 301 of the input form 300 is valid. The determination here is made, for example, based on whether the entered numerical values are within the range of predetermined input specifications, whether the characters comply with regulations, etc. If the entered data is invalid, step S605 is executed, and if the entered data is valid, step S606 is executed.

ステップS605は、処理部203がクライアントデバイス103の表示装置(図示しない)上にエラー内容を表示するステップである。具体的には、処理部203は本ステップによりユーザに入力部301に入力されたデータが妥当ではない旨を表示装置に表示する。このように、処理部203が表示するエラー内容は、例えば「範囲外の数値が入力されています。」、「規定外の文字が入力内容に含まれています。」等のメッセージ文字列をダイアログボックス等のUI(User Interface)によりクライアントデバイス103の表示装置に表示させることでエラーが発生した旨をユーザに示す。ユーザはこのエラー表示を見てステップS603に戻りフィールドデータを再入力する。 Step S605 is a step in which the processing unit 203 displays the error content on the display device (not shown) of the client device 103. Specifically, in this step, the processing unit 203 displays on the display device to inform the user that the data entered into the input unit 301 is invalid. In this way, the error content displayed by the processing unit 203 is, for example, a message string such as "A numeric value outside the range has been entered" or "The input contains an illegal character" displayed on the display device of the client device 103 via a UI (User Interface) such as a dialog box, thereby informing the user that an error has occurred. The user sees this error display and returns to step S603 to re-enter the field data.

ステップS606は、生成部206が入力部301に入力されたデータを取得するステップである。生成部206は入力部301に入力されたデータを入力部301a~301fの順に取得する。 Step S606 is a step in which the generation unit 206 acquires the data input to the input unit 301. The generation unit 206 acquires the data input to the input unit 301 in the order of input units 301a to 301f.

ステップS607は、生成部206がCSV形式の文字列データ303を生成するステップである。生成部206は、前ステップS606で取得した入力部301a~301fのデータの順序に従ってフィールドデータ302a~302fとしてカンマで区切りながら格納することで文字列データ303を生成する。 Step S607 is a step in which the generation unit 206 generates character string data 303 in CSV format. The generation unit 206 generates the character string data 303 by storing the data in the input units 301a to 301f acquired in the previous step S606 as field data 302a to 302f, separated by commas, in the order they were received.

ステップS608は、処理部203が文字列データ303を一次保持テーブル400の最下行に追加するステップである。 Step S608 is a step in which the processing unit 203 adds the string data 303 to the bottom row of the primary retention table 400.

ステップS609は、判定部202がユーザよりCSV形式のデータを中継装置101に送信する指示が行われたか否かを判定するステップである。送信する指示が行われなかった場合は、次のCSV行に対応するフィールドデータの入力処理のためにステップS603に戻り、送信する指示が行われた場合はステップS610を実行する。なお、ステップS610の前に、ユーザは、図4に示した一次保持テーブル400の表示画面を通して、適宜、行の削除、複製または編集を行うことができる。 Step S609 is a step in which the determination unit 202 determines whether or not the user has issued an instruction to send CSV-formatted data to the relay device 101. If no instruction to send has been issued, the process returns to step S603 to input field data corresponding to the next CSV row; if an instruction to send has been issued, step S610 is executed. Note that before step S610, the user can delete, duplicate, or edit rows as appropriate via the display screen of the primary retention table 400 shown in Figure 4.

ステップS610は、処理部203が一次保持テーブル400のデータをPOST用フォーム500に順次整形することで、POST用データ501を生成するステップである。 Step S610 is a step in which the processing unit 203 sequentially formats the data in the primary retention table 400 into a POST form 500, thereby generating POST data 501.

ステップS611は、処理部203が中継装置101に向けてHTTP POSTリクエストにPOST用フォーム500格納されたPOST用データ501を含めて実行するステップである。当ステップの実行によりクライアントデバイス103は中継装置101に向けてPOST用データ501を含むHTTP POSTリクエストを送信する。 Step S611 is a step in which the processing unit 203 includes the POST data 501 stored in the POST form 500 in an HTTP POST request sent to the relay device 101. By executing this step, the client device 103 sends an HTTP POST request including the POST data 501 to the relay device 101.

次に実施の形態に係る中継装置101が、クライアントデバイス103の求めに応じて入力フォームを送信して後、クライアントデバイス103よりCSV形式のPOST用データ501を受信して保存するまでの一連の処理について図7を使用して説明する。 Next, using Figure 7, we will explain the series of processes that the relay device 101 according to the embodiment performs, from sending an input form in response to a request from the client device 103 to receiving and saving POST data 501 in CSV format from the client device 103.

ステップS701は、第1通信部803がクライアントデバイス103から入力フォーム300を取得するために、入力フォーム取得リクエストを受信したか否かを判定するステップである。第1通信部803が入力フォーム取得リクエストを受信した場合はステップS702に進み(ステップS701のYes)、入力フォーム取得リクエストが受信されなかった場合は、フローを終了する(ステップS701のNo)。 Step S701 is a step in which the first communication unit 803 determines whether or not an input form acquisition request has been received in order to acquire the input form 300 from the client device 103. If the first communication unit 803 has received an input form acquisition request, the process proceeds to step S702 (Yes in step S701); if an input form acquisition request has not been received, the flow ends (No in step S701).

ステップS702は、中継装置101がクライアントデバイス103に向けて入力フォーム300の表示に係わる表示用データを送信するステップである。 Step S702 is a step in which the relay device 101 transmits display data related to the display of the input form 300 to the client device 103.

ステップS703は、中継装置101がクライアントデバイス103よりPOST用データ501を受信したかどうかを判定するステップである。具体的には、中継装置101の通信部はクライアントデバイス103が送信したHTTP POSTリクエストを含むフレームを第1通信部803が受信を待ち受けている。通信部803がHTTP POSTリクエストを受信した場合は当該受信したHTTP POSTリクエストを処理部802に通知し(ステップS703のYes)、HTTP POSTリクエストが受信されなかった場合は再びS703を実行する(ステップS703のNo)。 Step S703 is a step in which the relay device 101 determines whether it has received POST data 501 from the client device 103. Specifically, the communication unit of the relay device 101 has the first communication unit 803 waiting to receive a frame including an HTTP POST request sent by the client device 103. If the communication unit 803 receives an HTTP POST request, it notifies the processing unit 802 of the received HTTP POST request (Yes in step S703). If an HTTP POST request is not received, it executes step S703 again (No in step S703).

ステップS704は処理部802が、通信部803が通知したHTTP POSTリクエストからPOST用データ501を抽出するステップである。処理部802は、クライアントデバイス103から受信したHTTP POSTリクエストよりPOST用データ501を抽出すると当該POST用データ501を記憶部801に通知する。 Step S704 is a step in which the processing unit 802 extracts POST data 501 from the HTTP POST request notified by the communication unit 803. When the processing unit 802 extracts POST data 501 from the HTTP POST request received from the client device 103, it notifies the storage unit 801 of the POST data 501.

ステップS705は記憶部801がPOST用データを記憶するステップである。記憶部801は処理部802からPOST用データ501の通知を受けたことにより、当該データをCSVファイルとして記憶する。その後、中継装置101は、産業機械104の稼働データを取得すると、CSVファイルを使用して、クライアントデバイス103のユーザにその稼働データを閲覧可能とする。 Step S705 is a step in which the memory unit 801 stores the POST data. Upon receiving notification of the POST data 501 from the processing unit 802, the memory unit 801 stores the data as a CSV file. After that, when the relay device 101 acquires the operation data of the industrial machine 104, it uses the CSV file to make the operation data available to the user of the client device 103.

[シーケンス図の説明]
続いて実施の形態に係る中継装置およびクライアントデバイス間におけるデータのやり取りの一連の流れを、図9を用いて説明する。
[Explanation of sequence diagram]
Next, a series of data exchange flows between the relay device and the client device according to the embodiment will be described with reference to FIG.

先ず、クライアントデバイス103は、入力フォーム取得リクエストを中継装置101に向けて送信する(ステップS900)。その後中継装置101は入力フォーム取得リクエストを受信する。
次に、中継装置101は入力フォーム取得リクエストを受信すると入力フォーム300に係る表示用データをクライアントデバイス103に向けて送信する(ステップS901)。
First, the client device 103 transmits an input form acquisition request to the relay device 101 (step S900), and then the relay device 101 receives the input form acquisition request.
Next, upon receiving the input form acquisition request, the relay device 101 transmits display data related to the input form 300 to the client device 103 (step S901).

次に、クライアントデバイス103は表示用データを受信し、自機の表示部に当該表示用データに基づいて入力フォーム300を表示する(ステップS902)。 Next, the client device 103 receives the display data and displays the input form 300 based on the display data on its own display unit (step S902).

続いてユーザは入力フォーム300を用いてクライアントデバイス103上でフィールドデータの入力を行い、その入力内容を文字列データ303として一次保持テーブルに記憶させる(ステップS903)。 Next, the user uses the input form 300 to enter field data on the client device 103, and the entered content is stored in the primary storage table as string data 303 (step S903).

次にクライアントデバイス103はPOST用フォーム500にステップS903にて一次保持テーブルに記憶させた文字列データ303を逐次POST用フォーム500に格納し、POST用データ501とする(ステップS904)。 Next, the client device 103 sequentially stores the character string data 303 stored in the primary storage table in step S903 in the POST form 500, creating POST data 501 (step S904).

次にクライアントデバイス103はステップS904にて生成したPOST用データ501を含むHTTP POSTリクエストを中継装置101に向けて送信する。 Next, the client device 103 sends an HTTP POST request including the POST data 501 generated in step S904 to the relay device 101.

続いて、中継装置101はクライアントデバイス103が送信したPOST用データ501を含むHTTP POSTリクエストを受信すると、当該リクエストのフレームよりPOST用データ501を抽出する(ステップS906)。 Next, when the relay device 101 receives the HTTP POST request including the POST data 501 sent by the client device 103, it extracts the POST data 501 from the request frame (step S906).

最後に、中継装置101はステップS906にて抽出したPOST用データ501をCSV形式のファイルで自機に記憶する(ステップS907)。 Finally, the relay device 101 stores the POST data 501 extracted in step S906 in a CSV file on its own device (step S907).

なお、本発明は、装置として実現できるだけでなく、その装置を構成する処理手段をステップとする方法として実現したり、それらステップをコンピュータに実行させるプログラムとして実現したり、そのプログラムを記録したコンピュータ読み取り可能なCD-ROMなどの記憶媒体として実現したり、そのプログラムを示す情報、データ又は信号として実現したりすることもできる。そして、それらプログラム、情報、データおよび信号は、インターネット等の通信ネットワークを介して配信してもよい。 The present invention can be realized not only as an apparatus, but also as a method in which the processing means constituting the apparatus are steps, as a program that causes a computer to execute those steps, as a computer-readable storage medium such as a CD-ROM on which the program is recorded, or as information, data, or signals that represent the program. These programs, information, data, and signals may also be distributed via a communications network such as the Internet.

本発明は、産業機械等に接続されCSV形式のデータにより取得対象のデータを定義する中継装置等に適用され得る。 The present invention can be applied to relay devices connected to industrial machinery, etc., that define the data to be acquired using CSV format data.

100 産業機械情報収集システム
101 中継装置
102 通信リンク
103 クライアントデバイス
104 産業機械
201 記憶部
202 判定部
203 処理部
204 通信部
205 受付部
206 生成部
300 入力フォーム
301 入力部
302 フィールドデータ
303 文字列データ
304 固定値
400 一次保持テーブル
401 行名
402 隠しフィールド
403 操作部
500 POST用フォーム
501 POST用データ
801 記憶部
802 処理部
803 第1通信部
804 第2通信部
REFERENCE SIGNS LIST 100 Industrial machinery information collection system 101 Relay device 102 Communication link 103 Client device 104 Industrial machinery 201 Memory unit 202 Determination unit 203 Processing unit 204 Communication unit 205 Reception unit 206 Generation unit 300 Input form 301 Input unit 302 Field data 303 Character string data 304 Fixed value 400 Primary retention table 401 Row name 402 Hidden field 403 Operation unit 500 POST form 501 POST data 801 Memory unit 802 Processing unit 803 First communication unit 804 Second communication unit

Claims (4)

産業機械と、前記産業機械の稼働情報を前記産業機械から取得する中継装置と、クライアントデバイスとを備える産業機械情報収集システムであって、
前記中継装置は、
前記クライアントデバイスから前記産業機械の稼働情報を収集するために予め定義される設定情報データを受信するとともに、前記設定情報データをユーザに入力させる入力フォームの表示用データを前記クライアントデバイスに送信する第一通信部と、
前記産業機械から稼働情報を取得する第二通信部と、
前記産業機械の前記設定情報データを記憶する記憶部と
を備え、
前記クライアントデバイスは、
前記中継装置との間でデータの送受信を行う通信部と、
前記中継装置から前記通信部を介して前記入力フォームの表示用データを受信し、前記ユーザから前記産業機械の前記設定情報データをフィールドデータとして受け付ける受付部と、
前記フィールドデータの妥当性を判定する判定部と、
前記判定部から前記フィールドデータが妥当である旨の通知を受けた場合に前記フィールドデータをCSV形式の文字列データとして生成する生成部と、
前記CSV形式の文字列データを一時的に保持する一次保持テーブルとして1行または複数行を記憶する記憶部と、
前記一次保持テーブルのデータをPOST用フォームに整形しPOST用データを作成する処理部と、
を備え、
前記判定部は、さらに前記ユーザより前記CSV形式の文字列データを前記中継装置に送信する指示が行われたと判定すると、前記処理部は前記POST用データを前記中継装置に向けて送信することを特徴とする、
産業機械情報収集システム。
An industrial machinery information collection system including an industrial machine, a relay device that acquires operation information of the industrial machine from the industrial machine, and a client device,
The relay device
a first communication unit that receives, from the client device, setting information data that is predefined for collecting operation information of the industrial machine, and transmits, to the client device, display data for an input form that prompts a user to input the setting information data;
a second communication unit that acquires operation information from the industrial machine;
a storage unit that stores the setting information data of the industrial machine,
The client device
a communication unit for transmitting and receiving data to and from the relay device;
a reception unit that receives display data of the input form from the relay device via the communication unit and receives the setting information data of the industrial machine from the user as field data;
a determination unit that determines the validity of the field data;
a generating unit that generates the field data as character string data in CSV format when the determining unit notifies the user that the field data is valid ;
a storage unit that stores one or more rows as a primary storage table that temporarily stores the character string data in CSV format;
a processing unit that formats the data in the primary storage table into a POST form to create POST data;
Equipped with
When the determination unit determines that the user has issued an instruction to transmit the CSV format character string data to the relay device, the processing unit transmits the POST data to the relay device.
Industrial machinery information collection system.
前記処理部は、さらに前記一次保テーブルにおいて、前記ユーザによる前記CSV形式の文字列データの削除、複製、および編集を可能とする
請求項1記載の産業機械情報収集システム。
The industrial machinery information collection system according to claim 1 , wherein the processing unit further enables the user to delete, copy, and edit the character string data in CSV format in the primary storage table.
産業機械と、前記産業機械の稼働情報を前記産業機械から取得する中継装置と、クライアントデバイスとを備える産業機械情報収集システムにおける設定情報データを入力する方法であって、
クライアントデバイスが前記中継装置に入力フォーム表示用データを要求するステップと、
入力フォームによりフィールドデータの入力を受け付けるステップと、
前記フィールドデータを前記入力フォームの順に取得し、前記フィールドデータを含む文字列データをCSV形式の文字列データとして生成するステップと、
前記CSV形式の文字列データを一時的に保持する一次保持テーブルに追加するステップと、
前記一次保持テーブルにおいて、ユーザが前記CSV形式の文字列データの削除、複製、編集を行うステップと、
前記ユーザの指示に基づいて、
前記一次保持テーブルに記憶した前記CSV形式の文字列データをPOST用フォームにPOST用データとして整形するステップと、
前記POST用データを前記中継装置に送信するステップと、
を含む、
方法。
A method for inputting setting information data in an industrial machinery information collection system including an industrial machine, a relay device that acquires operation information of the industrial machine from the industrial machine, and a client device,
a step in which a client device requests data for displaying an input form from the relay device;
accepting input of field data through an input form;
acquiring the field data in the order of the input form, and generating character string data including the field data as character string data in CSV format;
adding the character string data in CSV format to a temporary storage table that temporarily stores the character string data;
a step in which a user deletes, copies, or edits the character string data in CSV format in the primary storage table;
Based on the user's instruction,
a step of formatting the CSV format character string data stored in the primary storage table into a POST form as POST data;
transmitting the POST data to the relay device;
Including,
method.
請求項3に記載の中継装置に設定情報データを入力する方法をコンピュータに実行させるプログラム。
A program that causes a computer to execute the method for inputting setting information data to a relay device according to claim 3.
JP2022098814A 2022-06-20 2022-06-20 Industrial machinery information collection system, setting information data input method, and program Active JP7773205B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022098814A JP7773205B2 (en) 2022-06-20 2022-06-20 Industrial machinery information collection system, setting information data input method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022098814A JP7773205B2 (en) 2022-06-20 2022-06-20 Industrial machinery information collection system, setting information data input method, and program

Publications (3)

Publication Number Publication Date
JP2024000186A JP2024000186A (en) 2024-01-05
JP2024000186A5 JP2024000186A5 (en) 2025-06-05
JP7773205B2 true JP7773205B2 (en) 2025-11-19

Family

ID=89384550

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022098814A Active JP7773205B2 (en) 2022-06-20 2022-06-20 Industrial machinery information collection system, setting information data input method, and program

Country Status (1)

Country Link
JP (1) JP7773205B2 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001313659A (en) 2000-04-28 2001-11-09 Yokogawa Electric Corp Field device communication device in distributed control system
JP2002055713A (en) 2000-08-08 2002-02-20 Mitsubishi Electric Corp Plant control system
JP2007193544A (en) 2006-01-19 2007-08-02 Yokogawa Electric Corp Data linkage system
JP2012184864A (en) 2011-03-03 2012-09-27 Fuji Electric Co Ltd Air conditioning system, control device of the same, and program
JP2014102816A (en) 2012-10-26 2014-06-05 Ricoh Co Ltd Setting support apparatus, setting support system, and setting support method
WO2019124275A1 (en) 2017-12-21 2019-06-27 村田機械株式会社 Method for controlling communication system, communication system, and relay device
JP2021012550A (en) 2019-07-08 2021-02-04 株式会社コンテック Image creation program
JP2021087191A (en) 2019-11-29 2021-06-03 株式会社リコー Communication management system, information processing system, and communication method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001313659A (en) 2000-04-28 2001-11-09 Yokogawa Electric Corp Field device communication device in distributed control system
JP2002055713A (en) 2000-08-08 2002-02-20 Mitsubishi Electric Corp Plant control system
JP2007193544A (en) 2006-01-19 2007-08-02 Yokogawa Electric Corp Data linkage system
JP2012184864A (en) 2011-03-03 2012-09-27 Fuji Electric Co Ltd Air conditioning system, control device of the same, and program
JP2014102816A (en) 2012-10-26 2014-06-05 Ricoh Co Ltd Setting support apparatus, setting support system, and setting support method
WO2019124275A1 (en) 2017-12-21 2019-06-27 村田機械株式会社 Method for controlling communication system, communication system, and relay device
JP2021012550A (en) 2019-07-08 2021-02-04 株式会社コンテック Image creation program
JP2021087191A (en) 2019-11-29 2021-06-03 株式会社リコー Communication management system, information processing system, and communication method

Also Published As

Publication number Publication date
JP2024000186A (en) 2024-01-05

Similar Documents

Publication Publication Date Title
CN101583938A (en) Systems and methods of transforming data for web communities and web applications
JP4881993B2 (en) Electronic signage system and image display control method
US20120324127A1 (en) System and method for automatic generation of service-specific data conversion templates
US20160162764A1 (en) Print control system and print control method
CN117130318B (en) Industrial data collection methods, devices, systems and readable storage media
CN102271202A (en) Information processing system, information processing apparatus and control method thereof
JP7773205B2 (en) Industrial machinery information collection system, setting information data input method, and program
EP2557505A1 (en) Web display program conversion system, web display program conversion method, and program for web display program conversion
JP2011076217A (en) Information processing apparatus, display method of file, information processing system, and program
CN117407618A (en) Document processing methods, devices and computer equipment, storage media, program products
US7120663B2 (en) Method and apparatus for updating XML data
EP1435570A2 (en) Method for operation mode notification.
JP2007114888A (en) Remote operation terminal device
EP1720323A2 (en) Wireless LAN device storing and forwarding Internet data to a mobile terminal
JP2012208624A (en) Print system
JPH10289206A (en) Homepage communication system
JP2004234380A (en) Table display switching method, text data conversion program and tag program
US7269791B2 (en) Recording medium storing document constructing program
JP7215736B2 (en) Collection device, management device, communication device, and control method
JP3225742U (en) Web page distribution processing system and server
JP2001242977A (en) Screen switching method, apparatus and system
JP2907174B2 (en) User interface system for supervisory control system
JP2011198216A (en) Apparatus, method and program for processing information
EP3296894B1 (en) Update managing device
JP2023117927A (en) Server device, communication device, control methods therefor, and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20250528

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20250528

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20250528

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20250725

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20250903

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20251030

R150 Certificate of patent or registration of utility model

Ref document number: 7773205

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150