WO2017208376A1 - Dispositif et procédé de sauvegarde de données de journal - Google Patents

Dispositif et procédé de sauvegarde de données de journal 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
Application number
PCT/JP2016/066094
Other languages
English (en)
Japanese (ja)
Inventor
良卓 室▲崎▼
大輝 島
茂人 宮内
聡 岩渕
禎 三橋
高橋 克英
Original Assignee
三菱電機株式会社
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 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to PCT/JP2016/066094 priority Critical patent/WO2017208376A1/fr
Priority to JP2018520266A priority patent/JP6656367B2/ja
Publication of WO2017208376A1 publication Critical patent/WO2017208376A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging 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

Selon l'invention, une unité de commande d'affichage (1) et une unité de sortie de journal (2) d'un dispositif de commande d'affichage (100) sont mises en oeuvre par l'exécution d'un programme de commande d'affichage à l'aide d'un processeur. Un utilisateur visualise un écran d'un dispositif d'affichage (101) à l'aide de ses yeux, et effectue une opération spécifique au niveau du dispositif d'entrée (102), si une défaillance est trouvée. Dans un dispositif de sauvegarde de journal (10), une unité de détection d'opération (11) du dispositif de sauvegarde de journal (10) vérifie si l'opération spécifique a été réalisée au niveau du dispositif d'entrée (102). Si l'unité de détection d'opération (11) détecte l'opération spécifique, une unité de sauvegarde de journal (12) sauvegarde, dans une unité de maintien de journal sauvegardé (13), les dernières données de journal qui ont été émises par l'unité de sortie de journal (2) et écrites dans une unité de maintien de journal (3).
PCT/JP2016/066094 2016-06-01 2016-06-01 Dispositif et procédé de sauvegarde de données de journal WO2017208376A1 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/JP2016/066094 WO2017208376A1 (fr) 2016-06-01 2016-06-01 Dispositif et procédé de sauvegarde de données de journal
JP2018520266A JP6656367B2 (ja) 2016-06-01 2016-06-01 ログデータ退避装置およびログデータ退避方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2016/066094 WO2017208376A1 (fr) 2016-06-01 2016-06-01 Dispositif et procédé de sauvegarde de données de journal

Publications (1)

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

Family

ID=60478127

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2016/066094 WO2017208376A1 (fr) 2016-06-01 2016-06-01 Dispositif et procédé de sauvegarde de données de journal

Country Status (2)

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

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005165932A (ja) * 2003-12-05 2005-06-23 Matsushita Electric Ind Co Ltd ログ管理装置
JP2010528375A (ja) * 2007-05-21 2010-08-19 クゥアルコム・インコーポレイテッド モバイルオペレーティング環境のための、イベント制御された連続的なロギングを提供すること
US20140006881A1 (en) * 2012-06-29 2014-01-02 Sap Ag Event Management Systems and Methods
JP2015049527A (ja) * 2013-08-29 2015-03-16 Necフィールディング株式会社 情報処理装置、情報処理システム、ログ管理方法、及びプログラム
JP2015225580A (ja) * 2014-05-29 2015-12-14 富士通株式会社 評価装置、評価プログラム、及び評価方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005165932A (ja) * 2003-12-05 2005-06-23 Matsushita Electric Ind Co Ltd ログ管理装置
JP2010528375A (ja) * 2007-05-21 2010-08-19 クゥアルコム・インコーポレイテッド モバイルオペレーティング環境のための、イベント制御された連続的なロギングを提供すること
US20140006881A1 (en) * 2012-06-29 2014-01-02 Sap Ag Event Management Systems and Methods
JP2015049527A (ja) * 2013-08-29 2015-03-16 Necフィールディング株式会社 情報処理装置、情報処理システム、ログ管理方法、及びプログラム
JP2015225580A (ja) * 2014-05-29 2015-12-14 富士通株式会社 評価装置、評価プログラム、及び評価方法

Also Published As

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

Similar Documents

Publication Publication Date Title
EP3144811B1 (fr) Procédé de commande pour terminal intelligent
TW201506788A (zh) 在配有適用統一可延伸韌體介面(uefi)之韌體之計算裝置中的安全啓動覆蓋技術
US9164846B2 (en) Restarting a software system
US20140173327A1 (en) Correcting a failure associated with a current firmware image
US10366226B2 (en) Malicious code analysis device and method based on external device connected via USB cable
TWI450090B (zh) 關於改變程式之啟動列表以判定電腦系統性能是否增進之方法及系統
US10108474B2 (en) Trace capture of successfully completed transactions for trace debugging of failed transactions
WO2019140918A1 (fr) Procédé de commande de panneau d'affichage, appareil, système, panneau d'affichage et unité de dispositif
US9684519B2 (en) Electronic device using trigger signal and status signal to execute a plurality of booting modes
JP2017520820A (ja) 危険ファイルに対応する挙動情報特定方法及び危険ファイルに対応する挙動情報特定装置
WO2017208376A1 (fr) Dispositif et procédé de sauvegarde de données de journal
CN110570830B (zh) 设备调节方法、装置、存储介质及电子设备
CN110018918B (zh) 终端异常的修复方法、装置、移动终端及存储介质
CN106708705B (zh) 终端后台进程监控方法和系统
US8334875B2 (en) Operation displaying device and image forming device
WO2012071897A1 (fr) Procédé et dispositif pour désinstaller un logiciel sur la base du système d'exploitation apple
CN108009039B (zh) 终端信息的记录方法、装置、存储介质及电子设备
WO2018090719A1 (fr) Procédé, dispositif et terminal pour commuter automatiquement un lanceur d'applications par défaut
JP5429171B2 (ja) 情報処理装置及びハングアップ原因調査用情報取得方法
KR101306656B1 (ko) 악성코드 동적 분석정보 제공 장치 및 방법
CN105511848B (zh) 一种动态链接库的检测方法和装置
CN113641556B (zh) 用于保障汽车仪表稳定运行的系统、方法、装置、处理器及其计算机可读存储介质
US11836048B2 (en) Information processing apparatus
WO2018036318A1 (fr) Procédé et dispositif de collecte d'informations d'anomalie pendant le démarrage d'un système d'exploitation
WO2021028963A1 (fr) Dispositif de détection d'anomalies, procédé de commande, et programme

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