JP4709717B2 - Script execution control method and communication terminal device - Google Patents
Script execution control method and communication terminal device Download PDFInfo
- Publication number
- JP4709717B2 JP4709717B2 JP2006251224A JP2006251224A JP4709717B2 JP 4709717 B2 JP4709717 B2 JP 4709717B2 JP 2006251224 A JP2006251224 A JP 2006251224A JP 2006251224 A JP2006251224 A JP 2006251224A JP 4709717 B2 JP4709717 B2 JP 4709717B2
- Authority
- JP
- Japan
- Prior art keywords
- script
- file
- execution
- execution mode
- predetermined
- 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
Description
本発明は、スクリプト設定方法及び通信端末装置に係り、より詳しくは、通信端末装置において、ウェブサーバから取得したファイル内に含まれるスクリプトの実行を制御するスクリプト実行制御方法、及び、当該スクリプト実行制御方法を使用する通信端末装置に関するものである。 The present invention relates to a script setting method and a communication terminal device. More specifically, in the communication terminal device, a script execution control method for controlling execution of a script included in a file acquired from a web server, and the script execution control. The present invention relates to a communication terminal apparatus using the method.
従来から、コンピュータや携帯電話装置の社会への普及が目覚しい。それに伴い、ウェブアクセス環境も整備されている。ところで、ウェブサイトにアクセスする際には、当該ウェブサイトを提供するウェブサーバより、ウェブサイトの内容を表すファイルであるHTML(Hyper Text Markup Language)ファイルをダウンロードし、通信端末装置上にて当該HTMLファイルを解析し、その結果を表示する仕組みになっている。 Conventionally, the spread of computers and mobile phone devices to society has been remarkable. Along with this, a web access environment has also been established. By the way, when accessing a website, an HTML (Hyper Text Markup Language) file, which is a file representing the contents of the website, is downloaded from a web server that provides the website, and the HTML on the communication terminal device. The file is analyzed and the result is displayed.
当該HTMLファイル内には、ウェブサイトを再現するための言語であるタグと呼ばれる予約語が主に記述されているが、その他に簡素なプログラム言語であるスクリプトが記述されていることがある。スクリプトの多くはウェブサイトを動的に生成するために利用され、ウェブサイトの機能を高めている。しかし、スクリプトは、悪意を持った作成者により、利用者の通信端末装置にとって害のある動きをするように記述することもでき、また、直接害をなすものではなくてもセキュリティ上問題のあるような動きに繋がる記述もされ得る。 In the HTML file, reserved words called tags, which are languages for reproducing websites, are mainly described. In addition, scripts that are simple programming languages may be described. Many of the scripts are used to dynamically create websites and enhance the functionality of the website. However, the script can be written by a malicious creator so as to be harmful to the user's communication terminal device, and there is a security problem even if it does not cause harm directly. A description that leads to such a movement can also be made.
このような状況により、利用者がスクリプトの実行を必ずしも希望しない場合もある。以下の非特許文献1では、ある移動通信端末装置の機種において、スクリプトの実行を行うか否かを選択できるようになっていることが示されている。
In such a situation, the user may not always want to execute the script. The following Non-Patent
スクリプトを単純に有効にしてしまうと、セキュリティ上問題が生じる可能性を否定できない。一方で、全くの無効にしてしまうと快適なウェブアクセスに支障がでる。このように、有効か無効のいずれかのみしか選択できない状態は、利用者にとって不便である。 If the script is simply enabled, the possibility of security problems cannot be denied. On the other hand, if it is completely disabled, comfortable web access will be hindered. Thus, it is inconvenient for the user to select only valid or invalid.
本発明は、スクリプトの合理的な実行制御を行うことができるスクリプト実行制御方法及び移動通信端末装置を提供することを目的とする。 An object of this invention is to provide the script execution control method and mobile communication terminal device which can perform rational execution control of a script.
本発明は、第1の観点からいって、通信端末装置において、ウェブサーバから取得したファイル内に含まれるスクリプトの実行を制御するスクリプト実行制御方法であって、前記ウェブサーバからダウンロードされ、特定ウェブサイトの内容を表すファイル内におけるスクリプトの実行に関する複数のモードの内の1つをスクリプト実行モードに設定するスクリプト実行モード設定工程と;前記ファイルをダウンロードするファイル取得工程と;通信の実行を伴う通信スクリプトを少なくとも含む所定スクリプトの実行に際して利用者の確認を必要とする確認実行モードが前記スクリプト実行モードとして設定されているときに、前記ファイルに前記所定スクリプトが含まれているか否かを判定するスクリプト判定工程と;前記スクリプト判定工程における判定の結果が肯定的であった場合に、前記所定スクリプトを実行するか否かの問合せを利用者に対して行う問合せ工程と;前記問合せに対して、前記所定スクリプトを実行することが選択されたことを検出した場合には、前記ファイルの展開に際して、前記所定スクリプトを実行するスクリプト実行工程と;を備え、前記複数のモードには、前記確認実行モードに加えて、前記ファイル内におけるいずれのスクリプトも実行しないスクリプト非実行モード、及び、前記ファイル内における全てのスクリプトについて、利用者の確認なしで実行する全スクリプト実行モードが更に含まれる、ことを特徴とするスクリプト実行制御方法である。 According to a first aspect of the present invention, there is provided a script execution control method for controlling execution of a script included in a file acquired from a web server in a communication terminal device, the script execution control method being downloaded from the web server, A script execution mode setting step for setting one of a plurality of modes relating to script execution in a file representing the contents of the site to a script execution mode; a file acquisition step for downloading the file; and communication involving communication execution when during at least including execution of a predetermined script script check execution mode that requires identification of the user is set as the script execution mode, the script determines whether contains the predetermined script into the document A determination step; An inquiry step of inquiring a user whether or not to execute the predetermined script when a result of determination in the step is affirmative; executing the predetermined script with respect to the inquiry; A script execution step of executing the predetermined script when the file is expanded when the selection is detected, and the plurality of modes include a confirmation execution mode in addition to the confirmation execution mode. A script execution control method characterized by further including a script non-execution mode that does not execute any script and an all script execution mode that executes all scripts in the file without user confirmation. .
このスクリプト実行制御方法では、ウェブサーバからの特定ウェブサイトの内容を表すファイルのダウンロードに先立って、スクリプト実行モード設定工程において、当該ファイル内におけるスクリプトの実行に関する複数のモードの内の1つをスクリプト実行モードに設定する。ここで、当該複数のモードには、通信の実行を伴う通信スクリプトを少なくとも含む所定スクリプトの実行に際して利用者の確認を必要とする確認実行モード、ファイル内におけるいずれのスクリプトも実行しないスクリプト非実行モード、及び、ファイル内における全てのスクリプトについて、利用者の確認なしで実行する全スクリプト実行モードが含まれている。
そして、ウェブサイトにアクセスするに際しては、まず、ファイル取得工程において、当該ウェブサイトを格納するウェブサーバより、当該ウェブサイトの内容を表すファイルをダウンロードする。
In this script execution control method, prior to downloading a file representing the contents of a specific website from a web server, in the script execution mode setting step, one of a plurality of modes related to script execution in the file is scripted. Set to execution mode. Here, the plurality of modes include a confirmation execution mode that requires user confirmation when executing a predetermined script including at least a communication script accompanying communication execution, and a script non-execution mode that does not execute any script in the file. All script execution modes that are executed without user confirmation are included for all scripts in the file.
Then, on the occasion to access the web site, first in the file acquisition step, from the web server that stores the web site to download the file representing the content of the website.
次に、確認実行モードがスクリプト実行モードとして設定されているときに、スクリプト判定工程において、ファイル取得工程で取得したファイル中に、利用者の確認を必要とする所定のスクリプトが記述されているか否かを判定する。 Next, when the confirmation execution mode is set as the script execution mode, whether or not a predetermined script that requires user confirmation is described in the file acquired in the file acquisition step in the script determination step Determine whether.
スクリプト判定工程における判定の結果が肯定的である場合は、所定のスクリプトが当該ファイル内に記述されていることを意味する。この場合には、所定のスクリプトを実行することで利用者に対して不利益となることもありうるので、問合せ工程において、所定スクリプトを実行するか否かの問合せを利用者に対して行う。 If the determination result in the script determination step is affirmative, it means that a predetermined script is described in the file. In this case, it may be disadvantageous to the user by executing the predetermined script. Therefore, in the inquiry step, the user is inquired whether to execute the predetermined script.
問合せ工程において、所定スクリプトを実行することが選択されたことを検出した場合には、スクリプト実行工程において、当該ファイルの展開に際して所定スクリプトを実行する。このため、通信を伴うスクリプトを含む所定のスクリプトがファイルに含まれる際に、その存在を検知し、利用者に対して実行の是非を問合せることで、利用者にとって不利益とならないようなスクリプトの実行制御が可能となる。 If it is detected in the inquiry step that execution of the predetermined script is selected, the predetermined script is executed when the file is expanded in the script execution step. For this reason, when a script containing a script with communication is included in the file, the existence of the script is detected, and the user is asked whether to execute the script. Execution control is possible.
したがって、本発明のスクリプト実行制御方法によれば、通信端末装置における合理的なスクリプトの実行制御を行うことができる。
また、確認実行モード、スクリプト非実行モード、及び、全スクリプト実行モードを含む複数のモードが用意され、当該複数のモードのうちから1つ選択することができるので、利用者の便宜が図られる。
Therefore, according to the script execution control method of the present invention, it is possible to perform rational script execution control in the communication terminal device.
In addition, a plurality of modes including a confirmation execution mode, a script non-execution mode, and an all script execution mode are prepared, and one of the plurality of modes can be selected, which is convenient for the user.
本発明のスクリプト実行制御方法では、前記確認実行モードには、前記所定スクリプトが、前記ファイル内における全てのスクリプトである毎回確認モード、及び、前記所定スクリプトが、前記ファイル内における前記通信スクリプトのみである通信スクリプト確認モードが含まれる、こととすることができる。 In the script execution control method of the present invention, the confirmation execution mode includes the confirmation mode every time the predetermined script is all scripts in the file , and the predetermined script is only the communication script in the file. A communication script confirmation mode may be included .
本発明は、第2の観点からいって、ウェブサーバから特定ウェブサイトの内容を表すファイルをダウンロードするファイル取得手段と;前記ファイル内におけるスクリプトの実行に関する複数のモードの内の1つをスクリプト実行モードに設定するスクリプト実行モード設定手段と;通信の実行を伴う通信スクリプトを少なくとも含む所定スクリプトの実行に際して利用者の確認を必要とする確認実行モードが前記スクリプト実行モードとして設定されているときに、前記ファイルに前記所定スクリプトが含まれているか否かを判定するスクリプト判定手段と;前記スクリプト判定手段による判定の結果が肯定的であった場合に、前記所定スクリプトを実行するか否かの問合せを利用者に対して行う問合せ手段と;
前記問合せに対して、前記所定スクリプトを実行することが選択されたことを検出した場合には、前記ファイルの展開に際して、前記所定スクリプトを実行するスクリプト実行手段と;を備え、前記複数のモードには、前記確認実行モードに加えて、前記ファイル内におけるいずれのスクリプトも実行しないスクリプト非実行モード、及び、前記ファイル内における全てのスクリプトについて、利用者の確認なしで実行する全スクリプト実行モードが更に含まれる、ことを特徴とする通信端末装置である。
According to a second aspect of the present invention, there is provided a file acquisition means for downloading a file representing the contents of a specific website from a web server; and script execution in one of a plurality of modes related to script execution in the file and script execution mode setting means for setting a mode; when the check execution mode to a communication script with the execution of the communication require identification of the user during execution of the predetermined script including at least is set as the script execution mode, Script determination means for determining whether or not the predetermined script is included in the file; and an inquiry as to whether or not to execute the predetermined script when a result of determination by the script determination means is affirmative Inquiry means for users;
With respect to the inquiry, if performing said predetermined script is detected that the selected, upon expansion of said file, a script executing means for executing a predetermined script; includes a, the plurality of modes In addition to the confirmation execution mode, there are a script non-execution mode that does not execute any script in the file, and an all script execution mode that executes all scripts in the file without user confirmation. It is a communication terminal device characterized by being included .
この通信端末装置では、ウェブサーバからの特定ウェブサイトの内容を表すファイルのダウンロードに先立って、スクリプト実行モード設定手段を利用して、当該ファイル内におけるスクリプトの実行に関する複数のモードの内の1つをスクリプト実行モードに設定する。ここで、当該複数のモードには、通信の実行を伴う通信スクリプトを少なくとも含む所定スクリプトの実行に際して利用者の確認を必要とする確認実行モード、ファイル内におけるいずれのスクリプトも実行しないスクリプト非実行モード、及び、ファイル内における全てのスクリプトについて、利用者の確認なしで実行する全スクリプト実行モードが含まれている。
そして、ウェブサイトにアクセスするに際しては、まず、ファイル取得手段は、当該ウェブサイトを格納するウェブサーバより当該ウェブサイトの内容を表すファイルをダウンロードする。
In this communication terminal apparatus, prior to downloading a file representing the contents of a specific website from a web server , one of a plurality of modes related to script execution in the file is used by using script execution mode setting means. Is set to script execution mode. Here, the plurality of modes include a confirmation execution mode that requires user confirmation when executing a predetermined script including at least a communication script accompanying communication execution, and a script non-execution mode that does not execute any script in the file. All script execution modes that are executed without user confirmation are included for all scripts in the file.
Then, on the occasion to access the web site, first, the file acquisition unit downloads the file from the Web server storing the web site represents the content of the website.
次に、確認実行モードが、スクリプト実行モードとして設定されているときに、スクリプト判定手段は、ファイル取得手段により取得したファイル中に、利用者の確認を必要とする所定のスクリプトが記述されているか否かを判定する。 Next, when the confirmation execution mode is set as the script execution mode, the script determination means determines whether a predetermined script that requires user confirmation is described in the file acquired by the file acquisition means. Determine whether or not.
スクリプト判定手段による判定の結果が肯定的である場合は、所定のスクリプトが当該ファイル中に記述されていることを意味する。この場合には、所定のスクリプトを実行することで利用者に対して不利益となることもありうるので、問合せ手段は、所定スクリプトを実行するか否かの問合せを利用者に対して行う。 If the result of the determination by the script determination means is affirmative, it means that a predetermined script is described in the file. In this case, the execution of the predetermined script may be disadvantageous to the user, so the inquiry unit makes an inquiry to the user as to whether or not to execute the predetermined script.
問合せ手段により、所定スクリプトを実行することが選択されたことが検出された場合には、スクリプト実行工程において、当該ファイルの展開に際して所定スクリプトを実行する。このため、通信を伴うスクリプトを含む所定のスクリプトがファイルに含まれる際に、その存在を検知し、利用者に対して実行の是非を問合せることで、利用者にとって不利益とならないようなスクリプトの実行制御が可能となる。 When it is detected by the inquiry means that the execution of the predetermined script is selected, the predetermined script is executed when the file is expanded in the script execution step. For this reason, when a script containing a script with communication is included in the file, the existence of the script is detected, and the user is asked whether to execute the script. Execution control is possible.
したがって、本発明の通信端末装置によれば、合理的なスクリプトの実行制御を行うことができる。
また、確認実行モード、スクリプト非実行モード、及び、全スクリプト実行モードを含む複数のモードが用意され、当該複数のモードのうちから1つ選択することができるので、利用者の便宜が図られる。
Therefore, according to the communication terminal device of the present invention, rational script execution control can be performed.
In addition, a plurality of modes including a confirmation execution mode, a script non-execution mode, and an all script execution mode are prepared, and one of the plurality of modes can be selected, which is convenient for the user.
本発明の通信端末装置では、前記確認実行モードには、前記所定スクリプトが、前記ファイル内における全てのスクリプトである毎回確認モード、及び、前記所定スクリプトが、前記ファイル内における前記通信スクリプトのみである通信スクリプト確認モードが含まれる、こととすることができる。 In the communication terminal device of the present invention, in the confirmation execution mode, the predetermined script is every confirmation mode that is all scripts in the file , and the predetermined script is only the communication script in the file. A communication script confirmation mode may be included .
本発明の通信端末装置方法では、移動通信網に接続された基地局と無線通信を行う無線通信手段を更に備える、こととすることができる。すなわち、本発明の通信端末装置を移動通信端末装置とすることができる。 The communication terminal apparatus method of the present invention can further include wireless communication means for performing wireless communication with a base station connected to a mobile communication network. That is, the communication terminal device of the present invention can be a mobile communication terminal device.
以上説明したように、本発明のスクリプト実行制御方法によれば、通信端末装置において、スクリプトの実行の許可についての合理的な制御を行えるという効果を奏する。 As described above, according to the script execution control method of the present invention, there is an effect that the communication terminal device can perform reasonable control on permission of script execution.
また、本発明の通信端末装置によれば、スクリプトの実行の許可についての合理的な制御を行えるという効果を奏する。 Moreover, according to the communication terminal device of the present invention, there is an effect that it is possible to perform rational control for permission to execute a script.
以下、本発明の実施形態を、図1〜図6を参照しつつ説明する。なお、これらの図においては、同一又は同等の要素には同一の符号を付し、重複する説明を省略する。 Hereinafter, embodiments of the present invention will be described with reference to FIGS. In these drawings, the same or equivalent elements are denoted by the same reference numerals, and redundant description is omitted.
[構成]
図1には、移動通信端末装置である携帯電話装置10を含むシステム構成100の概略が示されている。携帯電話装置10は基地局51と無線通信を行い、基地局51を介してネットワーク50に接続されている。また、ネットワーク50には、ウェブサーバ60が接続されている。なお、図1には代表的に基地局51が一つだけネットワーク50に接続されているが、実際には複数の基地局が接続されている。
[Constitution]
FIG. 1 shows an outline of a
図2には、携帯電話装置10の外観構成が概略的に示されている。ここで、図2(A)には、携帯電話装置10の外観の正面図が示され、図2(B)には、携帯電話装置10の外観の背面図が示されている。
FIG. 2 schematically shows an external configuration of the
図2(A)及び図2(B)に総合的に示されるように、携帯電話装置10は、(a)携帯電話本体11と、(b)電話番号を入力するためのテンキー、及び、動作モードの切換等の各種指令を、後述する制御部21(図3参照)に入力するためのファンクションキーを有する操作部12と、(c)操作案内、動作状況、受信メッセージ等を表示する液晶表示装置を有する表示手段としての表示部13とを備えている。また、携帯電話装置10は、(d)通話時に通信相手から送られてきた音声信号を再生する通話用スピーカ14と、(e)集音時に音を入力したり、通話時に音声を入力したりするためのマイクロフォン15と、(f)着信音や案内音を発生するための案内用スピーカ16と、(g)基地局との間で無線信号を授受するためのアンテナ17とを備えている。
2A and 2B, the
携帯電話本体11の内部には、図3に示されるように、(i)携帯電話装置10全体の動作を統括制御する制御部21と、(ii)アンテナ17を介して、基地局との間で無線信号の送受信を行う送受信部22と、(iii)制御部21で実行されるプログラムや各種データを格納する、読出専用メモリ(ROM)素子やランダムアクセスメモリ(RAM)素子を有する記憶部23とを備えている。
As shown in FIG. 3, the
制御部21は、その内部にウェブブラウザ31を備える。このウェブブラウザ31は、その内部にスクリプト実行制御部32、及びファイル取得部33(ファイル取得手段)を備えている。
The
また、記憶部23の内部には実行モード記憶領域24を備えている。実行モード記憶領域24の中では、スクリプト実行モードとして現在選択されているモードが記憶されている。なお、実行モードには、「毎回確認モード」、「通信スクリプト確認モード」、「全スクリプト実行モード」、「スクリプト非実行モード」が含まれており、予めそのいずれか1つに設定されている。
The
スクリプト実行制御部32の内部については、図4に示されている。このスクリプト実行制御部32は、その内部に、スクリプト判定部34(スクリプト判定手段)、問合せ部35(問合せ手段)、スクリプト実行部36(スクリプト実行手段)、非スクリプト実行部37、スクリプト実行モード設定部38(スクリプト実行モード設定手段)を備えている。
The inside of the script
ファイル取得部33は、ウェブサーバから特定ウェブサイトの内容を表すファイルをダウンロードする。
The
スクリプト判定部34は、通信の実行を伴う通信スクリプトを含む所定スクリプトの実行に際して利用者の確認を必要とするモードである確認実行モードがスクリプト実行モードとして設定されているときに、ファイルに所定スクリプトが含まれているか否かを判定する。
The
問合せ部35は、スクリプト判定部34による判定の結果が肯定的であった場合には、ファイルに所定スクリプトが含まれていることを意味するので、当該所定スクリプトを実行するか否かの問合せを利用者に対して行う。
If the result of the determination by the
スクリプト実行部36は、問合せ部35の問合せに対して、所定スクリプトを実行することが選択されたことを検出した場合には、ファイルの展開に際して、所定スクリプトを実行する。
When the
非スクリプト実行部37は、問合せ部35の問合せに対して、所定スクリプトを実行しないことが選択されたことを検出した場合には、ファイルの展開に際して、所定スクリプトの代替となる非スクリプト部分を実行する。
When the
スクリプト実行モード設定部38は、スクリプト実行モードを複数のモードの内の1つに設定することができる。
The script execution
[動作] [Operation]
利用者がウェブサイトへアクセスすることを選択したことにより、ウェブサーバ60へ接続することとなった場合に、スクリプト実行制御部32における処理が開始する。まず、図5のステップS11において、ウェブブラウザ31が当該ウェブサイトの内容が記述されたファイルを、ウェブサーバ60より取得する。続けて処理はステップS12へ進む。
When the user selects to access the website and is connected to the
ステップS12においては、実行モード記憶領域24より、現在選択されているスクリプト実行モードを読み出す。そして、スクリプト判定部34が、スクリプト実行モードとして、「全スクリプト実行モード」が選択されているか否かを判定する。判定の結果が肯定的である場合は、処理はステップS13へ進む。
In step S12, the currently selected script execution mode is read from the execution
ステップS13においては、スクリプト判定部34が、ファイル中にスクリプトが存在するか否かを判定する。当該判定の結果が肯定的であった場合には、処理はステップS14へ進み、スクリプト実行部36が、全スクリプトを実行する。一方、当該判定の結果が否定的であった場合には、処理は終了する。
In step S13, the
ステップS12へ戻り、ステップS12における判定の結果が否定的であった場合には、処理はステップS15へ進む。ステップS15において、スクリプト判定部34が、スクリプト実行モードとして、「スクリプト非実行モード」が選択されているか否かを判定する。判定の結果が肯定的である場合は、処理はステップS16へ進む。
Returning to step S12, if the result of the determination in step S12 is negative, the process proceeds to step S15. In step S <b> 15, the
ステップS16においては、スクリプト判定部34が、ファイル内にスクリプトが存在するか否かを判定する。当該判定の結果が肯定的であった場合には、処理はステップS17へ進み、非スクリプト実行部37が、スクリプトを実行できない場合のためにファイル内に記述され用意されている代替スクリプトを実行する。一方、当該判定の結果が否定的であった場合には、処理は終了する。
In step S16, the
ステップS15へ戻り、ステップS15における判定の結果が否定的である場合は、処理はステップS18のスクリプト制御処理に進む。 Returning to step S15, if the result of the determination in step S15 is negative, the process proceeds to the script control process in step S18.
ステップS18の処理においては、まず、図6のステップS21において、スクリプト判定部34が、スクリプト実行モードが「毎回確認モード」であるか否かを判定する。当該判定の結果が肯定的である場合には、処理はステップS22へ進む。
In the process of step S18, first, in step S21 of FIG. 6, the
ステップS22においては、スクリプト判定部34が、ファイル中にスクリプトが存在するか否かを判定する。当該判定の結果が否定的であった場合には、ステップS18の処理は終了する。一方、当該判定の結果が肯定的であった場合には、処理はステップS24へ進む。
In step S22, the
ステップS21へ戻り、ステップS21における判定の結果が否定的である場合には、スクリプト実行モードとして「通信スクリプト確認モード」が選択されていることを意味する。この場合は、処理はステップS23へ進む。 Returning to step S21, if the result of the determination in step S21 is negative, it means that “communication script confirmation mode” is selected as the script execution mode. In this case, the process proceeds to step S23.
ステップS23においては、スクリプト判定部34が、ファイル中にスクリプトが存在するか否かを判定する。当該判定の結果が否定的であった場合には、ステップS18の処理は終了する。一方、当該判定の結果が肯定的であった場合には、処理はステップS24へ進む。
In step S23, the
ステップS24においては、問合せ部35が、ステップS22又はステップS23において存在が確認されたスクリプトについて、実行するか否かを問う旨を利用者に対して、表示部13を用いて提示する。操作部12より、実行する旨の入力がなされた場合には、処理はステップS25へ進む。
In step S24, the
ステップS25においては、スクリプト実行部36が、該当するスクリプトを実行する。これを以ってステップS18の処理は終了する。
In step S25, the
ステップS24に戻り、操作部12より、実行しない旨の入力がなされた場合には、処理はステップS26へ進む。ステップS26においては、非スクリプト実行部37が、スクリプトを実行できない場合のためにファイル中に記述され用意されている代替スクリプトを実行する。これを以ってステップS18の処理は終了する。
Returning to step S24, if the
また、利用者による操作部12等からの入力によって、スクリプト実行モード設定部38は、スクリプト実行モードを変更する。
Further, the script execution
以上説明したように、まず、ウェブサイトにアクセスするに際し、ファイル取得部33は、当該ウェブサイトを格納するウェブサーバより当該ウェブサイトの内容を表すファイルをダウンロードする。
As described above, first, when accessing a website, the
次に、通信を伴うスクリプトである通信スクリプトを含む所定のスクリプトの実行にあたって利用者の確認を必要とする確認実行モードがスクリプト実行モードとして設定されているときに、スクリプト判定部34は、ファイル取得部33により取得したファイル中に、所定のスクリプトが記述されているか否かを判定する。
Next, when a confirmation execution mode that requires user confirmation in executing a predetermined script including a communication script that is a script involving communication is set as the script execution mode, the
スクリプト判定部34による判定の結果が肯定的である場合は、所定のスクリプトを実行することで利用者に対して不利益となることもありうるので、問合せ部35は、所定スクリプトを実行するか否かの問合せを利用者に対して行う。
If the result of the determination by the
問合せ部35により、所定スクリプトを実行することが選択されたことが検出された場合には、スクリプト実行部36が、当該ファイルの展開に際して所定スクリプトを実行する。
When the
よって、通信を伴うスクリプトを含む所定のスクリプトがファイルに含まれる際に、その存在を検知し、利用者に対して実行の是非を問合せることで、利用者にとって不利益とならないようなスクリプトの実行制御が可能となる。 Therefore, when a predetermined script including a script with communication is included in the file, the existence of the script is detected, and the execution of the script is not disadvantageous to the user by inquiring the user whether or not to execute the script. Control becomes possible.
また、スクリプト実行モード設定部38は、スクリプト実行モードを複数のモードの内の1つに設定することができる。
Further, the script execution
[実施形態の変形] [Modification of Embodiment]
上記の実施形態においては、「スクリプト非実行モード」が選択されている場合や、利用者がスクリプトの実行を希望しない旨を選択した場合には、非スクリプト実行部37が、スクリプトを実行できない場合のためにファイル中に記述され用意されている代替スクリプトを実行するとしたが、特に代替部分を実行することはない、とすることもできる。
In the above embodiment, when the “script non-execution mode” is selected, or when the user selects not to execute the script, the
また、上記の実施形態においては、通信端末装置は携帯電話装置であるとしたが、他の移動通信端末装置であってもよいし、通常の通信端末装置であってもよい。 In the above embodiment, the communication terminal device is a mobile phone device, but may be another mobile communication terminal device or a normal communication terminal device.
以上説明したように、本発明のスクリプト実行制御方法は、通信端末装置におけるスクリプトの実行制御に適用することができる。また、本発明の通信端末装置は、スクリプト実行機能を有する通信端末装置に適用することができる。 As described above, the script execution control method of the present invention can be applied to script execution control in a communication terminal device. The communication terminal device of the present invention can be applied to a communication terminal device having a script execution function.
10…携帯電話装置(通信端末装置)、11…携帯電話本体、12…操作部、13…表示部、14…通話用スピーカ、15…マイクロフォン、16…案内用スピーカ、17…アンテナ、21…制御部、22…送受信部、23…記憶部、24…実行モード記憶領域、31…ウェブブラウザ、32…スクリプト実行制御部、33…ファイル取得部、34…スクリプト判定部、35…問合せ部、36…スクリプト実行部、37…非スクリプト実行部、38…スクリプト実行モード設定部、50…ネットワーク、51…基地局、60…ウェブサーバ、100…システム。
DESCRIPTION OF
Claims (5)
前記ウェブサーバからダウンロードされ、特定ウェブサイトの内容を表すファイル内におけるスクリプトの実行に関する複数のモードの内の1つをスクリプト実行モードに設定するスクリプト実行モード設定工程と;
前記ファイルをダウンロードするファイル取得工程と;
通信の実行を伴う通信スクリプトを少なくとも含む所定スクリプトの実行に際して利用者の確認を必要とする確認実行モードが前記スクリプト実行モードとして設定されているときに、前記ファイルに前記所定スクリプトが含まれているか否かを判定するスクリプト判定工程と;
前記スクリプト判定工程における判定の結果が肯定的であった場合に、前記所定スクリプトを実行するか否かの問合せを利用者に対して行う問合せ工程と;
前記問合せに対して、前記所定スクリプトを実行することが選択されたことを検出した場合には、前記ファイルの展開に際して、前記所定スクリプトを実行するスクリプト実行工程と;を備え、
前記複数のモードには、前記確認実行モードに加えて、前記ファイル内におけるいずれのスクリプトも実行しないスクリプト非実行モード、及び、前記ファイル内における全てのスクリプトについて、利用者の確認なしで実行する全スクリプト実行モードが更に含まれる、
ことを特徴とするスクリプト実行制御方法。 In a communication terminal device, a script execution control method for controlling the execution of a script included in a file acquired from a web server,
A script execution mode setting step for setting one of a plurality of modes related to script execution in a file downloaded from the web server and representing the contents of a specific website to the script execution mode;
A file acquisition step of downloading the file;
When confirmation execution mode that requires identification of the user when at least includes execution of a predetermined script communication script with the execution of communication is set as the script execution mode, if it contains a predetermined script to said file A script determination step for determining whether or not;
An inquiry step for inquiring of a user whether or not to execute the predetermined script when a result of the determination in the script determination step is affirmative;
With respect to the inquiry, if performing said predetermined script is detected that the selected, upon expansion of said file, a script execution step of executing the predetermined script; includes a
In addition to the confirmation execution mode, the plurality of modes include a script non-execution mode that does not execute any script in the file, and all scripts that are executed without user confirmation for all the scripts in the file. A script execution mode is further included.
A script execution control method characterized by the above .
前記ファイル内におけるスクリプトの実行に関する複数のモードの内の1つをスクリプト実行モードに設定するスクリプト実行モード設定手段と;
通信の実行を伴う通信スクリプトを少なくとも含む所定スクリプトの実行に際して利用者の確認を必要とする確認実行モードが前記スクリプト実行モードとして設定されているときに、前記ファイルに前記所定スクリプトが含まれているか否かを判定するスクリプト判定手段と;
前記スクリプト判定手段による判定の結果が肯定的であった場合に、前記所定スクリプトを実行するか否かの問合せを利用者に対して行う問合せ手段と;
前記問合せに対して、前記所定スクリプトを実行することが選択されたことを検出した場合には、前記ファイルの展開に際して、前記所定スクリプトを実行するスクリプト実行手段と;を備え、
前記複数のモードには、前記確認実行モードに加えて、前記ファイル内におけるいずれのスクリプトも実行しないスクリプト非実行モード、及び、前記ファイル内における全てのスクリプトについて、利用者の確認なしで実行する全スクリプト実行モードが更に含まれる、
ことを特徴とする通信端末装置。 File acquisition means for downloading a file representing the contents of a specific website from a web server;
Script execution mode setting means for setting one of a plurality of modes related to script execution in the file to a script execution mode;
When confirmation execution mode that requires identification of the user when at least includes execution of a predetermined script communication script with the execution of communication is set as the script execution mode, if it contains a predetermined script to said file Script judging means for judging whether or not;
Inquiry means for making an inquiry to the user as to whether or not to execute the predetermined script when the result of the determination by the script determination means is affirmative;
With respect to the inquiry, if performing said predetermined script is detected that the selected, upon expansion of said file, a script executing means for executing a predetermined script; includes a
In addition to the confirmation execution mode, the plurality of modes include a script non-execution mode that does not execute any script in the file, and all scripts that are executed without user confirmation for all the scripts in the file. A script execution mode is further included.
A communication terminal device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006251224A JP4709717B2 (en) | 2006-09-15 | 2006-09-15 | Script execution control method and communication terminal device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006251224A JP4709717B2 (en) | 2006-09-15 | 2006-09-15 | Script execution control method and communication terminal device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2008071268A JP2008071268A (en) | 2008-03-27 |
| JP4709717B2 true JP4709717B2 (en) | 2011-06-22 |
Family
ID=39292773
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2006251224A Active JP4709717B2 (en) | 2006-09-15 | 2006-09-15 | Script execution control method and communication terminal device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4709717B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5476326B2 (en) * | 2011-03-08 | 2014-04-23 | 株式会社日立製作所 | Web operation recording and reproducing method and apparatus |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4014206B2 (en) * | 2002-09-24 | 2007-11-28 | ソフトバンクモバイル株式会社 | Information processing system, mobile phone terminal device and connection cable |
| JP4232431B2 (en) * | 2002-10-18 | 2009-03-04 | 株式会社日立製作所 | Browser-related security check program |
-
2006
- 2006-09-15 JP JP2006251224A patent/JP4709717B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2008071268A (en) | 2008-03-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN1318967C (en) | Method for providing event to application, and electronic device using this method | |
| WO2006080694A1 (en) | Mobile communication terminal capable of playing and updating multimedia content and method of playing the same | |
| JP2002297483A (en) | Mobile communication terminal, communication method and program for the terminal | |
| JP4290569B2 (en) | Remote operation server, program, remote operation system, and remote operation method | |
| JP2008278020A (en) | Mobile device | |
| JP2008533597A (en) | Method and apparatus for providing on-demand assistance for wireless devices | |
| KR100424475B1 (en) | Apparatus and method for performing communication function using hot keys in a mobile communication terminal equipment | |
| JP4709717B2 (en) | Script execution control method and communication terminal device | |
| JP2009070189A (en) | Input support server, input support system, and input support program | |
| KR20020009808A (en) | Method for changing font in mobile terminal | |
| KR100749845B1 (en) | Mobile terminal providing mobile active page function and wireless internet service providing method thereof | |
| JP2004164602A (en) | Electronic equipment control system and electronic equipment | |
| JP2007312339A (en) | Mobile communication terminal and communication server | |
| JP4851886B2 (en) | Web browser and mobile communication terminal device | |
| JP2005110063A (en) | Mobile phone terminal device and program providing system | |
| JP2012003610A (en) | Information processor | |
| KR20100072849A (en) | Method for connecting call and apparatus using the same | |
| JP4791926B2 (en) | Web page storage management method and information communication terminal device | |
| KR100715817B1 (en) | Mobile terminal and content download verification method before download | |
| JP4861102B2 (en) | Web display control method and mobile communication terminal device | |
| JP5606873B2 (en) | Electronic device and operation support method | |
| JP4904121B2 (en) | Web page display update method and information communication terminal device | |
| KR20080111282A (en) | User Content Upload Method and System | |
| JP2006048141A (en) | Information retrieval system, information retrieval server, information retrieval method and information retrieval program | |
| KR100540419B1 (en) | Cell phone function execution aid |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090903 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20101208 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110201 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20110223 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110318 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |