JP5648470B2 - Alarm clock - Google Patents
Alarm clock Download PDFInfo
- Publication number
- JP5648470B2 JP5648470B2 JP2010286864A JP2010286864A JP5648470B2 JP 5648470 B2 JP5648470 B2 JP 5648470B2 JP 2010286864 A JP2010286864 A JP 2010286864A JP 2010286864 A JP2010286864 A JP 2010286864A JP 5648470 B2 JP5648470 B2 JP 5648470B2
- Authority
- JP
- Japan
- Prior art keywords
- date
- alarm
- time
- acoustic data
- data
- 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.)
- Active
Links
Images
Landscapes
- Electric Clocks (AREA)
Description
この発明は、所定の日時に音響データを再生するアラーム時計に関する。 The present invention relates to an alarm clock that reproduces acoustic data at a predetermined date and time.
以前より、音響データを記録したカード型メモリを装着することで、予め設定されたアラーム時刻にこの音響データの再生を行うアラーム時計が提案されている(例えば特許文献1を参照)。 An alarm clock that reproduces acoustic data at a preset alarm time by attaching a card-type memory that records acoustic data has been proposed (see, for example, Patent Document 1).
また、このようなアラーム時計において、アラーム日時や再生する音響データの設定データが複数登録されたデータテーブルを、外部のパソコンからアラーム時計に書き込んで、何れの日時に何れの音響データを再生するのか設定できるようにした技術も提案されている(例えば特許文献2を参照)。 In addition, in such an alarm clock, a data table in which a plurality of alarm date / time and setting data of acoustic data to be reproduced is registered is written into the alarm clock from an external computer, and which acoustic data is reproduced at which date / time. A technique that can be set is also proposed (see, for example, Patent Document 2).
音響データの再生機能を有するアラーム時計においては、例えば、平日と土日とで異なる音響データが再生されるようにしたり、特定の日だけ特別の音響データが再生されるようにしたり、アラーム日時に応じて別々の音響データが再生されるようにしたり、様々な設定を可能とすることで興趣に富んだアラーム機能を提供できると考えられる。 In an alarm clock having a sound data playback function, for example, different sound data can be played back on weekdays and Saturdays, special sound data can be played back only on specific days, and depending on the alarm date and time. Therefore, it is considered that an interesting alarm function can be provided by making it possible to reproduce different acoustic data and making various settings.
しかしながら、アラーム時計において複雑な設定を行わせるには、音響データのファイル名等を表示できる比較的に画素数の多い表示パネルを設けなければならないといった課題や、複雑な設定を少ない操作ボタンで行わせることになるため、設定操作自体が難しくなり良好な操作性を付与しにくくなるという課題が生じる。 However, in order to make complicated settings in the alarm clock, it is necessary to provide a display panel with a relatively large number of pixels that can display file names of acoustic data, etc., and complicated settings can be made with few operation buttons. Therefore, the setting operation itself becomes difficult and the problem that it becomes difficult to give favorable operability arises.
また、所定フォーマットの設定データを外部から書き込んでアラーム設定を行う方式では、1つのアラーム設定を追加したい場合でも、複数のアラーム設定の情報が一括的に登録されている設定データをまとめて編集してなおさなければならないといった課題や、設定データのフォーマットを扱えるような汎用コンピュータでしかアラーム設定の編集を行えないなどの課題がある。 Also, in the method of setting alarms by writing setting data in a predetermined format from the outside, even if you want to add one alarm setting, you can edit the setting data in which multiple pieces of alarm setting information are registered at once. There are problems such as having to be corrected, and editing alarm settings only on a general-purpose computer that can handle the format of the setting data.
この発明の目的は、所定の日時に音響データを再生させるアラーム時計において、容易に様々なアラーム設定を行えるようにすることにある。 An object of the present invention is to enable various alarm settings to be easily performed in an alarm clock that reproduces acoustic data at a predetermined date and time.
上記目的を達成するため、請求項1記載の発明は、
所定の日時に記憶手段に記憶されている音響データの再生を行うアラーム再生手段を有するアラーム時計において、
前記記憶手段に記憶される音響データのファイル名又はパス名を解析する解析手段と、
この解析手段の解析結果に基づいて前記アラーム再生手段が再生する音響データの選択及び前記所定の日時の設定を行う再生制御手段と、
を備えていることを特徴としている。
In order to achieve the above object, the invention according to
In an alarm clock having alarm reproduction means for reproducing acoustic data stored in the storage means at a predetermined date and time,
Analysis means for analyzing the file name or path name of the acoustic data stored in the storage means;
Reproduction control means for selecting acoustic data to be reproduced by the alarm reproduction means and setting the predetermined date and time based on the analysis result of the analysis means;
It is characterized by having.
請求項2記載の発明は、請求項1記載のアラーム時計において、
前記解析手段は、
前記音響データのファイル名又はパス名に含まれる日にちを区分する日付区分情報を解析し、
前記再生制御手段は、
前記アラーム再生手段が音響データを再生する日にちに対応する前記日付区分情報を含んだ音響データを、当該アラーム再生手段が当該日にちに再生する音響データとして選択することを特徴としている。
The invention according to
The analysis means includes
Analyzing date division information that divides dates contained in the file name or path name of the acoustic data,
The reproduction control means includes
The alarm reproducing means selects the acoustic data including the date division information corresponding to the date on which the acoustic data is reproduced as the acoustic data to be reproduced on the date.
請求項3記載の発明は、請求項2記載のアラーム時計において、
前記日付区分情報は、月日、曜日、日にち、月の何れかを表わす情報であることを特徴としている。
The invention according to
The date classification information is information representing any one of a date, a day of the week, a date, and a month.
請求項4記載の発明は、請求項1〜3の何れか一項に記載のアラーム時計において、
前記解析手段は、
前記音響データのファイル名又はパス名に含まれる日時を表わす日時情報を解析し、
前記再生制御手段は、
前記日時情報に基づいて前記アラーム再生手段が音響データを再生する前記所定の日時を設定するとともに、当該日時情報を含んだ音響データを前記アラーム再生手段が当該日時に再生する音響データとして選択する
ことを特徴としている。
The invention according to
The analysis means includes
Analyzing date and time information representing the date and time included in the file name or path name of the acoustic data,
The reproduction control means includes
The alarm reproduction means sets the predetermined date and time for reproducing the acoustic data based on the date and time information, and selects the acoustic data including the date and time information as the acoustic data to be reproduced at the date and time. It is characterized by.
請求項5記載の発明は、請求項4記載のアラーム時計において、
前記日時情報は、時刻のみ、時刻および月日、時刻および曜日、時刻および日にち、或いは、時刻および月を表わす情報であることを特徴としている。
The invention according to
The date and time information is information representing time only, time and date, time and day of the week, time and date, or time and month.
請求項6記載の発明は、請求項1〜5の何れか一項に記載のアラーム時計において、
前記音響データが記憶される前記記憶手段を挿抜可能に接続する接続手段を備えていることを特徴としている。
The invention according to
Connection means for connecting the storage means for storing the acoustic data so as to be insertable / removable is provided.
請求項7記載の発明は、請求項1〜6の何れか一項に記載のアラーム時計において、
所定の情報端末と無線接続可能な無線通信手段を備え、
前記無線通信手段を介して前記情報端末から前記記憶手段へ音響データを書き込み可能に構成されていることを特徴としている。
The invention according to claim 7 is the alarm timepiece according to any one of
A wireless communication means capable of wireless connection with a predetermined information terminal;
Sound data can be written from the information terminal to the storage means via the wireless communication means.
本発明に従うと、音響データのファイル名又はパス名にアラーム再生に関する設定情報を記しておくことで、この情報が解析されて、この情報に従ってアラーム再生手段の再生処理が行われることになる。従って、ユーザは、様々な情報端末により扱うことのできる音響データのファイル名やパス名の編集を行って、容易に様々なアラーム再生の設定を行うことができる。 According to the present invention, setting information related to alarm reproduction is recorded in the file name or path name of the acoustic data, so that this information is analyzed, and the reproduction processing of the alarm reproducing means is performed according to this information. Therefore, the user can easily set various alarm reproduction settings by editing the file name and path name of the acoustic data that can be handled by various information terminals.
以下、本発明の実施の形態を図面に基づいて説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
図1は、本発明の実施形態のアラーム時計10を含んだシステム構成の一例を示す図である。
FIG. 1 is a diagram showing an example of a system configuration including an
この実施の形態のアラーム時計10は、ユーザにより設定されたアラーム時刻やアラーム日時にアラームを発生させる時計であり、さらに、音響データを記録した記憶手段としてのメモリカード30(図2参照)をスロット25aに挿入しておくことで、このメモリカード30に記録されている音響データをアラームとして再生する機能を有するものである。
The
また、このアラーム時計10は、例えばブルートゥース(Bluetooth:登録商標)通信により所定の情報端末である携帯電話40とデータ通信可能にされ、携帯電話40からアラーム時計10へ音響データを転送してメモリカード30に記録させることが可能になっている。ユーザは、音響データを転送する際に、携帯電話40の表示部45を見ながら操作キー44を操作して音響データのファイル名を自由に編集することができる。
In addition, the
図2には、アラーム時計10の内部構成を示すブロック図を示す。
FIG. 2 is a block diagram showing the internal configuration of the
アラーム時計10は、図2に示すように、主に時計機能の制御を行う時計用CPU(中央演算処理装置)11と、このCPU11が実行する制御プログラムや制御データが格納されたROM(Read Only Memory)12と、CPU11に作業用のメモリ空間を提供するRAM(Random Access Memory)13と、ユーザの操作入力を受ける操作キー14と、時刻データを含んだ標準電波を受信する標準電波受信部15と、日付や曜日を表示する液晶表示部(LCD)16と、モーターにより指針2〜4(図1参照)を駆動して時刻を表示するアナログ指針表示部17と、現在時刻を計数する計時部18を備えている。
As shown in FIG. 2, the
さらに、このアラーム時計10は、音響データ等のデータ制御を行うデータコントロール用CPU21と、このCPU21が実行する制御プログラムや制御データが格納されたROM(Read Only Memory)22と、CPU21に作業用のメモリ空間を提供するRAM23と、例えばブルートゥース通信などアンテナANを介して短距離無線通信の処理を行う無線通信手段としての無線通信部24と、メモリカード30をCPU21によりデータ読み書き可能に接続する接続手段としてのソケット25と、音響データのデコード処理を行う音響データデコード部26と、音響出力を行うアンプ及びスピーカー27等を備えている。
Further, the
RAM13には、アラームの発生を行うアラーム日時を表わすアラーム日時データの記憶領域13aが設けられている。この記憶領域13aには、複数のアラーム日時データが登録可能になっている。
The
アラーム日時データとしては、時刻のみが指定されたデータ、曜日と時刻が指定されたデータ、日にちと時刻が指定されたデータ、月日と時刻が指定されたデータ、月と時刻を指定したデータなどが登録可能になっている。 The alarm date and time data includes data that specifies only the time, data that specifies the day of the week and time, data that specifies the date and time, data that specifies the date and time, data that specifies the month and time, etc. Can be registered.
ROM12には、計時部18の計時時刻と同期させてアナログ指針表示部17のモーターを駆動したり液晶表示部16の月日と曜日の表示を切り替えたりする日時表示処理のプログラム、操作キー14からの操作信号を入力してアラーム日時の設定入力を行う設定入力処理のプログラム、計時部18の計時時刻を監視して記憶領域13aに登録されたアラーム日時データの日時になった場合にアラームを発生させるためにアラーム指令と現在の日時データとをデータコントロール用CPU21へ出力するアラーム処理のプログラム等が格納されている。
The
時計用CPU11は、ROM12に格納された上記のプログラムをそれぞれ実行することで、日時表示処理、アラーム日時の設定入力処理、および、アラーム処理を履行する。
The
もう一方のROM22には、メモリカード30に対してデータファイルを読み書きするファイル操作処理のプログラム、無線通信部24を介して通信データの入出力を行う通信処理のプログラム、無線通信により音響データが転送されてきたときに所定の処理を実行する音響データ受信時処理のプログラム、および、時計用CPU11からアラーム指令を受けた場合に所定の処理を実行するアラーム再生制御処理のプログラム等が格納されている。このうち、アラーム再生制御処理のプログラムとこれを実行するCPU21により再生制御手段の一部が構成される。
The other ROM 22 transfers a file operation processing program for reading / writing data files to / from the
図3には、メモリカード30に記録される音響データのファイル名とアラーム設定内容の一例を表わした説明図を示す。
FIG. 3 is an explanatory diagram showing an example of the file name of the acoustic data recorded on the
メモリカード30には、複数の音響データがそれぞれ個々のデータファイルとして記録可能になっている。そして、音響データを記録したメモリカード30をアラーム時計10のスロット25aに挿入(ソケット25に接続)しておくことで、アラーム日時に1つの音響データが選択されてアラームとして再生されるようになっている。アラームとして再生される音響データは、次に示すように、音響データのファイル名に基づいて選択され、また、音響データのファイル名によりアラーム日時を設定することが可能になっている。
A plurality of acoustic data can be recorded in the
アラームとして再生される音響データの選択は、ファイル名に含まれる日にちを区分する日付区分情報に基づいて行われる。日付区分情報を有する音響データのファイル名は、図3の上から4つのファイル名に示すように、その先頭の「#」の文字により識別可能にされる。 The selection of sound data to be reproduced as an alarm is performed based on date division information that divides dates contained in the file name. As shown in the four file names from the top of FIG. 3, the file name of the acoustic data having date division information can be identified by the leading “#” character.
例えば、図3の上1番目のファイル名「#1229.mp3」のように、「#」に続いて4桁の数字が記されていれば、4桁の数字が表わす月日が日付区分情報となり、毎年該当の月日のアラーム時刻にこの音響データが再生される候補となる。 For example, if a 4-digit number is written after “#” as in the first file name “# 1229.mp3” in FIG. 3, the month and date represented by the 4-digit number is the date division information. Thus, this acoustic data is a candidate to be reproduced at the alarm time of the corresponding month and year.
また、図3の上から2番目のファイル名「#sun.mp3」のように、「#」に続いて曜日が記されていれば、この曜日が日付区分情報となり、毎週の該当曜日のアラーム時刻にこの音響データが再生される候補となる。 If the day of the week is written after “#” as in the second file name “# sun.mp3” from the top in FIG. This acoustic data is a candidate to be reproduced at the time.
また、図3の上から3番目のファイル名「#20d.mp3」のように、「#」に続いて「1〜31」の数字と「d」の日にちの記号とが記されていれば、この数字の日にちが日付区分情報となり、毎月の該当日のアラーム時刻にこの音響データが再生される候補となる。 In addition, as in the third file name “# 20d.mp3” from the top in FIG. 3, if “#” is followed by the numbers “1 to 31” and the date symbol “d”. The date of this number becomes date division information, and this acoustic data is a candidate to be reproduced at the alarm time of the corresponding day of the month.
また、図3の上から4番目のファイル名「#5m.mp3」のように、「#」に続いて「1〜12」の数字と「m」の月の記号とが記されていれば、この数字の月が日付区分情報となり、毎年の該当月のアラーム時刻にこの音響データが再生される候補となる。 Also, as in the fourth file name “# 5m.mp3” from the top of FIG. 3, if “#” is followed by a number “1-12” and a month symbol “m”. The month of this number becomes date division information, and this acoustic data is a candidate to be reproduced at the alarm time of the corresponding month every year.
なお、上記のような日付区分情報は、日にちを区分する範囲が、互いに重なる場合がある。例えば、12月29日が日曜日であれば、この日は、図3の上1番目と2番目のファイル名の日付区分情報の範囲にそれぞれ含まれる。従って、このように日にちが複数の日付区分情報の範囲に含まれる場合には、対応する日付区分情報を有する複数の音響データの中から、予め定められた優先順序に従って1つの音響データがアラーム再生用に選択されるようになっている。 Note that the date division information as described above may have overlapping ranges for dividing dates. For example, if December 29 is a Sunday, this day is included in the range of the date division information of the first and second file names in FIG. Therefore, when the date is included in the range of the plurality of date division information in this way, one acoustic data is reproduced from the plurality of acoustic data having the corresponding date division information according to a predetermined priority order. To be selected for.
この優先順序は、高い方から、月日の日付区分情報、曜日の日付区分情報、日にちの日付区分情報、月の日付区分情報の順に定められている。 This priority order is determined in the order of date / date date division information, day of the week date division information, date / date date division information, and month date division information.
ファイル名によるアラーム日時の設定は、先ず、図3の下3個のファイル名に示すように、「$」の文字とそれに続く4桁の数字をファイル名に含ませておくことで、この4桁の数字によりアラーム時刻が表わされる。 As shown in the lower three file names in FIG. 3, the alarm date and time by file name is set by including the character “$” and the subsequent four digits in the file name. The alarm time is represented by a digit.
さらに、図3の下2個のファイル名に示すように、上記の「$」と数字4桁の文字に加えて、「&」付きの文字が含まれる場合には、「&」に続く文字により、月日、曜日、日にち、或いは月の情報をアラーム日時の設定情報(日時情報)に追加できるようになっている。例えば「&5d$1010」で「毎月5日10時10分」のアラーム日時を表わし、「&4m$1010」で「毎年4月の10時10分」のアラーム日時を表わす。 Furthermore, as shown in the lower two file names in FIG. 3, if a character with “&” is included in addition to the above “$” and the 4-digit character, the character following “&” Thus, the date, day, date, or month information can be added to the alarm date setting information (date information). For example, “& 5d $ 1010” represents the alarm date and time of “10:10 on the 5th of every month”, and “& 4 m $ 1010” represents the alarm date and time of “10:10 in April every year”.
次に、上記のアラーム時計10のアラームに関する動作の説明を行う。
Next, the operation related to the alarm of the
[音響データ受信時処理]
先ず、携帯電話機40から無線通信により音響データをメモリカード30へ書き込む際に実行される処理について説明する。
[Processing when receiving acoustic data]
First, processing executed when the acoustic data is written from the
図4には、データコントロール用CPU21により実行される音響データ受信時処理のフローチャートを示す。
FIG. 4 shows a flowchart of the sound data reception process executed by the
携帯電話機40からデータ転送の要求があって音響データが送信されてくると、データコントロール用CPU21は、無線通信部24を介して音響データを受信してメモリカード30へ書き込んでいく(ステップS1)。音響データを書き込んだら、次いで、この音声データのファイル名を確認して、「$」の文字が含まれているか判別する(ステップS2:解析手段)。
When there is a data transfer request from the
その結果、「$」の文字が含まれていなければ、このファイル名にアラーム日時の設定情報は無いと判断して、このまま音響データ受信時の処理を終了する。 As a result, if the character “$” is not included, it is determined that there is no alarm date / time setting information in the file name, and the process at the time of receiving the acoustic data is terminated as it is.
一方、「$」の文字が含まれていれば、「$」に続く4個の数字を抽出してアラーム日時の時刻とし、さらに、「&」に続く文字があれば、この文字を抽出してアラーム日時の月日、曜日、日、或いは月として、アラームを発生させる日時を表わすアラーム日時データに変換する(ステップS3:解析手段)。そして、このアラーム日時データを、時計用CPU11を介して、RAM13の記憶領域13aに書き込む(ステップS4:再生制御手段)。そして、この音響データ受信時の処理を終了する。
On the other hand, if the character “$” is included, four numbers following “$” are extracted as the alarm date and time, and if there is a character following “&”, this character is extracted. The alarm date and time is converted into alarm date and time data representing the date and time when the alarm is generated as the month, day, day, or month (step S3: analysis means). The alarm date / time data is written into the
つまり、上記の音響データ受信時の処理により、ファイル名にアラーム日時の設定情報が含まれる音響データが転送されてきた場合に、このアラーム日時データの設定登録が自動的に行われるようになっている。 In other words, when acoustic data whose file name includes alarm date and time setting information is transferred by the above processing when receiving acoustic data, the alarm date and time data setting registration is automatically performed. Yes.
[アラーム再生制御処理]
次に、アラーム日時にアラームを発生させる処理について説明する。
[Alarm playback control processing]
Next, a process for generating an alarm at the alarm date will be described.
図5には、データコントロール用CPU21により実行されるアラーム再生制御処理のフローチャートを示す。
FIG. 5 shows a flowchart of an alarm regeneration control process executed by the
このアラーム再生制御処理は、時計用CPU11からデータコントロール用CPU21へアラーム指令と現在の日時データとが送られて開始される。アラーム指令は、計時部18の計時時刻と、設定されているアラーム日時(記憶領域13aのアラーム日時データが表わす日時)とが合致した際に送られてくる。
This alarm reproduction control process is started when an alarm command and current date / time data are sent from the
アラーム再生制御処理が開始されると、先ず、CPU21は、メモリカード30に記録されているデータを確認して再生可能な形式の音響データの有無を判別する(ステップS11)。その結果、再生可能な音響データが無ければ、CPU21は、ROM22に格納されているデフォルトのアラーム音データを音響データデコード部26に送ってアンプ&スピーカー27から音声出力させる(ステップS12:アラーム再生手段)。そして、アラーム再生制御処理を終了する。
When the alarm reproduction control process is started, first, the
一方、再生可能な音響データが有れば、CPU21は、先ず、$付き音響データ比較処理(ステップS13)を実行して、現在の日時と合致するアラーム日時の設定情報がファイル名に含まれている音響データを検索する。そして、このような音響データが選択されたか否かを判別し(ステップS14)、合致した音響データが選択されていれば、この選択された音響データをアラームとして再生する(ステップS15:アラーム再生手段)。その後、このアラーム再生制御処理を終了する。
On the other hand, if there is reproducible sound data, the
一方、ステップS14の判別処理で、合致した音響データが無いと判別されたら、次に、CPU21は、ファイル名に現在日時に合致する日付区分情報を含んだ音響データがないか検索する一連の処理(ステップS16〜S26)へ移行する。
On the other hand, if it is determined in the determination process in step S14 that there is no matched acoustic data, the
この一連の処理へ移行すると、先ず、CPU21は、メモリカード30に記録されている複数の音響データの中からファイル名が「#」で始まる音響データを優先順に1つずつ選択する処理を実行する(ステップS16)。この選択処理では、処理ループにより複数回繰り返し実行される場合に、以前に選択された音響データが除外されて別の音響データが優先順に逐次選択されていく。音響データの選択順は、優先度の高い方から、「#」と数字4桁が記されたデータファイル、「#」と曜日が記されたデータファイル、「#」と「1〜31」の数字と「d」とが記されたデータファイル、「#」と「1〜12」の数字と「m」とが記されたデータファイルの順である。
When shifting to this series of processes, first, the
音響データの選択処理を行ったら、次に、CPU21は、「#」で始まる音響データの選択が終了していて、新たに選択する音響データがもう無い状態であるか否かの判別を行う(ステップS17)。
After the acoustic data selection processing is performed, the
ステップS16の選択処理で、「#」でファイル名が始まる音響データが選択されている場合、ステップS17の判別処理で選択終了でないと判別されるので、続いて、この音響データが現在の日時に対応する日付区分情報を有するものであるか否かを判別する一連の処理(ステップS19〜S26:解析手段)へ移行する。 In the selection process of step S16, when the acoustic data starting with the file name “#” is selected, it is determined that the selection is not completed in the determination process of step S17. The process proceeds to a series of processes (steps S19 to S26: analysis means) for determining whether or not the corresponding date classification information is included.
すなわち、先ず、選択された音響データのファイル名が「“#”+数字4桁」の形式であるか判別し(ステップS19)、この形式であれば、この数字4桁を月日として現在の日時データと一致するか判別する(ステップS20)。 That is, first, it is determined whether or not the file name of the selected acoustic data is in the format of ““ # ”+ 4 digits” (step S19). It is determined whether the date and time data match (step S20).
また、ステップS19で該当の形式でないと判別されたら、次に、CPU21は、選択された音響データのファイル名が「“#”+曜日」の形式であるか判別し(ステップS21)、この形式であれば、ファイル名の曜日と現在の曜日とが一致するか判別する(ステップS22)。
If it is determined in step S19 that the format is not the corresponding one, the
また、ステップS21で該当の形式でないと判別されたら、次に、CPU21は、選択された音響データのファイル名が「“#”+1〜31の数字+“d”」の形式であるか判別し(ステップS23)、この形式であれば、この数字を日にちとして現在の日にちと一致するか判別する(ステップS24)。
If it is determined in step S21 that the format is not the corresponding format, then the
また、ステップS23で該当の形式でないと判別されたら、次に、CPU21は、選択された音響データのファイル名が「“#”+1〜12の数字+“m”」の形式であるか判別し(ステップS25)、この形式であれば、この数字を月として現在の月と一致するか判別する(ステップS26)。
If it is determined in step S23 that the format is not the corresponding format, then the
その結果、上記のステップS20,S22,S24,S26の判別処理の何れかで一致と判別されたら、選択されている音響データをアラームとして再生する(ステップS15)。そして、このアラーム再生制御処理を終了する。 As a result, when it is determined that they match in any of the determination processes of steps S20, S22, S24, and S26, the selected acoustic data is reproduced as an alarm (step S15). Then, this alarm regeneration control process is terminated.
一方、上記のステップS20,S22,S24,S26の判別処理の何れかで不一致と判別されたら、ステップS16に戻って、再び、音響データの選択処理から繰り返す。また、ステップS25の判別処理で該当の形式でないと判別されたら、ステップS16に戻って、再び、音響データの選択処理から繰り返す。 On the other hand, if it is determined that there is a mismatch in any of the determination processes in steps S20, S22, S24, and S26, the process returns to step S16 and is repeated from the acoustic data selection process. If it is determined in the determination process in step S25 that the format is not the corresponding one, the process returns to step S16 to repeat the acoustic data selection process again.
つまり、上記のステップS19〜S26、S15の処理により、現在のアラーム日時に合致する日付区分情報をファイル名に含んだ音響データがあれば、この音響データがアラームとして再生される。また、ステップS16の選択処理で所定の優先順に「#」付きの音響データが選択されていくことで、現在のアラーム日時と合致する日付区分情報を有する音響データが複数ある場合でも、優先順序の高い方の音響データがアラームとして再生されるようになっている。 That is, if there is acoustic data that includes date classification information that matches the current alarm date and time in the file name by the processing in steps S19 to S26 and S15, the acoustic data is reproduced as an alarm. Further, by selecting the acoustic data with “#” in the predetermined priority order in the selection process in step S16, even when there are a plurality of acoustic data having date classification information that matches the current alarm date and time, the priority order is changed. The higher acoustic data is played back as an alarm.
他方、ファイル名が「#」で始まる全ての音響データが選択されても、ステップS20,S22,S24,S26の判別処理で一致と判別されなければ、次の繰り返し処理のステップS17の判別処理で選択終了と判別される。この場合、現在のアラーム日時に合致する日付区分情報を含んだ音響データがないと判断できるので、「#」や「$」をファイル名に含まない音響データをアラームとして再生する(ステップS18:アラーム再生手段)。そして、このアラーム再生制御処理を終了する。 On the other hand, even if all the sound data whose file names begin with “#” are selected, if they are not determined to match in the determination processing in steps S20, S22, S24, and S26, the determination processing in step S17 of the next iteration processing is performed. It is determined that the selection has been completed. In this case, since it can be determined that there is no acoustic data including date classification information that matches the current alarm date and time, acoustic data that does not include “#” or “$” in the file name is reproduced as an alarm (step S18: Alarm). Reproduction means). Then, this alarm regeneration control process is terminated.
図6には、図5のステップS13の$付き音響データ比較処理の詳細なフローチャートを示す。 FIG. 6 shows a detailed flowchart of the $ -added acoustic data comparison process in step S13 of FIG.
このS付き音響データ比較処理は、メモリカード30に記録されている複数の音響データの中から、現在のアラーム日時の設定情報がファイル名に含まれる音響データを検索する処理である。
The S-added acoustic data comparison process is a process of searching for acoustic data in which the setting information of the current alarm date is included in the file name from among a plurality of acoustic data recorded in the
このS付き音響データ比較処理へ移行すると、先ず、CPU21は、メモリカード30に記録されている複数の音響データの中から、ファイル名に「$」を含んだ音響データを優先順に1つずつ選択する処理を実行する(ステップS31)。この選択処理では、処理ループにより複数回実行される場合に、以前に選択された音響データが除外されて別の音響データが逐次選択されていく。音響データの選択順は、優先度の高い方から、アラーム時刻と月日を指定する設定情報が含まれるもの、アラーム時刻と曜日を指定する設定情報が含まれるもの、アラーム時刻と日にちを指定する設定情報が含まれるもの、アラーム時刻と月を指定する設定情報が含まれるものといった順である。
When the process shifts to the S-added acoustic data comparison process, the
音響データの選択処理を行ったら、次に、CPU21は、「$」をファイル名に含んだ全ての音響データの選択を終えていて、新たに選択する音響データがもう無い状態であるか否かの判別を行う(ステップS32)。
After the acoustic data selection processing is performed, the
ステップS31の選択処理で、「$」を含んだ音響データが選択されている場合、ステップS32で選択終了でないと判別されるので、続いて、CPU21は、この音響データのアラーム日時の設定情報を解析し、現在の日時と一致するか判別する(ステップS33:解析手段)。
If acoustic data including “$” is selected in the selection process in step S31, it is determined in step S32 that the selection has not been completed. Subsequently, the
その結果、一致と判別されれば、一致した音響データの情報を保持したまま、この$付き音響データ比較処理を終了する。そして、図5の次のステップS14へ移行する。一方、不一致であれば、ステップS31に戻って、音響データの選択処理から繰り返す。 As a result, if it is determined as a match, the $ -added acoustic data comparison process is terminated while retaining the matched acoustic data information. And it transfers to the following step S14 of FIG. On the other hand, if they do not match, the process returns to step S31 and repeats from the acoustic data selection process.
また、「$」を含んだ音響データの全てを選択して、これら全ての音響データに対してステップS33で一致と判別されなければ、繰り返し処理の次のステップS32の判別処理で選択終了と判別される。この場合、一致した音響データは無しという情報を保持したまま、この$付き音響データ比較処理を終了する。そして、図5の次のステップS14へ移行する。 If all the acoustic data including “$” is selected and it is not determined that all the acoustic data match in step S33, it is determined that the selection is completed in the determination process in step S32 following the repetition process. Is done. In this case, the $ -added acoustic data comparison process is terminated while retaining the information that there is no matched acoustic data. And it transfers to the following step S14 of FIG.
つまり、上記のアラーム再生制御処理(図5)や$付き音響データ比較処理(図6)によって、アラーム指令に基づきデータコントロール用CPU21がアラームを発生させる際に、現在のアラーム日時に対応するアラーム日時の設定情報又は日付区分情報がファイル名に含まれる音響データが検索されて、このような音響データが有れば、この音響データがアラームとして再生されるようになっている。
That is, the alarm date and time corresponding to the current alarm date and time when the
以上のように、この実施形態のアラーム時計10によれば、音響データのファイル名を解析してアラーム日時の設定が行われたり、アラーム発生時に再生される音響データの選択が行われたりするので、アラーム時計10においてバリエーション豊富なアラーム動作を実現できるとともに、バリエーション豊富なアラーム動作の設定を音響データのファイル名の編集により容易に実現することができる。
As described above, according to the
具体的には、音響データのファイル名に日付区分情報を含めておくことで、この日付区分情報に合致する日のアラーム時刻に、この音響データが選択されてアラームとして再生されるようになっている。従って、月日ごと、曜日ごと、月ごと、日にちごとなどに、異なる音響データをアラームとして再生させるような設定を、音響データのファイル名に適宜な日付区分情報を含めておくことで容易に実現することができる。 Specifically, by including the date division information in the file name of the acoustic data, the acoustic data is selected and reproduced as an alarm at the alarm time of the day matching the date division information. Yes. Therefore, it is easy to set the sound data to be played back as an alarm for each month, day of the week, month, day, etc. by including appropriate date classification information in the sound data file name. can do.
また、日付区分情報は、月日、曜日、日にち、月をそれぞれ表わせる形式になっているので、様々な日にちの区分けを行って区分けごとに異なる音響データをアラーム再生させる設定を容易に実現できる。なお、日付区分情報として、平日と休日をそれぞれ区分できる形式を導入しても良い。また、1つの日付区分情報に複数の曜日や複数の日にちを含めることのできる形式としても良い。 In addition, since the date classification information is in a format that can represent the month, day of the week, date, and month, it is possible to easily realize the setting of performing various types of date classification and alarm reproduction of different acoustic data for each classification. . As the date classification information, a format that can classify weekdays and holidays may be introduced. Moreover, it is good also as a format which can include several days of the week and several days in one date division information.
さらに、この実施形態のアラーム時計10によれば、音響データのファイル名にアラーム日時の設定情報を含めておくことで、この日時がアラーム日時として設定されるとともに、この日時に当該音響データが再生されるようになっている。従って、任意のアラーム日時に指定の音響データを再生させるような設定を、音響データのファイル名の編集により容易に実現することができる。
Furthermore, according to the
また、アラーム日時の設定情報は、時刻のみ、時刻および月日、時刻および曜日、時刻および日にち、時刻および月をそれぞれ表わせる形式になっている。従って、アラームを発生させる日にちごとに異なる音響データをアラームとして再生させるような設定を、音響データのファイル名の編集により容易に実現することができる。 The alarm date and time setting information has a format that can represent only time, time and month, time and day of the week, time and date, time and month, respectively. Therefore, a setting for reproducing different sound data as an alarm for each day when an alarm is generated can be easily realized by editing the file name of the sound data.
また、この実施形態のアラーム時計10によれば、音響データを記録するメモリカード30が挿抜可能な構成になっているので、メモリカードを抜いて他の情報端末で音響データの書き込みやファイル名の編集を行って、上記のような様々なアラーム設定を行うことができる。
Moreover, according to the
また、この実施形態のアラーム時計10によれば、無線通信により携帯電話機40から音響データを転送してメモリカード30に記録できるようになっている。従って、携帯電話機40で音響データのファイル名を編集して、アラーム時計10に転送することで、この音響データをアラームとして再生させるようなアラーム設定を容易に実現できる。
Further, according to the
なお、本発明は、上記実施の形態に限られるものではなく、様々な変更が可能である。例えば、上記実施形態では、ユーザが設定したアラーム時刻にアラームを発生させるアラーム機能に音響データの再生やファイル名を利用した設定機能を適用した例を示したが、予め定められた時刻にアラームを発生させる時報機能に音響データの再生やファイル名を利用した音響データの選択機能を適用しても良い。 The present invention is not limited to the above-described embodiment, and various modifications can be made. For example, in the above-described embodiment, an example in which a setting function using sound data reproduction or a file name is applied to an alarm function that generates an alarm at an alarm time set by a user has been described. However, an alarm is generated at a predetermined time. A sound data selection function using reproduction of sound data or a file name may be applied to the time signal function to be generated.
また、上記実施の形態では、音響データが無線通信を介してメモリカード30に書き込まれる際に、ファイル名の解析と、ファイル名にアラーム日時の設定情報が含まれている場合に、この設定情報に基づくアラーム日時の設定とを行う構成を示したが、メモリカード30が抜き挿しされた際に音響データが更新されていないか確認し、更新されている場合に、更新された音響データに対して同様の処理を行うようにしても良い。
In the above embodiment, when the acoustic data is written to the
また、上記実施の形態では、ファイル名に日付区分情報やアラーム日時の設定情報を含めて、これらを解析させる構成としているが、パス名(ディレクトリ又はデータフォルダの名称を含めたもの)に上記の情報を含めて、これらを解析させる構成としても良い。 In the above embodiment, the file name includes date classification information and alarm date setting information, and these are analyzed. However, the above information is included in the path name (including the name of the directory or data folder). It is good also as a structure which analyzes these including these.
また、メモリカードは内蔵で固定のものとし、外部の情報端末と有線接続して音響データを書き込めるように構成しても良い。その他、実施形態で示した細部構成および細部方式は、発明の趣旨を逸脱しない範囲で適宜変更可能である。 In addition, the memory card may be built-in and fixed, and may be configured to be able to write acoustic data by connecting to an external information terminal by wire. In addition, the detailed configuration and the detailed method shown in the embodiments can be appropriately changed without departing from the spirit of the invention.
10 アラーム時計
11 時計用CPU
12 ROM
13 RAM
13a アラーム日時データ
18 計時部
21 データコントロール用CPU
22 ROM
23 RAM
24 無線通信部
25 ソケット
26 音響データデコード部
27 アンプ&スピーカー
30 メモリカード
10
12 ROM
13 RAM
13a Alarm date and
22 ROM
23 RAM
24
Claims (7)
前記記憶手段に記憶される音響データのファイル名又はパス名を解析する解析手段と、
この解析手段の解析結果に基づいて前記アラーム再生手段が再生する音響データの選択及び前記所定の日時の設定を行う再生制御手段と、
を備えていることを特徴とするアラーム時計。 In an alarm clock having alarm reproduction means for reproducing acoustic data stored in the storage means at a predetermined date and time,
Analysis means for analyzing the file name or path name of the acoustic data stored in the storage means;
Reproduction control means for selecting acoustic data to be reproduced by the alarm reproduction means and setting the predetermined date and time based on the analysis result of the analysis means;
An alarm clock characterized by comprising:
前記音響データのファイル名又はパス名に含まれる日にちを区分する日付区分情報を解析し、
前記再生制御手段は、
前記アラーム再生手段が音響データを再生する日にちに対応する前記日付区分情報を含んだ音響データを、当該アラーム再生手段が当該日にちに再生する音響データとして選択することを特徴とする請求項1記載のアラーム時計。 The analysis means includes
Analyzing date division information that divides dates contained in the file name or path name of the acoustic data,
The reproduction control means includes
2. The acoustic data including the date division information corresponding to a date on which the alarm reproducing means reproduces acoustic data is selected as acoustic data to be reproduced on the date by the alarm reproducing means. Alarm clock.
前記音響データのファイル名又はパス名に含まれる日時を表わす日時情報を解析し、
前記再生制御手段は、
前記日時情報に基づいて前記アラーム再生手段が音響データを再生する前記所定の日時を設定するとともに、当該日時情報を含んだ音響データを前記アラーム再生手段が当該日時に再生する音響データとして選択する
ことを特徴とする請求項1〜3の何れか一項に記載のアラーム時計。 The analysis means includes
Analyzing date and time information representing the date and time included in the file name or path name of the acoustic data,
The reproduction control means includes
The alarm reproduction means sets the predetermined date and time for reproducing the acoustic data based on the date and time information, and selects the acoustic data including the date and time information as the acoustic data to be reproduced at the date and time. The alarm timepiece according to any one of claims 1 to 3, wherein:
前記無線通信手段を介して前記情報端末から前記記憶手段へ音響データを書き込み可能に構成されていることを特徴とする請求項1〜6の何れか一項に記載のアラーム時計。 A wireless communication means capable of wireless connection with a predetermined information terminal;
The alarm timepiece according to any one of claims 1 to 6, wherein acoustic data can be written from the information terminal to the storage means via the wireless communication means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2010286864A JP5648470B2 (en) | 2010-12-24 | 2010-12-24 | Alarm clock |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2010286864A JP5648470B2 (en) | 2010-12-24 | 2010-12-24 | Alarm clock |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2012132857A JP2012132857A (en) | 2012-07-12 |
| JP5648470B2 true JP5648470B2 (en) | 2015-01-07 |
Family
ID=46648607
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2010286864A Active JP5648470B2 (en) | 2010-12-24 | 2010-12-24 | Alarm clock |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5648470B2 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP6321502B2 (en) * | 2014-09-17 | 2018-05-09 | リズム時計工業株式会社 | Power cord wiring device for AC power type wall clock |
| JP6978922B2 (en) * | 2017-12-15 | 2021-12-08 | シチズン時計株式会社 | Analog electronic clocks and analog electronic clock systems |
| WO2020136591A1 (en) * | 2018-12-28 | 2020-07-02 | 南紀之 | Information processing device, information processing method, information processing program, and information processing system |
| JP2023013306A (en) * | 2021-07-15 | 2023-01-26 | 任天堂株式会社 | Information processing device, system, program, and method |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003090889A (en) * | 2001-09-18 | 2003-03-28 | Seiko Epson Corp | Alarm sound setting system, alarm clock, and alarm sound data providing server |
| JP2005175728A (en) * | 2003-12-10 | 2005-06-30 | Casio Comput Co Ltd | Image alarm device, image erroneous deletion prevention method and image erroneous deletion prevention program in image alarm device |
| JP2012093270A (en) * | 2010-10-28 | 2012-05-17 | Casio Comput Co Ltd | Time display device, time display method, and program |
-
2010
- 2010-12-24 JP JP2010286864A patent/JP5648470B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2012132857A (en) | 2012-07-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2010250023A (en) | Information processing apparatus with text display function, data acquisition method, and data acquisition program | |
| JPH10320169A (en) | Information and electronic devices | |
| JP5648470B2 (en) | Alarm clock | |
| KR20140113643A (en) | Information-sharing device, information-sharing method, information-sharing program and terminal device | |
| JP2013174904A (en) | Lyric output program | |
| JP3756799B2 (en) | Music playback system | |
| JP2001061019A (en) | Music data reproduction system by download program | |
| KR100658151B1 (en) | Method and apparatus for setting MP3 playback position in mobile communication terminal | |
| US20070190929A1 (en) | Portable terminal | |
| JP3705305B2 (en) | Voice memory playback device | |
| JP2005114861A (en) | Audio reproducing device, audio reproducing program, computer readable recording medium in which audio reproducing program is recorded and audio reproducing method | |
| JP3555840B2 (en) | Electronic equipment with voice recording / playback function | |
| JP2002245033A (en) | Portable electronic device and character string display method of the same device | |
| KR100651553B1 (en) | How to edit phone book on mobile terminal | |
| JP2007058103A (en) | Mobile terminal device with lyric download function | |
| JP2004005832A (en) | Data-reproducing device, and system, method and program therefor, and recording medium recorded with the program | |
| CN119377176B (en) | Software radio-based multi-format signal continuous playback system, method and device | |
| KR100861313B1 (en) | Multimedia processing apparatus and a plurality of different types of multimedia content playback method | |
| JP4678692B2 (en) | Portable information terminal | |
| JP2005031450A (en) | Electronic musical instruments | |
| KR100743962B1 (en) | Content-related memo recording, indexing method and terminal performing the method | |
| JP4068018B2 (en) | Audio equipment | |
| KR100879684B1 (en) | Foreign language learning method using a portable terminal and a portable terminal equipped with a foreign language learning function | |
| JP2007174503A (en) | Music image playback apparatus and music image information management method | |
| JP2009200948A (en) | Mobile phone terminal, music reproduction method, and music reproduction program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20131022 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140826 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140917 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20141014 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20141027 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5648470 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |