JP4327499B2 - Method for automatically starting program and mobile phone device - Google Patents

Method for automatically starting program and mobile phone device Download PDF

Info

Publication number
JP4327499B2
JP4327499B2 JP2003130953A JP2003130953A JP4327499B2 JP 4327499 B2 JP4327499 B2 JP 4327499B2 JP 2003130953 A JP2003130953 A JP 2003130953A JP 2003130953 A JP2003130953 A JP 2003130953A JP 4327499 B2 JP4327499 B2 JP 4327499B2
Authority
JP
Japan
Prior art keywords
mobile phone
program
phone device
storage medium
execution
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.)
Expired - Fee Related
Application number
JP2003130953A
Other languages
Japanese (ja)
Other versions
JP2004334609A (en
Inventor
賢 清岡
真人 深谷
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.)
SoftBank Corp
Original Assignee
SoftBank Mobile 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 SoftBank Mobile Corp filed Critical SoftBank Mobile Corp
Priority to JP2003130953A priority Critical patent/JP4327499B2/en
Publication of JP2004334609A publication Critical patent/JP2004334609A/en
Application granted granted Critical
Publication of JP4327499B2 publication Critical patent/JP4327499B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Telephone Set Structure (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、プログラムの自動起動方法及び携帯電話装置に係り、より詳しくは、記憶媒体に書き込まれた実行ファイルに応じてプログラムを自動起動させるプログラムの自動起動方法、及び、該プログラムの自動起動方法を使用する携帯電話装置に関するものである。
【0002】
【従来の技術】
従来から、携帯電話装置が広く普及している。こうした携帯電話装置の機能や性能の向上は目覚しく、近年においては、メモリカード等の記憶媒体に格納された内容を読み出す読取装置を備える携帯電話装置も登場してきている。
【0003】
こうしたメモリカード等の記憶媒体は、携帯電話装置にとっては、外部記憶用のメモリ媒体として位置付けされているのが現状である。すなわち、現状においては、メモリカード等の記憶媒体は、携帯電話装置の内部記憶装置では保存しきれないファイルを保存したり、パーソナルコンピュータや他の携帯電話装置とのコンテンツデータの交換用に用いられたりしていた。
【0004】
また、メモリカード等の記憶媒体には、実行プログラムのファイル(以下、「実行ファイル」という)を格納することも可能である。携帯電話装置において記憶媒体に格納された実行ファイルの展開開始(すなわち、実行プログラムの起動処理を開始)する場合には、操作者が携帯電話装置の操作部を操作して、その実行ファイルを指定した上で起動指令を行うようになっている。
【0005】
【発明が解決しようとする課題】
上述した従来の携帯電話装置では、挿入された記憶媒体に格納された実行ファイルを展開するにあたっては、操作者の操作による起動指令が必須であった。これに対して、パーソナルコンピュータ等の一般の情報処理装置では、外部記憶用の記憶媒体に格納された実行ファイルの展開を自動的に開始する、すなわち当該実行ファイルに係る実行プログラムを自動起動することが許容され、こうした自動起動機能が実装されている。
【0006】
このように、携帯電話装置において一般の情報処理装置のように外部記憶用の記憶媒体に格納された実行ファイルに係る実行プログラムの自動起動を行っていないのは、携帯電話のような移動端末装置においては、一般の情報処理装置とは異なる特有の事情が存在するためである。すなわち、携帯電話のような移動端末装置においては、音声着信の処理を原則として他の全ての処理に優先して処理すべきであるという事情や、一般の情報処理装置のように実行プログラムの起動状態や、実行状態を表示し、操作者の指令を仰ぐことができる状態にある蓋然性が高いとはいえないという事情といった、移動端末装置特有の事情が存在しているため、外部記憶用の記憶媒体に格納された実行ファイルに係る実行プログラムの自動起動を行っていなかった。
【0007】
ところで、メモリカード等の携帯電話装置で読み取り可能な外部記憶用の記憶媒体は、非常に有効な告知手段や広告手段となり得る。例えば、携帯電話装置の利用者に対して、自社の広告を行おうとする場合に、自社の広告を格納する外部記憶用の記憶媒体を配布すれば、自社の広告を携帯電話装置の利用者に案内することができる可能性がある。しかし、告知や広告の画像又は音による表示を携帯電話装置の操作者に全面的に委ねることにすると、告知や広告を携帯電話装置の利用者に案内することができる蓋然性が高いとはいい難い。
【0008】
これに対して、外部記憶用の記憶媒体に格納された実行ファイルに係る実行プログラムの自動起動を行うことができれば、告知や広告を携帯電話装置の利用者に案内することができる蓋然性は飛躍的に向上する。さらに、外部記憶用の記憶媒体に格納された実行ファイルに係る実行プログラムの自動起動を行うことができれば、告知や広告以外についても様々なメモリカード等の利用方法が開拓されることが期待できる。
【0009】
本発明は、上記の事情を鑑みてなされたものであり、記憶媒体に書き込まれた内容を読み取る読取装置を備える携帯電話装置における当該携帯電話に固有な事情を考慮したプログラムの自動起動方法、及び該プログラムの自動起動方法を使用する携帯電話装置を提供することを目的とする。
【0010】
画像を表示する表示手段と、記憶媒体に書き込まれた内容を読み取る読取装置を備える携帯電話装置において、前記携帯電話装置の利用者に対して提供することを意図する告知情報又は広告情報を、画像又は音声により前記携帯電話装置の利用者に提供する動作を実行する、前記記憶媒体に記憶されたプログラムの自動起動方法であって、前記携帯電話装置が、前記読取装置に記憶媒体が挿入されていることを定期的に検出する挿入検出工程と;前記携帯電話装置が、前記挿入されている記憶媒体に自動起動されるべき実行プログラムが収納された実行ファイルが記憶されているか否かを判定する実行ファイル判定工程と;前記携帯電話装置が前記実行プログラムの未起動状態にあるか否かを、前記携帯電話装置が判定する未起動判定工程と;前記未起動判定工程において肯定的な判定がなされたときに、前記携帯電話装置が、前記表示手段に待受画面を表示している状態であるか否かを判定する待受判定工程と;前記待受判定工程において肯定的な判定がなされたときに、前記携帯電話装置が、前記実行ファイルの展開である起動を行う起動工程と;を備え、利用者により前記携帯電話装置の電源のオフの指令がなされたとき、及び、前記電源がオン中に前記読取装置から前記記憶媒体が除去されたときに、前記携帯電話装置が、前記携帯電話装置の不揮発性の内部フラグである前記実行プログラムの起動済フラグをオフとして未起動状態となり、前記起動工程において前記実行プログラムの起動が完了したときに、前記携帯電話装置が、前記起動済フラグをオンとして起動済状態となる、ことを特徴とするプログラムの自動起動方法である。
【0011】
このプログラムの自動起動方法では、まず、挿入検出工程において読取装置に記憶媒体が挿入されていることを定期的に検出する。引き続き、実行ファイル判定工程において、挿入されていることが検出された記憶媒体に自動起動されるべき実行プログラムに応じた実行ファイルが収納されているか否かを判定する。かかる判定は、例えば、当該記憶媒体に格納されているファイルの識別子を読み出して、その識別子がそのファイルが実行ファイルであることを示しているか否かを判定することにより行われる。
【0012】
次に、未起動判定工程において、携帯電話装置が実行プログラムの未起動状態にあるか否かを、携帯電話装置が判定する。すなわち、携帯電話装置の電源がオンとされた後から現在までの間において、当該実行プログラムが起動されたことがあるか否かが判定される。この未起動判定工程において肯定的な判定がなされると、待受判定工程において、携帯電話装置の表示手段に待受画面を表示している状態であるか否かが、携帯電話装置により判定される。ここで、「待受画面」とは、携帯電話装置の電源がオンとされた場合に、初期化処理の後に表示される画面であり、操作者の操作開始や着信等を待受けている状態で表示される画面のことをいう。本明細書では、この意味において「待受画面」の用語を用いるものとする。
【0013】
上記の待受判定工程において肯定的な判定がなされると、起動工程において、前記携帯電話装置が、前記実行ファイルの展開である起動処理を行う。この結果、音声着信処理等の処理が行われておらず、かつ、操作者の操作開始や着信等を待受けている状態である場合に限って、実行プログラムを自動起動する。
また、本発明のプログラムの自動起動方法では、利用者により前記携帯電話装置の電源のオフの指令がなされたとき、及び、前記電源がオン中に前記読取装置から前記記憶媒体が除去されたときに、前記携帯電話装置が、前記携帯電話装置の不揮発性の内部フラグである前記実行プログラムの起動済フラグをオフとして未起動状態となり、前記起動工程において前記実行プログラムの起動が完了したときに、前記携帯電話装置が、前記起動済フラグをオンとして起動済状態となる。
【0014】
したがって、本発明のプログラムの起動方法によれば、携帯電話装置に固有な事情を考慮したプログラムの自動起動方法を提供することができる。
【0017】
また、本発明のプログラムの自動起動方法では、前記実行プログラムを、前記記憶媒体に格納されるとともに、前記移動通信端末装置の利用者への提供を意図したコンテンツを収納したファイルのみを参照するプログラムとすることができる。かかる場合には、実行ファイルの作成者が作成時に提供を意図した通りのコンテンツを移動体端末装置の利用者に提供することができる。
【0018】
また、本発明のプログラムの自動起動方法では、前記実行プログラムを、前記実行プログラムにおいて指定され、前記携帯電話装置の利用者への提供を意図したコンテンツを収納したウエブ上のファイルを参照するプログラムとすることができる。かかる場合には、実行ファイルの作成後に、その作成者が意図したコンテンツの内容が更新されたときであっても、最新のコンテンツ内容を提供することができる。
【0019】
また、本発明のプログラムの自動起動方法では、前記実行プログラムの起動中に、前記実行プログラムの起動よりも優先度の高い緊急イベントが発生したときには、前記携帯電話装置は、前記緊急イベントの処理を優先することとすることができる。かかる場合には、実行プログラムの起動中に音声着信等の処理優先度の高い緊急イベントが発生したときには、携帯電話装置は、実行プログラムの起動処理を中断し、緊急イベントの処理を行う。そして、携帯電話装置は、緊急イベントの処理が終了した後に、実行プログラムの起動処理を再開するので、自動起動処理により緊急イベントに対する処理を妨げることを防止することができる。
【0020】
本発明の携帯電話装置は、携帯電話装置の利用者に対して提供することを意図する告知情報又は広告情報を、画像又は音声により携帯電話装置の利用者に提供する動作を実行する、前記携帯電話装置に挿入可能な記憶媒体に記憶されたプログラムの自動起動機能を有する携帯電話装置であって、画像が表示される表示手段と;挿入された記憶媒体に書き込まれた内容を読み取る読取装置と;前記読取装置に記憶媒体が挿入されていることを定期的に検出する挿入検出手段と;前記挿入されている記憶媒体に自動起動されるべき実行プログラムが収納された実行ファイルが記憶されているか否かを判定する実行ファイル判定手段と;前記実行プログラムの未起動状態にあるか否かを判定する未起動判定手段と;前記未起動判定手段により肯定的な判定がなされたときに、前記表示手段に待受画面を表示している状態にあるか否かを判定する待受判定手段と;前記待受判定手段において肯定的な判定がなされたときに、前記実行ファイルの展開である起動を行う起動手段と;を備え、前記実行プログラムに対応して設けられ、利用者により電源のオフの指令がなされたとき、及び、前記電源がオン中に前記読取装置から前記記憶媒体が除去されて未起動状態となったときにオフとされる不揮発性の起動済フラグを、前記実行プログラムの起動が完了して起動済状態となったときに、前記起動手段がオンとする、ことを特徴とする携帯電話装置である。
【0021】
この携帯電話装置では、挿入検出手段により、読取装置に記憶媒体が挿入されていることが検出されると、実行ファイル判定手段により、挿入されていることが検出された記憶媒体に自動起動されるべき実行プログラムが収納された実行ファイルが記憶されているか否かが判定される。引き続き、未起動判定手段により、携帯電話装置が実行プログラムの未起動状態にあるか否かが判定される。
【0022】
未起動判定手段により肯定的な判定がなされると、待受判定手段により、表示手段に待受画面を表示している状態であるか否かが判定される。そして、待受判定手段により肯定的な判定がなされると、起動手段により、当該実行ファイルの展開である起動処理を行う
また、本発明の携帯電話装置では、前記実行プログラムに対応して設けられ、利用者により電源のオフの指令がなされたとき、及び、前記電源がオン中に前記読取装置から前記記憶媒体が除去されたときにオフとされる不揮発性の起動済フラグを、前記実行プログラムの起動が完了したときに、前記起動手段がオンとする。
【0023】
すなわち、本発明の携帯電話装置は、上述した本発明のプログラムの自動起動方法を使用して、挿入されている記憶媒体に格納された実行ファイルを展開する自動起動を行う。したがって、本発明の携帯電話装置によれば、携帯電話装置に固有な事情を考慮したプログラムの自動起動方法を行うことができる。
【0024】
【発明の実施の形態】
以下、本発明の一実施形態を、図1〜図4を参照して説明する。
【0025】
図1及び図2には、一実施形態に係るプログラムの自動起動方法が使用される携帯電話10の構成が概略的に示されている。ここで、図1(A)には、携帯電話10の外観の正面図が示され、図1(B)には、携帯電話10の外観の裏面図が示されている。また、図2には、携帯電話10の機能ブロック構成が示されている。
【0026】
図1及び図2において総合的に示されるように、携帯電話10は、制御部21、送受信部22、記憶装置23及び折りたたみ状態検出器25(図2参照)を備える携帯電話本体11を備えている。ここで、携帯電話本体11は、第1部分11Aと第2部分11Bとから構成されており、これらの第1部分11Aと第2部分11Bとは、回動機構部19を介して接続されている。そして、この回動機構部19を回転軸として、その両側の第1部分11Aと第2部分11Bとを相対的に回動可能になっている。この結果、第1部分11Aの図1(A)に示される面(以下、「表示面」という)と、第2部分11Bとの図1(A)に示される面(以下、「操作面」という)とが合わされる態様で携帯電話本体11を折りたたんだ状態としたり、図1に示されるように携帯電話本体11が展開された状態としたりすることをできるようになっている。すなわち、携帯電話10は、いわゆるクラムシェル型の携帯電話となっている。なお、携帯電話本体11が折りたたまれた状態にあるか否かは、折りたたみ状態検出器25によって逐次検出され、その検出結果は制御部21に逐次送られるようになっている。
【0027】
また、携帯電話10は、第1部分11Aの表示面側に配設された、(b)制御部21による指令に応じて、操作案内、動作状況、受信メッセージ等を表示する液晶表示装置を有するメイン表示部13Mと、(c)通話時に通信相手から送られてきた音声信号を再生する通話用スピーカ14とを備えている。
【0028】
また、携帯電話10は、第2部分11Bの操作面側に配設された、(d)電話番号等を制御部21へ入力するためのテンキー、及び、動作モードの切替等の各種指令を制御部21へ入力するためのファンクションキーを有する操作部12と、(e)通話時に音声を入力するためのマイクロフォン15とを備えている。
【0029】
また、携帯電話10は、第1部分11Aの表示面側の反対側に配設された、(f)制御部21による指令に応じて、着信音や案内音を発生するための案内用スピーカ16と、(g)制御部21による指令に応じて、時刻表示等の補助的な表示を表示する液晶表示装置を有するサブ表示部13Sとを備えている。なお、本実施形態では、待受画面及び着信等のイベントに応じた携帯電話としての基本イベント処理プログラム用画面、並びにアプリケーションプログラム用画面は、サブ表示部13Sには表示されず、上述したメイン表部13Mにのみ表示されるようになっている。
【0030】
また、携帯電話10は、(h)送受信部22と接続され、基地局との間で無線信号を授受するためのアンテナ17と、(j)第2部分11Bの内部に配設された、メモリカード等の記憶媒体MCDに格納されたデータの読取装置18とを備えている。さらに、携帯電話10は、(k)読取装置18への記憶媒体MCDの挿入及び読取装置18からの記憶媒体MCDの抜去を検出して制御部21へ通知する挿抜検出器19(図2参照)を備えている。
【0031】
上記の制御部21は、中央処理装置(CPU)、デジタル信号処理装置(DSP)、ランダムアクセスメモリ(RAM)、リードオンリメモリ(ROM)を備えており、一般的な携帯電話機能を実現するために、様々なデータ処理を行うとともに、上述した他の構成要素の動作制御を行うようになっている。
【0032】
また、制御部21は、図2に示されるように、(i)読取装置18へ挿入された記憶媒体MCD内に自動起動すべき実行プログラムに応じた実行ファイル及び参照ファイルが格納されているか否かを判定する実行ファイル判定部31と、(ii)当該実行ファイルが未起動状態にあるか否かを判定する未起動判定部32とを備えている。ここで、未起動状態であるか否かの判定は、制御部21内又は記憶装置23内に置かれた起動済フラグのオン/オフを参照することにより行われる。そして、未起動判定部32は、起動済フラグがオンの場合には起動済状態すなわち未起動状態ではないと判定し、起動済フラグがオフの場合には未起動状態であると判定するようになっている。
【0033】
さらに、制御部21は、(iii)携帯電話10の状態が、メイン表示部13Mに待受画面が表示されており、かつ、携帯電話本体11が折りたたまれていない状態、すなわち操作者がメイン表示部13Mに表示された待受画面を見ることができると推定される状態にあるか否かを判定する待受判定部33と、(iv)実行ファイルの自動展開により、実行プログラムの自動起動を行う起動部34とを備えている。
【0034】
なお、本実施形態では、実行ファイル判定部31、未起動判定部32、待受判定部33及び起動部34を、各部の機能に応じた制御部21で実行されるプログラムとして構成している。
【0035】
次に、以上のように構成された携帯電話10による、記憶媒体MCDに格納された内容に応じたプログラムの自動起動動作を説明する。
【0036】
前提として、記憶媒体MCDには、図3(A)に示されるように、実行ファイルEXFと、参照ファイルRFFとが格納されているものとする。また、実行ファイルEXFは、図3(B)に示されるように、自動起動されるべき実行ファイルであることを示す実行ファイル識別子IDFと、参照すべき参照ファイルの格納位置を示す参照ファイルポインタRPFとを含んでいる。また、実行ファイルEXF内のデータは、所定の方式により暗号化されているものとする。なお、実行ファイルEXFは、記憶媒体MCD内の所定のディレクトリ(以下、「自動起動ディレクトリ」という)に存在することが必須とされている。
【0037】
携帯電話10は、記憶媒体MCDに格納された内容に応じたプログラムの自動起動処理を、以下のようにして行う。
【0038】
記憶媒体MCDに格納された内容に応じたプログラムの自動起動処理は、次の2つの条件の内の一方を満足する場合に開始される。第1の条件は、携帯電話10の電源がオンであり、読取装置18に記憶媒体MCDが挿入されていない状態から、携帯電話10の電源がオンであり、読取装置18に記憶媒体MCDが挿入されている状態へ遷移したことである。また、第2の条件は、携帯電話10の電源がオフであり、読取装置18に記憶媒体MCDが挿入されている状態から、携帯電話10の電源がオンであり、読取装置18に記憶媒体MCDが挿入されている状態へ遷移したことである。こうした状態の遷移は、挿抜検出器19による検出結果に基づいて、制御部21が認識する。なお、本実施形態では、上記の2つの条件となっている2種類の状態遷移があったときに、挿抜検出器19が一種の割り込み処理要求信号を制御部21へ当該状態遷移を通知し、その通知を受けた制御部21が割り込み応答処理として、プログラムの自動起動処理を行うようになっている。
【0039】
こうしてプログラムの自動起動処理が開始されると、まず、図4のステップS11において、実行ファイル判定部31が、実行ファイルと推定されるファイルすなわち実行ファイル候補が記憶媒体MCD内に存在するか否かを判定する。かかる判定は、実行ファイル判定部31が、記憶媒体MCD内のディレクトリ情報を読み出し、自動起動ディレクトリに少なくとも1つのファイルが入っているか否かを調べることにより行われる。このステップS11において否定的な判定がなされると、プログラムの自動起動を行うことなく、そのまま処理が終了する。
【0040】
ステップS11において肯定的な判定がなされると、処理はステップS12へ移行する。ステップS12においては、実行ファイル判定部31が自動起動ディレクトリに入っている実行ファイル候補の内容を読み出し、ファイルが正しく実行ファイルEXFである場合に使用されたはずの暗号化方式に応じた復号化を行う。引き続き、実行ファイル判定部31は、復号結果における実行識別子IDFの位置に、自動起動されるべきプログラムであることを示す実行識別子IDFがあるか否かによって、自動起動ディレクトリに入っている実行ファイルと推定された実行ファイル候補中に正常な実行ファイルEXFがあるか否かを判定する。このステップS12において否定的な判定がなされると、プログラムの自動起動を行うことなく、そのまま処理が終了する。
【0041】
ステップS12において肯定的な判定がなされると、処理はステップS13へ移行する。ステップS12においては、実行ファイル判定部31が、実行ファイルEXFの参照ファイルポインタRFPに示されている位置に参照ファイルRFFが存在しているか否かを判定する。このステップS13において否定的な判定がなされると、プログラムの自動起動を行うことなく、そのまま処理が終了する。
【0042】
ステップS13において肯定的な判定がなされると、処理はステップS14へ移行する。ステップS14においては、未起動判定部32が、上述した起動済フラグがオンであるか否かを判定することにより、携帯電話10が起動済状態にあるのか、未起動状態にあるのかを判定する。このステップS14において肯定的な判定、すなわち携帯電話10が起動済状態にあるとの判定がなされると、プログラムの自動起動を行うことなく、そのまま処理が終了する。
【0043】
ステップS14において否定的な判定がなされると、処理はステップS15へ移行する。ステップS15においては、待受判定部33が、携帯電話10がメイン表示部13Mに待受画面を表示している状態、すなわち着信処理や操作者による操作部12の操作に応じた処理を行っていない状態にあるか否かを判定する。このステップS15において否定的な判定がなされると、再度ステップS15の処理を繰り返す。すなわち、携帯電話10がメイン表示部13Mに待受画面を表示している状態になるまで待機する。
【0044】
ステップS15において肯定的な判定がなされると、処理はステップS16へ移行する。ステップS16においては、待受判定部33が、携帯電話本体11が折りたたまれていない状態にあるか否かが判定される。かかる判定は、待受判定部33が、折りたたみ状態検出器25の検出結果を参照することにより行われる。このステップS16において否定的な判定がなされると、再度ステップS16の処理を繰り返す。すなわち、携帯電話本体11が展開状態になるまで待機する。
【0045】
ステップS16において肯定的な判定がなされると、処理はステップS17へ移行する。ステップS17においては、起動部34が、実行ファイルEXFを展開することにより、実行ファイルEXFに応じたプログラムを起動する。かかる起動中に音声着信等といった実行ファイルEXFの展開処理よりも優先度の高いイベントが発生した場合には、起動処理を一時中断し、音声着信処理等を優先度の高い処理を優先して実行する。そして、優先度の高い処理が終了すると、実行ファイルEXFの展開処理を再開する。
【0046】
こうして実行ファイルEXFが展開されて、起動処理が完了すると、ステップS18において、起動部34が、起動済フラグをオンとする。この後、プログラムの自動起動処理が終了する。
【0047】
以上に説明した自動起動処理で使用される起動済フラグは、次の2つの条件の内の一方を満足する場合にオフとされる。起動済フラグをオフとする第1の条件は、携帯電話10の電源がオンの状態から、携帯電話10の電源がオフの状態へ遷移する指令がなされたことである。この状態の遷移は、操作者による操作部12の操作により電源オフの指令がされたことをもって、制御部21によって認識される。そして、制御部21は、電源オフの指令を認識後、電源オフとするまでの間に起動済フラグをオフに設定する。なお、この第1の条件における起動済フラグのオフ設定は、そのときの起動済フラグがオンであるか、オフであるかにかかわらず行われるようになっている。
【0048】
起動済フラグをオフとする第2の条件は、携帯電話10の電源がオンであり、読取装置18に記憶媒体MCDが挿入されている状態から、携帯電話10の電源がオンであり、読取装置18に記憶媒体MCDが除去された状態へ遷移したことである。この状態の遷移は、挿抜検出器19による検出結果に基づいて、制御部21が認識する。
【0049】
なお、携帯電話10の工場出荷時には、起動済フラグは、必ずオフに設定される。
【0050】
以上説明したように、本実施形態の携帯電話10では、挿入検出器25により、読取装置18に記憶媒体MCDが挿入されていることが検出されると、実行ファイル判定部31により、挿入されていることが検出された記憶媒体MCDに自動起動されるべき実行プログラムを収納した実行ファイルEXFが記憶されているか否かが判定される。この判定が肯定的であると、未起動判定部32により、携帯電話装置10が実行プログラムの未起動状態にあるか否かが判定される。この未起動判定部32により肯定的な判定がなされると、待受判定部33により、メイン表示部13Mに待受画面を表示している状態であるか否かが判定される。そして、待受判定手段33により肯定的な判定がなされると、起動部34により、当該実行プログラムが起動される。
【0051】
したがって、本実施形態によれば、携帯電話10に固有な事情を考慮しつつ、記憶媒体MCDに格納された実行ファイルに応じたプログラムの自動起動を行うことができる。
【0053】
また、本実施形態では、携帯電話10の電源がオフとされたとき、及び電源がオン中に読取装置18から記憶媒体MCDが除去されたときに、記憶媒体MCDに格納された実行ファイルに応じたプログラムの未起動状態に遷移して起動済フラグがオフとされる。また、記憶媒体MCDに格納された実行ファイルに応じたプログラムの起動が完了したときに、当該プログラムの起動済状態へ遷移して起動済フラグがオンとされる。したがって、携帯電話装置の電源がオンとなった後、又は、読取装置18へ記憶媒体MCDが挿入された後、電源がオフとされるまでの間において、記憶媒体MCDに格納された実行ファイルに応じたプログラムを一度に限り自動起動させることとするができる。
【0054】
また、本実施形態では、記憶媒体MCDに格納された実行ファイルEXFに応じたプログラムを、記憶媒体MCDに格納されたファイルのみを参照するプログラムとしている。したがって、実行ファイルEXFの作成者が、その作成時に提供を意図した通りのコンテンツを携帯電話の利用者に提供することができる。
【0055】
また、本実施形態では、記憶媒体MCDに格納された実行ファイルEXFに応じたプログラムの起動中に、当該プログラムの起動よりも優先度の高い緊急イベントが発生したときには、前記緊急イベントの処理を優先することとしている。したがって、当該プログラムの起動中に音声着信等の処理優先度の高い緊急イベントが発生したときには、当該プログラムの起動処理を中断し、緊急イベントの処理を行う。そして、緊急イベントの処理が終了した後に、当該プログラムの起動処理を再開する。したがって、自動起動処理により緊急イベントに対する処理を妨げることを防止することができる。
【0056】
なお、上記の実施形態では、記憶媒体MCDに格納された実行ファイルEXFに応じたプログラムを、記憶媒体MCDに格納されたファイルのみを参照するプログラムとしたが、当該プログラムを、ウエブ上のファイルを参照するプログラムとすることができる。この場合には、実行ファイルEXFの作成時に、その作成者が意図したコンテンツの内容が更新されたときであっても、最新のコンテンツ内容を提供することができる。
【0057】
また、上記の実施形態では、実行ファイルEXFにおける参照ファイルの指定を1つとしたが、複数の参照ファイルを指定できることとすることができる。この場合には、実行ファイルEXFに応じたプログラムが複数の参照ファイルを順次(例えば、別途に指定された時間が経過するごとに順次)参照するようにすればよい。
【0058】
また、上記の実施形態では、挿抜検出器19が制御部21に対して一種の割り込み信号を発生することとした。これに対して、挿抜検出器19が制御部21に対して記憶媒体MCDが挿入されているか否かを逐次通知することとしてもよい。この場合には、制御部21が定期的に挿抜検出器19による検出結果を参照し、その参照結果の変化等を認識することにより、未起動状態と起動済状態との間における状態遷移を認識するようにすればよい。
【0059】
また、上記の実施形態では、メイン表示部13Mにのみ待受画面が表示されることとしたが、サブ表示部13Sが充分な表示能力を有し、携帯電話本体11が折りたたまれている状態では、サブ表示部13にも待受画面等が表示される機種の場合にも、本発明によるプログラムの自動起動を行うことができる。かかる場合には、上述した図4のステップ15における待受画面の表示状態であるか否かの判定において、メイン表示部13M又はサブ表示部13Sに待受画面が表示されている状態であるかを判定するとともに、図4のステップS16における携帯電話本体11が展開状態であるか否かの判定を省略することとすることができる。
【0060】
また、携帯電話がクラムシェル型の機種ではなく、携帯電話本体が折りたたまれることのない、いわゆるストレート型の機種の場合にも、本発明によるプログラムの自動起動を行うことができる。かかる場合には、上述した図4のステップS16における携帯電話本体11が展開状態であるか否かの判定を省略することとすればよい。
【0062】
【発明の効果】
以上詳細に説明したように、本発明のプログラムの自動起動方法によれば、携帯電話装置に固有な事情を考慮しつつ、記憶媒体に格納された実行ファイルに応じたプログラムの自動起動を行うことができるという効果を奏する。
【0063】
また、本発明の携帯電話装置によれば、本発明のプログラムの自動起動方法を使用するので、携帯電話装置に固有な事情を考慮しつつ、記憶媒体に格納された実行ファイルに応じたプログラムの自動起動を行うことができるという効果を奏する。
【図面の簡単な説明】
【図1】本発明の一実施形態に係る携帯電話の外観構成を概略的に示す図である。
【図2】図1の携帯電話の機能ブロック図である。
【図3】記憶媒体内のファイル構成を説明するための図である。
【図4】図1の携帯電話おける自動起動処理を説明するためのフローチャートである。
【符号の説明】
10…携帯電話装置、11…携帯電話本体、11A…第1部分、11B…第2部分、12…操作部、13M…メイン表示部、13S…サブ表示部、14…通話用スピーカ、15…マイクロフォン、16…案内用スピーカ、17…アンテナ、18…読取装置、19…挿抜検出器(挿入検出手段)、21…制御部、22…送受信部、23…記憶装置、25…折りたたみ状態検出器、31…実行ファイル判定部(実行ファイル判定手段)、32…未起動判定部(未起動判定手段)、33…待受判定部(待受判定手段)、34…起動部(起動手段)、MCD…記憶媒体。
[0001]
BACKGROUND OF THE INVENTION
The present invention provides a method for automatically starting a program and mobile phone More specifically, an automatic program startup method for automatically starting a program according to an execution file written in a storage medium, and the program automatic startup method are used. Mobile phone equipment It is about.
[0002]
[Prior art]
Traditionally, Mobile phone equipment Is widely spread. Such mobile phone The function and performance of the device have been significantly improved, and in recent years, a reading device for reading the contents stored in a storage medium such as a memory card is provided. mobile phone Devices have also appeared.
[0003]
Such storage media such as memory cards are mobile phone The current situation is that the device is positioned as a memory medium for external storage. That is, at present, storage media such as memory cards are mobile phone Save files that cannot be stored in the internal storage device of the device, mobile phone It has been used for exchanging content data with devices.
[0004]
An execution program file (hereinafter referred to as “execution file”) can also be stored in a storage medium such as a memory card. mobile phone Expansion of executable file stored in storage medium in device The Start (ie execute program) Start process ) mobile phone By operating the operation unit of the apparatus and specifying the execution file, a start command is issued.
[0005]
[Problems to be solved by the invention]
Conventional as described above mobile phone In the apparatus, in order to expand the execution file stored in the inserted storage medium, an activation command by the operation of the operator is indispensable. On the other hand, in a general information processing apparatus such as a personal computer, development of an execution file stored in a storage medium for external storage is automatically started, that is, an execution program related to the execution file is automatically started. Is allowed, and this automatic start function is implemented.
[0006]
in this way, mobile phone In the mobile terminal device such as a mobile phone, the general information is not automatically started up of the execution program related to the execution file stored in the storage medium for external storage as in the general information processing device. This is because there are unique circumstances different from the processing apparatus. In other words, in a mobile terminal device such as a mobile phone, in principle, the processing of incoming voice calls should be given priority over all other processing, and the execution program can be activated like a general information processing device. Storage for external storage because there are circumstances specific to mobile terminal devices, such as the fact that the probability of being in a state where the status and execution status can be displayed and the operator's command can be requested is not high. The execution program related to the execution file stored in the medium was not automatically started.
[0007]
By the way, memory cards, etc. mobile phone A storage medium for external storage readable by the apparatus can be a very effective notification means or advertising means. For example, mobile phone If you want to advertise your company to the device users, distribute your external storage media to store your company's advertisement. mobile phone There is a possibility that the user of the apparatus can be guided. However, display of announcements and advertisement images or sounds mobile phone If you leave it entirely to the operator of the device, you will receive announcements and advertisements. mobile phone It is hard to say that there is a high probability of being able to guide the user of the device.
[0008]
On the other hand, if the execution program related to the execution file stored in the storage medium for external storage can be automatically started, notifications and advertisements are displayed. mobile phone The probability of being able to guide the user of the apparatus is greatly improved. Furthermore, if an execution program related to an execution file stored in a storage medium for external storage can be automatically started, it can be expected that various methods of using a memory card and the like will be pioneered in addition to notifications and advertisements.
[0009]
The present invention has been made in view of the above circumstances, and includes a reading device that reads contents written in a storage medium. mobile phone In the equipment concerned mobile phone Method of automatically starting a program in consideration of circumstances peculiar to the computer, and using the method of automatically starting the program mobile phone An object is to provide an apparatus.
[0010]
In a mobile phone device comprising display means for displaying an image and a reading device for reading the content written in the storage medium, Notification information or advertisement information that is intended to be provided to the user of the mobile phone device is displayed on the mobile phone device as an image or sound. Perform actions provided to users Stored in the storage medium A method for automatically starting a program, wherein the mobile phone device has a storage medium inserted in the reading device. Regularly An insertion detection step for detecting; an execution file determination step for determining whether or not the mobile phone device stores an execution file storing an execution program to be automatically activated in the inserted storage medium; A non-startup determination step in which the mobile phone device determines whether or not the execution program is in a non-startup state of the execution program; and when the mobile phone device is positively determined in the non-startup determination step, the mobile phone device A standby determination step of determining whether or not the telephone device is in a state of displaying a standby screen on the display means; and when the mobile phone is positively determined in the standby determination step, the mobile phone A booting process for launching the executable file, and when the user gives a command to turn off the power of the mobile phone device and when the power is on When the storage medium is removed from the reading device, the mobile phone device enters an unstarted state by turning off the started flag of the execution program, which is a non-volatile internal flag of the mobile phone device. The program automatic start method according to claim 1, wherein when the start of the execution program is completed, the mobile phone device enters a start-up state with the start-up flag turned on.
[0011]
In this program automatic start method, first, in the insertion detection step, it is confirmed that a storage medium is inserted in the reader. Regularly To detect. Subsequently, in the execution file determination step, the execution program to be automatically started on the storage medium detected to be inserted Whether the executable file corresponding to the file is stored Determine whether or not. This determination is performed by, for example, reading the identifier of a file stored in the storage medium and determining whether the identifier indicates that the file is an executable file.
[0012]
Next, in the non-startup determination step, mobile phone Whether the device is in an unstarted state of the execution program Mobile phone device judge. That is, mobile phone It is determined whether or not the execution program has been started after the apparatus is turned on until the present time. When a positive determination is made in this non-startup determination step, in the standby determination step, For display means of mobile phone devices Whether the standby screen is displayed or not By mobile phone device Determined. Here, "standby screen" mobile phone This is a screen that is displayed after initialization processing when the apparatus is turned on, and is a screen that is displayed while waiting for an operator to start an operation, an incoming call, or the like. In this specification, the term “standby screen” is used in this sense.
[0013]
If an affirmative determination is made in the standby determination step, the mobile phone device may Process that is the deployment of I do. As a result, the execution program is automatically started only when the processing such as the voice incoming processing is not performed and the operator is waiting for the start of operation or the incoming call.
Further, in the method for automatically starting the program of the present invention, By user Of the mobile phone device No command to turn off the power And when the storage medium is removed from the reading device while the power is on, the mobile phone device is connected to the mobile phone device. Non-volatile When the startup flag of the execution program, which is an internal flag, is turned off to be in an unstarted state, and the startup of the execution program is completed in the startup step, the mobile phone device is started with the started flag turned on It becomes.
[0014]
Therefore, according to the program startup method of the present invention, Mobile phone equipment It is possible to provide a method for automatically starting a program in consideration of circumstances unique to the system.
[0017]
In the program automatic start method of the present invention, the execution program is stored in the storage medium. And stores contents intended to be provided to users of the mobile communication terminal device. It can be a program that refers only to files. In such a case, the content of the executable file creator must be as intended at the time of creation. Mobile terminal device Can be provided to users.
[0018]
Further, in the program automatic start method of the present invention, the execution program is Contains content that is specified in the execution program and is intended to be provided to the user of the mobile phone device The program can refer to a file on the web. In such a case, the latest content content can be provided even when the content of the content intended by the creator is updated after the execution file is created.
[0019]
Further, in the program automatic startup method of the present invention, when an emergency event having a higher priority than the startup of the execution program occurs during startup of the execution program, The mobile phone device includes: The emergency event processing may be prioritized. In such a case, when an emergency event with a high processing priority such as incoming voice call occurs while the execution program is running, Mobile phone device Suspends execution program startup processing and performs emergency event processing. And Mobile phone device Since the startup process of the execution program is resumed after the emergency event process is completed, it is possible to prevent the process for the emergency event from being hindered by the automatic startup process.
[0020]
The mobile phone device of the present invention is Notification information or advertisement information intended to be provided to the user of the mobile phone device is displayed on the mobile phone device as an image or sound. Perform actions provided to users Stored in a storage medium that can be inserted into the mobile phone device A mobile phone device having a function of automatically starting a program, wherein a display means for displaying an image; a reading device for reading contents written in an inserted storage medium; and a storage medium inserted in the reading device That Regularly Insertion detection means for detecting; execution file determination means for determining whether or not an execution file storing an execution program to be automatically started is stored in the inserted storage medium; and unexecution of the execution program A non-startup determining unit that determines whether or not the display unit is in a state; and whether or not a standby screen is displayed on the display unit when a positive determination is made by the non-startup determination unit. A standby determination unit for determining; and an activation unit that performs activation as expansion of the executable file when a positive determination is made in the standby determination unit, and is provided corresponding to the execution program. The storage medium is removed from the reading device when the user gives a power-off command and while the power is on. Not activated A non-volatile activated flag that is turned off when the activation program is turned on when the activation of the execution program is completed and the activated state is entered. It is.
[0021]
this mobile phone In the apparatus, when the insertion detection unit detects that the storage medium is inserted into the reading device, the execution program to be automatically started on the storage medium detected to be inserted by the execution file determination unit Was stored Executable file is Memory It is determined whether or not it has been done. Subsequently, the non-startup judging means mobile phone It is determined whether or not the apparatus is in an unstarted state of the execution program.
[0022]
If a positive determination is made by the non-startup determination means, the standby determination means determines whether or not the standby screen is being displayed on the display means. When a positive determination is made by the standby determination unit, the execution file is executed by the activation unit. The startup process that is the deployment of .
In the mobile phone device of the present invention, provided corresponding to the execution program, The user is not required to turn off the power. And when the storage medium is removed from the reader while the power is on Non-volatile The activation means turns on the activated flag when the activation of the execution program is completed.
[0023]
That is, the cellular phone device of the present invention is inserted using the above-described method for automatically starting the program of the present invention. ing Executable files stored on storage media Perform automatic startup to deploy . Therefore, according to the mobile phone device of the present invention, it is possible to perform an automatic program activation method in consideration of circumstances unique to the mobile phone device.
[0024]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an embodiment of the present invention will be described with reference to FIGS.
[0025]
In FIG. 1 and FIG. 2, an automatic program startup method according to an embodiment is used. Mobile phone 10 The structure of is schematically shown. Here, FIG. 1A shows a front view of the appearance of the mobile phone 10, and FIG. 1B shows a rear view of the appearance of the mobile phone 10. FIG. 2 shows a functional block configuration of the mobile phone 10.
[0026]
As comprehensively shown in FIGS. 1 and 2, the mobile phone 10 includes a mobile phone body 11 including a control unit 21, a transmission / reception unit 22, a storage device 23, and a folding state detector 25 (see FIG. 2). Yes. Here, the mobile phone body 11 is composed of a first portion 11A and a second portion 11B, and the first portion 11A and the second portion 11B are connected via a rotation mechanism unit 19. Yes. The first portion 11A and the second portion 11B on both sides of the rotation mechanism portion 19 can be rotated relatively with the rotation mechanism portion 19 as a rotation axis. As a result, the surface of the first portion 11A shown in FIG. 1A (hereinafter referred to as “display surface”) and the surface of the second portion 11B shown in FIG. 1A (hereinafter referred to as “operation surface”). The mobile phone main body 11 can be folded in a state in which the mobile phone main body 11 is folded, or the mobile phone main body 11 can be expanded as shown in FIG. That is, the mobile phone 10 is a so-called clamshell mobile phone. Whether or not the cellular phone main body 11 is in the folded state is sequentially detected by the folding state detector 25, and the detection result is sequentially sent to the control unit 21.
[0027]
In addition, the mobile phone 10 includes a liquid crystal display device that is disposed on the display surface side of the first portion 11 </ b> A and displays operation guidance, operation statuses, received messages, and the like according to instructions from the control unit 21. A main display unit 13M and (c) a call speaker 14 that reproduces an audio signal transmitted from a communication partner during a call are provided.
[0028]
Further, the mobile phone 10 controls various commands such as (d) a numeric keypad that is provided on the operation surface side of the second portion 11B for inputting a telephone number or the like to the control unit 21 and switching of an operation mode. An operation unit 12 having function keys for inputting to the unit 21 and (e) a microphone 15 for inputting voice during a call are provided.
[0029]
Further, the mobile phone 10 is arranged on the opposite side of the display surface side of the first portion 11A, and (f) a guidance speaker 16 for generating a ringtone or a guidance sound in response to a command from the control unit 21. And (g) a sub display unit 13S having a liquid crystal display device that displays an auxiliary display such as a time display in response to a command from the control unit 21. In the present embodiment, the standby event screen, the basic event processing program screen as a mobile phone corresponding to an event such as an incoming call, and the application program screen are not displayed on the sub display unit 13S, but the main table described above. It is displayed only on the part 13M.
[0030]
In addition, the mobile phone 10 includes (h) an antenna 17 that is connected to the transmission / reception unit 22 and transmits / receives a radio signal to / from the base station, and (j) a memory disposed in the second portion 11B. And a reader 18 for data stored in a storage medium MCD such as a card. Furthermore, the cellular phone 10 detects (k) an insertion / extraction detector 19 (see FIG. 2) that detects the insertion of the storage medium MCD into the reading device 18 and the removal of the storage medium MCD from the reading device 18 and notifies the control unit 21 of the insertion. It has.
[0031]
The control unit 21 includes a central processing unit (CPU), a digital signal processing unit (DSP), a random access memory (RAM), and a read only memory (ROM), and realizes a general mobile phone function. In addition, various data processing is performed, and operation control of other components described above is performed.
[0032]
Further, as shown in FIG. 2, the control unit 21 (i) whether or not an execution file and a reference file corresponding to an execution program to be automatically started are stored in the storage medium MCD inserted into the reading device 18. And (ii) an unstarted determination unit 32 for determining whether or not the executable file is in an unstarted state. Here, the determination as to whether or not it is in the inactive state is made by referring to the on / off of the activated flag placed in the control unit 21 or the storage device 23. Then, the unstarted determination unit 32 determines that it is not in the started state, that is, the unstarted state when the started flag is on, and determines that it is in the unstarted state when the started flag is off. It has become.
[0033]
Further, the control unit 21 (iii) the state of the mobile phone 10 is a state in which the standby screen is displayed on the main display unit 13M and the mobile phone body 11 is not folded, that is, the operator displays the main display. A standby determination unit 33 for determining whether or not the standby screen displayed on the unit 13M can be viewed, and (iv) automatic execution of the execution program by automatically expanding the execution file. And an activation unit 34 for performing the operation.
[0034]
In the present embodiment, the executable file determination unit 31, the non-activation determination unit 32, the standby determination unit 33, and the activation unit 34 are configured as programs that are executed by the control unit 21 according to the function of each unit.
[0035]
Next, the automatic startup operation of the program according to the contents stored in the storage medium MCD by the mobile phone 10 configured as described above will be described.
[0036]
As a premise, it is assumed that an execution file EXF and a reference file RFF are stored in the storage medium MCD as shown in FIG. Further, as shown in FIG. 3B, the execution file EXF is an execution file identifier IDF indicating that the execution file is to be automatically started, and a reference file pointer RPF indicating the storage location of the reference file to be referred to. Including. Further, it is assumed that the data in the execution file EXF is encrypted by a predetermined method. Note that the execution file EXF is required to exist in a predetermined directory (hereinafter referred to as “automatic start directory”) in the storage medium MCD.
[0037]
The cellular phone 10 performs automatic program startup processing according to the contents stored in the storage medium MCD as follows.
[0038]
The automatic program activation process according to the contents stored in the storage medium MCD is started when one of the following two conditions is satisfied. The first condition is that the power of the mobile phone 10 is turned on and the power of the mobile phone 10 is turned on from the state in which the storage medium MCD is not inserted in the reader 18, and the storage medium MCD is inserted in the reader 18. It is a transition to the current state. The second condition is that the mobile phone 10 is turned off and the mobile phone 10 is turned on from the state in which the storage medium MCD is inserted in the reading device 18. Is a transition to the state where is inserted. Such a state transition is recognized by the control unit 21 based on the detection result of the insertion / extraction detector 19. In the present embodiment, when there are two types of state transitions that are the above two conditions, the insertion / extraction detector 19 notifies the control unit 21 of a kind of interrupt processing request signal, Upon receiving the notification, the control unit 21 performs an automatic program activation process as an interrupt response process.
[0039]
When the automatic program startup process is started in this manner, first, in step S11 of FIG. 4, the execution file determination unit 31 determines whether or not a file estimated as an execution file, that is, an execution file candidate exists in the storage medium MCD. Determine. This determination is performed by the execution file determination unit 31 reading the directory information in the storage medium MCD and checking whether or not at least one file is included in the automatic startup directory. If a negative determination is made in step S11, the process ends without performing automatic program startup.
[0040]
If a positive determination is made in step S11, the process proceeds to step S12. In step S12, the executable file determination unit 31 reads the contents of the executable file candidate contained in the automatic startup directory, and performs decryption according to the encryption method that should have been used when the file is the executable file EXF correctly. Do. Subsequently, the execution file determination unit 31 determines whether there is an execution file in the automatic startup directory depending on whether or not there is an execution identifier IDF indicating that the program should be automatically started at the position of the execution identifier IDF in the decryption result. It is determined whether or not there is a normal executable file EXF among the estimated executable file candidates. If a negative determination is made in step S12, the process ends without performing automatic program startup.
[0041]
If a positive determination is made in step S12, the process proceeds to step S13. In step S12, the execution file determination unit 31 determines whether or not the reference file RFF exists at the position indicated by the reference file pointer RFP of the execution file EXF. If a negative determination is made in step S13, the process ends without performing automatic program startup.
[0042]
If a positive determination is made in step S13, the process proceeds to step S14. In step S <b> 14, the non-activation determination unit 32 determines whether the above-described activated flag is on, thereby determining whether the mobile phone 10 is in an activated state or an unactivated state. . If an affirmative determination is made in step S14, that is, it is determined that the mobile phone 10 is in an activated state, the process ends without performing automatic program activation.
[0043]
If a negative determination is made in step S14, the process proceeds to step S15. In step S <b> 15, the standby determination unit 33 is in a state where the mobile phone 10 displays a standby screen on the main display unit 13 </ b> M, that is, an incoming call process or a process according to an operation of the operation unit 12 by the operator. It is determined whether or not there is no state. If a negative determination is made in step S15, the process of step S15 is repeated again. That is, the mobile phone 10 waits until the standby screen is displayed on the main display unit 13M.
[0044]
If a positive determination is made in step S15, the process proceeds to step S16. In step S <b> 16, the standby determination unit 33 determines whether or not the mobile phone body 11 is not folded. Such determination is performed by the standby determination unit 33 referring to the detection result of the folding state detector 25. If a negative determination is made in step S16, the process of step S16 is repeated again. That is, it waits until the mobile phone body 11 is in the unfolded state.
[0045]
If a positive determination is made in step S16, the process proceeds to step S17. In step S17, the activation unit 34 activates a program corresponding to the execution file EXF by expanding the execution file EXF. If an event with a higher priority than the expansion process of the execution file EXF, such as a voice incoming call, occurs during the startup, the startup process is temporarily interrupted, and the voice incoming call process etc. is executed with priority on the higher priority process. To do. When the high priority processing is completed, the expansion processing of the executable file EXF is resumed.
[0046]
In this way, the executable file EXF Expanded, When the activation process is completed, in step S18, the activation unit 34 turns on the activated flag. Thereafter, the program automatic activation process is terminated.
[0047]
The activated flag used in the automatic activation process described above is turned off when one of the following two conditions is satisfied. The first condition for turning off the activated flag is that a command is issued to make a transition from the power-on state of the mobile phone 10 to the power-off state of the mobile phone 10. This state transition is recognized by the control unit 21 when the power-off command is given by the operation of the operation unit 12 by the operator. Then, the control unit 21 sets the activated flag to off after recognizing the power-off command and before turning off the power. It should be noted that the activated flag is set off in the first condition regardless of whether the activated flag at that time is on or off.
[0048]
The second condition for turning off the activated flag is that the power supply of the mobile phone 10 is turned on and the power supply of the mobile phone 10 is turned on from the state where the storage medium MCD is inserted in the reading device 18. 18 indicates that the storage medium MCD has been removed. This state transition is recognized by the control unit 21 based on the detection result by the insertion / extraction detector 19.
[0049]
When the mobile phone 10 is shipped from the factory, the activated flag is always set to off.
[0050]
As described above, in the mobile phone 10 according to the present embodiment, when the insertion detector 25 detects that the storage medium MCD is inserted in the reading device 18, it is inserted by the execution file determination unit 31. Program to be automatically started on the storage medium MCD detected to be Stowed Executable file EXF Memory It is determined whether or not it has been done. If this determination is affirmative, the non-startup determination unit 32 mobile phone It is determined whether or not the device 10 is in an unstarted state of the execution program. When a positive determination is made by the non-start determination unit 32, the standby determination unit 33 On the main display 13M It is determined whether or not the standby screen is being displayed. When the standby determination unit 33 makes a positive determination, the starter 34 starts the execution program.
[0051]
Therefore, according to the present embodiment, it is possible to automatically start a program according to an execution file stored in the storage medium MCD while taking into consideration circumstances unique to the mobile phone 10.
[0053]
Further, in the present embodiment, when the power of the mobile phone 10 is turned off and when the storage medium MCD is removed from the reading device 18 while the power is on, the mobile phone 10 depends on the execution file stored in the storage medium MCD. The program is transitioned to the unstarted state and the started flag is turned off. Further, when the activation of the program corresponding to the execution file stored in the storage medium MCD is completed, the program is shifted to the activated state and the activated flag is turned on. Therefore, Mobile phone power supply After is turned on Alternatively, after the storage medium MCD is inserted into the reading device 18, Until the power is turned off, the program corresponding to the execution file stored in the storage medium MCD can be automatically started only once.
[0054]
In the present embodiment, the program corresponding to the execution file EXF stored in the storage medium MCD is a program that refers only to the file stored in the storage medium MCD. Therefore, the creator of the execution file EXF can provide the mobile phone user with the content as intended at the time of creation.
[0055]
In the present embodiment, when an emergency event having a higher priority than the activation of the program occurs during the activation of the program corresponding to the execution file EXF stored in the storage medium MCD, the emergency event processing is prioritized. To do. Therefore, when an emergency event with a high processing priority such as incoming voice call occurs during the activation of the program, the activation process of the program is interrupted and the emergency event is processed. Then, after the processing of the emergency event is completed, the activation processing of the program is resumed. Accordingly, it is possible to prevent the processing for the emergency event from being hindered by the automatic activation processing.
[0056]
In the above embodiment, the program corresponding to the execution file EXF stored in the storage medium MCD is a program that refers only to the file stored in the storage medium MCD. However, the program is a file on the web. It can be a program to be referred to. In this case, even when the content of the content intended by the creator is updated when the execution file EXF is created, the latest content can be provided.
[0057]
In the above embodiment, only one reference file is specified in the execution file EXF. However, a plurality of reference files can be specified. In this case, a program corresponding to the execution file EXF may refer to a plurality of reference files sequentially (for example, sequentially every time specified separately).
[0058]
In the above embodiment, the insertion / extraction detector 19 generates a kind of interrupt signal to the control unit 21. On the other hand, the insertion / extraction detector 19 may sequentially notify the control unit 21 whether or not the storage medium MCD is inserted. In this case, the control unit 21 periodically refers to the detection result by the insertion / extraction detector 19 and recognizes a change in the reference result, thereby recognizing the state transition between the unactivated state and the activated state. You just have to do it.
[0059]
In the above embodiment, the standby screen is displayed only on the main display unit 13M. However, in the state in which the sub display unit 13S has sufficient display capability and the mobile phone body 11 is folded. Even in the case of a model in which a standby screen or the like is also displayed on the sub display unit 13, the program according to the present invention can be automatically started. In such a case, whether or not the standby screen is displayed on the main display unit 13M or the sub display unit 13S in the determination of whether or not the standby screen is displayed in step 15 of FIG. 4 described above. And the determination of whether or not the mobile phone body 11 is in the unfolded state in step S16 in FIG. 4 can be omitted.
[0060]
In addition, the program according to the present invention can be automatically started even when the mobile phone is not a clamshell type model and the mobile phone body is not folded. In such a case, the determination as to whether or not the mobile phone body 11 is in the unfolded state in step S16 of FIG. 4 described above may be omitted.
[0062]
【The invention's effect】
As described above in detail, according to the program automatic start method of the present invention, mobile phone There is an effect that it is possible to automatically start a program corresponding to an execution file stored in a storage medium while taking into consideration circumstances unique to the apparatus.
[0063]
In addition, the present invention mobile phone According to the apparatus, since the method for automatically starting the program of the present invention is used, mobile phone There is an effect that it is possible to automatically start a program corresponding to an execution file stored in a storage medium while taking into consideration circumstances unique to the apparatus.
[Brief description of the drawings]
FIG. 1 is a diagram schematically showing an external configuration of a mobile phone according to an embodiment of the present invention.
FIG. 2 is a functional block diagram of the mobile phone of FIG.
FIG. 3 is a diagram for explaining a file configuration in a storage medium.
4 is a flowchart for explaining an automatic activation process in the mobile phone of FIG. 1;
[Explanation of symbols]
10 ... Mobile phone equipment 11 ... Mobile phone body, 11A ... 1st part, 11B ... 2nd part, 12 ... Operation part, 13M ... Main display part, 13S ... Sub display part, 14 ... Call speaker, 15 ... Microphone, 16 ... For guidance Speaker, 17 ... antenna, 18 ... reading device, 19 ... insertion / removal detector (insertion detection means), 21 ... control unit, 22 ... transmission / reception unit, 23 ... storage device, 25 ... folded state detector, 31 ... executed file determination unit (Execution file determination means), 32... Unstarted determination section (unstarted determination means), 33... Standby determination section (standby determination means), 34.

Claims (5)

画像を表示する表示手段と、記憶媒体に書き込まれた内容を読み取る読取装置を備える携帯電話装置において、前記携帯電話装置の利用者に対して提供することを意図する告知情報又は広告情報を、画像又は音声により前記携帯電話装置の利用者に提供する動作を実行する、前記記憶媒体に記憶されたプログラムの自動起動方法であって、
前記携帯電話装置が、前記読取装置に記憶媒体が挿入されていることを定期的に検出する挿入検出工程と;
前記携帯電話装置が、前記挿入されている記憶媒体に自動起動されるべき実行プログラムが収納された実行ファイルが記憶されているか否かを判定する実行ファイル判定工程と;
前記携帯電話装置が前記実行プログラムの未起動状態にあるか否かを、前記携帯電話装置が判定する未起動判定工程と;
前記未起動判定工程において肯定的な判定がなされたときに、前記携帯電話装置が、前記表示手段に待受画面を表示している状態であるか否かを判定する待受判定工程と;
前記待受判定工程において肯定的な判定がなされたときに、前記携帯電話装置が、前記実行ファイルの展開である起動を行う起動工程と;を備え、
利用者により前記携帯電話装置の電源のオフの指令がなされたとき、及び、前記電源がオン中に前記読取装置から前記記憶媒体が除去されたときに、前記携帯電話装置が、前記携帯電話装置の不揮発性の内部フラグである前記実行プログラムの起動済フラグをオフとして未起動状態となり、前記起動工程において前記実行プログラムの起動が完了したときに、前記携帯電話装置が、前記起動済フラグをオンとして起動済状態となる、
ことを特徴とするプログラムの自動起動方法。
In a mobile phone device comprising display means for displaying an image and a reading device for reading the content written in a storage medium, notification information or advertisement information intended to be provided to a user of the mobile phone device Or a method for automatically starting a program stored in the storage medium, which executes an operation provided to a user of the mobile phone device by voice ,
An insertion detection step in which the mobile phone device periodically detects that a storage medium is inserted into the reader;
An execution file determination step of determining whether or not the mobile phone device stores an execution file storing an execution program to be automatically activated in the inserted storage medium;
An unstarted determination step in which the mobile phone device determines whether the mobile phone device is in an unstarted state of the execution program;
A standby determination step of determining whether or not the mobile phone device is displaying a standby screen on the display means when a positive determination is made in the non-startup determination step;
An activation step in which, when a positive determination is made in the standby determination step, the mobile phone device performs an activation that is an expansion of the executable file;
When the user gives an instruction to turn off the power of the mobile phone device, and when the storage medium is removed from the reading device while the power is on, the mobile phone device becomes the mobile phone device. When the startup flag of the execution program, which is a non-volatile internal flag, is turned off to enter an unstarted state, and the startup of the execution program is completed in the startup process, the mobile phone device turns on the startup flag. As the activated state,
A method for automatically starting a program.
前記実行プログラムは、前記記憶媒体に格納されるとともに、前記移動通信端末装置の利用者への提供を意図したコンテンツを収納したファイルのみを参照するプログラムである、ことを特徴とする請求項1に記載のプログラムの自動起動方法。The execution program Rutotomoni stored in the storage medium, wherein a mobile communication terminal apparatus referring to program only the files accommodating the intended contents provision to users of it in claim 1, wherein The automatic starting method of the described program. 前記実行プログラムは、前記実行プログラムにおいて指定され、前記携帯電話装置の利用者への提供を意図したコンテンツを収納したウエブ上のファイルを参照するプログラムである、ことを特徴とする請求項1に記載のプログラムの自動起動方法。The said execution program is a program which is designated in the said execution program and is a program which refers to the file on the web which stored the content which intends to provide to the user of the said mobile telephone apparatus. To automatically start the program. 前記実行プログラムの起動中に、前記実行プログラムの起動よりも優先度の高い緊急イベントが発生したときには、前記携帯電話装置は、前記緊急イベントの処理を優先する、ことを特徴とする請求項1〜3のいずれか一項に記載のプログラムの自動起動方法。  The mobile phone device prioritizes the processing of the emergency event when an emergency event with a higher priority than the startup of the execution program occurs during the execution of the execution program. 4. The method for automatically starting a program according to any one of 3 above. 携帯電話装置の利用者に対して提供することを意図する告知情報又は広告情報を、画像又は音声により携帯電話装置の利用者に提供する動作を実行する、前記携帯電話装置に挿入可能な記憶媒体に記憶されたプログラムの自動起動機能を有する携帯電話装置であって、
画像が表示される表示手段と;
挿入された記憶媒体に書き込まれた内容を読み取る読取装置と;
前記読取装置に記憶媒体が挿入されていることを定期的に検出する挿入検出手段と;
前記挿入されている記憶媒体に自動起動されるべき実行プログラムが収納された実行ファイルが記憶されているか否かを判定する実行ファイル判定手段と;
前記実行プログラムの未起動状態にあるか否かを判定する未起動判定手段と;
前記未起動判定手段により肯定的な判定がなされたときに、前記表示手段に待受画面を表示している状態にあるか否かを判定する待受判定手段と;
前記待受判定手段において肯定的な判定がなされたときに、前記実行ファイルの展開である起動を行う起動手段と;を備え、
前記実行プログラムに対応して設けられ、利用者により電源のオフの指令がなされたとき、及び、前記電源がオン中に前記読取装置から前記記憶媒体が除去されて未起動状態となったときにオフとされる不揮発性の起動済フラグを、前記実行プログラムの起動が完了して起動済状態となったときに、前記起動手段がオンとする、
ことを特徴とする携帯電話装置。
A storage medium that can be inserted into the mobile phone device for executing an operation of providing notification information or advertisement information intended to be provided to the user of the mobile phone device to the user of the mobile phone device by image or sound A mobile phone device having an automatic start function of a program stored in
Display means for displaying images;
A reading device for reading the content written in the inserted storage medium;
Insertion detecting means for periodically detecting that a storage medium is inserted into the reading device;
Execution file determination means for determining whether or not an execution file storing an execution program to be automatically started is stored in the inserted storage medium;
Non-startup determining means for determining whether or not the execution program is in a non-startup state;
Standby determination means for determining whether or not the standby screen is being displayed on the display means when a positive determination is made by the non-startup determination means;
An activation means for performing activation, which is expansion of the executable file, when a positive determination is made in the standby determination means;
Provided corresponding to the execution program, when the user gives an instruction to turn off the power, and when the storage medium is removed from the reading device while the power is on and is in an unstarted state A non-volatile activated flag to be turned off, the activation means is turned on when the activation of the execution program is completed and activated.
A cellular phone device characterized by that.
JP2003130953A 2003-05-09 2003-05-09 Method for automatically starting program and mobile phone device Expired - Fee Related JP4327499B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003130953A JP4327499B2 (en) 2003-05-09 2003-05-09 Method for automatically starting program and mobile phone device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003130953A JP4327499B2 (en) 2003-05-09 2003-05-09 Method for automatically starting program and mobile phone device

Publications (2)

Publication Number Publication Date
JP2004334609A JP2004334609A (en) 2004-11-25
JP4327499B2 true JP4327499B2 (en) 2009-09-09

Family

ID=33506254

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003130953A Expired - Fee Related JP4327499B2 (en) 2003-05-09 2003-05-09 Method for automatically starting program and mobile phone device

Country Status (1)

Country Link
JP (1) JP4327499B2 (en)

Also Published As

Publication number Publication date
JP2004334609A (en) 2004-11-25

Similar Documents

Publication Publication Date Title
JP5213353B2 (en) COMMUNICATION TERMINAL, COMMUNICATION TERMINAL CONTROL METHOD, COMMUNICATION DEVICE, AND COMMUNICATION DEVICE CONTROL METHOD
EP1463279B1 (en) Terminal device with suspend/resume function and related computer program product
EP3037913A1 (en) Method for performing power-saving mode in electronic device and electronic device therefor
JP5741095B2 (en) Wireless communication apparatus and power saving control method
JP2001519558A (en) How to process information using Personal Communication Assistant
JP2003169372A (en) Portable communication apparatus
JP2007316721A (en) Mobile terminal
JP2008199221A (en) Information processor
JP2008186167A (en) Electronic device and control method in electronic device
WO2023165326A1 (en) Vehicle-based information exchange method, head unit end, storage medium, and vehicle
US8280440B2 (en) Mobile terminal device capable of restoring an original function
JP2007265026A (en) Cellular phone, e-mail information display method and e-mail information display program
EP2455849A2 (en) Apparatus and method for providing electronic book function in portable terminal
KR20150085325A (en) Mobile terminal and operating method thereof
JP2009200722A (en) Portable terminal and backup data read program thereof
JP4327499B2 (en) Method for automatically starting program and mobile phone device
KR20050105842A (en) Method and apparatus that display message in idle state of mobile phone
CN109254797B (en) Mobile terminal, starting control method thereof and storage medium
JP4477035B2 (en) Mobile communication terminal
JP4435173B2 (en) Information display device, information display method, program for causing computer to function as information display device, and recording medium
KR100618324B1 (en) Method for displaying input character in portable terminal
JP4510746B2 (en) Mobile phone with personal computer function
US20040241632A1 (en) Karaoke service method and system by mobile device
JP2009146206A (en) Multi-application execution device, multi-application execution support method and program
JP4022168B2 (en) Mobile communication device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051124

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080311

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080717

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080912

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081022

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081219

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090212

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090410

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: 20090513

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090611

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120619

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120619

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140619

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees