[go: up one dir, main page]

WO2017208376A1 - Log data saving device and log data saving method - Google Patents

Log data saving device and log data saving method Download PDF

Info

Publication number
WO2017208376A1
WO2017208376A1 PCT/JP2016/066094 JP2016066094W WO2017208376A1 WO 2017208376 A1 WO2017208376 A1 WO 2017208376A1 JP 2016066094 W JP2016066094 W JP 2016066094W WO 2017208376 A1 WO2017208376 A1 WO 2017208376A1
Authority
WO
WIPO (PCT)
Prior art keywords
log
log data
unit
saving
evacuation
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.)
Ceased
Application number
PCT/JP2016/066094
Other languages
French (fr)
Japanese (ja)
Inventor
良卓 室▲崎▼
大輝 島
茂人 宮内
聡 岩渕
禎 三橋
高橋 克英
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to PCT/JP2016/066094 priority Critical patent/WO2017208376A1/en
Priority to JP2018520266A priority patent/JP6656367B2/en
Publication of WO2017208376A1 publication Critical patent/WO2017208376A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software

Definitions

  • the present invention relates to a technique for saving log data during program execution, and more particularly to a technique for saving log data of a display control program for displaying an image on a display device.
  • log data generated by each program (hereinafter sometimes simply referred to as “log”) was acquired and generated in the equipment. Analyzing the content of a failure is performed (for example, Patent Document 1 below).
  • log data generated by a program when a failure occurs is preferably saved and backed up in another storage device that is not likely to be lost in order to perform failure analysis later. This transfer of log data to another storage device that is not likely to be lost is called “evacuation”.
  • log data at the time of failure occurrence can be automatically extracted by a technique such as log pattern matching
  • log data necessary for failure analysis can be automatically saved.
  • obstacles that can only be confirmed visually such as flickering of the screen and misalignment of the component images that make up the screen. It is difficult to detect.
  • the present invention has been made to solve the above-described problems, and an object of the present invention is to provide a log evacuation apparatus that can evacuate log data when a failure that can only be visually confirmed occurs. .
  • a log data saving device is a log data saving device for a display control program that displays an image on a display device, and includes an operation detection unit that detects a user's specific operation on an input device, and a display control program.
  • a log saving unit that extracts and saves a part of the output log data. The log saving unit starts saving the log data output by the display control program when the operation detection unit detects a specific operation. .
  • the log evacuation device it is possible to evacuate log data when a failure occurs that can only be confirmed visually on the screen of the display device.
  • FIG. 4 is a flowchart showing an operation of the log evacuation apparatus according to the first embodiment.
  • 10 is a flowchart showing an operation of the log evacuation apparatus according to the second embodiment.
  • 10 is a flowchart illustrating an operation of the log evacuation apparatus according to the third embodiment.
  • 10 is a flowchart showing the operation of the log evacuation apparatus according to the fourth embodiment. It is a figure which shows the example of the area
  • FIG. 1 is a block diagram showing a configuration of an information display system according to the present invention.
  • the information display system includes a display control device 100, and a display device 101 and an input device 102 connected thereto. Examples of such an information display system include a car multimedia terminal mounted on a vehicle.
  • the display device 101 displays an image corresponding to a display signal output from the display control device 100 on a screen, and is, for example, a liquid crystal display device.
  • the input device 102 is a user interface for the user to operate the display control device 100 and the display device 101.
  • the input device 102 may be a hardware key such as a physical button, a keyboard, or a mouse, or may be a software key displayed on the screen.
  • the display device 101 and the input device 102 may be configured as one touch panel by displaying a software key as the input device 102 on the screen of the display device 101.
  • the display control device 100 includes a display control unit 1, a log output unit 2, a log holding unit 3, and a log saving device 10.
  • the display control unit 1 and the log output unit 2 are components realized when the processor of the display control apparatus 100 executes a display control program stored in the memory.
  • the display control unit 1 generates a display signal for causing the display device 101 to display an image.
  • the log output unit 2 outputs log data indicating the operation status of the display control unit 1, that is, the execution status of the display control program.
  • the log output unit 2 includes a normal log output unit 2a that outputs a normal log, a detailed log output unit 2b that outputs a detailed log, and a serial log output unit 2c that outputs a serial log. It is sufficient that at least one of them is provided.
  • the normal log, detailed log, and serial log output by the log output unit 2 are collectively referred to as “log data”.
  • the log holding unit 3 is a storage device that holds log data output by the log output unit 2.
  • the log holding unit 3 cyclically overwrites and saves log data. That is, the log data in the log holding unit 3 is overwritten by new log data and disappears while the display control unit 1 continues to operate.
  • the log saving device 10 extracts a part of the log data written in the log holding unit 3 during the operation test of the display control device 100 and saves it in a storage device different from the log holding unit 3. Log data is backed up.
  • the log save device 10 includes an operation detection unit 11, a log save unit 12, and a save log holding unit 13.
  • the operation detection unit 11 detects a user's specific operation on the input device 102.
  • the log saving unit 12 extracts the latest log data written in the log holding unit 3 (that is, the log data output immediately before by the log output unit 2) when the operation detection unit 11 detects a specific operation. And saved in the save log holding unit 13.
  • the log saving unit 12 includes a log extraction control unit 12a that specifies an extraction range of log data according to a detection result of a specific operation by the operation detection unit 11, and a range specified by the log extraction control unit 12a.
  • the log data is extracted from the log holding unit 3 and is saved in the save log holding unit 13.
  • the log data that the log saving unit 12 saves in the save log holding unit 13 includes the normal log output by the normal log output unit 2a, the detailed log output by the detailed log output unit 2b, and the serial log output by the serial log output unit 2c. Either may be sufficient and two or more of them may be sufficient. Further, the user may arbitrarily set which of the normal log, the detailed log, and the serial log is saved in the save log holding unit 13.
  • the save log holding unit 13 is a storage device that holds log data saved by the log save unit 12.
  • the evacuation log holding unit 13 preferably keeps holding the log data unless the user orders deletion. Therefore, it is preferable that the storage capacity of the save log holding unit 13 is larger than that of the log holding unit 3.
  • the save log holding unit 13 may cyclically save the log data in the same manner as the log holding unit 3. Since the log data saved by the log saving unit 12 is only a part of the log data written to the log holding unit 3, the time for which the log data is held in the save log holding unit 13 is longer than that of the log holding unit 3. Will be long enough. Further, if the capacity of the save log holding unit 13 is large, the time can be made longer.
  • FIG. 2 is a diagram illustrating a hardware configuration of the log saving device 10.
  • the log saving device 10 includes at least a processor 51, a memory 52, and an input / output interface (I / F) 53.
  • I / F input / output interface
  • the processor 51 is a CPU (also referred to as a central processing unit, a central processing unit, a processing unit, a processing unit, a microprocessor, a microcomputer, a processor, or a DSP) that executes a program stored in the memory 52.
  • the memory 52 includes, for example, RAM (Random-Access Memory), ROM (Read-Only Memory), flash memory, EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically-Erasable Programmable Read-Only Memory), Nonvolatile or volatile semiconductor memories, magnetic disks, flexible disks, optical disks, compact disks, mini disks, DVDs (Digital Versatile Discs), and the like are applicable.
  • the processor 51 may be the same as the processor that executes the display control program that implements the display control unit 1 and the log output unit 2.
  • the memory 52 may be the same as a memory that stores the display control program or a storage device as the log holding unit 3.
  • the display device 101 and the input device 102 are connected to the input / output interface 53.
  • the display device 101 and the input device 102 are externally attached to the display control device 100 including the log saving device 10, but they may be integrally configured.
  • each element the operation detection unit 11, the log saving unit 12, and the saving log holding unit 13
  • the function of each element (the operation detection unit 11, the log saving unit 12, and the saving log holding unit 13) of the log saving device 10 is realized by the processor 51 executing a program stored in the memory 52. That is, the log evacuation device 10 extracts an operation detection unit 11 that detects a user's specific operation on the input device 102 and log data output by the display control program when the operation detection unit 11 detects a specific operation.
  • the log saving unit 12 to be saved in the save log holding unit 13 is provided with a processor 51 that is realized by executing a program.
  • the save log holding unit 13 is realized using a part of the memory 52.
  • the log evacuation device 10 is executed by the processor 51 to confirm whether or not the user's specific operation has been performed on the input device 102 and display control when detecting the specific operation.
  • the process of starting saving the log data output by the program includes a memory 52 for storing the program executed as a result. These programs can also be said to cause a computer to execute these processes and procedures.
  • FIG. 3 is a flowchart showing the operation. Since the log evacuation device 10 is used in the operation test of the display control device 100, the user here is a tester who performs the test.
  • the input device 102 includes a physical button, and the operation detection unit 11 detects the pressing of the physical button.
  • the user presses the physical button when a failure (such as flicker or component image misalignment) is found on the screen of the display device 101.
  • the log saving device 10 starts the operation of FIG.
  • the operation detection unit 11 waits for the physical button of the input device 102 to be pressed (step S101). The user visually checks the screen of the display device 101 to check whether the display control device 100 is operating normally. When the user finds a failure on the screen of the display device 101 and presses the physical button of the input device 102, the operation is detected by the operation detection unit 11.
  • the log extraction control unit 12a of the log saving unit 12 causes the log extraction unit 12b to start extracting log data.
  • the log extraction unit 12b extracts the latest log data output from the log output unit 2 and written in the log holding unit 3 (step S102), and saves the extracted log data to the save log holding unit 13 (step S103). ).
  • step S104 the operation detection unit 11 confirms whether or not the pressing of the physical button of the input device 102 has been released. If the physical button has not been pressed (NO in step S104), the process returns to step S102, and the log extraction control unit 12a causes the log extraction unit 12b to continue the log data saving process. If the pressing of the physical button is released (YES in step S104), the log extraction control unit 12a causes the log extraction unit 12b to finish the log data saving process.
  • the log data output by the log output unit 2 while the user presses the physical button of the input device 102 is stored in the evacuation log holding unit 13. Evacuated. Therefore, by pressing the physical button when the user visually finds a failure, log data when a failure that can be confirmed only visually can be saved.
  • log data while the user (tester) presses the physical button of the input device 102 that is, log data in which a failure has occurred is saved in the save log holding unit 13.
  • log data immediately before a failure occurs is also useful for failure analysis. Therefore, in the second embodiment, the log saving unit 12 saves not only log data while the physical button is pressed, but also log data from a time point that is a predetermined time after the timing when the physical button is pressed.
  • FIG. 4 is a flowchart showing the operation of the log evacuation apparatus 10 according to the second embodiment.
  • the log saving apparatus 10 starts the operation of FIG.
  • the operation detection unit 11 waits for the physical button of the input device 102 to be pressed (step S101).
  • the user visually observes the screen of the display device 101 and finds a failure on the screen of the display device 101, the user presses the physical button of the input device 102.
  • the log extraction control unit 12a of the log saving unit 12 causes the log extraction unit 12b to start extracting log data.
  • the log extraction unit 12b extracts log data output by the log output unit 2 from a certain period of time to the present from among the log data already stored in the log holding unit 3, and the saved log holding unit 13 (Step S110).
  • the log extracting unit 12b extracts the latest log data output from the log output unit 2 and written in the log holding unit 3 (step S102), and saves the extracted log data to the save log holding unit 13. (Step S103).
  • step S104 the operation detection unit 11 confirms whether or not the pressing of the physical button of the input device 102 has been released. If the physical button has not been pressed (NO in step S104), the process returns to step S102, and the log extraction control unit 12a causes the log extraction unit 12b to continue the log data saving process. If the pressing of the physical button is released (YES in step S104), the log extraction control unit 12a causes the log extraction unit 12b to finish the log data saving process.
  • log data from a predetermined time ago can be saved in the save log holding unit 13. Therefore, when a user visually finds a failure, the user can press the physical button to save log data before and after the occurrence of the failure that can be confirmed only visually. In addition, there is an advantage that log data at the time of failure can be surely saved even when the timing when the user presses the physical button is delayed.
  • the length of time going back from the timing of pressing the physical button may be set to an arbitrary length by the user.
  • the log saving unit 12 is further configured to save the log data from when the physical button is pressed down until a certain time has elapsed.
  • FIG. 5 is a flowchart showing the operation of the log evacuation apparatus 10 according to the third embodiment.
  • the log saving apparatus 10 starts the operation of FIG.
  • the operation detection unit 11 waits for the physical button of the input device 102 to be pressed (step S101).
  • the user visually observes the screen of the display device 101 and finds a failure on the screen of the display device 101, the user presses the physical button of the input device 102.
  • the log extraction control unit 12a of the log saving unit 12 causes the log extraction unit 12b to start extracting log data.
  • the log extraction unit 12b extracts log data output by the log output unit 2 from a certain period of time to the present from among the log data already stored in the log holding unit 3, and the saved log holding unit 13 (Step S110).
  • the log extracting unit 12b extracts the latest log data output from the log output unit 2 and written in the log holding unit 3 (step S102), and saves the extracted log data to the save log holding unit 13. (Step S103).
  • step S104 the operation detection unit 11 confirms whether or not the pressing of the physical button of the input device 102 has been released. If the physical button has not been pressed (NO in step S104), the process returns to step S102, and the log extraction control unit 12a causes the log extraction unit 12b to continue the log data saving process.
  • the log extraction control unit 12a checks whether or not a certain time has passed since the pressing of the physical button was released (step S120). The log extraction control unit 12a causes the log extraction unit 12b to continue extracting and saving log data (step S121) until a predetermined time has elapsed after the physical button is released (NO in step S120). When a certain period of time has elapsed since the physical button was released (YES in step S120), the log extraction control unit 12a causes the log extraction unit 12b to finish the log data saving process (step S120).
  • log evacuation apparatus 10 in addition to the log data output by the log output unit 2 while the user is pressing the physical button of the input device 102, In addition, log data from before a certain time and log data from when the physical button is released to a certain time can be saved in the save log holding unit 13. Therefore, when a user visually detects a failure, the physical data can be pushed to save log data before and after the occurrence of the failure that can be confirmed only visually.
  • the length of time for which log data is continuously saved after the physical button is released may be set to an arbitrary length by the user.
  • FIG. 6 is a flowchart showing the operation of the log evacuation apparatus 10 according to the fourth embodiment.
  • the log saving apparatus 10 starts the operation of FIG.
  • the operation detection unit 11 waits for the user to perform an area designation operation using the input device 102 (step S201).
  • the user visually observes the screen of the display device 101, and when a failure 200 as shown in FIG. 7 appears on the screen of the display device 101, the user operates the input device 102 to specify an area 210 including the failure 200. Do.
  • the operation detection unit 11 When the operation detection unit 11 detects an operation for designating a region (YES in step S201), the operation detection unit 11 controls the display control unit 1 to display a figure (a dotted rectangle in FIG. 7) indicating the designated region 210 on the screen of the display device 101. It is displayed (step S202).
  • the log extraction control unit 12a causes the log extraction unit 12b to start extracting log data.
  • the log extraction unit 12b extracts the latest log data output from the log output unit 2 and written in the log holding unit 3 (step S203), and further adds information indicating the designated area 210 to the log data (step S203). Step S204). Then, the log data including the designated area information is saved in the save log holding unit 13 (step S205).
  • the designated area information information on coordinates indicating the position of the designated area 210, image data of an image displayed in the designated area 210, and the like can be considered.
  • the operation detection unit 11 confirms whether or not the user has performed an area designation canceling operation using the input device 102 (step S206). If the region designation release operation has not been performed (NO in step S206), the process returns to step S203, and the log extraction control unit 12a causes the log extraction unit 12b to continue the log data saving process. If a region designation release operation is performed (YES in step S206), the operation detection unit 11 controls the display control unit 1 to erase the graphic indicating the designated region 210 from the screen of the display device 101 (step S207), and log The extraction control unit 12a causes the log extraction unit 12b to finish the log data saving process.
  • the log data output by the log output unit 2 while the user designates an area including a failure using the input device 102, and the area Is stored in the save log holding unit 13. Therefore, it is possible to save log data when a failure that can only be visually confirmed occurs, and to save information indicating the position where the failure has occurred.
  • the log saving unit 12 may save log data (including region designation information) from the timing when the operation detection unit 11 detects the region designation release operation until a certain time has elapsed to the save log holding unit 13. Good.
  • 100 display control device 1 display control unit, 2 log output unit, 2a normal log output unit, 2b detailed log output unit, 2c serial log output unit, 3 log holding unit, 10 log evacuation device, 11 operation detection unit, 12 log Save unit, 12a log extraction control unit, 12b log extraction unit, 13 save log holding unit, 101 display device, 102 input device, 51 processor, 52 memory, 53 input / output interface, 200 failure, 210 designated area.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

A display control unit (1) and a log output unit (2) of a display control device (100) are implemented by executing a display control program with a processor. A user views a screen of a display device (101) with the eyes, and performs a specific operation to an input device (102) if a failure is found. In a log saving device (10), an operation detection unit (11) of the log saving device (10) checks whether or not the specific operation has been performed to the input device (102). If the operation detection unit (11) detects the specific operation, a log saving unit (12) saves, in a saved log holding unit (13), the latest log data that has been output by the log output unit (2) and written into a log holding unit (3).

Description

ログデータ退避装置およびログデータ退避方法Log data saving device and log data saving method

 本発明は、プログラム実行時のログデータを退避させる技術に関し、特に、表示装置に画像を表示させる表示制御プログラムのログデータを退避させる技術に関する。 The present invention relates to a technique for saving log data during program execution, and more particularly to a technique for saving log data of a display control program for displaying an image on a display device.

 車載装置など、プログラムが実行されることでその動作が実現される機器の開発において、各プログラムが生成するログデータ(以下、単に「ログ」ということもある)を取得して、機器で生じた障害の内容を解析することが行われている(例えば、下記の特許文献1)。 In the development of equipment such as an in-vehicle device that realizes its operation by executing the program, log data generated by each program (hereinafter sometimes simply referred to as “log”) was acquired and generated in the equipment. Analyzing the content of a failure is performed (for example, Patent Document 1 below).

 一般に、プログラムのログデータは、サイクリックに上書き保存する記憶装置に保存されるため、ログデータが増えると、古いログデータは消失してしまう。そのため、障害発生時にプログラムが生成したログデータは、後で障害解析を行うために、消失のおそれのない他の記憶装置に保存してバックアップすることが望ましい。このようにログデータを消失のおそれのない他の記憶装置に移すことを「退避」という。 Generally, since log data of a program is stored in a storage device that is cyclically overwritten, old log data is lost when the log data increases. Therefore, log data generated by a program when a failure occurs is preferably saved and backed up in another storage device that is not likely to be lost in order to perform failure analysis later. This transfer of log data to another storage device that is not likely to be lost is called “evacuation”.

特開2014-182715号公報JP 2014-182715 A

 例えば、ログパターンマッチングなどの手法により、障害発生時のログデータを自動的に抽出することができれば、障害解析に必要なログデータを自動的に退避させることが可能である。しかし、表示装置の画面に画像を表示させる情報処理装置の開発では、画面のちらつきや画面を構成する部品画像の配置ズレなど、目視でしか確認できない障害があり、そのような障害を自動的に検知することは困難である。 For example, if log data at the time of failure occurrence can be automatically extracted by a technique such as log pattern matching, log data necessary for failure analysis can be automatically saved. However, in the development of information processing devices that display images on the screen of display devices, there are obstacles that can only be confirmed visually, such as flickering of the screen and misalignment of the component images that make up the screen. It is difficult to detect.

 本発明は上記のような課題を解決するためになされたものであり、目視でしか確認できない障害が発生したときのログデータを退避させることが可能なログ退避装置を提供することを目的とする。 The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a log evacuation apparatus that can evacuate log data when a failure that can only be visually confirmed occurs. .

 本発明に係るログデータ退避装置は、表示装置に画像を表示させる表示制御プログラム用のログデータ退避装置であって、入力装置に対するユーザの特定の操作を検出する操作検出部と、表示制御プログラムが出力するログデータの一部を抽出して退避させるログ退避部と、を備え、ログ退避部は、操作検出部が特定の操作を検出すると、表示制御プログラムが出力するログデータの退避を開始する。 A log data saving device according to the present invention is a log data saving device for a display control program that displays an image on a display device, and includes an operation detection unit that detects a user's specific operation on an input device, and a display control program. A log saving unit that extracts and saves a part of the output log data. The log saving unit starts saving the log data output by the display control program when the operation detection unit detects a specific operation. .

 本発明にかかるログ退避装置によれば、表示装置の画面の目視でしか確認できない障害が発生したときのログデータを退避させることが可能である。 According to the log evacuation device according to the present invention, it is possible to evacuate log data when a failure occurs that can only be confirmed visually on the screen of the display device.

 本発明の目的、特徴、態様、および利点は、以下の詳細な説明と添付図面とによって、より明白となる。 The objects, features, aspects and advantages of the present invention will become more apparent from the following detailed description and the accompanying drawings.

本発明に係るログ退避装置を含む情報表示システムの構成を示すブロック図である。It is a block diagram which shows the structure of the information display system containing the log evacuation apparatus which concerns on this invention. ログ退避装置のハードウェア構成例を示す図である。It is a figure which shows the hardware structural example of a log evacuation apparatus. 実施の形態1に係るログ退避装置の動作を示すフローチャートである。4 is a flowchart showing an operation of the log evacuation apparatus according to the first embodiment. 実施の形態2に係るログ退避装置の動作を示すフローチャートである。10 is a flowchart showing an operation of the log evacuation apparatus according to the second embodiment. 実施の形態3に係るログ退避装置の動作を示すフローチャートである。10 is a flowchart illustrating an operation of the log evacuation apparatus according to the third embodiment. 実施の形態4に係るログ退避装置の動作を示すフローチャートである。10 is a flowchart showing the operation of the log evacuation apparatus according to the fourth embodiment. 表示装置の画面に現れた障害およびユーザが指定した領域の例を示す図である。It is a figure which shows the example of the area | region which the fault and the user which appeared on the screen of a display apparatus specified.

 <実施の形態1>
 図1は、本発明に係る情報表示システムの構成を示すブロック図である。当該情報表示システムは、表示制御装置100と、それに接続された表示装置101および入力装置102とから構成される。このような情報表示システムとしては、例えば車両に搭載されるカーマルチメディア端末などがある。
<Embodiment 1>
FIG. 1 is a block diagram showing a configuration of an information display system according to the present invention. The information display system includes a display control device 100, and a display device 101 and an input device 102 connected thereto. Examples of such an information display system include a car multimedia terminal mounted on a vehicle.

 表示装置101は、表示制御装置100が出力する表示信号に応じた画像を画面に表示するものであり、例えば液晶表示装置などである。入力装置102は、ユーザが表示制御装置100および表示装置101の操作を行うためのユーザインターフェイスである。入力装置102は、物理ボタン、キーボード、マウスなどのハードウェアキーでもよいし、画面に表示されるソフトウェアキーでもよい。入力装置102としてのソフトウェアキーを表示装置101の画面に表示させることで、表示装置101と入力装置102を1つのタッチパネルとして構成してもよい。 The display device 101 displays an image corresponding to a display signal output from the display control device 100 on a screen, and is, for example, a liquid crystal display device. The input device 102 is a user interface for the user to operate the display control device 100 and the display device 101. The input device 102 may be a hardware key such as a physical button, a keyboard, or a mouse, or may be a software key displayed on the screen. The display device 101 and the input device 102 may be configured as one touch panel by displaying a software key as the input device 102 on the screen of the display device 101.

 表示制御装置100は、表示制御部1、ログ出力部2、ログ保持部3およびログ退避装置10を備えている。 The display control device 100 includes a display control unit 1, a log output unit 2, a log holding unit 3, and a log saving device 10.

 表示制御部1およびログ出力部2は、表示制御装置100のプロセッサがメモリに記憶された表示制御プログラムを実行することによって実現される構成要素である。表示制御部1は、表示装置101に画像を表示させるための表示信号を生成する。ログ出力部2は、表示制御部1の動作状況すなわち表示制御プログラムの実行状況を示すログデータを出力する。ここでは、ログ出力部2は、通常ログを出力する通常ログ出力部2aと、詳細ログを出力する詳細ログ出力部2bと、シリアルログを出力するシリアルログ出力部2cとを含むものとするが、それらのうち少なくとも1つを備えていればよい。以下、ログ出力部2が出力する通常ログ、詳細ログ、シリアルログをまとめて「ログデータ」という。 The display control unit 1 and the log output unit 2 are components realized when the processor of the display control apparatus 100 executes a display control program stored in the memory. The display control unit 1 generates a display signal for causing the display device 101 to display an image. The log output unit 2 outputs log data indicating the operation status of the display control unit 1, that is, the execution status of the display control program. Here, the log output unit 2 includes a normal log output unit 2a that outputs a normal log, a detailed log output unit 2b that outputs a detailed log, and a serial log output unit 2c that outputs a serial log. It is sufficient that at least one of them is provided. Hereinafter, the normal log, detailed log, and serial log output by the log output unit 2 are collectively referred to as “log data”.

 ログ保持部3は、ログ出力部2が出力するログデータを保持する記憶装置である。ここでは、ログ保持部3は、ログデータをサイクリックに上書き保存するものとする。すなわち、ログ保持部3内のログデータは、表示制御部1が動作を継続するうちに新たなログデータによって上書きされて消失してしまう。 The log holding unit 3 is a storage device that holds log data output by the log output unit 2. Here, it is assumed that the log holding unit 3 cyclically overwrites and saves log data. That is, the log data in the log holding unit 3 is overwritten by new log data and disappears while the display control unit 1 continues to operate.

 ログ退避装置10は、表示制御装置100の動作試験の際に、ログ保持部3に書き込まれるログデータの一部を抽出して、ログ保持部3とは別の記憶装置に退避させることで、ログデータのバックアップをとるものである。ログ退避装置10は、操作検出部11、ログ退避部12および退避ログ保持部13を備えている。 The log saving device 10 extracts a part of the log data written in the log holding unit 3 during the operation test of the display control device 100 and saves it in a storage device different from the log holding unit 3. Log data is backed up. The log save device 10 includes an operation detection unit 11, a log save unit 12, and a save log holding unit 13.

 操作検出部11は、入力装置102に対するユーザの特定の操作を検出する。ログ退避部12は、操作検出部11が特定の操作を検出したときに、ログ保持部3に書き込まれた最新のログデータ(すなわち、ログ出力部2が直前に出力したログデータ)を抽出して、退避ログ保持部13に退避させる。図1のように、ログ退避部12は、操作検出部11による特定の操作の検出結果に応じてログデータの抽出範囲を指定するログ抽出制御部12aと、ログ抽出制御部12aが指定した範囲のログデータをログ保持部3から抽出して、退避ログ保持部13に退避させるログ抽出部12bとから構成されている。 The operation detection unit 11 detects a user's specific operation on the input device 102. The log saving unit 12 extracts the latest log data written in the log holding unit 3 (that is, the log data output immediately before by the log output unit 2) when the operation detection unit 11 detects a specific operation. And saved in the save log holding unit 13. As illustrated in FIG. 1, the log saving unit 12 includes a log extraction control unit 12a that specifies an extraction range of log data according to a detection result of a specific operation by the operation detection unit 11, and a range specified by the log extraction control unit 12a. The log data is extracted from the log holding unit 3 and is saved in the save log holding unit 13.

 ログ退避部12が退避ログ保持部13に退避させるログデータは、通常ログ出力部2aが出力した通常ログ、詳細ログ出力部2bが出力した詳細ログ、シリアルログ出力部2cが出力したシリアルログのいずれでもよいし、それらのうちの2つ以上でもよい。また、通常ログ、詳細ログ、シリアルログのうち、どれを退避ログ保持部13に退避させるかを、ユーザが任意に設定できるようにしてもよい。 The log data that the log saving unit 12 saves in the save log holding unit 13 includes the normal log output by the normal log output unit 2a, the detailed log output by the detailed log output unit 2b, and the serial log output by the serial log output unit 2c. Either may be sufficient and two or more of them may be sufficient. Further, the user may arbitrarily set which of the normal log, the detailed log, and the serial log is saved in the save log holding unit 13.

 退避ログ保持部13は、ログ退避部12が退避させたログデータを保持する記憶装置である。退避ログ保持部13は、保持しているログデータを、ユーザが消去を命じない限り保持し続けることが好ましい。そのため、退避ログ保持部13の記憶容量はログ保持部3よりも大きいことが好ましい。 The save log holding unit 13 is a storage device that holds log data saved by the log save unit 12. The evacuation log holding unit 13 preferably keeps holding the log data unless the user orders deletion. Therefore, it is preferable that the storage capacity of the save log holding unit 13 is larger than that of the log holding unit 3.

 なお、退避ログ保持部13が十分に大きな記憶容量を持つ場合には、退避ログ保持部13も、ログ保持部3と同様にログデータをサイクリックに上書き保存してもよい。ログ退避部12が退避させるログデータは、ログ保持部3に書き込まれるログデータの一部に過ぎないため、退避ログ保持部13にログデータが保持される時間は、ログ保持部3のそれよりも十分長いものになる。また、退避ログ保持部13の容量が大きければ、その時間をより長くできる。 If the save log holding unit 13 has a sufficiently large storage capacity, the save log holding unit 13 may cyclically save the log data in the same manner as the log holding unit 3. Since the log data saved by the log saving unit 12 is only a part of the log data written to the log holding unit 3, the time for which the log data is held in the save log holding unit 13 is longer than that of the log holding unit 3. Will be long enough. Further, if the capacity of the save log holding unit 13 is large, the time can be made longer.

 図2は、ログ退避装置10のハードウェア構成を示す図である。図2のように、ログ退避装置10は、少なくともプロセッサ51、メモリ52、入出力インターフェイス(I/F)53を含む構成となっている。 FIG. 2 is a diagram illustrating a hardware configuration of the log saving device 10. As shown in FIG. 2, the log saving device 10 includes at least a processor 51, a memory 52, and an input / output interface (I / F) 53.

 プロセッサ51は、メモリ52に格納されるプログラムを実行するCPU(Central Processing Unit、中央処理装置、処理装置、演算装置、マイクロプロセッサ、マイクロコンピュータ、プロセッサ、DSPともいう)である。また、メモリ52は、例えば、RAM(Random-Access Memory)、ROM(Read-Only Memory)、フラッシュメモリ、EPROM(Erasable Programmable Read-Only Memory)、EEPROM(Electrically Erasable Programmable Read-Only Memory)等の、不揮発性または揮発性の半導体メモリや、磁気ディスク、フレキシブルディスク、光ディスク、コンパクトディスク、ミニディスク、DVD(Digital Versatile Disc)等が該当する。 The processor 51 is a CPU (also referred to as a central processing unit, a central processing unit, a processing unit, a processing unit, a microprocessor, a microcomputer, a processor, or a DSP) that executes a program stored in the memory 52. The memory 52 includes, for example, RAM (Random-Access Memory), ROM (Read-Only Memory), flash memory, EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically-Erasable Programmable Read-Only Memory), Nonvolatile or volatile semiconductor memories, magnetic disks, flexible disks, optical disks, compact disks, mini disks, DVDs (Digital Versatile Discs), and the like are applicable.

 本実施の形態のように、ログ退避装置10が表示制御装置100に適用される場合、プロセッサ51は、表示制御部1およびログ出力部2を実現する表示制御プログラムを実行するプロセッサと同じものでもよい。また、メモリ52は、当該表示制御プログラムを記憶するメモリや、ログ保持部3としての記憶装置と同じものでもよい。 When the log saving device 10 is applied to the display control device 100 as in the present embodiment, the processor 51 may be the same as the processor that executes the display control program that implements the display control unit 1 and the log output unit 2. Good. Further, the memory 52 may be the same as a memory that stores the display control program or a storage device as the log holding unit 3.

 表示装置101および入力装置102は、入出力インターフェイス53に接続される。図1では、表示装置101および入力装置102がログ退避装置10を含む表示制御装置100に外付けされた構成としたが、それらは一体的に構成されていてもよい。 The display device 101 and the input device 102 are connected to the input / output interface 53. In FIG. 1, the display device 101 and the input device 102 are externally attached to the display control device 100 including the log saving device 10, but they may be integrally configured.

 ログ退避装置10の各要素(操作検出部11、ログ退避部12および退避ログ保持部13)の機能は、プロセッサ51がメモリ52に格納されたプログラムを実行することにより実現される。すなわち、ログ退避装置10は、入力装置102に対するユーザの特定の操作を検出する操作検出部11と、操作検出部11が特定の操作を検出したときに、表示制御プログラムが出力するログデータを抽出して退避ログ保持部13に退避させるログ退避部12とを、プログラムを実行することで実現するプロセッサ51を備えている。なお、退避ログ保持部13は、メモリ52の一部を用いて実現される。 The function of each element (the operation detection unit 11, the log saving unit 12, and the saving log holding unit 13) of the log saving device 10 is realized by the processor 51 executing a program stored in the memory 52. That is, the log evacuation device 10 extracts an operation detection unit 11 that detects a user's specific operation on the input device 102 and log data output by the display control program when the operation detection unit 11 detects a specific operation. The log saving unit 12 to be saved in the save log holding unit 13 is provided with a processor 51 that is realized by executing a program. The save log holding unit 13 is realized using a part of the memory 52.

 言い換えれば、ログ退避装置10は、プロセッサ51により実行されることによって、入力装置102に対するユーザの特定の操作が行われたか否かを確認する処理と、特定の操作を検出したときに、表示制御プログラムが出力するログデータの退避を開始する処理とが、結果的に実行されるプログラムを格納するためのメモリ52を備える。また、これらのプログラムは、これらの処理およびその手順をコンピュータに実行させるものであるともいえる。 In other words, the log evacuation device 10 is executed by the processor 51 to confirm whether or not the user's specific operation has been performed on the input device 102 and display control when detecting the specific operation. The process of starting saving the log data output by the program includes a memory 52 for storing the program executed as a result. These programs can also be said to cause a computer to execute these processes and procedures.

 次に、実施の形態1に係るログ退避装置10の動作を説明する。図3は、その動作を示すフローチャートである。ログ退避装置10は、表示制御装置100の動作試験の際に用いられるため、ここでのユーザは当該試験を行う試験実施者である。また、本実施の形態では、入力装置102は物理ボタンを含み、操作検出部11はその物理ボタンの押下を検出するものとする。また、ユーザは、表示制御装置100の動作試験において、表示装置101の画面上に障害(ちらつきや部品画像の配置ズレなど)を見つけると、上記の物理ボタンを押下するものとする。 Next, the operation of the log evacuation apparatus 10 according to the first embodiment will be described. FIG. 3 is a flowchart showing the operation. Since the log evacuation device 10 is used in the operation test of the display control device 100, the user here is a tester who performs the test. In the present embodiment, the input device 102 includes a physical button, and the operation detection unit 11 detects the pressing of the physical button. In addition, in the operation test of the display control device 100, the user presses the physical button when a failure (such as flicker or component image misalignment) is found on the screen of the display device 101.

 ユーザが、表示制御装置100を動作させて表示装置101に画像を表示させる動作試験を開始すると、ログ退避装置10が図3の動作を開始する。 When the user operates the display control device 100 and starts an operation test for displaying an image on the display device 101, the log saving device 10 starts the operation of FIG.

 ログ退避装置10が動作を開始すると、操作検出部11が、入力装置102の物理ボタンが押下されるのを待つ(ステップS101)。ユーザは、表示装置101の画面を目視することで、表示制御装置100が正常に動作しているかどうかを確認する。ユーザが表示装置101の画面上に障害を見つけ、入力装置102の物理ボタンを押下すると、その操作が操作検出部11によって検出される。 When the log evacuation device 10 starts operating, the operation detection unit 11 waits for the physical button of the input device 102 to be pressed (step S101). The user visually checks the screen of the display device 101 to check whether the display control device 100 is operating normally. When the user finds a failure on the screen of the display device 101 and presses the physical button of the input device 102, the operation is detected by the operation detection unit 11.

 操作検出部11が物理ボタンの押下を検出すると(ステップS101でYES)、ログ退避部12のログ抽出制御部12aが、ログ抽出部12bにログデータの抽出を開始させる。ログ抽出部12bは、ログ出力部2が出力してログ保持部3に書き込まれた最新のログデータを抽出し(ステップS102)、抽出したログデータを退避ログ保持部13へ退避させる(ステップS103)。 When the operation detection unit 11 detects pressing of the physical button (YES in step S101), the log extraction control unit 12a of the log saving unit 12 causes the log extraction unit 12b to start extracting log data. The log extraction unit 12b extracts the latest log data output from the log output unit 2 and written in the log holding unit 3 (step S102), and saves the extracted log data to the save log holding unit 13 (step S103). ).

 その後、操作検出部11は、入力装置102の物理ボタンの押下が解除されたかどうかを確認する(ステップS104)。物理ボタンの押下が解除されていなければ(ステップS104でNO)、ステップS102へ戻り、ログ抽出制御部12aがログ抽出部12bにログデータの退避処理を継続させる。物理ボタンの押下が解除されていれば(ステップS104でYES)、ログ抽出制御部12aがログ抽出部12bにログデータの退避処理を終了させる。 Thereafter, the operation detection unit 11 confirms whether or not the pressing of the physical button of the input device 102 has been released (step S104). If the physical button has not been pressed (NO in step S104), the process returns to step S102, and the log extraction control unit 12a causes the log extraction unit 12b to continue the log data saving process. If the pressing of the physical button is released (YES in step S104), the log extraction control unit 12a causes the log extraction unit 12b to finish the log data saving process.

 このように、実施の形態1に係るログ退避装置10によれば、ユーザが入力装置102の物理ボタンを押下している間にログ出力部2が出力したログデータが、退避ログ保持部13に退避される。よって、ユーザが目視で障害を見つけたときに物理ボタンを押すことで、目視でしか確認できない障害が発生したときのログデータを退避させることができる。 As described above, according to the log evacuation device 10 according to the first embodiment, the log data output by the log output unit 2 while the user presses the physical button of the input device 102 is stored in the evacuation log holding unit 13. Evacuated. Therefore, by pressing the physical button when the user visually finds a failure, log data when a failure that can be confirmed only visually can be saved.

 <実施の形態2>
 実施の形態1では、ユーザ(試験実施者)が入力装置102の物理ボタンを押下している間のログデータ、すなわち障害が発生中のログデータが、退避ログ保持部13に退避される構成としたが、障害の解析には、障害が発生する直前のログデータも有用である。そこで、実施の形態2では、ログ退避部12に、物理ボタンを押下している間のログデータだけでなく、物理ボタンが押下されたタイミングから一定時間遡った時点からのログデータも退避させる。
<Embodiment 2>
In the first embodiment, log data while the user (tester) presses the physical button of the input device 102, that is, log data in which a failure has occurred is saved in the save log holding unit 13. However, log data immediately before a failure occurs is also useful for failure analysis. Therefore, in the second embodiment, the log saving unit 12 saves not only log data while the physical button is pressed, but also log data from a time point that is a predetermined time after the timing when the physical button is pressed.

 本実施の形態におけるログ退避装置10およびそれを備える表示制御装置100の構成は、実施の形態1と同様であるため、ここでの説明は省略する。 Since the configuration of the log evacuation device 10 and the display control device 100 including the same in the present embodiment is the same as that of the first embodiment, description thereof is omitted here.

 図4は、実施の形態2に係るログ退避装置10の動作を示すフローチャートである。ユーザが、表示制御装置100を動作させて、表示装置101に画像を表示させる動作試験を開始すると、ログ退避装置10が図4の動作を開始する。 FIG. 4 is a flowchart showing the operation of the log evacuation apparatus 10 according to the second embodiment. When the user operates the display control apparatus 100 and starts an operation test for displaying an image on the display apparatus 101, the log saving apparatus 10 starts the operation of FIG.

 ログ退避装置10が動作を開始すると、操作検出部11は、入力装置102の物理ボタンが押下されるのを待つ(ステップS101)。ユーザは、表示装置101の画面を目視し、表示装置101の画面上に障害を見つけると、入力装置102の物理ボタンを押下する。 When the log saving device 10 starts operating, the operation detection unit 11 waits for the physical button of the input device 102 to be pressed (step S101). When the user visually observes the screen of the display device 101 and finds a failure on the screen of the display device 101, the user presses the physical button of the input device 102.

 操作検出部11が物理ボタンの押下を検出すると(ステップS101でYES)、ログ退避部12のログ抽出制御部12aが、ログ抽出部12bにログデータの抽出を開始させる。ログ抽出部12bは、まず、すでにログ保持部3に記憶されているログデータのうち、一定時間前から現在までの間にログ出力部2が出力したログデータを抽出して退避ログ保持部13へ退避させる(ステップS110)。続いて、ログ抽出部12bは、ログ出力部2が出力してログ保持部3に書き込まれた最新のログデータを抽出し(ステップS102)、抽出したログデータを退避ログ保持部13へ退避させる(ステップS103)。 When the operation detection unit 11 detects pressing of the physical button (YES in step S101), the log extraction control unit 12a of the log saving unit 12 causes the log extraction unit 12b to start extracting log data. First, the log extraction unit 12b extracts log data output by the log output unit 2 from a certain period of time to the present from among the log data already stored in the log holding unit 3, and the saved log holding unit 13 (Step S110). Subsequently, the log extracting unit 12b extracts the latest log data output from the log output unit 2 and written in the log holding unit 3 (step S102), and saves the extracted log data to the save log holding unit 13. (Step S103).

 次に、操作検出部11は、入力装置102の物理ボタンの押下が解除されたかどうかを確認する(ステップS104)。物理ボタンの押下が解除されていなければ(ステップS104でNO)、ステップS102へ戻り、ログ抽出制御部12aがログ抽出部12bにログデータの退避処理を継続させる。物理ボタンの押下が解除されていれば(ステップS104でYES)、ログ抽出制御部12aがログ抽出部12bにログデータの退避処理を終了させる。 Next, the operation detection unit 11 confirms whether or not the pressing of the physical button of the input device 102 has been released (step S104). If the physical button has not been pressed (NO in step S104), the process returns to step S102, and the log extraction control unit 12a causes the log extraction unit 12b to continue the log data saving process. If the pressing of the physical button is released (YES in step S104), the log extraction control unit 12a causes the log extraction unit 12b to finish the log data saving process.

 このように、本実施の形態に係るログ退避装置10によれば、ユーザが入力装置102の物理ボタンを押下している間にログ出力部2が出力したログデータに加え、物理ボタンの押下よりも一定時間前からのログデータを、退避ログ保持部13に退避させることができる。よって、ユーザが、目視で障害を見つけたときに物理ボタンを押すことで、目視でしか確認できない障害の発生時および発生前のログデータを退避させることができる。また、ユーザが物理ボタンを押下するタイミングが遅れた場合でも、障害発生時のログデータを確実に退避させることができるという利点もある。 As described above, according to the log evacuation apparatus 10 according to the present embodiment, in addition to the log data output by the log output unit 2 while the user is pressing the physical button of the input device 102, In addition, log data from a predetermined time ago can be saved in the save log holding unit 13. Therefore, when a user visually finds a failure, the user can press the physical button to save log data before and after the occurrence of the failure that can be confirmed only visually. In addition, there is an advantage that log data at the time of failure can be surely saved even when the timing when the user presses the physical button is delayed.

 なお、物理ボタンの押下のタイミングから遡る時間の長さは、ユーザが任意の長さに設定できるようにしてもよい。 It should be noted that the length of time going back from the timing of pressing the physical button may be set to an arbitrary length by the user.

 <実施の形態3>
 障害の解析には、障害の発生中および発生直前のログデータだけでなく、障害が解消された直後のログデータも有用になる場合がある。そこで、実施の形態3では、さらに、ログ退避部12に、物理ボタンの押下が終了したタイミングから一定時間経過後までのログデータを退避させるようにする。
<Embodiment 3>
For failure analysis, not only log data during and immediately before the occurrence of the failure, but also log data immediately after the failure is resolved may be useful. Therefore, in the third embodiment, the log saving unit 12 is further configured to save the log data from when the physical button is pressed down until a certain time has elapsed.

 本実施の形態におけるログ退避装置10およびそれを備える表示制御装置100の構成は、実施の形態1と同様であるため、ここでの説明は省略する。 Since the configuration of the log evacuation device 10 and the display control device 100 including the same in the present embodiment is the same as that of the first embodiment, description thereof is omitted here.

 図5は、実施の形態3に係るログ退避装置10の動作を示すフローチャートである。ユーザが、表示制御装置100を動作させて、表示装置101に画像を表示させる動作試験を開始すると、ログ退避装置10が図5の動作を開始する。 FIG. 5 is a flowchart showing the operation of the log evacuation apparatus 10 according to the third embodiment. When the user operates the display control apparatus 100 and starts an operation test for displaying an image on the display apparatus 101, the log saving apparatus 10 starts the operation of FIG.

 ログ退避装置10が動作を開始すると、操作検出部11は、入力装置102の物理ボタンが押下されるのを待つ(ステップS101)。ユーザは、表示装置101の画面を目視し、表示装置101の画面上に障害を見つけると、入力装置102の物理ボタンを押下する。 When the log saving device 10 starts operating, the operation detection unit 11 waits for the physical button of the input device 102 to be pressed (step S101). When the user visually observes the screen of the display device 101 and finds a failure on the screen of the display device 101, the user presses the physical button of the input device 102.

 操作検出部11が物理ボタンの押下を検出すると(ステップS101でYES)、ログ退避部12のログ抽出制御部12aが、ログ抽出部12bにログデータの抽出を開始させる。ログ抽出部12bは、まず、すでにログ保持部3に記憶されているログデータのうち、一定時間前から現在までの間にログ出力部2が出力したログデータを抽出して退避ログ保持部13へ退避させる(ステップS110)。続いて、ログ抽出部12bは、ログ出力部2が出力してログ保持部3に書き込まれた最新のログデータを抽出し(ステップS102)、抽出したログデータを退避ログ保持部13へ退避させる(ステップS103)。 When the operation detection unit 11 detects pressing of the physical button (YES in step S101), the log extraction control unit 12a of the log saving unit 12 causes the log extraction unit 12b to start extracting log data. First, the log extraction unit 12b extracts log data output by the log output unit 2 from a certain period of time to the present from among the log data already stored in the log holding unit 3, and the saved log holding unit 13 (Step S110). Subsequently, the log extracting unit 12b extracts the latest log data output from the log output unit 2 and written in the log holding unit 3 (step S102), and saves the extracted log data to the save log holding unit 13. (Step S103).

 次に、操作検出部11は、入力装置102の物理ボタンの押下が解除されたかどうかを確認する(ステップS104)。物理ボタンの押下が解除されていなければ(ステップS104でNO)、ステップS102へ戻り、ログ抽出制御部12aがログ抽出部12bにログデータの退避処理を継続させる。 Next, the operation detection unit 11 confirms whether or not the pressing of the physical button of the input device 102 has been released (step S104). If the physical button has not been pressed (NO in step S104), the process returns to step S102, and the log extraction control unit 12a causes the log extraction unit 12b to continue the log data saving process.

 物理ボタンの押下が解除されると(ステップS104でYES)、ログ抽出制御部12aは、物理ボタンの押下が解除されてから一定時間が経過したかどうか確認する(ステップS120)。ログ抽出制御部12aは、物理ボタンの押下が解除されてから一定時間が経過するまでは(ステップS120でNO)、ログ抽出部12bにログデータの抽出と退避を継続させる(ステップS121)。物理ボタンの押下が解除されてから一定時間が経過すると(ステップS120でYES)、ログ抽出制御部12aがログ抽出部12bにログデータの退避処理を終了させる(ステップS120)。 When the pressing of the physical button is released (YES in step S104), the log extraction control unit 12a checks whether or not a certain time has passed since the pressing of the physical button was released (step S120). The log extraction control unit 12a causes the log extraction unit 12b to continue extracting and saving log data (step S121) until a predetermined time has elapsed after the physical button is released (NO in step S120). When a certain period of time has elapsed since the physical button was released (YES in step S120), the log extraction control unit 12a causes the log extraction unit 12b to finish the log data saving process (step S120).

 このように、本実施の形態に係るログ退避装置10によれば、ユーザが入力装置102の物理ボタンを押下している間にログ出力部2が出力したログデータに加え、物理ボタンの押下よりも一定時間前からのログデータ、並びに、物理ボタンの押下の解除から一定時間後までのログデータを、退避ログ保持部13に退避させることができる。よって、ユーザが、目視で障害を見つけたときに物理ボタンを押すことで、目視でしか確認できない障害の発生時、発生前および発生後のログデータを退避させることができる。 As described above, according to the log evacuation apparatus 10 according to the present embodiment, in addition to the log data output by the log output unit 2 while the user is pressing the physical button of the input device 102, In addition, log data from before a certain time and log data from when the physical button is released to a certain time can be saved in the save log holding unit 13. Therefore, when a user visually detects a failure, the physical data can be pushed to save log data before and after the occurrence of the failure that can be confirmed only visually.

 なお、物理ボタンの押下が解消された後に、ログデータの退避を継続する時間の長さは、ユーザが任意の長さに設定できるようにしてもよい。 It should be noted that the length of time for which log data is continuously saved after the physical button is released may be set to an arbitrary length by the user.

 <実施の形態4>
 表示制御装置100の障害解析において、障害が表示装置101の画面のどの部分で生じたか、また、障害が画面上にどのように現れたかなどの情報は有用である。そこで、実施の形態4では、ユーザが表示装置101の画面上に生じた障害を見つけると、その障害が生じている領域を指定する操作を行うものとし、ログ出力部2が、その指定された領域を示す情報(指定領域情報)をログデータに含ませた上で、退避ログ保持部13に退避させるようにする。領域指定の操作としては、例えば、マウスやタッチパネルで画面上の2点を指定することで、その2点を結ぶ線分を対角線とする矩形の領域を指定する操作が考えられる。
<Embodiment 4>
In the failure analysis of the display control device 100, information such as in which part of the screen of the display device 101 the failure has occurred and how the failure has appeared on the screen is useful. Therefore, in the fourth embodiment, when the user finds a failure that has occurred on the screen of the display device 101, it is assumed that an operation for specifying the region in which the failure has occurred is performed, and the log output unit 2 performs the specified operation. Information indicating the area (designated area information) is included in the log data and then saved in the save log holding unit 13. As an operation for designating an area, for example, an operation for designating a rectangular area having a line segment connecting the two points as diagonal lines by designating two points on the screen with a mouse or a touch panel can be considered.

 本実施の形態におけるログ退避装置10およびそれを備える表示制御装置100の構成は、実施の形態1と同様であるため、ここでの説明は省略する。 Since the configuration of the log evacuation device 10 and the display control device 100 including the same in the present embodiment is the same as that of the first embodiment, description thereof is omitted here.

 図6は、実施の形態4に係るログ退避装置10の動作を示すフローチャートである。ユーザが、表示制御装置100を動作させて、表示装置101に画像を表示させる動作試験を開始すると、ログ退避装置10が図6の動作を開始する。 FIG. 6 is a flowchart showing the operation of the log evacuation apparatus 10 according to the fourth embodiment. When the user operates the display control apparatus 100 and starts an operation test for displaying an image on the display apparatus 101, the log saving apparatus 10 starts the operation of FIG.

 ログ退避装置10が動作を開始すると、操作検出部11は、ユーザが入力装置102を用いて領域指定の操作を行うのを待つ(ステップS201)。ユーザは、表示装置101の画面を目視し、表示装置101の画面上に図7のような障害200が現れると、入力装置102を操作して、その障害200を含む領域210を指定する操作を行う。 When the log evacuation device 10 starts operating, the operation detection unit 11 waits for the user to perform an area designation operation using the input device 102 (step S201). The user visually observes the screen of the display device 101, and when a failure 200 as shown in FIG. 7 appears on the screen of the display device 101, the user operates the input device 102 to specify an area 210 including the failure 200. Do.

 操作検出部11は、領域指定の操作を検出すると(ステップS201でYES)、表示制御部1を制御して、表示装置101の画面に指定領域210を示す図形(図7における点線の矩形)を表示させる(ステップS202)。 When the operation detection unit 11 detects an operation for designating a region (YES in step S201), the operation detection unit 11 controls the display control unit 1 to display a figure (a dotted rectangle in FIG. 7) indicating the designated region 210 on the screen of the display device 101. It is displayed (step S202).

 次に、ログ抽出制御部12aが、ログ抽出部12bにログデータの抽出を開始させる。ログ抽出部12bは、ログ出力部2が出力してログ保持部3に書き込まれた最新のログデータを抽出し(ステップS203)、さらに、当該ログデータに指定領域210を示す情報を付加する(ステップS204)。そして、指定領域情報を含むログデータを退避ログ保持部13へ退避させる(ステップS205)。指定領域情報としては、指定領域210の位置を示す座標の情報や、指定領域210内に表示された画像の画像データなどが考えられる。 Next, the log extraction control unit 12a causes the log extraction unit 12b to start extracting log data. The log extraction unit 12b extracts the latest log data output from the log output unit 2 and written in the log holding unit 3 (step S203), and further adds information indicating the designated area 210 to the log data (step S203). Step S204). Then, the log data including the designated area information is saved in the save log holding unit 13 (step S205). As the designated area information, information on coordinates indicating the position of the designated area 210, image data of an image displayed in the designated area 210, and the like can be considered.

 その後、操作検出部11は、ユーザが入力装置102を用いて領域指定の解除操作を行ったかどうかを確認する(ステップS206)。領域指定の解除操作が行われていなければ(ステップS206でNO)、ステップS203へ戻り、ログ抽出制御部12aがログ抽出部12bにログデータの退避処理を継続させる。領域指定の解除操作が行われれば(ステップS206でYES)、操作検出部11が表示制御部1を制御して表示装置101の画面から指定領域210を示す図形を消去し(ステップS207)、ログ抽出制御部12aがログ抽出部12bにログデータの退避処理を終了させる。 Thereafter, the operation detection unit 11 confirms whether or not the user has performed an area designation canceling operation using the input device 102 (step S206). If the region designation release operation has not been performed (NO in step S206), the process returns to step S203, and the log extraction control unit 12a causes the log extraction unit 12b to continue the log data saving process. If a region designation release operation is performed (YES in step S206), the operation detection unit 11 controls the display control unit 1 to erase the graphic indicating the designated region 210 from the screen of the display device 101 (step S207), and log The extraction control unit 12a causes the log extraction unit 12b to finish the log data saving process.

 このように、本実施の形態に係るログ退避装置10によれば、ユーザが入力装置102を用いて障害を含む領域を指定している間にログ出力部2が出力したログデータと、その領域を示す指定領域情報とが、退避ログ保持部13に退避される。よって、目視でしか確認できない障害が発生したときのログデータを退避させることができると共に、その障害が生じた位置を示す情報を退避させることができる。 As described above, according to the log evacuation apparatus 10 according to the present embodiment, the log data output by the log output unit 2 while the user designates an area including a failure using the input device 102, and the area Is stored in the save log holding unit 13. Therefore, it is possible to save log data when a failure that can only be visually confirmed occurs, and to save information indicating the position where the failure has occurred.

 上記した実施の形態2,3の技術は、実施の形態4にも適用可能である。すなわち、ログ退避部12が、操作検出部11が領域指定の操作を検出したタイミングから一定時間遡った時点からのログデータ(領域指定情報を含む)を、退避ログ保持部13へ退避させてもよい。また、ログ退避部12が、操作検出部11が領域指定の解除操作を検出したタイミングから一定時間経過後までのログデータ(領域指定情報を含む)を、退避ログ保持部13へ退避させてもよい。 The techniques of the second and third embodiments described above can also be applied to the fourth embodiment. That is, even if the log saving unit 12 saves the log data (including the area designation information) from the time point when the operation detection unit 11 detects the area designation operation for a certain time, to the save log holding unit 13. Good. Further, the log saving unit 12 may save log data (including region designation information) from the timing when the operation detection unit 11 detects the region designation release operation until a certain time has elapsed to the save log holding unit 13. Good.

 なお、本発明は、その発明の範囲内において、各実施の形態を自由に組み合わせたり、各実施の形態を適宜、変形、省略することが可能である。 It should be noted that the present invention can be freely combined with each other within the scope of the invention, and each embodiment can be appropriately modified or omitted.

 本発明は詳細に説明されたが、上記した説明は、すべての態様において、例示であって、この発明がそれに限定されるものではない。例示されていない無数の変形例が、この発明の範囲から外れることなく想定され得るものと解される。 Although the present invention has been described in detail, the above description is illustrative in all aspects, and the present invention is not limited thereto. It is understood that countless variations that are not illustrated can be envisaged without departing from the scope of the present invention.

 100 表示制御装置、1 表示制御部、2 ログ出力部、2a 通常ログ出力部、2b 詳細ログ出力部、2c シリアルログ出力部、3 ログ保持部、10 ログ退避装置、11 操作検出部、12 ログ退避部、12a ログ抽出制御部、12b ログ抽出部、13 退避ログ保持部、101 表示装置、102 入力装置、51 プロセッサ、52 メモリ、53 入出力インターフェイス、200 障害、210 指定領域。 100 display control device, 1 display control unit, 2 log output unit, 2a normal log output unit, 2b detailed log output unit, 2c serial log output unit, 3 log holding unit, 10 log evacuation device, 11 operation detection unit, 12 log Save unit, 12a log extraction control unit, 12b log extraction unit, 13 save log holding unit, 101 display device, 102 input device, 51 processor, 52 memory, 53 input / output interface, 200 failure, 210 designated area.

Claims (10)

 表示装置に画像を表示させる表示制御プログラム用のログデータ退避装置であって、
 入力装置に対するユーザの特定の操作を検出する操作検出部と、
 前記表示制御プログラムが出力するログデータの一部を抽出して退避させるログ退避部と、
を備え、
 前記ログ退避部は、前記操作検出部が前記特定の操作を検出すると、前記表示制御プログラムが出力する前記ログデータの退避を開始する
ログデータ退避装置。
A log data saving device for a display control program for displaying an image on a display device,
An operation detection unit for detecting a user's specific operation on the input device;
A log saving unit for extracting and saving a part of the log data output by the display control program;
With
The log saving unit is a log data saving device that starts saving the log data output by the display control program when the operation detection unit detects the specific operation.
 前記ログ退避部は、前記操作検出部が前記特定の操作の終了を検出すると、前記ログデータの退避を終了する
請求項1に記載のログデータ退避装置。
The log data evacuation apparatus according to claim 1, wherein the log evacuation unit terminates the evacuation of the log data when the operation detection unit detects the end of the specific operation.
 前記ログ退避部は、前記操作検出部が前記特定の操作の開始を検出したタイミングから一定時間遡った時点からの前記ログデータを退避させる
請求項1に記載のログデータ退避装置。
The log data evacuation apparatus according to claim 1, wherein the log evacuation unit evacuates the log data from a time point that is a predetermined time after the timing when the operation detection unit detects the start of the specific operation.
 前記ログ退避部は、前記操作検出部が前記特定の操作の終了を検出したタイミングから一定時間経過後までの前記ログデータを退避させる
請求項1に記載のログデータ退避装置。
The log data evacuation apparatus according to claim 1, wherein the log evacuation unit evacuates the log data from a timing when the operation detection unit detects the end of the specific operation until a predetermined time has elapsed.
 前記特定の操作は、前記表示装置の画面上の領域指定操作であり、
 前記ログ退避部は、前記領域指定操作によって指定された領域を示す情報を前記ログデータに含ませて退避させる
請求項1に記載のログデータ退避装置。
The specific operation is an area designation operation on the screen of the display device;
The log data evacuation apparatus according to claim 1, wherein the log evacuation unit evacuates by including information indicating an area designated by the area designation operation in the log data.
 前記ログ退避部は、前記操作検出部が前記領域指定操作による領域指定の解除操作を検出すると、前記ログデータの退避を終了する
請求項5に記載のログデータ退避装置。
The log data evacuation apparatus according to claim 5, wherein the log evacuation unit ends the evacuation of the log data when the operation detection unit detects a region designation release operation by the region designation operation.
 前記ログ退避部は、前記操作検出部が前記領域指定操作を検出したタイミングから一定時間遡った時点からの前記ログデータを退避させる
請求項5に記載のログデータ退避装置。
The log data evacuation apparatus according to claim 5, wherein the log evacuation unit evacuates the log data from a time point that is a predetermined time after the timing at which the operation detection unit detects the region designation operation.
 前記ログ退避部は、前記操作検出部が前記領域指定操作による領域指定の解除操作を検出したタイミングから一定時間経過後までの前記ログデータを退避させる
請求項5に記載のログデータ退避装置。
The log data evacuation apparatus according to claim 5, wherein the log evacuation unit evacuates the log data from a timing when the operation detection unit detects a region designation release operation by the region designation operation until a predetermined time has elapsed.
 前記ログ退避部が退避させる前記ログデータは、通常ログ、詳細ログ、シリアルログのうちの1つ以上である
請求項1に記載のログデータ退避装置。
The log data saving apparatus according to claim 1, wherein the log data saved by the log saving unit is one or more of a normal log, a detailed log, and a serial log.
 ログデータ退避装置におけるログデータ退避方法であって、
 プロセッサに表示制御プログラムを実行させて表示装置に画像を表示させ、
 前記ログデータ退避装置の操作検出部が、入力装置に対するユーザの特定の操作が行われたか否かを確認し、
 前記操作検出部が前記特定の操作を検出すると、前記ログデータ退避装置のログ退避部が、前記表示制御プログラムが出力する前記ログデータの退避を開始する
ログデータ退避方法。
A log data saving method in a log data saving device,
Causing the processor to execute the display control program to display an image on the display device;
The operation detection unit of the log data saving device confirms whether or not the user's specific operation on the input device has been performed,
A log data saving method in which, when the operation detection unit detects the specific operation, the log saving unit of the log data saving device starts saving the log data output by the display control program.
PCT/JP2016/066094 2016-06-01 2016-06-01 Log data saving device and log data saving method Ceased WO2017208376A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/JP2016/066094 WO2017208376A1 (en) 2016-06-01 2016-06-01 Log data saving device and log data saving method
JP2018520266A JP6656367B2 (en) 2016-06-01 2016-06-01 Log data backup device and log data backup method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2016/066094 WO2017208376A1 (en) 2016-06-01 2016-06-01 Log data saving device and log data saving method

Publications (1)

Publication Number Publication Date
WO2017208376A1 true WO2017208376A1 (en) 2017-12-07

Family

ID=60478127

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2016/066094 Ceased WO2017208376A1 (en) 2016-06-01 2016-06-01 Log data saving device and log data saving method

Country Status (2)

Country Link
JP (1) JP6656367B2 (en)
WO (1) WO2017208376A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005165932A (en) * 2003-12-05 2005-06-23 Matsushita Electric Ind Co Ltd Log management device
JP2010528375A (en) * 2007-05-21 2010-08-19 クゥアルコム・インコーポレイテッド Providing event-controlled continuous logging for mobile operating environments
US20140006881A1 (en) * 2012-06-29 2014-01-02 Sap Ag Event Management Systems and Methods
JP2015049527A (en) * 2013-08-29 2015-03-16 Necフィールディング株式会社 Information processing device, information processing system, log management method, and program
JP2015225580A (en) * 2014-05-29 2015-12-14 富士通株式会社 Evaluation device, evaluation program, and evaluation method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005165932A (en) * 2003-12-05 2005-06-23 Matsushita Electric Ind Co Ltd Log management device
JP2010528375A (en) * 2007-05-21 2010-08-19 クゥアルコム・インコーポレイテッド Providing event-controlled continuous logging for mobile operating environments
US20140006881A1 (en) * 2012-06-29 2014-01-02 Sap Ag Event Management Systems and Methods
JP2015049527A (en) * 2013-08-29 2015-03-16 Necフィールディング株式会社 Information processing device, information processing system, log management method, and program
JP2015225580A (en) * 2014-05-29 2015-12-14 富士通株式会社 Evaluation device, evaluation program, and evaluation method

Also Published As

Publication number Publication date
JPWO2017208376A1 (en) 2018-08-30
JP6656367B2 (en) 2020-03-04

Similar Documents

Publication Publication Date Title
EP3144811B1 (en) Control method for intelligent terminal
US9563497B2 (en) Correcting a failure associated with a current firmware image
TW201506788A (en) Secure boot override in a computing device equipped with unified-extensible firmware interface (UEFI)-compliant firmware
CN110018918B (en) Method and device for repairing terminal abnormity, mobile terminal and storage medium
US9164846B2 (en) Restarting a software system
US10366226B2 (en) Malicious code analysis device and method based on external device connected via USB cable
US10108474B2 (en) Trace capture of successfully completed transactions for trace debugging of failed transactions
WO2019140918A1 (en) Display panel control method, apparatus, system, display panel, and device unit
CN104750575B (en) The restoring method and device of a kind of mobile terminal operating system
CN103942059A (en) Electronic device with multiple starting modes
CN104166599B (en) A kind of ARM equipment, which is restarted, recovers the method for configuration of dispatching from the factory
JP2017520820A (en) Behavior information identification method corresponding to danger file and behavior information identification device corresponding to danger file
CN104298618B (en) The command handling method and device of a kind of intelligent terminal
CN113641556B (en) System, method, device, processor and computer readable storage medium for ensuring stable operation of automobile instrument
JP6656367B2 (en) Log data backup device and log data backup method
CN108235101B (en) Smart TV initialization method, smart TV, and computer-readable storage medium
CN110570830B (en) Device adjustment method, device, storage medium and electronic device
US8334875B2 (en) Operation displaying device and image forming device
CN108009039B (en) Terminal information recording method, device, storage medium and electronic equipment
JP5429171B2 (en) Information processing apparatus and hangup cause investigation information acquisition method
KR101306656B1 (en) Apparatus and method for providing dynamic analysis information of malignant code
CN103713917A (en) Startup method, hot key switching startup graphics device method and electronic device
CN105335248B (en) Information processing method and electronic equipment
CN104166598A (en) Electronic equipment and interrupt protection method thereof
WO2018090719A1 (en) Method, device, and terminal for automatically switching default launcher

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2018520266

Country of ref document: JP

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16904001

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16904001

Country of ref document: EP

Kind code of ref document: A1