Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5487889B2 - Portable information terminal, control method thereof, and program - Google Patents
[go: Go Back, main page]

JP5487889B2 - Portable information terminal, control method thereof, and program - Google Patents

Portable information terminal, control method thereof, and program Download PDF

Info

Publication number
JP5487889B2
JP5487889B2 JP2009257717A JP2009257717A JP5487889B2 JP 5487889 B2 JP5487889 B2 JP 5487889B2 JP 2009257717 A JP2009257717 A JP 2009257717A JP 2009257717 A JP2009257717 A JP 2009257717A JP 5487889 B2 JP5487889 B2 JP 5487889B2
Authority
JP
Japan
Prior art keywords
communication
mode
switching
external device
battery capacity
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
JP2009257717A
Other languages
Japanese (ja)
Other versions
JP2011103565A5 (en
JP2011103565A (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.)
Canon Marketing Japan Inc
Canon IT Solutions Inc
Original Assignee
Canon Marketing Japan Inc
Canon IT Solutions Inc
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 Canon Marketing Japan Inc, Canon IT Solutions Inc filed Critical Canon Marketing Japan Inc
Priority to JP2009257717A priority Critical patent/JP5487889B2/en
Publication of JP2011103565A publication Critical patent/JP2011103565A/en
Publication of JP2011103565A5 publication Critical patent/JP2011103565A5/ja
Application granted granted Critical
Publication of JP5487889B2 publication Critical patent/JP5487889B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)

Description

ハンディターミナル端末とBluetooth機器との通信に関する。   The present invention relates to communication between a handy terminal terminal and a Bluetooth device.

携帯情報端末であるハンディターミナル端末(以下、HT端末という。)がBluetooth機器との通信を行う場合、接続に1秒〜3秒、切断に2秒程度の時間を要する。   When a handy terminal terminal (hereinafter referred to as an HT terminal), which is a portable information terminal, communicates with a Bluetooth device, it takes about 1 to 3 seconds for connection and about 2 seconds for disconnection.

HT端末の運用上、1日に200回以上Bluetooth機器と「接続/切断」を繰り返す業務があるが、その「接続/切断」の合計時間は5秒×200回=1000秒=約17分かかっていることになる。これを月換算、年換算すると膨大な時間となるため、業務を行えない無駄な時間が生じていることになる。   In operation of the HT terminal, there is a task of repeating “connect / disconnect” with a Bluetooth device 200 times or more per day, but the total time of “connect / disconnect” is 5 seconds × 200 times = 1000 seconds = about 17 minutes Will be. If this is converted into monthly and yearly amounts, it takes an enormous amount of time, resulting in wasted time during which work cannot be performed.

そこで、HT端末とBluetooth機器を常時接続する方法も考えられるが、運用時間中、常に接続することになり、電池(バッテリ)の消耗が激しく、HT端末の運用時間が短くなるという問題がある。   Therefore, a method of always connecting the HT terminal and the Bluetooth device is also conceivable. However, there is a problem that the connection is always made during the operation time, the battery (battery) is consumed very much, and the operation time of the HT terminal is shortened.

特許文献1には、情報端末と撮像端末の間で、ポイントツーポイントの情報転送無線通信の接続を事前に行う技術に関する記載がある。   Patent Document 1 describes a technique for performing a point-to-point information transfer wireless communication connection in advance between an information terminal and an imaging terminal.

特開2007−19665号公報JP 2007-19665 A

しかしながら、特許文献1は、単に事前に接続するものであって、接続するモードを切り替えることについては何らの開示もなく、電池残量に応じて、接続モードを動的に変更することはできない。   However, Patent Document 1 simply connects in advance, and there is no disclosure about switching the connection mode, and the connection mode cannot be dynamically changed according to the remaining battery level.

本発明、携帯情報端末のバッテリ容量に従って、携帯情報端末と外部機器との通信にかかるモードを、複数設定された通信にかかるモードの中から選択された他の通信にかかるモードに切り替えることができ、当該複数設定された通信にかかるモードのうち1つは、当該外部機器と通信を行う画面に画面遷移する前の画面で事前に当該外部機器と接続する予め定められた接続ポイントに達した際に当該外部機器と事前に接続して通信後に切断する事前接続モードを含む仕組みを提供することを目的とする。
The present invention, according to the battery capacity of the portable information terminal, a mode of the communication between the portable information terminal and an external device, to switch to such mode to another communication selected from among such modes in the communication in which a plurality set Yes, one of the modes for the set communication has reached a predetermined connection point for connecting to the external device in advance on the screen before the screen transitions to the screen for communicating with the external device. It is an object of the present invention to provide a mechanism including a pre-connection mode in which an external device is connected in advance and disconnected after communication .

本発明は、電源部を備え、外部機器と無線通信を行う際の通信にかかるモードを複数設定可能な携帯情報端末であって、前記電源部のバッテリ容量を確認する確認手段と、前記複数設定された通信にかかるモードを切り替える閾値を記憶する記憶手段と、前記複数設定された通信にかかるモードをそれぞれ切り替えるバッテリ容量の閾値をそれぞれ前記記憶手段に登録する登録手段と、前記確認手段による確認の結果得られたバッテリ容量と、前記登録手段により登録されたバッテリ容量の閾値であって前記記憶手段記憶された閾値とに従って、前記外部機器との通信にかかるモードを、前記複数設定された通信にかかるモードの中から選択された他の通信にかかるモードに切り替える切り替え手段と、を備え、前記複数設定された通信にかかるモードのうち1つには、前記外部機器と通信を行う画面に画面遷移する前の画面で事前に前記外部機器と接続する予め定められた接続ポイントに達した際に前記外部機器と事前に接続して通信後に切断する事前接続モードを含むことを特徴とする。
また、本発明は、電源部を備え、外部機器と無線通信を行う際の通信にかかるモードを複数設定可能であり、前記複数設定された通信にかかるモードを切り替える閾値を記憶する記憶手段を有する携帯情報端末における制御方法であって、前記電源部のバッテリ容量を確認する確認ステップと、前記複数設定された通信にかかるモードをそれぞれ切り替えるバッテリ容量の閾値をそれぞれ前記記憶手段に登録する登録ステップと、前記確認ステップによる確認の結果得られたバッテリ容量と、前記登録ステップにより登録されたバッテリ容量の閾値であって前記記憶手段に記憶された閾値とに従って、前記外部機器との通信にかかるモードを、前記複数設定された通信にかかるモードの中から選択された他の通信にかかるモードに切り替える切り替えステップとを含み、前記複数設定された通信にかかるモードのうち1つには、前記外部機器と通信を行う画面に画面遷移する前の画面で事前に前記外部機器と接続する予め定められた接続ポイントに達した際に前記外部機器と事前に接続して通信後に切断する事前接続モードを含むことを特徴とする。
また、本発明は、電源部を備え、外部機器と無線通信を行う際の通信にかかるモードを複数設定可能であり、前記複数設定された通信にかかるモードを切り替える閾値を記憶する記憶手段を有する携帯情報端末において実行可能なプログラムであって、前記電源部のバッテリ容量を確認する確認手段、前記複数設定された通信にかかるモードをそれぞれ切り替えるバッテリ容量の閾値をそれぞれ前記記憶手段に登録する登録手段、前記確認手段による確認の結果得られたバッテリ容量と、前記登録手段により登録されたバッテリ容量の閾値であって前記記憶手段に記憶された閾値とに従って、前記外部機器との通信にかかるモードを、前記複数設定された通信にかかるモードの中から選択された他の通信にかかるモードに切り替える切り替え手段として前記携帯情報端末を機能させ、前記複数設定された通信にかかるモードのうち1つには、前記外部機器と通信を行う画面に画面遷移する前の画面で事前に前記外部機器と接続する予め定められた接続ポイントに達した際に前記外部機器と事前に接続して通信後に切断する事前接続モードを含むことを特徴とする。
The present invention is a portable information terminal including a power supply unit and capable of setting a plurality of modes for communication when performing wireless communication with an external device, and a confirmation unit for checking a battery capacity of the power supply unit, and the plurality of settings Storage means for storing a threshold value for switching the mode related to the communication performed, a registration means for registering a threshold value for the battery capacity for switching each of the plurality of set communication modes in the storage means, and confirmation by the confirmation means A plurality of communication modes set for the communication with the external device according to the obtained battery capacity and the threshold value of the battery capacity registered by the registration means and stored in the storage means. such a switching means for switching to such a mode other communication selected from among the modes, the provided, said plurality set communication in In one of the modes, the external device is connected in advance when a predetermined connection point to be connected to the external device is reached in advance on the screen before transitioning to the screen for communication with the external device. It includes a pre-connection mode in which connection is established and disconnection is performed after communication .
In addition, the present invention includes a storage unit that includes a power supply unit, can set a plurality of modes for communication when performing wireless communication with an external device, and stores a threshold value for switching the plurality of set modes for communication. A control method in a portable information terminal, comprising: a confirmation step of confirming a battery capacity of the power supply unit; a registration step of registering in the storage means a threshold value of a battery capacity for switching each of the plurality of set communication modes; The mode for communication with the external device is determined according to the battery capacity obtained as a result of the confirmation in the confirmation step and the threshold value of the battery capacity registered in the registration step and stored in the storage means. , Switch to the other communication mode selected from the plurality of communication modes selected A switching step, wherein one of the plurality of set modes for communication is determined in advance to connect to the external device on a screen before transitioning to a screen for communication with the external device. And a pre-connection mode in which when the connection point is reached, the external device is connected in advance and disconnected after communication.
In addition, the present invention includes a storage unit that includes a power supply unit, can set a plurality of modes for communication when performing wireless communication with an external device, and stores a threshold value for switching the plurality of set modes for communication. A program that can be executed in a portable information terminal, and a registration unit that registers a battery capacity threshold value for switching each of the plurality of set communication modes in the storage unit. The mode for communication with the external device is determined according to the battery capacity obtained as a result of the confirmation by the confirmation means and the threshold value of the battery capacity registered by the registration means and stored in the storage means. , Switching to switch to another communication mode selected from the plurality of set communication modes The portable information terminal is made to function as a stage, and one of the plurality of set communication modes is connected to the external device in advance on a screen before transitioning to a screen for communication with the external device. When a predetermined connection point is reached, it includes a pre-connection mode in which the external device is connected in advance and disconnected after communication.

本発明によれば、携帯情報端末のバッテリ容量に従って、携帯情報端末と外部機器との通信にかかるモードを、複数設定された通信にかかるモードの中から選択された他の通信にかかるモードに切り替えることができ、当該複数設定された通信にかかるモードのうち1つは、当該外部機器と通信を行う画面に画面遷移する前の画面で事前に当該外部機器と接続する予め定められた接続ポイントに達した際に当該外部機器と事前に接続して通信後に切断する事前接続モードを含む仕組みを提供することができる。
According to the present invention, in accordance with the battery capacity of the portable information terminal, the mode for communication between the portable information terminal and the external device is switched to the mode for other communication selected from the plurality of set modes for communication. One of the plurality of set communication modes can be set to a predetermined connection point for connecting to the external device in advance on the screen before transitioning to the screen for communication with the external device. Ru can be provided a mechanism comprising a pre-connection mode that connects in advance with the external device upon reaching with cut after communication.

HT端末のハードウェア構成図である。It is a hardware block diagram of an HT terminal. HT端末上で動作するソフトウェアモジュール構成図である。It is a software module block diagram which operate | moves on an HT terminal. 接続モードを設定する画面例を示す図である。It is a figure which shows the example of a screen which sets a connection mode. HT端末における処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process in an HT terminal. HT端末の画面例を示す図である。It is a figure which shows the example of a screen of HT terminal.

以下、図面を用いて本発明の実施の形態を説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

本発明の実施の形態においては、ハンディターミナル端末(以下、HT端末という。)において処理が実行されるものとして説明する。   In the embodiment of the present invention, description will be made assuming that processing is executed in a handy terminal terminal (hereinafter referred to as HT terminal).

図1は、HT端末(携帯情報端末)のハードウェア構成を示す図である。   FIG. 1 is a diagram illustrating a hardware configuration of an HT terminal (portable information terminal).

図1に示すように、HT端末は、システムバス111を介してCPU(Central Processing Unit)101、RAM(Random Access Memory)102、ROM(Read Only Memory)103、操作部 I/F104、プリンタ I/F106、MC(Memory Controller)108、外部 I/F110などが接続された構成となる。   As shown in FIG. 1, an HT terminal is connected to a CPU (Central Processing Unit) 101, a RAM (Random Access Memory) 102, a ROM (Read Only Memory) 103, an operation unit I / F 104, a printer I / F via a system bus 111. F106, MC (Memory Controller) 108, external I / F 110, etc. are connected.

CPU101は、ROM103の「プログラム用ROM」に記憶されたプログラムに基づいてシステムバス111に接続された各デバイスを制御し、情報処理装置全体を統括制御する。また、このROM103の「フォント用ROM」にはフォントデータ等を記憶し、ROM103の「データ用ROM」には各種データを記憶する。   The CPU 101 controls each device connected to the system bus 111 based on a program stored in the “program ROM” of the ROM 103 and controls the entire information processing apparatus. Further, font data and the like are stored in the “font ROM” of the ROM 103, and various data are stored in the “data ROM” of the ROM 103.

RAM102は、CPU101の主メモリ、ワークエリア等として機能する。   The RAM 102 functions as a main memory, work area, and the like for the CPU 101.

操作部 I/F104は、操作部(UI)105とのインタフェース部であり、操作部105に表示する各種画面を表示し、ユーザによる入出力操作を可能とする。   The operation unit I / F 104 is an interface unit with the operation unit (UI) 105, displays various screens displayed on the operation unit 105, and allows the user to perform input / output operations.

プリンタ I/F106は、プリンタ部107とのインタフェース部である。   A printer I / F 106 is an interface unit with the printer unit 107.

MC108は、ハードディスク109などのアクセスを制御する。   The MC 108 controls access to the hard disk 109 and the like.

外部 I/F110は、無線通信により外部機器との通信を行う。例えば、Bluetooth通信によりBluetooth機器と通信を行う。Bluetooth機器とは、Bluetooth通信可能な機器であり、プリンタなどがある。   The external I / F 110 communicates with an external device by wireless communication. For example, communication is performed with a Bluetooth device by Bluetooth communication. The Bluetooth device is a device capable of Bluetooth communication, such as a printer.

電源部112は、HT端末に電力を供給する電池・バッテリである。   The power supply unit 112 is a battery / battery that supplies power to the HT terminal.

図2は、HT端末上で動作するソフトウェアモジュール構成図である。   FIG. 2 is a configuration diagram of software modules that operate on the HT terminal.

20は、HT端末のハードディスク109である。   Reference numeral 20 denotes a hard disk 109 of the HT terminal.

ハードディスク109には、アプリケーション201と、Bluetooth接続ライブラリ202と、OS(オペレーティングシステム)203とが記憶されている。   The hard disk 109 stores an application 201, a Bluetooth connection library 202, and an OS (operating system) 203.

アプリケーション201がBluetooth接続ライブラリ202を呼び出すことで、HT端末とBluetooth機器との「接続/切断」処理が行われる。   When the application 201 calls the Bluetooth connection library 202, “connection / disconnection” processing between the HT terminal and the Bluetooth device is performed.

図3は、接続モードを設定する画面例を示す図である。   FIG. 3 is a diagram illustrating an example of a screen for setting the connection mode.

ユーザは、HT端末のメニュー画面からこの画面を呼び出し、各種設定を行う。   The user calls this screen from the menu screen of the HT terminal and performs various settings.

301にチェックをすることで、接続モードの設定が有効となり、グレイアウトしていた302〜303が入力可能となる。   By checking 301, the connection mode setting becomes valid, and grayed out 302 to 303 can be input.

302が「常時接続モード」、303が「事前接続モード」、304が「都度接続モード」である。   302 is an “always connected mode”, 303 is a “preliminary connection mode”, and 304 is an “every connection mode”.

「常時接続モード」は、アプリケーションを起動してから終了するまでの間、HT端末とBluetooth機器とを常に通信可能状態とするモードである。「接続/切断」処理は最初の一度だけで済むため、待ち時間が少ないというメリットがある一方、常に通信可能状態としているため電池の消耗が激しいというデメリットがある。   The “always connected mode” is a mode in which the HT terminal and the Bluetooth device are always in a communicable state from when the application is started until it is terminated. Since the “connect / disconnect” process only needs to be performed once, there is a merit that the waiting time is small. On the other hand, there is a demerit that the battery consumption is severe because the communication is always possible.

「事前接続モード」は、アプリケーションを起動した後、所定の接続ポイントに達した場合、HT端末とBluetooth機器との通信を接続し、Bluetooth通信後に切断するモードである。事前にBluetooth通信を接続状態とするため、「接続」についての待ち時間が少なくなるというメリットがある。   The “pre-connection mode” is a mode in which communication between the HT terminal and the Bluetooth device is connected and disconnected after the Bluetooth communication when a predetermined connection point is reached after the application is started. Since Bluetooth communication is set in a connected state in advance, there is an advantage that the waiting time for “connection” is reduced.

「都度接続モード」は、アプリケーションを起動した後、HT端末とBluetooth機器とが、Bluetooth通信を行う必要が生じた場合、HT端末とBluetooth機器との通信を接続し、Bluetooth通信後に切断するモードである。その都度接続するため、「接続/切断」についての待ち時間が生じるというデメリットはあるが、電池の消耗は少ないというメリットがある。   “Every time connection mode” is a mode in which the communication between the HT terminal and the Bluetooth device is connected and disconnected after the Bluetooth communication when it is necessary to perform the Bluetooth communication between the HT terminal and the Bluetooth device after starting the application. is there. Since the connection is made each time, there is a demerit that a waiting time for “connection / disconnection” occurs, but there is an advantage that battery consumption is low.

本実施の形態では、電池の電圧に応じてモードを切り替える方法を採用している。電圧が高い場合は、電池の残量が多いと判断でき、電圧が低いときは、電池の残量が少ないと判断できるからである。   In the present embodiment, a method of switching modes according to the battery voltage is adopted. This is because when the voltage is high, it can be determined that the remaining battery level is high, and when the voltage is low, it can be determined that the remaining battery level is low.

電圧値はユーザが任意に入力可能である。図3の例では、7.5ボルト以上の場合は、「常時接続モード」に、6.8〜7.4ボルトの間は、「事前接続モード」に、6.7ボルト以下の場合は、「都度接続モード」に設定する例となっている。   The voltage value can be arbitrarily input by the user. In the example of FIG. 3, when the voltage is 7.5 volts or more, the “always connected mode” is set. In this example, the connection mode is set every time.

設定305ボタンを押下することにより、設定値がHT端末に記憶される。   By pressing the setting 305 button, the setting value is stored in the HT terminal.

なお、電池の残量は、電圧による判断するものに限定されるものではなく、他の方法を採用してもよい。   Note that the remaining amount of the battery is not limited to the determination based on the voltage, and other methods may be adopted.

図4は、本実施の形態のHT端末における処理の流れを示すフローチャートである。   FIG. 4 is a flowchart showing a flow of processing in the HT terminal according to the present embodiment.

401において、HT端末は、アプリケーションを起動する。なお、このアプリケーションは、HT端末に記憶されているアプリケーションであって、ユーザが任意に指定するものである。アプリケーションの種類に応じて、各種Bluetooth機器と通信を行う。例えば、アプリケーションAの処理では、Bluetooth機器AとBluetooth機器Bと通信を行ったり、アプリケーションBの処理では、Bluetooth機器Cと通信を行ったりする。   In 401, the HT terminal starts an application. This application is an application stored in the HT terminal and is arbitrarily designated by the user. Depending on the type of application, it communicates with various Bluetooth devices. For example, in the process of application A, communication is performed with Bluetooth device A and Bluetooth device B, and in the process of application B, communication is performed with Bluetooth device C.

402〜418の間で、アプリケーション処理が行われる。   Application processing is performed between 402 and 418.

403において、HT端末は、モード設定フラグの有無をチェックする。フラグありの場合、404へ進み、フラグなしの場合、414へ進む。具体的には、図3に示す例で接続モードの設定が行われた場合、HT端末内部にモード設定フラグの設定がされるため、このフラグを参照することで判断している。   In 403, the HT terminal checks for the presence of a mode setting flag. If there is a flag, the process proceeds to 404, and if there is no flag, the process proceeds to 414. Specifically, when the connection mode is set in the example shown in FIG. 3, the mode setting flag is set in the HT terminal. Therefore, the determination is made by referring to this flag.

404において、HT端末は、バッテリ容量のチェック(確認)を行う。ここでは、電池の電圧をチェックして、図3に示す例で説明した、3つのモードのいずれのモードを適用するかを判定している。   In 404, the HT terminal checks (confirms) the battery capacity. Here, the battery voltage is checked to determine which of the three modes described in the example illustrated in FIG. 3 is to be applied.

本実施の形態では、7.5ボルト以上の場合は、「常時接続モード」に、6.8〜7.4ボルトの間は、「事前接続モード」に、6.7ボルト以下の場合は、「都度接続モード」に設定することとなっている。   In the present embodiment, when the voltage is 7.5 volts or more, the “always connected mode” is set, and between 6.8 to 7.4 volts is set to the “pre-connection mode”, and when the voltage is 6.7 volts or less, It is supposed to be set to “Every time connection mode”.

なお、ここではバッテリの残量に応じて、接続モードを切り替えている。バッテリの残量のチェックをするために電圧をチェックする方法は一例であって、これに限られるものではない。バッテリ容量(バッテリ残量)を確認できればどのような方法であってもよい。   Here, the connection mode is switched according to the remaining amount of the battery. The method of checking the voltage to check the remaining battery level is an example, and is not limited to this. Any method may be used as long as the battery capacity (remaining battery capacity) can be confirmed.

次に各モードについて説明を行う。
(1)「常時接続モード」
405において、HT端末は、HT端末とBluetooth機器とが未接続かどうかを判定する。Yesの場合、406へ進み、Noの場合、407へ進む。ここで判定対象なるBluetooth機器は、現在起動しているアプリケーションの処理に用いられる機器である。
Next, each mode will be described.
(1) "Always connected mode"
In 405, the HT terminal determines whether the HT terminal and the Bluetooth device are not connected. If yes, go to 406, if no, go to 407. The Bluetooth device to be determined here is a device used for processing of the currently activated application.

406において、HT端末は、HT端末とBluetooth機器との接続を行う。ここでは、Bluetooth接続ライブラリを呼び出す。   In 406, the HT terminal establishes a connection between the HT terminal and the Bluetooth device. Here, the Bluetooth connection library is called.

407において、HT端末は、Bluetooth処理を行うかを判定する。Yesの場合、408へ進み、Noの場合、418へ進む。   In 407, the HT terminal determines whether to perform Bluetooth processing. If yes, go to 408; if no, go to 418.

408において、HT端末は、Bluetooth機器との処理を行う。例えば、Bluetooth機器がプリンタの場合、印刷処理を行う。ここでは、各種Bluetooth機器の種類に応じた処理が行われる。
(2)「事前接続モード」
409において、HT端末は、接続ポイントであるかどうかを判定する。Yesの場合、410へ進み、Noの場合、418へ進む。ここで、接続ポイントとは、予めアプリケーション毎に登録されるポイントである。この接続ポイントに達したとき、Bluetooth接続ライブラリを呼び出す。
In 408, the HT terminal performs processing with the Bluetooth device. For example, when the Bluetooth device is a printer, a printing process is performed. Here, processing according to the type of various Bluetooth devices is performed.
(2) "Pre-connection mode"
At 409, the HT terminal determines whether it is a connection point. If yes, go to 410; if no, go to 418. Here, the connection point is a point registered in advance for each application. When this connection point is reached, the Bluetooth connection library is called.

410において、HT端末は、HT端末とBluetooth機器との接続を行う。ここでは、Bluetooth接続ライブラリを呼び出す。   In 410, the HT terminal establishes a connection between the HT terminal and the Bluetooth device. Here, the Bluetooth connection library is called.

411において、HT端末は、Bluetooth処理を行うかを判定する。Yesの場合、412へ進み、Noの場合、418へ進む。   In 411, the HT terminal determines whether to perform Bluetooth processing. If yes, go to 412; if no, go to 418.

412において、HT端末は、Bluetooth機器との処理を行う。   In 412, the HT terminal performs processing with the Bluetooth device.

413において、HT端末は、Bluetooth機器との通信を切断する。   In 413, the HT terminal disconnects communication with the Bluetooth device.

図5を用いて、409〜413の処理の一例を説明する。   An example of the processes 409 to 413 will be described with reference to FIG.

図5は、HT端末の画面例を示す図である。   FIG. 5 is a diagram illustrating a screen example of the HT terminal.

501〜503は、HT端末において遷移する各画面の例である。   Reference numerals 501 to 503 are examples of screens that transition in the HT terminal.

数量入力画面501は、商品1〜9の数量を入力する画面である。入力確認画面502は、数量入力画面で入力された商品の金額を確認する画面である。印刷確認画面503は、印刷処理を行うかを確認する画面である。   The quantity input screen 501 is a screen for inputting the quantities of the products 1 to 9. The input confirmation screen 502 is a screen for confirming the price of the product input on the quantity input screen. A print confirmation screen 503 is a screen for confirming whether to perform print processing.

この例では、「OK」ボタン504押下後のポイントが、接続ポイントとして登録されているものとする。従って、「OK」ボタン504が押下されると、HT端末は、このアプリケーション処理で用いられるBluetooth機器との接続を行う。   In this example, it is assumed that the point after the “OK” button 504 is pressed is registered as a connection point. Therefore, when the “OK” button 504 is pressed, the HT terminal connects to the Bluetooth device used in this application process.

その後、ユーザは、「確認」ボタン505を押下した後、実際の印刷処理を開始したい場合は、「印刷」ボタン506を押下することとなる。「印刷」ボタン506が押下されると、印刷処理を実行する。その後、Bluetooth機器との通信を切断する。   Thereafter, after the user presses the “confirm” button 505, the user presses the “print” button 506 to start actual print processing. When the “print” button 506 is pressed, print processing is executed. Thereafter, the communication with the Bluetooth device is disconnected.

この例では、実際に印刷指示を行う画面へ遷移する数画面前のタイミングで、HT端末とBluetooth機器との通信が接続されているため、実際にユーザが印刷処理を実行するタイミングでは、接続待ち時間なくそのまま印刷処理を実行できることとなる。
(3)「都度接続モード」
414において、HT端末は、Bluetooth処理を行うかを判定する。Yesの場合、415へ進み、Noの場合、418へ進む。
In this example, since the communication between the HT terminal and the Bluetooth device is connected at the timing several screens before the transition to the screen for actually issuing the print instruction, the connection is awaited at the timing when the user actually executes the printing process. The printing process can be executed as it is without time.
(3) “Every time connection mode”
In 414, the HT terminal determines whether to perform Bluetooth processing. If yes, go to 415; if no, go to 418.

415において、HT端末は、HT端末とBluetooth機器との接続を行う。ここでは、Bluetooth接続ライブラリを呼び出す。   In 415, the HT terminal establishes connection between the HT terminal and the Bluetooth device. Here, the Bluetooth connection library is called.

416において、HT端末は、Bluetooth機器との処理を行う。   In 416, the HT terminal performs processing with the Bluetooth device.

417において、HT端末は、Bluetooth機器との通信を切断する。   In 417, the HT terminal disconnects communication with the Bluetooth device.

「都度接続モード」は、HT端末とBluetooth機器が通信を行う都度、通信の「接続/切断」を行うモードである。従って、図5に示す例の場合、「印刷」ボタン506が押下されると、Bluetooth機器との通信を接続する。   “Every time connection mode” is a mode in which “connection / disconnection” of communication is performed each time the HT terminal and the Bluetooth device perform communication. Accordingly, in the example shown in FIG. 5, when the “print” button 506 is pressed, communication with the Bluetooth device is connected.

以上、3つのモードについて説明した。   The three modes have been described above.

なお、418において、HT端末は、アプリケーションの終了指示がなされた場合、ループを抜ける。   In 418, the HT terminal exits the loop when an application termination instruction is given.

419において、HT端末は、常時接続モードであるかを判定する。Yesの場合、420へ進み、Noの場合、421へ進む。   In 419, the HT terminal determines whether it is in the always-on mode. If yes, go to 420; if no, go to 421.

420において、HT端末は、Bluetooth機器との通信を切断する。常時接続モード以外は、アプリケーション処理の中で通信を切断することができるが、常時接続モードは常に接続していることから、アプリケーションの終了指示があった際に、通信を切断することとしている。   In 420, the HT terminal disconnects communication with the Bluetooth device. Communication other than the always-on mode can be disconnected during application processing. However, since the always-on mode is always connected, communication is disconnected when an application termination instruction is issued.

421において、HT端末は、アプリケーションを終了する。   In 421, the HT terminal ends the application.

以上説明した通り、本発明によれば、電池残量に応じて、HT端末と外部機器との通信接続モードを変更することで、操作者の待ち時間を減らしつつ、電池の消耗を少なくすることができる。   As described above, according to the present invention, by changing the communication connection mode between the HT terminal and the external device according to the remaining battery level, it is possible to reduce battery consumption while reducing the waiting time for the operator. Can do.

なお、上述した各種データの構成及びその内容はこれに限定されるものではなく、用途や目的に応じて、様々な構成や内容で構成されることは言うまでもない。   It should be noted that the configuration and contents of the various data described above are not limited to this, and it goes without saying that the various data and configurations are configured according to the application and purpose.

以上、一実施形態について示したが、本発明は、例えば、システム、装置、方法、プログラムもしくは記録媒体等としての実施態様をとることが可能であり、具体的には、複数の機器から構成されるシステムに適用しても良いし、また、一つの機器からなる装置に適用しても良い。   Although one embodiment has been described above, the present invention can take an embodiment as, for example, a system, apparatus, method, program, or recording medium, and specifically includes a plurality of devices. The present invention may be applied to a system including a single device.

101 CPU
102 RAM
103 ROM
104 操作部 I/F
105 操作部
106 プリンタ I/F
107 プリンタ部
108 MC
109 ハードディスク
110 外部 I/F
111 システムバス
112 電源部
101 CPU
102 RAM
103 ROM
104 Operation part I / F
105 Operation unit 106 Printer I / F
107 Printer 108 MC
109 Hard disk 110 External I / F
111 System bus 112 Power supply

Claims (8)

電源部を備え、外部機器と無線通信を行う際の通信にかかるモードを複数設定可能な携帯情報端末であって、
前記電源部のバッテリ容量を確認する確認手段と、
前記複数設定された通信にかかるモードを切り替える閾値を記憶する記憶手段と、
前記複数設定された通信にかかるモードをそれぞれ切り替えるバッテリ容量の閾値をそれぞれ前記記憶手段に登録する登録手段と、
前記確認手段による確認の結果得られたバッテリ容量と、前記登録手段により登録されたバッテリ容量の閾値であって前記記憶手段記憶された閾値とに従って、前記外部機器との通信にかかるモードを、前記複数設定された通信にかかるモードの中から選択された他の通信にかかるモードに切り替える切り替え手段と
を備え、
前記複数設定された通信にかかるモードのうち1つには、前記外部機器と通信を行う画面に画面遷移する前の画面で事前に前記外部機器と接続する予め定められた接続ポイントに達した際に前記外部機器と事前に接続して通信後に切断する事前接続モードを含むことを特徴とする携帯情報端末。
A portable information terminal having a power supply unit and capable of setting a plurality of modes for communication when performing wireless communication with an external device,
Confirmation means for confirming the battery capacity of the power supply unit;
Storage means for storing a threshold value for switching a mode for the plurality of communication settings;
Registration means for registering in the storage means threshold values of battery capacities for switching between the plurality of set communication modes, respectively;
According to the battery capacity obtained as a result of the confirmation by the confirmation unit and the threshold value of the battery capacity registered by the registration unit and stored in the storage unit , a mode for communication with the external device is set, Switching means for switching to another communication mode selected from the plurality of set communication modes ;
With
One of the plurality of communication-related modes is when a predetermined connection point for connecting to the external device in advance is reached on the screen before transitioning to the screen for communicating with the external device. The mobile information terminal includes a pre-connection mode for connecting to the external device in advance and disconnecting after communication .
前記切り替え手段により切り替えられたモードが事前接続モードである場合に、前記外部機器と通信を行う画面に画面遷移する前の画面で事前に前記外部機器と接続する前記接続ポイントに達したか否かを判定する判定手段と、Whether or not the connection point to be connected to the external device in advance is reached on the screen before transitioning to the screen for communication with the external device when the mode switched by the switching unit is the pre-connection mode Determining means for determining
前記判定手段により、前記接続ポイントに達したと判定された場合に、前記外部機器と事前に接続して前記外部機器と通信を行う画面で通信を行った後に切断する制御手段と、When it is determined by the determination means that the connection point has been reached, a control means for disconnecting after performing communication on the screen for connecting to the external device in advance and communicating with the external device;
を更に備えることを特徴とする請求項1に記載の携帯情報端末。The portable information terminal according to claim 1, further comprising:
前記切り替え手段によるモードの切り替え処理を実行するかの設定を受け付ける受付手段を更に備え、A receiving means for receiving a setting for executing the mode switching process by the switching means;
前記切り替え手段は、前記受付手段により、前記切り替え手段によるモードの切り替え処理を実行するとの設定を受け付けた場合には、前記確認手段による確認の結果得られたバッテリ容量と、前記登録手段により登録されたバッテリ容量の閾値であって前記記憶手段に記憶された閾値とに従って、前記外部機器との通信にかかるモードを、前記複数設定された通信にかかるモードの中から選択された他の通信にかかるモードに切り替えることを特徴とする請求項1又は2に記載の携帯情報端末。When the setting unit receives the setting for executing the mode switching process by the switching unit, the switching unit registers the battery capacity obtained as a result of the confirmation by the confirmation unit and the registration unit. In accordance with the threshold value of the battery capacity that is stored in the storage means, the mode for communication with the external device is related to the other communication selected from the plurality of modes for communication set The portable information terminal according to claim 1, wherein the portable information terminal is switched to a mode.
前記受付手段により、前記切り替え手段によるモードの切り替え処理を実行しないとの設定を受け付けた場合には、前記切り替え手段によるモードの切り替え処理を実行することなく、前記外部機器と通信を行うべく、前記外部機器との通信にかかる固定のモードで動作する動作手段を更に備えることを特徴とする請求項3に記載の携帯情報端末。When receiving the setting not to execute the mode switching process by the switching unit by the receiving unit, in order to communicate with the external device without executing the mode switching process by the switching unit, The portable information terminal according to claim 3, further comprising an operation unit that operates in a fixed mode for communication with an external device. アプリケーションを起動する起動手段を更に備え、
前記確認手段は、前記起動手段によりアプリケーションが起動している間、所定のタイミングで確認を行うことを特徴とする請求項1乃至4の何れか1項に記載の携帯情報端末。
Further comprising an activation means for activating an application,
The confirmation means, while the application is activated by the activation means, the portable information terminal according to any one of claims 1 to 4, characterized in that to confirm at a predetermined timing.
前記複数設定された通信にかかるモード、外部機器と常時接続する常時接続モードと、通信を行う都度接続と切断を行う都度接続モードと
前記記憶手段は、前記切り替え手段により前記常時接続モードに切り替えるバッテリ容量が、前記切り替え手段により前記事前接続モードに切り替えるバッテリ容量よりも高く、前記切り替え手段により前記都度接続モードに切り替えるバッテリ容量が、前記切り替え手段により前記事前接続モードに切り替えるバッテリ容量よりも低くなるように、前記複数設定された通信にかかるモードをそれぞれ切り替えるバッテリ容量の閾値が記憶されていることを特徴とする請求項1乃至のいずれか1項に記載の携帯情報端末。
Wherein the plurality set mode according to the communication, viewed contains a continuous connection mode always connected with an external device, and a connection mode each time performing connection and disconnection each time communicates,
The storage means has a battery capacity that is switched to the constant connection mode by the switching means is higher than a battery capacity that is switched to the pre-connection mode by the switching means, and a battery capacity that is switched to the connection mode each time by the switching means, The battery capacity threshold value for switching each of the plurality of set communication modes is stored so as to be lower than the battery capacity for switching to the pre-connection mode by the switching means. The portable information terminal according to any one of 5 .
電源部を備え、外部機器と無線通信を行う際の通信にかかるモードを複数設定可能であり、前記複数設定された通信にかかるモードを切り替える閾値を記憶する記憶手段有する携帯情報端末における制御方法であって、
前記電源部のバッテリ容量を確認する確認ステップと、
前記複数設定された通信にかかるモードをそれぞれ切り替えるバッテリ容量の閾値をそれぞれ前記記憶手段に登録する登録ステップと、
前記確認ステップによる確認の結果得られたバッテリ容量と、前記登録ステップにより登録されたバッテリ容量の閾値であって前記記憶手段記憶された閾値とに従って、前記外部機器との通信にかかるモードを、前記複数設定された通信にかかるモードの中から選択された他の通信にかかるモードに切り替える切り替えステップと
を含み、
前記複数設定された通信にかかるモードのうち1つには、前記外部機器と通信を行う画面に画面遷移する前の画面で事前に前記外部機器と接続する予め定められた接続ポイントに達した際に前記外部機器と事前に接続して通信後に切断する事前接続モードを含むことを特徴とする制御方法。
A control method in a portable information terminal comprising a power supply unit, capable of setting a plurality of modes for communication when performing wireless communication with an external device, and having a storage means for storing a threshold value for switching the mode for the plurality of set communication Because
A confirmation step of confirming a battery capacity of the power supply unit;
A registration step of registering in the storage means threshold values of battery capacities for switching the plurality of set communication modes, respectively;
In accordance with the battery capacity obtained as a result of the confirmation in the confirmation step and the threshold value of the battery capacity registered in the registration step and stored in the storage unit , a mode for communication with the external device is set, look including a switching step of switching to such mode to another communication selected from among the mode according to the plurality set communication,
One of the plurality of communication-related modes is when a predetermined connection point for connecting to the external device in advance is reached on the screen before transitioning to the screen for communicating with the external device. the control method of the pre-connection mode and said containing Mukoto that connects to an external device and pre cutting after communication.
電源部を備え、外部機器と無線通信を行う際の通信にかかるモードを複数設定可能であり、前記複数設定された通信にかかるモードを切り替える閾値を記憶する記憶手段有する携帯情報端末において実行可能なプログラムであって、
前記電源部のバッテリ容量を確認する確認手段、
前記複数設定された通信にかかるモードをそれぞれ切り替えるバッテリ容量の閾値をそれぞれ前記記憶手段に登録する登録手段、
前記確認手段による確認の結果得られたバッテリ容量と、前記登録手段により登録されたバッテリ容量の閾値であって前記記憶手段記憶された閾値とに従って、前記外部機器との通信にかかるモードを、前記複数設定された通信にかかるモードの中から選択された他の通信にかかるモードに切り替える切り替え手段として前記携帯情報端末を機能させ
前記複数設定された通信にかかるモードのうち1つには、前記外部機器と通信を行う画面に画面遷移する前の画面で事前に前記外部機器と接続する予め定められた接続ポイントに達した際に前記外部機器と事前に接続して通信後に切断する事前接続モードを含むことを特徴とするプログラム。
It can be executed in a portable information terminal having a power supply unit and capable of setting a plurality of modes for communication when performing wireless communication with an external device, and having a storage means for storing a threshold value for switching the mode for the plurality of set communication A program that
Confirmation means for confirming the battery capacity of the power supply unit;
A registering means for registering in the storage means a threshold value of a battery capacity for switching each of the plurality of set modes for communication;
According to the battery capacity obtained as a result of the confirmation by the confirmation unit and the threshold value of the battery capacity registered by the registration unit and stored in the storage unit , a mode for communication with the external device is set, Causing the portable information terminal to function as a switching unit for switching to another communication mode selected from the plurality of set communication modes ,
One of the plurality of communication-related modes is when a predetermined connection point for connecting to the external device in advance is reached on the screen before transitioning to the screen for communicating with the external device. A pre-connection mode for connecting to the external device in advance and disconnecting after communication .
JP2009257717A 2009-11-11 2009-11-11 Portable information terminal, control method thereof, and program Expired - Fee Related JP5487889B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009257717A JP5487889B2 (en) 2009-11-11 2009-11-11 Portable information terminal, control method thereof, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009257717A JP5487889B2 (en) 2009-11-11 2009-11-11 Portable information terminal, control method thereof, and program

Publications (3)

Publication Number Publication Date
JP2011103565A JP2011103565A (en) 2011-05-26
JP2011103565A5 JP2011103565A5 (en) 2012-12-27
JP5487889B2 true JP5487889B2 (en) 2014-05-14

Family

ID=44193721

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009257717A Expired - Fee Related JP5487889B2 (en) 2009-11-11 2009-11-11 Portable information terminal, control method thereof, and program

Country Status (1)

Country Link
JP (1) JP5487889B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104410751B (en) * 2014-11-12 2016-09-21 上海卓易科技股份有限公司 A kind of mobile phone electricity saving method based on bluetooth peripheral hardware and system
WO2017159761A1 (en) * 2016-03-15 2017-09-21 シチズン時計株式会社 Electronic watch and communication control system
EP3462803B1 (en) * 2016-06-30 2023-07-26 Huawei Technologies Co., Ltd. Method for managing bluetooth connection and master bluetooth device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3650003B2 (en) * 2000-07-18 2005-05-18 三洋電機株式会社 Portable communication device
JP3894546B2 (en) * 2001-06-27 2007-03-22 キヤノン株式会社 Portable information terminal, information browsing method and program
JP4154262B2 (en) * 2003-03-19 2008-09-24 キヤノン株式会社 Wireless communication apparatus and control method thereof
JP4003727B2 (en) * 2003-09-22 2007-11-07 ブラザー工業株式会社 Portable printer with communication means
JP4561986B2 (en) * 2005-03-14 2010-10-13 サクサ株式会社 Wireless terminal
JP4466578B2 (en) * 2006-02-02 2010-05-26 株式会社デンソー In-vehicle device with near field communication function and near field communication system

Also Published As

Publication number Publication date
JP2011103565A (en) 2011-05-26

Similar Documents

Publication Publication Date Title
TWI384849B (en) User identification card control device and control method
US11792867B2 (en) Communication system, communication apparatus, control method thereof, and storage medium
EP2629500B1 (en) Apparatus and method for portable terminal having dual subscriber identity module card
JP6302399B2 (en) Image forming apparatus provided with short-range wireless communication unit, control method thereof, and program
US9648190B2 (en) Image forming apparatus that performs user authentication by wireless communication, method of controlling the same, and storage medium
CN102474905B (en) Communication terminal and communication control method
US20150319663A1 (en) Information processing apparatus, communication terminal, and non-transitory storage medium storing instructions executable by information processing apparatus
CN106851041B (en) Information processing device with power saving mode and control method thereof
CN101616199A (en) Multiple modes of operation switched system and method
US20160198498A1 (en) Communication apparatus, method of controlling a communication apparatus, and storage medium
CN107491273B (en) Printing apparatus operable in service mode and control method thereof
KR20170033774A (en) Communication apparatus having direct wireless communication function and method for controlling communication apparatus
US20220124192A1 (en) Communication System Selection
JP5487889B2 (en) Portable information terminal, control method thereof, and program
CN110912574B (en) A SIM card detection method, device, storage medium and terminal
CN103546310A (en) Communication apparatus, method for controlling the same
CN205541170U (en) MPOS machine and mobile payment system
JP2015204577A (en) Image forming system using short-range wireless communication
JP2004118261A (en) Electronic equipment with a communication controller that can selectively set both roles of host and device
JP2016221947A (en) Image forming apparatus, control method therefor, and program
CN102474281B (en) Communication terminal and communication control method
WO2024094068A1 (en) Communication connection control method, vehicle-mounted device, communication system and storage medium
CN111542037B (en) Instruction transmission method, device and storage medium
CN105446912A (en) Method and device of CPU (Central Processing Unit) for connecting WIFI module through HSIC (High Speed Inter-chip) bus interface
JP6586832B2 (en) Information processing device

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20120130

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20120130

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121109

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20121109

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130415

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130423

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20130531

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20130531

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130624

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140210

R150 Certificate of patent or registration of utility model

Ref document number: 5487889

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees