WO2017208377A1 - ログデータ取得装置およびログデータ取得方法 - Google Patents

ログデータ取得装置およびログデータ取得方法 Download PDF

Info

Publication number
WO2017208377A1
WO2017208377A1 PCT/JP2016/066101 JP2016066101W WO2017208377A1 WO 2017208377 A1 WO2017208377 A1 WO 2017208377A1 JP 2016066101 W JP2016066101 W JP 2016066101W WO 2017208377 A1 WO2017208377 A1 WO 2017208377A1
Authority
WO
WIPO (PCT)
Prior art keywords
log data
unit
log
failure
detailed
Prior art date
Application number
PCT/JP2016/066101
Other languages
English (en)
French (fr)
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 JP2018520267A priority Critical patent/JP6644138B2/ja
Priority to PCT/JP2016/066101 priority patent/WO2017208377A1/ja
Publication of WO2017208377A1 publication Critical patent/WO2017208377A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance

Definitions

  • the present invention relates to a technique for acquiring log data during program execution.
  • 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”.
  • the present invention has been made to solve the above-described problems, and provides a log data acquisition apparatus capable of acquiring detailed log data of a plurality of programs related to a function in which a failure has occurred. Objective.
  • the log data acquisition device is a log data acquisition device for a system realized by executing a plurality of programs, and acquires a normal log data of a plurality of programs and stores them
  • a detailed log acquisition unit that acquires and stores detailed log data of multiple programs
  • a failure detection unit that detects the occurrence of a failure in each function of the system, and each function of the system and related programs
  • the related program information storage unit that stores related program information that is information to be detected and the failure detection unit detects that a failure has occurred in the function of the system, it is related to the function in which the failure has occurred based on the related program information
  • a log saving unit for saving detailed log data of the program.
  • the log data acquisition apparatus can acquire detailed log data of a plurality of programs related to a function in which a failure has occurred. Since it is not necessary to save the detailed log data of all the programs on the system, the storage capacity required for the save destination storage device can be kept small.
  • FIG. 1 is a block diagram illustrating a configuration of a content reproduction system including a log data acquisition device according to Embodiment 1.
  • FIG. It is a figure which shows the example of related program information. It is a figure which shows the example of the hardware constitutions of a log data acquisition apparatus.
  • 4 is a flowchart illustrating an operation of a log saving unit in the log data acquisition apparatus according to the first embodiment.
  • 6 is a block diagram showing a configuration of a content reproduction system including a log data acquisition device according to Embodiment 2.
  • FIG. 10 is a flowchart illustrating an operation of a normal log creation unit in the log data acquisition apparatus according to the second embodiment.
  • FIG. 10 is a block diagram illustrating a configuration of a content reproduction system including a log data acquisition device according to Embodiment 3.
  • 10 is a flowchart illustrating an operation of a detailed log acquisition unit in the log data acquisition device according to the third embodiment.
  • FIG. 10 is a diagram schematically illustrating the operation of a detailed log acquisition unit in a log data acquisition apparatus according to Embodiment 3.
  • the log data acquisition device is installed in a content reproduction system (for example, in a vehicle) having a function of reproducing media such as CDs and DVDs, a function of reproducing television broadcasts and radio broadcasts, etc.
  • a content reproduction system for example, in a vehicle
  • the application of the present invention is not limited to the content reproduction system, and can be widely applied to systems realized by executing a plurality of programs.
  • FIG. 1 is a block diagram showing a configuration of a content reproduction system 100 according to the present invention.
  • the content playback system 100 includes a media control function unit 1, an audio control function unit 2, a television playback function unit 3, a radio playback function unit 4, and a log data acquisition device 10.
  • Each of the media control function unit 1, the audio control function unit 2, the television playback function unit 3, and the radio playback function unit 4 is realized by a processor of the content playback system 100 executing a program stored in a memory. It is.
  • the media control function unit 1 has a function of reproducing media such as CDs and DVDs, and is realized by a processor executing a media control program.
  • the audio control function unit 2 has a function of switching the audio output from the content reproduction system 100, adjusting the volume, and the like, and is realized by the processor executing the audio control program.
  • the television playback function unit 3 has a function of receiving and playing back a television broadcast, and is realized by a processor executing a television playback program.
  • the radio reproduction function unit 4 has a function of receiving and reproducing a radio broadcast, and is realized by a processor executing a radio reproduction program.
  • the functions of the media control function unit 1, the audio control function unit 2, the television playback function unit 3 and the radio playback function unit 4 are referred to as “media control function unit”, “sound control function”, “TV playback function” and “ Radio playback function ".
  • these functions may be collectively referred to as “functions of the content reproduction system 100”.
  • FIG. 1 a display device that outputs video to be played back by the content playback system 100, an audio output device that outputs audio played back by the content playback system 100, an input device for operating the content playback system 100, and the like. Illustration is omitted.
  • Each of the media control function unit 1, the audio control function unit 2, the television playback function unit 3, and the radio playback function unit 4 is relatively simple as log data indicating its own operation status, that is, its program execution status. Normal log data and relatively detailed detailed log data are output. That is, as shown in FIG. 1, the media control function unit 1 includes a normal log output unit 1a that outputs normal log data of the media control program and a detailed log output unit 1b that outputs detailed log data of the media control program. I have. Similarly, the voice control function unit 2 includes a normal log output unit 2a that outputs normal log data of the voice control program, and a detailed log output unit 2b that outputs detailed log data of the voice control program.
  • the television playback function unit 3 includes a normal log output unit 3a that outputs normal log data of the television playback program, and a detailed log output unit 3b that outputs detailed log data of the television playback program.
  • the radio reproduction function unit 4 includes a normal log output unit 4a that outputs normal log data of the radio reproduction program, and a detailed log output unit 4b that outputs detailed log data of the radio reproduction program.
  • the log data acquisition device 10 includes a normal log acquisition unit 11, a detailed log acquisition unit 12, a log saving unit 13, a failure detection unit 14, a related program information storage unit 15, a normal log holding unit 21, and a detailed log.
  • a holding unit 22 and a save log holding unit 23 are provided.
  • the normal log acquisition unit 11 acquires normal log data output from the media control function unit 1, the audio control function unit 2, the television playback function unit 3, and the radio playback function unit 4, and stores it in the normal log holding unit 21.
  • the normal log holding unit 21 is a storage device that holds normal log data.
  • the normal log holding unit 21 cyclically overwrites and saves the normal log data. That is, the normal log data in the normal log holding unit 21 is overwritten by new normal log data and disappears while the content reproduction system 100 continues to operate.
  • the detailed log acquisition unit 12 acquires detailed log data output by the media control function unit 1, the audio control function unit 2, the television playback function unit 3, and the radio playback function unit 4 and stores the detailed log data in the detailed log holding unit 22.
  • the detailed log holding unit 22 is a storage device that holds detailed log data.
  • the detailed log holding unit 22 cyclically overwrites and saves the detailed log data. That is, the detailed log data in the detailed log holding unit 22 is overwritten by new detailed log data and disappears while the content reproduction system 100 continues to operate. Since the detailed log data has a larger data amount than the normal log data, the storage capacity of the detailed log holding unit 22 is preferably larger than that of the normal log holding unit 21.
  • the failure detection unit 14 detects the occurrence of a failure in the functions of the content playback system 100 (the functions of the media control function unit 1, the audio control function unit 2, the television playback function unit 3, and the radio playback function unit 4). Specifically, the failure detection unit 14 detects error information included in normal log data output from the media control function unit 1, the audio control function unit 2, the television playback function unit 3, and the radio playback function unit 4. Then, it is determined whether or not a failure has occurred in each function.
  • the user may be allowed to input information indicating the function in which the failure has occurred to the failure detection unit 14. This is because even if error information is not output to the normal log data, the user may be able to recognize the occurrence of a failure (for example, malfunction) in each function from the video or audio output from the content reproduction system 100.
  • a failure for example, malfunction
  • the log saving unit 13 is related not only to the detailed log data of the program of the function in which the failure has occurred but also to the function. Detailed log data of all programs is saved in the save log holding unit 23.
  • Information indicating which program is associated with each function of the content reproduction system 100, that is, information linking each function of the content reproduction system 100 and a program associated therewith (hereinafter referred to as “related program information”) Stored in advance in the program information storage unit 15.
  • the log saving unit 13 refers to the related program information stored in the related program information storage unit 15 to identify a program related to the function in which the failure has occurred (hereinafter referred to as “failure related program”).
  • FIG. 2 is a diagram showing an example of related program information.
  • a program corresponding to “TRUE” for each function represents a program related to the function.
  • programs related to the media control function that is a function of the media control function unit 1 are a media control program and a voice control program.
  • the programs related to the voice control function that is a function of the voice control function unit 2 are a voice control program, a television playback program, and a radio playback program.
  • the programs related to the television playback function, which is a function of the television playback function unit 3 are an audio control program and a television playback program.
  • the programs related to the radio playback function, which is a function of the radio playback function unit 4 are an audio control program and a radio playback program.
  • the content of the related program information stored in the related program information storage unit 15 does not need to be fixed and may be variable. That is, the log data acquisition device 10 may update the contents of the related program information based on the history of the normal log data or detailed log data of each program when a failure occurs in the function of the content reproduction system 100. Good. For example, the log data acquisition device 10 accumulates information on the correspondence relationship between the function in which the failure has occurred and the program related to the failure, learns the occurrence pattern of the failure, and related program information based on the learning result May be updated.
  • the “program related to the failure” may be defined as, for example, a program that outputs log data at a timing close to the occurrence of the failure, or a result of actually analyzing the failure of a plurality of programs. You may decide based on.
  • the save log holding unit 23 is a storage device that holds detailed log data saved by the log save unit 13.
  • the save log holding unit 23 preferably keeps holding the detailed log data unless the user orders to delete. Therefore, the storage capacity of the save log holding unit 23 is preferably larger than that of the detailed log holding unit 22.
  • the save log holding unit 23 may cyclically save the detailed log data in the same manner as the detailed log holding unit 22. Since the detailed log data saved by the log saving unit 13 is only a part of the detailed log data written in the detailed log holding unit 22, the time during which the detailed log data is held in the save log holding unit 23 is held by the detailed log. This is sufficiently longer than that of the portion 22. Further, if the capacity of the save log holding unit 23 is large, the time can be made longer.
  • FIG. 3 is a diagram illustrating a hardware configuration of the log data acquisition apparatus 10.
  • the log data acquisition apparatus 10 includes at least a processor 51 and a memory 52.
  • 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, and a DSP) that executes a program stored in the memory 52.
  • 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, and a DSP
  • 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.
  • RAM Random-Access Memory
  • ROM Read-Only Memory
  • flash memory volatile memory
  • EPROM Erasable Programmable Read-Only Memory
  • EEPROM Electrically-Erasable Programmable Read-Only Memory
  • Nonvolatile or volatile semiconductor memories 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 includes a media control function unit 1, an audio control function unit 2, a television reproduction function unit 3, and a radio reproduction function unit. 4 may be the same as the processor that executes each program that implements the program 4, and the memory 52 may be the same as the memory that stores these programs.
  • the functions of the normal log acquisition unit 11, the detailed log acquisition unit 12, the log save unit 13, and the failure detection unit 14 in the log data acquisition device 10 are realized by the processor 51 executing a program stored in the memory 52.
  • the log data acquisition device 10 includes a normal log acquisition unit 11 that acquires and stores normal log data of each program, a detailed log acquisition unit 12 that acquires and stores detailed log data of each program, and a content reproduction system
  • the failure detection unit 14 that detects the occurrence of a failure in each function of 100 and the log saving unit 13 that saves detailed log data of all programs related to the function in which the failure has occurred are realized by executing the program.
  • a processor 51 is provided.
  • the related program information storage unit 15, the normal log holding unit 21, the detailed log holding unit 22, and the save log holding unit 23 are realized using a part of the storage area of the memory 52.
  • the log data acquisition device 10 is executed by the processor 51 to acquire and save normal log data of each program, to acquire and save detailed log data of each program, A program in which processing for confirming whether or not a failure has occurred in each function of the playback system 100 and processing for saving detailed log data of all programs related to the function in which the failure has occurred are executed as a result Is provided.
  • the program can also be said to cause a computer to execute these processes and procedures.
  • the log data acquisition device 10 Since the log data acquisition device 10 is used in an operation test of the content reproduction system 100, the user of the content reproduction system 100 here is a tester who mainly performs the operation test.
  • normal log data and detailed log data are output from each of the media control function unit 1, the audio control function unit 2, the television playback function unit 3, and the radio playback function unit 4.
  • the normal log acquisition unit 11 acquires the normal log data and stores it in the normal log holding unit 21.
  • the detailed log acquisition unit 12 acquires the detailed log data and stores the detailed log data in the detailed log holding unit 22.
  • the failure detection unit 14 checks whether or not a failure has occurred in each function of the media control function unit 1, the audio control function unit 2, the television playback function unit 3, and the radio playback function unit 4.
  • the log saving unit 13 performs the operation shown in the flowchart of FIG. That is, the log saving unit 13 confirms whether or not the failure detection unit 14 detects a failure in each function of the media control function unit 1, the audio control function unit 2, the television playback function unit 3, and the radio playback function unit 4 ( Step S101).
  • step S101 If no failure of any function is detected (NO in step S101), the log saving unit 13 stands by as it is. However, if a failure of any function is detected (YES in step S101), the log saving unit 13 refers to the related program information stored in the related program information storage unit 15 to determine the function in which the failure has occurred. A related program (failure-related program) is confirmed (step S102).
  • the log saving unit 13 extracts detailed log data output from the failure-related program from a certain time before to the present from the detailed log data stored in the detailed log acquisition unit 12, and saves it.
  • the log is saved in the log holding unit 23 (step S103). That is, the log saving unit 13 saves the detailed log data output by the failure-related program from a point in time that is a predetermined time after the timing when the failure is detected.
  • step S104 each time the detailed log acquisition unit 12 acquires new detailed log data of the failure-related program, the log saving unit 13 saves it to the save log holding unit 23 (step S104).
  • step S104 is repeated endlessly. However, the repetition of step S104 may be terminated when no failure is detected.
  • the log saving unit 13 recognizes the media control program and the voice control program as failure related programs in step S102. To do. In steps S103 and S104, the log saving unit 13 receives detailed log data output from the media control program and the audio control program (that is, detailed log data output from the media control function unit 1 and the audio control function unit 2). Then, the save log holding unit 23 saves them.
  • the log saving unit 13 executes the voice control program, the television playback program, and the radio playback program in step S102. , Recognized as a failure-related program.
  • the log saving unit 13 outputs detailed log data output from the audio control program, the television reproduction program, and the radio reproduction program (that is, the audio control function unit 2, the television reproduction function unit 3, and the radio reproduction function unit). 4) is saved in the save log holding unit 23.
  • the log data acquisition apparatus 10 it is possible to save the detailed log data of all programs related to the function in which the failure has occurred in the save log holding unit 23.
  • the detailed log data of all the programs on the content reproduction system 100 is not saved, but only the detailed log data of the failure-related program is saved, so that the storage capacity required for the saved log holding unit 23 can be suppressed. Can also contribute to cost reduction.
  • the media control function unit 1, the audio control function unit 2, the television playback function unit 3, and the radio playback function unit 4 are configured to output both normal log data and detailed log data.
  • the normal log data may be created by partially extracting the detailed log data.
  • the log data acquisition apparatus 10 is provided with a function of creating normal log data from detailed log data.
  • FIG. 5 is a block diagram showing a configuration of the content reproduction system 100 including the log data acquisition apparatus 10 according to the second embodiment.
  • the media control function unit 1, the audio control function unit 2, the television playback function unit 3 and the radio playback function unit 4 have detailed log output units 1b, 2b, 3b and 4b, respectively.
  • the log output units 1a, 2a, 3a and 4a are not provided. That is, the media control function unit 1, the audio control function unit 2, the television playback function unit 3, and the radio playback function unit 4 each output only detailed log data.
  • the log data acquisition device 10 partially extracts the detailed log data output by the media control function unit 1, the audio control function unit 2, the television playback function unit 3 and the radio playback function unit 4 to obtain normal log data.
  • Normal log creation units 31, 32, 33, and 34 are provided.
  • the normal log creation units 31, 32, 33, and 34 are created by extracting a portion including a specific character string (for example, data including a character “@” at the head) from the detailed log data.
  • the normal log data is preferably created by extracting a particularly important part of the detailed log data.
  • the detailed log output units 1b, 2b, 3b, and 4b are set so as to include a specific character string in a portion with high importance.
  • FIG. 6 is a flowchart showing the operation of the normal log creation units 31, 32, 33, and 34.
  • each of the normal log creation units 31, 32, 33, and 34 determines whether or not a specific character string is included in the detailed log data (Ste S202).
  • the normal log creation units 31, 32, 33, and 34 use the detailed log data as normal log data to the normal log holding unit 21. Output (step S203). If the specific log string is not included in the detailed log data (NO in step S202), the normal log creation units 31, 32, 33, and 34 return to step S201 without outputting the detailed log data. As a result, the normal log creation units 31, 32, 33, and 34 output normal log data created by extracting a portion including a specific character string from the detailed log data.
  • the media control function unit 1, the audio control function unit 2, the television playback function unit 3, and the radio playback function unit 4 do not need to generate two types of log data, and thus realize them. Can contribute to the simplification of the program. Further, by extracting the most important part of the detailed log data and creating the normal log data, the log data having the high importance can be held in the normal log holding unit 21 for a long time. is there.
  • FIG. 7 is a block diagram showing a configuration of the content reproduction system 100 including the log data acquisition device 10 according to the third embodiment.
  • the configuration of FIG. 7 is obtained by omitting the log saving unit 13 and the saving log holding unit 23 of the log data acquisition apparatus 10 from FIG.
  • FIG. 8 is a flowchart showing the operation of the detailed log acquisition unit 12 according to the third embodiment.
  • the detailed log acquisition unit 12 has detected the failure of each function of the media control function unit 1, the audio control function unit 2, the television playback function unit 3, and the radio playback function unit 4 by the failure detection unit 14. Whether or not is confirmed (step S301).
  • the detailed log acquisition unit 12 performs all programs (media control program, audio control program, TV playback program, and radio) as in the first embodiment.
  • Detailed log data of the reproduction program is stored in the detailed log acquisition unit 12 (step S302). Therefore, unless a failure is detected, the storage area of the detailed log holding unit 22 is filled with detailed log data of all programs as shown in the upper part of FIG.
  • the detailed log acquisition unit 12 refers to the related program information stored in the related program information storage unit 15 and relates to the function in which the failure has occurred.
  • a program to be executed (failure-related program) is confirmed (step S303).
  • the detailed log acquisition unit 12 erases the detailed log data other than the failure related program from the detailed log data held in the detailed log holding unit 22 (step S304).
  • step S304 erases the detailed log data other than the failure related program from the detailed log data held in the detailed log holding unit 22.
  • the detailed log acquisition unit 12 stores it in the detailed log acquisition unit 12 (step S305).
  • the detailed log acquisition unit 12 does not store detailed log data other than the failure-related program. Therefore, as shown in the lower part of FIG. 9, only the detailed log data of the failure-related program is accumulated in the storage area of the detailed log acquisition unit 12.
  • the log data acquisition device 10 after a failure occurs in the function of the content reproduction system 100, only the detailed log data of the failure related program is stored in the detailed log holding unit 22.
  • the detailed log data stored in the detailed log holding unit 22 By restricting the detailed log data stored in the detailed log holding unit 22 in this way, it is possible to lengthen the time until the detailed log data stored in the detailed log holding unit 22 is overwritten and disappears.
  • the storage device since the detailed log data can be prevented from being lost without being saved, the storage device (saved log holding unit 23) to be saved becomes unnecessary, which can contribute to cost reduction.
  • 100 content playback system 1 media control function unit, 2 audio control function unit, 3 TV playback function unit, 4 radio playback function unit, 1a, 2a, 3a, 4a normal log output unit, 1b, 2b, 3b, 4b detailed log Output unit, 10 log data acquisition device, 11 normal log acquisition unit, 12 detailed log acquisition unit, 13 log save unit, 14 fault detection unit, 15 related program information storage unit, 21 normal log storage unit, 22 detailed log storage unit, 23 save log holding unit, 31-34 normal log creation unit, 51 processor, 52 memory.

Abstract

コンテンツ再生システム(100)のメディア制御機能部(1)、音声制御機能部(2)、テレビ再生機能部(3)およびラジオ再生機能部(4)は、プロセッサがプログラムを実行させることで実現される。ログデータ取得装置(10)において、通常ログ取得部(11)は、各プログラムの通常ログデータを通常ログ保持部(21)に保存する。詳細ログ取得部(12)は、各プログラムの詳細ログデータを詳細ログ保持部(22)に保存する。障害検出部(14)は、システムの各機能に障害が発生しているか否かを確認する。障害検出部(14)によりメディア制御機能部(1)、音声制御機能部(2)、テレビ再生機能部(3)およびラジオ再生機能部(4)の機能に障害が検出されると、ログ退避部(13)が、その障害が生じた機能に関連するプログラムの詳細ログデータを退避ログ保持部(23)に退避させる。

Description

ログデータ取得装置およびログデータ取得方法
 本発明は、プログラム実行時のログデータを取得する技術に関するものである。
 車載装置など、プログラムが実行されることでその動作が実現される機器の開発において、各プログラムが生成するログデータ(以下、単に「ログ」ということもある)を取得して、機器で生じた障害の内容を解析することが行われている(例えば、下記の特許文献1)。
 一般に、プログラムのログデータは、サイクリックに上書き保存する記憶装置に保存されるため、ログデータが増えると、古いログデータは消失してしまう。そのため、障害発生時にプログラムが生成したログデータは、後で障害解析を行うために、消失のおそれのない他の記憶装置に保存してバックアップすることが望ましい。このようにログデータを消失のおそれのない他の記憶装置に移すことを「退避」という。
特開2014-182715号公報
 互いに詳細度の異なる通常ログデータと詳細ログデータとを各プログラムが出力するシステムの障害解析では、詳細ログデータを用いた解析が有効であるが、詳細ログデータは、通常ログデータよりもデータ量が大きいため、記憶装置に保持される時間は比較的短くなる。そのため、システムの機能に障害が発生したときには、その機能のプログラムの詳細ログデータを他の記憶装置に退避させることが望ましい。
 また、複数のプログラムが実行されるシステムの障害解析では、障害が発生した機能のプログラムの詳細ログデータのみから、障害の原因を特定することが難しいことがある。よって、障害が発生した機能のプログラムの詳細ログデータだけでなく、その機能に関連する他のプログラムの詳細ログデータも退避することが望ましい。例えば、システム上の全てのプログラムの詳細ログデータを退避させてもよいが、退避先の記憶装置に必要とされる記憶容量が膨大と成るため効率が悪い。
 本発明は上記のような課題を解決するためになされたものであり、障害が発生した機能に関連する複数のプログラムの詳細ログデータを取得することが可能なログデータ取得装置を提供することを目的とする。
 本発明に係るログデータ取得装置は、複数のプログラムが実行されることによって実現されるシステム用のログデータ取得装置であって、複数のプログラムの通常ログデータを取得して保存する通常ログ取得部と、複数のプログラムの詳細ログデータを取得して保存する詳細ログ取得部と、システムの各機能における障害の発生を検出する障害検出部と、システムの各機能とそれに関連するプログラムとを紐付けする情報である関連プログラム情報を記憶した関連プログラム情報記憶部と、障害検出部がシステムの機能に障害が生じたことを検出すると、関連プログラム情報に基づいて、当該障害が生じた機能に関連するプログラムの詳細ログデータを退避させるログ退避部と、を備えるものである。
 本発明に係るログデータ取得装置によれば、障害が発生した機能に関連する複数のプログラムの詳細ログデータを取得することが可能である。システム上の全てのプログラムの詳細ログデータを退避させる必要がないため、退避先の記憶装置に必要とされる記憶容量を小さく抑えることができる。
 本発明の目的、特徴、態様、および利点は、以下の詳細な説明と添付図面とによって、より明白となる。
実施の形態1に係るログデータ取得装置を含むコンテンツ再生システムの構成を示すブロック図である。 関連プログラム情報の例を示す図である。 ログデータ取得装置のハードウェア構成の例を示す図である。 実施の形態1に係るログデータ取得装置におけるログ退避部の動作を示すフローチャートである。 実施の形態2に係るログデータ取得装置を含むコンテンツ再生システムの構成を示すブロック図である。 実施の形態2に係るログデータ取得装置における通常ログ作成部の動作を示すフローチャートである。 実施の形態3に係るログデータ取得装置を含むコンテンツ再生システムの構成を示すブロック図である。 実施の形態3に係るログデータ取得装置における詳細ログ取得部の動作を示すフローチャートである。 実施の形態3に係るログデータ取得装置における詳細ログ取得部の動作を模式的に示す図である。
 <実施の形態1>
 以下の実施の形態では、本発明に係るログデータ取得装置を、CD、DVD等のメディアを再生する機能や、テレビ放送およびラジオ放送を再生する機能などを有するコンテンツ再生システム(例えば、車両に搭載されるカーマルチメディア端末など)に適用した例を示す。ただし、本発明の適用は、コンテンツ再生システムに限られず、複数のプログラムが実行されることによって実現されるシステムに広く適用可能である。
 図1は、本発明に係るコンテンツ再生システム100の構成を示すブロック図である。図1のように、当該コンテンツ再生システム100は、メディア制御機能部1、音声制御機能部2、テレビ再生機能部3、ラジオ再生機能部4およびログデータ取得装置10を備えている。
 メディア制御機能部1、音声制御機能部2、テレビ再生機能部3およびラジオ再生機能部4のそれぞれは、コンテンツ再生システム100のプロセッサがメモリに記憶されたプログラムを実行することによって実現される構成要素である。メディア制御機能部1は、CD、DVD等のメディアを再生する機能を有し、プロセッサがメディア制御プログラムを実行することにより実現される。音声制御機能部2は、コンテンツ再生システム100が出力する音声の切り換えや音量調整などを行う機能を有し、プロセッサが音声制御プログラムを実行することにより実現される。テレビ再生機能部3は、テレビ放送を受信して再生する機能を有し、プロセッサがテレビ再生プログラムを実行することにより実現される。ラジオ再生機能部4は、ラジオ放送を受信して再生する機能を有し、プロセッサがラジオ再生プログラムを実行することにより実現される。
 以下、メディア制御機能部1、音声制御機能部2、テレビ再生機能部3およびラジオ再生機能部4の各機能を、「メディア制御機能部」、「音声制御機能」、「テレビ再生機能」および「ラジオ再生機能」という。また、それらの機能をまとめて、「コンテンツ再生システム100の機能」ということもある。
 なお、図1においては、コンテンツ再生システム100が再生する映像を出力する表示装置や、コンテンツ再生システム100が再生する音声を出力する音声出力装置、コンテンツ再生システム100を操作するための入力装置などの図示は省略している。
 また、メディア制御機能部1、音声制御機能部2、テレビ再生機能部3およびラジオ再生機能部4のそれぞれは、自己の動作状況すなわち自己のプログラムの実行状況を示すログデータとして、比較的簡易な通常ログデータと、比較的詳細な詳細ログデータとを出力する。つまり、図1に示すように、メディア制御機能部1は、メディア制御プログラムの通常ログデータを出力する通常ログ出力部1aと、メディア制御プログラムの詳細ログデータを出力する詳細ログ出力部1bとを備えている。同様に、音声制御機能部2は、音声制御プログラムの通常ログデータを出力する通常ログ出力部2aと、音声制御プログラムの詳細ログデータを出力する詳細ログ出力部2bとを備えている。テレビ再生機能部3は、テレビ再生プログラムの通常ログデータを出力する通常ログ出力部3aと、テレビ再生プログラムの詳細ログデータを出力する詳細ログ出力部3bとを備えている。ラジオ再生機能部4は、ラジオ再生プログラムの通常ログデータを出力する通常ログ出力部4aと、ラジオ再生プログラムの詳細ログデータを出力する詳細ログ出力部4bとを備えている。
 図1のように、ログデータ取得装置10は、通常ログ取得部11、詳細ログ取得部12、ログ退避部13、障害検出部14、関連プログラム情報記憶部15、通常ログ保持部21、詳細ログ保持部22および退避ログ保持部23を備えている。
 通常ログ取得部11は、メディア制御機能部1、音声制御機能部2、テレビ再生機能部3およびラジオ再生機能部4が出力する通常ログデータを取得して、通常ログ保持部21に保存する。通常ログ保持部21は、通常ログデータを保持する記憶装置である。ここで、通常ログ保持部21は、通常ログデータをサイクリックに上書き保存するものとする。すなわち、通常ログ保持部21内の通常ログデータは、コンテンツ再生システム100が動作を継続するうちに新たな通常ログデータによって上書きされて消失してしまう。
 詳細ログ取得部12は、メディア制御機能部1、音声制御機能部2、テレビ再生機能部3およびラジオ再生機能部4が出力する詳細ログデータを取得して、詳細ログ保持部22に保存する。詳細ログ保持部22は、詳細ログデータを保持する記憶装置である。ここで、詳細ログ保持部22は、詳細ログデータをサイクリックに上書き保存するものとする。すなわち、詳細ログ保持部22内の詳細ログデータは、コンテンツ再生システム100が動作を継続するうちに新たな詳細ログデータによって上書きされて消失してしまう。詳細ログデータは、通常ログデータよりもデータ量が大きいため、詳細ログ保持部22の記憶容量は通常ログ保持部21よりも大きいことが好ましい。
 障害検出部14は、コンテンツ再生システム100の機能(メディア制御機能部1、音声制御機能部2、テレビ再生機能部3およびラジオ再生機能部4の各機能)における障害の発生を検出する。具体的には、障害検出部14は、メディア制御機能部1、音声制御機能部2、テレビ再生機能部3およびラジオ再生機能部4から出力される通常ログデータに含まれるエラー情報を検出することで、各機能に障害が生じているか否かを判断する。
 また、障害の生じた機能を示す情報を、ユーザが障害検出部14に入力できるようにしてもよい。通常ログデータにエラー情報が出力されていなくても、ユーザが、コンテンツ再生システム100から出力される映像や音声から、各機能における障害(例えば誤動作)の発生を認知できる場合もあるからである。
 ログ退避部13は、コンテンツ再生システム100の機能に障害が生じたことを障害検出部14が検出したときに、その障害が生じた機能のプログラムの詳細ログデータだけでなく、その機能に関連する全てのプログラムの詳細ログデータを、退避ログ保持部23に退避させる。コンテンツ再生システム100の各機能にどのプログラムが関連するかを示す情報、すなわち、コンテンツ再生システム100の各機能とそれに関連するプログラムとを紐付けする情報(以下「関連プログラム情報」という)は、関連プログラム情報記憶部15に予め記憶されている。ログ退避部13は、関連プログラム情報記憶部15に記憶されている関連プログラム情報を参照することで、障害が生じた機能に関連するプログラム(以下「障害関連プログラム」という)を特定する。
 図2は、関連プログラム情報の例を示す図である。図2の関連プログラム情報において、各機能に対して「TRUE」に該当するプログラムが、その機能に関連するプログラムを表している。例えば、メディア制御機能部1の機能であるメディア制御機能に関連するプログラムは、メディア制御プログラムと音声制御プログラムである。また、音声制御機能部2の機能である音声制御機能に関連するプログラムは、音声制御プログラム、テレビ再生プログラムおよびラジオ再生プログラムである。また、テレビ再生機能部3の機能であるテレビ再生機能に関連するプログラムは、音声制御プログラムとテレビ再生プログラムである。また、ラジオ再生機能部4の機能であるラジオ再生機能に関連するプログラムは、音声制御プログラムとラジオ再生プログラムである。
 関連プログラム情報記憶部15に記憶されている関連プログラム情報の内容は、固定されている必要はなく、可変であってもよい。すなわち、ログデータ取得装置10が、コンテンツ再生システム100の機能に障害が発生したときの各プログラムの通常ログデータまたは詳細ログデータの履歴に基づいて、関連プログラム情報の内容を更新するようにしてもよい。例えば、ログデータ取得装置10が、障害が発生した機能とその障害に関係したプログラムとの対応関係の情報を蓄積して、障害の発生パターンを学習し、その学習結果に基づいて、関連プログラム情報を更新してもよい。ここで、「障害に関係したプログラム」とは、例えば、障害の発生と近いタイミングでログデータを出力したプログラムなどと定義してもよいし、実際に複数のプログラムの障害解析を行った結果に基づいて定めてもよい。
 図1に戻り、退避ログ保持部23は、ログ退避部13が退避させる詳細ログデータを保持する記憶装置である。退避ログ保持部23は、保持している詳細ログデータを、ユーザが消去を命じない限り保持し続けることが好ましい。そのため、退避ログ保持部23の記憶容量は、詳細ログ保持部22よりも大きいことが好ましい。
 なお、退避ログ保持部23が十分に大きな記憶容量を持つ場合には、退避ログ保持部23も、詳細ログ保持部22と同様に詳細ログデータをサイクリックに上書き保存してもよい。ログ退避部13が退避させる詳細ログデータは、詳細ログ保持部22に書き込まれる詳細ログデータの一部に過ぎないため、退避ログ保持部23に詳細ログデータが保持される時間は、詳細ログ保持部22のそれよりも十分長いものになる。また、退避ログ保持部23の容量が大きければ、その時間をより長くできる。
 図3は、ログデータ取得装置10のハードウェア構成を示す図である。図3のように、ログデータ取得装置10は、少なくともプロセッサ51、メモリ52を含む構成となっている。プロセッサ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)等が該当する。
 本実施の形態のように、ログデータ取得装置10がコンテンツ再生システム100に適用される場合、プロセッサ51は、メディア制御機能部1、音声制御機能部2、テレビ再生機能部3およびラジオ再生機能部4を実現する各プログラムを実行するプロセッサと同じものでもよいし、メモリ52は、それらのプログラムを記憶するメモリと同じものでもよい。
 ログデータ取得装置10における通常ログ取得部11、詳細ログ取得部12およびログ退避部13および障害検出部14の各機能は、プロセッサ51がメモリ52に格納されたプログラムを実行することにより実現される。すなわち、ログデータ取得装置10は、各プログラムの通常ログデータを取得して保存する通常ログ取得部11と、各プログラムの詳細ログデータを取得して保存する詳細ログ取得部12と、コンテンツ再生システム100の各機能における障害の発生を検出する障害検出部14と、障害が生じた機能に関連する全てのプログラムの詳細ログデータを退避させるログ退避部13とを、プログラムを実行することで実現するプロセッサ51を備えている。なお、関連プログラム情報記憶部15、通常ログ保持部21、詳細ログ保持部22および退避ログ保持部23は、メモリ52の記憶領域の一部を用いて実現される。
 言い換えれば、ログデータ取得装置10は、プロセッサ51により実行されることによって、各プログラムの通常ログデータを取得して保存する処理と、各プログラムの詳細ログデータを取得して保存する処理と、コンテンツ再生システム100の各機能に障害が発生しているか否かを確認する処理と、障害が生じた機能に関連する全てのプログラムの詳細ログデータを退避させる処理と、が結果的に実行されるプログラムを格納するためのメモリ52を備える。また、当該プログラムは、これらの処理およびその手順をコンピュータに実行させるものであるともいえる。
 次に、実施の形態1に係るログデータ取得装置10の動作を説明する。ログデータ取得装置10は、コンテンツ再生システム100の動作試験の際に用いられるため、ここでいうコンテンツ再生システム100のユーザは、主に動作試験を行う試験実施者となる。
 コンテンツ再生システム100が動作を開始すると、メディア制御機能部1、音声制御機能部2、テレビ再生機能部3およびラジオ再生機能部4の各々から、通常ログデータおよび詳細ログデータが出力される。このとき、ログデータ取得装置10においては、通常ログ取得部11が、それらの通常ログデータを取得して、通常ログ保持部21に保存する。また、詳細ログ取得部12が、それらの詳細ログデータを取得して、詳細ログ保持部22に保存する。また、障害検出部14は、メディア制御機能部1、音声制御機能部2、テレビ再生機能部3およびラジオ再生機能部4の各機能に障害が発生しているか否かを確認する。
 一方、ログ退避部13は、図4のフローチャートに示す動作を行う。すなわち、ログ退避部13は、障害検出部14によりメディア制御機能部1、音声制御機能部2、テレビ再生機能部3およびラジオ再生機能部4の各機能の障害が検出されたかどうかを確認する(ステップS101)。
 いずれの機能の障害も検出されなければ(ステップS101でNO)、ログ退避部13はそのまま待機する。しかし、いずれかの機能の障害が検出されると(ステップS101でYES)、ログ退避部13は、関連プログラム情報記憶部15に記憶されている関連プログラム情報を参照し、障害が生じた機能に関連するプログラム(障害関連プログラム)を確認する(ステップS102)。
 次に、ログ退避部13は、詳細ログ取得部12に記憶されている詳細ログデータのうちから、障害関連プログラムが一定時間前から現在までの間に出力した詳細ログデータを抽出して、退避ログ保持部23へ退避させる(ステップS103)。すなわち、ログ退避部13は、障害が検出されたタイミングから一定時間遡った時点から、障害関連プログラムが出力した詳細ログデータを退避させる。
 その後、ログ退避部13は、詳細ログ取得部12が障害関連プログラムの新たな詳細ログデータを取得するごとに、それを退避ログ保持部23へ退避させる(ステップS104)。図4では、障害検出部14が障害を検出した後、ステップS104がエンドレスに繰り返されるようにしたが、障害が検出されなくなった時点でステップS104の繰り返しを終了させてもよい。
 ここで、関連プログラム情報の内容が図2のとおりであったと仮定する。例えば、ステップS101で、メディア制御機能部1の機能(メディア制御機能)の障害が検出された場合、ログ退避部13は、ステップS102において、メディア制御プログラムおよび音声制御プログラムを、障害関連プログラムとして認識する。そして、ステップS103,S104において、ログ退避部13は、メディア制御プログラムおよび音声制御プログラムが出力する詳細ログデータ(すなわち、メディア制御機能部1および音声制御機能部2から出力される詳細ログデータ)を、退避ログ保持部23に退避させる。
 また、例えば、ステップS101で、音声制御機能部2の機能(音声制御機能)の障害が検出された場合、ログ退避部13は、ステップS102において、音声制御プログラム、テレビ再生プログラムおよびラジオ再生プログラムを、障害関連プログラムとして認識する。そして、ステップS103,S104において、ログ退避部13は、音声制御プログラム、テレビ再生プログラムおよびラジオ再生プログラムが出力する詳細ログデータ(すなわち、音声制御機能部2、テレビ再生機能部3およびラジオ再生機能部4から出力される詳細ログデータ)を、退避ログ保持部23に退避させる。
 このように、実施の形態1に係るログデータ取得装置10によれば、障害が発生した機能に関連する全てのプログラムの詳細ログデータを、退避ログ保持部23に退避させることが可能である。コンテンツ再生システム100上の全てのプログラムの詳細ログデータを退避させるのではなく、障害関連プログラムの詳細ログデータのみを退避させることで、退避ログ保持部23に必要とされる記憶容量を抑えることができ、コストの削減にも寄与できる。
 <実施の形態2>
 実施の形態1では、メディア制御機能部1、音声制御機能部2、テレビ再生機能部3およびラジオ再生機能部4が、通常ログデータと詳細ログデータの両方を出力する構成とした。しかし、通常ログデータは、詳細ログデータを部分的に抽出することによって作成してもよい。実施の形態2では、通常ログデータを詳細ログデータから作成する機能をログデータ取得装置10に持たせる。
 図5は、実施の形態2に係るログデータ取得装置10を含むコンテンツ再生システム100の構成を示すブロック図である。本実施の形態では、メディア制御機能部1、音声制御機能部2、テレビ再生機能部3およびラジオ再生機能部4が、それぞれ詳細ログ出力部1b,2b,3b,4bを有しているが、通常ログ出力部1a,2a,3a,4aを有していない。つまり、メディア制御機能部1、音声制御機能部2、テレビ再生機能部3およびラジオ再生機能部4は、それぞれ詳細ログデータのみを出力する。
 また、ログデータ取得装置10は、メディア制御機能部1、音声制御機能部2、テレビ再生機能部3およびラジオ再生機能部4が出力した詳細ログデータを部分的に抽出して、通常ログデータを作成する通常ログ作成部31,32,33,34を備えている。通常ログ作成部31,32,33,34は、詳細ログデータのうち特定の文字列を含む部分(例えば、先頭に「@」の文字を含むデータ)を抽出することによって作成される。
 なお、通常ログデータは、詳細ログデータのうちの特に重要度の高い部分を抽出して作成されることが好ましい。詳細ログ出力部1b,2b,3b,4bは、重要度の高い部分に特定の文字列を含ませるように設定されている。
 図6は、通常ログ作成部31,32,33,34の動作を示すフローチャートである。
 通常ログ作成部31,32,33,34のそれぞれは、詳細ログデータが入力されると(ステップS201でYES)、その詳細ログデータに特定の文字列が含まれているか否かを判断する(ステップS202)。
 詳細ログデータに特定の文字列が含まれていれば(ステップS202でYES)、通常ログ作成部31,32,33,34は、その詳細ログデータを通常ログデータとして、通常ログ保持部21へ出力する(ステップS203)。詳細ログデータに特定の文字列が含まれていなければ(ステップS202でNO)、通常ログ作成部31,32,33,34は、その詳細ログデータを出力せずにステップS201へ戻る。その結果、通常ログ作成部31,32,33,34からは、詳細ログデータのうち、特定の文字列を含む部分を抽出して作成された通常ログデータが出力されることになる。
 本実施の形態によれば、メディア制御機能部1、音声制御機能部2、テレビ再生機能部3およびラジオ再生機能部4が、2種類のログデータを生成する必要がないため、それらを実現するためのプログラムの簡略化に寄与できる。また、詳細ログデータのうちの特に重要度の高い部分を抽出して通常ログデータを作成することで、重要度の高いログデータを通常ログ保持部21に長期間保持させることができるという利点もある。
 <実施の形態3>
 実施の形態1では、コンテンツ再生システム100の機能に障害が発生したときに、障害が発生した機能に関連するプログラム(障害関連プログラム)の詳細ログデータを、退避ログ保持部23に退避させることで、障害関連プログラムの詳細ログデータが消失することを防止した。実施の形態3では、障害関連プログラムの詳細ログデータが詳細ログ保持部22に保持される時間を長くすることで、障害関連プログラムの詳細ログデータが消失することを防止する。
 図7は、実施の形態3に係るログデータ取得装置10を含むコンテンツ再生システム100の構成を示すブロック図である。図7の構成は、図1に対し、ログデータ取得装置10のログ退避部13および退避ログ保持部23が省略されたものとなっている。
 また、実施の形態3に係るログデータ取得装置10の動作は、実施の形態1に対して、詳細ログ取得部12の動作が異なる。図8は、実施の形態3における詳細ログ取得部12の動作を示すフローチャートである。
 実施の形態3において、詳細ログ取得部12は、障害検出部14によりメディア制御機能部1、音声制御機能部2、テレビ再生機能部3およびラジオ再生機能部4の各機能の障害が検出されたかどうかを確認する(ステップS301)。
 いずれの機能にも障害が検出されなければ(ステップS301でNO)、詳細ログ取得部12は、実施の形態1と同様に、全てのプログラム(メディア制御プログラム、音声制御プログラム、テレビ再生プログラムおよびラジオ再生プログラム)の詳細ログデータを詳細ログ取得部12に保存する(ステップS302)。よって、障害が検出されない限り、詳細ログ保持部22の記憶領域は、図9の上段に示すように、全てのプログラムの詳細ログデータで満たされる。
 いずれかの機能に障害が検出されると(ステップS301でYES)、詳細ログ取得部12は、関連プログラム情報記憶部15に記憶されている関連プログラム情報を参照し、障害が生じた機能に関連するプログラム(障害関連プログラム)を確認する(ステップS303)。そして、詳細ログ取得部12は、詳細ログ保持部22に保持されている詳細ログデータのうちから、障害関連プログラム以外の詳細ログデータを消去する(ステップS304)。その結果、図9の中段に示すように、詳細ログ取得部12の記憶領域には、障害関連プログラムが障害発生前に出力した詳細ログデータのみが残る。
 その後、詳細ログ取得部12は、障害関連プログラムから新たな詳細ログデータを取得するごとに、それを詳細ログ取得部12に保存する(ステップS305)。しかし、詳細ログ取得部12は、障害関連プログラム以外の詳細ログデータは保存しない。よって、図9の下段に示すように、詳細ログ取得部12の記憶領域には、障害関連プログラムの詳細ログデータのみが蓄積される。
 実施の形態3に係るログデータ取得装置10によれば、コンテンツ再生システム100の機能に障害が発生した後は、障害関連プログラムの詳細ログデータのみが詳細ログ保持部22に保存される。このように詳細ログ保持部22に保存する詳細ログデータを制限することで、詳細ログ保持部22に保存した詳細ログデータが上書きされて消失するまでの時間を長くすることができる。また、詳細ログデータを退避させることなく、その消失を防止できるため、退避させる記憶装置(退避ログ保持部23)が不要になり、コストの削減にも寄与できる。
 なお、本発明は、その発明の範囲内において、各実施の形態を自由に組み合わせたり、各実施の形態を適宜、変形、省略することが可能である。
 本発明は詳細に説明されたが、上記した説明は、すべての態様において、例示であって、この発明がそれに限定されるものではない。例示されていない無数の変形例が、この発明の範囲から外れることなく想定され得るものと解される。
 100 コンテンツ再生システム、1 メディア制御機能部、2 音声制御機能部、3 テレビ再生機能部、4 ラジオ再生機能部、1a,2a,3a,4a 通常ログ出力部、1b,2b,3b,4b 詳細ログ出力部、10 ログデータ取得装置、11 通常ログ取得部、12 詳細ログ取得部、13 ログ退避部、14 障害検出部、15 関連プログラム情報記憶部、21 通常ログ保持部、22 詳細ログ保持部、23 退避ログ保持部、31~34 通常ログ作成部、51 プロセッサ、52 メモリ。

Claims (7)

  1.  複数のプログラムが実行されることによって実現されるシステム用のログデータ取得装置であって、
     前記複数のプログラムの通常ログデータを取得して保存する通常ログ取得部と、
     前記複数のプログラムの詳細ログデータを取得して保存する詳細ログ取得部と、
     前記システムの各機能における障害の発生を検出する障害検出部と、
     前記システムの各機能とそれに関連するプログラムとを紐付けする情報である関連プログラム情報を記憶した関連プログラム情報記憶部と、
     前記障害検出部が前記システムの機能に障害が生じたことを検出すると、前記関連プログラム情報に基づいて、当該障害が生じた機能に関連するプログラムの詳細ログデータを退避させるログ退避部と、
    を備えるログデータ取得装置。
  2.  前記システムの機能に障害が発生したときの前記複数のプログラムの通常ログデータまたは詳細ログデータの履歴に基づいて、前記関連プログラム情報記憶部に記憶されている前記関連プログラム情報が更新される
    請求項1に記載のログデータ取得装置。
  3.  前記複数のプログラムの通常ログデータは、前記複数のプログラムの詳細ログデータを部分的に抽出することによって作成される
    請求項1に記載のログデータ取得装置。
  4.  前記複数のプログラムの通常ログデータは、前記複数のプログラムの詳細ログデータのうち特定の文字列を含む部分を抽出することによって作成される
    請求項3に記載のログデータ取得装置。
  5.  複数のプログラムが実行されることによって実現されるシステム用のログデータ取得装置であって、
     前記複数のプログラムの通常ログデータを取得して保存する通常ログ取得部と、
     前記複数のプログラムの詳細ログデータを取得して保存する詳細ログ取得部と、
     前記システムの各機能における障害の発生を検出する障害検出部と、
     前記システムの各機能とそれに関連するプログラムとを紐付けする情報である関連プログラム情報を記憶した関連プログラム情報記憶部と、
    を備え、
     前記詳細ログ取得部は、前記障害検出部が前記システムの機能に障害が生じたことを検出すると、前記関連プログラム情報に基づいて、前記複数のプログラムの詳細ログデータを保存するための詳細ログ保持部から、当該障害が生じた機能に関連するプログラム以外の詳細ログデータを消去し、その後は、当該障害が生じた機能に関連するプログラムの詳細ログデータのみを前記詳細ログ保持部に保存する
    ログデータ取得装置。
  6.  複数のプログラムが実行されることによって実現されるシステム用のログデータ取得装置におけるログデータ取得方法であって、
     前記ログデータ取得装置の情報記憶部が、前記システムの各機能とそれに関連するプログラムとを紐付けする情報である関連プログラム情報を記憶し、
     前記ログデータ取得装置の通常ログ取得部が、前記複数のプログラムの通常ログデータを取得して保存し、
     前記ログデータ取得装置の詳細ログ取得部が、前記複数のプログラムの詳細ログデータを取得して保存し、
     前記ログデータ取得装置の障害検出部が、前記システムの各機能に障害が発生しているか否かを確認し、
     前記障害検出部により前記システムの機能に障害が生じたことが検出されると、前記ログデータ取得装置のログ退避部が、前記関連プログラム情報に基づいて、障害が生じた機能に関連するプログラムの詳細ログデータを退避させる、
    ログデータ取得方法。
  7.  複数のプログラムが実行されることによって実現されるシステム用のログデータ取得装置におけるログデータ取得方法であって、
     前記ログデータ取得装置の情報記憶部が、前記システムの各機能とそれに関連するプログラムとを紐付けする情報である関連プログラム情報を記憶し、
     前記ログデータ取得装置の通常ログ取得部が、前記複数のプログラムの通常ログデータを取得して保存し、
     前記ログデータ取得装置の詳細ログ取得部が、前記複数のプログラムの詳細ログデータを取得して保存し、
     前記ログデータ取得装置の障害検出部が、前記システムの各機能に障害が発生しているか否かを確認し、
     前記障害検出部により前記システムの機能に障害が生じたことが検出されると、前記詳細ログ取得部が、前記関連プログラム情報に基づいて、前記複数のプログラムの詳細ログデータを保存するための詳細ログ保持部から、当該障害が生じた機能に関連するプログラム以外の詳細ログデータを消去し、その後は、当該障害が生じた機能に関連するプログラムの詳細ログデータのみを前記詳細ログ保持部に保存する
    ログデータ取得方法。
PCT/JP2016/066101 2016-06-01 2016-06-01 ログデータ取得装置およびログデータ取得方法 WO2017208377A1 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2018520267A JP6644138B2 (ja) 2016-06-01 2016-06-01 ログデータ取得装置およびログデータ取得方法
PCT/JP2016/066101 WO2017208377A1 (ja) 2016-06-01 2016-06-01 ログデータ取得装置およびログデータ取得方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2016/066101 WO2017208377A1 (ja) 2016-06-01 2016-06-01 ログデータ取得装置およびログデータ取得方法

Publications (1)

Publication Number Publication Date
WO2017208377A1 true WO2017208377A1 (ja) 2017-12-07

Family

ID=60478250

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2016/066101 WO2017208377A1 (ja) 2016-06-01 2016-06-01 ログデータ取得装置およびログデータ取得方法

Country Status (2)

Country Link
JP (1) JP6644138B2 (ja)
WO (1) WO2017208377A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022075076A1 (ja) * 2020-10-06 2022-04-14 住友電気工業株式会社 車両用ログ収集プログラム、車載装置、車両用ログ収集システムおよび車両用ログ収集方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006172401A (ja) * 2004-12-20 2006-06-29 Olympus Corp 情報収集装置
JP2009059112A (ja) * 2007-08-30 2009-03-19 Brother Ind Ltd ログ収集システム、及びコンピュータ装置
JP2009266031A (ja) * 2008-04-25 2009-11-12 Toshiba Corp 計算機システム及び計算機
JP2010072798A (ja) * 2008-09-17 2010-04-02 Ricoh Co Ltd 電子装置の制御部、電子装置、画像形成装置、電子装置の制御方法、プログラムおよび記録媒体
JP2014146074A (ja) * 2013-01-25 2014-08-14 Fujitsu Ltd 制御装置、ログ格納方法及び制御プログラム

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006172401A (ja) * 2004-12-20 2006-06-29 Olympus Corp 情報収集装置
JP2009059112A (ja) * 2007-08-30 2009-03-19 Brother Ind Ltd ログ収集システム、及びコンピュータ装置
JP2009266031A (ja) * 2008-04-25 2009-11-12 Toshiba Corp 計算機システム及び計算機
JP2010072798A (ja) * 2008-09-17 2010-04-02 Ricoh Co Ltd 電子装置の制御部、電子装置、画像形成装置、電子装置の制御方法、プログラムおよび記録媒体
JP2014146074A (ja) * 2013-01-25 2014-08-14 Fujitsu Ltd 制御装置、ログ格納方法及び制御プログラム

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022075076A1 (ja) * 2020-10-06 2022-04-14 住友電気工業株式会社 車両用ログ収集プログラム、車載装置、車両用ログ収集システムおよび車両用ログ収集方法

Also Published As

Publication number Publication date
JPWO2017208377A1 (ja) 2018-08-09
JP6644138B2 (ja) 2020-02-12

Similar Documents

Publication Publication Date Title
US9015695B2 (en) Information processing apparatus and information processing method
JP5503539B2 (ja) 損傷したハードディスクのファイルシステムを修復する方法およびシステム
US20100153347A1 (en) Method and system for preventing corruption of hard disk drive file system
CN108874441B (zh) 一种板卡配置方法、装置、服务器和存储介质
JP2006114043A (ja) フラッシュメモリのデータ処理装置及び方法
JP4641443B2 (ja) ログ情報管理装置、ログ情報管理方法およびログ情報管理プログラム
CN105786539B (zh) 一种文件下载方法及装置
US8131990B2 (en) Data processing apparatus and method of mounting logical drive
WO2017208377A1 (ja) ログデータ取得装置およびログデータ取得方法
CN111177104B (zh) 一种nas存储系统的日志下刷方法及装置
US9009430B2 (en) Restoration of data from a backup storage volume
CN111966531A (zh) 数据快照方法、装置、计算机设备及存储介质
CN106933499B (zh) 一种提高mlc闪存系统性能的方法和装置
KR101423920B1 (ko) 버퍼링 상태에 기반한 디지털 멀티미디어 녹화 방법 및 장치
US9176836B2 (en) Automatic diagnosis system and method thereof
JP2011199414A (ja) 素材収録装置及び素材収録方法
WO2011001470A1 (ja) データ記録装置、およびオーディオシステム
CN112965664A (zh) 一种数据压缩的方法和相关装置
CN109947978B (zh) 一种音频存储、播放方法及装置
JP2010092324A (ja) 放送受信装置及びソフトウェア更新方法
CN111104256A (zh) 一种数据读取方法、装置、设备及存储介质
CN106599046B (zh) 分布式文件系统的写入方法及装置
US9588716B1 (en) Method and system for backup operations for shared volumes
CN102057432B (zh) 再现装置、集成电路以及再现方法
CN110362534B (zh) 一种快照验证方法、系统及电子设备和存储介质

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2018520267

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

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

Country of ref document: EP

Kind code of ref document: A1