JP2012174287A - Content reproduction device and content reproduction method - Google Patents

Content reproduction device and content reproduction method Download PDF

Info

Publication number
JP2012174287A
JP2012174287A JP2011032154A JP2011032154A JP2012174287A JP 2012174287 A JP2012174287 A JP 2012174287A JP 2011032154 A JP2011032154 A JP 2011032154A JP 2011032154 A JP2011032154 A JP 2011032154A JP 2012174287 A JP2012174287 A JP 2012174287A
Authority
JP
Japan
Prior art keywords
information
content
nonvolatile memory
reproduction
volatile memory
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.)
Withdrawn
Application number
JP2011032154A
Other languages
Japanese (ja)
Inventor
Hideaki Suzuki
英明 鈴木
Yasuhiko Enami
康彦 江波
Koichi Iwamori
幸市 岩森
Norio Yoshimura
紀朗 吉村
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.)
Panasonic Corp
Original Assignee
Panasonic Corp
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 Panasonic Corp filed Critical Panasonic Corp
Priority to JP2011032154A priority Critical patent/JP2012174287A/en
Publication of JP2012174287A publication Critical patent/JP2012174287A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To allow a content reproduction device to perform resume reproduction even when time from detection of power shutdown to complete power shutdown is short.SOLUTION: A content reproduction device for performing resume reproduction of a content based on information recorded in a nonvolatile memory comprises: a power shutdown detection section (101) for detecting power shutdown of the content reproduction device; a first data control section (102) for saving first information including all information that changes in real time, part of information necessary for the resume reproduction recorded in a volatile memory, to the nonvolatile memory when the power shutdown is detected by the power shutdown detection section (101); and a second data control section (103) for saving second information to the nonvolatile memory upon change of the second information of the information necessary for the resume reproduction recorded in the volatile memory that is not included in the first information.

Description

本発明は、コンテンツ再生装置に関し、特に、レジューム再生を行う技術に関する。   The present invention relates to a content reproduction apparatus, and more particularly to a technique for performing resume reproduction.

近年、ポータブルオーディオプレーヤーやカーナビゲーションなどの電子機器には、レジューム再生機能が搭載されるようになってきている。レジューム再生機能とは、動画や音楽などのコンテンツを再生途中で停止しても、次回再生時に停止位置から再生することができる機能である。再生時間が長いクラシック音楽や映画、あるいは数百ページにわたる電子書籍などをレジューム再生機能がない電子機器で再生する場合、再生するたびに前回の停止位置を検索する必要がある。このような操作は、コンテンツの視聴者にとって煩雑であり、利便性に欠けていることから、レジューム再生機能の重要性が伺える。   In recent years, resume playback functions have been installed in electronic devices such as portable audio players and car navigation systems. The resume playback function is a function that enables playback from the stop position at the next playback even if the content such as a moving image or music is stopped during playback. When playing back classical music or movies with a long playback time, or an electronic book having hundreds of pages on an electronic device without a resume playback function, it is necessary to search for the previous stop position each time playback is performed. Such an operation is troublesome for content viewers and lacks convenience, so the importance of the resume playback function can be seen.

以下に、レジューム再生機能を有する従来のコンテンツ再生装置について、図8を用いて説明する。図8は従来のコンテンツ再生装置の構成を示すブロック図である。コンテンツ再生装置は、電源の遮断を検知する電源遮断検知部801と、電源遮断検知部801からの通知を受け、揮発性メモリ807に記録された情報を不揮発性メモリ808に退避するデータ制御部802と、アプリケーション805の指示を受けて、TV(Television)チューナやCD/DVD(Compact Disc/Digital Versatile Disc)ドライブなどのデバイス群806の中から1つのデバイスを選択し、選択したデバイスを動作状態に移行制御するとともに、そのデバイスから情報を読み取るデバイス制御部804と、デバイス制御部804を介して取得した情報および不揮発性メモリ808に退避された情報を揮発性メモリ807に書き込むアプリケーション805とから構成される(例えば、特許文献1参照)。   Hereinafter, a conventional content reproduction apparatus having a resume reproduction function will be described with reference to FIG. FIG. 8 is a block diagram showing a configuration of a conventional content reproduction apparatus. The content reproduction apparatus receives a notification from the power-off detection unit 801 that detects power-off and a data control unit 802 that saves information recorded in the volatile memory 807 in the nonvolatile memory 808 in response to the notification from the power-off detection unit 801. In response to an instruction from the application 805, one device is selected from a device group 806 such as a TV (Television) tuner or a CD / DVD (Compact Disc / Digital Versatile Disc) drive, and the selected device is put into an operating state. A device control unit 804 that performs migration control and reads information from the device, and an application 805 that writes information acquired via the device control unit 804 and information saved in the nonvolatile memory 808 to the volatile memory 807. (For example, see Patent Document 1).

以下、従来のコンテンツ再生装置の動作について説明する。アプリケーション805の指示により、デバイス制御部804は、デバイス群806の中から1つのデバイスを選択し、選択されたデバイスにセットされたCD等からコンテンツ情報を取得する。その後、アプリケーション805によって、コンテンツ情報が揮発性メモリ807に書き込まれるとともに、コンテンツが再生される。再生途中で電源が遮断されると、電源遮断検知部801は電源遮断を検知し、データ制御部802に通知する。データ制御部802は、揮発性メモリ807に記録されている全ての情報を不揮発性メモリ808に退避する。不揮発性メモリ808への退避が完了した後、揮発性メモリ807、不揮発性メモリ808、デバイス群806への電源供給が断たれる。   The operation of the conventional content reproduction apparatus will be described below. In response to an instruction from the application 805, the device control unit 804 selects one device from the device group 806, and acquires content information from a CD or the like set in the selected device. Thereafter, the application 805 writes content information to the volatile memory 807 and reproduces the content. When the power is cut off during the reproduction, the power cut-off detection unit 801 detects the power cut-off and notifies the data control unit 802. The data control unit 802 saves all information recorded in the volatile memory 807 to the nonvolatile memory 808. After the saving to the nonvolatile memory 808 is completed, power supply to the volatile memory 807, the nonvolatile memory 808, and the device group 806 is cut off.

その後、電源が再度供給されると、アプリケーション805によって、不揮発性メモリ808に退避された情報が全て揮発性メモリ807に回復されることで、レジューム再生機能が実現される。   Thereafter, when the power is supplied again, the application 805 restores all the information saved in the nonvolatile memory 808 to the volatile memory 807, thereby realizing the resume reproduction function.

特開2010−140156号公報JP 2010-140156 A

上記の構成では、揮発性メモリ807に記録されている全ての情報が不揮発性メモリ808に退避されるため、電源の遮断が検知されたときに退避される情報量が多い。したがって、全ての情報を退避するために時間がかかるため、電源の遮断が検知されてから電源が完全に遮断されるまでの時間を長くする必要がある。例えば、家庭用コンセントからパーソナルコンピュータや備付オーディオ再生機器などのコンテンツ再生装置に電源が常時供給されている状態であれば、退避する情報量が多くても全ての情報を退避するための時間を十分に確保することができる。ところが、停電などのように電源からの電力供給が突然断たれる場合、コンテンツ再生装置内のコンデンサに蓄えられた電荷が完全に放出されるまでの時間、つまり電源が完全に遮断されるまでの時間は約数十ミリ秒である。この場合、揮発性メモリ807に記録された全ての情報を不揮発性メモリ808に退避することができず、レジューム再生を行うことができなくなってしまう。   In the above configuration, since all information recorded in the volatile memory 807 is saved in the nonvolatile memory 808, a large amount of information is saved when a power-off is detected. Therefore, since it takes time to save all the information, it is necessary to lengthen the time until the power supply is completely shut off after the power supply cut-off is detected. For example, if power is constantly being supplied from a household outlet to a content playback device such as a personal computer or a built-in audio playback device, even if the amount of information to be saved is large, sufficient time is required to save all the information. Can be secured. However, when the power supply from the power supply is suddenly cut off, such as a power failure, the time until the charge stored in the capacitor in the content playback device is completely released, that is, until the power supply is completely shut off. The time is about several tens of milliseconds. In this case, all the information recorded in the volatile memory 807 cannot be saved in the nonvolatile memory 808, and resume reproduction cannot be performed.

主電源とは別にバックアップ電源をコンテンツ再生装置に搭載し、主電源の遮断検知時に主電源からバックアップ電源に切り替えるようにすれば、主電源が突然遮断されても全ての情報を退避する時間を確保することができるが、バックアップ電源の追加に伴うコンテンツ再生装置の大型化やコストの増加という別の問題が発生してしまう。   If a backup power source is installed in the content playback device separately from the main power source and the main power source is switched to the backup power source when the main power source is detected to be shut down, the time to save all information is ensured even if the main power source is suddenly shut off. However, other problems such as an increase in the size of the content reproduction apparatus and an increase in cost associated with the addition of the backup power source occur.

かかる点に鑑みて、本発明は、コンテンツ再生装置において、電源の遮断が検知されてから電源が完全に遮断されるまでの時間が短くてもレジューム再生を可能にすることを課題とする。   In view of this point, an object of the present invention is to enable resume reproduction even in a content reproduction apparatus even if the time from when a power supply interruption is detected until the power supply is completely cut off is short.

上記課題を解決するため本発明によって次のような解決手段を講じた。例えば、不揮発性メモリに記録された情報に基づいてコンテンツのレジューム再生を行うコンテンツ再生装置は、当該コンテンツ再生装置の電源が遮断されたことを検知する電源遮断検知部と、電源遮断検知部によって電源の遮断が検知されたとき、揮発性メモリに記録されているレジューム再生のために必要な情報の一部である、リアルタイムに変化する全ての情報を含む第1の情報を、不揮発性メモリに退避する第1のデータ制御部と、揮発性メモリに記録されているレジューム再生のために必要な情報のうち、第1の情報に含まれない第2の情報が変化したとき、第2の情報を不揮発性メモリに退避する第2のデータ制御部とを備えている。   In order to solve the above problems, the present invention has taken the following solutions. For example, a content playback device that performs resume playback of content based on information recorded in a non-volatile memory is powered by a power cutoff detection unit that detects that the content playback device has been powered off, and a power cutoff detection unit. When blockage is detected, the first information including all the information that changes in real time, which is part of the information necessary for resume reproduction recorded in the volatile memory, is saved in the nonvolatile memory. When the second information not included in the first information among the information necessary for resume reproduction recorded in the volatile memory and the first data control unit is changed, the second information is And a second data control unit that saves in the nonvolatile memory.

これによると、電源遮断検知部によって電源の遮断が検知されたときは、レジューム再生のために必要な情報の全てではなく、その一部である、リアルタイムに変化する全ての情報を含む第1の情報を不揮発性メモリに退避させ、第1の情報に含まれない第2の情報については、それが変化したときに不揮発性メモリに退避させておく。すなわち、レジューム再生のために必要な情報うち、電源の遮断が検知されてから電源が完全に遮断されるまでの間に退避する情報の量が少なくなる。したがって、電源の遮断が検知されてから電源が完全に遮断されるまでの時間が短くても、量の少ない第1の情報を不揮発性メモリに退避することができれば、退避された第1および第2の情報に基づいてレジューム再生を行うことができる。   According to this, when power-off detection is detected by the power-off detection unit, the first information including not all of the information necessary for resume playback but all of the information that changes in real time is included. Information is saved in the nonvolatile memory, and the second information not included in the first information is saved in the nonvolatile memory when the information is changed. That is, of the information necessary for resume playback, the amount of information saved between the time when the power supply is detected and the time when the power supply is completely shut down is reduced. Therefore, even if the time from when the power supply is detected to the time when the power supply is completely shut down is short, if the first information with a small amount can be saved in the nonvolatile memory, the saved first and first information is saved. Resume reproduction can be performed based on the information of 2.

また、第1のデータ制御部は、第1の情報の退避が完了したか否かを示すフラグを第1の情報に付加して第1の情報を不揮発性メモリに退避し、退避が完了したとき、フラグを退避完了状態に設定してもよい。そして、上記コンテンツ再生装置は、フラグが退避完了状態を示す場合には、不揮発性メモリに退避された第1および第2の情報を用いてレジューム再生を行う一方、フラグが退避完了状態を示さない場合には、レジューム再生を行わないようにする。   In addition, the first data control unit adds a flag indicating whether or not the saving of the first information is completed to the first information, saves the first information to the nonvolatile memory, and the saving is completed. At this time, the flag may be set to the evacuation completion state. When the flag indicates the evacuation completion state, the content reproduction apparatus performs resume reproduction using the first and second information evacuated to the nonvolatile memory, while the flag does not indicate the evacuation completion state. In this case, resume playback is not performed.

これによると、第1のデータ制御部が第1の情報の一部しか不揮発性メモリに退避できなかった場合、レジューム再生は行われない。したがって、不完全な第1の情報によって意図しないレジューム再生が行われることを防ぐことができる。   According to this, when the first data control unit can save only a part of the first information in the nonvolatile memory, the resume reproduction is not performed. Therefore, it is possible to prevent unintended resume reproduction from being performed with incomplete first information.

好ましくは、上記コンテンツ再生装置は、コンテンツが記録された記録媒体を不揮発性メモリとして用いる。   Preferably, the content reproduction apparatus uses a recording medium on which content is recorded as a nonvolatile memory.

これによると、コンテンツおよびレジューム再生に必要な情報を1つの不揮発性メモリに記録することができるため、レジューム再生に必要な情報だけを記録するための不揮発性メモリを別途設ける必要がない。したがって、コンテンツ再生装置の小型化およびコスト低下を図ることができる。   According to this, since the content and information necessary for resume reproduction can be recorded in one nonvolatile memory, it is not necessary to separately provide a nonvolatile memory for recording only information necessary for resume reproduction. Therefore, it is possible to reduce the size and cost of the content reproduction apparatus.

本発明によると、コンテンツ再生装置において、電源の遮断が検知されてから電源が完全に遮断されるまでの時間が短くてもレジューム再生をすることができる。   According to the present invention, in the content reproduction apparatus, resume reproduction can be performed even if the time from when the power supply is detected to the time when the power supply is completely interrupted is short.

本発明の一実施形態に係るコンテンツ再生装置の構成を示すブロック図である。It is a block diagram which shows the structure of the content reproduction apparatus which concerns on one Embodiment of this invention. リアルタイムに変化する情報の構成例を示す図である。It is a figure which shows the structural example of the information which changes in real time. リアルタイムに変化する情報の別の構成例を示す図である。It is a figure which shows another structural example of the information which changes in real time. 図2に示す情報を用いたコンテンツ再生装置の動作を説明するためのフローチャートである。3 is a flowchart for explaining the operation of the content reproduction apparatus using the information shown in FIG. 図3に示す情報を用いたコンテンツ再生装置の動作を説明するためのフローチャートである。4 is a flowchart for explaining the operation of the content reproduction apparatus using the information shown in FIG. 3. 本発明の一実施形態に係るコンテンツ再生装置に電源が再度供給されたときの動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement when a power supply is again supplied to the content reproduction apparatus which concerns on one Embodiment of this invention. コンテンツ再生装置の別の構成を示すブロック図である。It is a block diagram which shows another structure of a content reproduction apparatus. 従来のコンテンツ再生装置の構成を示すブロック図である。It is a block diagram which shows the structure of the conventional content reproduction apparatus.

図1は、本発明の一実施形態に係るコンテンツ再生装置の構成を示すブロック図である。図1に示すコンテンツ再生装置は、電源遮断検知部101、第1のデータ制御部102、第2のデータ制御部103、デバイス制御部104、アプリケーション105、デバイス群106、揮発性メモリ107、不揮発性メモリ108で構成することができる。   FIG. 1 is a block diagram showing a configuration of a content reproduction apparatus according to an embodiment of the present invention. 1 includes a power interruption detection unit 101, a first data control unit 102, a second data control unit 103, a device control unit 104, an application 105, a device group 106, a volatile memory 107, a nonvolatile memory The memory 108 can be configured.

電源遮断検知部101は、コンテンツ再生装置に供給される電源が遮断されたことを検知し、検知したことを第1のデータ制御部102に通知する。   The power cutoff detection unit 101 detects that the power supplied to the content playback apparatus has been cut off, and notifies the first data control unit 102 of the detection.

第1のデータ制御部102は、電源遮断検知部101からの通知を受けて、揮発性メモリ107に記録されている情報から第1の情報を抽出し、不揮発性メモリ108に退避する。第1の情報は、レジューム再生をするために必要な情報の一部であり、リアルタイムに変化する全ての情報を含む。例えば、第1の情報はコンテンツの現在の再生位置を示す再生位置情報である。なお、第1の情報は、再生位置情報に限られない。例えば、コンテンツの残りの再生時間を示す情報でもよい。   In response to the notification from the power-off detection unit 101, the first data control unit 102 extracts the first information from the information recorded in the volatile memory 107 and saves it in the nonvolatile memory 108. The first information is a part of information necessary for resume reproduction, and includes all information that changes in real time. For example, the first information is reproduction position information indicating the current reproduction position of the content. Note that the first information is not limited to the reproduction position information. For example, it may be information indicating the remaining playback time of the content.

第2のデータ制御部103は、アプリケーション105の指示を受けて、揮発性メモリ107に記録されている情報のうち第2の情報が変化したか否かを判断し、第2の情報が変化したとき第2の情報を抽出し、不揮発性メモリ108に退避する。第2の情報は、レジューム再生に必要な情報のうち、第1の情報に含まれない情報であり、後述する、使用デバイス情報、ディスク情報、コンテンツ情報およびコンテンツ再生装置の状態を示す情報などである。   In response to an instruction from the application 105, the second data control unit 103 determines whether the second information of the information recorded in the volatile memory 107 has changed, and the second information has changed. Sometimes the second information is extracted and saved in the nonvolatile memory 108. The second information is information that is not included in the first information out of the information necessary for resume reproduction, and includes device usage information, disc information, content information, and information indicating the state of the content reproduction device, which will be described later. is there.

デバイス制御部104は、アプリケーション105の指示を受けて、デバイス群106の中から使用するデバイスを選択し、選択したデバイスを動作可能状態に移行させる。また、デバイス制御部104は、選択したデバイスからコンテンツ情報を取得する。   In response to an instruction from the application 105, the device control unit 104 selects a device to be used from the device group 106, and shifts the selected device to an operable state. Further, the device control unit 104 acquires content information from the selected device.

アプリケーション105は、デバイス制御部104に対して、コンテンツを再生するために使用するデバイスを指示し、デバイス制御部104を介して取得したコンテンツ情報に基づいてコンテンツの再生を行う。また、アプリケーション105は、デバイス制御部104を介して取得したコンテンツ情報および不揮発性メモリ108に退避された情報を揮発性メモリ107に書き込む。   The application 105 instructs the device controller 104 to use a device to play back the content, and plays back the content based on the content information acquired via the device controller 104. Further, the application 105 writes the content information acquired via the device control unit 104 and the information saved in the nonvolatile memory 108 into the volatile memory 107.

デバイス群106は、少なくとも1つのデバイスで構成される。例えば、MD(MiniDisc)ドライブ、TVチューナ、CD/DVDドライブなどで構成することができる。   The device group 106 includes at least one device. For example, an MD (MiniDisc) drive, a TV tuner, a CD / DVD drive, or the like can be used.

揮発性メモリ107は、揮発性のデータ保持装置である。不揮発性メモリ108は、フラッシュメモリなどの不揮発性のデータ保持装置である。揮発性メモリ107および不揮発性メモリ108は、コンテンツ再生装置の外部に設けられていてもよい。   The volatile memory 107 is a volatile data holding device. The nonvolatile memory 108 is a nonvolatile data holding device such as a flash memory. The volatile memory 107 and the non-volatile memory 108 may be provided outside the content reproduction apparatus.

図2は、本実施形態に係るコンテンツ再生装置に用いられる第1の情報の構成例である。図2に示すように、第1の情報の例である再生位置情報は、時、分、秒からなるデータ配列で構成することができる。また、第1の情報の例として、図3に示すように、図2のデータ配列にデータ退避済フラグが付加されたデータ配列を用いてもよい。データ退避済みフラグは、第1の情報の退避が完了したか否かを示すものであり、オン状態およびオフ状態の2つの状態を持つ。データ退避済みフラグの初期値はオフ状態、すなわち退避未完了状態とする。   FIG. 2 is a configuration example of first information used in the content reproduction apparatus according to the present embodiment. As shown in FIG. 2, the reproduction position information, which is an example of the first information, can be composed of a data array consisting of hours, minutes, and seconds. As an example of the first information, as shown in FIG. 3, a data array in which a data saved flag is added to the data array of FIG. 2 may be used. The data saved flag indicates whether or not the saving of the first information is completed, and has two states, an on state and an off state. The initial value of the data saved flag is set to an off state, that is, a saved incomplete state.

次に、第1の情報として図2に示すデータ配列を用いた場合のコンテンツ再生装置の動作について、図4を参照して説明する。   Next, the operation of the content reproduction apparatus when the data arrangement shown in FIG. 2 is used as the first information will be described with reference to FIG.

コンテンツ再生装置は何も処理をしていない停止状態で、デバイス群106のCD/DVDドライブにCDが入っていることとする。この状態から、CDに記録されているコンテンツを再生させる場合を例に挙げる。   It is assumed that the content reproduction apparatus is in a stopped state in which no processing is performed and a CD is inserted in the CD / DVD drive of the device group 106. An example in which content recorded on a CD is reproduced from this state will be described.

S401において、アプリケーション105はデバイス群106の中から“CD/DVDドライブ”を選択し、現在の使用デバイスが“CD/DVDドライブ”であるという使用デバイス情報を揮発性メモリ107に記録する。   In step S <b> 401, the application 105 selects “CD / DVD drive” from the device group 106 and records used device information that the currently used device is “CD / DVD drive” in the volatile memory 107.

S402において、使用デバイス情報が“使用ドライブなし”から“CD/DVDドライブ”に変化したことによって、第2のデータ制御部103は揮発性メモリ107に記録された使用デバイス情報を不揮発性メモリ108に退避する。   In S <b> 402, when the used device information is changed from “no used drive” to “CD / DVD drive”, the second data control unit 103 stores the used device information recorded in the volatile memory 107 in the nonvolatile memory 108. evacuate.

S403において、アプリケーション105はCDからディスク情報を取得する。ディスク情報とは、例えば、ディスク使用量、コンテンツ総数、各コンテンツの名称、各コンテンツの開始位置と終了位置などCDに格納されているコンテンツに関する情報である。ディスク情報は揮発性メモリ107に記録される。   In S403, the application 105 acquires disc information from the CD. The disc information is information relating to the content stored on the CD, such as the amount of disc used, the total number of content, the name of each content, and the start position and end position of each content. Disc information is recorded in the volatile memory 107.

S404において、ディスク情報が揮発性メモリ107に記録されたことによって揮発性メモリ107内のディスク情報が変化したため、第2のデータ制御部103はディスク情報を不揮発性メモリ108に退避する。   In S <b> 404, since the disk information in the volatile memory 107 has changed due to the disk information being recorded in the volatile memory 107, the second data control unit 103 saves the disk information in the nonvolatile memory 108.

S405において、アプリケーション105はコンテンツを再生するためのコンテンツ情報を指定する。コンテンツ情報は、例えば、コンテンツ番号、再生モードおよび再生開始時間で構成される。コンテンツ番号とは、何曲目のコンテンツを再生するかという情報である。再生モードとは、全コンテンツを再生するか、1コンテンツのみ再生するかという情報である。再生開始時間とは、再生時間が5分のコンテンツを3分の位置から再生するということを示す情報である。そして、コンテンツ再生装置の状態が停止状態から再生状態に遷移し、コンテンツの再生が開始される。また、コンテンツ情報およびコンテンツ再生装置の状態を示す情報は揮発性メモリ107に記録される。なお、再生位置情報が不揮発性メモリ108に退避されている場合、アプリケーション105は再生位置情報で示される時間を再生開始時間として揮発性メモリ107に記録する。   In step S405, the application 105 specifies content information for reproducing the content. The content information includes, for example, a content number, a playback mode, and a playback start time. The content number is information indicating what piece of content is to be reproduced. The reproduction mode is information indicating whether all contents are reproduced or only one contents is reproduced. The reproduction start time is information indicating that content having a reproduction time of 5 minutes is reproduced from a position of 3 minutes. Then, the state of the content playback device changes from the stopped state to the playback state, and playback of the content is started. Further, the content information and information indicating the state of the content reproduction device are recorded in the volatile memory 107. When the reproduction position information is saved in the nonvolatile memory 108, the application 105 records the time indicated by the reproduction position information in the volatile memory 107 as the reproduction start time.

S406において、揮発性メモリ107に記録されている、コンテンツ情報およびコンテンツ再生装置の状態を示す情報が変化したことにより、第2のデータ制御部103は、これらの情報を不揮発性メモリ108に退避する。以後、コンテンツ再生装置は再生状態であり、コンテンツの再生が引き続き行われる。   In S <b> 406, when the content information recorded in the volatile memory 107 and the information indicating the state of the content playback apparatus have changed, the second data control unit 103 saves the information in the nonvolatile memory 108. . Thereafter, the content reproduction apparatus is in a reproduction state, and the reproduction of the content is continued.

S407において、アプリケーション105は、コンテンツを再生している間、一定の周期でコンテンツの再生位置情報を取得し続けるとともに、取得した再生位置情報を揮発性メモリ107に記録する。   In step S <b> 407, the application 105 continues to acquire the reproduction position information of the content at a constant cycle while reproducing the content, and records the acquired reproduction position information in the volatile memory 107.

S408において、アプリケーション105は、再生位置情報とS403で取得したディスク情報に含まれるコンテンツの終了位置とを比較し、一致するか否かを判断する。これらが一致する場合は、曲終端であると判断され(S408のYes肢)、S409に移行する。一方、一致しない場合、つまり曲終端でない場合(S408のNo肢)は、順次取得される再生位置情報と終了位置とが比較され、曲終端であると判断されるまでS407およびS408が繰り返される。   In step S408, the application 105 compares the reproduction position information with the end position of the content included in the disc information acquired in step S403, and determines whether they match. If they match, it is determined that the song is at the end of the song (Yes in S408), and the process proceeds to S409. On the other hand, if they do not match, that is, if the end of the music is not reached (No in S408), the reproduction position information acquired sequentially and the end position are compared, and S407 and S408 are repeated until it is determined that the end of the music.

S409において、アプリケーション105はコンテンツの再生を停止する。これにより、コンテンツ再生装置の状態が再生状態から停止状態に遷移する。そして、アプリケーション105は、揮発性メモリ107に記録されているコンテンツ再生装置の状態を示す情報を更新する。   In step S409, the application 105 stops the content reproduction. As a result, the state of the content playback apparatus changes from the playback state to the stop state. Then, the application 105 updates information indicating the state of the content playback device recorded in the volatile memory 107.

S410において、揮発性メモリ107に記録されているコンテンツ再生装置の状態を示す情報が変化したことにより、第2のデータ制御部103は、コンテンツ再生装置の状態を示す情報を不揮発性メモリ108に退避する。   In S410, when the information indicating the state of the content reproduction device recorded in the volatile memory 107 changes, the second data control unit 103 saves the information indicating the state of the content reproduction device in the nonvolatile memory 108. To do.

S411において、アプリケーション105は、現在使用しているデバイスである“CD/DVDドライブ”を開放する。そして、アプリケーション105は、揮発性メモリ107に記録されている使用デバイス情報を“CD/DVDドライブ”から“使用ドライブなし”に更新する。   In step S411, the application 105 releases the “CD / DVD drive” that is the currently used device. Then, the application 105 updates the used device information recorded in the volatile memory 107 from “CD / DVD drive” to “no used drive”.

S412において、揮発性メモリ107に記録されている使用デバイス情報が変化したことにより、第2のデータ制御部は、使用デバイス情報を不揮発性メモリ108に退避する。以後、コンテンツ再生装置は停止状態を保つ。   In S412, the second data control unit saves the used device information in the non-volatile memory 108 because the used device information recorded in the volatile memory 107 has changed. Thereafter, the content reproduction apparatus remains in a stopped state.

次に、S408において、曲終端が検知される前、すなわちコンテンツの再生途中で電源の遮断が発生した場合の動作について説明する。   Next, a description will be given of the operation in the case where the power interruption occurs in S408 before the end of the song is detected, that is, during the reproduction of the content.

電源の遮断が発生すると、S413において、電源遮断検知部101によって電源の遮断が検知され、第1のデータ制御部102に通知される。   When the power cut-off occurs, the power cut-off detection unit 101 detects the power cut-off and notifies the first data control unit 102 in S413.

S414において、電源遮断検知部101からの通知を受けた第1のデータ制御部102は、揮発性メモリ107に記録されている情報の中から第1の情報である再生位置情報を抽出し、図2に示すデータ配列を生成する。   In step S414, the first data control unit 102 that has received the notification from the power-off detection unit 101 extracts reproduction position information, which is the first information, from the information recorded in the volatile memory 107. 2 is generated.

S415において、第1のデータ制御部102は、図2に示すデータ配列を先頭から順に不揮発性メモリ108に退避する。コンテンツの再生位置情報は、時間経過と共に変化する情報であるため、電源遮断の通知を受けた第1のデータ制御部102により、不揮発性メモリ108に退避される。そして、コンテンツ再生装置は電源が完全に遮断されるまで待機する。   In S415, the first data control unit 102 saves the data array illustrated in FIG. 2 to the nonvolatile memory 108 in order from the top. Since the content playback position information is information that changes with the passage of time, it is saved in the nonvolatile memory 108 by the first data control unit 102 that has received the power-off notification. Then, the content reproduction apparatus waits until the power is completely shut off.

そして、電源が遮断されてからコンテンツ再生装置に電源が再度供給されると、アプリケーション105は、不揮発性メモリ108に退避されたコンテンツ再生装置の状態を示す情報を確認する。コンテンツ再生装置の状態が再生状態であればS401からS406が自動的に行われる。このとき、S405において、アプリケーション105は、不揮発性メモリ108から取得した再生位置情報で示される時間を再生開始時間として揮発性メモリ107に記録することで、レジューム再生が可能になる。   Then, when power is supplied again to the content playback apparatus after the power is shut off, the application 105 confirms information indicating the state of the content playback apparatus saved in the nonvolatile memory 108. If the content playback apparatus is in the playback state, S401 to S406 are automatically performed. At this time, in step S405, the application 105 can resume playback by recording the time indicated by the playback position information acquired from the nonvolatile memory 108 in the volatile memory 107 as the playback start time.

以上によると、電源の遮断が検知されたとき、レジューム再生に必要な情報として第1の情報のみを不揮発性メモリ108に退避すればよいため、退避に要する時間が短くて済む。また、第2の情報は変化するたびに不揮発性メモリ108に退避されるため、退避された第2の情報は常に最新の状態である。したがって、電源の遮断が検知されてから電源が完全に遮断されるまでの時間が短くても、不揮発性メモリ108に退避された第1および第2の情報に基づいてレジューム再生を行うことができる。   According to the above, when the power-off is detected, only the first information needs to be saved in the nonvolatile memory 108 as information necessary for resume reproduction, so that the time required for saving can be shortened. Also, since the second information is saved in the nonvolatile memory 108 every time it changes, the saved second information is always in the latest state. Therefore, even if the time from when the power supply is detected to the time when the power supply is completely shut down is short, resume reproduction can be performed based on the first and second information saved in the nonvolatile memory 108. .

次に、第1の情報として図3に示すデータ配列を用いた場合のコンテンツ再生装置の動作について、図5を参照して説明する。なお、図4および図5に示すフローチャートにおいて、同一の符号は同一の処理を示すため、異なる部分について説明する。   Next, the operation of the content reproduction apparatus when the data arrangement shown in FIG. 3 is used as the first information will be described with reference to FIG. In the flowcharts shown in FIGS. 4 and 5, the same reference numerals indicate the same processing, and different parts will be described.

S416において、電源遮断検知部101からの通知を受けた第1のデータ制御部102は、揮発性メモリ107に記録されている情報の中から再生位置情報を抽出し、図2に示すデータ配列を生成する。   In step S416, the first data control unit 102 that has received the notification from the power shutdown detection unit 101 extracts the reproduction position information from the information recorded in the volatile memory 107, and converts the data array shown in FIG. Generate.

S417において、第1のデータ制御部102は、図2に示すデータ配列の最後尾にデータ退避済みフラグを付加する。これにより、第1の情報は、図3に示すデータ配列となる。   In S417, the first data control unit 102 adds a data saved flag to the end of the data array shown in FIG. Thus, the first information becomes a data array shown in FIG.

S418において、第1のデータ制御部102は、図3に示すデータ配列を、先頭から順に不揮発性メモリ108に退避し、退避が完了したときに最後尾のデータ退避済みフラグをオン状態、すなわち退避完了状態に設定する。   In S418, the first data control unit 102 saves the data array shown in FIG. 3 to the nonvolatile memory 108 in order from the beginning, and when the saving is completed, the last data saved flag is turned on, that is, saved. Set to completed state.

図6は、第1の情報として図3に示すデータ配列を用いたコンテンツ再生装置に電源が再度供給されたときの動作を説明するためのフローチャートである。   FIG. 6 is a flowchart for explaining the operation when power is supplied again to the content reproduction apparatus using the data arrangement shown in FIG. 3 as the first information.

コンテンツ再生装置に電源が再度供給されると、S601において、アプリケーション105は第1のデータ制御部102が不揮発性メモリ108に退避したデータ配列からデータ退避済みフラグを取得する。   When power is supplied again to the content reproduction apparatus, in step S601, the application 105 acquires a data saved flag from the data array saved in the nonvolatile memory 108 by the first data control unit 102.

S602において、アプリケーション105はデータ退避済みフラグの状態を確認する。データ退避済みフラグがオン状態の場合(S602のYes肢)、再生位置情報は不揮発性メモリ108に退避されていると判断され、S603に移行する。一方、データ退避済みフラグがオフ状態の場合(S602のNo肢)、再生位置情報は不揮発性メモリ108に退避されていないと判断され、コンテンツ再生装置は停止状態に移行する。   In step S602, the application 105 checks the state of the data saved flag. When the data saved flag is on (Yes in S602), it is determined that the reproduction position information has been saved in the nonvolatile memory 108, and the process proceeds to S603. On the other hand, when the data saved flag is off (No in S602), it is determined that the playback position information has not been saved in the nonvolatile memory 108, and the content playback device shifts to a stopped state.

S603において、アプリケーション105は不揮発性メモリ108に退避されているデータ退避済みフラグをオフ状態に設定する。   In step S <b> 603, the application 105 sets the data saved flag saved in the nonvolatile memory 108 to an off state.

S604において、アプリケーション105は不揮発性メモリ108から、第2のデータ制御部103が退避した使用デバイス情報、ディスク情報、コンテンツ情報およびコンテンツ再生装置の状態を示す情報を取得して、揮発性メモリ107に書き込む。   In step S <b> 604, the application 105 acquires the used device information, disk information, content information, and information indicating the state of the content playback device saved by the second data control unit 103 from the nonvolatile memory 108, and stores them in the volatile memory 107. Write.

S605において、アプリケーション105は不揮発性メモリ108から、第1のデータ制御部102が退避した再生位置情報を取得して、揮発性メモリ107に書き込む。   In step S <b> 605, the application 105 acquires the reproduction position information saved by the first data control unit 102 from the nonvolatile memory 108 and writes it in the volatile memory 107.

S606において、アプリケーション105はS604,S605で取得した情報に基づいてコンテンツの再生を再開する。   In step S606, the application 105 resumes content playback based on the information acquired in steps S604 and S605.

以上、第1の情報として図3に示すデータ配列を用いたコンテンツ再生装置によると、再生位置情報の一部が不揮発性メモリ108に退避された場合、データ退避済みフラグはオフ状態であるため、レジューム再生は行われない。つまり、不完全な再生位置情報に基づいて意図しない再生位置からレジューム再生が行われることを防止することができる。   As described above, according to the content playback apparatus using the data array shown in FIG. 3 as the first information, when a part of the playback position information is saved in the nonvolatile memory 108, the data saved flag is in the off state. Resume playback is not performed. That is, it is possible to prevent resume playback from being performed from an unintended playback position based on incomplete playback position information.

なお、図7に示すように、デバイス群106には、コンテンツが記録されている、HDD(Hard disk drive)、SD(Secure Digital)カードおよびUSB(Universal Serial Bus)メモリなどの記録媒体が含まれていてもよく、再生するコンテンツが記録されているこれらの記録媒体を不揮発性メモリ108として用いてもよい。これにより、レジューム再生に必要な情報だけを退避するための不揮発性メモリを別途設ける必要がないため、コンテンツ再生装置の小型化および低コスト化を図ることができる。   As shown in FIG. 7, the device group 106 includes recording media such as a hard disk drive (HDD), a secure digital (SD) card, and a universal serial bus (USB) memory in which content is recorded. These recording media on which content to be reproduced is recorded may be used as the nonvolatile memory 108. As a result, it is not necessary to separately provide a non-volatile memory for saving only the information necessary for resume reproduction, so that the content reproduction apparatus can be reduced in size and cost.

本発明に係るコンテンツ再生装置は、コンテンツのレジューム再生機能の実装が求められる各種電子機器等に有用である。   The content reproduction apparatus according to the present invention is useful for various electronic devices and the like that require implementation of a content resume reproduction function.

101 電源遮断検知部
102 第1のデータ制御部
103 第2のデータ制御部
107 揮発性メモリ
108 不揮発性メモリ
DESCRIPTION OF SYMBOLS 101 Power-off detection part 102 1st data control part 103 2nd data control part 107 Volatile memory 108 Non-volatile memory

Claims (6)

不揮発性メモリに記録された情報に基づいてコンテンツのレジューム再生を行うコンテンツ再生装置であって、
当該コンテンツ再生装置の電源が遮断されたことを検知する電源遮断検知部と、
前記電源遮断検知部によって電源の遮断が検知されたとき、揮発性メモリに記録されているレジューム再生のために必要な情報の一部である、リアルタイムに変化する全ての情報を含む第1の情報を、前記不揮発性メモリに退避する第1のデータ制御部と、
前記揮発性メモリに記録されているレジューム再生のために必要な情報のうち、前記第1の情報に含まれない第2の情報が変化したとき、前記第2の情報を前記不揮発性メモリに退避する第2のデータ制御部とを備えている
ことを特徴とするコンテンツ再生装置。
A content playback apparatus that resumes playback of content based on information recorded in a nonvolatile memory,
A power-off detection unit that detects that the power of the content playback device has been cut off;
First information including all information that changes in real time, which is a part of information necessary for resume reproduction recorded in the volatile memory, when the power cutoff detection unit detects the power cutoff. A first data control unit for saving to the nonvolatile memory;
Of the information necessary for resume reproduction recorded in the volatile memory, when the second information not included in the first information changes, the second information is saved in the nonvolatile memory. And a second data control unit.
請求項1のコンテンツ再生装置において、
前記第1のデータ制御部は、前記第1の情報の退避が完了したか否かを示すフラグを前記第1の情報に付加して前記第1の情報を前記不揮発性メモリに退避し、退避が完了したとき、前記フラグを退避完了状態に設定するものであり、
当該コンテンツ再生装置は、前記フラグが退避完了状態を示す場合には、前記不揮発性メモリに退避された第1および第2の情報を用いてレジューム再生を行う一方、前記フラグが退避完了状態を示さない場合には、レジューム再生を行わない
ことを特徴とするコンテンツ再生装置。
The content playback apparatus according to claim 1, wherein
The first data control unit adds a flag indicating whether or not the saving of the first information is completed to the first information, saves the first information in the nonvolatile memory, and saves it Is completed, the flag is set to the evacuation completion state.
When the flag indicates the save completion state, the content playback apparatus performs resume playback using the first and second information saved in the nonvolatile memory, while the flag indicates the save completion state. A content playback apparatus characterized by not performing resume playback when there is no such content.
請求項1及び2のうちいずれか1つのコンテンツ再生装置において、
前記コンテンツが記録された記録媒体を、前記不揮発性メモリとして用いる
ことを特徴とするコンテンツ再生装置。
The content playback apparatus according to any one of claims 1 and 2,
A content reproduction apparatus using the recording medium on which the content is recorded as the nonvolatile memory.
請求項1のコンテンツ再生装置において、
前記揮発性メモリと、
前記不揮発性メモリとを備えている
ことを特徴とするコンテンツ再生装置。
The content playback apparatus according to claim 1, wherein
The volatile memory;
A content reproduction apparatus comprising the nonvolatile memory.
不揮発性メモリに記録された情報に基づいてコンテンツのレジューム再生を行うコンテンツ再生方法であって、
前記コンテンツを再生する再生装置の電源が遮断されたことを検知するステップと、
前記再生装置の電源の遮断が検知されたとき、揮発性メモリに記録されているレジューム再生のために必要な情報の一部である、リアルタイムに変化する全ての情報を含む第1の情報を、前記不揮発性メモリに退避するステップと、
前記揮発性メモリに記録されているレジューム再生のために必要な情報のうち、前記第1の情報に含まれない第2の情報が変化したとき、前記第2の情報を前記不揮発性メモリに退避するステップとを備えている
ことを特徴とするコンテンツ再生方法。
A content playback method for performing resume playback of content based on information recorded in a nonvolatile memory,
Detecting that the power of the playback device for playing back the content is shut off;
The first information including all the information that changes in real time, which is a part of the information necessary for resume reproduction recorded in the volatile memory, when the power supply of the reproduction device is detected. Saving to the non-volatile memory;
Of the information necessary for resume reproduction recorded in the volatile memory, when the second information not included in the first information changes, the second information is saved in the nonvolatile memory. A content reproducing method comprising the steps of:
請求項5のコンテンツ再生方法において、
前記第1の情報の退避が完了したか否かを示すフラグを前記第1の情報に付加するステップと、
前記第1の情報の退避が完了したとき、前記フラグを退避完了状態に設定するステップと、
前記フラグが退避完了状態を示すか否かに応じて、前記不揮発性メモリに退避された第1および第2の情報を用いてレジューム再生を行うか否かを判断するステップとを備えている
ことを特徴とするコンテンツ再生方法。
The content reproduction method according to claim 5, wherein
Adding a flag to the first information indicating whether or not the saving of the first information is completed;
When the saving of the first information is completed, setting the flag to a saving complete state;
Determining whether or not to perform resume reproduction using the first and second information saved in the non-volatile memory according to whether or not the flag indicates a saving completion state. The content reproduction method characterized by this.
JP2011032154A 2011-02-17 2011-02-17 Content reproduction device and content reproduction method Withdrawn JP2012174287A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011032154A JP2012174287A (en) 2011-02-17 2011-02-17 Content reproduction device and content reproduction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011032154A JP2012174287A (en) 2011-02-17 2011-02-17 Content reproduction device and content reproduction method

Publications (1)

Publication Number Publication Date
JP2012174287A true JP2012174287A (en) 2012-09-10

Family

ID=46977067

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011032154A Withdrawn JP2012174287A (en) 2011-02-17 2011-02-17 Content reproduction device and content reproduction method

Country Status (1)

Country Link
JP (1) JP2012174287A (en)

Similar Documents

Publication Publication Date Title
JP5197202B2 (en) Content playback apparatus, method and program
JP4372829B2 (en) Video / audio playback device
KR101206212B1 (en) Firmware updates on media
JP5050668B2 (en) Data recorder
JP2009259356A (en) Content reproducing device and content reproduction control method
JP5301666B2 (en) Data recording apparatus and audio system
JP2012174287A (en) Content reproduction device and content reproduction method
JP5909691B2 (en) Disc player
TW200419564A (en) Recording apparatus
JP2010086641A (en) Content control program and portable recording medium
CN102449695B (en) Video information reproducing method and video information reproducing device
JP2003249008A (en) Dubbing system
JP2009171345A (en) Information processing apparatus and information processing method
JP2008084463A (en) Dvd player with built-in hd
JP2004185697A (en) Tape player and its method, tape recording and reproducing device, and ciphering method
US20080094745A1 (en) Playback equipment and supplying method in playback equipment
JP2009259307A (en) Semiconductor integrated circuit, information recording apparatus, and information recording medium
JP2009151848A (en) Recording/reproducing/editing device, method, program, and medium
JP2004079061A (en) Media player device, media player program, user interface, and track reproduction stop method
JP2007280544A (en) Reproducing unit and reproducing method
JP2010027125A (en) Recording and reproducing device
JP2008225517A (en) Data transfer device, data transfer method, and data transfer program
US20100054695A1 (en) Reproducing apparatus, reproducing method, and program
JP2008310863A (en) Video recording and reproducing device
JP2010287265A (en) Information reproduction device and information reproduction method

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20140513