JP2007036435A - Modem control method - Google Patents
Modem control method Download PDFInfo
- Publication number
- JP2007036435A JP2007036435A JP2005214107A JP2005214107A JP2007036435A JP 2007036435 A JP2007036435 A JP 2007036435A JP 2005214107 A JP2005214107 A JP 2005214107A JP 2005214107 A JP2005214107 A JP 2005214107A JP 2007036435 A JP2007036435 A JP 2007036435A
- Authority
- JP
- Japan
- Prior art keywords
- communication
- modem
- data
- control data
- terminal
- 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.)
- Granted
Links
Images
Landscapes
- Communication Control (AREA)
Abstract
Description
本発明は、モデム制御方法に係り、特に、Personal Computer(以降PCと記す)やPersonal Digital Assistants(以降PDAと記す)に代表される端末装置Application Programming Interface(以降APIと記す)にて、通信中に端末装置側からの多機能無線モデムの設定及び情報取得を行うモデム制御方法に関する。 The present invention relates to a modem control method, and in particular, during communication in a terminal device application programming interface (hereinafter referred to as API) typified by Personal Computer (hereinafter referred to as PC) and Personal Digital Assistants (hereinafter referred to as PDA). In particular, the present invention relates to a modem control method for setting a multi-function wireless modem and obtaining information from the terminal device side.
昨今、モバイルシーンの流れとしてブロードバンドは勿論のこと、多機能で小型の無線モデムカードへのニーズが高まっている。図1は、従来のデータ通信の一例の説明図である。一例として、無線モデム20を端末装置10のPCMCIA(Personal Computer Memory Card International Association)インタフェースやCFインタフェースへ直接実装し、パケット網30と接続し、対向の端末装置10とデータ通信を行う技術が開示されている(例えば、特許文献1参照)。また、モデムの設定等を端末装置10よりATコマンドで制御する技術が開示されている(例えば、特許文献2参照)。
しかしながら、例えば特許文献1で開示された従来技術では、データ通信を開始する前に、無線モデムが通信する為に必要となる端末装置との通信スピード、通信方式、誤り検出等の設定情報をATコマンドにて予め設定し、その後パケット網と接続して通信が開始されるのが一般的である。その後、データ通信中において無線モデムの設定変更を行った場合、通信が切断されてしまう課題がある。 However, in the prior art disclosed in Patent Document 1, for example, before starting data communication, setting information such as a communication speed, a communication method, and error detection with a terminal device required for the wireless modem to communicate is transmitted. Generally, a command is set in advance, and then communication is started by connecting to a packet network. Thereafter, if the setting of the wireless modem is changed during data communication, there is a problem that communication is disconnected.
また、ユーザが通信中に無線モデムの送受信データ状況及び電波状況状態等を確認する場合は、無線モデムに具備されている表示部で確認していた。しかし、データ通信中のユーザの視点は端末装置の表示部にあるため、データ通信中にモデムの表示部で確認するという行為はユーザインタフェースの観点から、利用し易い形態とはいえなかった。 In addition, when the user confirms the transmission / reception data status and the radio wave status of the wireless modem during communication, it is confirmed on the display unit provided in the wireless modem. However, since the viewpoint of the user during data communication is on the display unit of the terminal device, the act of confirming with the display unit of the modem during data communication has not been an easy-to-use form from the viewpoint of the user interface.
本発明は、以上の点に鑑み、通信中のモデムに対して、通信を切断せずに構成情報の変更を行う制御方法を提供することを目的とする。また、本発明は、ATコマンドを用いて、モデムの構成情報の変更を行うような場合、余計なATコマンドの送出を抑えることを目的とする。さらに、本発明は、ユーザが電話アプリケーションやモニタアプリケーションを連続的に可変する操作を行ったことにより発生する、不必要なトラフィックによる通信自体への影響や、それ以外のモデム制御機能への影響も大きく低減することを目的とする。本発明は、以上の内容により快適且つ安定したモバイル通信が実現することを目的とする。 In view of the above, an object of the present invention is to provide a control method for changing configuration information without disconnecting communication with a communicating modem. Another object of the present invention is to suppress the transmission of extra AT commands when the AT configuration is used to change modem configuration information. In addition, the present invention also has an effect on unnecessary communication caused by the user's operation to continuously change the telephone application and the monitor application, and the influence on other modem control functions. The purpose is to greatly reduce. An object of the present invention is to realize comfortable and stable mobile communication based on the above contents.
本発明は、通信中のモデムの状態表示をPC等の端末装置にダイナミックに行うことができ、通信中に端末装置に実装している電話アプリケーションやモニタアプリケーションから多機能無線モデムにアクセス可能とし、電波状況や送受信データ等のステータスデータを端末装置上の表示部でモニタできることを目的とする。 The present invention can dynamically display the status of a modem during communication on a terminal device such as a PC, and can access a multi-function wireless modem from a telephone application or a monitor application installed in the terminal device during communication. An object of the present invention is to monitor status data such as radio wave status and transmission / reception data on a display unit on a terminal device.
本発明は、前述した課題を解決するために、通信モデムに収容され、通信モデム経由でパケット網との通信を行う端末装置において、又は、端末装置に格納されるプログラムにおいて、通信モデムと接続される端末装置の1つの物理通信ポートに対して、2つの論理通信ポートを備え、論理通信ポートの一方を前記パケット網側との通信に使用し、他方を通信モデムとの間での制御データの通信に使用することを特徴のひとつとする。
データ通信中はCOMポートが占有されているので、COMポートの下位レイヤのデバイスドライバに直接アクセスするインバンドCOMポートDLLを利用することにより通信中の制御信号のやり取りを可能とする。
In order to solve the above-described problems, the present invention is connected to a communication modem in a terminal device accommodated in a communication modem and communicating with a packet network via the communication modem, or in a program stored in the terminal device. Two physical communication ports are provided for one physical communication port of the terminal device to be used, one of the logical communication ports is used for communication with the packet network side, and the other is used for communication of control data with the communication modem. One of the features is that it is used for communication.
Since the COM port is occupied during data communication, control signals during communication can be exchanged by using an in-band COM port DLL that directly accesses a device driver in a lower layer of the COM port.
また、無線モデム、端末装置各々のCF IFにて制御用のデータなのか、通信用のデータなのかを識別可能とする為のフラグの付加/検出機能を有する。また、端末装置側にて連続的に設定変更を行っても、ある一定のスピード以上で設定変更を行った場合には、その経過での要求信号は全て無視し、有効な要求信号のみを送信することを特徴のひとつとする。 In addition, it has a flag addition / detection function for making it possible to identify whether it is control data or communication data in the CF IF of each of the wireless modem and the terminal device. Even if the setting is continuously changed on the terminal device side, if the setting is changed at a certain speed or higher, all request signals are ignored and only valid request signals are transmitted. One of the characteristics is to do.
端末装置にて多機能無線モデムを制御するためのユーザインタフェースとなる各アプリケーションの操作上発生する不要な要求信号に対して、CF IFである規定以上のタイマを設けてそのタイマが満了しない場合には、変更要求処理を受け付けない処理を実装し不必要なトラフィックによる通信自体の影響や、他制御への影響を軽減する。 When an unnecessary request signal generated in the operation of each application that is a user interface for controlling a multi-function wireless modem in a terminal device is provided with a timer that is not less than the specified value of CF IF, and the timer does not expire Implements processing that does not accept change request processing to reduce the impact of unnecessary traffic on the communication itself and other controls.
本発明の解決手段によると、
端末に接続されるモデムを通信中の端末から制御するモデム制御方法であって、
ひとつの物理通信ポートに対して第1及び第2の論理通信ポートを有するインタフェースを備えた端末は、ネットワークへの接続要求をダイヤルアップ接続のためのダイヤルアップアプリケーションから受信すると、前記端末の物理通信ポートに接続されるインタフェースを備えたモデムに対して、該接続要求を第1の論理通信ポート及び前記モデムのインタフェースを介して送信するステップと、
前記モデムは、該接続要求を受信し、予め定められた接続処理を実行して前記端末とネットワークとを接続させるステップと、
前記端末は、ダイヤルアップアプリケーション又は予め定められた通信アプリケーションからのデータは通信データであると判断し、第1の論理通信ポート及び前記モデムのインタフェースを介して、該通信データを前記モデムに送信することによりネットワークと通信するステップと、
前記端末は、第1の論理通信ポートを介したネットワークとの通信中において、前記モデムの状態並びに無線通信の電波状態をモニタするためのモニタアプリケーション又は前記モデムでの音声通話のための電話アプリケーションからの、モデムの設定要求又は状態取得要求又は音声通話の実行要求のいずれかを含むデータは制御データであると判断し、該制御データと、制御データか通信データかを識別するための識別情報とを、第2の論理通信ポート及び前記モデムのインタフェースを介して、前記モデムに送信するステップと、
前記モデムは、通信データ及び制御データをインタフェースを介して受信して、識別情報の有無に従い受信されたデータが通信データか制御データかを判別し、判別結果に従い、所定の通信処理又は制御データに応じた設定、状態取得並びに音声通話の制御を行うステップと
を含む前記モデム制御方法が提供される。
According to the solution of the present invention,
A modem control method for controlling a modem connected to a terminal from a communicating terminal,
When a terminal having an interface having first and second logical communication ports for one physical communication port receives a connection request to the network from a dial-up application for dial-up connection, physical communication of the terminal Transmitting the connection request to a modem having an interface connected to the port via a first logical communication port and the modem interface;
The modem receives the connection request and executes a predetermined connection process to connect the terminal and the network;
The terminal determines that the data from the dial-up application or the predetermined communication application is communication data, and transmits the communication data to the modem via the first logical communication port and the modem interface. Communicating with the network by:
The terminal receives a monitor application for monitoring a state of the modem and a radio wave state of a wireless communication or a telephone application for a voice call using the modem during communication with a network via a first logical communication port. Data including any of a modem setting request, a status acquisition request, or a voice call execution request is control data, and identification information for identifying the control data and control data or communication data Transmitting to the modem via a second logical communication port and the modem interface;
The modem receives communication data and control data through the interface, determines whether the received data is communication data or control data according to the presence or absence of identification information, and determines predetermined communication processing or control data according to the determination result. There is provided the modem control method including the step of performing the corresponding setting, status acquisition and voice call control.
本発明によると、通信中のモデムに対して、通信を切断せずに構成情報の変更を行う制御方法を提供することができる。また、本発明によると、ATコマンドを用いて、モデムの構成情報の変更を行うような場合、余計なATコマンドの送出を抑えることができる。さらに、本発明によると、ユーザが電話アプリケーションやモニタアプリケーションを連続的に可変する操作を行ったことにより発生する、不必要なトラフィックによる通信自体への影響や、それ以外のモデム制御機能への影響も大きく低減することが出来る。本発明によると、以上の内容により快適且つ安定したモバイル通信が実現できる。 According to the present invention, it is possible to provide a control method for changing configuration information without disconnecting communication with a communicating modem. In addition, according to the present invention, when the AT configuration is used to change the configuration information of the modem, it is possible to suppress unnecessary transmission of AT commands. Furthermore, according to the present invention, the influence of unnecessary traffic on the communication itself caused by the user's operation to continuously change the telephone application and the monitor application, and the influence on other modem control functions. Can be greatly reduced. According to the present invention, comfortable and stable mobile communication can be realized by the above contents.
本発明によると、通信中のモデムの状態表示をPC等の端末装置にダイナミックに行うことができ、通信中に端末装置に実装している電話アプリケーションやモニタアプリケーションから多機能無線モデムにアクセス可能とし、電波状況や送受信データ等のステータスデータを端末装置上の表示部でモニタできる。 According to the present invention, it is possible to dynamically display the status of a modem during communication on a terminal device such as a PC, and to access a multi-function wireless modem from a telephone application or a monitor application installed in the terminal device during communication. In addition, status data such as radio wave conditions and transmission / reception data can be monitored on the display unit on the terminal device.
(ハード構成)
図2は、本実施の形態におけるネットワーク構成の例を示す図である。図2は、例えば、端末装置10から音声通話機能付きの多機能無線モデム40にてパケット網30を介し携帯電話50との音声通話や、無線モデム20対向でのデータ通信を行う場合のネットワークの構成例を示している。
(Hardware configuration)
FIG. 2 is a diagram illustrating an example of a network configuration according to the present embodiment. FIG. 2 shows a network in the case where voice communication with the
端末装置10は、例えば、電話アプリケーション108、モニタアプリケーション109等を有する。なお、各アプリケーションについては後述する。多機能無線モデム40は、表示部401、スピーカ402、マイク403等を備える。音声通話の場合、通話中にスピーカ402の音量設定や、各種テレホンサービスの照会に利用されるDial Tone Multi Frequency(以降DTMFと記す)機能等を使用する為には、通話中のモデムの制御が必須となる。データ通信の場合では、電波状況や送受信データ状況をユーザの視点である端末装置10の表示部にて、多機能無線モデムのステータスが表示できることが望ましい。これらの環境を実現する為の形態として、まず、端末装置10について説明する。
The
図3は、端末装置10の構成図である。
端末装置10は、CFインタフェース部(CF IF部)101と、表示部(ディスプレイ)102と、シリアルI/O制御部103と、CPU(処理部)104と、メモリ105と、ハードディスク106と、CFコネクタ107と、ユーザインタフェース部(UI部)110とを備える。CF IF部101は、COMポート(第1の論理通信ポート)1011と、DLLポート(第2の論理通信ポート)1013と、CFデバイスドライバ1012とを有する。CF IF部101は、タイマ1014をさらに有してもよい。また、ハードディスク106は、例えば、ダイヤルアップアプリケーション107、電話アプリケーション108、モニタアプリケーション109等の適宜のアプリケーションが格納される。なお、各アプリケーションは、CPU104に読み出され、実行されることができる。UI部110は、例えば、キーボード1101と、マウス1102と、タッチパネル1103と、USB IF1104とを有する。各部は、例えばバスを介して互いに接続される。なお、UI部110の各部は、シリアルI/O制御部103を介してバスに接続されることができる。
FIG. 3 is a configuration diagram of the
The
予め、記憶媒体であるハードディスク106に、ユーザが実際使用するアプリケーションとなるダイヤルアップ接続用のダイヤルアップアプリケーション107や、音声通話に使用しハンドセットイメージとなる電話アプリケーション108、モデムの状態や電波環境をモニタするためのモニタアプリケーション109の組み込みや、多機能無線モデム40を端末装置にて制御可能とする為のCFデバイスドライバ1012が組み込まれる。CF IF101に多機能無線モデム40を実装すると、CFデバイスドライバ1012が多機能無線モデム40を認識し、端末装置10上のアプリケーションから多機能無線モデムの制御が可能となる。
In advance, the dial-up
例えば、電話アプリケーション108を起動すると、CPU104は、表示部102にユーザが操作できる予め定められた画面を表示する。なお、画面の表示例については、後述する。UI部110の中でキーボード1101やマウス1102やタッチパネル1103、もしくはUSB IF1104を介した別の入力装置等がユーザにより操作されることにより、CPU104がシリアルI/O制御部103を介してUI部110から情報を読み取り、読み取られた情報を表示部102に反映(表示)する。また、表示した情報が決定されることを示す情報をUI部110から入力されれば、CPU104は、その決定事項に適合したATコマンドに相当するApplication Programming Interface(以降APIと記す)を、COMポート1011(Windows(登録商標)の論理シリアルポート名)を介さず、DLLブロック1013を介して、CFドライバ1012から多機能無線モデム40に送信し、音声通話が開始される。なお、DLLブロック1013を介して送信する場合、制御データであることを示すフラグ情報(第1のフラグ)を付加する。COMポート1011を使用せずに、DLLブロック1013を使用した制御は、モニタアプリ109を起動した場合も同様である。
For example, when the
一方、ダイヤルアップアプリケーション107からの接続要求であれば、CPU104は、端末装置10のUI部110からの情報を読み取り、COMポート1011を介してCFドライバ1012から多機能無線モデム40に送信することでデータ通信が開始される。このCOMポートを介した制御は、例えば従来のモデム制御と同様とすることができる。
On the other hand, if the connection request is from the dial-up
次に、多機能無線モデム40について説明する。
図4は、本実施の形態における無線モデム10の構成図である。
無線モデム10は、表示部401と、スピーカ(音声出力部)402と、マイク(音声入力部)403と、アンテナ404と、送受信部405と、CPU(処理部)406と、メモリ407と、IO制御部408と、音声通信制御部409と、データ通信制御部410と、CF(PCMCIA)IF411と、CFコネクタ412とを備える。
Next, the
FIG. 4 is a configuration diagram of the
The
CFコネクタ412は、端末装置10と物理的に接続するコネクタである。CF IF411は、CFインタフェース機能を有するブロックである。データ通信制御部410は、データ通信を制御するブロックである。音声通話制御部409は、音声通話を制御するブロックである。メモリ407は、データを一時的に格納できるデータバッファ部4072と、多機能無線モデム40の各種設定を制御する為の動作設定レジスタ4071とを有する。送受信部405は、アンテナ404を介した通信データの送受信管理を行う。IO制御部408は、表示部401やスピーカ402やマイク403等を制御するブロックである。
The
端末装置10より、多機能無線モデム40への要求信号(又は要求データ)がCF IF411を介して入力されると、CF IF411を例えばデュアルポートメモリで構成すればデュアルポートメモリのデータ領域に要求データが格納され、割込み信号がCPU406に通知される。CPU406はその情報を読み取り、通信データなのか制御データなのかをフラグ情報(第1のフラグ)から判断し、関連タスクへと命令を指示する。例えば、そのデータが通信データであれば、データ通信制御部410より送受信部405を介してアンテナ404から通信データが送信される。一方、第1のフラグが付加されていることにより制御データであると判断された場合には、その応答情報に、応答情報(又は制御情報)であることが判別できるフラグ情報(第3のフラグ)を付加して、CF IF411のデュアルポートメモリのデータ領域に書き込む。これにより、割り込み信号がCFIF101を介して端末装置10のCPU104へ通知され、CPU104がデュアルポートメモリからデータを読み出し、フラグ情報を参照してその情報が通信データなのか応答情報なのかを判別する。CPU104は、応答情報であった場合には表示部102の使用アプリ上に応答情報を表示する。応答情報は、例えば、接続要求、設定要求に対しては接続完了、設定完了を示す適宜の情報又は信号を含み、状態取得要求に対しては、要求された状態(例えば、電波強度)を含むことができる。
When a request signal (or request data) is input from the
例えば、モデムのCPU406が読み取った情報が電話アプリケーション108からの発信要求であれば、その情報を音声通信制御部409に通知し、送受信部405を介してアンテナ404からパケット網30へ発信要求を送信する。通信が確立されると、モデム40のスピーカ402とマイク403を用いて、音声通信制御部409により音声通話が可能となる。
For example, if the information read by the
ダイヤルアップアプリケーション107からの接続要求であれば、同じくCPU406が要求情報を読み取り、データ通信制御部410へ通知し、送受信部405を介してアンテナ404からパケット網30へ接続要求を送信する。通信が確立されると、端末装置10よりインターネットやメール等のネットワークアプリケーションが使用可能となる。
モニタアプリケーション109からの、モデムの状態取得要求であれば、CPU406は要求された状態をIO制御部408、適宜のメモリ、管理部等から取得し、応答情報であることを示すフラグ情報を付加して端末装置10に送信する。
If it is a connection request from the dial-up
If it is a modem status acquisition request from the
(各アプリケーションに対応する表示例)
図7は、ダイヤルアップアプリケーションのユーザインタフェースの構成例である。ダイヤルアップアプリケーション107が起動されると、例えば図7に示す画面が表示部102に表示される。図中、接続1071はダイヤルアップ接続要求ボタンであり、切断1072はダイヤルアップ接続の切断ボタンであり、終了1073はダイヤルアップアプリケーションの終了ボタンである。また、ID1074はID認証ID入力欄であり、Password1075は認証パスワード入力欄である。
(Display example corresponding to each application)
FIG. 7 is a configuration example of the user interface of the dial-up application. When the dial-up
図8は、電話アプリケーションのユーザインタフェースの構成例である。電話アプリケーション108が起動されると、例えば図8に示す画面が表示部102に表示される。例えば、アンテナバー1081は受信強度を表示しており、表示部1082はダイヤル情報等を表示する部位・領域である。数字/記号1083は0〜9と*#を入力するボタンであり、発信1084は発信ボタンであり、終話1085は終話するボタン、クリア1086は表示部1082に表示されている情報を消去するボタンである。また、終了1087は電話アプリケーションを終了するボタンであり、音量1088はスピーカボリュームを調整するダイヤルキーである。
FIG. 8 is a configuration example of the user interface of the telephone application. When the
図9は、モニタアプリケーションのユーザインタフェースの構成例である。モニタアプリケーション10が起動されると、例えば図9に示す画面が表示部102に表示される。例えば、アンテナバー1091は受信強度を表示しており、受信データ1092は受信データのステータス表示、送信データ1093は送信データのステータス表示である。また、クリア1094は送受信データのステータスをクリアするボタンである。表示部ON/OFFが多機能無線モデム40の表示部401のON/OFFを制御するボタンである。終了1096はモニタアプリケーションを終了させるボタンである。
なお、上述の表示例は一例であり、これら以外にも適宜の表示をしてもよい。
FIG. 9 is a configuration example of the user interface of the monitor application. When the
Note that the above-described display examples are merely examples, and other appropriate displays may be performed.
(動作シーケンス)
まず、処理の概略について説明する。
端末10に接続されるモデム40を、通信中の端末10から制御する。ひとつの物理通信ポートに対して第1及び第2の論理通信ポート1011、1013を有するインタフェース101を備えた端末10は、ネットワーク30への接続要求をダイヤルアップ接続のためのダイヤルアップアプリケーション107から受信すると、端末10の物理通信ポートに接続されるインタフェースを備えたモデム40に対して、該接続要求を第1の論理通信ポート1011及びモデム40のインタフェース411を介して送信する。モデム40は、該接続要求を受信し、予め定められた接続処理を実行して端末10とネットワーク30とを接続させる。端末10は、ダイヤルアップアプリケーション107又は予め定められた通信アプリケーションからのデータは通信データであると判断し、第1の論理通信ポート1011及びモデム40のインタフェース411を介して、該通信データをモデム40に送信することによりネットワーク30と通信する。
(Operation sequence)
First, an outline of the processing will be described.
The
端末10は、第1の論理通信ポート1011を介したネットワーク30との通信中において、モデム40の状態並びに無線通信の電波状態をモニタするためのモニタアプリケーション109又はモデム40での音声通話のための電話アプリケーション108からの、モデムの設定要求又は状態取得要求又は音声通話の実行要求のいずれかを含むデータは制御データであると判断し、該制御データと、制御データか通信データかを識別するための識別情報とを、第2の論理通信ポート1013及びモデム40のインタフェース411を介して、モデム40に送信する。モデム40は、通信データ及び制御データをインタフェース411を介して受信して、識別情報の有無に従い受信されたデータが通信データか制御データかを判別し、判別結果に従い、所定の通信処理又は制御データに応じた設定、状態取得並びに音声通話の制御を行う。
During communication with the
図5は、多機能無線モデム40の制御シーケンス図である。図5を例に、処理を詳細に説明する。
まず、データ通信時の制御を例にとると、CPU104がUI部110による接続ボタン1071の押下を検出すると(S101)、ダイヤルアップアプリケーション107により接続要求が端末装置10のCF IF101に通知される(S102)。また、COMポート1011を介して、CFドライバ1012より多機能無線モデム40のCF IF411へ、接続要求に対応するネットワーク接続要求ATコマンドが送信される(S103)。なお、CPU104が、ダイヤルアップアプリケーション107からのデータは、通信データであると判断するように設定されることができる。ATコマンドは、例えば、CF IF411のデュアルポートメモリに記憶され、割り込み信号がCPU406に通知されることができる。
FIG. 5 is a control sequence diagram of the
First, taking control at the time of data communication as an example, when the
多機能無線モデム40側のCPU406は、CF IF411が受信した受信データが接続要求であることを判別し、接続要求指示をデータ通信制御部412に指示する(S104−1)。データ通信制御部412は、接続要求を送受信部405からパケット網30へ送信する(S104−2、3)。なお、接続要求には、ID、パスワード等、ネットワーク接続又は認証のための適宜の情報を含むことができる。
The
次に、パケット網30からの接続完了通知を送受信部405にて受信すると(S105−1)、送受信部405は、データ通信制御部412に接続完了通知を送信する(S105−2)。データ通信制御部412は、多機能無線モデム40のCF IF411から接続完了ATコマンドを端末装置10のCF IF101へ送信する(S105−3、S106)。端末装置10では、ダイヤルアップアプリ107が、CF IF101を介して接続完了通知を受信する(S107)。以上の処理により、データ通信中のステータスとなる(S108)。なお、CPU104は、ダイヤルアップアプリケーション107又は予め定められた通信アプリケーションからのデータは、通信データであると判断し、COMポート1011を介して送信することができる。
Next, when the transmission /
データ通信中の状態から無線モデム40の設定を変更する場合について説明する。一例として、端末装置10にて例えば多機能無線モデム40に実装されている表示部401を全消灯の設定とする操作を行った場合について説明する。
CPU104が、UI部110による表示部OFFボタン1095の押下を検出すると(S201)、モニタアプリケーション109より表示部設定の変更要求APIが、端末装置側CF IF部101に通知される(S202)。
A case where the setting of the
When the
端末装置10のCF IF101は、変更要求APIを受信すると、モニタアプリケーション109からの要求であることから、通信に使用する実データではなくモデム制御命令(制御データ)であると判断し、要求コマンド(表示部状態設定コマンド)に制御データであることを示す制御命令フラグ(第1のフラグ)を立てる。また、COMポートの下位の位置づけとなるデバイスドライバ1012にダイレクトアクセスするインバンドCOMポート用のDLL1013を介して、表示部状態設定コマンドをモデムカード40側のCF IF411へ送信する(S203)。なお、図5において、記号#はフラグが付加されていることを示す。また、端末装置10のCF IF101と無線モデム40のCF IF411との間の矢印は、COMポート1011を介して送受信される信号を実線で、DLL1013を介して送受信される信号を点線で示している。
When receiving the change request API, the CF IF 101 of the
多機能無線モデム40側のCPU406は、CF IF411を介して表示部状態設定コマンドを受信し、制御命令フラグを検出して、通信用のデータではなく制御データであることを判断する。また、CPU406は、コマンドに従いIO制御部408へ表示部OFF設定を行う(S204−1)。IO制御部408は、表示部401を消灯する(S204−2)。また、CPU406は、設定完了通知コマンドに制御命令フラグを立て、端末装置10のCF IF101へ送信する(S205)。
The
端末装置10のCF IF101は、制御命令フラグを検出して、通信用のデータではなく制御データであることを判断する。CPU104は、制御データに従い、モニタアプリ109へ表示部ON/OFFボタンスのテータス表示更新を指示する(S206)。モニタアプリ109は、表示部102に表示されている表示部ON/OFFボタンの表示を、例えば、「表示部OFF」から「表示部ON」に変更する。なお、現在のステータスを表示する場合には「表示部OFF」に変更する。
The CF IF 101 of the
次に、通信中の電波表示更新制御の例について説明する。
電話/モニタアプリ108/109は、定期的に電波状態要求を端末装置10のCF IF101へ通知する(S301)。端末装置10のCF IF101は、制御命令フラグを立て、インバンドCOMポート用のDLL1013より電波状態取得ATコマンドを多機能無線モデム40のCF IF411へ送信する(S302)。例えば、CPU104は、電話アプリケーション108又はモニタアプリケーション109からのデータは制御データであると判断するように設定されることができる。
Next, an example of radio wave display update control during communication will be described.
The telephone /
多機能無線モデム40のCF IF411は、制御命令フラグを検出して制御データであると判断し、CPU406は、制御データに従い送受信部405へ現状の電波状態要求を通知する(S303)。CPU406は、送受信部405から電波状態返答を受信後(S304)、制御命令フラグを立て電波状態返答信号を端末装置10側のCF IF101へ送信する(S305)。端末装置10のCF IF101は、制御命令フラグを検出して制御データであることを判断し、CPU104は、制御データに従い、電話/モニタアプリ108/109へ電波表示更新を指示する(S306)。電話/モニタアプリ108/109は、表示部の電波強度表示(例えば、図8の表示1081、図9の表示1091)を更新する。このように、本実施の形態によると通信中に端末装置10からの多機能無線モデム40の設定が可能となる。
The CF IF 411 of the
ここで、端末装置10側から連続した制御を繰り返した場合、多数の要求信号が多機能無線モデム40に送信されることになる。本質的にはシリアル制御である為に、電話アプリ108では音量設定等の連続操作等で音声通話自体や、他のモデムステータス管理制御に影響を与えることがある。また、モニタアプリ109でも、表示部制御設定や送受信データカウンタクリアの連続操作において、同じく多数の要求信号が多機能無線モデム40に送信される為に、データ通信自体や電波強度表示の更新や送受信データカウンタの更新動作が遅くなる等の影響がある。これらの課題については、以下の構成、処理にて改善することが可能となる。
Here, when continuous control is repeated from the
例えば電話アプリ108を使用したケースで説明すると、通話中に良く行う操作として音量設定バー1088を操作して、多機能無線モデム40のスピーカ402の音量を変更することがある。CPU104が、例えば通話中に、UI部110のマウス1102等による音量設定バー1088の操作を検出すると(S401)、電話アプリ108はスピーカ音量の変更要求が端末装置10のCF IF101へ通知する(S402)。端末装置10のCF IF101は、制御命令フラグを立て、インバンドCOMポート用DLL1013よりスピーカ音量変更要求信号を多機能無線モデム40のCF IF411へ送信する(S403)。
For example, in the case where the
多機能無線モデム40のCF IF411は、制御命令フラグを検出して制御データであると判断し、CPU406は、制御データに従い、IO制御部410へ音量設定を指示する(S404)。IO制御部410は、指示に従い音量を変更する(S405)。また、CPU406は、設定完了通知ATコマンドに制御命令フラグを立て、インバンドCOMポート用DLL1013を介して端末装置10のCF IF101へ送信する(S406)。
端末装置10のCF IF101は、制御命令フラグを検出して制御データであることを判断し、電話アプリ108のスピーカ音量表示ステータス更新を指示する(S407)。電話アプリ108は、指示に従いスピーカ音量ステータス表示を更新する。
The CF IF 411 of the
The CF IF 101 of the
図6は、連続操作による不要トラフィックの低減処理シーケンス図である。ユーザによるスピーカ音量設定操作の連続操作は非常に容易であり、それにより多数のスピーカ音量変更ATコマンド(S403)が多機能無線モデム40へ送信されるケースがある。そこで、図6に示すように、UI部110のスピーカ音量連続操作による変更要求(S402)の全てを、インバンドCOMポート用DLL1012より、スピーカ音量変更信号(S403)として送信するのではなく、端末装置10のCF IF101にて、例えば0.1秒のタイマ1014を設けて、そのタイマ1014が満了しない場合には、変更要求(S402)を受け付けない処理を実装することができる。例えば、ある要求を受信することによりタイマがスタートし、タイマが予め定められた時間経過しないうちは、同一の要求を示す制御データを受け付けないようにすることができる。なお、他の制御データについては受け付けるようにしてもよいし、受け付けないようにしてもよい。タイマの時間は、0.1秒以外にも適宜の時間を予め設定することができる。また、端末装置10のCF IF101は、タイマ時間中に受信した変更要求(S402)を破棄するようにしてもよいし、受信しないようにしてもよい。図では、タイマと同じ0.1秒間の変更要求(S402)を示しているが、例えば、0.3秒間変更要求が連続的に発生すると、端末装置10のCF IF101から送信されるATコマンド(S403)は3つであり、無線モデム40では、例えば、最後に送信されるATコマンドに応じた音量に設定されることになる。以上の処理により、端末装置10のCF IF101と多機能無線モデム側CF IF411間での不要なトラフィックを軽減することが可能となり、音声通信や他の制御への影響を低減出来る。
FIG. 6 is a sequence diagram of processing for reducing unnecessary traffic by continuous operation. The continuous operation of the speaker volume setting operation by the user is very easy, and there are cases where a large number of speaker volume change AT commands (S403) are transmitted to the
但し、早押しが発生しやすいキーで、例えば数字キー1083の連続押下操作(S408)は、他のキーと区別するためのフラグ情報(第2のフラグ)を電話アプリ108にて付加して通知してもよい(S409)。図中、付加されたフラグをNで表す。端末装置10のCF IF101は、フラグ情報を検出した変更要求処理(S409)については、タイマ1014の処理時間中であっても、上述のタイマを使用した処理を実行せず、モデムカード40側のCF IF101へ要求信号を送信することができる(S410)。
However, it is a key that is likely to be pressed quickly. For example, a continuous pressing operation (S408) of the numeric key 1083 is notified by adding flag information (second flag) for distinguishing from other keys by the
すなわち、端末10のインタフェース(CF IF)101は、第2のフラグの有無に従い、第2のフラグが付加されていない制御データについては、制御データを受信してから予め定められた時間が経過するまで、同じ要求の制御データを受け付けない又は該制御データを破棄し、一方、第2のフラグが付加された制御データについては、予め定められた時間が経過していなくても、同じ制御データを受け付けるようにしてもよい。 That is, the interface (CF IF) 101 of the terminal 10 follows the presence or absence of the second flag, and for the control data to which the second flag is not added, a predetermined time elapses after receiving the control data. Until the control data of the same request is not accepted or discarded, the control data to which the second flag is added is not changed even if a predetermined time has not passed. You may make it accept.
また、モデム40は、制御データに対する設定完了を示す情報又は要求された状態についての情報を含む応答情報に、応答情報であることを示す第3のフラグを付加して、該応答情報を端末に送信し、モデム40は、ネットワークからの通信データを端末10に送信してもよい。さらに、端末10は、応答情報及び通信データを受信し、第3のフラグの有無に従い応答情報か又は通信データかを判別し、判別結果に従い受信した応答情報を表示部に表示する又は所定の通信処理を実行するようにしてもよい。
Also, the
以上により、端末装置10により快適な多機能無線モデム40の制御を可能とする形態となる。音声通話等の機能を具備する多機能無線モデム40を、通信中に端末装置10より制御する形態が実現される。また、後位端末10側で連続的に設定を可変した場合に、その操作上、不要な要求信号を発行してしまうことによる端末装置10−多機能無線モデム40間の不要なトラフィックの発生や、その不要な要求信号による端末装置/多機能無線モデムの不要な処理が低減される。
なお、本発明のモデム制御方法又は装置・システムは、その各手順をコンピュータに実行させるためのモデム制御プログラムにより、無線端末及びモデムに格納され、実行されることができる。
As described above, the
The modem control method or apparatus / system of the present invention can be stored in a wireless terminal and a modem and executed by a modem control program for causing a computer to execute each procedure.
本発明は、例えば、モデムを介した通信及び通信装置等に関する産業に利用可能である。 The present invention can be used, for example, in industries related to communication via a modem, a communication device, and the like.
10、11 端末装置
20 無線モデム
30 パケット網
40 多機能無線モデム
50 携帯電話
101 CFインタフェース部(CF IF部)
102 表示部(ディスプレイ)
103 シリアルI/O制御部
104 CPU(処理部)
105 メモリ
106 ハードディスク
107 CFコネクタ
110 ユーザインタフェース部(UI部)
1011 COMポート
1013 DLLポート
1012 CFデバイスドライバ
DESCRIPTION OF
102 Display (display)
103 Serial I /
105
1011
Claims (4)
ひとつの物理通信ポートに対して第1及び第2の論理通信ポートを有するインタフェースを備えた端末は、ネットワークへの接続要求をダイヤルアップ接続のためのダイヤルアップアプリケーションから受信すると、前記端末の物理通信ポートに接続されるインタフェースを備えたモデムに対して、該接続要求を第1の論理通信ポート及び前記モデムのインタフェースを介して送信するステップと、
前記モデムは、該接続要求を受信し、予め定められた接続処理を実行して前記端末とネットワークとを接続させるステップと、
前記端末は、ダイヤルアップアプリケーション又は予め定められた通信アプリケーションからのデータは通信データであると判断し、第1の論理通信ポート及び前記モデムのインタフェースを介して、該通信データを前記モデムに送信することによりネットワークと通信するステップと、
前記端末は、第1の論理通信ポートを介したネットワークとの通信中において、前記モデムの状態並びに無線通信の電波状態をモニタするためのモニタアプリケーション又は前記モデムでの音声通話のための電話アプリケーションからの、モデムの設定要求又は状態取得要求又は音声通話の実行要求のいずれかを含むデータは制御データであると判断し、該制御データと、制御データか通信データかを識別するための識別情報とを、第2の論理通信ポート及び前記モデムのインタフェースを介して、前記モデムに送信するステップと、
前記モデムは、通信データ及び制御データをインタフェースを介して受信して、識別情報の有無に従い受信されたデータが通信データか制御データかを判別し、判別結果に従い、所定の通信処理又は制御データに応じた設定、状態取得並びに音声通話の制御を行うステップと
を含む前記モデム制御方法。 A modem control method for controlling a modem connected to a terminal from a communicating terminal,
When a terminal having an interface having first and second logical communication ports for one physical communication port receives a connection request to the network from a dial-up application for dial-up connection, physical communication of the terminal Transmitting the connection request to a modem having an interface connected to the port via a first logical communication port and the modem interface;
The modem receives the connection request and executes a predetermined connection process to connect the terminal and the network;
The terminal determines that the data from the dial-up application or the predetermined communication application is communication data, and transmits the communication data to the modem via the first logical communication port and the modem interface. Communicating with the network by:
The terminal receives a monitor application for monitoring a state of the modem and a radio wave state of a wireless communication or a telephone application for a voice call using the modem during communication with a network via a first logical communication port. Data including any of a modem setting request, a status acquisition request, or a voice call execution request is control data, and identification information for identifying the control data and control data or communication data Transmitting to the modem via a second logical communication port and the modem interface;
The modem receives communication data and control data through the interface, determines whether the received data is communication data or control data according to the presence or absence of identification information, and determines predetermined communication processing or control data according to the determination result. The modem control method including the step of performing the corresponding setting, status acquisition and voice call control.
をさらに含む請求項1に記載のモデム制御方法。 The interface of the terminal further includes a step of not accepting control data of the same request or discarding the control data until a predetermined time elapses after receiving the control data. Modem control method.
前記端末のインタフェースは、第2の識別情報の有無に従い、第2の識別情報が付加されていない制御データについては、制御データを受信してから予め定められた時間が経過するまで、同じ要求の制御データを受け付けない又は該制御データを破棄し、第2の識別情報が付加された制御データについては、予め定められた時間が経過していなくても、同じ制御データを受け付けるステップと
をさらに含む請求項2に記載のモデム制御方法。 The processing unit of the terminal adds second identification information to control data by a predetermined key that is likely to be quickly pressed and transmits the control data to the interface of the terminal;
According to the presence / absence of the second identification information, the interface of the terminal receives the same request for the control data to which the second identification information is not added until a predetermined time elapses after receiving the control data. The control data to which the control data is not accepted or the control data is discarded and the second identification information is added further includes a step of accepting the same control data even if a predetermined time has not elapsed. The modem control method according to claim 2.
前記モデムは、ネットワークからの通信データを、インタフェースを介して前記端末に送信するステップと、
前記端末は、応答情報及び通信データを受信し、第3の識別情報の有無に従い応答情報か又は通信データかを判別し、判別結果に従い、受信した応答情報を表示部に表示する又は所定の通信処理を実行する請求項1乃至3のいずれかに記載のモデム制御方法。
The modem adds third identification information indicating response information to response information including information indicating completion of setting for control data or information on a requested state, and transmits the response information via an interface. Transmitting to the terminal;
The modem transmits communication data from a network to the terminal via an interface;
The terminal receives response information and communication data, determines whether it is response information or communication data according to the presence or absence of the third identification information, and displays the received response information on the display unit according to the determination result or predetermined communication The modem control method according to claim 1, wherein the process is executed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005214107A JP4750494B2 (en) | 2005-07-25 | 2005-07-25 | Modem control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005214107A JP4750494B2 (en) | 2005-07-25 | 2005-07-25 | Modem control method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007036435A true JP2007036435A (en) | 2007-02-08 |
JP4750494B2 JP4750494B2 (en) | 2011-08-17 |
Family
ID=37795175
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005214107A Expired - Fee Related JP4750494B2 (en) | 2005-07-25 | 2005-07-25 | Modem control method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4750494B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009182565A (en) * | 2008-01-30 | 2009-08-13 | Sii Ido Tsushin Kk | Communication apparatus, communication method, and communication program |
JP2012099882A (en) * | 2010-10-29 | 2012-05-24 | Nakayo Telecommun Inc | Wireless terminal having id automatic update function |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0329536A (en) * | 1989-06-27 | 1991-02-07 | Fujitsu Ltd | Operation condition setting processing system for modem |
JPH0865357A (en) * | 1994-08-15 | 1996-03-08 | Nec Corp | Pc card radio modem |
JPH10187566A (en) * | 1996-12-20 | 1998-07-21 | Internatl Business Mach Corp <Ibm> | Data communication device |
JP2000244485A (en) * | 1999-02-22 | 2000-09-08 | Nakayo Telecommun Inc | Terminal adaptor |
JP2001313690A (en) * | 2000-05-01 | 2001-11-09 | Canon Inc | Device and method for communication control |
-
2005
- 2005-07-25 JP JP2005214107A patent/JP4750494B2/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0329536A (en) * | 1989-06-27 | 1991-02-07 | Fujitsu Ltd | Operation condition setting processing system for modem |
JPH0865357A (en) * | 1994-08-15 | 1996-03-08 | Nec Corp | Pc card radio modem |
JPH10187566A (en) * | 1996-12-20 | 1998-07-21 | Internatl Business Mach Corp <Ibm> | Data communication device |
JP2000244485A (en) * | 1999-02-22 | 2000-09-08 | Nakayo Telecommun Inc | Terminal adaptor |
JP2001313690A (en) * | 2000-05-01 | 2001-11-09 | Canon Inc | Device and method for communication control |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009182565A (en) * | 2008-01-30 | 2009-08-13 | Sii Ido Tsushin Kk | Communication apparatus, communication method, and communication program |
JP2012099882A (en) * | 2010-10-29 | 2012-05-24 | Nakayo Telecommun Inc | Wireless terminal having id automatic update function |
Also Published As
Publication number | Publication date |
---|---|
JP4750494B2 (en) | 2011-08-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4459975B2 (en) | Data receiving method and apparatus for mobile communication terminal | |
EP1931119A1 (en) | Portable terminal device and control method thereof | |
KR101306134B1 (en) | Method for updating presence in mobile instant messenger and mobile terminal using the same | |
KR20060110502A (en) | Method for displaying icon and controlling direct link in wireless terminal | |
KR20150049664A (en) | Apparatus and method for displaying a notification in an eletronic device | |
KR20010111166A (en) | A method of changing menu icon and editing menu configuration for a mobile telephone | |
WO2015100574A1 (en) | Method and device for string input control | |
US20070190936A1 (en) | Mobile phone having infrared communication function | |
EP2348682B1 (en) | Interface for PDA and computing device | |
KR20010060148A (en) | Method for increasing function of key in mobile communication terminal | |
JP4750494B2 (en) | Modem control method | |
CN110673761B (en) | Touch key detection method and terminal equipment thereof | |
CN111736931A (en) | Application display interface interception method and terminal | |
KR20130020363A (en) | Apparatus and method for managing power in a portable terminal | |
KR100606784B1 (en) | method for editing initial menu | |
US20080182516A1 (en) | Information processing apparatus and controlling method of the same | |
JP2005094442A (en) | Radio communication apparatus and sound information transmitting device | |
KR100474692B1 (en) | A method of editing menu configuration for a mobile telephone | |
KR100703344B1 (en) | Method for searching devices for bluetooth in wireless terminal | |
JP2004032086A (en) | User interface setting system, radio communications terminal, electronic apparatus, program | |
KR100452844B1 (en) | Portable terminal having power-saving function, and method for control thereof | |
JP4261311B2 (en) | Information processing device and program | |
KR100620014B1 (en) | Mobile terminal and method for editing character thereof | |
WO2013131346A1 (en) | Mobile phone and method for handling calls by gestures | |
KR101303020B1 (en) | Method of executing a voice call service and a messenger service concurrently and mobile communication terminal thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080415 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20100121 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100930 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20101116 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110111 |
|
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: 20110517 |
|
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: 20110519 |
|
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: 20140527 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |