JP2011028563A - Recording device, recording method and computer program - Google Patents

Recording device, recording method and computer program Download PDF

Info

Publication number
JP2011028563A
JP2011028563A JP2009174468A JP2009174468A JP2011028563A JP 2011028563 A JP2011028563 A JP 2011028563A JP 2009174468 A JP2009174468 A JP 2009174468A JP 2009174468 A JP2009174468 A JP 2009174468A JP 2011028563 A JP2011028563 A JP 2011028563A
Authority
JP
Japan
Prior art keywords
image data
display screen
recording
time
instruction
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.)
Pending
Application number
JP2009174468A
Other languages
Japanese (ja)
Inventor
Yoshiya Shimomura
圭矢 下村
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.)
Keyence Corp
Original Assignee
Keyence Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Keyence Corp filed Critical Keyence Corp
Priority to JP2009174468A priority Critical patent/JP2011028563A/en
Publication of JP2011028563A publication Critical patent/JP2011028563A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Testing And Monitoring For Control Systems (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a recording device, a recording method and a computer program, capable of acquiring operation history information for a user which is effective for failure countermeasures while reducing the communication load by effectively compressing moving image data relatively low in change frequency. <P>SOLUTION: Start instruction and stop instruction of recording for a display screen displaying operating conditions of an extension unit in a ladder form are accepted, and the transition of the display screen up to accept of the stop instruction is stored as one moving image data including head image data, a plurality of differential image data, and time stamp information showing the elapsed time from the acquisition of the head image data and/or the differential image data. The head image data is stored; a change of the display screen is detected, and differential image data corresponding to a difference changed from the head image data and/or the differential image data is stored. When the elapsed time at the time when the differential image data is acquired exceeds a predetermined time, time stamp information corresponding to the elapsed time is stored. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、被制御機器に接続してある複数の拡張ユニット及びCPUユニットで構成してあり、多様な機能を実現するプログラマブルコントローラで動作する制御プログラムの作成過程を録画する録画装置、録画方法及びコンピュータプログラムに関する。   The present invention is composed of a plurality of expansion units and CPU units connected to a controlled device, and a recording apparatus, a recording method, and a recording method for recording a creation process of a control program that operates with a programmable controller that realizes various functions It relates to a computer program.

従来、入出力機器を拡張する入出力ユニット、通信機能を付加する通信ユニット、制御対象となる機器の位置決めを制御する位置決めユニット、温度を調整する温調ユニット等の拡張ユニットを連結して、それぞれの拡張ユニットの動作を制御プログラムにより制御するプログラマブルコントローラが広く使用されている。機能が多様化するのに伴い、各拡張ユニットの動作を制御する制御プログラムは年々大規模化、複雑化してきており、CPUユニット、拡張ユニット等に障害が発生した場合に早期に解決することが困難な状況になりつつある。   Conventionally, I / O units that extend I / O devices, communication units that add communication functions, positioning units that control the positioning of devices to be controlled, and expansion units such as temperature control units that adjust temperature 2. Description of the Related Art A programmable controller that controls the operation of an expansion unit using a control program is widely used. As functions diversify, control programs that control the operation of each expansion unit have become larger and more complex year by year, and can be resolved quickly if a failure occurs in the CPU unit, expansion unit, etc. It is becoming difficult.

そこで、障害が発生した場合、現地へ技術者を直接派遣することにより早期解決を図っているが、現地との位置関係、技術者の確保状況等から困難な場合も生じうる。また、電話、電子メール等の通信機器により対応することも多いが、障害の状況把握が困難である場合も生じうる。   Therefore, when a failure occurs, an early solution is made by dispatching a technician directly to the site. However, it may be difficult due to the positional relationship with the site, the status of securing engineers, and the like. In many cases, communication devices such as telephones and e-mails are used. However, it may be difficult to grasp the failure status.

そこで、いわゆるリモートデスクトップ機能を用いて、遠隔地から障害発生の原因等を解析する方法がよく用いられている。例えば特許文献1には、制御センター内の制御コンピュータにより、工場内の被制御機器の動作を遠隔操作で制御する機器制御システムが開示されており、メンテナンス画面を介してアラームがどこで発生しているか等を遠隔地にて確認・検証することができる。   Therefore, a method of analyzing the cause of a failure from a remote location using a so-called remote desktop function is often used. For example, Patent Document 1 discloses a device control system in which the operation of a controlled device in a factory is remotely controlled by a control computer in a control center. Where an alarm is generated via a maintenance screen Etc. can be confirmed and verified remotely.

特開2003−282387号公報JP 2003-282387 A

遠隔地で障害対策を実行する場合、ユーザがどういう操作をしたのか履歴がわかれば比較的対処しやすい。そこで、ユーザの操作履歴を、画面遷移を示す動画像データとして取得し、電子メール等に添付して送付する方法もよく用いられている。   When trouble countermeasures are executed in a remote place, it is relatively easy to deal with if a history of what operations the user has performed is known. Therefore, a method of acquiring a user's operation history as moving image data indicating screen transition and attaching it to an e-mail or the like is often used.

しかし、上述した特許文献1のようなシステムでは、制御コンピュータと被制御機器の動作を制御するコンピュータとが一般回線で接続されている場合が多く、セキュリティの問題の他、通信容量、通信速度には一定の制約が存在する。したがって、大容量データである動画像データを送受信するには通信容量が不足し、またレスポンスの劣化等、他のデータ通信の妨げとなるおそれがあった。   However, in the system such as Patent Document 1 described above, the control computer and the computer that controls the operation of the controlled device are often connected by a general line, and in addition to the security problem, the communication capacity and the communication speed are limited. There are certain constraints. Therefore, the communication capacity is insufficient to transmit / receive moving image data, which is large-capacity data, and there is a possibility that other data communication may be hindered such as a response deterioration.

本発明は斯かる事情に鑑みてなされたものであり、比較的変更頻度が少ない動画像データを効果的に圧縮することにより、通信負荷を軽減しつつ障害対策に有効なユーザの操作履歴情報を取得することができる録画装置、録画方法及びコンピュータプログラムを提供することを目的とする。   The present invention has been made in view of such circumstances, and by effectively compressing moving image data that is relatively infrequently changed, user operation history information effective for countermeasures against troubles can be obtained while reducing communication load. It is an object to provide a recording apparatus, a recording method, and a computer program that can be acquired.

上記目的を達成するために第1発明に係る録画装置は、被制御機器に接続してある複数の拡張ユニット及びCPUユニットで構成してあり、拡張ユニットの動作をシーケンシャル制御するプログラマブルコントローラとデータ送受信することが可能に接続してあり、該プログラマブルコントローラとデータ送受信することにより前記拡張ユニットの動作状況をラダー形式で表示するコンピュータの表示画面を録画する録画装置において、前記拡張ユニットの動作状況をラダー形式で表示したラダー図を含む表示画面の、録画の開始指示及び停止指示を受け付ける開始・停止指示受付手段と、該開始・停止指示受付手段が前記録画の開始指示を受け付けてから停止指示を受け付けるまでの表示画面の遷移を、開始指示を受け付けた時点での表示画面の画像データである先頭画像データと、該先頭画像データに続く複数の差分画像データと、前記先頭画像データ及び/又は前記差分画像データを取得した時点からの経過時間を示すタイムスタンプ情報とを含む一の動画像データとして記憶する動画像記憶手段とを備え、前記動画像記憶手段は、前記先頭画像データを記憶する先頭画像データ記憶手段と、表示画面の変更を検知する変更検知手段と、前記録画の開始指示を受け付けた後、該変更検知手段が、前記表示画面の変更を検知した場合、前記先頭画像データ及び/又は前記差分画像データから変更された差分に相当する差分画像データを記憶する差分画像データ記憶手段と、該差分画像データを取得した時点での経過時間が所定時間を超えているか否かを判断し、該所定時間を超えていると判断した場合、前記経過時間に対応するタイムスタンプ情報を記憶するタイムスタンプ情報記憶手段とを備えることを特徴とする。   To achieve the above object, a recording apparatus according to a first aspect of the present invention comprises a plurality of expansion units and CPU units connected to a controlled device, and a data transmission and reception with a programmable controller that sequentially controls the operation of the expansion units. In a recording apparatus for recording a display screen of a computer that displays the operation status of the expansion unit in a ladder format by transmitting and receiving data to and from the programmable controller, the operation status of the expansion unit is Start / stop instruction accepting means for accepting a recording start instruction and stop instruction on a display screen including a ladder diagram displayed in a format, and accepting a stop instruction after the start / stop instruction accepting means accepts the recording start instruction Display screen transitions until the start instruction is accepted Head image data that is image data of a surface, a plurality of difference image data following the head image data, and time stamp information indicating an elapsed time from the time when the head image data and / or the difference image data is acquired. Moving image storage means for storing as one moving image data including the moving image storage means, leading image data storage means for storing the leading image data, change detection means for detecting a change in display screen, After receiving the recording start instruction, when the change detection unit detects a change in the display screen, the difference image data corresponding to the difference changed from the head image data and / or the difference image data is stored. Difference image data storage means for determining whether or not the elapsed time at the time of acquiring the difference image data exceeds a predetermined time, and exceeding the predetermined time If it is determined that, characterized in that it comprises a time stamp information storage means for storing time stamp information corresponding to the elapsed time.

また、第2発明に係る録画装置は、第1発明において、前記変更検知手段は、イベントが発生したか否かを検知するイベント検知手段と、該イベント検知手段が、イベントが発生したことを検知した場合、該イベントが表示画面を変更するか否かを判断するイベント判断手段とを備えることを特徴とする。   According to a second aspect of the present invention, in the recording apparatus according to the first aspect, the change detection means detects whether an event has occurred, and the event detection means detects whether an event has occurred. In this case, an event determination unit that determines whether or not the event changes the display screen is provided.

また、第3発明に係る録画装置は、第1発明において、前記変更検知手段は、前回変更が検知された時点の表示画面から変更されているか否かを判断する変更判断手段を備えることを特徴とする。   The recording apparatus according to a third invention is characterized in that, in the first invention, the change detection means comprises a change determination means for determining whether or not the change has been made from the display screen at the time when the previous change was detected. And

また、第4発明に係る録画装置は、第1発明において、前記変更検知手段の選択を受け付ける検知方法選択受付手段を備え、該検知方法選択受付手段で選択を受け付けていない場合、前記変更検知手段は、前回変更が検知された時点の表示画面から変更されているか否かを判断するようにしてあることを特徴とする。   The recording apparatus according to a fourth aspect of the present invention further comprises a detection method selection reception unit that receives the selection of the change detection unit in the first invention, and when the selection is not received by the detection method selection reception unit, the change detection unit Is characterized in that it is determined whether or not it has been changed from the display screen when the previous change was detected.

また、第5発明に係る録画装置は、第1乃至第4発明のいずれか1つにおいて、前記表示画面の録画の一時停止指示を受け付ける一時停止指示受付手段を備え、録画の開始指示を受け付けた後、一時停止指示を受け付け、再び録画の開始指示を受け付けた後に停止指示を受け付けた場合、前記動画像記憶手段は、前記開始・停止指示受付手段が最初に録画の開始指示を受け付けてから停止指示を受け付けるまでの一連の表示画面を一の動画像データとして記憶するようにしてあることを特徴とする。   According to a fifth aspect of the present invention, there is provided a recording apparatus according to any one of the first to fourth aspects, further comprising a pause instruction accepting unit that accepts an instruction to pause recording on the display screen, and accepts an instruction to start recording. Then, when a pause instruction is received and a stop instruction is received after a recording start instruction is received again, the moving image storage means stops after the start / stop instruction receiving means first receives a recording start instruction. A series of display screens until an instruction is received is stored as one moving image data.

また、第6発明に係る録画装置は、第5発明において、前記開始・停止指示受付手段は、開始ボタン及び停止ボタンで構成してあり、前記一時停止指示受付手段は、一時停止ボタンで構成してあり、前記一時停止ボタンは、前記開始ボタンと前記停止ボタンとの間に配置され、前記開始ボタン、前記一時停止ボタン、及び前記停止ボタンを一列に配列して表示するようにしてあることを特徴とする。   The recording apparatus according to a sixth aspect of the present invention is the recording apparatus according to the fifth aspect, wherein the start / stop instruction receiving means is constituted by a start button and a stop button, and the pause instruction receiving means is constituted by a pause button. The pause button is arranged between the start button and the stop button, and the start button, the pause button, and the stop button are arranged and displayed in a line. Features.

また、第7発明に係る録画装置は、第1乃至第6発明のいずれか1つにおいて、録画する対象となる前記表示画面の画像データの全部又は一部を録画領域として指定を受け付ける録画領域指定受付手段を備え、前記動画像記憶手段は、前記表示画面のうち前記録画領域内の画面の遷移を動画像データとして記憶するようにしてあることを特徴とする。   According to a seventh aspect of the present invention, in any one of the first to sixth aspects, a recording area designation that accepts designation as a recording area for all or part of the image data of the display screen to be recorded. The moving picture storage means includes receiving means, and the screen transition in the recording area of the display screen is stored as moving picture data.

また、第8発明に係る録画装置は、第7発明において、前記開始・停止指示受付手段を、前記録画領域外に配置するようにしてあることを特徴とする。   According to an eighth aspect of the present invention, in the seventh aspect of the invention, the start / stop instruction receiving means is arranged outside the recording area.

次に、上記目的を達成するために第9発明に係る録画方法は、被制御機器に接続してある複数の拡張ユニット及びCPUユニットで構成してあり、拡張ユニットの動作をシーケンシャル制御するプログラマブルコントローラとデータ送受信することが可能に接続してあり、該プログラマブルコントローラとデータ送受信することにより前記拡張ユニットの動作状況をラダー形式で表示するコンピュータの表示画面を録画する録画方法において、 前記コンピュータは、前記拡張ユニットの動作状況をラダー形式で表示したラダー図を含む表示画面の、録画の開始指示及び停止指示を受け付け、前記録画の開始指示を受け付けてから停止指示を受け付けるまでの表示画面の遷移を、開始指示を受け付けた時点での表示画面の画像データである先頭画像データと、該先頭画像データに続く複数の差分画像データと、前記先頭画像データ及び/又は前記差分画像データを取得した時点からの経過時間を示すタイムスタンプ情報とを含む一の動画像データとして記憶するとともに、前記先頭画像データを記憶し、表示画面の変更を検知し、前記録画の開始指示を受け付けた後、前記表示画面の変更を検知した場合、前記先頭画像データ及び/又は前記差分画像データから変更された差分に相当する差分画像データを記憶し、該差分画像データを取得した時点での経過時間が所定時間を超えているか否かを判断し、該所定時間を超えていると判断した場合、前記経過時間に対応するタイムスタンプ情報を記憶することを特徴とする。   Next, in order to achieve the above object, a recording method according to the ninth invention comprises a plurality of expansion units and CPU units connected to the controlled device, and a programmable controller that sequentially controls the operations of the expansion units. In a recording method for recording a display screen of a computer that displays the operation status of the expansion unit in a ladder format by transmitting and receiving data to and from the programmable controller, the computer includes the computer The display screen including the ladder diagram that displays the operation status of the expansion unit in the ladder format, accepting the recording start instruction and the stop instruction, and the transition of the display screen from the acceptance of the recording start instruction to the acceptance of the stop instruction, The destination that is the image data of the display screen when the start instruction is accepted One moving image data including image data, a plurality of difference image data following the start image data, and time stamp information indicating an elapsed time from the time when the start image data and / or the difference image data is acquired And storing the head image data, detecting a change of the display screen, and receiving the recording start instruction, and then detecting the change of the display screen, the head image data and / or the difference image The difference image data corresponding to the difference changed from the data is stored, it is determined whether or not the elapsed time at the time when the difference image data is acquired exceeds a predetermined time, and it is determined that the predetermined time is exceeded In this case, time stamp information corresponding to the elapsed time is stored.

次に、上記目的を達成するために第10発明に係るコンピュータプログラムは、被制御機器に接続してある複数の拡張ユニット及びCPUユニットで構成してあり、拡張ユニットの動作をシーケンシャル制御するプログラマブルコントローラとデータ送受信することが可能に接続してあり、該プログラマブルコントローラとデータ送受信することにより前記拡張ユニットの動作状況をラダー形式で表示するコンピュータで実行することが可能なコンピュータプログラムにおいて、前記コンピュータを、前記拡張ユニットの動作状況をラダー形式で表示したラダー図を含む表示画面の、録画の開始指示及び停止指示を受け付ける開始・停止指示受付手段、及び該開始・停止指示受付手段が前記録画の開始指示を受け付けてから停止指示を受け付けるまでの表示画面の遷移を、開始指示を受け付けた時点での表示画面の画像データである先頭画像データと、該先頭画像データに続く複数の差分画像データと、前記先頭画像データ及び/又は前記差分画像データを取得した時点からの経過時間を示すタイムスタンプ情報とを含む一の動画像データとして記憶する動画像記憶手段として機能させ、前記動画像記憶手段を、前記先頭画像データを記憶する先頭画像データ記憶手段、表示画面の変更を検知する変更検知手段、前記録画の開始指示を受け付けた後、該変更検知手段が、前記表示画面の変更を検知した場合、前記先頭画像データ及び/又は前記差分画像データから変更された差分に相当する差分画像データを記憶する差分画像データ記憶手段、及び該差分画像データを取得した時点での経過時間が所定時間を超えているか否かを判断し、該所定時間を超えていると判断した場合、前記経過時間に対応するタイムスタンプ情報を記憶するタイムスタンプ情報記憶手段として機能させることを特徴とする。   Next, in order to achieve the above object, a computer program according to the tenth invention comprises a plurality of expansion units and CPU units connected to the controlled device, and a programmable controller that sequentially controls the operations of the expansion units. In a computer program that can be executed by a computer that displays the operation status of the expansion unit in a ladder format by transmitting and receiving data to and from the programmable controller, the computer is A start / stop instruction receiving means for receiving a recording start instruction and a stop instruction on a display screen including a ladder diagram displaying the operation status of the extension unit in a ladder format, and the start / stop instruction receiving means is a start instruction for the recording Receive stop instructions after receiving Transition of the display screen until the start instruction is received, start image data which is image data of the display screen at the time when the start instruction is received, a plurality of difference image data following the start image data, the start image data and / or the The moving image storage means functions as moving image storage means for storing as one moving image data including time stamp information indicating the elapsed time from the time when the difference image data is acquired, and the moving image storage means stores the leading image data at the beginning. Image data storage means, change detection means for detecting a change in display screen, and after receiving the recording start instruction, if the change detection means detects a change in the display screen, the head image data and / or the Difference image data storage means for storing difference image data corresponding to the difference changed from the difference image data, and the time when the difference image data is acquired It is determined whether or not the elapsed time exceeds a predetermined time, and when it is determined that the predetermined time is exceeded, the time stamp information storage means for storing time stamp information corresponding to the elapsed time Features.

また、第11発明に係るコンピュータプログラムは、第10発明において、前記変更検知手段を、イベントが発生したか否かを検知するイベント検知手段、及び該イベント検知手段が、イベントが発生したことを検知した場合、該イベントが表示画面を変更するか否かを判断するイベント判断手段として機能させることを特徴とする。   The computer program according to an eleventh aspect of the invention is the computer program according to the tenth aspect, wherein the change detection means detects whether an event has occurred, and the event detection means detects that an event has occurred. In such a case, the event functions as an event judging means for judging whether or not the event changes the display screen.

また、第12発明に係るコンピュータプログラムは、第10発明において、前記変更検知手段を、前回変更が検知された時点の表示画面から変更されているか否かを判断する変更判断手段として機能させることを特徴とする。   The computer program according to a twelfth aspect of the invention is the computer program according to the tenth aspect of the invention, wherein the change detection means functions as a change determination means for determining whether or not the display screen at the time when the previous change was detected has been changed. Features.

また、第13発明に係るコンピュータプログラムは、第10発明において、前記コンピュータを、前記変更検知手段の選択を受け付ける検知方法選択受付手段として機能させ、該検知方法選択受付手段で選択を受け付けていない場合、前記変更検知手段を、前回変更が検知された時点の表示画面から変更されているか否かを判断する手段として機能させることを特徴とする。   The computer program according to the thirteenth invention is the computer program according to the tenth invention, wherein the computer is caused to function as a detection method selection receiving means for receiving selection of the change detection means, and the selection is not received by the detection method selection receiving means. The change detection means functions as means for determining whether or not the change has been made from the display screen at the time when the previous change was detected.

また、第14発明に係るコンピュータプログラムは、第10乃至第13発明のいずれか1つにおいて、前記コンピュータを、前記表示画面の録画の一時停止指示を受け付ける一時停止指示受付手段として機能させ、録画の開始指示を受け付けた後、一時停止指示を受け付け、再び録画の開始指示を受け付けた後に停止指示を受け付けた場合、前記動画像記憶手段を、前記開始・停止指示受付手段が最初に録画の開始指示を受け付けてから停止指示を受け付けるまでの一連の表示画面を一の動画像データとして記憶する手段として機能させることを特徴とする。   According to a fourteenth aspect of the present invention, there is provided a computer program according to any one of the tenth to thirteenth aspects, causing the computer to function as a pause instruction receiving unit that receives a pause instruction for recording the display screen. After accepting a start instruction, accepting a pause instruction, receiving a stop instruction after accepting a start instruction for recording again, and if the stop instruction is accepted, the start / stop instruction accepting means first instructs the start of recording A series of display screens from when the image is received until the stop instruction is received is made to function as means for storing as a single moving image data.

また、第15発明に係るコンピュータプログラムは、第10乃至第14発明のいずれか1つにおいて、前記コンピュータを、録画する対象となる前記表示画面の画像データの全部又は一部を録画領域として指定を受け付ける録画領域指定受付手段として機能させ、前記動画像記憶手段を、前記表示画面のうち前記録画領域内の画面の遷移を動画像データとして記憶する手段として機能させることを特徴とする。   A computer program according to a fifteenth invention is the computer program according to any one of the tenth to fourteenth inventions, wherein the computer designates all or part of the image data of the display screen to be recorded as a recording area. It functions as a recording area designation receiving means for receiving, and the moving image storage means functions as means for storing, as moving image data, screen transitions in the recording area of the display screen.

第1発明、第9発明及び第10発明では、被制御機器に接続してある複数の拡張ユニット及びCPUユニットで構成してあり、拡張ユニットの動作をシーケンシャル制御するプログラマブルコントローラとデータ送受信することが可能に接続してあり、該プログラマブルコントローラとデータ送受信することにより拡張ユニットの動作状況をラダー形式で表示するコンピュータの表示画面を録画する。拡張ユニットの動作状況をラダー形式で表示したラダー図を含む表示画面の、録画の開始指示及び停止指示を受け付け、録画の開始指示を受け付けてから停止指示を受け付けるまでの表示画面の遷移を、開始指示を受け付けた時点での表示画面の画像データである先頭画像データと、該先頭画像データに続く複数の差分画像データと、先頭画像データ及び/又は差分画像データを取得した時点からの経過時間を示すタイムスタンプ情報とを含む一の動画像データとして記憶する。先頭画像データを記憶しておき、録画の開始指示を受け付けた後で表示画面の変更を検知した場合、先頭画像データ及び/又は差分画像データから変更された差分に相当する差分画像データを記憶する。差分画像データを取得した時点での経過時間が所定時間を超えているか否かを判断し、所定時間を超えていると判断した場合、経過時間に対応するタイムスタンプ情報を記憶する。   In the first invention, the ninth invention, and the tenth invention, a plurality of extension units and CPU units connected to the controlled device are configured, and data can be transmitted to and received from a programmable controller that sequentially controls the operation of the extension units. The display screen of the computer that displays the operation status of the expansion unit in a ladder format is recorded by transmitting and receiving data to and from the programmable controller. Accepts recording start and stop instructions on the display screen that includes the ladder diagram that displays the operation status of the expansion unit in a ladder format, and starts the transition of the display screen from when the recording start instruction is accepted until the stop instruction is accepted The head image data that is the image data of the display screen at the time when the instruction is received, a plurality of difference image data following the head image data, and the elapsed time from the time when the head image data and / or difference image data is acquired. And stored as one moving image data including the time stamp information shown. First image data is stored, and when a change in the display screen is detected after receiving a recording start instruction, difference image data corresponding to a difference changed from the first image data and / or difference image data is stored. . It is determined whether or not the elapsed time at the time when the difference image data is acquired exceeds a predetermined time. If it is determined that the elapsed time exceeds the predetermined time, time stamp information corresponding to the elapsed time is stored.

これにより、拡張ユニットの動作状況を監視しているコンピュータの表示画面の遷移を示す動画像データを常時取得する必要がなく、表示画面の変更を検知した時点で差分画像データ及びタイムスタンプ情報を随時記憶することで、動画像データの記憶容量を大きく圧縮することが可能となる。例えば、変更を検知するまでの経過時間が1ms以下である場合には定期的なタイムスタンプ情報を1ms間隔で記憶し、変更を検知しない時間が10ms以上となっている場合にはタイムスタンプ情報を10ms、100ms、1s等の単位でまとめた値として記憶することにより、全体として動画像データの記憶容量を大幅に削減することができる。したがって、少ない記憶容量でコンピュータの表示画面の遷移を示す動画像データを記憶しておくことができ、障害の発生時等に発生原因を容易に特定することも可能となる。なお、経過時間の計時を開始する「画像データを取得した時点」とは、録画の開始指示を示す信号の取得時点、先頭画像データを記憶する処理の所定のタイミング等を含む。また、「経過時間」は、先頭画像データを取得した時点からの経過時間を直接的又は間接的に示しているが、「タイムスタンプ情報」は先頭画像データを取得した時点からの経過時間だけではなく、前回の差分画像データ取得時からの経過時間であっても良い。   As a result, it is not necessary to constantly acquire moving image data indicating the transition of the display screen of the computer that monitors the operation status of the expansion unit, and the difference image data and the time stamp information are always obtained when a change in the display screen is detected. By storing, the storage capacity of the moving image data can be greatly compressed. For example, if the elapsed time until a change is detected is 1 ms or less, periodic time stamp information is stored at 1 ms intervals, and if the time when no change is detected is 10 ms or more, the time stamp information is stored. By storing the values together in units of 10 ms, 100 ms, 1 s, etc., the entire storage capacity of the moving image data can be greatly reduced. Therefore, it is possible to store moving image data indicating the transition of the display screen of the computer with a small storage capacity, and it is possible to easily identify the cause of occurrence when a failure occurs. It should be noted that the “time when image data is acquired” at which the elapsed time is started includes an acquisition time of a signal indicating a recording start instruction, a predetermined timing of processing for storing the head image data, and the like. “Elapsed time” directly or indirectly indicates the elapsed time from the time when the top image data was acquired, but “time stamp information” is not only the elapsed time from the time when the top image data was acquired. Alternatively, it may be the elapsed time from the previous acquisition of the difference image data.

第2発明及び第11発明では、イベントが発生したか否かを検知し、イベントが発生したことを検知した場合、該イベントが表示画面を変更するか否かを判断する。これにより、イベントの発生状況を常時監視しておくことで、表示画面の変更を検知することができ、差分画像データを取得することが可能となる。   In the second invention and the eleventh invention, it is detected whether or not an event has occurred. When it is detected that an event has occurred, it is determined whether or not the event changes the display screen. Accordingly, by constantly monitoring the event occurrence status, it is possible to detect a change in the display screen and to acquire difference image data.

第3発明及び第12発明では、前回変更が検知された時点の表示画面から変更されているか否かを判断することにより、直接的に差分画像データを取得することが可能となる。   In the third and twelfth inventions, it is possible to directly acquire the difference image data by determining whether or not the display screen has been changed from the time when the previous change was detected.

第4発明及び第13発明では、表示画面の変更を検知する方法の選択を受け付けることが可能としてあり、選択を受け付けていない場合には、前回変更が検知された時点の表示画面から変更されているか否かを判断する方法を採用する。これにより、アプリケーションに応じて適切な表示画面の変更を検知する方法を選択することができるとともに、通常は前回変更が検知された時点の表示画面から変更されているか否かを判断することにより、直接的に差分画像データを取得することが可能となる。   In the fourth invention and the thirteenth invention, it is possible to accept selection of a method for detecting a change in the display screen. If the selection is not accepted, the display screen is changed from the point in time when the previous change was detected. A method for determining whether or not there is a problem is adopted. As a result, it is possible to select an appropriate display screen change method according to the application, and by determining whether or not the display screen has been changed from the time when the previous change was detected, It becomes possible to directly acquire the difference image data.

第5発明及び第14発明では、表示画面の録画の一時停止指示を受け付けることが可能としてあり、録画の開始指示を受け付けた後、一時停止指示を受け付け、再び録画の開始指示を受け付けた後に停止指示を受け付けた場合、最初に録画の開始指示を受け付けてから停止指示を受け付けるまでの一連の表示画面を一の動画像データとして記憶する。これにより、録画の一時停止指示を受け付けた場合であっても、記憶される動画像データが細分化されることがなく、停止しじを受け付けるまでの一連の表示画面を一の動画像データとして、不要な部分を削除した動画像データを記憶することが可能となる。   In the fifth invention and the fourteenth invention, it is possible to accept an instruction to pause recording on the display screen. After accepting an instruction to start recording, accept an instruction to pause, and stop after accepting an instruction to start recording again. When the instruction is received, a series of display screens from when the recording start instruction is received first until the stop instruction is received is stored as one moving image data. Thus, even when a recording pause instruction is received, the stored moving image data is not subdivided, and a series of display screens until a stop signal is received is set as one moving image data. It is possible to store moving image data from which unnecessary portions are deleted.

第6発明では、一時停止ボタンを、開始ボタンと停止ボタンとの間に配置しておき、開始ボタン、一時停止ボタン、及び停止ボタンを一列に配列して表示することにより、右利きのユーザにとってマウス操作に使い勝手の良いユーザインタフェースを提供することができるとともに、視覚的に誤った操作を回避することもできる。   In the sixth invention, a pause button is arranged between the start button and the stop button, and the start button, the pause button, and the stop button are arranged and displayed in a line, so that a right-handed user can In addition to providing a user interface that is easy to use for mouse operations, it is also possible to avoid visually erroneous operations.

第7発明及び第15発明では、録画する対象となる表示画面の画像データの全部又は一部を録画領域として指定を受け付け、表示画面のうち録画領域内の画面の遷移を動画像データとして記憶することにより、表示画面全体ではなく必要な領域のみの動画像データを記憶することができ、動画像データの記憶容量をより削減することが可能となる。   In the seventh and fifteenth inventions, designation is accepted for all or part of the image data of the display screen to be recorded as a recording area, and the transition of the screen in the recording area of the display screen is stored as moving image data. As a result, it is possible to store moving image data only in a necessary area instead of the entire display screen, and it is possible to further reduce the storage capacity of the moving image data.

第8発明では、録画領域外にて録画の開始指示及び停止指示を受け付けるようにすることで、マウス操作によるカーソルの映り込みを意識して回避することができ、不要な差分画像データを記憶することなく、動画像データの記憶容量をより削減することが可能となる。   In the eighth aspect of the invention, by accepting a recording start instruction and a stop instruction outside the recording area, it is possible to avoid the reflection of the cursor by the mouse operation and to store unnecessary difference image data. Thus, the storage capacity of the moving image data can be further reduced.

上記構成によれば、拡張ユニットの動作を監視しているコンピュータの表示画面の遷移を示す動画像データを常時取得する必要がなく、表示画面の変更を検知した時点で差分画像データ及びタイムスタンプ情報を随時記憶することで、動画像データの記憶容量を大きく圧縮することが可能となる。例えば、変更を検知するまでの経過時間が1ms以下である場合には定期的なタイムスタンプ情報を1ms間隔で記憶し、変更を検知しない時間が10ms以上となっている場合にはタイムスタンプ情報を10ms、100ms、1s等の単位でまとめた値として記憶することにより、全体として動画像データの記憶容量を大幅に削減することができる。したがって、少ない記憶容量でコンピュータの表示画面を監視する動画像データを記憶しておくことができ、障害の発生時等に発生原因を容易に特定することも可能となる。   According to the above configuration, there is no need to constantly acquire moving image data indicating the transition of the display screen of the computer that is monitoring the operation of the expansion unit, and difference image data and time stamp information are detected when a change in the display screen is detected. Can be stored at any time, so that the storage capacity of the moving image data can be greatly compressed. For example, if the elapsed time until a change is detected is 1 ms or less, periodic time stamp information is stored at 1 ms intervals, and if the time when no change is detected is 10 ms or more, the time stamp information is stored. By storing the values together in units of 10 ms, 100 ms, 1 s, etc., the entire storage capacity of the moving image data can be greatly reduced. Therefore, moving image data for monitoring the computer display screen can be stored with a small storage capacity, and the cause of the occurrence can be easily specified when a failure occurs.

本発明の実施の形態に係る録画装置により監視対象となるプログラマブルコントローラの構成を示す模式図である。It is a schematic diagram which shows the structure of the programmable controller used as the monitoring object by the video recording apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係る録画装置を、CPU等の制御部を用いて構成した場合の構成を示すブロック図である。It is a block diagram which shows the structure at the time of comprising the video recording apparatus concerning embodiment of this invention using control parts, such as CPU. 本発明の実施の形態に係る録画装置の機能を示す機能ブロック図である。It is a functional block diagram which shows the function of the video recording apparatus concerning embodiment of this invention. 本発明の実施の形態に係る録画装置の変更検知処理及び差分画像データ取得処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the change detection process of the recording device which concerns on embodiment of this invention, and a difference image data acquisition process. 本発明の実施の形態に係る録画装置で記憶される差分画像データの内容を示すイメージ図である。It is an image figure which shows the content of the difference image data memorize | stored with the video recording apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係る録画装置の、タイムスタンプ情報を含む画像履歴情報記憶部に記憶するデータ構造の例示図である。It is an illustration figure of the data structure memorize | stored in the image history information storage part containing time stamp information of the video recording apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係る録画装置の録画処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the video recording process of the video recording apparatus which concerns on embodiment of this invention. 表示画面の一部を録画領域として指定する場合の画面の例示図である。It is an illustration figure of the screen in the case of designating a part of display screen as a recording area. 事前に作成された設定ファイルの例示図である。It is an illustration figure of the setting file produced in advance. マウス等の操作によりフリーハンドで文字等を記載した場合の表示画面の例示図である。It is an illustration figure of a display screen at the time of describing a character etc. by freehand by operation of a mouse | mouth etc. FIG. キーボードでキーインする場合の表示画面の例示図である。It is an illustration figure of the display screen in the case of keying in with a keyboard. マウスの操作画面を加えた表示画面の例示図である。It is an illustration figure of the display screen which added the operation screen of the mouse.

以下、本発明の実施の形態に係る録画装置について、図面に基づいて具体的に説明する。本発明の実施の形態に係る録画装置は、プログラマブルコントローラを監視する監視装置に組み込まれている。   Hereinafter, a recording apparatus according to an embodiment of the present invention will be specifically described with reference to the drawings. A recording apparatus according to an embodiment of the present invention is incorporated in a monitoring apparatus that monitors a programmable controller.

図1は、本発明の実施の形態に係る録画装置により監視対象となるプログラマブルコントローラの構成を示す模式図である。図1に示すように、プログラマブルコントローラ1は、CPUユニット2と、機能ごとに独立した複数の拡張ユニット3、3、・・・とで構成されている。拡張ユニット3a、3b、・・・には、機能ごとに動作を制御する対象となる被制御機器5、5、・・・が接続してあり、CPUユニット2からの指令に従って各被制御機器5の動作を制御する。   FIG. 1 is a schematic diagram showing a configuration of a programmable controller to be monitored by the recording apparatus according to the embodiment of the present invention. As shown in FIG. 1, the programmable controller 1 includes a CPU unit 2 and a plurality of expansion units 3, 3,. Are connected to controlled devices 5, 5,... To be controlled for each function, and each controlled device 5 is controlled according to a command from the CPU unit 2. To control the operation.

CPUユニット2は、内蔵するメモリに記憶してある制御プログラムにしたがって、接続してある拡張ユニット3a、3b、・・・に対して指令を送出するCPUを備えている。また、拡張ユニット3a、3b、・・・は、CPUユニット2からの指令に従って、接続してある被制御機器5、5、・・・の動作を制御する。なお、被制御機器5、5、・・・の動作を制御するためのパラメータ情報等は、拡張ユニット3a、3b、・・・に内蔵するメモリに記憶してある。   The CPU unit 2 includes a CPU that sends a command to the connected expansion units 3a, 3b,... According to a control program stored in a built-in memory. Further, the expansion units 3a, 3b,... Control the operation of the connected controlled devices 5, 5,. Here, parameter information for controlling the operation of the controlled devices 5, 5,... Is stored in a memory built in the expansion units 3a, 3b,.

録画装置4は、CPUユニット2とデータ通信することが可能に接続してあり、CPUユニット2及び接続してある拡張ユニット3、3、・・・の動作状況を示す監視画面を表示する監視装置として機能している。表示される監視画面を録画することにより、プログラマブルコントローラ1に障害等が発生した場合に、原因の特定が容易となる。図2は、本発明の実施の形態に係る録画装置4を、CPU等の制御部を用いて構成した場合の構成を示すブロック図である。   The recording device 4 is connected so as to be able to perform data communication with the CPU unit 2 and displays a monitoring screen showing the operation status of the CPU unit 2 and the connected expansion units 3, 3,. Is functioning as By recording the displayed monitoring screen, it becomes easy to identify the cause when a failure or the like occurs in the programmable controller 1. FIG. 2 is a block diagram showing a configuration when the recording device 4 according to the embodiment of the present invention is configured using a control unit such as a CPU.

図2に示すように本実施の形態に係る録画装置4は、少なくとも制御部(CPU)41、メモリ42、ハードディスク等の記憶装置43、I/Oインタフェース44、ビデオインタフェース45、通信インタフェース46、可搬型ディスクドライブ47及び上述したハードウェアを接続する内部バス48で構成されている。   As shown in FIG. 2, the recording apparatus 4 according to the present embodiment includes at least a control unit (CPU) 41, a memory 42, a storage device 43 such as a hard disk, an I / O interface 44, a video interface 45, a communication interface 46, It comprises a portable disk drive 47 and an internal bus 48 for connecting the hardware described above.

制御部41は、内部バス48を介して録画装置4の上述したようなハードウェア各部と接続されており、上述したハードウェア各部の動作を制御するとともに、記憶装置43に記憶しているコンピュータプログラム100に従って、種々のソフトウェア的機能を実行する。メモリ42は、SRAM、SDRAM等の揮発性メモリで構成され、コンピュータプログラム100の実行時にロードモジュールが展開され、コンピュータプログラム100の実行時に発生する一時的なデータ等を記憶する。   The control unit 41 is connected to each hardware unit as described above of the recording device 4 via the internal bus 48, controls the operation of each hardware unit described above, and stores the computer program stored in the storage device 43. According to 100, various software functions are performed. The memory 42 is composed of a volatile memory such as SRAM or SDRAM, and a load module is expanded when the computer program 100 is executed, and stores temporary data generated when the computer program 100 is executed.

記憶装置43は、内蔵される固定型記憶装置(ハードディスク)、ROM等で構成されている。記憶装置43に記憶しているコンピュータプログラム100は、プログラム及びデータ等の情報を記録したDVD、CD−ROM等の可搬型記録媒体90から、可搬型ディスクドライブ47によりダウンロードされ、実行時には記憶装置43からメモリ42へ展開して実行される。もちろん、通信インタフェース46を介してネットワークに接続されている外部のコンピュータからダウンロードされたコンピュータプログラムであっても良い。   The storage device 43 includes a built-in fixed storage device (hard disk), a ROM, and the like. The computer program 100 stored in the storage device 43 is downloaded by a portable disk drive 47 from a portable recording medium 90 such as a DVD or CD-ROM in which information such as programs and data is recorded. To the memory 42 and executed. Of course, a computer program downloaded from an external computer connected to the network via the communication interface 46 may be used.

また記憶装置43は、画像履歴情報記憶部431を備えている。画像履歴情報記憶部431は、被制御機器5、5、・・・が接続してある拡張ユニット3a、3b、・・・の動作状況をCPUユニット2が把握し、監視装置として機能する録画装置4に表示される、ラダープログラムの実行状況を示す表示画面の遷移を、画像の履歴情報として記憶する。   The storage device 43 includes an image history information storage unit 431. The image history information storage unit 431 is a recording device that the CPU unit 2 grasps the operation status of the extension units 3a, 3b,... To which the controlled devices 5, 5,. The transition of the display screen displayed in 4 indicating the execution status of the ladder program is stored as image history information.

I/Oインタフェース44は、キーボード441、マウス442等の入力装置と接続され、データの入力を受け付ける。また、ビデオインタフェース45は、CRTモニタ、LCD等の表示装置451と接続され、所定の画像を表示する。   The I / O interface 44 is connected to input devices such as a keyboard 441 and a mouse 442 and receives data input. The video interface 45 is connected to a display device 451 such as a CRT monitor or LCD, and displays a predetermined image.

通信インタフェース46は内部バス48に接続されており、インターネット、LAN、WAN等の外部のネットワークに接続されることにより、外部のコンピュータ等とデータ送受信することが可能となっている。また、通信線を介してCPUユニット2へデータ送受信することが可能となっている。   The communication interface 46 is connected to an internal bus 48, and is connected to an external network such as the Internet, a LAN, or a WAN, so that data can be transmitted / received to / from an external computer or the like. In addition, data can be transmitted / received to / from the CPU unit 2 via a communication line.

図3は、本発明の実施の形態に係る録画装置4の機能を示す機能ブロック図である。図3において、開始・停止指示受付部301は、プログラマブルコントローラ1の動作状況を監視する表示画面の録画を開始する開始指示、又は録画を停止する停止指示を受け付ける。開始指示又は停止指示を受け付ける方法は特に限定されるものではなく、例えば画面上に表示されている開始ボタン又は停止ボタンが、マウス442でクリック操作されたことを検知した場合に、開始指示又は停止指示を受け付ける。   FIG. 3 is a functional block diagram showing functions of the recording apparatus 4 according to the embodiment of the present invention. In FIG. 3, a start / stop instruction receiving unit 301 receives a start instruction for starting recording of a display screen for monitoring the operation status of the programmable controller 1 or a stop instruction for stopping recording. The method for accepting the start instruction or the stop instruction is not particularly limited. For example, when it is detected that the start button or the stop button displayed on the screen is clicked with the mouse 442, the start instruction or the stop instruction is received. Accept instructions.

動画像記憶部302は、表示装置451に表示される動画像データをそのまま記憶するのではなく、記憶容量を削減する新たなデータ構造により画像履歴情報記憶部431に記憶する。すなわち、先頭画像データ記憶部311は、開始指示を受け付けた時点で表示装置451に表示されている画面を先頭画像データとして画像履歴情報記憶部431に記憶する。   The moving image storage unit 302 does not store the moving image data displayed on the display device 451 as it is, but stores it in the image history information storage unit 431 with a new data structure that reduces the storage capacity. That is, the head image data storage unit 311 stores, in the image history information storage unit 431, the screen displayed on the display device 451 when the start instruction is received as head image data.

次に、変更検知部312は、表示装置451に表示されている画面が先頭画像データから変更されたこと、又は直前に記憶された画像データと異なる画像データに変更されたことを検知する。変更を検知する方法は特に限定されるものではないが、例えばラダープログラムに情報が付加された場合に、情報が付加された画面上の位置情報と、該位置情報に対応する画像情報とを直接検知する方法が好ましい(以下、信号フック法という)。すなわち、前回変更が検知された時点の表示画面から変更されているか否かを判断することにより、変更信号として変更された画像の位置情報及び画像情報を取得することができ、先頭画像データからの差分画像データ、又は直前に記憶された画像データからの差分画像データを直接的に取得することが可能となる。   Next, the change detection unit 312 detects that the screen displayed on the display device 451 has been changed from the top image data or has been changed to image data different from the image data stored immediately before. The method for detecting the change is not particularly limited. For example, when information is added to the ladder program, the position information on the screen to which the information is added and the image information corresponding to the position information are directly displayed. A detection method is preferable (hereinafter referred to as a signal hook method). That is, it is possible to obtain the position information and image information of the changed image as a change signal by determining whether or not the display screen has been changed from the point in time when the previous change was detected. It becomes possible to directly acquire the difference image data from the difference image data or the image data stored immediately before.

一方、マイクロソフト社製のオペレーションシステムであるウインドウズ(登録商標)では、表示画面が変更された場合には何らかのイベントの発生を検知することができる(以下、画面フック法という)。したがって、イベントが発生したことを検知した場合、該イベントが表示画面を変更するか否かを判断することにより、表示画面の変更を検知することができる。この場合、発生したイベントにより変更された表示画面の位置情報のみを取得することができるので、取得した位置情報に基づいて、先頭画像データからの差分画像データ、又は直前に記憶された画像データからの差分画像データを取得する必要が生じる。   On the other hand, Windows (registered trademark), which is an operation system manufactured by Microsoft, can detect the occurrence of some event when the display screen is changed (hereinafter referred to as a screen hook method). Therefore, when it is detected that an event has occurred, a change in the display screen can be detected by determining whether the event changes the display screen. In this case, since only the position information of the display screen changed by the event that has occurred can be acquired, based on the acquired position information, from the difference image data from the top image data or the image data stored immediately before It is necessary to acquire the difference image data.

変更を検知する方法として信号フック法、画面フック法等の複数の方法を実行することが可能としておき、検知方法の選択を受け付けても良い。これにより、適切な検知方法により画面の変更を検知することができる。この場合、検知方法の選択を受け付けないときには、信号フック法を選択することが好ましい。特に選択を受け付けない場合には信号フック法を採用するようにしておくことで、直接的に差分画像データを取得することが可能となる。   A plurality of methods such as a signal hook method and a screen hook method can be executed as a method for detecting a change, and selection of a detection method may be accepted. Thereby, the change of the screen can be detected by an appropriate detection method. In this case, when the selection of the detection method is not accepted, it is preferable to select the signal hook method. In particular, when the selection is not accepted, the difference image data can be directly acquired by adopting the signal hook method.

図4は、本発明の実施の形態に係る録画装置4の変更検知処理及び差分画像データ取得処理の手順を示すフローチャートである。図4に示すように、録画装置4の制御部41は、検知方法の選択を受け付けたか否かを判断する(ステップS401)。検知方法の選択は、例えば設定画面等におけるパラメータ設定を受け付けても良いし、特に限定されるものではない。   FIG. 4 is a flowchart showing a procedure of change detection processing and difference image data acquisition processing of the recording apparatus 4 according to the embodiment of the present invention. As illustrated in FIG. 4, the control unit 41 of the recording device 4 determines whether or not selection of a detection method has been accepted (step S <b> 401). The selection of the detection method is not particularly limited, for example, parameter setting on a setting screen or the like may be accepted.

制御部41が、検知方法の選択を受け付けたと判断した場合(ステップS401:YES)、制御部41は、選択を受け付けた検知方法が信号フック法であるか否かを判断する(ステップS402)。制御部41が、選択を受け付けた検知方法が信号フック法であると判断した場合(ステップS402:YES)、又は検知方法の選択を受け付けていないと判断した場合(ステップS401:NO)、制御部41は、表示画面が変更されたか否かを判断する(ステップS403)。   When the control unit 41 determines that the selection of the detection method has been received (step S401: YES), the control unit 41 determines whether or not the detection method that has received the selection is the signal hook method (step S402). When the control unit 41 determines that the detection method that has received the selection is the signal hook method (step S402: YES), or when it is determined that the selection of the detection method has not been received (step S401: NO), the control unit 41 determines whether the display screen has been changed (step S403).

制御部41が、表示画面が変更されていないと判断した場合(ステップS403:NO)、制御部41は、表示画面の監視状態となる。制御部41が、表示画面が変更されたと判断した場合(ステップS403:YES)、制御部41は、変更される前の表示画面との差分画像データを取得する(ステップS404)。   When the control unit 41 determines that the display screen has not been changed (step S403: NO), the control unit 41 enters a display screen monitoring state. When the control unit 41 determines that the display screen has been changed (step S403: YES), the control unit 41 acquires difference image data from the display screen before the change (step S404).

制御部41が、選択を受け付けた検知方法が信号フック法ではないと判断した場合(ステップS402:NO)、制御部41は、指定を受け付けた検知方法が画面フック法であると判断し、何らかのイベントが発生したか否かを検知する(ステップS405)。制御部41が、何らかのイベントが発生したことを検知した場合(ステップS405:YES)、制御部41は、画面が変更されたか否かを判断する(ステップS406)。   When the control unit 41 determines that the detection method that has received the selection is not the signal hook method (step S402: NO), the control unit 41 determines that the detection method that has received the designation is the screen hook method, It is detected whether or not an event has occurred (step S405). When the control unit 41 detects that some event has occurred (step S405: YES), the control unit 41 determines whether or not the screen has been changed (step S406).

制御部41が、画面が変更されていないと判断した場合(ステップS406:NO)、又は何らイベントが発生したことを検知しない場合(ステップS405:NO)、制御部41は、新たなイベントの発生待ち状態となる。制御部41が、画面が変更されたと判断した場合(ステップS406:YES)、制御部41は、画面が変更された部分の位置情報を取得し(ステップS407)、取得した位置情報に基づいて、先頭画像データ及び/又は差分画像データと比較して変更された差分に相当する差分画像データを取得する(ステップS408)。   When the control unit 41 determines that the screen has not been changed (step S406: NO), or when no event has been detected (step S405: NO), the control unit 41 generates a new event. It will be in a waiting state. When the control unit 41 determines that the screen has been changed (step S406: YES), the control unit 41 acquires the position information of the portion where the screen has been changed (step S407), and based on the acquired position information, Difference image data corresponding to the difference changed by comparison with the head image data and / or difference image data is acquired (step S408).

図5は、本発明の実施の形態に係る録画装置4で記憶される差分画像データの内容を示すイメージ図である。図5の例では、プログラマブルコントローラ1の動作状況を示すラダー図の表示画面及び取得する画像データの一例を示している。図5(a)〜(c)は、ラダー図の表示画面の一例を、図5(d)〜(f)は、表示画面に対応した画像データの一例を、それぞれ示す。   FIG. 5 is an image diagram showing the contents of the difference image data stored in the recording device 4 according to the embodiment of the present invention. In the example of FIG. 5, an example of a display screen of a ladder diagram showing the operation status of the programmable controller 1 and acquired image data is shown. FIGS. 5A to 5C show examples of display screens of ladder diagrams, and FIGS. 5D to 5F show examples of image data corresponding to the display screens.

図5(a)のラダー図は、開始指示を受け付けた時点の表示画面である。図5(a)には2つのコマンドが記載してあり、図5(a)の表示画面自体を図5(d)に示す先頭画像データとして取得し、画像履歴情報記憶部431に記憶する。なお、先頭画像データとして、開始指示を受け付けた時点の表示画面そのものを取得することに限定されるものではなく、ブランク画像との間の差分画像データとして取得しても良い。この場合、画像履歴情報記憶部431に記憶されている差分画像データを、ブランク画像に順次重ね合わせることで、任意の時点における表示画面を復元することができる。   The ladder diagram in FIG. 5A is a display screen when a start instruction is received. FIG. 5A describes two commands. The display screen itself of FIG. 5A is acquired as the first image data shown in FIG. 5D and stored in the image history information storage unit 431. The head image data is not limited to acquiring the display screen itself when the start instruction is received, and may be acquired as difference image data from the blank image. In this case, the display screen at an arbitrary time can be restored by sequentially superimposing the difference image data stored in the image history information storage unit 431 on the blank image.

図5(b)では、最初のコマンドが実行済みであることを示すように、黒く塗りつぶした方形51が記載されている。この場合、方形51が記載された図5(b)に対応する画像データを記憶するのではなく、図5(e)に示すように、更新された方形52のみを記載してある差分画像データを取得し、画像履歴情報記憶部431に記憶する。   In FIG. 5B, a black rectangle 51 is shown to indicate that the first command has been executed. In this case, instead of storing the image data corresponding to FIG. 5B in which the square 51 is described, as shown in FIG. 5E, difference image data in which only the updated square 52 is described. Is stored in the image history information storage unit 431.

同様に、図5(c)では、2番目のコマンドも実行済みであることを示すように、黒く塗りつぶした円形53が記載されている。この場合も、円形53が記載された図5(c)に対応する画像データを記憶するのではなく、図5(f)に示すように、更新された円形54のみを記載してある差分画像データを取得し、画像履歴情報記憶部431に記憶する。   Similarly, in FIG. 5C, a circle 53 filled with black is described so as to indicate that the second command has also been executed. Also in this case, the image data corresponding to FIG. 5C in which the circle 53 is described is not stored, but as shown in FIG. 5F, the difference image in which only the updated circle 54 is described. Data is acquired and stored in the image history information storage unit 431.

図3に示すように、差分画像データ記憶部313は、上述したような処理により取得した差分画像データを画像履歴情報記憶部431に記憶する。タイムスタンプ情報記憶部314は、先頭画像データを記憶した時点からの経過時間をタイムスタンプ情報として記憶する。具体的には、先頭画像データを取得してから次の差分画像データを取得するまでの経過時間、差分画像データを取得してから次の差分画像データを取得するまでの経過時間が、所定時間よりも短い場合には、所定時間間隔でタイムスタンプ情報を記憶する。また、所定時間よりも長い場合については、次の差分画像データを取得するまでの経過時間を、取得した差分画像データに対応付けて記憶する。タイムスタンプ情報は、基準となる時刻、例えば先頭画像データを取得した時点からの経過時間に基づいて時間間隔を算出しても良いし、差分画像データを取得した時点からの経過時間を直接計時しても良い。   As illustrated in FIG. 3, the difference image data storage unit 313 stores the difference image data acquired by the processing as described above in the image history information storage unit 431. The time stamp information storage unit 314 stores the elapsed time from the time when the head image data is stored as time stamp information. Specifically, the elapsed time from the acquisition of the first image data to the acquisition of the next difference image data, the elapsed time from the acquisition of the difference image data to the acquisition of the next difference image data, a predetermined time If it is shorter, the time stamp information is stored at predetermined time intervals. When the time is longer than the predetermined time, the elapsed time until the next difference image data is acquired is stored in association with the acquired difference image data. For the time stamp information, the time interval may be calculated based on a reference time, for example, the elapsed time from the time when the first image data is acquired, or the elapsed time from the time when the difference image data is acquired is directly counted. May be.

なお、画像データを取得した時点とは、画像データを記憶装置43へ記憶する処理の開始時、記憶する処理の開始時から終了時までの所定の時刻、画像データを記憶装置43へ記憶する処理の終了時等を含む広い概念である。また、タイムスタンプ情報は独立して記憶されるものではなく、差分画像データに対応付けて記憶される。   Note that the time point when the image data is acquired is the process of storing the image data in the storage device 43 at a predetermined time from the start to the end of the storage process at the start of the process of storing the image data in the storage device 43. It is a broad concept including the end time of. Further, the time stamp information is not stored independently, but is stored in association with the difference image data.

図6は、本発明の実施の形態に係る録画装置4の、タイムスタンプ情報を含む画像履歴情報記憶部431に記憶するデータ構造の例示図である。図6の例では、タイムスタンプ情報を、先頭画像データを記憶した時点から1msごとに記憶する。1ms以内の間隔で差分画像データを記憶した場合には、タイムスタンプ情報とタイムスタンプ情報との間に一又は複数の差分画像データを記憶する。   FIG. 6 is a view showing an example of the data structure stored in the image history information storage unit 431 including time stamp information in the recording apparatus 4 according to the embodiment of the present invention. In the example of FIG. 6, the time stamp information is stored every 1 ms from the time when the top image data is stored. When difference image data is stored at intervals of 1 ms or less, one or a plurality of difference image data is stored between the time stamp information and the time stamp information.

一方、1msを超えても差分画像データを記憶しない場合には、1msごとのタイムスタンプ情報を記憶することなく計時を継続し、差分画像データを記憶した時点で、その時刻を差分画像データに対応付けてタイムスタンプ情報として記憶する。図6の例では、100msというタイムスタンプ情報を、差分画像データに対応付けて記憶する。なお、図6に示す「マウス位置データ」は、画面上におけるマウス操作で変動するカーソルの位置情報である。   On the other hand, if the difference image data is not stored even if it exceeds 1 ms, the time measurement is continued without storing the time stamp information every 1 ms, and when the difference image data is stored, the time corresponds to the difference image data. In addition, it is stored as time stamp information. In the example of FIG. 6, time stamp information of 100 ms is stored in association with the difference image data. Note that the “mouse position data” shown in FIG. 6 is cursor position information that fluctuates by a mouse operation on the screen.

図7は、本発明の実施の形態に係る録画装置4の録画処理の手順を示すフローチャートである。録画装置4の制御部41は、録画の開始指示を受け付け(ステップS701)、開始指示を受け付けた時点で表示装置451に表示されている画面を先頭画像データとして画像履歴情報記憶部431に記憶する(ステップS702)。また、制御部41は、開始指示を受け付けた時点で、内蔵するタイマを用いて計時を開始する(ステップS703)。なお、計時の開始は、開始指示の受け付け時点に限定されるものではなく、先頭画像データを取得した時点、すなわち先頭画像データを画像履歴情報記憶部431へ記憶する処理の開始時、記憶する処理の開始時から終了時までの所定の時刻、先頭画像データを画像履歴情報記憶部431へ記憶する処理の終了時等のいずれであっても良い。   FIG. 7 is a flowchart showing a recording process procedure of the recording apparatus 4 according to the embodiment of the present invention. The control unit 41 of the recording device 4 receives an instruction to start recording (step S701), and stores the screen displayed on the display device 451 when the start instruction is received in the image history information storage unit 431 as the top image data. (Step S702). Moreover, the control part 41 starts time measurement using the built-in timer, when the start instruction is received (step S703). Note that the start of timing is not limited to the time when the start instruction is received, but the time when the top image data is acquired, that is, the time when the processing for storing the top image data in the image history information storage unit 431 is started. The time may be any of a predetermined time from the start to the end of the process, or the end of the process of storing the top image data in the image history information storage unit 431.

制御部41は、表示画面の変更を検知したか否かを判断し(ステップS704)、制御部41が、表示画面の変更を検知したと判断した場合(ステップS704:YES)、制御部41は、差分画像データを画像履歴情報記憶部431に記憶し(ステップS705)、所定時間が経過したか否かを判断する(ステップS706)。制御部41が、所定時間が経過していないと判断した場合(ステップS706:NO)、制御部41は、表示画面の変更を検知したか否かを判断する(ステップS707)。   The control unit 41 determines whether or not a change in the display screen is detected (step S704), and when the control unit 41 determines that a change in the display screen is detected (step S704: YES), the control unit 41 The difference image data is stored in the image history information storage unit 431 (step S705), and it is determined whether or not a predetermined time has elapsed (step S706). When the control unit 41 determines that the predetermined time has not elapsed (step S706: NO), the control unit 41 determines whether a change in the display screen has been detected (step S707).

制御部41が、表示画面の変更を検知したと判断した場合(ステップS707:YES)、制御部41は、処理をステップS705へ戻して上述した処理を繰り返す。制御部41が、表示画面の変更を検知していないと判断した場合(ステップS707:NO)、制御部41は、処理をステップS706へ戻して上述した処理を繰り返す。   When the control unit 41 determines that a change in the display screen has been detected (step S707: YES), the control unit 41 returns the processing to step S705 and repeats the above-described processing. When the control unit 41 determines that the display screen change is not detected (step S707: NO), the control unit 41 returns the process to step S706 and repeats the above-described processing.

制御部41が、所定時間が経過したと判断した場合(ステップS706:YES)、制御部41は、所定時間ごとのタイムスタンプ情報を画像履歴情報記憶部431に記憶し(ステップS708)、計時をゼロにリセットする(ステップS709)。制御部41は、録画の終了指示を受け付けたか否かを判断し(ステップS710)、制御部41が、録画の終了指示を受け付けていないと判断した場合(ステップS710:NO)、制御部41は、処理をステップS704へ戻して上述した処理を繰り返す。制御部41が、録画の終了指示を受け付けたと判断した場合(ステップS710:YES)、制御部41は、処理を終了する。   When the control unit 41 determines that the predetermined time has elapsed (step S706: YES), the control unit 41 stores the time stamp information for each predetermined time in the image history information storage unit 431 (step S708) and measures the time. Reset to zero (step S709). The control unit 41 determines whether or not a recording end instruction has been received (step S710), and if the control unit 41 determines that a recording end instruction has not been received (step S710: NO), the control unit 41 The process returns to step S704 to repeat the above-described process. When the control unit 41 determines that a recording end instruction has been received (step S710: YES), the control unit 41 ends the process.

制御部41が、表示画面の変更を検知していないと判断した場合(ステップS704:NO)、制御部41は、所定時間が経過したか否かを判断する(ステップS711)。制御部41が、所定時間が経過していないと判断した場合(ステップS711:NO)、制御部41は、処理をステップS704へ戻して上述した処理を繰り返す。   When the control unit 41 determines that a change in the display screen has not been detected (step S704: NO), the control unit 41 determines whether a predetermined time has elapsed (step S711). When the control unit 41 determines that the predetermined time has not elapsed (step S711: NO), the control unit 41 returns the processing to step S704 and repeats the above-described processing.

制御部41が、所定時間が経過したと判断した場合(ステップS711:YES)、制御部41は、表示画面の変更を検知したか否かを判断する(ステップS712)。制御部41が、表示画面の変更を検知していないと判断した場合(ステップS712:NO)、制御部41は、検知待ち状態となる。   When the control unit 41 determines that the predetermined time has elapsed (step S711: YES), the control unit 41 determines whether a change in the display screen has been detected (step S712). When the control unit 41 determines that a change in the display screen is not detected (step S712: NO), the control unit 41 enters a detection waiting state.

制御部41が、表示画面の変更を検知したと判断した場合(ステップS712:YES)、制御部41は、差分画像データを画像履歴情報記憶部431に記憶し(ステップS713)、変更を検知するまでの経過時間をタイムスタンプ情報として画像履歴情報記憶部431に記憶する(ステップS714)。制御部41は、処理をステップS709へ進めて、上述した処理を続行する。このようにすることで、図6に示すようなデータ構造にて画像履歴情報記憶部431に表示画面の遷移が記憶される。   When the control unit 41 determines that a change in the display screen has been detected (step S712: YES), the control unit 41 stores the difference image data in the image history information storage unit 431 (step S713) and detects the change. The elapsed time until is stored as time stamp information in the image history information storage unit 431 (step S714). The control unit 41 proceeds with the process to step S709 and continues the above-described process. By doing so, the transition of the display screen is stored in the image history information storage unit 431 with the data structure as shown in FIG.

このように、先頭画像データ、差分画像データ及びタイムスタンプ情報を画像履歴情報記憶部431に記憶することにより、再生時には、先頭画像データから再生を開始し、タイムスタンプ情報に従って差分画像データを順次重ね合わせることにより、動画像データとして再生することが可能となる。   In this way, by storing the top image data, difference image data, and time stamp information in the image history information storage unit 431, at the time of playback, playback starts from the top image data, and the difference image data is sequentially overlapped according to the time stamp information. By combining them, it is possible to reproduce as moving image data.

なお、録画する対象は、表示画面全体であっても良いし、表示画面のうち必要となる部分だけであっても良い。すなわち、図3に示す録画領域指定受付部304を設けておき、録画する対象となる表示画面の画像データの全部又は一部を録画領域として指定を受け付けても良い。   Note that the target to be recorded may be the entire display screen or only a necessary portion of the display screen. That is, the recording area designation receiving unit 304 shown in FIG. 3 may be provided, and designation may be received as a recording area for all or part of the image data of the display screen to be recorded.

図8は、表示画面の一部を録画領域として指定する場合の画面の例示図である。図8に示すように、表示画面81全体を録画する対象とするのではなく、例えばマウス442のドラッグ操作等を実行するボタン類を配置してある領域を回避して、録画領域82として指定を受け付ける。これにより、録画領域82に相当する画像データのみが記憶され、差分画像データも録画領域82内での画面の遷移に対応して記憶される。   FIG. 8 is a view showing an example of a screen when a part of the display screen is designated as a recording area. As shown in FIG. 8, the entire display screen 81 is not a target to be recorded. For example, an area where buttons for executing a drag operation of the mouse 442 and the like are arranged is avoided and designated as a recording area 82. Accept. Thereby, only the image data corresponding to the recording area 82 is stored, and the difference image data is also stored corresponding to the transition of the screen in the recording area 82.

また、録画の開始指示の受付、停止指示の受付等は、録画領域82の外部に配置してあるボタン等を用いて受け付けることが好ましい。録画領域82内にマウス442の操作によるカーソルの映り込みが生じるため、不要な差分画像データが大量に記憶されるおそれがあるからである。   In addition, it is preferable to accept a recording start instruction, a stop instruction, or the like using a button or the like arranged outside the recording area 82. This is because a cursor is reflected by the operation of the mouse 442 in the recording area 82, and a large amount of unnecessary difference image data may be stored.

図8の例では、録画ボタン(開始ボタン)831、録画を一時停止する一時停止ボタン832、停止ボタン833、録画条件を設定する設定ボタン834等を集約した操作領域83が録画する対象に含まれないように録画領域82を指定することにより、マウス442の操作によるカーソルの映り込みを画面の変更として検知することなく、録画領域82内の差分画像データを記憶することができる。   In the example of FIG. 8, an operation area 83 that includes a recording button (start button) 831, a pause button 832 that pauses recording, a stop button 833, a setting button 834 that sets recording conditions, and the like is included in the target to be recorded. By designating the recording area 82 so that there is no change, the difference image data in the recording area 82 can be stored without detecting the reflection of the cursor by the operation of the mouse 442 as a screen change.

なお、一時停止ボタン832は、表示画面の録画の一時停止指示を受け付ける、図3に示す一時停止指示受付部303として機能する。すなわち、録画ボタン831により録画の開始指示を受け付けた後、一時停止ボタン832により一時停止指示を受け付けた場合、差分画像データの記憶及び経過時間の計時を一時停止する。そして、再び録画ボタン831により録画の開始指示を受け付けた場合、差分画像データの記憶及び経過時間の計時を再開する。停止ボタン833により停止指示を受け付けた場合、最初に録画の開始指示を受け付けてから停止指示を受け付けるまでを一の動画像データとして、画像履歴情報記憶部431に記憶する。   The pause button 832 functions as a pause instruction accepting unit 303 shown in FIG. 3 that accepts a pause instruction for recording on the display screen. That is, when a recording start instruction is received by the recording button 831 and then a pause instruction is received by the pause button 832, the storage of the difference image data and the counting of the elapsed time are temporarily stopped. When the recording start instruction is received again by the recording button 831, the storage of the difference image data and the counting of the elapsed time are resumed. When the stop instruction is received by the stop button 833, the period from when the recording start instruction is first received until the stop instruction is received is stored in the image history information storage unit 431 as one moving image data.

また、一時停止ボタン832は、録画ボタン831と停止ボタン833との間に配置されており、録画ボタン831、一時停止ボタン832、及び停止ボタン833を一列に配列して表示してある。これにより、右利きのユーザにとってマウス操作に使い勝手の良いユーザインタフェースを提供することができるとともに、視覚的に誤った操作を回避することもできる。   The pause button 832 is disposed between the recording button 831 and the stop button 833, and the recording button 831, the pause button 832, and the stop button 833 are displayed in a line. As a result, a right-handed user can be provided with a user interface that is convenient for mouse operation, and a visually erroneous operation can be avoided.

さらに、設定ボタン834で設定することが可能な録画条件は、例えば表示画面の変更を検知する方法として、信号フック法を採用するのか画面フック法を採用するのかの選択、差分画像データの取得間隔の選択、画質の選択、最大録画時間の選択等、差分画像データを取得するために必要な条件であれば、特に限定されるものではない。   Furthermore, the recording conditions that can be set with the setting button 834 are, for example, selection of whether to adopt the signal hook method or the screen hook method as a method for detecting a change in the display screen, and the difference image data acquisition interval. The selection is not particularly limited as long as it is a condition necessary for acquiring difference image data, such as selection of image quality, selection of image quality, and selection of maximum recording time.

以上のように本実施の形態によれば、拡張ユニット3の動作状況を監視しているコンピュータの表示画面の遷移を示す動画像データを常時取得する必要がなく、表示画面の変更を検知した時点で差分画像データ及びタイムスタンプ情報を随時記憶することで、動画像データの記憶容量を大きく圧縮することが可能となる。例えば、変更を検知するまでの経過時間が1ms以下である場合には定期的にタイムスタンプ情報を記憶し、変更を検知しない時間が10ms以上となっている場合にはタイムスタンプ情報を10ms、100ms、1s等の単位でまとめた値として記憶することにより、全体として動画像データの記憶容量を大幅に削減することができる。したがって、少ない記憶容量でコンピュータの表示画面を監視する動画像データを記憶しておくことができ、障害の発生時等に発生原因を容易に特定することも可能となる。   As described above, according to the present embodiment, it is not necessary to constantly acquire moving image data indicating the transition of the display screen of the computer that is monitoring the operation status of the expansion unit 3, and when the change of the display screen is detected By storing the difference image data and the time stamp information at any time, the storage capacity of the moving image data can be greatly compressed. For example, when the elapsed time until the change is detected is 1 ms or less, the time stamp information is periodically stored, and when the time when the change is not detected is 10 ms or more, the time stamp information is 10 ms or 100 ms. By storing as a value collected in units of 1 s or the like, the storage capacity of moving image data as a whole can be greatly reduced. Therefore, moving image data for monitoring the computer display screen can be stored with a small storage capacity, and the cause of the occurrence can be easily specified when a failure occurs.

また、表示画面にて拡張ユニット3の動作状況をモニタ値として取得することもできる。例えば、監視対象となる拡張ユニット3の選択を受け付けることにより、拡張ユニット3ごとにモニタ値を取得することができる。   Further, the operation status of the extension unit 3 can be acquired as a monitor value on the display screen. For example, the monitor value can be acquired for each expansion unit 3 by receiving selection of the expansion unit 3 to be monitored.

具体的には、拡張ユニット3、3、・・・として複数のデバイスを事前に記憶装置43に記憶しておき、どのデバイスを監視対象とするか、例えばプルダウンメニューからの選択を受け付ける。選択を受け付けたデバイスのモニタ値を、表示画面の遷移を示す動画像データと同期させて常時表示することで、デバイスの動作状況を表示画面で把握することが可能となる。   Specifically, a plurality of devices are stored in advance in the storage device 43 as the expansion units 3, 3,..., And a selection from a pull-down menu, for example, which device is to be monitored is accepted. By constantly displaying the monitor value of the device that has received the selection in synchronization with the moving image data indicating the transition of the display screen, the operation status of the device can be grasped on the display screen.

さらに、障害発生時に現地の技術者の作業を円滑に進めるために、障害発生機器に詳しい技術者が、障害情報を収集するプログラムを作成しておき、該プログラムの実行時の動画像データを取得するようにしても良い。この場合、障害情報を収集するプログラムごとの設定ファイルを事前に作成しておき、現地の技術者へ送信する。図9は、事前に作成された設定ファイルの例示図である。   In addition, in order to facilitate the work of local engineers in the event of a failure, an engineer familiar with the failure device creates a program that collects failure information and acquires moving image data when the program is executed You may make it do. In this case, a setting file for each program for collecting failure information is created in advance and transmitted to a local engineer. FIG. 9 is an exemplary diagram of a configuration file created in advance.

図9の例では、モジュール名は、障害情報の収集のために実行されるラダー形式のプログラム名を示す。行番号及び列番号は、該プログラムの録画対象部分を示し、録画時間は動画像データとして録画される時間を示している。現地の技術者は、モジュール名を選択することで、障害情報を収集するプログラムの動作状況を録画することができ、録画した動画像データを障害発生機器に詳しい技術者へ送信することにより、障害発生原因等の究明を早期にしかも確実に行うことが可能となる。   In the example of FIG. 9, the module name indicates the name of a ladder-type program that is executed for collecting failure information. The row number and column number indicate the recording target portion of the program, and the recording time indicates the time for recording as moving image data. The local engineer can record the operation status of the program that collects fault information by selecting the module name, and send the recorded moving image data to the technician who is familiar with the faulty device. It becomes possible to investigate the cause of occurrence and the like early and reliably.

また、録画領域82内にてマウス442等の操作によりフリーハンドで文字等を記載した場合のマウス位置データを記憶することもできる。図10は、マウス442等の操作によりフリーハンドで文字等を記載した場合の表示画面の例示図である。図10の例では、録画領域82内にてマウス442等の操作によりフリーハンドで記載した文字等を、マウス位置データとして画像履歴情報記憶部431に記憶している。これにより、画像履歴情報記憶部431に記憶してある先頭画像データ、差分画像データ、タイムスタンプ情報に加えて、マウス位置データを用いることにより、フリーハンドでの文字等の記載も含めて再生することが可能となる。   It is also possible to store mouse position data when characters and the like are written freehand by operating the mouse 442 or the like in the recording area 82. FIG. 10 is a view showing an example of a display screen when characters or the like are written freehand by operating the mouse 442 or the like. In the example of FIG. 10, characters or the like written freehand by operating the mouse 442 or the like in the recording area 82 are stored in the image history information storage unit 431 as mouse position data. As a result, in addition to the first image data, difference image data, and time stamp information stored in the image history information storage unit 431, the mouse position data is used to reproduce the freehand characters and the like. It becomes possible.

さらに、所定の時点を確実に再生することができるように、再生時点のタイムスタンプ情報に対応付けたテキストデータを記憶することもできる。図11は、キーボード441でキーインする場合の表示画面の例示図である。図11に示すように、図11(a)の画面を再生することが出来るように、表示画面が図11(a)となった時点でキーボード441からテキストデータをキーインし、タイムスタンプ情報と対応付けて記憶する。そして、図11(b)に示すようなテキストデータの一覧表示画面から、キーインされたテキストデータの選択を受け付けることにより、選択を受け付けたテキストデータが記憶された時点の表示画面を再生することが可能となる。   Furthermore, text data associated with the time stamp information at the time of reproduction can also be stored so that the predetermined time can be reliably reproduced. FIG. 11 is an exemplary view of a display screen when key-in is performed with the keyboard 441. As shown in FIG. 11, text data is keyed in from the keyboard 441 when the display screen becomes FIG. 11 (a) so that the screen of FIG. 11 (a) can be reproduced, and corresponds to the time stamp information. Add and remember. Then, by receiving the selection of the text data keyed in from the text data list display screen as shown in FIG. 11B, the display screen at the time when the selected text data is stored can be reproduced. It becomes possible.

また、操作したマウス等のイメージ図を、表示画面に重ね合わせて記憶しても良い。図12は、マウスの操作画面を加えた表示画面の例示図である。図12に示すように、マウス442のイメージ図を表示画面に重ね合わせて表示し、クリック操作されたのが、左クリックであるのか、右クリックであるのかを示す記号を記載する。図12の例では、左クリック操作されたことを示す記号が追記されていることから、左クリック操作であることを目視確認することができる。   Further, an image diagram of the operated mouse or the like may be stored in a superimposed manner on the display screen. FIG. 12 is a view showing an example of a display screen including a mouse operation screen. As shown in FIG. 12, the image diagram of the mouse 442 is displayed superimposed on the display screen, and a symbol indicating whether the click operation is a left click or a right click is described. In the example of FIG. 12, since a symbol indicating that a left click operation has been added, it can be visually confirmed that the operation is a left click operation.

その他、本発明は上記実施の形態に限定されるものではなく、本発明の趣旨の範囲内であれば多種の変形、置換等が可能であることは言うまでもない。   In addition, the present invention is not limited to the above-described embodiment, and it goes without saying that various modifications and replacements are possible within the scope of the gist of the present invention.

1 プログラマブルコントローラ
2 CPUユニット
3、3a、3b 拡張ユニット
4 録画装置
5 被制御機器
41 制御部
42 メモリ
43 記憶装置
44 I/Oインタフェース
45 ビデオインタフェース
46 通信インタフェース
47 可搬型ディスクドライブ
431 画像履歴情報記憶部
DESCRIPTION OF SYMBOLS 1 Programmable controller 2 CPU unit 3, 3a, 3b Expansion unit 4 Recording apparatus 5 Controlled apparatus 41 Control part 42 Memory 43 Memory | storage device 44 I / O interface 45 Video interface 46 Communication interface 47 Portable disk drive 431 Image history information storage part

Claims (15)

被制御機器に接続してある複数の拡張ユニット及びCPUユニットで構成してあり、拡張ユニットの動作をシーケンシャル制御するプログラマブルコントローラとデータ送受信することが可能に接続してあり、該プログラマブルコントローラとデータ送受信することにより前記拡張ユニットの動作状況をラダー形式で表示するコンピュータの表示画面を録画する録画装置において、
前記拡張ユニットの動作状況をラダー形式で表示したラダー図を含む表示画面の、録画の開始指示及び停止指示を受け付ける開始・停止指示受付手段と、
該開始・停止指示受付手段が前記録画の開始指示を受け付けてから停止指示を受け付けるまでの表示画面の遷移を、開始指示を受け付けた時点での表示画面の画像データである先頭画像データと、該先頭画像データに続く複数の差分画像データと、前記先頭画像データ及び/又は前記差分画像データを取得した時点からの経過時間を示すタイムスタンプ情報とを含む一の動画像データとして記憶する動画像記憶手段と
を備え、
前記動画像記憶手段は、
前記先頭画像データを記憶する先頭画像データ記憶手段と、
表示画面の変更を検知する変更検知手段と、
前記録画の開始指示を受け付けた後、該変更検知手段が、前記表示画面の変更を検知した場合、前記先頭画像データ及び/又は前記差分画像データから変更された差分に相当する差分画像データを記憶する差分画像データ記憶手段と、
該差分画像データを取得した時点での経過時間が所定時間を超えているか否かを判断し、該所定時間を超えていると判断した場合、前記経過時間に対応するタイムスタンプ情報を記憶するタイムスタンプ情報記憶手段と
を備えることを特徴とする録画装置。
It is composed of a plurality of expansion units and CPU units connected to the controlled device, and is connected so as to be able to send / receive data to / from a programmable controller that sequentially controls the operation of the extension unit. In a recording device for recording a display screen of a computer that displays the operation status of the expansion unit in a ladder format by
A start / stop instruction receiving means for receiving a recording start instruction and a stop instruction on a display screen including a ladder diagram displaying the operation status of the expansion unit in a ladder format;
The transition of the display screen from when the start / stop instruction accepting unit accepts the recording start instruction until the stop instruction is accepted, and the top image data that is the image data of the display screen when the start instruction is accepted, A moving image storage that stores a plurality of difference image data following the start image data and one moving image data including the start image data and / or time stamp information indicating an elapsed time from the time when the difference image data was acquired. Means and
The moving image storage means includes
First image data storage means for storing the first image data;
Change detection means for detecting changes in the display screen;
After receiving the recording start instruction, when the change detection unit detects a change in the display screen, the difference image data corresponding to the difference changed from the head image data and / or the difference image data is stored. Differential image data storage means for
It is determined whether or not the elapsed time at the time of acquiring the difference image data exceeds a predetermined time, and when it is determined that the predetermined time is exceeded, a time for storing time stamp information corresponding to the elapsed time A recording apparatus comprising: stamp information storage means.
前記変更検知手段は、
イベントが発生したか否かを検知するイベント検知手段と、
該イベント検知手段が、イベントが発生したことを検知した場合、該イベントが表示画面を変更するか否かを判断するイベント判断手段と
を備えることを特徴とする請求項1記載の録画装置。
The change detection means includes
Event detection means for detecting whether an event has occurred;
The recording apparatus according to claim 1, further comprising: an event determination unit that determines whether or not the event changes a display screen when the event detection unit detects that an event has occurred.
前記変更検知手段は、
前回変更が検知された時点の表示画面から変更されているか否かを判断する変更判断手段を備えることを特徴とする請求項1記載の録画装置。
The change detection means includes
The recording apparatus according to claim 1, further comprising a change determination unit that determines whether or not the display screen has been changed from a point in time when the previous change was detected.
前記変更検知手段の選択を受け付ける検知方法選択受付手段を備え、
該検知方法選択受付手段で選択を受け付けていない場合、前記変更検知手段は、前回変更が検知された時点の表示画面から変更されているか否かを判断するようにしてあることを特徴とする請求項1記載の録画装置。
A detection method selection receiving means for receiving selection of the change detection means;
When the selection is not accepted by the detection method selection acceptance means, the change detection means judges whether or not the change has been made from the display screen at the time when the previous change was detected. Item 2. The recording device according to Item 1.
前記表示画面の録画の一時停止指示を受け付ける一時停止指示受付手段を備え、
録画の開始指示を受け付けた後、一時停止指示を受け付け、再び録画の開始指示を受け付けた後に停止指示を受け付けた場合、前記動画像記憶手段は、前記開始・停止指示受付手段が最初に録画の開始指示を受け付けてから停止指示を受け付けるまでの一連の表示画面を一の動画像データとして記憶するようにしてあることを特徴とする請求項1乃至4のいずれか一項に記載の録画装置。
Comprising a pause instruction receiving means for receiving a pause instruction for recording on the display screen;
When the recording start instruction is received, the pause instruction is received, the recording start instruction is received again, and then the stop instruction is received. 5. The recording apparatus according to claim 1, wherein a series of display screens from when a start instruction is received to when a stop instruction is received is stored as one moving image data.
前記開始・停止指示受付手段は、開始ボタン及び停止ボタンで構成してあり、
前記一時停止指示受付手段は、一時停止ボタンで構成してあり、
前記一時停止ボタンは、前記開始ボタンと前記停止ボタンとの間に配置され、前記開始ボタン、前記一時停止ボタン、及び前記停止ボタンを一列に配列して表示するようにしてあることを特徴とする請求項5記載の録画装置。
The start / stop instruction receiving means includes a start button and a stop button,
The pause instruction receiving means is composed of a pause button,
The pause button is disposed between the start button and the stop button, and the start button, the pause button, and the stop button are arranged and displayed in a line. The recording device according to claim 5.
録画する対象となる前記表示画面の画像データの全部又は一部を録画領域として指定を受け付ける録画領域指定受付手段を備え、
前記動画像記憶手段は、前記表示画面のうち前記録画領域内の画面の遷移を動画像データとして記憶するようにしてあることを特徴とする請求項1乃至6のいずれか一項に記載の録画装置。
A recording area designation accepting means for accepting designation as a recording area for all or part of the image data of the display screen to be recorded;
7. The recording according to claim 1, wherein the moving image storage means stores a transition of a screen in the recording area of the display screen as moving image data. apparatus.
前記開始・停止指示受付手段を、前記録画領域外に配置するようにしてあることを特徴とする請求項7記載の録画装置。   8. A recording apparatus according to claim 7, wherein said start / stop instruction receiving means is arranged outside said recording area. 被制御機器に接続してある複数の拡張ユニット及びCPUユニットで構成してあり、拡張ユニットの動作をシーケンシャル制御するプログラマブルコントローラとデータ送受信することが可能に接続してあり、該プログラマブルコントローラとデータ送受信することにより前記拡張ユニットの動作状況をラダー形式で表示するコンピュータの表示画面を録画する録画方法において、
前記コンピュータは、
前記拡張ユニットの動作状況をラダー形式で表示したラダー図を含む表示画面の、録画の開始指示及び停止指示を受け付け、
前記録画の開始指示を受け付けてから停止指示を受け付けるまでの表示画面の遷移を、開始指示を受け付けた時点での表示画面の画像データである先頭画像データと、該先頭画像データに続く複数の差分画像データと、前記先頭画像データ及び/又は前記差分画像データを取得した時点からの経過時間を示すタイムスタンプ情報とを含む一の動画像データとして記憶するとともに、
前記先頭画像データを記憶し、
表示画面の変更を検知し、
前記録画の開始指示を受け付けた後、前記表示画面の変更を検知した場合、前記先頭画像データ及び/又は前記差分画像データから変更された差分に相当する差分画像データを記憶し、
該差分画像データを取得した時点での経過時間が所定時間を超えているか否かを判断し、該所定時間を超えていると判断した場合、前記経過時間に対応するタイムスタンプ情報を記憶することを特徴とする録画方法。
It is composed of a plurality of expansion units and CPU units connected to the controlled device, and is connected so as to be able to send / receive data to / from a programmable controller that sequentially controls the operation of the extension unit. In a recording method for recording a display screen of a computer that displays the operation status of the expansion unit in a ladder format by
The computer
Accepting a recording start instruction and a stop instruction on a display screen including a ladder diagram that displays the operation status of the expansion unit in a ladder format;
The transition of the display screen from when the start instruction for recording is received until the stop instruction is received, the top image data which is the image data of the display screen at the time when the start instruction is received, and a plurality of differences following the top image data Storing as one moving image data including image data and time stamp information indicating an elapsed time from the time when the head image data and / or the difference image data is acquired;
Storing the head image data;
Detect changes in the display screen,
When the change of the display screen is detected after receiving the recording start instruction, the difference image data corresponding to the difference changed from the head image data and / or the difference image data is stored,
It is determined whether or not the elapsed time at the time when the differential image data is acquired exceeds a predetermined time, and when it is determined that the predetermined time is exceeded, time stamp information corresponding to the elapsed time is stored. A video recording method.
被制御機器に接続してある複数の拡張ユニット及びCPUユニットで構成してあり、拡張ユニットの動作をシーケンシャル制御するプログラマブルコントローラとデータ送受信することが可能に接続してあり、該プログラマブルコントローラとデータ送受信することにより前記拡張ユニットの動作状況をラダー形式で表示するコンピュータで実行することが可能なコンピュータプログラムにおいて、
前記コンピュータを、
前記拡張ユニットの動作状況をラダー形式で表示したラダー図を含む表示画面の、録画の開始指示及び停止指示を受け付ける開始・停止指示受付手段、及び
該開始・停止指示受付手段が前記録画の開始指示を受け付けてから停止指示を受け付けるまでの表示画面の遷移を、開始指示を受け付けた時点での表示画面の画像データである先頭画像データと、該先頭画像データに続く複数の差分画像データと、前記先頭画像データ及び/又は前記差分画像データを取得した時点からの経過時間を示すタイムスタンプ情報とを含む一の動画像データとして記憶する動画像記憶手段
として機能させ、
前記動画像記憶手段を、
前記先頭画像データを記憶する先頭画像データ記憶手段、
表示画面の変更を検知する変更検知手段、
前記録画の開始指示を受け付けた後、該変更検知手段が、前記表示画面の変更を検知した場合、前記先頭画像データ及び/又は前記差分画像データから変更された差分に相当する差分画像データを記憶する差分画像データ記憶手段、及び
該差分画像データを取得した時点での経過時間が所定時間を超えているか否かを判断し、該所定時間を超えていると判断した場合、前記経過時間に対応するタイムスタンプ情報を記憶するタイムスタンプ情報記憶手段
として機能させることを特徴とするコンピュータプログラム。
It is composed of a plurality of expansion units and CPU units connected to the controlled device, and is connected so as to be able to send / receive data to / from a programmable controller that sequentially controls the operation of the extension unit. In a computer program that can be executed by a computer that displays the operation status of the expansion unit in a ladder format by
The computer,
Start / stop instruction receiving means for receiving a recording start instruction and a stop instruction on a display screen including a ladder diagram that displays the operation status of the extension unit in a ladder format, and the start / stop instruction receiving means is a start instruction for the recording Transition of the display screen from when the start instruction is received, to the start image data that is the image data of the display screen at the time when the start instruction is received, a plurality of difference image data following the start image data, Function as moving image storage means for storing as one moving image data including time stamp information indicating elapsed time from the time when the first image data and / or the difference image data is acquired;
The moving image storage means;
Head image data storage means for storing the head image data;
Change detection means for detecting changes in the display screen,
After receiving the recording start instruction, when the change detection unit detects a change in the display screen, the difference image data corresponding to the difference changed from the head image data and / or the difference image data is stored. Difference image data storage means, and whether or not the elapsed time at the time of acquisition of the difference image data exceeds a predetermined time, and if it is determined that the predetermined time is exceeded, corresponds to the elapsed time A computer program that functions as time stamp information storage means for storing time stamp information to be stored.
前記変更検知手段を、
イベントが発生したか否かを検知するイベント検知手段、及び
該イベント検知手段が、イベントが発生したことを検知した場合、該イベントが表示画面を変更するか否かを判断するイベント判断手段
として機能させることを特徴とする請求項10記載のコンピュータプログラム。
The change detection means;
Event detection means for detecting whether or not an event has occurred, and functioning as event determination means for determining whether or not the event changes the display screen when the event detection means detects that an event has occurred The computer program according to claim 10, wherein:
前記変更検知手段を、
前回変更が検知された時点の表示画面から変更されているか否かを判断する変更判断手段として機能させることを特徴とする請求項10記載のコンピュータプログラム。
The change detection means;
11. The computer program according to claim 10, wherein the computer program functions as change determination means for determining whether or not the display screen has been changed from the point in time when the previous change was detected.
前記コンピュータを、
前記変更検知手段の選択を受け付ける検知方法選択受付手段として機能させ、
該検知方法選択受付手段で選択を受け付けていない場合、前記変更検知手段を、前回変更が検知された時点の表示画面から変更されているか否かを判断する手段として機能させることを特徴とする請求項10記載のコンピュータプログラム。
The computer,
Function as a detection method selection reception means for receiving selection of the change detection means,
When the selection is not received by the detection method selection receiving unit, the change detection unit is caused to function as a unit for determining whether or not the display screen at the time when the previous change is detected is changed. Item 11. A computer program according to Item 10.
前記コンピュータを、
前記表示画面の録画の一時停止指示を受け付ける一時停止指示受付手段として機能させ、
録画の開始指示を受け付けた後、一時停止指示を受け付け、再び録画の開始指示を受け付けた後に停止指示を受け付けた場合、前記動画像記憶手段を、前記開始・停止指示受付手段が最初に録画の開始指示を受け付けてから停止指示を受け付けるまでの一連の表示画面を一の動画像データとして記憶する手段として機能させることを特徴とする請求項10乃至13のいずれか一項に記載のコンピュータプログラム。
The computer,
Function as a pause instruction receiving means for receiving a pause instruction for recording on the display screen;
When a recording start instruction is received, a pause instruction is received, a recording start instruction is received again, and then a stop instruction is received, the moving image storage means is first recorded by the start / stop instruction receiving means. The computer program according to any one of claims 10 to 13, wherein the computer program functions as means for storing a series of display screens from when a start instruction is received to when a stop instruction is received as one moving image data.
前記コンピュータを、
録画する対象となる前記表示画面の画像データの全部又は一部を録画領域として指定を受け付ける録画領域指定受付手段として機能させ、
前記動画像記憶手段を、前記表示画面のうち前記録画領域内の画面の遷移を動画像データとして記憶する手段として機能させることを特徴とする請求項10乃至14のいずれか一項に記載のコンピュータプログラム。
The computer,
Function as recording area designation receiving means for accepting designation as a recording area for all or part of the image data of the display screen to be recorded,
15. The computer according to claim 10, wherein the moving image storage unit functions as a unit that stores, as moving image data, a screen transition in the recording area of the display screen. program.
JP2009174468A 2009-07-27 2009-07-27 Recording device, recording method and computer program Pending JP2011028563A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009174468A JP2011028563A (en) 2009-07-27 2009-07-27 Recording device, recording method and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009174468A JP2011028563A (en) 2009-07-27 2009-07-27 Recording device, recording method and computer program

Publications (1)

Publication Number Publication Date
JP2011028563A true JP2011028563A (en) 2011-02-10

Family

ID=43637227

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009174468A Pending JP2011028563A (en) 2009-07-27 2009-07-27 Recording device, recording method and computer program

Country Status (1)

Country Link
JP (1) JP2011028563A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103606172A (en) * 2013-12-09 2014-02-26 武汉大学 Unsupervised change detection method based on fuzzy topology
JP2018010436A (en) * 2016-07-12 2018-01-18 日工株式会社 Asphalt plant remote maintenance device and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103606172A (en) * 2013-12-09 2014-02-26 武汉大学 Unsupervised change detection method based on fuzzy topology
JP2018010436A (en) * 2016-07-12 2018-01-18 日工株式会社 Asphalt plant remote maintenance device and method

Similar Documents

Publication Publication Date Title
EP1734432B1 (en) Display apparatus, program for causing a computer to function as the display apparatus and storage medium including the program
JP4125274B2 (en) Image input / output device, information processing method, computer-readable storage medium storing program, and program
JP5657263B2 (en) Digital recording module, process management system, and operation method of process management system
JP6477319B2 (en) Plant control system
JP2008236307A (en) Network monitoring device and network monitoring method
JP2018026060A (en) Programmable display unit, update processing apparatus, update method, information processing method, and program
JP4458349B2 (en) Device diagnostic device, operation program thereof, device diagnostic method
JP4659834B2 (en) Display control device
US9336075B2 (en) Monitoring apparatus, monitoring method, and storage medium
JP2011028563A (en) Recording device, recording method and computer program
JP2008094299A (en) Platform door operation abnormality detection system
JPWO2006016405A1 (en) Elevator monitoring system
JP2007257444A (en) Equipment management system
JP5089716B2 (en) Data collection device, air conditioning device, data collection system, data collection method and program
JP4998580B2 (en) Communication diagnostic device and communication diagnostic method
JP2008283410A (en) Recorder and recording method
CN111130888A (en) Fault information collection and prompt method, device, storage medium and mobile terminal
JP2014002660A (en) Maintenance component production management device and maintenance component production management method
JP2001175430A (en) Printing device and printing system, and printing method and recording medium with printing program
JP6289333B2 (en) Device management apparatus, operation reproduction method, and program
JP2008015822A (en) Remote maintenance system for plant monitoring control system
JP2007299149A (en) Operation instruction system, operation indicator, operation instruction program, and operation instruction method
JP5774043B2 (en) Watch service system, watch service method, communication terminal device, watch notification method, and computer program
CN112445189A (en) Data collection system, data collection method, and program
JP2016218844A (en) Monitoring device