JP2007006332A - Digest data generating device, digest data generating method and digest data generating program - Google Patents

Digest data generating device, digest data generating method and digest data generating program Download PDF

Info

Publication number
JP2007006332A
JP2007006332A JP2005186456A JP2005186456A JP2007006332A JP 2007006332 A JP2007006332 A JP 2007006332A JP 2005186456 A JP2005186456 A JP 2005186456A JP 2005186456 A JP2005186456 A JP 2005186456A JP 2007006332 A JP2007006332 A JP 2007006332A
Authority
JP
Japan
Prior art keywords
digest data
digest
data generation
task
generating
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
JP2005186456A
Other languages
Japanese (ja)
Inventor
Hideki Sakao
秀樹 坂尾
Kazue Hiroi
和重 廣井
Norikazu Sasaki
規和 佐々木
Riri Ueda
理理 上田
Akio Hayashi
昭夫 林
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2005186456A priority Critical patent/JP2007006332A/en
Publication of JP2007006332A publication Critical patent/JP2007006332A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide techniques for not affecting another processing even if the other processing is carried out together while generating digest data in one apparatus. <P>SOLUTION: In a device for generating digest data, the situation of using resources of another task to be carried out together while generating digest data, is acquired. In accordance with the acquired situation of using the resources for carrying out the other task, control to change the situation of using resources of a task to be carried out for generating digest data or temporary stop of the task to be carried out for generating digest data is instructed. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、動画データの要約を再生するための情報を生成する技術に関するものである。   The present invention relates to a technique for generating information for reproducing a summary of moving image data.

配信された動画や、HDD(Hard Disk Drive)、DVD(Digital Versatile Disk)等の記録媒体から読み出された動画データの要約を再生する機能がある。以下、動画データの要約を再生することをダイジェスト再生という。このようなダイジェスト再生を行なうための技術が、特許文献1に記載されている。   There is a function of playing back a distributed video and a summary of video data read from a recording medium such as an HDD (Hard Disk Drive) or a DVD (Digital Versatile Disk). Hereinafter, reproducing a summary of moving image data is referred to as digest reproduction. A technique for performing such digest reproduction is described in Patent Document 1.

特許文献1には、重要でない個所にマーキングを付与しておき、動画データを再生するときに、マーキングされた個所をスキップして再生することが記載されている。   Patent Document 1 describes that marking is given to an unimportant part, and when the moving image data is reproduced, the marked part is skipped and reproduced.

特開2003−153139号公報JP 2003-153139 A

上述のようなダイジェスト再生を行なうためには、動画データの再生個所を示す情報が必要である。以下、この情報をダイジェストデータという。ダイジェストデータは、ダイジェスト再生の前に予め生成しておく。ダイジェストデータを生成するとき、1つの装置で、ダイジェストデータ生成と共に他の処理を実行させる場合がある。例えば、ダイジェストデータ生成機能を有する画像再生装置の場合、画像再生装置でダイジェストデータを生成すると共に、同じ装置で動画を再生する場合がある。このような場合、CPU(Central Processing Unit)等のリソースがダイジェストデータ生成に取られてしまい、他の処理に影響を及ぼす場合がある。例えば、ダイジェストデータの生成と共に動画再生を実行している場合であれば、コマ落ち等が発生する場合がある。   In order to perform digest playback as described above, information indicating the playback location of moving image data is required. Hereinafter, this information is referred to as digest data. Digest data is generated in advance before digest reproduction. When generating digest data, one apparatus may execute other processing together with digest data generation. For example, in the case of an image playback device having a digest data generation function, digest data may be generated by the image playback device and a moving image may be played back by the same device. In such a case, resources such as a CPU (Central Processing Unit) are used for digest data generation, which may affect other processes. For example, if a moving image is being played along with digest data generation, frame dropping or the like may occur.

本発明はこのような事情に鑑みてなされたもので、1つの装置で、ダイジェストデータを生成するのと共に他の処理を実行しても、該他の処理への影響を少なくすることのできる技術を提供することを目的とする。   The present invention has been made in view of such circumstances, and a technique capable of reducing the influence on other processes even if digest data is generated and another process is executed by one apparatus. The purpose is to provide.

本発明は上記の目的を達成するためになされたもので、ダイジェストデータの生成を含む複数のタスクを実行する装置において、他のタスクを実行するために使用しているリソースの状況に応じて、ダイジェストデータの生成するタスクの処理を制御することを特徴とする。   The present invention was made to achieve the above object, and in an apparatus that executes a plurality of tasks including generation of digest data, depending on the situation of resources used to execute other tasks, It controls the processing of a task that generates digest data.

例えば、本発明は、動画データの再生個所を示すダイジェストデータを生成するためのタスクを含む複数のタスクを並列して実行可能なダイジェストデータ生成装置であって、前記ダイジェストデータを生成するためのタスクと並列に実行される他のタスクが使用中のリソースの情報を取得するリソース情報取得手段と、前記取得したリソースの情報に基づいて、前記ダイジェストデータを生成するためのタスクにおける処理内容を制御する制御手段と、を有することを特徴とする。   For example, the present invention is a digest data generation device capable of executing in parallel a plurality of tasks including a task for generating digest data indicating a playback location of moving image data, the task for generating the digest data Resource information acquisition means for acquiring information on resources in use by other tasks that are executed in parallel, and processing contents in the task for generating the digest data based on the acquired resource information And a control means.

本発明の技術によれば、1つの装置で、ダイジェストデータを生成するのと共に他の処理を実行しても、他の処理への影響を少なくすることができる。   According to the technology of the present invention, even if digest data is generated and another process is executed by one apparatus, the influence on the other process can be reduced.

以下、本発明の一実施形態を図面を参照して詳細に説明する。   Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

本実施形態で説明するダイジェストデータ生成装置は、ダイジェストデータを生成する機能の他に、動画データを再生する機能を有するものとして説明するが、これに限定するものではない。ダイジェストデータ生成装置の有する機能は任意であり、また、この装置の有する機能の数も任意である。   Although the digest data generation device described in the present embodiment is described as having a function of reproducing moving image data in addition to the function of generating digest data, the present invention is not limited to this. The function of the digest data generation apparatus is arbitrary, and the number of functions of the apparatus is also arbitrary.

図1は、本実施形態のダイジェストデータ生成装置の構成例を示す図である。図1において、ダイジェストデータ生成装置1は、CPU11、メモリ12、記憶装置13、入力装置14、出力装置15、動画データ入力インタフェース16、バス17等を有する。CPU11、メモリ12、記憶装置13、入力装置14、出力装置15、動画データ入力インタフェース16の各々は、バス17を介して互いに接続される。   FIG. 1 is a diagram illustrating a configuration example of a digest data generation apparatus according to the present embodiment. In FIG. 1, a digest data generation device 1 includes a CPU 11, a memory 12, a storage device 13, an input device 14, an output device 15, a moving image data input interface 16, a bus 17, and the like. Each of the CPU 11, the memory 12, the storage device 13, the input device 14, the output device 15, and the moving image data input interface 16 is connected to each other via a bus 17.

記憶装置13は、例えば、HDDや、CD−R、DVD−RAM等の書き込み及び読み出し可能な記憶メディア及び該記憶メディア駆動装置等である。記憶装置13は、動画データ131、ダイジェストデータ132、ダイジェストデータ生成規則テーブル133、オペレーティングシステムプログラム(Operating System program、以下OS)21、動画再生プログラム22、ダイジェストデータ生成プログラム23等を記憶する。   The storage device 13 is, for example, a writable and readable storage medium such as an HDD, a CD-R, or a DVD-RAM, and the storage medium driving device. The storage device 13 stores moving image data 131, digest data 132, a digest data generation rule table 133, an operating system program (hereinafter referred to as OS) 21, a moving image reproduction program 22, a digest data generation program 23, and the like.

OS21は、CPU11で実行する各処理を所定時間毎等で切換えることにより、複数のプログラムの各処理を並列して実行するものである。以下、OS21が、切換えながらCPU11で実行するプログラム毎の処理をタスクという。動画再生プログラム22は、動画データ131をデコード等して出力装置15に出力するプログラムである。ダイジェストデータ生成プログラム23は、動画データ131からダイジェストデータ132を生成するプログラムである。   The OS 21 executes each process of a plurality of programs in parallel by switching each process executed by the CPU 11 at predetermined time intervals. Hereinafter, processing for each program executed by the CPU 11 while the OS 21 is switching is referred to as a task. The moving image reproduction program 22 is a program that decodes the moving image data 131 and outputs the decoded data to the output device 15. The digest data generation program 23 is a program that generates digest data 132 from the moving image data 131.

入力装置14は、例えば、ボタン、ダイヤル、リモコン及びリモコン受信装置、キーボード、マウス等である。   The input device 14 is, for example, a button, a dial, a remote control and a remote control reception device, a keyboard, a mouse, or the like.

出力装置15は、例えば、ディスプレイ、スピーカ、他のディスプレイ等に画像データ等を出力する出力インタフェース等である。   The output device 15 is, for example, an output interface that outputs image data or the like to a display, a speaker, another display, or the like.

動画データ入力インタフェース16は、例えば、インターネット等の通信ネットワークと接続する通信インタフェースや、放送等の配信された動画データが入力されるインタフェース等である。   The moving image data input interface 16 is, for example, a communication interface connected to a communication network such as the Internet, an interface to which distributed moving image data such as broadcast is input, and the like.

図2は、ダイジェストデータ生成装置1の機能ブロック図の一例である。図2において、ダイジェストデータ生成装置1は、リソース割り当て部211、処理実行部212、リソース使用率取得部213、動画データ再生部221、動画データ再生制御部222、ダイジェストデータ生成部231、ダイジェストデータ生成制御部232等を有する。リソース割り当て部211、処理実行部212、リソース使用率取得部213等の各部は、メモリ12にロードしたOS21をCPU11が実行することにより実現する。動画データ再生部221、動画データ再生制御部222等の各部は、メモリ12にロードした動画再生プログラム22をCPU11が実行することにより実現する。ダイジェストデータ生成部231、ダイジェストデータ生成制御部232等の各部は、メモリ12にロードしたダイジェストデータ生成プログラム23をCPU11が実行することにより実現する。   FIG. 2 is an example of a functional block diagram of the digest data generation device 1. In FIG. 2, a digest data generation device 1 includes a resource allocation unit 211, a process execution unit 212, a resource usage rate acquisition unit 213, a video data playback unit 221, a video data playback control unit 222, a digest data generation unit 231, and digest data generation. A control unit 232 and the like are included. Each unit such as the resource allocation unit 211, the process execution unit 212, and the resource usage rate acquisition unit 213 is realized by the CPU 11 executing the OS 21 loaded in the memory 12. Each unit such as the moving image data reproduction unit 221 and the moving image data reproduction control unit 222 is realized by the CPU 11 executing the moving image reproduction program 22 loaded in the memory 12. Each unit such as the digest data generation unit 231 and the digest data generation control unit 232 is realized by the CPU 11 executing the digest data generation program 23 loaded in the memory 12.

リソース割り当て部211は、ダイジェストデータ生成装置1で実行される各アプリケーションプログラム(application program、以下AP)等のプログラムに、各プログラムの使用可能なリソースの使用率を割り振る。ここでは、リソース割り当て部211は、CPU11の使用率を割る振るものとする。処理実行部212は、プログラムに指示されたタスクを実行するものである。このとき、処理実行部212は、プログラム毎のタスクを実行するためのCPU11の使用時間が、リソース割り当て部211により割り振られたCPU11の使用率となるように、各タスクの優先順位を変更する等して制御する。リソース使用率取得部213は、ダイジェストデータ生成装置1で実行される各プログラムのタスク実行のために使用しているリソースの使用状況を取得する。ここでは、リソース使用率取得部213は、CPU11の使用率を取得するものとする。   The resource allocation unit 211 allocates the resource usage rate of each program to a program such as each application program (hereinafter referred to as AP) executed by the digest data generation apparatus 1. Here, it is assumed that the resource allocation unit 211 allocates the usage rate of the CPU 11. The process execution unit 212 executes a task instructed by the program. At this time, the process execution unit 212 changes the priority order of each task so that the usage time of the CPU 11 for executing the task for each program becomes the usage rate of the CPU 11 allocated by the resource allocation unit 211. And control. The resource usage rate acquisition unit 213 acquires the usage status of resources used for task execution of each program executed by the digest data generation device 1. Here, it is assumed that the resource usage rate acquisition unit 213 acquires the usage rate of the CPU 11.

なお、リソース割り当て部211、処理実行部212、リソース使用率取得部213は、従来のOS21の有する機能である。   The resource allocation unit 211, the process execution unit 212, and the resource usage rate acquisition unit 213 are functions that the conventional OS 21 has.

動画データ再生部221は、記憶装置13から読み出した動画データ131を再生する。動画データ再生制御部222は、記憶装置13から読み出したダイジェストデータ132に従い、動画データ再生部221が、ダイジェストデータ132に示される個所のみ再生するように制御する。具体的には、例えば、ダイジェストデータ132に示される個所に応じて、動画データ再生部221に、特定個所の再生又はスキップを指示する情報を出力する。   The moving image data reproducing unit 221 reproduces the moving image data 131 read from the storage device 13. The moving image data reproduction control unit 222 controls the moving image data reproduction unit 221 to reproduce only the portion indicated by the digest data 132 according to the digest data 132 read from the storage device 13. Specifically, for example, in accordance with the location indicated in the digest data 132, information for instructing playback or skipping of a specific location is output to the moving image data playback unit 221.

ダイジェストデータ生成部231は、記憶装置13から読み出した動画データ131からダイジェストデータを生成する。ダイジェストデータ生成制御部232は、リソース使用率取得部213から取得したプログラム毎のリソースの使用状況と、記憶装置13から読み出したダイジェストデータ生成規則テーブル133とから、ダイジェストデータ生成部231の処理を決定し、決定結果に従い、ダイジェストデータ生成部231の動作を制御する。   The digest data generation unit 231 generates digest data from the moving image data 131 read from the storage device 13. The digest data generation control unit 232 determines the processing of the digest data generation unit 231 from the resource usage status for each program acquired from the resource usage rate acquisition unit 213 and the digest data generation rule table 133 read from the storage device 13. Then, according to the determination result, the operation of the digest data generation unit 231 is controlled.

本実施形態では、ダイジェストデータ生成制御部232は、リソース使用率取得部213の取得した動画データ再生部221の現在のCPU11の使用率と、ダイジェストデータ生成規則テーブル133内の情報とに基づき、ダイジェストデータ生成部231の処理を制御することで、処理実行部212で実行するタスクの処理内容を制御するものとする。   In the present embodiment, the digest data generation control unit 232 performs the digest based on the current CPU 11 usage rate of the moving image data reproduction unit 221 acquired by the resource usage rate acquisition unit 213 and information in the digest data generation rule table 133. By controlling the processing of the data generation unit 231, the processing content of the task executed by the processing execution unit 212 is controlled.

なお、動画データ再生部221、動画データ再生制御部222は、従来のダイジェストデータ再生装置等の有する機能である。   Note that the moving image data reproduction unit 221 and the moving image data reproduction control unit 222 are functions of a conventional digest data reproduction device or the like.

ダイジェストデータ生成部231がダイジェストデータを生成する動作は任意であり、特に限定するものではないが、本実施形態では、ダイジェストデータ生成部231は、ダイジェストデータを自動生成するものとして説明する。   The operation of generating digest data by the digest data generation unit 231 is arbitrary and is not particularly limited. In the present embodiment, the digest data generation unit 231 will be described as automatically generating digest data.

ダイジェストデータを自動生成するために、例えば、ダイジェストデータ生成装置1には、ダイジェストデータを生成する動画データのカテゴリ(例えば、スポーツ、映画、ドキュメンタリー等)が入力される。この情報は、入力装置14から入力されてもよく、また、インターネット等と接続する通信インタフェース(図示略)等から入力されてもよい。ダイジェストデータ生成部231は、動画データを、フレーム、所定の時間間隔、所定データ量等で区切り、この区切り毎の動画データに対し、入力されたカテゴリに応じて、音声や画像等から再生個所を判定する。具体的には、例えば、ダイジェストデータ生成部231は、カテゴリが「スポーツ」であれば、動きが大きい場面や観客の歓声の大きい場面を重要度が高いと判定し、その場面を含む区切りを再生箇所とするダイジェストデータを生成する。   In order to automatically generate the digest data, for example, the digest data generating apparatus 1 receives a category of moving image data (for example, sports, movie, documentary, etc.) for generating the digest data. This information may be input from the input device 14 or may be input from a communication interface (not shown) connected to the Internet or the like. The digest data generation unit 231 divides the moving image data into frames, predetermined time intervals, a predetermined amount of data, and the like, and determines the playback location from the sound or image for each moving image data according to the input category. judge. Specifically, for example, if the category is “sports”, the digest data generation unit 231 determines that a scene with a large movement or a scene with a large audience cheer is high in importance, and plays a segment including the scene. Generate digest data for the location.

本実施形態のダイジェストデータは、従来のダイジェストデータに、ダイジェストデータをどこまで生成したかを示す情報を追加したものである。ここでは、ダイジェストデータをどこまで生成したかを示す情報は、ダイジェストデータを生成する元となる動画データの全データ量と、元となる動画データのうちダイジェストデータを生成した分のデータ量とで示すものとする。図3に、ダイジェストデータ132の一例を示す。図3において、ダイジェストデータ132は、動画データ301、全データ量302、処理終了データ量303、ダイジェストデータリスト304等を含む。動画データ301、全データ量302、処理終了データ量303、ダイジェストデータリスト304等の各々は互いに対応付けられている。   The digest data of this embodiment is obtained by adding information indicating how much digest data has been generated to conventional digest data. Here, the information indicating how much digest data has been generated is indicated by the total data amount of the moving image data from which the digest data is generated and the data amount of the digest data generated from the original moving image data. Shall. FIG. 3 shows an example of the digest data 132. In FIG. 3, digest data 132 includes moving image data 301, total data amount 302, processing end data amount 303, digest data list 304, and the like. The moving image data 301, the total data amount 302, the processing end data amount 303, the digest data list 304, and the like are associated with each other.

動画データ301は、ダイジェストデータの元となる動画データを示す情報であり、例えば、元となる動画データのファイル名等である。全データ量302は、対応する動画データ301に示される動画データの全データ量(byte等)である。処理終了データ量303は、対応する動画データ301に示される動画データのうち、ダイジェストデータの生成が完了した個所を示す情報である。本実施形態では、処理終了データ量303は、動画データの開始位置からダイジェストデータを生成した位置までのデータ量(byte等)であるものとする。ダイジェストデータリスト304は、従来のダイジェストデータと同じであり、例えば、ダイジェストデータを生成する動画データを、フレーム毎、所定の時間間隔毎、所定データ量毎等で区切った各区間を一意に示す情報と、その各区間の個所の重要度を示す情報等である。   The moving image data 301 is information indicating moving image data that is the source of digest data, and is, for example, the file name of the original moving image data. The total data amount 302 is the total data amount (byte or the like) of the moving image data indicated in the corresponding moving image data 301. The processing end data amount 303 is information indicating a part of the moving image data indicated in the corresponding moving image data 301 where the generation of digest data has been completed. In this embodiment, it is assumed that the processing end data amount 303 is a data amount (byte or the like) from the start position of the moving image data to the position where the digest data is generated. The digest data list 304 is the same as the conventional digest data. For example, the digest data list 304 is information that uniquely indicates each section obtained by dividing the moving image data for generating the digest data by each frame, every predetermined time interval, every predetermined amount of data, and the like. And information indicating the importance of each section.

図4は、ダイジェストデータ生成規則テーブル133の一例である。図4において、ダイジェストデータ生成規則テーブル133は、リソース使用率401、動作モード402、動作レベル403等を含む。リソース使用率401、動作モード402、動作レベル403等は互いに対応付けられている。   FIG. 4 is an example of the digest data generation rule table 133. In FIG. 4, the digest data generation rule table 133 includes a resource usage rate 401, an operation mode 402, an operation level 403, and the like. The resource usage rate 401, the operation mode 402, the operation level 403, and the like are associated with each other.

リソース使用率401は、動画データ再生部221による動画データの再生と、ダイジェストデータ生成部231によるダイジェストデータの生成とを共に行なう場合、ダイジェストデータ生成制御部232がダイジェストデータ生成部231を制御するためのリソース使用率の条件を示す。ここでは、条件とするリソースの使用率は、CPU11の使用率であるものとする。なお、図4の例では、リソース使用率401に示されるCPU使用率は、リソース割り当て部211が、動画データ再生部221の動作に対し割り当てたCPU使用率を100%とした場合の、動画データ再生部221の現在のCPU使用率である。具体的には、例えば、リソース割り当て部211が、動画データ再生部221に、CPU11の全使用率のうち30%を割り当てており、動画データ再生部221の動作によるCPU11の全使用率のうち15%を使用している場合、動画データ再生部221に対し割り当てたCPU使用率を100%とした場合の、動画データ再生部221のCPU使用率は「50%」であるので、該当するリソース使用率401は「50≦X<65」に該当する。   The resource usage rate 401 is set so that the digest data generation control unit 232 controls the digest data generation unit 231 when both the reproduction of the video data by the video data reproduction unit 221 and the generation of digest data by the digest data generation unit 231 are performed. Indicates the resource usage rate conditions. Here, the usage rate of the resource as a condition is assumed to be the usage rate of the CPU 11. In the example of FIG. 4, the CPU usage rate indicated by the resource usage rate 401 is the moving image data when the resource usage unit 211 assigns the CPU usage rate assigned to the operation of the moving image data playback unit 221 to 100%. This is the current CPU usage rate of the playback unit 221. Specifically, for example, the resource allocation unit 211 allocates 30% of the total usage rate of the CPU 11 to the moving image data reproduction unit 221, and 15 out of the total usage rate of the CPU 11 due to the operation of the moving image data reproduction unit 221. % Is used, the CPU usage rate of the video data playback unit 221 is “50%” when the CPU usage rate assigned to the video data playback unit 221 is 100%. The rate 401 corresponds to “50 ≦ X <65”.

動作モード402は、対応するリソース使用率401である場合に、ダイジェストデータ生成部231の動作モードを定める情報である。ここでは、ダイジェストデータ生成部231の動作モード402は、「実行」と、「一時停止」とが設定されているものとする。動作モード402「実行」は、ダイジェストデータ生成部231によるダイジェストデータの生成を実行することを示す。動作モード402「一時停止」は、ダイジェストデータ生成部231によるダイジェストデータの生成を一時停止することを示す。図4の例では、リソース使用率401「0≦X<50」に対応する動作モード402は「実行」である。リソース使用率401「50≦X<65」及び「65≦X<80」に対応する動作モード402「変化無し」は、それまでのダイジェストデータ生成部231の動作モード「実行」又は「一時停止」を継続することを示す。リソース使用率401「80≦X」に対応する動作モード402は「一時停止」である。   The operation mode 402 is information for determining the operation mode of the digest data generation unit 231 when the resource usage rate 401 is the corresponding one. Here, it is assumed that “execution” and “pause” are set in the operation mode 402 of the digest data generation unit 231. The operation mode 402 “execute” indicates that the digest data generation unit 231 generates digest data. The operation mode 402 “pause” indicates that the digest data generation unit 231 temporarily stops generating digest data. In the example of FIG. 4, the operation mode 402 corresponding to the resource usage rate 401 “0 ≦ X <50” is “execution”. The operation mode 402 “no change” corresponding to the resource usage rates 401 “50 ≦ X <65” and “65 ≦ X <80” is the operation mode “execution” or “pause” of the digest data generation unit 231 until then. Indicates that you will continue. The operation mode 402 corresponding to the resource usage rate 401 “80 ≦ X” is “pause”.

動作レベル403は、対応するリソース使用率401である場合に、処理実行部212で実行するダイジェストデータ生成部231のタスクにおけるリソースの割合を示す情報である。本実施形態では、リソース使用率401「0≦X<50」、「50≦X<65」、「65≦X<80」という順で、ダイジェストデータ生成部231のタスクにおけるリソースの割合を少なくしていくものとする。具体的には、例えば、リソース使用率401「0≦X<50」に対応する動作レベル403「Full」である場合、動画データ再生部221、及び、ダイジェストデータ生成部231各々のタスク実行によるCPU11の使用時間の割合が「1:1」となるように、ダイジェストデータ生成部231の処理を制御することを示す。リソース使用率401「50≦X<65」に対応する動作レベル403「High」である場合、動画データ再生部221、及び、ダイジェストデータ生成部231各々のタスク実行によるCPU11の使用時間の割合が「2:1」となるように、ダイジェストデータ生成部231の処理を制御することを示す。リソース使用率401「65≦X<80」に対応する動作レベル403「Middle」である場合、動画データ再生部221、及び、ダイジェストデータ生成部231各々のタスク実行によるCPU11の使用時間の割合が「3:1」となるように、ダイジェストデータ生成部231の処理を制御することを示す。   The behavior level 403 is information indicating the resource ratio in the task of the digest data generation unit 231 executed by the process execution unit 212 when the resource usage rate 401 is the corresponding one. In this embodiment, the resource usage rate 401 “0 ≦ X <50”, “50 ≦ X <65”, and “65 ≦ X <80” are decreased in order, and the ratio of resources in the task of the digest data generation unit 231 is reduced. Shall be. Specifically, for example, when the operation level 403 “Full” corresponding to the resource usage rate 401 “0 ≦ X <50” is satisfied, the CPU 11 executes the tasks of the moving image data reproduction unit 221 and the digest data generation unit 231 respectively. It shows that the processing of the digest data generation unit 231 is controlled so that the usage time ratio of “1: 1” becomes “1: 1”. When the operation level 403 corresponding to the resource usage rate 401 “50 ≦ X <65” is “High”, the ratio of the usage time of the CPU 11 due to the task execution of each of the moving image data reproduction unit 221 and the digest data generation unit 231 is “ It indicates that the processing of the digest data generation unit 231 is controlled to be “2: 1”. When the operation level 403 “Middle” corresponds to the resource usage rate 401 “65 ≦ X <80”, the ratio of the usage time of the CPU 11 by the task execution of each of the moving image data reproduction unit 221 and the digest data generation unit 231 is “ It indicates that the process of the digest data generation unit 231 is controlled to be “3: 1”.

次に、図面を参照し、ダイジェストデータ生成装置1の動作例を説明する。   Next, an operation example of the digest data generation device 1 will be described with reference to the drawings.

図5において、動画データ再生部221が起動されると、リソース割り当て部211は、動画データ再生部221の使用可能なCPU11の使用率を割り当てる。処理実行部212は、動画データ再生部221のタスクにおけるCPU11の使用率が、リソース割り当て部211により割り当てた使用率となるように制御する。動画データ再生部221は、記憶装置13から動画データ131を読み出し、ディスプレイやスピーカ等の出力装置15に、動画や音声等を出力する。   In FIG. 5, when the moving image data reproducing unit 221 is activated, the resource allocating unit 211 assigns the usage rate of the CPU 11 that can be used by the moving image data reproducing unit 221. The process execution unit 212 controls the usage rate of the CPU 11 in the task of the moving image data reproduction unit 221 to be the usage rate allocated by the resource allocation unit 211. The moving image data reproduction unit 221 reads the moving image data 131 from the storage device 13 and outputs moving images, sounds, and the like to the output device 15 such as a display or a speaker.

一方、動画データ再生部221が起動され、記憶装置13内に記憶されている動画データのうち何れかが指定され、ダイジェストデータの生成が指示されると、ダイジェストデータ生成部231、ダイジェストデータ生成制御部232等が起動される。ここで生成されるダイジェストデータの元となる動画データは、動画データ再生部221により再生される動画データと同じでもよく、異なっても良い。ダイジェストデータ生成制御部232は、起動されると、以下で説明する動作を、所定時間毎等に行なう。ダイジェストデータ生成制御部232は、まず、ダイジェストデータの生成を指示された動画データのダイジェストデータの生成が完了しているか否か判定する(S501)。具体的には、例えば、ダイジェストデータ生成制御部232は、記憶装置13から、各ダイジェストデータ132に含まれる動画データ301と、生成するダイジェストデータの元となる動画データのファイル名等とが一致するダイジェストデータ132を検索し、該当するダイジェストデータ132がある場合、該ダイジェストデータ132の全データ量302と、処理終了データ量303とを読み出し、全データ量302のデータ量と処理終了データ量303のデータ量とが同じであれば、デイジェストデータの生成が完了していると判定する。   On the other hand, when the moving image data reproducing unit 221 is activated, any moving image data stored in the storage device 13 is designated, and generation of digest data is instructed, the digest data generating unit 231 and digest data generation control are performed. The unit 232 and the like are activated. The moving image data that is the source of the digest data generated here may be the same as or different from the moving image data reproduced by the moving image data reproducing unit 221. When activated, the digest data generation control unit 232 performs the operation described below at predetermined time intervals. The digest data generation control unit 232 first determines whether or not the generation of digest data of moving image data instructed to generate digest data has been completed (S501). Specifically, for example, the digest data generation control unit 232 matches the moving image data 301 included in each digest data 132 from the storage device 13 with the file name of the moving image data that is the source of the generated digest data. When the digest data 132 is searched and the corresponding digest data 132 exists, the total data amount 302 and the processing end data amount 303 of the digest data 132 are read, and the data amount of the total data amount 302 and the processing end data amount 303 are read. If the amount of data is the same, it is determined that the generation of digest data has been completed.

S501の判定の結果、ダイジェストデータの生成が完了している場合、ダイジェストデータ生成制御部232は、ディスプレイ等の出力装置15に、ダイジェストデータ生成が完了していることを通知する情報を出力等して、処理を終了する。   If the digest data generation is completed as a result of the determination in S501, the digest data generation control unit 232 outputs information notifying that the digest data generation is completed to the output device 15 such as a display. To end the process.

S501の判定の結果、ダイジェストデータの生成が完了していない場合、ダイジェストデータ生成制御部232は、処理実行部212から、動画データ再生部221に割り当てられたCPU11の使用率を取得する。次に、ダイジェストデータ生成部231は、所定の時間毎等に、リソース使用率取得部213から、動画データ再生部221の現在使用しているCPU11の使用率を取得する(S502)。   If the digest data generation is not completed as a result of the determination in S <b> 501, the digest data generation control unit 232 acquires the usage rate of the CPU 11 assigned to the moving image data playback unit 221 from the process execution unit 212. Next, the digest data generation unit 231 acquires the usage rate of the CPU 11 currently used by the moving image data reproduction unit 221 from the resource usage rate acquisition unit 213 every predetermined time or the like (S502).

S502の処理で取得したCPU11の使用率が、リソース割り当て部211が動画データ再生部221の動作に割り当てたCPU使用率に対し「0%以上50%未満」である場合(S503)、ダイジェストデータ生成制御部232は、後述する「A」の動作フローに移行する。   When the usage rate of the CPU 11 acquired in the process of S502 is “0% or more and less than 50%” with respect to the CPU usage rate allocated by the resource allocation unit 211 to the operation of the moving image data reproduction unit 221 (S503), digest data generation The control unit 232 proceeds to an operation flow “A” described later.

S502の処理で取得したCPU11の使用率が、リソース割り当て部211が動画データ再生部221の動作に割り当てたCPU使用率に対し「50%以上65%未満」である場合(S504)、ダイジェストデータ生成制御部232は、後述する「B」の動作フローに移行する。   When the usage rate of the CPU 11 acquired in the processing of S502 is “50% or more and less than 65%” with respect to the CPU usage rate allocated by the resource allocation unit 211 to the operation of the moving image data reproduction unit 221 (S504), digest data generation The control unit 232 proceeds to an operation flow “B” described later.

S502の処理で取得したCPU11の使用率が、リソース割り当て部211が動画データ再生部221の動作に割り当てたCPU使用率に対し「65%以上80%未満」である場合(S505)、ダイジェストデータ生成制御部232は、後述する「C」の動作フローに移行する。   When the usage rate of the CPU 11 acquired in the process of S502 is “65% or more and less than 80%” with respect to the CPU usage rate allocated by the resource allocation unit 211 to the operation of the moving image data reproduction unit 221 (S505), digest data generation The control unit 232 proceeds to an operation flow “C” described later.

S502の処理で取得したCPU11の使用率が上述以外、即ち、リソース割り当て部211が動画データ再生部221の動作に割り当てたCPU使用率に対し「80%以上」である場合、ダイジェストデータ生成制御部232は、後述する「D」の動作フローに移行する。   When the usage rate of the CPU 11 acquired in the process of S502 is other than the above, that is, when the resource allocation unit 211 is “80% or more” with respect to the CPU usage rate allocated to the operation of the moving image data playback unit 221, In step 232, the process proceeds to an operation flow “D” described later.

「A」の動作フローの一例を、図6を参照して説明する。   An example of the operation flow of “A” will be described with reference to FIG.

ダイジェストデータ生成制御部232は、ダイジェストデータ生成部231の動作モードが「一時停止」であるか否か判定する(S601)。ダイジェストデータ生成部231の動作モードが「一時停止」であるか否か判定するために、例えば、ダイジェストデータ生成制御部232は、ダイジェストデータ生成部231の動作モードの「実行」又は「一時停止」を示すフラグを参照することにより判定してもよい。   The digest data generation control unit 232 determines whether or not the operation mode of the digest data generation unit 231 is “pause” (S601). In order to determine whether the operation mode of the digest data generation unit 231 is “pause”, for example, the digest data generation control unit 232 sets “execution” or “pause” of the operation mode of the digest data generation unit 231. You may determine by referring the flag which shows.

S601の判定の結果、動作モードが「一時停止」である場合、ダイジェストデータ生成制御部232は、ダイジェストデータ生成部231に生成再開を指示する(S602)。そのために、例えば、ダイジェストデータ生成制御部232は、ダイジェストデータ生成部231の動作モードの「実行」又は「一時停止」を示すフラグを「実行」を示すものに変更する。   If the operation mode is “temporary stop” as a result of the determination in S601, the digest data generation control unit 232 instructs the digest data generation unit 231 to restart generation (S602). For this purpose, for example, the digest data generation control unit 232 changes the flag indicating “execution” or “pause” of the operation mode of the digest data generation unit 231 to indicate “execution”.

S601の判定の結果、動作モードが「一時停止」でない場合、又は、S602の処理の後に、ダイジェストデータ生成制御部232は、S502の動作で取得したCPU使用率に応じて、ダイジェストデータ生成部231の動作レベルを設定する(S603)。具体的には、例えば、ダイジェストデータ生成制御部232は、ダイジェストデータ生成規則テーブル133から、S502の動作で取得したCPU使用率と一致するリソース使用率401「0≦X<50」と対応付けられている動作レベル403「Full」を読み出し、該読み出した動作レベルとなるように、ダイジェストデータ生成部231の処理を制御する。ここで、ダイジェストデータ生成制御部232が、ダイジェストデータ生成部231の処理を制御するための動作は特に限定するものではない。例えば、ダイジェストデータ生成制御部232は、ダイジェストデータ生成部231が、1回の処理でダイジェストデータを生成する動画データの処理量を、動作レベル「Full」、「High」、「Middle」の順序で少なくする。ダイジェストデータ生成部231は、動画データ131のうち、設定されたデータ量の分だけ、従来のダイジェストデータの生成と同様に処理する。また、例えば、予め、CPU11への負荷の軽い処理、及び、CPU11への負荷の重い処理等を示すテーブル等が記憶装置13等に格納されており、ダイジェストデータ生成制御部232は、そのテーブル等から、動作レベルに応じた負荷の処理を読み出し、ダイジェストデータ生成部231に、読み出した処理の実行を指示する。ダイジェストデータ生成部231は、指示された処理を実行する。また、例えば、ダイジェストデータ生成制御部232は、処理実行部212の実行するタスクの優先順位を変更することにより、動作レベルを制御してもよい。   If the operation mode is not “pause” as a result of the determination in S601, or after the processing in S602, the digest data generation control unit 232 performs the digest data generation unit 231 in accordance with the CPU usage rate acquired in the operation in S502. The operation level is set (S603). Specifically, for example, the digest data generation control unit 232 is associated with the resource usage rate 401 “0 ≦ X <50” that matches the CPU usage rate acquired in the operation of S502 from the digest data generation rule table 133. The operation level 403 “Full” is read, and the processing of the digest data generation unit 231 is controlled so as to reach the read operation level. Here, the operation for the digest data generation control unit 232 to control the processing of the digest data generation unit 231 is not particularly limited. For example, the digest data generation control unit 232 sets the processing amount of the moving image data for which the digest data generation unit 231 generates digest data in one process in the order of the operation levels “Full”, “High”, and “Middle”. Reduce. The digest data generation unit 231 performs the same processing as the conventional digest data generation for the set data amount in the moving image data 131. In addition, for example, a table or the like indicating processing with a light load on the CPU 11 and processing with a heavy load on the CPU 11 is stored in the storage device 13 or the like in advance, and the digest data generation control unit 232 stores the table or the like. Then, the processing of the load corresponding to the operation level is read, and the digest data generation unit 231 is instructed to execute the read processing. The digest data generation unit 231 executes the instructed process. For example, the digest data generation control unit 232 may control the operation level by changing the priority order of tasks executed by the process execution unit 212.

ダイジェストデータ生成制御部232がダイジェストデータ生成部231の動作レベルを設定すると、後述する「E」の動作フローに移行する。   When the digest data generation control unit 232 sets the operation level of the digest data generation unit 231, the process proceeds to an operation flow “E” described later.

次に、「B」の動作フローの一例を、図7を参照して説明する。   Next, an example of the operation flow of “B” will be described with reference to FIG.

ダイジェストデータ生成制御部232は、ダイジェストデータ生成部231の動作モードが「一時停止」であるか否か判定する(S701)。この動作の具体例は、上述のS601と同様である。   The digest data generation control unit 232 determines whether or not the operation mode of the digest data generation unit 231 is “pause” (S701). A specific example of this operation is the same as S601 described above.

S701の判定の結果、動作モードが「一時停止」である場合、ダイジェストデータ生成制御部232は、今回の処理を終了し、所定の時間の後に、図5に一例を示す処理を再度行なう。   If the operation mode is “temporary stop” as a result of the determination in S701, the digest data generation control unit 232 ends the current process, and performs the process illustrated in FIG. 5 again after a predetermined time.

S701の判定の結果、動作モードが「一時停止」でない場合、ダイジェストデータ生成制御部232は、S502の動作で取得したCPU使用率に応じて、ダイジェストデータ生成部231の動作レベルを設定する(S702)。この動作の具体例は、上述のS603と同じであるので省略する。   If the operation mode is not “pause” as a result of the determination in S701, the digest data generation control unit 232 sets the operation level of the digest data generation unit 231 according to the CPU usage rate acquired in the operation of S502 (S702). ). A specific example of this operation is the same as S603 described above, and is therefore omitted.

ダイジェストデータ生成制御部232がダイジェストデータ生成部231の動作レベルを設定すると、後述する「E」の動作フローに移行する。   When the digest data generation control unit 232 sets the operation level of the digest data generation unit 231, the process proceeds to an operation flow “E” described later.

次に、「C」の動作フローの一例を、図8を参照して説明する。   Next, an example of the operation flow of “C” will be described with reference to FIG.

ダイジェストデータ生成制御部232は、ダイジェストデータ生成部231の動作モードが「一時停止」であるか否か判定する(S801)。この動作の具体例は、上述のS601と同様である。   The digest data generation control unit 232 determines whether or not the operation mode of the digest data generation unit 231 is “pause” (S801). A specific example of this operation is the same as S601 described above.

S801の判定の結果、動作モードが「一時停止」である場合、ダイジェストデータ生成制御部232は、今回の処理を終了し、所定の時間の後に、図5に一例を示す処理を再度行なう。   If the operation mode is “temporary stop” as a result of the determination in S801, the digest data generation control unit 232 ends the current process, and performs the process illustrated in FIG. 5 again after a predetermined time.

S801の判定の結果、動作モードが「一時停止」でない場合、ダイジェストデータ生成制御部232は、S502の動作で取得したCPU使用率に応じて、ダイジェストデータ生成部231の動作レベルを設定する(S802)。この動作の具体例は、上述のS603と同じであるので省略する。   If the operation mode is not “pause” as a result of the determination in S801, the digest data generation control unit 232 sets the operation level of the digest data generation unit 231 according to the CPU usage rate acquired in the operation of S502 (S802). ). A specific example of this operation is the same as S603 described above, and is therefore omitted.

ダイジェストデータ生成制御部232がダイジェストデータ生成部231の動作レベルを設定すると、後述する「E」の動作フローに移行する。   When the digest data generation control unit 232 sets the operation level of the digest data generation unit 231, the process proceeds to an operation flow “E” described later.

次に、「D」の動作フローの一例を、図9を参照して説明する。   Next, an example of the operation flow “D” will be described with reference to FIG.

ダイジェストデータ生成制御部232は、ダイジェストデータ生成部231の動作モードが「一時停止」であるか否か判定する(S901)。この動作の具体例は、上述のS601と同様である。   The digest data generation control unit 232 determines whether or not the operation mode of the digest data generation unit 231 is “pause” (S901). A specific example of this operation is the same as S601 described above.

S901の判定の結果、動作モードが「一時停止」である場合、ダイジェストデータ生成制御部232は、今回の処理を終了し、所定の時間の後に、図5に一例を示す処理を再度行なう。   If the operation mode is “pause” as a result of the determination in S901, the digest data generation control unit 232 terminates the current process, and again performs the process illustrated in FIG. 5 after a predetermined time.

S901の判定の結果、動作モードが「一時停止」でない場合、ダイジェストデータ生成制御部232は、ダイジェストデータ生成部231に、一時停止を指示する(S902)。そのために、例えば、ダイジェストデータ生成制御部232は、ダイジェストデータ生成部231の動作モードの「実行」又は「一時停止」を示すフラグを「一時停止」を示すものに変更する。   If the operation mode is not “pause” as a result of the determination in S901, the digest data generation control unit 232 instructs the digest data generation unit 231 to pause (S902). For this purpose, for example, the digest data generation control unit 232 changes the flag indicating “execution” or “pause” of the operation mode of the digest data generation unit 231 to indicate “pause”.

ダイジェストデータ生成部231は、記憶装置13に、この時点においてダイジェストデータ生成の終了した個所を示す情報(以下、進捗情報という)を、記憶装置13に格納する(S903)。具体的には、例えば、ダイジェストデータ生成部231は、メモリ12の所定の領域から、以下で説明する動作で生成したダイジェストデータ132を読み出し、そのダイジェストデータ132のコピー等を記憶装置13に格納する。   The digest data generation unit 231 stores in the storage device 13 information indicating the location where digest data generation has ended at this time (hereinafter referred to as progress information) in the storage device 13 (S903). Specifically, for example, the digest data generation unit 231 reads the digest data 132 generated by the operation described below from a predetermined area of the memory 12 and stores a copy of the digest data 132 or the like in the storage device 13. .

ダイジェストデータ生成制御部232は、一時停止を指示した後に、今回の処理を終了し、所定の時間の後に、図5に一例を示す処理を再度行なう。   The digest data generation control unit 232 terminates the current process after instructing a temporary stop, and again performs the process illustrated in FIG. 5 after a predetermined time.

次に、「E」の動作フローの一例を、図10を参照して説明する。   Next, an example of the operation flow “E” will be described with reference to FIG.

ダイジェストデータ生成部231は、ダイジェストデータ生成の進捗情報を取得する(S1001)。具体的には、例えば、ダイジェストデータ生成部231は、ダイジェストデータ132の全データ量302、処理終了データ量303を読み出す。   The digest data generation unit 231 acquires progress information of digest data generation (S1001). Specifically, for example, the digest data generation unit 231 reads the total data amount 302 and the processing end data amount 303 of the digest data 132.

次に、ダイジェストデータ生成部231は、ダイジェストデータを生成する動画データ131を、記憶装置13から読み出す(S1002)。ダイジェストデータ生成部231は、読み出した動画データ131のダイジェストデータを、読み出した進捗情報に示される個所に従い、設定された動作レベルで生成する(S1003)。具体的には、例えば、ダイジェストデータ生成部231は、読み出した処理終了データ量303に示される個所の次からダイジェストデータを生成する。このとき、ダイジェストデータ生成部231は、上述のように、ダイジェストデータ生成制御部232により設定された動作レベルに従い、ダイジェストデータを生成する。ダイジェストデータ生成部231は、メモリ12内の、処理終了データ量303、ダイジェストデータリスト304等を格納する領域の情報を更新等する。   Next, the digest data generation unit 231 reads out the moving image data 131 for generating digest data from the storage device 13 (S1002). The digest data generation unit 231 generates digest data of the read moving image data 131 at a set operation level according to the location indicated by the read progress information (S1003). Specifically, for example, the digest data generation unit 231 generates digest data from the next position indicated by the read processing end data amount 303. At this time, the digest data generation unit 231 generates digest data according to the operation level set by the digest data generation control unit 232 as described above. The digest data generation unit 231 updates information on the area in the memory 12 that stores the processing end data amount 303, the digest data list 304, and the like.

次に、ダイジェストデータ生成部231は、ダイジェストデータの生成が終了したか否か判定する(S1004)。具体的には、例えば、ダイジェストデータ生成部231は、メモリ12のダイジェストデータ132の全データ量302と処理終了データ量303とを比較し、両方のデータ量が一致する場合、ダイジェストデータの生成が終了したと判定する。   Next, the digest data generation unit 231 determines whether the generation of digest data has been completed (S1004). Specifically, for example, the digest data generation unit 231 compares the total data amount 302 of the digest data 132 in the memory 12 with the processing end data amount 303, and if both data amounts match, the digest data is generated. It is determined that the process has ended.

S1004の判定の結果、ダイジェストデータの生成が終了していない場合、ダイジェストデータ生成部231は、今回の処理を終了する。ダイジェストデータ生成制御部232は、所定の時間の後等に、図5に一例を示す処理を再度行なう。   If the digest data generation has not ended as a result of the determination in S1004, the digest data generation unit 231 ends the current process. The digest data generation control unit 232 performs the process illustrated in FIG. 5 again after a predetermined time.

S1004の判定の結果、ダイジェストデータの生成が終了している場合、ダイジェストデータ生成部231は、ダイジェストデータ生成制御部232に、ダイジェストデータ生成が終了したことを通知する。ダイジェストデータ生成部231は、ダイジェストデータ生成が終了したことを通知する情報をディスプレイ等の出力装置15に出力等して、処理を終了する。   If the digest data generation has been completed as a result of the determination in S1004, the digest data generation unit 231 notifies the digest data generation control unit 232 that the digest data generation has ended. The digest data generation unit 231 outputs information notifying that the digest data generation has ended to the output device 15 such as a display, and ends the process.

上述のように、本実施形態のダイジェストデータ生成装置1によれば、動画再生等の他のタスクに割り当てられたCPU使用率の空き状況に応じて、ダイジェストデータを生成することが可能となる。   As described above, according to the digest data generation device 1 of the present embodiment, it is possible to generate digest data according to the availability of the CPU usage rate allocated to other tasks such as moving image playback.

以上、この発明の実施形態を図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計変更等も含まれる。   The embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to this embodiment, and includes design changes and the like within a scope not departing from the gist of the present invention.

例えば、上述の実施形態では、ダイジェストデータ生成制御部232は、動画データ再生部221のCPU使用率により、ダイジェストデータ生成を抑制する必要があるか否か判定するものとしたが、これに限られるわけではない。ダイジェストデータ生成装置が他のプログラム実行機能を有している場合、そのプログラムのタスク実行によるリソース使用率により、ダイジェストデータ生成を抑制する必要があるか否か判定してもよい。また、1つのプログラムのタスク実行によるリソース使用率によりダイジェストデータ生成を抑制する必要性を判定するだけでなく、複数のプログラム各々のタスク実行によるリソース使用率により、ダイジェストデータ生成を抑制する必要性を判定してもよい。例えば、第1のプログラム及び第2のプログラム各々に割り当てられたCPU使用率が30%であり、第1のプログラムのタスク実行による実際のCPU使用率が10%、第2のプログラムのタスク実行による実際のCPU使用率が5%である場合、第1のプログラム及び第2のプログラムに割り当てられたCPU使用率の合計(CPU11の全使用率のうち60%)を100とすると、実際のCPU使用率合計(CPU11の全使用率のうち15%)は25%となる。図4に一例を示すダイジェストデータ生成規則テーブル133の場合、リソース使用率401「0≦X<50」に該当するので、動作レベル403「Full」となるように、ダイジェストデータ生成部231の動作レベルを設定する。このように、複数のプログラム各々のタスク実行によるCPU使用率により、ダイジェストデータ生成を抑制する必要性を判定する場合、ダイジェストデータ生成装置1は、例えば、ダイジェストデータ生成部231、ダイジェストデータ生成制御部232等の機能をDLL(Dynamic Link Library)として有してもよい。   For example, in the above-described embodiment, the digest data generation control unit 232 determines whether or not the digest data generation needs to be suppressed based on the CPU usage rate of the moving image data reproduction unit 221, but is not limited thereto. Do not mean. When the digest data generation device has another program execution function, it may be determined whether or not it is necessary to suppress the digest data generation based on the resource usage rate by the task execution of the program. In addition to determining the necessity of suppressing digest data generation based on the resource usage rate due to task execution of a single program, the necessity of suppressing digest data generation based on the resource usage rate due to task execution of each of a plurality of programs. You may judge. For example, the CPU usage rate assigned to each of the first program and the second program is 30%, the actual CPU usage rate by the task execution of the first program is 10%, and the task execution of the second program When the actual CPU usage rate is 5%, the total CPU usage rate assigned to the first program and the second program (60% of the total usage rate of the CPU 11) is 100. The total rate (15% of the total usage rate of the CPU 11) is 25%. In the case of the digest data generation rule table 133 shown in FIG. 4 as an example, the resource usage rate 401 is “0 ≦ X <50”, so the operation level of the digest data generation unit 231 is set so that the operation level 403 is “Full”. Set. As described above, when determining the necessity of suppressing digest data generation based on the CPU usage rate due to the task execution of each of a plurality of programs, the digest data generation device 1 includes, for example, a digest data generation unit 231 and a digest data generation control unit. A function such as H.232 may be provided as a DLL (Dynamic Link Library).

また、上述の実施形態では、ダイジェストデータをどこまで生成したかを示す情報(進捗情報)は、ダイジェストデータを生成する動画データの全データ量と、ダイジェストデータを生成したデータ量とで示すものとして説明したが、これに限られるわけではない。例えば、動画データの全再生時間と、ダイジェストデータを生成した個所までの再生時間でもよく、また、ダイジェストデータを生成したフレーム等でもよい。また、進捗情報は、上述の実施形態のように、ダイジェストデータに含まれるものでなくてもよく、別のテーブル等に記憶されていても良い。   Further, in the above-described embodiment, the information (progress information) indicating how much digest data has been generated is described as being indicated by the total amount of moving image data for which digest data is generated and the amount of data for which digest data has been generated. However, it is not limited to this. For example, it may be the total playback time of the moving image data and the playback time up to the place where the digest data is generated, or the frame where the digest data is generated. Further, the progress information may not be included in the digest data as in the above-described embodiment, and may be stored in another table or the like.

また、上述の実施形態では、ダイジェストデータは自動生成されるものとしたが、ダイジェストデータを生成する動作はこれに限るわけではない。例えば、視聴者により指示された重要な個所又は重要でない個所に基づいて生成してもよい。また、上述以外の動作によりダイジェストデータを生成してもよい。   In the above embodiment, the digest data is automatically generated. However, the operation for generating the digest data is not limited to this. For example, it may be generated based on an important place or an unimportant place indicated by the viewer. In addition, digest data may be generated by operations other than those described above.

本発明の一実施形態において、ダイジェストデータ生成装置の構成図の一例を示す。In one Embodiment of this invention, an example of the block diagram of a digest data production | generation apparatus is shown. 同実施形態において、ダイジェストデータ生成装置の機能ブロック図の一例を示す。In the embodiment, an example of a functional block diagram of a digest data generation device is shown. 同実施形態において、ダイジェストデータの一例を示す。In the embodiment, an example of digest data is shown. 同実施形態において、 ダイジェストデータ生成規則テーブルの一例を示す。In the embodiment, an example of a digest data generation rule table is shown. 同実施形態において、ダイジェストデータの生成を制御する動作例を説明する図である。FIG. 6 is a diagram for describing an operation example for controlling the generation of digest data in the embodiment. 同実施形態において、ダイジェストデータの生成を制御する動作例を説明する図である。FIG. 6 is a diagram for describing an operation example for controlling the generation of digest data in the embodiment. 同実施形態において、ダイジェストデータの生成を制御する動作例を説明する図である。FIG. 6 is a diagram for describing an operation example for controlling the generation of digest data in the embodiment. 同実施形態において、ダイジェストデータの生成を制御する動作例を説明する図である。FIG. 6 is a diagram for describing an operation example for controlling the generation of digest data in the embodiment. 同実施形態において、ダイジェストデータの生成を制御する動作例を説明する図である。FIG. 6 is a diagram for describing an operation example for controlling the generation of digest data in the embodiment. 同実施形態において、ダイジェストデータの生成を制御する動作例を説明する図である。FIG. 6 is a diagram for describing an operation example for controlling the generation of digest data in the embodiment.

符号の説明Explanation of symbols

1:ダイジェストデータ生成装置、11:CPU、12:メモリ、13:記憶装置、14:入力装置、15:出力装置、16:動画データ入力インタフェース、17:バス、131:動画データ、132:ダイジェストデータ、133:ダイジェストデータ生成規則テーブル、21:OS、211:リソース割り当て部、212:処理実行部、213:リソース使用率取得部、22:動画再生プログラム、221:動画データ再生部、222:動画データ再生制御部、23:ダイジェストデータ生成プログラム、231:ダイジェストデータ生成部、232:ダイジェストデータ生成制御部   1: digest data generation device, 11: CPU, 12: memory, 13: storage device, 14: input device, 15: output device, 16: moving image data input interface, 17: bus, 131: moving image data, 132: digest data 133: Digest data generation rule table, 21: OS, 211: Resource allocation unit, 212: Process execution unit, 213: Resource usage rate acquisition unit, 22: Video playback program, 221: Video data playback unit, 222: Video data Playback control unit, 23: digest data generation program, 231: digest data generation unit, 232: digest data generation control unit

Claims (7)

動画データの再生個所を示すダイジェストデータを生成するためのタスクを含む複数のタスクを並列して実行可能なダイジェストデータ生成装置であって、
前記ダイジェストデータを生成するためのタスクと並列に実行される他のタスクが使用中のリソースの情報を取得するリソース情報取得手段と、
前記取得したリソースの情報に基づいて、前記ダイジェストデータを生成するためのタスクにおける処理内容を制御する制御手段と、
を有することを特徴とするダイジェストデータ生成装置。
A digest data generation device capable of executing a plurality of tasks in parallel including a task for generating digest data indicating a playback location of video data,
Resource information acquisition means for acquiring information of resources in use by other tasks executed in parallel with the task for generating the digest data;
Control means for controlling processing contents in a task for generating the digest data based on the acquired resource information;
A digest data generation device characterized by comprising:
請求項1記載のダイジェストデータ生成装置であって、
前記制御手段は、閾値と、前記リソース情報取得手段の取得した前記他のタスクの使用中のリソースの使用率とを比較し、該前記他のタスクの使用中のリソースの使用率が前記閾値より大きい場合、前記ダイジェストデータを生成するためのタスクの実行を一時停止させること
を特徴とするダイジェストデータ生成装置。
The digest data generation device according to claim 1,
The control means compares the threshold value with the usage rate of the resource in use of the other task acquired by the resource information acquisition means, and the usage rate of the resource in use of the other task is greater than the threshold value. A digest data generation device characterized by temporarily stopping the execution of a task for generating the digest data if it is larger.
請求項1記載のダイジェストデータ生成装置であって、
前記制御手段は、閾値と、前記リソース情報取得手段の取得した前記他のタスクの使用中のリソースの使用率とを比較し、該前記他のタスクの使用中のリソースの使用率が該閾値より大きいか否かに応じて、前記ダイジェストデータを生成するためのタスクにおける処理を制御すること
を特徴とするダイジェストデータ生成装置。
The digest data generation device according to claim 1,
The control unit compares the threshold value with the resource usage rate of the other task acquired by the resource information acquisition unit, and the resource usage rate of the other task being used is lower than the threshold value. A digest data generation apparatus, characterized in that processing in a task for generating digest data is controlled according to whether the data is large or not.
請求項2記載のダイジェストデータ生成装置であって、
前記制御手段は、前記ダイジェストデータを生成するためのタスクの実行を一時停止させた場合、閾値と、前記リソース情報取得手段の取得した前記他のタスクの使用中のリソースの使用率とを比較し、該前記他のタスクの使用中のリソースの使用率が該閾値より小さい場合、前記ダイジェストデータを生成するためのタスクの実行を再開させること
を特徴とするダイジェストデータ生成装置。
The digest data generation device according to claim 2,
When the execution of the task for generating the digest data is temporarily stopped, the control unit compares the threshold value with the resource usage rate of the other task acquired by the resource information acquisition unit. The digest data generation device, wherein when the usage rate of the resource in use of the other task is smaller than the threshold, execution of the task for generating the digest data is resumed.
請求項2又は4記載のダイジェストデータ生成装置であって、
ダイジェストデータの生成が終了した個所を示す進捗情報を記憶手段に記憶し、前記ダイジェストデータを生成するためのタスクを実行する場合、前記記憶手段から、該進捗情報を読み出し、前記読み出した進捗情報に従いダイジェストデータを生成する進捗管理手段をさらに有すること
を特徴とするダイジェストデータ生成装置。
The digest data generating device according to claim 2 or 4,
When the progress information indicating the location where the digest data generation is completed is stored in the storage means, and the task for generating the digest data is executed, the progress information is read from the storage means, and according to the read progress information A digest data generating apparatus, further comprising progress management means for generating digest data.
動画データの再生個所を示すダイジェストデータを生成するためのタスクを含む複数のタスクを並列して実行可能なダイジェストデータ生成装置によるダイジェストデータ生成方法であって、
前記ダイジェストデータを生成するためのタスクと並列に実行される他のタスクが使用中のリソースの情報を取得するリソース情報取得ステップと、
前記取得したリソースの情報に基づいて、前記ダイジェストデータを生成するためのタスクにおける処理内容を制御する制御ステップと、
を有することを特徴とするダイジェストデータ生成方法。
A digest data generation method by a digest data generation apparatus capable of executing a plurality of tasks in parallel including a task for generating digest data indicating a playback location of video data,
A resource information acquisition step of acquiring information of resources in use by other tasks executed in parallel with the task for generating the digest data;
A control step for controlling processing contents in a task for generating the digest data based on the acquired resource information;
A digest data generation method comprising:
動画データの再生個所を示すダイジェストデータを生成するためのタスクを含む複数のタスクを並列して実行可能なダイジェストデータ生成装置に実行させるダイジェストデータ生成プログラムであって、
前記ダイジェストデータを生成するためのタスクと並列に実行される他のタスクが使用中のリソースの情報を取得するリソース情報取得ステップと、
前記取得したリソースの情報に基づいて、前記ダイジェストデータを生成するためのタスクにおける処理内容を制御する制御ステップと、
を実行させることを特徴とするダイジェストデータ生成プログラム。
A digest data generation program for causing a digest data generation device capable of executing a plurality of tasks including a task for generating digest data indicating a reproduction portion of moving image data in parallel,
A resource information acquisition step of acquiring information of resources in use by other tasks executed in parallel with the task for generating the digest data;
A control step for controlling processing contents in a task for generating the digest data based on the acquired resource information;
A digest data generation program characterized in that is executed.
JP2005186456A 2005-06-27 2005-06-27 Digest data generating device, digest data generating method and digest data generating program Pending JP2007006332A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005186456A JP2007006332A (en) 2005-06-27 2005-06-27 Digest data generating device, digest data generating method and digest data generating program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005186456A JP2007006332A (en) 2005-06-27 2005-06-27 Digest data generating device, digest data generating method and digest data generating program

Publications (1)

Publication Number Publication Date
JP2007006332A true JP2007006332A (en) 2007-01-11

Family

ID=37691473

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005186456A Pending JP2007006332A (en) 2005-06-27 2005-06-27 Digest data generating device, digest data generating method and digest data generating program

Country Status (1)

Country Link
JP (1) JP2007006332A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920265A (en) * 2018-06-27 2018-11-30 平安科技(深圳)有限公司 A kind of task executing method and server based on server cluster

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08294083A (en) * 1995-04-21 1996-11-05 Hitachi Ltd Video image digest generator and its method
JPH09284698A (en) * 1996-04-17 1997-10-31 Hitachi Ltd Device and method for generating digest of video image
JP2002342254A (en) * 2001-05-21 2002-11-29 Hitachi Video & Inf Syst Inc Electronic computer
JP2005005997A (en) * 2003-06-11 2005-01-06 Canopus Co Ltd Image data processor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08294083A (en) * 1995-04-21 1996-11-05 Hitachi Ltd Video image digest generator and its method
JPH09284698A (en) * 1996-04-17 1997-10-31 Hitachi Ltd Device and method for generating digest of video image
JP2002342254A (en) * 2001-05-21 2002-11-29 Hitachi Video & Inf Syst Inc Electronic computer
JP2005005997A (en) * 2003-06-11 2005-01-06 Canopus Co Ltd Image data processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920265A (en) * 2018-06-27 2018-11-30 平安科技(深圳)有限公司 A kind of task executing method and server based on server cluster

Similar Documents

Publication Publication Date Title
JP4421156B2 (en) Image reproducing apparatus and image recording / reproducing apparatus
KR101475544B1 (en) Digital data management using shared memory pool
KR20140145584A (en) Method and system of playing online video at a speed variable in real time
JP2010238356A (en) Information recording medium with interactive graphic stream recorded thereon, and playback apparatus and method thereof
JP2009301605A (en) Reproducing device, reproducing method, program, and data structure
JP2006050531A (en) Information recording apparatus
KR100982517B1 (en) Storage medium recording audio-visual data with event information and reproducing apparatus thereof
JP2007006332A (en) Digest data generating device, digest data generating method and digest data generating program
JP6871388B2 (en) Methods and equipment for determining intercut time buckets in audio or video
JP2008165872A (en) Digital video reproducing device and reproducing method
JP2009503757A (en) Method and apparatus for controlling reproduction of optical disc program
JP2010154336A (en) Apparatus and method for processing image
JP2006324941A (en) Apparatus, method and program for processing image
JP2005108339A (en) Information recording and reproducing device, information recording and reproducing method and program for information recording and reproducing and information recording medium
CN103997694A (en) Video backward-playing method and system
JP5737988B2 (en) Image processing apparatus, control method therefor, and program
JP2018037883A (en) Image processing device and image processing method
KR101022479B1 (en) Storage medium recording audio-visual data with event information, reproducing apparatus and reproducing method thereof
US20050162558A1 (en) Multimedia authoring system
JP5188209B2 (en) Display control apparatus, method, and program
JP2012100162A (en) Image decoding apparatus and decoding program
US20150088943A1 (en) Media-Aware File System and Method
JP2009105477A (en) Reproducing device and reproducing method
JP2009005317A (en) Video/audio playback apparatus
JP6555030B2 (en) Information equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070816

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081216

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090216

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090310