JP2014093025A - Voice image device - Google Patents
Voice image device Download PDFInfo
- Publication number
- JP2014093025A JP2014093025A JP2012244420A JP2012244420A JP2014093025A JP 2014093025 A JP2014093025 A JP 2014093025A JP 2012244420 A JP2012244420 A JP 2012244420A JP 2012244420 A JP2012244420 A JP 2012244420A JP 2014093025 A JP2014093025 A JP 2014093025A
- Authority
- JP
- Japan
- Prior art keywords
- history information
- log
- control unit
- buffer area
- communication
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000012545 processing Methods 0.000 claims abstract description 50
- 239000000872 buffer Substances 0.000 claims abstract description 49
- 238000004891 communication Methods 0.000 claims abstract description 42
- 230000005540 biological transmission Effects 0.000 claims abstract description 39
- 238000000034 method Methods 0.000 claims description 26
- 238000003384 imaging method Methods 0.000 claims 1
- 238000009825 accumulation Methods 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 18
- 230000003287 optical effect Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 8
- 230000010365 information processing Effects 0.000 description 3
- 230000003321 amplification Effects 0.000 description 2
- 238000003199 nucleic acid amplification method Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 239000012536 storage buffer Substances 0.000 description 1
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Description
本発明は、音声または画像の記録または再生を実施可能な音声画像装置に関するものであり、特にネットワーク通信機能を備えた音声画像装置に関する。 The present invention relates to an audio image apparatus capable of recording or reproducing audio or images, and more particularly to an audio image apparatus having a network communication function.
近年、音声や画像の記録また再生を行う音声画像装置、いわゆるAV機器として、テレビ装置、DVD(Digital Versatile Disk)レコーダ、HDD(Hard Disk Drive)レコーダ等が広く普及している。また、これら複数の音声画像装置を一装置にまとめた複合機も普及している。 2. Description of the Related Art In recent years, television devices, DVD (Digital Versatile Disk) recorders, HDD (Hard Disk Drive) recorders, and the like have become widespread as audio image devices that record and reproduce audio and images, so-called AV devices. In addition, multifunction peripherals in which a plurality of audio image devices are combined into one device are also widespread.
このような音声画像装置の中には、インターネット等の広域通信網に接続して通信を行う、いわゆるネットワーク機能を備えたものが存在する。さらには、ネットワーク機能を用いて、採取したログをネットワークサーバへ送信する装置及びシステムが開示・提案されている(例えば特許文献1及び特許文献2を参照)。
Among such audio image apparatuses, there are apparatuses having a so-called network function for performing communication by connecting to a wide area communication network such as the Internet. Furthermore, an apparatus and a system for transmitting a collected log to a network server using a network function are disclosed and proposed (see, for example,
しかしながら、音声画像装置に実装されている個々のアプリケーションは、アプリケーションの処理履歴を示すログ(以下、「アプリログ」という)を蓄積する機能を、必ず備えているとは限らない。また、個々のアプリログをネットワーク経由でログサーバ等へ送信しようとした場合、アプリケーション毎にログ送信機能を実装させねばならず、手間がかかるという問題があった。 However, each application installed in the audio image device does not necessarily have a function of storing a log indicating an application processing history (hereinafter referred to as “application log”). In addition, when individual application logs are transmitted to a log server or the like via a network, there is a problem that a log transmission function has to be implemented for each application, which is troublesome.
例えば、現在実用化されているRS−232C等のシリアル通信を用いたログ出力では、OSのカーネルログをリアルタイムで出力することは可能であるが、個々のアプリログを出力することはできなかった。 For example, in the log output using serial communication such as RS-232C currently in practical use, it is possible to output the OS kernel log in real time, but it is not possible to output individual application logs. .
本発明の目的は、アプリログを蓄積する機能またはアプリログを送信する機能を備えていないアプリケーションを実装した音声画像装置において、OSのカーネルログとアプリログとをネットワーク経由で送信することが可能な音声画像装置を提供することにある。 An object of the present invention is to enable transmission of an OS kernel log and an application log via a network in an audio image apparatus that has an application that does not have a function of accumulating an application log or a function of transmitting an application log. It is to provide an audio image device.
上記目的を達成するために本発明の音声画像装置は、情報を記録する記録部と、通信網に接続する通信部と、通信網に接続された装置に対して通信を行うよう前記通信部を制御する通信制御部と、プログラムを実行する制御部と、備えた音声画像装置において、前記制御部が、前記プログラムにより実施された処理の処理履歴を示す第1履歴情報を、前記記録部に生成したバッファエリアに格納し、前記バッファエリアの格納量が予め定められた閾値を超える場合に、前記バッファエリアに格納されている前記第1履歴情報を予め定められた送信先へ送信するよう前記通信制御部を制御することを特徴としている。 In order to achieve the above object, an audio image device of the present invention includes a recording unit for recording information, a communication unit connected to a communication network, and the communication unit configured to communicate with a device connected to the communication network. In the audio image device provided with the communication control unit to control, the control unit to execute the program, the control unit generates first history information indicating the processing history of the processing performed by the program in the recording unit And storing the first history information stored in the buffer area to a predetermined destination when the storage amount of the buffer area exceeds a predetermined threshold. It is characterized by controlling the control unit.
これによると、本発明の音声画像装置によれば、通信網を介してログを送信する機能を備えていないプログラムを実装している場合であっても、これらのプログラムのログを一括してネットワーク上の装置へ送信することができる。また、ログ出力を一括で切り替えることが可能である。 According to this, according to the sound image apparatus of the present invention, even when a program that does not have a function of transmitting logs via a communication network is installed, the logs of these programs are collectively collected in the network. Can be sent to the above device. In addition, log output can be switched at once.
また上記目的を達成するために、前記制御部は、前記制御部の処理履歴を示す第2履歴情報を前記バッファエリアに格納し、前記バッファエリアの格納量が前記閾値を超える場合に、前記バッファエリアに格納されている前記第1履歴情報または前記第2履歴情報を、格納が行われた順序に基づいて前記送信先へ送信するよう、前記通信制御部を制御することを特徴とする。 In order to achieve the above object, the control unit stores second history information indicating a processing history of the control unit in the buffer area, and when the storage amount of the buffer area exceeds the threshold value, the buffer unit The communication control unit is controlled to transmit the first history information or the second history information stored in an area to the transmission destination based on the order of storage.
これによると、内容が異なる複数種の履歴情報を、一括してネットワーク上の装置に送信することが可能である。 According to this, it is possible to collectively transmit a plurality of types of history information having different contents to devices on the network.
また上記目的を達成するために、前記制御部は、前記バッファエリアの格納量が前記閾値を超える場合に、前記バッファエリアに格納されている前記第1履歴情報または前記第2履歴情報を前記送信先へ送信するよう前記通信制御部を制御し、送信が完了した情報を前記バッファエリアより消去することを特徴とする。 In order to achieve the above object, the control unit transmits the first history information or the second history information stored in the buffer area when the storage amount of the buffer area exceeds the threshold value. The communication control unit is controlled to transmit to the destination, and information that has been transmitted is deleted from the buffer area.
これによると、バッファエリアの格納量を好適に調整することが可能である。 According to this, it is possible to suitably adjust the storage amount of the buffer area.
また上記目的を達成するために、前記制御部は、前記第1履歴情報として、予め定められたアプリケーションプログラムの処理履歴を示すアプリケーションログを前記バッファログに格納し、前記第2履歴情報として、前記音声画像装置のオペレーションシステムの処理履歴を示すカーネルログを前記バッファログに格納することを特徴とする。 In order to achieve the above object, the control unit stores, as the first history information, an application log indicating a processing history of a predetermined application program in the buffer log, and as the second history information, A kernel log indicating a processing history of the operation system of the sound image apparatus is stored in the buffer log.
これによると、バッファエリアに蓄積されたアプリケーションログ(=第1履歴情報)と、OSのカーネルログ(=第2履歴情報)とを、一括してネットワーク上の装置に送信することが可能である。 According to this, the application log (= first history information) accumulated in the buffer area and the OS kernel log (= second history information) can be collectively transmitted to devices on the network. .
また上記目的を達成するために、前記制御部は、前記第1履歴情報または前記第2履歴情報の送信先に対して認証処理を行い、前記認証処理に成功した場合に、前記第1履歴情報または前記第2履歴情報を送信するよう前記通信制御部を制御することを特徴とする。 In order to achieve the above object, the control unit performs authentication processing on the transmission destination of the first history information or the second history information, and when the authentication processing is successful, the first history information Alternatively, the communication control unit is controlled to transmit the second history information.
これによると、ログ送信におけるセキュリティの向上を図ることができる。 According to this, security in log transmission can be improved.
また上記目的を達成するために、前記制御部は、前記第1履歴情報または前記第2履歴情報が生成される起因となった処理の処理識別子を判別し、前記処理識別子に基づいて、前記第1履歴情報または前記第2履歴情報の送信先を決定することを特徴とする。 In order to achieve the above object, the control unit determines a process identifier of a process that causes the generation of the first history information or the second history information, and based on the process identifier, The transmission destination of one history information or the second history information is determined.
これによると、所定の処理単位、例えばアプリケーション単位で、履歴情報を分別して送信することができる。 According to this, history information can be sorted and transmitted in a predetermined processing unit, for example, an application unit.
また上記目的を達成するために、前記制御部は、前記第1履歴情報または前記第2履歴情報を、通信網を介したTCP/IP(Transmission Control Protocol/ Internet Protocol)通信により送信することを特徴とする。 In order to achieve the above object, the control unit transmits the first history information or the second history information by TCP / IP (Transmission Control Protocol / Internet Protocol) communication via a communication network. And
これによると、インターネット等の広域通信網を利用して、履歴情報の送信を行うことができる。このため、シリアル通信のように特殊なジグを必要とすることがない。 According to this, history information can be transmitted using a wide area communication network such as the Internet. For this reason, a special jig is not required unlike serial communication.
以下に本発明の一実施形態を、図面を参照しつつ説明する。なお、ここで示す実施形態は一例であり、本発明はここに示す実施形態に限定されるものではない。 Hereinafter, an embodiment of the present invention will be described with reference to the drawings. In addition, embodiment shown here is an example and this invention is not limited to embodiment shown here.
〈1.内部構成について〉
図2は、本発明の一実施形態に係るBDレコーダ1(=音声画像装置)の内部構成を示すブロック図である。なお、図2における矢印線は画像/音声データの流れを示している。また、矢印のない直線は、制御部11が各装置に対する制御信号等を送受信するための通信バスを示している。
<1. Internal configuration>
FIG. 2 is a block diagram showing an internal configuration of the BD recorder 1 (= audio image apparatus) according to the embodiment of the present invention. 2 indicate the flow of image / audio data. Moreover, the straight line without an arrow has shown the communication bus for the
BDレコーダ1は少なくとも、制御部11、メモリ12、操作部13、HDD14、ROM15、光ディスクドライブ16、放送受信部17、信号処理部18、OSD(On-Screen Display)処理部19、及び外部接続端子20(=通信部)を含むように構成されている。なお外部接続端子20により接続される装置として、パソコン2が存在する。
The
制御部11は、BDレコーダ1の各部材の駆動を制御することにより、画像/音声の再生処理、記録処理、出力処理等を統括制御するためのものである。制御部11は例えば、複数のマイクロプロセッサから構成されている。また制御部11は、制御部11が備える演算処理装置上でプログラムを実行することにより実現される機能部として、後述する図1に示す複数の機能部を備えている。
The
メモリ12は、BDレコーダ1が保持する各種データを一時的に記録する媒体であり、例えば書き込み可能なRAM(Random Access Memory)等により構成されている。メモリ12は、例えば制御部11によって各種情報処理が行われる際の処理データや、ユーザから受けた指示命令等を一時的に記録しておくためのバッファメモリとしての役割を持つ。
The
操作部13は、ユーザがBDレコーダ1に対して、画像/音声の記録指示や予約録画指示等を行うためのものである。操作部13は、例えばBDレコーダ1のハウジングに設けられた複数のボタンや、図示しないリモコン及びリモコン信号受信部等を含む。操作部13はこれらの装置により、ユーザ操作を受け付ける。ユーザ操作が受け付けられると、制御部11は、操作内容に基づいて再生処理や記録処理等を行う。
The operation unit 13 is used by the user to instruct the
HDD14は、デジタルデータを記録する磁気記録媒体である。HDD14は、複数の磁気ディスクを回転させつつ、アクチュエータによりヘッドを移動させることにより、データの記録や読み出しを行う。本実施形態では主に、放送波に含まれる画像/音声データから生成される録画データを記録するのに用いられる。
The HDD 14 is a magnetic recording medium that records digital data. The
ROM15は、制御部11が各装置部の制御を行うために用いる制御プログラムや、BDレコーダ1の工場出荷時に定められた各種設定パラメータ等を記録しておく記録媒体である。ROM15は情報の読み出しのみが可能であり、記録や書き換えはできないようになっている。
The ROM 15 is a recording medium that records a control program used by the
光ディスクドライブ16は、CD(Compact Disc)メディア、或いはDVD(Digital Versatile Disc)メディア等の光ディスクに対して光学的に各種データの読み取りを行うための光学装置である。光ディスクドライブ16は、光ピックアップ(不図示)の制御を行うことにより、光ディスクに光ビームを照射して、光ディスクに記録された音声情報、画像情報等の各種情報の読み取りを行う。この際、光ピックアップの駆動制御やフォーカス制御、或いはチルト制御等の各種制御を行う。 The optical disk drive 16 is an optical device for optically reading various data from an optical disk such as a CD (Compact Disc) medium or a DVD (Digital Versatile Disc) medium. The optical disk drive 16 controls an optical pickup (not shown) to irradiate the optical disk with a light beam and read various information such as audio information and image information recorded on the optical disk. At this time, various controls such as drive control, focus control, and tilt control of the optical pickup are performed.
放送受信部17は、外部のアンテナ(不図示)に接続されてデジタル/アナログ放送の選局、受信、周波数変換、増幅、復調等を行う。放送受信部17は、アナログ方式であればアナログチューナ、中間周波増幅回路、復調回路、及び増幅回路等を含むように構成されている。またデジタル方式であれば、デジタルチューナ、及び誤り訂正部等を含むように構成されている。 The broadcast receiving unit 17 is connected to an external antenna (not shown) and performs digital / analog broadcast tuning, reception, frequency conversion, amplification, demodulation, and the like. The broadcast receiving unit 17 is configured to include an analog tuner, an intermediate frequency amplifier circuit, a demodulator circuit, an amplifier circuit, and the like in the case of an analog system. In the case of a digital system, a digital tuner, an error correction unit, and the like are included.
例えばデジタル放送を受信する場合、放送受信部17に含まれるデジタルチューナが、中間周波信号の増幅及び検波を行う。これにより、MPEG2方式のデジタル信号であるTS(=Transport Stream)の取得を行う。なおTSとは、複数の番組の音声PES(Packetized Elementary Stream)、画像PES、及び付加情報を固定長のTSパケットに分割してつなぎ合わせたものである。信号処理部18へ与えられて画像/音声信号に変換される。なお、TSを変換せずHDD14へ記録することも可能である。この場合、信号処理部18はTSのスルーのみを行う。
For example, when receiving a digital broadcast, a digital tuner included in the broadcast receiving unit 17 performs amplification and detection of the intermediate frequency signal. Thereby, TS (= Transport Stream) which is a digital signal of the MPEG2 system is acquired. Note that the TS is an audio PES (Packetized Elementary Stream), an image PES, and additional information of a plurality of programs divided into fixed-length TS packets and connected. The signal is supplied to the
信号処理部18は、放送受信部17が生成したTSや、光ディスクドライブ16が光ディスクより読み出したデジタルデータを入力し、音声情報を含む音声デジタル信号と、画像情報を含む画像デジタル信号とに分離する多重分離部である。具体的には例えば、放送受信部17より生成されたTSを、TSパケットに分割する。そしてTSパケットを再結合することにより、音声/画像のPESを生成する。
The
そしてPESを結合することにより、ES(Elementary Stream=符号化された音声/画像データ)を生成する。さらに信号処理部18はESの復号を行い、各種デジタル信号に変換する。復号により得られたデジタル信号は、記録する場合はHDD14へ与えられる。また不図示の表示装置に出力する場合は、外部接続端子20へ与えられる。
Then, the ES (Elementary Stream = encoded audio / image data) is generated by combining the PES. Further, the
OSD処理部19は、画像信号を生成する機能部である。OSD処理部19は、BDレコーダ1が出力すべき情報をユーザが視認できる画像データに変換し、変換した画像データを不図示の表示装置に表示するための画像信号を生成する。生成された画像信号は、外部接続端子20より出力される。
The
外部接続端子20は、例えばHDMI(High Definition Multimedia Interface)端子、USB(Universal Serial Bus)端子、シリアルケーブル接続端子、ネットワーク接続端子等を含む、複数の入出力端子からなるインタフェースである。外部接続端子20はこれらの入出力端子を用いて、BDレコーダ1と外部の装置、例えばパソコン2や不図示の表示装置等を接続し、デジタル信号またアナログ信号の入出力を行う。
The
なおネットワーク接続端子とは、BDレコーダ1を通信ネットワークと接続するための物理的なインタフェースである。具体的には例えば、IEEE802.3規格に準拠した有線LAN(Local Area Network)に接続するためのLANケーブルコネクタを含むように構成されている。これにより、通信網を介して接続された外部装置、例えばサーバ3と相互通信を行い、ログデータの送信を行うことが可能である。
The network connection terminal is a physical interface for connecting the
パソコン2は、図示しない表示部、操作部、制御部、及び接続部を備える情報処理装置である。パソコン2は例えば、外部接続端子20に含まれるシリアルケーブル接続端子またはネットワーク接続端子に接続することにより、BDレコーダ1よりログデータ(=処理履歴情報)を受信することが可能である。
The
サーバ3は、インターネット等の広域通信網を介してBDレコーダ1に接続し、BDレコーダ1で採取されたログデータの収集を行う。収集されたログデータは所定の記録媒体に記録され、BDレコーダ1のメンテナンス等のための参考データとして用いられる。なお、サーバ3の内部構造の詳細については従来技術と同様であるため、説明を省略する。
〈2.機能部の構成について〉
The
<2. About the configuration of the function section>
ここで、本発明の一実施形態に係るBDレコーダ1がログ送信処理を実施するための各機能部の関係を、図1のブロック図を用いながら説明する。なお、図1における破線矢印線は、制御信号の流れを示している。
Here, the relationship of each function part for the
図1に示すように本発明のログ送信処理は、制御部11が備えるLinux(登録商標)カーネル11a、アプリケーション群11b、及びログ制御部11c(=履歴生成部)により実施される。
As shown in FIG. 1, the log transmission processing of the present invention is performed by the Linux (registered trademark) kernel 11a, the application group 11b, and the
Linuxカーネル11aは、メモリ12またはHDD14に、Linuxカーネルとアプリケーションで共有するログ保存用のバッファであるログバッファ(=バッファエリア)を作成する。そして後述するアプリケーション群11bが生成したアプリログをログバッファにコピーする。またLinuxカーネル11aは、外部接続端子20により接続された外部装置、例えばサーバ3等と相互通信を行うための通信制御を行う。
The Linux kernel 11a creates a log buffer (buffer area) that is a log storage buffer shared by the Linux kernel and the application in the
アプリケーション群11bは、複数のアプリケーションを含む。各アプリケーションは、ROM15に予め記録されているアプリケーションプログラムを、制御部11が含む演算処理装置が実行することにより実現される。各アプリケーションは、個別にアプリログを生成してLinuxカーネル11aへ送信する。例えば録画処理を行うための録画アプリケーションは、録画処理に関連するアプリログ、例えば録画開始時刻等を示すアプリログを生成する。
The application group 11b includes a plurality of applications. Each application is realized by an arithmetic processing device included in the
なお、本実施形態のアプリケーション群11bに含まれるアプリケーションは、アプリログの蓄積及びネットワークを介したアプリログの送信に関する機能を、個別に備えていない。このため、アプリログの送信先はLinuxカーネル11aのみである。 Note that the applications included in the application group 11b of the present embodiment do not have individual functions related to application log accumulation and application log transmission via the network. For this reason, the transmission destination of the application log is only the Linux kernel 11a.
ログ制御部11cは、ログバッファからログデータを取得する。またログ制御部11cは、任意の送信先に対してログデータを送信するよう、Linuxカーネル11aに対して指示する。この指示を受けたLinuxカーネル11aは、ログ制御部11cに指定された外部装置、例えばパソコン2やサーバ3へログデータを送信する。
The
またログ制御部11cは、パソコン2またはサーバ3にインストールされているログ受信ツールとの間で認証を行い、許可されたログ受信ツールに対してのみ、ログを送信する。なお、ログの送信先は必ずしも情報処理装置に限るものではなく、例えば外部接続端子20に含まれるUSB端子に接続されたUSBメモリ等に出力する形態でもよい。
Further, the
またログ制御部11cは、 アプリログ(=第1履歴情報)とカーネルログ(=第2履歴情報)とを、所定の単位で送信するための送信先の指定をユーザより受け付ける。またログ単位で、ログ送信の許可/禁止の指定を、ユーザより受け付ける。指定を受け付ける方法としては、例えばOSD処理部19により上記指定を受け付けるための設定画面を表示し、操作部13によりユーザ操作を受け付けることにより行う。
In addition, the
次に、ログ制御部11cがログバッファに生成するログデータの詳細について、図5〜図8を用いつつ説明する。図5は、アプリケーション群11bに含まれるアプリケーションAが生成するアプリログの一例である。図6は、アプリケーション群11bに含まれるアプリケーションBが生成するアプリログの一例である。図7は、Linuxカーネル11aが生成するカーネルログの一例である。図8は、ログバッファに蓄積されるログデータ一例である。
Next, details of the log data generated in the log buffer by the
図8に示すように、ログバッファに蓄積されるログデータは、複数のログが発生した時系列順に蓄積されている。図8では、アプリケーションAが生成するアプリログが(A)、アプリケーションBが生成するアプリログが(B)、カーネルログが(C)に該当する。ログ制御部11cは、この蓄積順に応じてログデータを送信するよう、Linuxカーネル11aに指示する。
〈3.ログ送信処理について〉
As shown in FIG. 8, the log data stored in the log buffer is stored in the time series in which a plurality of logs are generated. In FIG. 8, the application log generated by application A corresponds to (A), the application log generated by application B corresponds to (B), and the kernel log corresponds to (C). The
<3. About log transmission processing>
ここで、本発明の一実施形態に係るBDレコーダ1が実施するログ送信処理を、図3及び図4のフロー図を用いながら説明する。図3は、ログバッファ内のログデータを一括して送信する形態の処理フローを示している。また図4は、ログバッファ内のログデータを分別して送信する形態の処理フローを示している。なお、図3及び図4において同一の処理は、同一のステップ番号を付与することにより説明を省略するものとする。
Here, log transmission processing performed by the
ここまではまず、図3に示す、ログバッファ内のログデータを一括して送信する形態の処理フローについて説明する。本処理の開始後、制御部11はステップS110において、Linuxカーネル11aの起動を行う。
Up to this point, the processing flow of the form in which log data in the log buffer shown in FIG. After the start of this process, the
次に制御部11はステップS120において、ログ制御部11cの起動を行う。次にLinuxカーネル11aはステップS130において、ログバッファの初期化を行う。
Next, in step S120, the
次にログ制御部11cはステップS140において、ログデータの送信設定を行う。次にLinuxカーネル11aはステップS150において、アプリケーション群11bの起動を行う。これにより、アプリケーション群11bに含まれるレコーダーアプリ等が起動される。
In step S140, the
次に、アプリケーション群11bに含まれる所定のアプリ(本実施形態ではレコーダーアプリ)がステップS160において、Linuxカーネル11aに対するアプリログの送信を開始する。これを受けたLinuxカーネル11aはステップS170において、受信したアプリログをログバッファに蓄積する。併せて、カーネル内部で発生したカーネルログを、ログバッファに蓄積する。 Next, in step S160, a predetermined application (recorder application in the present embodiment) included in the application group 11b starts transmitting application logs to the Linux kernel 11a. In response to this, the Linux kernel 11a accumulates the received application log in the log buffer in step S170. At the same time, the kernel log generated inside the kernel is accumulated in the log buffer.
次にログ制御部11cはステップS180において、ログバッファよりログデータを読み出す。そしてステップS190において、読み出したログデータが所定のデータ量を上回るか否かを判定する。
In step S180, the
所定のデータ量を上回っていない場合、再びステップS170へ移行する。所定のデータ量を上回っている場合、次にログ制御部11cはステップS200において、ログバッファより読み出したログデータをTCP/IP通信により送信するよう、Linuxカーネル11aに指示する。なお送信先の指定は、例えばIPアドレス等により行う。
If it does not exceed the predetermined amount of data, the process proceeds to step S170 again. If the predetermined amount of data is exceeded, then in step S200, the
次にLinuxカーネル11aはステップS210において、上記で指定された送信先に対してログを送信する。これにより、パソコン2またはサーバ3等に対して、ログデータが送信される。送信が完了すると、本処理を終了する。
Next, in step S210, the Linux kernel 11a transmits a log to the transmission destination specified above. As a result, log data is transmitted to the
次に、図4に示す、ログバッファ内でログを分別して送信する形態の処理フローについて説明する。ステップS110〜ステップS130については、図3と同様であるため説明を省略する。ステップS130の後、ログ制御部11cはステップS141において、プロセスID単位でログデータの送信設定を行う。
Next, a description will be given of the processing flow of the form shown in FIG. 4 in which logs are sorted and transmitted in the log buffer. Steps S110 to S130 are the same as those in FIG. After step S130, the
ステップS150〜ステップS170については、図3と同様であるため説明を省略する。ステップS170の後、ログ制御部11cはステップS171において、ログデータ毎に、ログデータを発生させたプロセスのIDを判別し、これらを関連づけてログバッファに保存する。
Steps S150 to S170 are the same as those in FIG. After step S170, in step S171, the
次にログ制御部11cはステップS181において、ログバッファからログデータと、ログデータに関連づけられているプロセスIDとを読み出す。そしてステップS190において、読み出したログデータが所定のデータ量を上回っている場合、ログ制御部11cはステップS201において、ログバッファより読み出した複数のログデータを、関連づけられているプロセスIDに応じた個別の送信先へ送信するよう、Linuxカーネル11aに指示する。これを受けたLinuxカーネル11aがステップS210においてログを送信すると、本処理を終了する。
Next, in step S181, the
以上に説明した本実施形態によれば、アプリログを蓄積する機能またはアプリログを送信する機能を備えていないアプリケーションをBDレコーダ1が実装したとしても、のOS(本実施形態ではLinux)のカーネルログと、複数のアプリログとを、一括してパソコン2やサーバ3へ送信することができる。このため、アプリケーション毎にログ送信機能を実装させる必要がない。
According to the present embodiment described above, even if the
また本実施形態によれば、ログ出力先を一括で切り替えることが可能である。また、プロセスID等に基づいてログデータを複数に分別し、複数の送付先に対して個別送信することが可能である。また、LAN等の通信網を使用してログを出力するため、シリアル通信のように特殊なジグを必要とすることがない。 Further, according to the present embodiment, log output destinations can be switched at once. Further, log data can be classified into a plurality of pieces based on the process ID and the like, and individually transmitted to a plurality of destinations. In addition, since a log is output using a communication network such as a LAN, a special jig is not required unlike serial communication.
なお、上記の2つの実施形態ではBDレコーダ1が主体となって送信を行っているが、逆にパソコン2からのリクエストを待ち受け、リクエストを受け付けた場合にのみログデータを送信する形態でもよい。
In the above two embodiments, transmission is performed mainly by the
この実施形態の場合、ステップS120においてログ制御部11cが起動すると、ログ制御部11cはログ配信サーバとして機能する。その後、ステップS130〜ステップS190により所定量のログデータをログバッファに蓄積する。
In the case of this embodiment, when the
そしてステップS200において、パソコン2にインストールされているログ受信ツール(クライアントツール)が起動され、ログ受信ツールからのログ送信リクエストを受信した場合に、ログ制御部11cとログ受信ツールとの間で認証処理を行う。そして認証に成功した場合に、ステップS210へ移行し、リクエストの送信元であるパソコン2に対してログデータを送信する。
In step S200, when the log reception tool (client tool) installed in the
なお、図4に示す実施形態のようにログをプロセスIDにより分別している場合、パソコン2からリクエストを受けた際に送信すべきログデータを、ログデータに関連づけられているプロセスIDに基づいて判別し、判別されたログデータのみパソコン2へ送信する形態でもよい。
[その他の実施の形態]
If the log is sorted by process ID as in the embodiment shown in FIG. 4, the log data to be transmitted when a request is received from the
[Other embodiments]
以上、好ましい実施の形態及び実施例を挙げて本発明を説明したが、本発明は必ずしも上記実施の形態に限定されるものではなく、その技術的思想の範囲内において様々に変形して実施することができる。 The present invention has been described with reference to the preferred embodiments and examples. However, the present invention is not necessarily limited to the above-described embodiments, and various modifications can be made within the scope of the technical idea. be able to.
従って本発明は、以下の形態にも適用可能である。 Therefore, the present invention can also be applied to the following embodiments.
(A)上記実施形態では、本発明の音声画像装置の一例としてBDレコーダ1を例に挙げているが、放送網または通信網に接続して再生情報を取得可能な音声画像装置であれば、これ以外の装置において本発明を実施する形態でもよい。例えば、DVDレコーダや、テレビジョン装置等を用いる形態であってもよい。
(A) In the above embodiment, the
(B)上記実施形態では、本発明のログ送信処理に関わる各機能部が、マイクロプロセッサ等の演算処理装置上でプログラムを実行することにより実現されているが、各機能部が複数の回路により実現される形態でもよい。 (B) In the above embodiment, each functional unit related to the log transmission processing of the present invention is realized by executing a program on an arithmetic processing unit such as a microprocessor, but each functional unit is constituted by a plurality of circuits. It may be realized.
(C)上記実施形態では、送信ログ生成部11cはカーネルログやアプリログに含まれる全てのログをログバッファに蓄積して送信しているが、所定の種別のログ、例えばエラーログのみを蓄積して送信する形態でもよい。
(C) In the above embodiment, the transmission
1 BDレコーダ(音声画像装置)
2 パソコン
3 サーバ
11 制御部
11a Linuxカーネル
11b アプリケーション群
11c ログ制御部(履歴生成部)
12 メモリ(記録部)
13 操作部
14 HDD(記録部)
15 ROM
16 光ディスクドライブ
17 放送受信部
18 信号処理部
19 OSD処理部
20 外部接続端子(通信部)
1 BD recorder (voice image device)
2
12 Memory (Recording part)
13
15 ROM
16 Optical disk drive 17
Claims (7)
通信網に接続する通信部と、
通信網に接続された装置に対して通信を行うよう前記通信部を制御する通信制御部と、
プログラムを実行する制御部と、備えた音声画像装置において、
前記制御部が、前記プログラムにより実施された処理の処理履歴を示す第1履歴情報を、前記記録部に生成したバッファエリアに格納し、前記バッファエリアの格納量が予め定められた閾値を超える場合に、前記バッファエリアに格納されている前記第1履歴情報を予め定められた送信先へ送信するよう前記通信制御部を制御すること
を特徴とする音声画像装置。 A recording unit for recording information;
A communication unit connected to the communication network;
A communication control unit for controlling the communication unit to communicate with a device connected to a communication network;
In a sound image device provided with a control unit that executes a program,
When the control unit stores first history information indicating a processing history of processing performed by the program in the buffer area generated in the recording unit, and the storage amount of the buffer area exceeds a predetermined threshold value In addition, the communication control unit is controlled to transmit the first history information stored in the buffer area to a predetermined transmission destination.
を特徴とする請求項1に記載の音声画像装置。 The control unit stores second history information indicating a processing history of the control unit in the buffer area, and when the storage amount of the buffer area exceeds the threshold, the first stored in the buffer area The audio image apparatus according to claim 1, wherein the communication control unit is controlled to transmit history information or the second history information to the transmission destination based on a storage order.
を特徴とする請求項2に記載の音声画像装置。 The control unit is configured to transmit the first history information or the second history information stored in the buffer area to the transmission destination when the storage amount of the buffer area exceeds the threshold value. The audio image apparatus according to claim 2, wherein information that has been transmitted is deleted from the buffer area.
を特徴とする請求項3に記載の音声画像装置。 The control unit stores, as the first history information, an application log indicating a processing history of a predetermined application program in the buffer log, and as the second history information, a processing history of the operation system of the audio image device. The audio image apparatus according to claim 3, wherein a kernel log indicating ??? is stored in the buffer log.
を特徴とする請求項4に記載の音声画像装置。 The control unit performs an authentication process on a transmission destination of the first history information or the second history information, and transmits the first history information or the second history information when the authentication process is successful. The audio image apparatus according to claim 4, wherein the communication control unit is controlled.
を特徴とする請求項5に記載の音声画像装置。 The control unit determines a process identifier of a process that causes the generation of the first history information or the second history information, and based on the process identifier, the first history information or the second history information The audio image apparatus according to claim 5, wherein a transmission destination is determined.
を特徴とする請求項6に記載の音声画像装置。 The voice according to claim 6, wherein the control unit transmits the first history information or the second history information by TCP / IP (Transmission Control Protocol / Internet Protocol) communication via a communication network. Imaging device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2012244420A JP2014093025A (en) | 2012-11-06 | 2012-11-06 | Voice image device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2012244420A JP2014093025A (en) | 2012-11-06 | 2012-11-06 | Voice image device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2014093025A true JP2014093025A (en) | 2014-05-19 |
Family
ID=50937033
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2012244420A Pending JP2014093025A (en) | 2012-11-06 | 2012-11-06 | Voice image device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2014093025A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2017077854A1 (en) * | 2015-11-06 | 2017-05-11 | Canon Kabushiki Kaisha | Information processing apparatus, method, and medium |
| CN113747087A (en) * | 2021-09-10 | 2021-12-03 | 湖南君瀚信息技术有限公司 | Remote driving low-delay image transmission method and device, computer equipment and medium |
-
2012
- 2012-11-06 JP JP2012244420A patent/JP2014093025A/en active Pending
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2017077854A1 (en) * | 2015-11-06 | 2017-05-11 | Canon Kabushiki Kaisha | Information processing apparatus, method, and medium |
| JP2017091108A (en) * | 2015-11-06 | 2017-05-25 | キヤノン株式会社 | Information processing device, method and program |
| US10459775B2 (en) | 2015-11-06 | 2019-10-29 | Canon Kabushiki Kaisha | Information processing apparatus, method, and medium |
| CN113747087A (en) * | 2021-09-10 | 2021-12-03 | 湖南君瀚信息技术有限公司 | Remote driving low-delay image transmission method and device, computer equipment and medium |
| CN113747087B (en) * | 2021-09-10 | 2023-09-19 | 湖南君瀚信息技术有限公司 | Remote driving low-delay image transmission method, device, computer equipment and medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5678326B2 (en) | Transmission control device, reception control device, transmission control method, reception control method, and transmission control program | |
| US8625972B2 (en) | Recording system, transmission apparatus, recording apparatus, recording control method, and recording medium | |
| JP4666023B2 (en) | Recording system, recording apparatus, recording control method, and program | |
| JP2006287364A (en) | Signal output device and signal output method | |
| CN101582286A (en) | Reproducing device and reproduction control method | |
| US8281346B2 (en) | Method and apparatus for utilizing DVD content through home network | |
| JP2014093025A (en) | Voice image device | |
| JP4506879B2 (en) | Recording apparatus, recording method, program, and recording system | |
| JP2008294638A (en) | Transmission system, recording apparatus, transmission method, recording method, and program | |
| JP5268720B2 (en) | Playback apparatus, method, and program | |
| JP2011139220A (en) | Reproduction control apparatus | |
| JP2014027549A (en) | Recorder | |
| JP5238904B2 (en) | Recording apparatus and setting method | |
| JP4602449B2 (en) | Content processing apparatus and content processing method | |
| JP5644182B2 (en) | Recording / playback device | |
| JP2008301393A (en) | Image processing apparatus | |
| JP2012248262A (en) | Disk reproduction apparatus | |
| JP2012243267A (en) | Voice image device | |
| WO2016076017A1 (en) | Reproduction device, server, notification method, reproduction system, and non-temporary recording medium | |
| EP2615849A1 (en) | Image sound apparatus | |
| JP2012129891A (en) | Playback system | |
| EP2395753A2 (en) | Video apparatus, and distributed process system | |
| JP2014026690A (en) | Image/sound device | |
| US20120026853A1 (en) | Optical Disc Reproducing Apparatus | |
| KR20080044406A (en) | Portable DVD Player and Operation Method |