JP2017211747A - Remote writing system and program file update method thereof - Google Patents

Remote writing system and program file update method thereof Download PDF

Info

Publication number
JP2017211747A
JP2017211747A JP2016103262A JP2016103262A JP2017211747A JP 2017211747 A JP2017211747 A JP 2017211747A JP 2016103262 A JP2016103262 A JP 2016103262A JP 2016103262 A JP2016103262 A JP 2016103262A JP 2017211747 A JP2017211747 A JP 2017211747A
Authority
JP
Japan
Prior art keywords
program file
controller
management flag
storage unit
side management
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
JP2016103262A
Other languages
Japanese (ja)
Other versions
JP6518211B2 (en
Inventor
敬幸 小林
Atsuyuki Kobayashi
敬幸 小林
安司 高野
Yasushi Takano
安司 高野
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.)
Hitachi Building Systems Co Ltd
Original Assignee
Hitachi Building Systems Co 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 Hitachi Building Systems Co Ltd filed Critical Hitachi Building Systems Co Ltd
Priority to JP2016103262A priority Critical patent/JP6518211B2/en
Publication of JP2017211747A publication Critical patent/JP2017211747A/en
Application granted granted Critical
Publication of JP6518211B2 publication Critical patent/JP6518211B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a remote writing system having a response method in the case where the same reference information exists and new setting information cannot be identified, or in the case where an error occurs at a time of data transmission via a network.SOLUTION: A server includes: a program file storage unit for storing a plurality of program files corresponding to a plurality of control objects; a program file editing unit for editing the program files stored in the program file storage unit; a program file list storage unit for storing a center side management flag generated from the program files and a controller side management flag received from a controller; and a difference extraction unit for comparing the center side management flag with the controller side management flag. If the server extracts program files that are for the same control object, have different file sizes but the same edited date, the server notifies a manager of them.SELECTED DRAWING: Figure 1A

Description

本発明は、設備監視や入退管理システムの遠隔書込みシステムに関し、特に、現地のコントローラ側で編集したプログラムファイルと、センタ側のサーバーで編集したプログラムファイルとのバージョンの整合性を保つ遠隔書込みシステムに関するものである。   The present invention relates to a remote writing system for facility monitoring and entry / exit management systems, and in particular, a remote writing system that maintains version consistency between a program file edited on the local controller side and a program file edited on a server on the center side. It is about.

多拠点の設備であっても、出入管理用設定情報の設定作業を矛盾なく行う入退管理システムが特許文献1に記載されている。   Patent Document 1 describes an entrance / exit management system that performs setting work for setting information for access control even in a multi-site facility.

例えば、同文献の段落0030には、「制御手段2は、第一の情報管理装置(認証拠点センタ装置)D1の全体を管理する主制御手段であり、更新情報選択手段3を具備する。更新情報選択手段3は、第一の設定入力装置E1で更新されようとする出入管理用設定情報と、第二の設定入力装置E2で編集されて第二の情報管理装置(エンジニアリングセンタ装置)D2経由で送り込まれてくる出入管理用設定情報(差分情報と編集前転送時刻情報とに相当)とについて、選択基準情報を参照して、選択基準情報を満たすほうの出入管理用設定情報を新たな出入管理用設定情報として選択する。また、選択基準情報は、第一の設定入力装置E1、第二の設定入力装置E2によって、編集および更新が可能であり、統合管理サーバSから広域イントラネットN経由でダウンロードされてもよい。」との記載があり、段落0043には、「ここで、更新情報選択手段3は、第二の情報管理装置(エンジニアリングセンタ装置)D2から送り込まれてきた出入管理用設定情報と、第一の設定入力装置E1から入力される出入管理用設定情報との、両方ともが、現在の選択基準情報を満足していれば、最新時刻に発生したほうの出入管理用設定情報を採用する。・・・」との記載がある。   For example, in paragraph 0030 of the document, “the control unit 2 is a main control unit that manages the entire first information management apparatus (authentication base center apparatus) D1 and includes an update information selection unit 3. The information selection means 3 includes the setting information for entry / exit management to be updated by the first setting input device E1, and the second information input device (engineering center device) D2 edited by the second setting input device E2. With regard to the setting information for entry / exit management (corresponding to the difference information and the transfer time information before editing) sent in, the new entry / exit setting information that satisfies the selection criteria information is referred to the selection criteria information. The selection setting information can be edited and updated by the first setting input device E1 and the second setting input device E2, and is selected from the integrated management server S. In the paragraph 0043, “the update information selection unit 3 has been sent from the second information management device (engineering center device) D2”. If both the entry / exit management setting information and the entry / exit management setting information input from the first setting input device E1 satisfy the current selection criteria information, the entry / exit that occurred at the latest time The management setting information is adopted.

すなわち、第一の設定入力装置E1(拠点側装置)で更新された出入管理用設定情報と、第二の設定入力装置E2(エンジニアリングセンタ側装置)で編集された出入管理用設定情報があるときに、選択基準情報を参照して選択した一方を新たな出入管理用設定情報とし、また、最新時刻に発生した出入管理用設定情報を採用する例が開示されている。   That is, when there is setting information for entry / exit management updated by the first setting input device E1 (base-side device) and setting information for entry / exit management edited by the second setting input device E2 (engineering-side device). An example is disclosed in which one selected with reference to the selection criterion information is set as new entry / exit management setting information, and the entry / exit management setting information generated at the latest time is adopted.

特開2009−245355号公報JP 2009-245355 A

プログラムファイルの編集には、センタ側でサーバーのプログラムファイルを編集する場合と、現地側でコントローラのプログラムファイルを編集する場合の二通りがある。例えば、センタ側のサーバーでプログラムファイルを編集する場合は、新しいカードリーダの型式追加などによる、プログラムファイルのフォーマット拡張が発生する。一方、現地側でコントローラのプログラムファイルを編集する場合は、扉の電気錠の追加などによる、プログラムファイル数の増加が発生する。   There are two ways to edit the program file: editing the server program file on the center side and editing the controller program file on the site side. For example, when a program file is edited by a server on the center side, the format of the program file is expanded by adding a new card reader type. On the other hand, when editing the controller program file on the local side, the number of program files increases due to the addition of an electric lock on the door.

上述の通り、特許文献1では、選択基準情報を参照して新たな出入管理用設定情報を選択することが開示されているが、同一の選択基準情報が存在するため新たな出入管理用設定情報を選択することができないときや、ネットワークを介したデータ送信時にエラーが発生した場合の対処方法は明らかにされていない。   As described above, Patent Document 1 discloses that new entry / exit management setting information is selected with reference to selection criterion information. However, since the same selection criterion information exists, new entry / exit management setting information is disclosed. No action has been clarified when it is not possible to select or when an error occurs during data transmission over the network.

本発明は、上述した特許文献1の問題を改善するものであり、同一の基準情報が存在し新たな設定情報を特定できない場合や、ネットワークを介したデータ送信時にエラーが発生した場合の対処方法を備えた遠隔書込みシステムを提供することを目的とする。   The present invention improves the above-described problem of Patent Document 1, and a method for coping with a case where the same reference information exists and new setting information cannot be specified, or when an error occurs during data transmission via a network It is an object of the present invention to provide a remote writing system including:

上記課題を解決するために、本発明の遠隔書込みシステムでは、サーバーとコントローラとそれらを接続するネットワークからなる遠隔書込みシステムであって、前記サーバーは、複数の制御対象に対応する複数のプログラムファイルを記憶しておくプログラムファイル記憶部と、該プログラムファイル記憶部に記憶されたプログラムファイルを編集するプログラムファイル編集部と、前記複数のプログラムファイルから生成したセンタ側管理フラグと、前記ネットワークを介して前記コントローラから受信したコントローラ側管理フラグを記憶しておくプログラムファイルリスト記憶部と、該プログラムファイルリスト記憶部から読み出した前記センタ側管理フラグと前記コントローラ側管理フラグを比較する差分抽出部と、を具備しており、前記サーバーは、同一の制御対象に関するプログラムファイルであって、ファイルサイズが異なり編集日が一致するものが前記差分抽出部によって抽出された場合には、管理者にその旨を報知する。   In order to solve the above-mentioned problems, the remote writing system of the present invention is a remote writing system comprising a server, a controller, and a network connecting them, and the server stores a plurality of program files corresponding to a plurality of control objects. A program file storage unit for storing, a program file editing unit for editing the program file stored in the program file storage unit, a center-side management flag generated from the plurality of program files, and the network via the network A program file list storage unit that stores the controller-side management flag received from the controller; and a difference extraction unit that compares the center-side management flag read from the program file list storage unit with the controller-side management flag. Please The server is a program file for the same control object, if the editing date different file size that matches extracted by the difference extraction unit informs the fact to the administrator.

また、本発明のプログラムファイル更新方法では、サーバーとコントローラとそれらを接続するネットワークからなる遠隔書込みシステムのプログラムファイル更新方法であって、前記サーバーは、複数の制御対象に対応する複数のプログラムファイルを記憶しておく第一のプログラムファイル記憶部と、該プログラムファイル記憶部に記憶されたプログラムファイルを編集する第一のプログラムファイル編集部と、前記複数のプログラムファイルから生成したセンタ側管理フラグと、前記ネットワークを介して前記コントローラから受信したコントローラ側管理フラグを記憶しておく第一のプログラムファイルリスト記憶部と、該第一のプログラムファイルリスト記憶部から読み出した前記センタ側管理フラグと前記コントローラ側管理フラグを比較する第一の差分抽出部と、を具備しており、前記コントローラは、複数の制御対象に対応する複数のプログラムファイルを記憶しておく第二のプログラムファイル記憶部と、前記ネットワークを介して前記サーバーから受信したセンタ側管理フラグと前記複数のプログラムファイルから生成したコントローラ側管理フラグを記憶しておく第二のプログラムファイルリスト記憶部と、を具備しており、前記サーバーは、前記第一のプログラムファイル編集部を用いて編集したプログラムファイルと、前記第一のプログラムファイルリスト記憶部に記憶されたセンタ側管理フラグとを前記ネットワークを介して前記コントローラに送信し、前記コントローラは、前記サーバーから受信した前記プログラムファイルで前記第二のプログラムファイル記憶部内の対応するプログラムファイルを更新し、前記サーバーから受信したセンタ側管理フラグで前記第二のプログラムファイルリスト記憶部内の前記コントローラ側管理フラグを更新するとともに、該コントローラ側管理フラグを前記ネットワークを介して前記サーバーに送信し、前記サーバーは、前記第一のプログラムファイルリスト記憶部に記憶されたセンタ側管理フラグと前記コントローラから受信したコントローラ側管理フラグが相違する場合に、前記第一のプログラムファイル編集部を用いて編集したプログラムファイルと、前記第一のプログラムファイルリスト記憶部に記憶されたセンタ側管理フラグとを前記ネットワークを介して前記コントローラに再度送信する。   The program file update method of the present invention is a program file update method for a remote writing system comprising a server, a controller, and a network connecting them, wherein the server stores a plurality of program files corresponding to a plurality of control objects. A first program file storage unit for storing; a first program file editing unit for editing a program file stored in the program file storage unit; a center-side management flag generated from the plurality of program files; A first program file list storage unit for storing a controller-side management flag received from the controller via the network; and the center-side management flag read from the first program file list storage unit and the controller side Management A first difference extraction unit that compares the files, and the controller includes a second program file storage unit that stores a plurality of program files corresponding to a plurality of control objects, and the network. A second program file list storage unit for storing a center side management flag received from the server via the controller side and a controller side management flag generated from the plurality of program files. The program file edited using the first program file editing unit and the center-side management flag stored in the first program file list storage unit are transmitted to the controller via the network, The second program is received from the program file received from the server. Update the corresponding program file in the file storage unit, update the controller side management flag in the second program file list storage unit with the center side management flag received from the server, and set the controller side management flag in the network To the server, and when the center side management flag stored in the first program file list storage unit is different from the controller side management flag received from the controller, the server The program file edited using the program file editing unit and the center management flag stored in the first program file list storage unit are transmitted again to the controller via the network.

本発明によれば、サーバーとコントローラの夫々に、同一の制御対象に関するプログラムファイルであって、ファイルサイズが異なり編集日が一致するものが記憶されている場合には、管理者にその旨を報知することで、プログラムファイルの上書きによる、編集内容の消失を避けることができる。   According to the present invention, when the server and the controller each store a program file related to the same control target and having a different file size and the same editing date, the fact is notified to the administrator. By doing so, it is possible to avoid the loss of edited contents due to overwriting of the program file.

また、本発明によれば、サーバー、コントローラ間で発生したプログラムファイルの送信の失敗を検出することで、相手方のプログラムファイルが更新されるまで、プログラムファイルおよび管理フラグの送信を繰り返し、確実にプログラムファイルを更新することができる。   In addition, according to the present invention, by detecting a failure in transmitting the program file between the server and the controller, the program file and the management flag are repeatedly transmitted until the partner program file is updated, and the program is surely programmed. You can update the file.

一実施例の遠隔書込みシステムの構成を示す図である。It is a figure which shows the structure of the remote writing system of one Example. センタ側プログラムファイルリスト4の内容を示す図である。It is a figure which shows the content of the center side program file list. コントローラ側プログラムファイルリスト5の内容を示す図である。It is a figure which shows the content of the controller side program file list. 一実施例の遠隔書込みシステムにおける、サーバーからコントローラへ更新を行うときの処理を示す図である。It is a figure which shows a process when updating from a server to a controller in the remote writing system of one Example. 一実施例の遠隔書込みシステムにおける、コントローラからサーバーへ更新を行うときの処理を示す図である。It is a figure which shows a process when updating from a controller to a server in the remote writing system of one Example.

以下、本発明の一実施例の遠隔書込みシステムの構成を図1に基づき説明する。   The configuration of a remote writing system according to an embodiment of the present invention will be described below with reference to FIG.

図1Aに示すように、本実施例の遠隔書込みシステムは、センタに設置されたサーバー1と現地に設置されたコントローラ2から構成されており、両者は、インターネットなどのネットワーク3を介して接続されている。なお、図1Aでは、サーバー1に一つのコントローラ2を接続した例を示しているが、複数のコントローラ2を接続する構成としても良く、その場合は、各々のコントローラ2に対応して、後述するプログラムファイル記憶部6a、プログラムファイルリスト記憶部7を設ければ良い。   As shown in FIG. 1A, the remote writing system of the present embodiment is composed of a server 1 installed in the center and a controller 2 installed in the field, both of which are connected via a network 3 such as the Internet. ing. Although FIG. 1A shows an example in which one controller 2 is connected to the server 1, a configuration in which a plurality of controllers 2 are connected may be used. In this case, a description will be given later for each controller 2. A program file storage unit 6a and a program file list storage unit 7 may be provided.

サーバー1は設備監視システムや入退管理システム全体を統括するセキュリティ管理主体であり、図1Aに示すように、ネットワーク3とのインターフェースとなる入出力部101、後述するプログラムファイルをセンタ管理者が編集するときに用いるキーボードやマウスなどのプログラムファイル編集部6b、CPU103、メインメモリ104、記憶媒体106、および、それらを接続するバス102などから構成されている。CPU103は差分抽出部8を有しており、また、メインメモリ104はサーバー1を制御する制御プログラム105を記憶しており、CPU103はこれに従いサーバー1の各ハードウェア資源を制御している。なお、CPU103による各ハードウェア資源制御には周知のものを利用できるので、以下では、制御主体がCPU103であるときは、その旨を省略して説明する。   The server 1 is a security management entity that supervises the entire facility monitoring system and entrance / exit management system. As shown in FIG. 1A, the center administrator edits the input / output unit 101 serving as an interface with the network 3 and a program file to be described later. The program file editing unit 6b, such as a keyboard and a mouse, used in the process, a CPU 103, a main memory 104, a storage medium 106, and a bus 102 for connecting them. The CPU 103 has a difference extraction unit 8, and the main memory 104 stores a control program 105 for controlling the server 1, and the CPU 103 controls each hardware resource of the server 1 according to this. In addition, since a well-known thing can be utilized for each hardware resource control by CPU103, when the control main body is CPU103, that is abbreviate | omitted and demonstrated.

コントローラ2は設備監視システムや入退管理システムの管理対象となるカードリーダや扉が設置されたビルの管理人室など現地に設置され実際のセキュリティ動作を行うものであり、図1Aに示すように、ネットワーク3とのインターフェースとなる入出力部201、後述するプログラムファイルを現地管理者がキーボードやマウスなどのプログラムファイル編集部9b、CPU203、メインメモリ204、記憶媒体206、および、それらを接続するバス202などから構成されている。CPU203は差分抽出部11を有しており、また、メインメモリ204はコントローラ2を制御する制御プログラム205を記憶しており、CPU203はこれに従いコントローラ2の各ハードウェア資源を制御している。なお、CPU203による各ハードウェア資源制御には周知のものを利用できるので、以下では、制御主体がCPU203であるときは、その旨を省略して説明する。   The controller 2 is installed in the field, such as a card reader or a management room of a building where a door is installed, which is managed by the facility monitoring system or the entrance / exit management system, and performs actual security operations, as shown in FIG. 1A. , An input / output unit 201 serving as an interface with the network 3, a program file to be described later, a local administrator program file editing unit 9 b such as a keyboard and a mouse, a CPU 203, a main memory 204, a storage medium 206, and a bus connecting them 202 or the like. The CPU 203 has a difference extraction unit 11, and the main memory 204 stores a control program 205 for controlling the controller 2, and the CPU 203 controls each hardware resource of the controller 2 according to this. In addition, since a well-known thing can be utilized for each hardware resource control by CPU203, that is abbreviate | omitted and demonstrated below when the control main body is CPU203.

サーバー1の記憶媒体106には、管理対象となるカードリーダや扉の各々に対応したプログラムファイルα〜νを記憶したプログラムファイル記憶部6a(以下、PF記憶部6a)と、PF記憶部6aのプログラムファイルα〜νに基づいて生成したセンタ側管理フラグ4Bとコントローラ2から送信されたコントーラ側管理フラグ4Cを含むセンタ側プログラムファイルリスト4(以下、センタ側PFL4)を記憶したプログラムファイルリスト記憶部7(以下、PFL記憶部7)を有している。差分抽出部8は、PFL記憶部7に記憶されたセンタ側管理フラグ4Bとコントーラ側管理フラグ4Cを比較し、管理フラグの内容が相違するプログラムファイルを抽出する。   The storage medium 106 of the server 1 includes a program file storage unit 6a (hereinafter referred to as a PF storage unit 6a) that stores program files α to ν corresponding to card readers and doors to be managed, and a PF storage unit 6a. A program file list storage unit storing a center side program file list 4 (hereinafter, center side PFL4) including a center side management flag 4B generated based on the program files α to ν and a controller side management flag 4C transmitted from the controller 2 7 (hereinafter referred to as PFL storage unit 7). The difference extraction unit 8 compares the center-side management flag 4B and the controller-side management flag 4C stored in the PFL storage unit 7, and extracts program files having different management flag contents.

同様に、コントローラ2の記憶媒体206には、管理対象となるカードリーダや扉の各々に対応したプログラムファイルα〜νを記憶したプログラムファイル記憶部9a(以下、PF記憶部9a)と、サーバー1から送信されたセンタ側管理フラグ5BとPF記憶部9aのプログラムファイルα〜νに基づいて生成したコントローラ側管理フラグ5Cを含むコントローラ側プログラムファイルリスト5(以下、コントローラ側PFL5)を記憶したプログラムファイルリスト記憶部10(以下、PFL記憶部10)を有している。差分抽出部11は、PFL記憶部10に記憶されたセンタ側管理フラグ5Bとコントーラ側管理フラグ5Cを比較し、管理フラグの内容が相違するプログラムファイルを抽出する。   Similarly, the storage medium 206 of the controller 2 includes a program file storage unit 9a (hereinafter referred to as a PF storage unit 9a) that stores program files α to ν corresponding to card readers and doors to be managed, and a server 1 File storing controller side program file list 5 (hereinafter referred to as controller side PFL5) including controller side management flag 5C generated based on center side management flag 5B and program files α to ν stored in PF storage unit 9a. It has a list storage unit 10 (hereinafter, PFL storage unit 10). The difference extraction unit 11 compares the center-side management flag 5B and the controller-side management flag 5C stored in the PFL storage unit 10, and extracts program files having different management flag contents.

次に、図1B、図1Cを用いて、センタ側PFL4と、コントローラ側PFL5の構造を詳細に説明する。   Next, the structure of the center side PFL4 and the controller side PFL5 will be described in detail with reference to FIGS. 1B and 1C.

図1Bに示すように、センタ側PFL4は、管理対象となるカードリーダや扉の各々に対応したプログラムファイル名4Aと、PF記憶部6aのプログラムファイルα〜νに基づいて生成したセンタ側管理フラグ4Bと、コントローラ2から送信されたコントローラ側管理フラグ4Cとからなっている。ここで、各管理フラグは、少なくとも、各プログラムファイルのファイルサイズと編集日の情報を有している。   As shown in FIG. 1B, the center-side PFL 4 has a center-side management flag generated based on a program file name 4A corresponding to each card reader or door to be managed and program files α to ν in the PF storage unit 6a. 4B and a controller-side management flag 4C transmitted from the controller 2. Here, each management flag has at least information on the file size and editing date of each program file.

なお、ここでは、PF記憶部6aのプログラムファイルγをセンタ管理者がPF編集部6bを用いて編集し、センタ側管理フラグ4Bのファイルサイズ、編集日が更新された結果、プログラムファイルγに関する両管理フラグの内容が相違する例を示している。   Here, as a result of the center administrator editing the program file γ in the PF storage unit 6a using the PF editing unit 6b and updating the file size and editing date of the center side management flag 4B, both the program file γ are updated. An example in which the contents of the management flag are different is shown.

同様に、図1Cに示すように、コントローラ側プログラムファイルリスト5は、管理対象となるカードリーダや扉の各々に対応したプログラムファイル名5Aと、サーバー1から送信されたセンタ側管理フラグ5Bと、PF記憶部9aのプログラムファイルα〜νに基づいて生成したコントローラ側管理フラグ5Cとからなっている。ここで、各管理フラグは、少なくとも、各プログラムファイルのファイルサイズと編集日の情報を有している。   Similarly, as shown in FIG. 1C, the controller-side program file list 5 includes a program file name 5A corresponding to each card reader and door to be managed, a center-side management flag 5B transmitted from the server 1, The controller side management flag 5C generated based on the program files α to ν of the PF storage unit 9a. Here, each management flag has at least information on the file size and editing date of each program file.

なお、ここでは、PF記憶部9aのプログラムファイルαを現地管理者がPF編集部9bを用いて編集し、コントローラ側管理フラグ5Cのファイルサイズ、編集日が更新された結果、プログラムファイルαに関する両管理フラグの内容が相違する例を示している。   Here, as a result of the local administrator editing the program file α in the PF storage unit 9a using the PF editing unit 9b and updating the file size and editing date of the controller-side management flag 5C, both of the program file α are updated. An example in which the contents of the management flag are different is shown.

次に、図2を用いて、サーバー1側で編集したプログラムファイルがコントローラ2に反映されるまでの処理を詳細に説明する。   Next, the processing until the program file edited on the server 1 side is reflected on the controller 2 will be described in detail with reference to FIG.

まず、センタ管理者がPF編集部6bを用いてPF記憶部6aのプログラムファイルγを編集すると、編集後のプログラムファイルγのファイルサイズ、編集日が、PFL記憶部7のセンタ側管理フラグ4Bに反映される(S20)。   First, when the center administrator edits the program file γ in the PF storage unit 6a using the PF editing unit 6b, the file size and editing date of the edited program file γ are displayed in the center side management flag 4B in the PFL storage unit 7. Reflected (S20).

次に、サーバー1はコントローラ2からコントローラ側管理フラグ5Cを受信し、これをPFL記憶部7のコントローラ側管理フラグ4Cに上書きする(S21)。   Next, the server 1 receives the controller-side management flag 5C from the controller 2, and overwrites it on the controller-side management flag 4C in the PFL storage unit 7 (S21).

次に、サーバー1の差分抽出部8は、センタ側管理フラグ4Bとコントローラ側管理フラグ4Cを比較し、ファイルサイズの異なるプログラムファイルを抽出し、この編集日が一致するかを確認する(S22)。図1Bの例では、プログラムファイルαのファイルサイズが等しいためこれらのファイルは抽出されないが、プログラムファイルβ、γはファイルサイズが異なるため抽出対象となる。さらに、プログラムファイルβの編集日が一致し、プログラムファイルγの編集日は一致しないことが確認される。   Next, the difference extraction unit 8 of the server 1 compares the center-side management flag 4B and the controller-side management flag 4C, extracts program files having different file sizes, and checks whether the edit dates match (S22). . In the example of FIG. 1B, since the file sizes of the program file α are equal, these files are not extracted, but the program files β and γ are extracted because the file sizes are different. Further, it is confirmed that the editing date of the program file β matches and the editing date of the program file γ does not match.

比較の結果、ファイルサイズが異なり、編集日が一致するプログラムファイルが確認された場合(S22のYes)は、そのプログラムファイルがサーバー1とコントローラ2で同日に編集されたことを意味するため、サーバー1側のプログラムファイルをコントローラ2に上書きする更新に注意を要する旨をセンタ管理者に注意喚起する(S28)。図1Bの例では、ファイルサイズが異なり編集日が一致するプログラムファイルβの更新には注意が求められるため、その存在をセンタ管理者に注意喚起する。なお、注意喚起には、管理PCへの表示や、センタ管理者へのメール通知や、警告内容の印字出力など種々の方法を選択することができる。このような注意喚起を行うことで管理者は、サーバー1とコントローラ2のプログラムファイルの各々を詳細に確認し、両者の整合を図った適切なプログラムファイルに編集することができる。   As a result of the comparison, if a program file having a different file size and the same editing date is confirmed (Yes in S22), it means that the program file has been edited by the server 1 and the controller 2 on the same day. The center administrator is warned that attention is required to update the program file on the first side overwriting the controller 2 (S28). In the example of FIG. 1B, attention is required to update the program file β whose file size is different and whose editing date is the same. For alerting, various methods such as display on the management PC, mail notification to the center manager, and printout of warning contents can be selected. By giving such attention, the administrator can check each of the program files of the server 1 and the controller 2 in detail, and edit the program files into appropriate program files that match the two.

一方、両管理フラグの比較から、ファイルサイズが異なり編集日も異なるプログラムファイルが確認された場合(S22のNo)は、それらのプログラムファイルを抽出し(S23)、コントローラ2へ当該プログラムファイルとセンタ側管理フラグ4Bを送信する(S24)。図1Bの例では、プログラムファイルγとセンタ側管理フラグ4Bが送信される。   On the other hand, if a program file having a different file size and a different editing date is confirmed by comparing both management flags (No in S22), those program files are extracted (S23), and the program file and the center are sent to the controller 2. The side management flag 4B is transmitted (S24). In the example of FIG. 1B, the program file γ and the center side management flag 4B are transmitted.

次に、サーバー1は、PF記憶部9aのプログラムファイル、および、PFL記憶部10のコントローラ側管理フラグ5Cを、S24で送信されたものに更新するようコントローラ2に指示し(S25)、この指示に従いコントローラ2はそれらを更新する。   Next, the server 1 instructs the controller 2 to update the program file in the PF storage unit 9a and the controller-side management flag 5C in the PFL storage unit 10 to the one transmitted in S24 (S25). The controller 2 updates them accordingly.

その後、サーバー1は、更新後のコントローラ側管理フラグ5Cを送信するようコントローラ2に指示し、受信したコントローラ側管理フラグ5CでPFL記憶部7のコントローラ側管理フラグ4Cを更新する(S26)。そして、PFL記憶部7のセンタ側管理フラグ4Bとコントローラ側管理フラグ4Cを比較し、両者が一致する場合は更新作業が正常に完了したと判断し、一連の作業を終了する(S26のYes)。   Thereafter, the server 1 instructs the controller 2 to transmit the updated controller-side management flag 5C, and updates the controller-side management flag 4C in the PFL storage unit 7 with the received controller-side management flag 5C (S26). Then, the center-side management flag 4B and the controller-side management flag 4C in the PFL storage unit 7 are compared, and if they match, it is determined that the update operation has been completed normally, and the series of operations is terminated (Yes in S26). .

一方、PFL記憶部7のセンタ側管理フラグ4Bとコントローラ側管理フラグ4Cが一致しない場合(S26のNo)は、サーバー1からコントローラ2への送信が失敗したことを意味するため、S24〜S26の処理を再実行する。ここで示した手順により、コントローラ2のプログラムファイル、コントローラ側管理フラグ5Cの更新に成功するまで更新処理をリトライすることができる。   On the other hand, if the center-side management flag 4B and the controller-side management flag 4C in the PFL storage unit 7 do not match (No in S26), it means that transmission from the server 1 to the controller 2 has failed, so S24-S26. Re-execute processing. According to the procedure shown here, the update process can be retried until the program file of the controller 2 and the controller-side management flag 5C are successfully updated.

なお、図3に、コントローラ2で更新したプログラムファイルがサーバー1側に反映されるまでの処理を示しているが、この処理は図2の処理と裏腹の関係にあるため、詳細な説明は省略する。   FIG. 3 shows the processing until the program file updated by the controller 2 is reflected on the server 1 side, but this processing is contrary to the processing of FIG. To do.

また、以上の実施例では、管理フラグに各プログラムファイルの編集日を記録した例を説明したが、これに代え編集日時を記録した構成としても良い。この場合、プログラムファイルの更新をより細やかに管理できるという効果を得ることができる。   In the above embodiment, the example in which the edit date of each program file is recorded in the management flag has been described. However, instead of this, the edit date may be recorded. In this case, the effect that the update of the program file can be managed more finely can be obtained.

以上で説明したように、本実施例によれば、サーバーとコントローラの夫々に、同一の制御対象に関するプログラムファイルであって、ファイルサイズが異なり編集日が一致するものが記憶されている場合には、管理者にその旨を報知することで、プログラムファイルの上書きによる、編集内容の消失を避けることができる。   As described above, according to the present embodiment, when the server and the controller each store a program file related to the same control target and having a different file size and the same editing date. By notifying the administrator of the fact, it is possible to avoid the loss of edited contents due to overwriting of the program file.

また、本実施例によれば、サーバー、コントローラ間で発生したプログラムファイルの送信の失敗を検出することで、相手方のプログラムファイルが更新されるまで、プログラムファイルおよび管理フラグの送信を繰り返し、確実にプログラムファイルを更新することができる。   In addition, according to the present embodiment, by detecting the failure of transmission of the program file that has occurred between the server and the controller, the transmission of the program file and the management flag is repeated until the other party's program file is updated. Program files can be updated.

1…サーバー、2…コントローラ、3…ネットワーク、4…センタ側PFL(センタ側プログラムファイルリスト)、4A…プログラムファイル名、4B…センタ側管理フラグ、4C…コントローラ側管理フラグ、5…コントローラ側PFL(コントローラ側プログラムファイルリスト)、5A…プログラムファイル名、5B…センタ側管理フラグ、5C…コントローラ側管理フラグ、6a…PF記憶部(プログラムファイル記憶部)、6b…PF編集部(プログラムファイル編集部)、7…PFL記憶部(プログラムファイルリスト記憶部)、8…差分抽出部、9a…PF記憶部(プログラムファイル記憶部)、9b…PF編集部(プログラムファイル編集部)、10…PFL記憶部(プログラムファイルリスト記憶部)、11…差分抽出部 DESCRIPTION OF SYMBOLS 1 ... Server, 2 ... Controller, 3 ... Network, 4 ... Center side PFL (center side program file list), 4A ... Program file name, 4B ... Center side management flag, 4C ... Controller side management flag, 5 ... Controller side PFL (Controller-side program file list), 5A ... program file name, 5B ... center-side management flag, 5C ... controller-side management flag, 6a ... PF storage unit (program file storage unit), 6b ... PF editing unit (program file editing unit) ), 7 ... PFL storage unit (program file list storage unit), 8 ... Difference extraction unit, 9a ... PF storage unit (program file storage unit), 9b ... PF editing unit (program file editing unit), 10 ... PFL storage unit (Program file list storage unit), 11... Differential extraction

Claims (4)

サーバーとコントローラとそれらを接続するネットワークからなる遠隔書込みシステムであって、
前記サーバーは、
複数の制御対象に対応する複数のプログラムファイルを記憶しておくプログラムファイル記憶部と、
該プログラムファイル記憶部に記憶されたプログラムファイルを編集するプログラムファイル編集部と、
前記複数のプログラムファイルから生成したセンタ側管理フラグと、前記ネットワークを介して前記コントローラから受信したコントローラ側管理フラグを記憶しておくプログラムファイルリスト記憶部と、
該プログラムファイルリスト記憶部から読み出した前記センタ側管理フラグと前記コントローラ側管理フラグを比較する差分抽出部と、
を具備しており、
前記サーバーは、同一の制御対象に関するプログラムファイルであって、ファイルサイズが異なり編集日が一致するものが前記差分抽出部によって抽出された場合には、管理者にその旨を報知することを特徴とする遠隔書込みシステム。
A remote writing system comprising a server, a controller and a network connecting them,
The server
A program file storage unit for storing a plurality of program files corresponding to a plurality of control objects;
A program file editing section for editing the program file stored in the program file storage section;
A program file list storage unit for storing a center side management flag generated from the plurality of program files, and a controller side management flag received from the controller via the network;
A difference extraction unit that compares the center-side management flag and the controller-side management flag read from the program file list storage unit;
It has
The server is a program file related to the same control target, and when a file having a different file size and the same editing date is extracted by the difference extraction unit, the server notifies the administrator to that effect. Remote writing system.
サーバーとコントローラとそれらを接続するネットワークからなる遠隔書込みシステムであって、
前記コントローラは、
複数の制御対象に対応する複数のプログラムファイルを記憶しておくプログラムファイル記憶部と、
該プログラムファイル記憶部に記憶されたプログラムファイルを編集するプログラムファイル編集部と、
前記ネットワークを介して前記サーバーから受信したセンタ側管理フラグと前記複数のプログラムファイルから生成したコントローラ側管理フラグを記憶しておくプログラムファイルリスト記憶部と、
該プログラムファイルリスト記憶部から読み出した前記センタ側管理フラグと前記コントローラ側管理フラグを比較する差分抽出部と、
を具備しており、
前記コントローラは、同一の制御対象に関するプログラムファイルであって、ファイルサイズが異なり編集日が一致するものが前記差分抽出部によって抽出された場合には、管理者にその旨を報知することを特徴とする遠隔書込みシステム。
A remote writing system comprising a server, a controller and a network connecting them,
The controller is
A program file storage unit for storing a plurality of program files corresponding to a plurality of control objects;
A program file editing section for editing the program file stored in the program file storage section;
A program file list storage unit for storing a center management flag received from the server via the network and a controller management flag generated from the plurality of program files;
A difference extraction unit that compares the center-side management flag and the controller-side management flag read from the program file list storage unit;
It has
The controller, when a program file related to the same control object, which has a different file size and the same editing date, is extracted by the difference extraction unit, notifies the manager to that effect Remote writing system.
サーバーとコントローラとそれらを接続するネットワークからなる遠隔書込みシステムのプログラムファイル更新方法であって、
前記サーバーは、
複数の制御対象に対応する複数のプログラムファイルを記憶しておく第一のプログラムファイル記憶部と、
該プログラムファイル記憶部に記憶されたプログラムファイルを編集する第一のプログラムファイル編集部と、
前記複数のプログラムファイルから生成したセンタ側管理フラグと、前記ネットワークを介して前記コントローラから受信したコントローラ側管理フラグを記憶しておく第一のプログラムファイルリスト記憶部と、
該第一のプログラムファイルリスト記憶部から読み出した前記センタ側管理フラグと前記コントローラ側管理フラグを比較する第一の差分抽出部と、
を具備しており、
前記コントローラは、
複数の制御対象に対応する複数のプログラムファイルを記憶しておく第二のプログラムファイル記憶部と、
前記ネットワークを介して前記サーバーから受信したセンタ側管理フラグと前記複数のプログラムファイルから生成したコントローラ側管理フラグを記憶しておく第二のプログラムファイルリスト記憶部と、
を具備しており、
前記サーバーは、前記第一のプログラムファイル編集部を用いて編集したプログラムファイルと、前記第一のプログラムファイルリスト記憶部に記憶されたセンタ側管理フラグとを前記ネットワークを介して前記コントローラに送信し、
前記コントローラは、前記サーバーから受信した前記プログラムファイルで前記第二のプログラムファイル記憶部内の対応するプログラムファイルを更新し、前記サーバーから受信したセンタ側管理フラグで前記第二のプログラムファイルリスト記憶部内の前記コントローラ側管理フラグを更新するとともに、該コントローラ側管理フラグを前記ネットワークを介して前記サーバーに送信し、
前記サーバーは、前記第一のプログラムファイルリスト記憶部に記憶されたセンタ側管理フラグと前記コントローラから受信したコントローラ側管理フラグが相違する場合に、前記第一のプログラムファイル編集部を用いて編集したプログラムファイルと、前記第一のプログラムファイルリスト記憶部に記憶されたセンタ側管理フラグとを前記ネットワークを介して前記コントローラに再度送信することを特徴とする遠隔書込みシステムのプログラムファイル更新方法。
A program file update method for a remote writing system comprising a server, a controller and a network connecting them,
The server
A first program file storage unit for storing a plurality of program files corresponding to a plurality of control objects;
A first program file editing unit for editing the program file stored in the program file storage unit;
A first program file list storage unit for storing a center-side management flag generated from the plurality of program files and a controller-side management flag received from the controller via the network;
A first difference extraction unit that compares the center-side management flag read from the first program file list storage unit with the controller-side management flag;
It has
The controller is
A second program file storage unit for storing a plurality of program files corresponding to a plurality of control objects;
A second program file list storage unit for storing a center-side management flag received from the server via the network and a controller-side management flag generated from the plurality of program files;
It has
The server transmits a program file edited using the first program file editing unit and a center-side management flag stored in the first program file list storage unit to the controller via the network. ,
The controller updates the corresponding program file in the second program file storage unit with the program file received from the server, and updates the corresponding program file in the second program file list storage unit with the center side management flag received from the server. Updating the controller-side management flag and sending the controller-side management flag to the server via the network;
The server uses the first program file editing unit when the center side management flag stored in the first program file list storage unit and the controller side management flag received from the controller are different. A program file update method for a remote writing system, wherein a program file and a center-side management flag stored in the first program file list storage unit are transmitted again to the controller via the network.
サーバーとコントローラとそれらを接続するネットワークからなる遠隔書込みシステムのプログラムファイル更新方法であって、
前記サーバーは、
複数の制御対象に対応する複数のプログラムファイルを記憶しておく第一のプログラムファイル記憶部と、
前記複数のプログラムファイルから生成したセンタ側管理フラグと、前記ネットワークを介して前記コントローラから受信したコントローラ側管理フラグを記憶しておく第一のプログラムファイルリスト記憶部と、
を具備しており、
前記コントローラは、
複数の制御対象に対応する複数のプログラムファイルを記憶しておく第二のプログラムファイル記憶部と、
該プログラムファイル記憶部に記憶されたプログラムファイルを編集する第二のプログラムファイル編集部と、
前記ネットワークを介して前記サーバーから受信したセンタ側管理フラグと前記複数のプログラムファイルから生成したコントローラ側管理フラグを記憶しておく第二のプログラムファイルリスト記憶部と、
該第二のプログラムファイルリスト記憶部から読み出した前記センタ側管理フラグと前記コントローラ側管理フラグを比較する第二の差分抽出部と、
を具備しており、
前記コントローラは、前記第二のプログラムファイル編集部を用いて編集したプログラムファイルと、前記第二のプログラムファイルリスト記憶部に記憶されたコントローラ側管理フラグとを前記ネットワークを介して前記サーバーに送信し、
前記サーバーは、前記コントローラから受信した前記プログラムファイルで前記第一のプログラムファイル記憶部内の対応するプログラムファイルを更新し、前記コントローラから受信したコントローラ側管理フラグで前記第一のプログラムファイルリスト記憶部内の前記センタ側管理フラグを更新するとともに、該センタ側管理フラグを前記ネットワークを介して前記コントローラに送信し、
前記コントローラは、前記第二のプログラムファイルリスト記憶部に記憶されたコントローラ側管理フラグと前記サーバーから受信したセンタ側管理フラグが相違する場合に、前記第二のプログラムファイル編集部を用いて編集したプログラムファイルと、前記第二のプログラムファイルリスト記憶部に記憶されたコントローラ側管理フラグとを前記ネットワークを介して前記サーバーに再度送信することを特徴とする遠隔書込みシステムのプログラムファイル更新方法。
A program file update method for a remote writing system comprising a server, a controller and a network connecting them,
The server
A first program file storage unit for storing a plurality of program files corresponding to a plurality of control objects;
A first program file list storage unit for storing a center-side management flag generated from the plurality of program files and a controller-side management flag received from the controller via the network;
It has
The controller is
A second program file storage unit for storing a plurality of program files corresponding to a plurality of control objects;
A second program file editing unit for editing the program file stored in the program file storage unit;
A second program file list storage unit for storing a center-side management flag received from the server via the network and a controller-side management flag generated from the plurality of program files;
A second difference extraction unit that compares the center-side management flag read from the second program file list storage unit with the controller-side management flag;
It has
The controller transmits the program file edited using the second program file editing unit and the controller-side management flag stored in the second program file list storage unit to the server via the network. ,
The server updates the corresponding program file in the first program file storage unit with the program file received from the controller, and the controller-side management flag received from the controller stores the program file in the first program file list storage unit. Updating the center-side management flag and transmitting the center-side management flag to the controller via the network;
When the controller-side management flag stored in the second program file list storage unit is different from the center-side management flag received from the server, the controller uses the second program file editing unit to edit the controller-side management flag. A program file update method for a remote writing system, wherein a program file and a controller-side management flag stored in the second program file list storage unit are transmitted again to the server via the network.
JP2016103262A 2016-05-24 2016-05-24 Remote writing system and method for updating program file Active JP6518211B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016103262A JP6518211B2 (en) 2016-05-24 2016-05-24 Remote writing system and method for updating program file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016103262A JP6518211B2 (en) 2016-05-24 2016-05-24 Remote writing system and method for updating program file

Publications (2)

Publication Number Publication Date
JP2017211747A true JP2017211747A (en) 2017-11-30
JP6518211B2 JP6518211B2 (en) 2019-05-22

Family

ID=60475498

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016103262A Active JP6518211B2 (en) 2016-05-24 2016-05-24 Remote writing system and method for updating program file

Country Status (1)

Country Link
JP (1) JP6518211B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01112425A (en) * 1987-10-27 1989-05-01 Nec Corp Program source filing maintaining system at time of editing by editor
JPH11212790A (en) * 1998-01-22 1999-08-06 Nec Corp Remote maintenance method and device for terminal equipment
JP2000003270A (en) * 1998-06-12 2000-01-07 Mitsubishi Electric Corp Version managing device and shipping managing device
JP2000003271A (en) * 1998-06-16 2000-01-07 Toshiba Corp Software managing device and computer readable recording medium for recording program
JP2008282362A (en) * 2007-05-14 2008-11-20 Keyence Corp Program editing support device, computer program, program editing support method, and plc system
JP2009245355A (en) * 2008-03-31 2009-10-22 Panasonic Electric Works Co Ltd Authentication system
JP2011028666A (en) * 2009-07-29 2011-02-10 Hitachi Solutions Ltd Software matching maintenance system and software matching maintenance method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01112425A (en) * 1987-10-27 1989-05-01 Nec Corp Program source filing maintaining system at time of editing by editor
JPH11212790A (en) * 1998-01-22 1999-08-06 Nec Corp Remote maintenance method and device for terminal equipment
JP2000003270A (en) * 1998-06-12 2000-01-07 Mitsubishi Electric Corp Version managing device and shipping managing device
JP2000003271A (en) * 1998-06-16 2000-01-07 Toshiba Corp Software managing device and computer readable recording medium for recording program
JP2008282362A (en) * 2007-05-14 2008-11-20 Keyence Corp Program editing support device, computer program, program editing support method, and plc system
JP2009245355A (en) * 2008-03-31 2009-10-22 Panasonic Electric Works Co Ltd Authentication system
JP2011028666A (en) * 2009-07-29 2011-02-10 Hitachi Solutions Ltd Software matching maintenance system and software matching maintenance method

Also Published As

Publication number Publication date
JP6518211B2 (en) 2019-05-22

Similar Documents

Publication Publication Date Title
US10496618B2 (en) Managing data replication in a data grid
CN114065185A (en) Access management system, access management robot promotion system, and access management method
CN105739968B (en) Method and device for reviewing updated content based on distributed version control system Git
US8930906B2 (en) Selectively allowing changes to a system
US20150193404A1 (en) Operational transformations proxy for thin clients
CN112184077A (en) Configurable process approval method and device, computer equipment and storage medium
CN109644203A (en) It interrupts to the synchronous of the content between client device and storage service based on cloud
US9870359B2 (en) System and method for dynamic document retention
CN114399292A (en) Method, computing device and medium for controlling business approval process
US20200133558A1 (en) Method, device and computer program product for data backup
CN107392264A (en) Eletronic data management system and eletronic data management method
US10303360B2 (en) Replicating data in a data storage system
EP2940540B1 (en) Power system monitoring and control system
CN113505362B (en) System authority management and control method, data center, management and control device and storage medium
JP2017211747A (en) Remote writing system and program file update method thereof
CN111026569A (en) Method for repairing designated block data in alliance chain
CN111431699A (en) Method, device and system for quickly validating face authentication function
JP2020522054A (en) Data distribution type integrated management system
CN108595924A (en) Business authority management method and device, computer equipment and storage medium
JP6133832B2 (en) Recipe ID management server, recipe ID management system, and terminal device
CN110826078A (en) Data storage method, device and system
US9672489B1 (en) Inventory validator with notification manager
KR102510167B1 (en) Firmware massive update method using flash memory and computer programs stored in recording media for executing the same
CN111475800B (en) Network-based file protection system for business secrets
JP5832710B1 (en) Programmable logic controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180704

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190308

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190419

R150 Certificate of patent or registration of utility model

Ref document number: 6518211

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150