[go: up one dir, main page]

JP2014093025A - Voice image device - Google Patents

Voice image device Download PDF

Info

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
Application number
JP2012244420A
Other languages
Japanese (ja)
Inventor
Masato Takada
眞人 高田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Funai Electric Co Ltd
Original Assignee
Funai Electric Co Ltd
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 Funai Electric Co Ltd filed Critical Funai Electric Co Ltd
Priority to JP2012244420A priority Critical patent/JP2014093025A/en
Publication of JP2014093025A publication Critical patent/JP2014093025A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a voice image device capable of transmitting logs through a network in the voice image device on which an application without an accumulation/transmission function for logs is implemented.SOLUTION: The voice image device stores first history information showing processing history of processing which has been performed by a program and second history information showing processing history of a control unit in a buffer area. When storage amount in the buffer area exceeds a predetermined threshold value, the device controls a communication control unit so as to transmit the history information stored in the buffer area to a predetermined transmission destination. Also, the device determines a processing identifier of the processing by which generation of the history information is caused, and decides a transmission destination on the basis of the processing identifier. TCP/IP communication through a communication network is used for transmission.

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, Patent Document 1 and Patent Document 2).

特開2012−3683号公報JP 2012-3683 A 特開2008−171433号公報JP 2008-171433 A

しかしながら、音声画像装置に実装されている個々のアプリケーションは、アプリケーションの処理履歴を示すログ(以下、「アプリログ」という)を蓄積する機能を、必ず備えているとは限らない。また、個々のアプリログをネットワーク経由でログサーバ等へ送信しようとした場合、アプリケーション毎にログ送信機能を実装させねばならず、手間がかかるという問題があった。   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.

本発明の音声画像装置の機能部の構成を示すブロック図である。It is a block diagram which shows the structure of the function part of the audio | voice image apparatus of this invention. 本発明の音声画像装置の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the audio | voice image apparatus of this invention. 本発明のログ送信処理の処理フローを示すフロー図である。It is a flowchart which shows the processing flow of the log transmission process of this invention. 本発明のログ送信処理の処理フローを示すフロー図である。It is a flowchart which shows the processing flow of the log transmission process of this invention. アプリケーションにより生成されるログを示す模式図である。It is a schematic diagram which shows the log produced | generated by an application. アプリケーションにより生成されるログを示す模式図である。It is a schematic diagram which shows the log produced | generated by an application. カーネルにより生成されるログを示す模式図である。It is a schematic diagram which shows the log produced | generated by a kernel. ログバッファのログデータを示す模式図である。It is a schematic diagram which shows the log data of a log buffer.

以下に本発明の一実施形態を、図面を参照しつつ説明する。なお、ここで示す実施形態は一例であり、本発明はここに示す実施形態に限定されるものではない。   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 control part 11 to transmit / receive the control signal etc. with respect to each apparatus.

BDレコーダ1は少なくとも、制御部11、メモリ12、操作部13、HDD14、ROM15、光ディスクドライブ16、放送受信部17、信号処理部18、OSD(On-Screen Display)処理部19、及び外部接続端子20(=通信部)を含むように構成されている。なお外部接続端子20により接続される装置として、パソコン2が存在する。   The BD recorder 1 includes at least a control unit 11, a memory 12, an operation unit 13, an HDD 14, a ROM 15, an optical disc drive 16, a broadcast receiving unit 17, a signal processing unit 18, an OSD (On-Screen Display) processing unit 19, and an external connection terminal. 20 (= communication unit). Note that the personal computer 2 exists as a device connected by the external connection terminal 20.

制御部11は、BDレコーダ1の各部材の駆動を制御することにより、画像/音声の再生処理、記録処理、出力処理等を統括制御するためのものである。制御部11は例えば、複数のマイクロプロセッサから構成されている。また制御部11は、制御部11が備える演算処理装置上でプログラムを実行することにより実現される機能部として、後述する図1に示す複数の機能部を備えている。   The control unit 11 controls the driving of each member of the BD recorder 1 so as to perform overall control of image / sound reproduction processing, recording processing, output processing, and the like. For example, the control unit 11 includes a plurality of microprocessors. Moreover, the control part 11 is provided with the several function part shown in FIG. 1 mentioned later as a function part implement | achieved by running a program on the arithmetic processing apparatus with which the control part 11 is provided.

メモリ12は、BDレコーダ1が保持する各種データを一時的に記録する媒体であり、例えば書き込み可能なRAM(Random Access Memory)等により構成されている。メモリ12は、例えば制御部11によって各種情報処理が行われる際の処理データや、ユーザから受けた指示命令等を一時的に記録しておくためのバッファメモリとしての役割を持つ。   The memory 12 is a medium for temporarily recording various data held by the BD recorder 1, and is composed of, for example, a writable RAM (Random Access Memory). The memory 12 has a role as a buffer memory for temporarily recording, for example, processing data when various kinds of information processing are performed by the control unit 11 and instruction commands received from the user.

操作部13は、ユーザがBDレコーダ1に対して、画像/音声の記録指示や予約録画指示等を行うためのものである。操作部13は、例えばBDレコーダ1のハウジングに設けられた複数のボタンや、図示しないリモコン及びリモコン信号受信部等を含む。操作部13はこれらの装置により、ユーザ操作を受け付ける。ユーザ操作が受け付けられると、制御部11は、操作内容に基づいて再生処理や記録処理等を行う。   The operation unit 13 is used by the user to instruct the BD recorder 1 to record an image / audio, a reservation recording instruction, or the like. The operation unit 13 includes, for example, a plurality of buttons provided on the housing of the BD recorder 1, a remote controller (not shown), a remote control signal receiver, and the like. The operation unit 13 receives user operations using these devices. When a user operation is accepted, the control unit 11 performs a reproduction process, a recording process, and the like based on the operation content.

HDD14は、デジタルデータを記録する磁気記録媒体である。HDD14は、複数の磁気ディスクを回転させつつ、アクチュエータによりヘッドを移動させることにより、データの記録や読み出しを行う。本実施形態では主に、放送波に含まれる画像/音声データから生成される録画データを記録するのに用いられる。   The HDD 14 is a magnetic recording medium that records digital data. The HDD 14 records and reads data by moving a head by an actuator while rotating a plurality of magnetic disks. In this embodiment, it is mainly used for recording recording data generated from image / audio data included in a broadcast wave.

ROM15は、制御部11が各装置部の制御を行うために用いる制御プログラムや、BDレコーダ1の工場出荷時に定められた各種設定パラメータ等を記録しておく記録媒体である。ROM15は情報の読み出しのみが可能であり、記録や書き換えはできないようになっている。   The ROM 15 is a recording medium that records a control program used by the control unit 11 to control each device unit, various setting parameters determined when the BD recorder 1 is shipped from the factory, and the like. The ROM 15 can only read information, and cannot record or rewrite.

光ディスクドライブ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 signal processing unit 18 and converted into an image / audio signal. It is also possible to record the TS in the HDD 14 without converting it. In this case, the signal processing unit 18 only performs TS through.

信号処理部18は、放送受信部17が生成したTSや、光ディスクドライブ16が光ディスクより読み出したデジタルデータを入力し、音声情報を含む音声デジタル信号と、画像情報を含む画像デジタル信号とに分離する多重分離部である。具体的には例えば、放送受信部17より生成されたTSを、TSパケットに分割する。そしてTSパケットを再結合することにより、音声/画像のPESを生成する。   The signal processing unit 18 receives the TS generated by the broadcast receiving unit 17 and the digital data read from the optical disc by the optical disc drive 16 and separates it into an audio digital signal containing audio information and an image digital signal containing image information. A demultiplexing unit. Specifically, for example, the TS generated by the broadcast receiving unit 17 is divided into TS packets. Then, by recombining the TS packets, an audio / image PES is generated.

そして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 signal processing unit 18 decodes the ES and converts it into various digital signals. The digital signal obtained by the decoding is given to the HDD 14 when recording. Moreover, when outputting to the display apparatus not shown, it is given to the external connection terminal 20.

OSD処理部19は、画像信号を生成する機能部である。OSD処理部19は、BDレコーダ1が出力すべき情報をユーザが視認できる画像データに変換し、変換した画像データを不図示の表示装置に表示するための画像信号を生成する。生成された画像信号は、外部接続端子20より出力される。   The OSD processing unit 19 is a functional unit that generates an image signal. The OSD processing unit 19 converts information to be output by the BD recorder 1 into image data that can be visually recognized by the user, and generates an image signal for displaying the converted image data on a display device (not shown). The generated image signal is output from the external connection terminal 20.

外部接続端子20は、例えばHDMI(High Definition Multimedia Interface)端子、USB(Universal Serial Bus)端子、シリアルケーブル接続端子、ネットワーク接続端子等を含む、複数の入出力端子からなるインタフェースである。外部接続端子20はこれらの入出力端子を用いて、BDレコーダ1と外部の装置、例えばパソコン2や不図示の表示装置等を接続し、デジタル信号またアナログ信号の入出力を行う。   The external connection terminal 20 is an interface including a plurality of input / output terminals including, for example, a high definition multimedia interface (HDMI) terminal, a universal serial bus (USB) terminal, a serial cable connection terminal, a network connection terminal, and the like. The external connection terminal 20 uses these input / output terminals to connect the BD recorder 1 to an external device such as a personal computer 2 or a display device (not shown) to input / output digital signals or analog signals.

なおネットワーク接続端子とは、BDレコーダ1を通信ネットワークと接続するための物理的なインタフェースである。具体的には例えば、IEEE802.3規格に準拠した有線LAN(Local Area Network)に接続するためのLANケーブルコネクタを含むように構成されている。これにより、通信網を介して接続された外部装置、例えばサーバ3と相互通信を行い、ログデータの送信を行うことが可能である。   The network connection terminal is a physical interface for connecting the BD recorder 1 to a communication network. Specifically, for example, a LAN cable connector for connecting to a wired LAN (Local Area Network) compliant with the IEEE 802.3 standard is included. Thereby, it is possible to perform mutual communication with an external apparatus, for example, the server 3 connected via the communication network, and transmit log data.

パソコン2は、図示しない表示部、操作部、制御部、及び接続部を備える情報処理装置である。パソコン2は例えば、外部接続端子20に含まれるシリアルケーブル接続端子またはネットワーク接続端子に接続することにより、BDレコーダ1よりログデータ(=処理履歴情報)を受信することが可能である。   The personal computer 2 is an information processing apparatus including a display unit, an operation unit, a control unit, and a connection unit (not shown). For example, the personal computer 2 can receive log data (= processing history information) from the BD recorder 1 by connecting to a serial cable connection terminal or a network connection terminal included in the external connection terminal 20.

サーバ3は、インターネット等の広域通信網を介してBDレコーダ1に接続し、BDレコーダ1で採取されたログデータの収集を行う。収集されたログデータは所定の記録媒体に記録され、BDレコーダ1のメンテナンス等のための参考データとして用いられる。なお、サーバ3の内部構造の詳細については従来技術と同様であるため、説明を省略する。
〈2.機能部の構成について〉
The server 3 is connected to the BD recorder 1 via a wide area network such as the Internet, and collects log data collected by the BD recorder 1. The collected log data is recorded on a predetermined recording medium and used as reference data for maintenance of the BD recorder 1 and the like. The details of the internal structure of the server 3 are the same as those of the prior art, and thus the description thereof is omitted.
<2. About the configuration of the function section>

ここで、本発明の一実施形態に係るBDレコーダ1がログ送信処理を実施するための各機能部の関係を、図1のブロック図を用いながら説明する。なお、図1における破線矢印線は、制御信号の流れを示している。   Here, the relationship of each function part for the BD recorder 1 which concerns on one Embodiment of this invention to implement a log transmission process is demonstrated, using the block diagram of FIG. In addition, the broken-line arrow line in FIG. 1 has shown the flow of the control signal.

図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 log control unit 11c (= history generation unit) included in the control unit 11.

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 memory 12 or the HDD. And the application log which the application group 11b mentioned later produces | generates is copied to a log buffer. The Linux kernel 11a performs communication control for mutual communication with an external device connected via the external connection terminal 20, such as the server 3.

アプリケーション群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 control unit 11 executing an application program recorded in advance in the ROM 15. Each application individually generates an application log and transmits it to the Linux kernel 11a. For example, a recording application for performing a recording process generates an application log related to the recording process, for example, an application log indicating a recording start time.

なお、本実施形態のアプリケーション群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 log control unit 11c acquires log data from the log buffer. In addition, the log control unit 11c instructs the Linux kernel 11a to transmit log data to an arbitrary transmission destination. Receiving this instruction, the Linux kernel 11a transmits log data to an external device designated by the log control unit 11c, for example, the personal computer 2 or the server 3.

またログ制御部11cは、パソコン2またはサーバ3にインストールされているログ受信ツールとの間で認証を行い、許可されたログ受信ツールに対してのみ、ログを送信する。なお、ログの送信先は必ずしも情報処理装置に限るものではなく、例えば外部接続端子20に含まれるUSB端子に接続されたUSBメモリ等に出力する形態でもよい。   Further, the log control unit 11c performs authentication with the log receiving tool installed in the personal computer 2 or the server 3, and transmits the log only to the permitted log receiving tool. The log transmission destination is not necessarily limited to the information processing apparatus. For example, the log may be output to a USB memory connected to a USB terminal included in the external connection terminal 20.

またログ制御部11cは、 アプリログ(=第1履歴情報)とカーネルログ(=第2履歴情報)とを、所定の単位で送信するための送信先の指定をユーザより受け付ける。またログ単位で、ログ送信の許可/禁止の指定を、ユーザより受け付ける。指定を受け付ける方法としては、例えばOSD処理部19により上記指定を受け付けるための設定画面を表示し、操作部13によりユーザ操作を受け付けることにより行う。   In addition, the log control unit 11c receives designation of a transmission destination for transmitting the application log (= first history information) and the kernel log (= second history information) in a predetermined unit from the user. In addition, designation of permission / prohibition of log transmission is accepted from the user in units of logs. As a method for accepting the designation, for example, a setting screen for accepting the designation is displayed by the OSD processing unit 19 and a user operation is accepted by the operation unit 13.

次に、ログ制御部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 log control unit 11c will be described with reference to FIGS. FIG. 5 is an example of an application log generated by the application A included in the application group 11b. FIG. 6 is an example of an application log generated by the application B included in the application group 11b. FIG. 7 is an example of a kernel log generated by the Linux kernel 11a. FIG. 8 is an example of log data stored in the log buffer.

図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 log control unit 11c instructs the Linux kernel 11a to transmit log data according to the accumulation order.
<3. About log transmission processing>

ここで、本発明の一実施形態に係るBDレコーダ1が実施するログ送信処理を、図3及び図4のフロー図を用いながら説明する。図3は、ログバッファ内のログデータを一括して送信する形態の処理フローを示している。また図4は、ログバッファ内のログデータを分別して送信する形態の処理フローを示している。なお、図3及び図4において同一の処理は、同一のステップ番号を付与することにより説明を省略するものとする。   Here, log transmission processing performed by the BD recorder 1 according to an embodiment of the present invention will be described with reference to the flowcharts of FIGS. 3 and 4. FIG. 3 shows a processing flow in which log data in the log buffer is transmitted in a batch. FIG. 4 shows a processing flow in which the log data in the log buffer is sorted and transmitted. In FIG. 3 and FIG. 4, description of the same processing is omitted by assigning the same step number.

ここまではまず、図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 control unit 11 activates the Linux kernel 11a in step S110.

次に制御部11はステップS120において、ログ制御部11cの起動を行う。次にLinuxカーネル11aはステップS130において、ログバッファの初期化を行う。   Next, in step S120, the control unit 11 activates the log control unit 11c. Next, the Linux kernel 11a initializes the log buffer in step S130.

次にログ制御部11cはステップS140において、ログデータの送信設定を行う。次にLinuxカーネル11aはステップS150において、アプリケーション群11bの起動を行う。これにより、アプリケーション群11bに含まれるレコーダーアプリ等が起動される。   In step S140, the log control unit 11c performs log data transmission setting. Next, the Linux kernel 11a activates the application group 11b in step S150. Thereby, the recorder application etc. which are contained in the application group 11b are started.

次に、アプリケーション群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 log control unit 11c reads log data from the log buffer. In step S190, it is determined whether or not the read log data exceeds a predetermined data amount.

所定のデータ量を上回っていない場合、再びステップ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 log control unit 11c instructs the Linux kernel 11a to transmit the log data read from the log buffer by TCP / IP communication. The destination is specified by, for example, an IP address.

次に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 personal computer 2 or the server 3 or the like. When the transmission is completed, this process is terminated.

次に、図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 log control unit 11c performs log data transmission setting in units of process IDs in step S141.

ステップ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 log control unit 11c determines, for each log data, the ID of the process that generated the log data, and stores these in the log buffer in association with each other.

次にログ制御部11cはステップS181において、ログバッファからログデータと、ログデータに関連づけられているプロセスIDとを読み出す。そしてステップS190において、読み出したログデータが所定のデータ量を上回っている場合、ログ制御部11cはステップS201において、ログバッファより読み出した複数のログデータを、関連づけられているプロセスIDに応じた個別の送信先へ送信するよう、Linuxカーネル11aに指示する。これを受けたLinuxカーネル11aがステップS210においてログを送信すると、本処理を終了する。   Next, in step S181, the log control unit 11c reads log data and a process ID associated with the log data from the log buffer. In step S190, if the read log data exceeds a predetermined amount of data, the log control unit 11c selects a plurality of log data read from the log buffer in step S201 according to the associated process ID. The Linux kernel 11a is instructed to transmit to the destination. When the Linux kernel 11a that has received the message transmits a log in step S210, the process ends.

以上に説明した本実施形態によれば、アプリログを蓄積する機能またはアプリログを送信する機能を備えていないアプリケーションをBDレコーダ1が実装したとしても、のOS(本実施形態ではLinux)のカーネルログと、複数のアプリログとを、一括してパソコン2やサーバ3へ送信することができる。このため、アプリケーション毎にログ送信機能を実装させる必要がない。   According to the present embodiment described above, even if the BD recorder 1 is mounted with an application that does not have a function of accumulating application logs or a function of transmitting application logs, the kernel of the OS (Linux in this embodiment) A log and a plurality of application logs can be transmitted to the personal computer 2 and the server 3 at once. For this reason, there is no need to implement a log transmission function for each application.

また本実施形態によれば、ログ出力先を一括で切り替えることが可能である。また、プロセス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 BD recorder 1, but conversely, a request from the personal computer 2 may be waited and log data may be transmitted only when the request is received.

この実施形態の場合、ステップS120においてログ制御部11cが起動すると、ログ制御部11cはログ配信サーバとして機能する。その後、ステップS130〜ステップS190により所定量のログデータをログバッファに蓄積する。   In the case of this embodiment, when the log control unit 11c is activated in step S120, the log control unit 11c functions as a log distribution server. Thereafter, a predetermined amount of log data is accumulated in the log buffer in steps S130 to S190.

そしてステップS200において、パソコン2にインストールされているログ受信ツール(クライアントツール)が起動され、ログ受信ツールからのログ送信リクエストを受信した場合に、ログ制御部11cとログ受信ツールとの間で認証処理を行う。そして認証に成功した場合に、ステップS210へ移行し、リクエストの送信元であるパソコン2に対してログデータを送信する。   In step S200, when the log reception tool (client tool) installed in the personal computer 2 is activated and receives a log transmission request from the log reception tool, authentication is performed between the log control unit 11c and the log reception tool. Process. If the authentication is successful, the process proceeds to step S210, and the log data is transmitted to the personal computer 2 that is the transmission source of the request.

なお、図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 personal computer 2 is determined based on the process ID associated with the log data. Alternatively, only the determined log data may be transmitted to the personal computer 2.
[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 BD recorder 1 is given as an example of the audio image device of the present invention. However, if the audio image device is connected to a broadcast network or a communication network and can acquire reproduction information, Other embodiments may implement the present invention. For example, a form using a DVD recorder, a television device, or the like may be used.

(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 log generation unit 11c accumulates and transmits all logs included in the kernel log and application log in the log buffer, but accumulates only a predetermined type of log, for example, an error log. Then, it may be transmitted.

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 personal computer 3 server 11 control unit 11a Linux kernel 11b application group 11c log control unit (history generation unit)
12 Memory (Recording part)
13 Operation unit 14 HDD (Recording unit)
15 ROM
16 Optical disk drive 17 Broadcast receiving section 18 Signal processing section 19 OSD processing section 20 External connection terminal (communication section)

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.
前記制御部は、前記制御部の処理履歴を示す第2履歴情報を前記バッファエリアに格納し、前記バッファエリアの格納量が前記閾値を超える場合に、前記バッファエリアに格納されている前記第1履歴情報または前記第2履歴情報を、格納が行われた順序に基づいて前記送信先へ送信するよう、前記通信制御部を制御すること
を特徴とする請求項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.
前記制御部は、前記バッファエリアの格納量が前記閾値を超える場合に、前記バッファエリアに格納されている前記第1履歴情報または前記第2履歴情報を前記送信先へ送信するよう前記通信制御部を制御し、送信が完了した情報を前記バッファエリアより消去すること
を特徴とする請求項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.
前記制御部は、前記第1履歴情報として、予め定められたアプリケーションプログラムの処理履歴を示すアプリケーションログを前記バッファログに格納し、前記第2履歴情報として、前記音声画像装置のオペレーションシステムの処理履歴を示すカーネルログを前記バッファログに格納すること
を特徴とする請求項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.
前記制御部は、前記第1履歴情報または前記第2履歴情報の送信先に対して認証処理を行い、前記認証処理に成功した場合に、前記第1履歴情報または前記第2履歴情報を送信するよう前記通信制御部を制御すること
を特徴とする請求項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.
前記制御部は、前記第1履歴情報または前記第2履歴情報が生成される起因となった処理の処理識別子を判別し、前記処理識別子に基づいて、前記第1履歴情報または前記第2履歴情報の送信先を決定すること
を特徴とする請求項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.
前記制御部は、前記第1履歴情報または前記第2履歴情報を、通信網を介したTCP/IP(Transmission Control Protocol/ Internet Protocol)通信により送信すること
を特徴とする請求項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.
JP2012244420A 2012-11-06 2012-11-06 Voice image device Pending JP2014093025A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (5)

* Cited by examiner, † Cited by third party
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