JP2017103649A - System and control method thereof, information processing device and control method thereof, portable terminal and control method thereof, and program - Google Patents
System and control method thereof, information processing device and control method thereof, portable terminal and control method thereof, and program Download PDFInfo
- Publication number
- JP2017103649A JP2017103649A JP2015236002A JP2015236002A JP2017103649A JP 2017103649 A JP2017103649 A JP 2017103649A JP 2015236002 A JP2015236002 A JP 2015236002A JP 2015236002 A JP2015236002 A JP 2015236002A JP 2017103649 A JP2017103649 A JP 2017103649A
- Authority
- JP
- Japan
- Prior art keywords
- information processing
- processing apparatus
- request
- power mode
- return time
- 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.)
- Pending
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Control Or Security For Electrophotography (AREA)
- Facsimiles In General (AREA)
- Telephone Function (AREA)
Abstract
Description
本発明は、システムおよびその制御方法、情報処理装置およびその制御方法、携帯端末およびその制御方法、並びにプログラムに関する。 The present invention relates to a system and a control method thereof, an information processing apparatus and a control method thereof, a portable terminal and a control method thereof, and a program.
近年、従来のパーソナルコンピュータ(PC)等に代わり、利便性が向上した携帯端末装置が広く利用されるようになっている。また、これまでは有線LANで接続された使用環境から、無線技術を用いた使用環境に移行することにより、携帯端末装置からクラウドを経由して印刷を行うことも可能になってきている(例えば、特許文献1参照)。 In recent years, portable terminal devices with improved convenience have been widely used in place of conventional personal computers (PCs) and the like. In addition, it has become possible to perform printing from a mobile terminal device via the cloud by shifting from a usage environment connected by a wired LAN to a usage environment using a wireless technology (for example, , See Patent Document 1).
このような無線通信の規格として、省電力を図る工夫がなされたBluetooth(商標登録)およびBLE(Bluetooth Low Energy)がある。Bluetooth(登録商標)による無線通信を利用し、データ通信を行っていない期間には省電力モードとすることにより電力消費を抑えるための種々の提案がなされている(例えば、特許文献2参照)。 Such wireless communication standards include Bluetooth (registered trademark) and BLE (Bluetooth Low Energy), which have been devised to save power. Various proposals have been made to reduce power consumption by using a wireless communication based on Bluetooth (registered trademark) and setting a power saving mode during a period when data communication is not performed (see, for example, Patent Document 2).
携帯端末装置では、省電力モード状態でもバックグラウンドで通信が行われ、意図的に通信を切断しない限り装置間の通信が必要に応じて行われている。また、超低消費電力で無線通信を行う規格もあり、無線通信でリンク状態を維持し続けて使用される。無線通信で使用されるビーコン信号においても、携帯端末装置の位置検出など、通信以外の目的に使用されるため、省電力モード状態であってもビーコン信号を送信する必要が発生している。このような環境で使用される装置同士では、相互に通信するタイミングに関して特に変更する必要は発生しなかった。 In the portable terminal device, communication is performed in the background even in the power saving mode, and communication between devices is performed as necessary unless the communication is intentionally disconnected. There is also a standard for performing wireless communication with ultra-low power consumption, and the wireless communication is used while maintaining the link state. The beacon signal used in wireless communication is also used for purposes other than communication, such as detecting the position of the mobile terminal device, so that it is necessary to transmit the beacon signal even in the power saving mode state. There is no need to change the timing of communication between devices used in such an environment.
しかしながら、消費電力の大きな情報処理装置を携帯端末装置と接続して使用するためには様々な対応が必要となる。例えば、情報処理装置において、省電力モード状態であっても、ビーコン信号を送信できるようにしたものがある。このような情報処理装置では、省電力モード状態の時に送信したビーコン信号に対して、携帯端末装置から接続要求が行われた場合、省電力モード状態から通常モード状態に復帰しなければ通信を開始できない構成になっていることが多い。また、一般に情報処理装置では、省電力モード状態から通常モード状態に復帰するためには、装置の通電の再開、初期化を行うため所定の復帰時間を要する。 However, in order to use an information processing apparatus with large power consumption connected to a mobile terminal device, various measures are required. For example, some information processing apparatuses can transmit a beacon signal even in the power saving mode. In such an information processing apparatus, when a connection request is made from a portable terminal device to a beacon signal transmitted in the power saving mode state, communication is started unless the power saving mode state returns to the normal mode state. In many cases, the configuration is not possible. Further, in general, in an information processing apparatus, in order to return from the power saving mode state to the normal mode state, a predetermined return time is required for restarting and initializing the energization of the apparatus.
このため、このような情報処理装置と携帯端末装置との通信においては、携帯端末装置からの接続要求に情報処理装置が応答できずに、通信エラーが発生するという問題があった。 For this reason, in such communication between the information processing apparatus and the mobile terminal apparatus, there has been a problem that a communication error occurs because the information processing apparatus cannot respond to a connection request from the mobile terminal apparatus.
上記課題を解決するために本願発明は以下の構成を有する。すなわち、近距離無線通信を用いて互いに通信可能な情報処理装置と携帯端末とを含むシステムであって、前記情報処理装置は、現在の電力モードである第一の電力モードから、処理を行うための第二の電力モードに復帰するために要する復帰時間を特定する特定手段と、前記特定手段にて特定された復帰時間の情報を、前記近距離無線通信による信号に含めて送信する送信手段とを備え、前記携帯端末は、前記近距離無線通信を介して前記情報処理装置から送信された信号を受信した際に、当該信号に含まれる前記復帰時間の情報を取得する取得手段と前記情報処理装置に処理の要求を送信する要求手段と、を備え、前記携帯端末の前記要求手段は、前記処理の要求を送信した後、前記取得手段にて取得した復帰時間に基づいて、当該処理に用いられるデータを前記情報処理装置に送信するタイミングを制御する。 In order to solve the above problems, the present invention has the following configuration. That is, a system including an information processing device and a portable terminal that can communicate with each other using short-range wireless communication, and the information processing device performs processing from the first power mode that is the current power mode Specifying means for specifying a return time required to return to the second power mode, and transmitting means for transmitting information including the return time specified by the specifying means in a signal by the short-range wireless communication When the mobile terminal receives a signal transmitted from the information processing apparatus via the short-range wireless communication, the mobile terminal acquires the return time information included in the signal and the information processing Requesting means for transmitting a processing request to the apparatus, wherein the requesting means of the portable terminal transmits the processing request and then executes the processing based on the return time acquired by the acquiring means. Controlling a timing of transmitting the data used in the information processing apparatus.
本願発明により、情報処理装置と携帯端末との通信を確実に行うことができ、レスポンスパケットを受信できないことによる通信エラーの発生を回避することができる。 By this invention, communication with an information processing apparatus and a portable terminal can be performed reliably, and generation | occurrence | production of the communication error by not being able to receive a response packet can be avoided.
<第一の実施形態>
本発明を実施するための第一の実施形態について図面を用いて説明する。
<First embodiment>
A first embodiment for carrying out the present invention will be described with reference to the drawings.
[装置構成]
図1および図2は、本実施形態における情報処理装置1の一例を示す図である。情報処理装置1は、例えば、コピー機能、スキャン機能、FAX機能、及び印刷機能など各種機能を備える複合機である。なお、情報処理装置は、複合機に限定するものではなく、携帯端末8と通信を行う単機能のネットワークプリンタや、その他の処理装置であってもかまわない。また、情報処理装置1は、操作パネル2と、無線LAN通信部3と、Bluetooth通信部(以下、BT通信部と略す)4を備える。無線LAN通信部3、およびBT通信部4は、それぞれのインタフェースを介して情報処理装置1の動作を制御する制御部5と接続される。
[Device configuration]
1 and 2 are diagrams illustrating an example of the information processing apparatus 1 according to the present embodiment. The information processing apparatus 1 is a multifunction machine having various functions such as a copy function, a scan function, a FAX function, and a print function. Note that the information processing apparatus is not limited to a multifunction peripheral, and may be a single-function network printer that communicates with the
携帯端末8は、ユーザが所持する携帯端末装置である。ユーザは、携帯端末8を使用して情報処理装置1と通信を行い、さらに、情報処理装置1を使用して各種処理を実行させる。
The
図3は、情報処理装置1のハードウェア構成の一例を示す。情報処理装置1は、制御部5、操作パネル2、印刷処理部9、読取部10、および記憶装置11を備える。各構成要素は、バス13を介して接続されることにより相互に通信可能である。また、上述したように、情報処理装置1は、無線LAN通信部3、およびBT通信部4は、それぞれのインタフェースを介して制御部5と近距離無線通信機能にて通信可能に接続される。
FIG. 3 shows an example of the hardware configuration of the information processing apparatus 1. The information processing apparatus 1 includes a
制御部5は、CPU6とメモリ7とを備えており、情報処理装置1が備える各部の動作を制御する。CPU6は、記憶装置11に記憶されているプログラム12を読み出して実行する。プログラム12は、例えば、制御部5に本願発明に係る各種処理を行うために機能させるためのプログラムである。メモリ7は、CPU6がプログラムを実行することに伴う一時的なデータなどを記憶する記憶部である。
The
操作パネル2は、ユーザによる操作指示を入力する構成を備える。操作パネル2は、例えば、液晶パネルなどで構成され各種情報を表示する表示部2aと、表示部2aに対する操作を検知することでユーザによる操作指示を入力する操作入力部2bで構成される。
The
無線LAN通信部3は、無線LAN規格に基づいて外部機器(例えば、ユーザが保有する携帯端末8)との通信処理を行い、外部機器と制御部5の間で行われるデータ入出力処理を行う。BT通信部4は、Bluetooth(登録商標)規格に基づいて外部機器(例えば、ユーザが保有する携帯端末8)との通信処理を行い、外部機器と制御部5の間で行われるデータ入出力処理を行う。
The wireless
印刷処理部9は、画像データに基づき印刷処理を実行することで印刷物を出力する。印刷処理部9は、例えば、画像形成部、転写部、定着部、および、印刷物搬送部などを備える。画像形成部は、1枚ずつ給紙された用紙に対して、画像データに基づき画像形成を行う。転写部は、画像形成部によって形成されるトナー像(画像)を用紙に転写させる。定着部は、用紙に転写されたトナー像を定着させる。印刷物搬送部は、印刷された印刷物を排出する。
The
読取部10は、紙等の原稿から原稿画像を読み取って画像データを生成する。読取部10は、例えば、原稿搬送部や、画像データ出力部などを備える。原稿搬送部は、原稿載置台に載置された複数の原稿を先頭から1枚ずつ搬送する。画像データ出力部は、読み取った原稿画像を画像データに変換して生成する。記憶装置11は、プログラム12等を記憶する。
The
また、情報処理装置1は、通常の動作が行われる通常の電力モードに加え、消費電力を低減するための1または複数の省電力モードを備える。例えば、情報処理装置1は、一定時間ユーザにより使用されないと、図3で示した各処理部の通電を止めて消費電力を低減する省電力モードに移行する。情報処理装置1は、省電力モードに移行後において、例えば、外部からの復帰要求により通常モードに復帰して動作することが可能とする。電力モードの詳細については後述する。 The information processing apparatus 1 includes one or more power saving modes for reducing power consumption in addition to a normal power mode in which a normal operation is performed. For example, if the information processing apparatus 1 is not used by the user for a certain period of time, the information processing apparatus 1 shifts to a power saving mode in which the power of each processing unit illustrated in FIG. After shifting to the power saving mode, the information processing apparatus 1 can return to the normal mode and operate by, for example, an external return request. Details of the power mode will be described later.
図4は、携帯端末8のハードウェア構成の一例を示す。携帯端末8は、制御部14、無線LAN通信部18、記憶装置19、BT通信部20、操作パネル21を備える。各構成要素はバスを介して接続されることにより相互に通信可能である。
FIG. 4 shows an example of the hardware configuration of the
制御部14は、携帯端末8全体を制御し、CPU15、メモリ16、およびタイマ17を備える。CPU15は、記憶装置19に記憶されている各種プログラムを読み出して実行する。メモリ16は、例えば、CPU15が本願発明に係るプログラムを実行することに伴う一時的なデータなどを記憶する記憶部である。タイマ17は、CPU15がプログラムを実行する際に時間計測を行うためのタイマである。
The
無線LAN通信部18は、無線LAN規格に基づいて外部機器(例えば、情報処理装置1)との通信処理を行い、外部機器と制御部14の間で行われるデータ入出力処理を行う。BT通信部20は、Bluetooth(登録商標)規格に基づいて外部機器(例えば、情報処理装置1)との通信処理を行い、外部機器と制御部14の間で行われるデータ入出力処理を行う。
The wireless
操作パネル21は、ユーザによる操作指示を入力する構成を備える。操作パネル21は、例えば、液晶パネルにより構成され各種情報を表示する表示部21aと、表示部21aに対する操作を検知することでユーザによる操作指示を入力する操作入力部21bで構成される。また、図示していないが、携帯端末8はバッテリや電源制御部など、携帯端末として必要な電源供給の構成を備える。
The
ここで、情報処理装置1が備える電力モードについて説明する。前述した通り、情報処理装置1は一定時間ユーザにより使用されないと、情報処理装置1が備える各部位への通電を止めて消費電力を低減する省電力モードを備える。本実施形態に係る情報処理装置1は、通常モード、省電力モード1、省電力モード2の3つのモードを備えるものする。
Here, the power mode provided in the information processing apparatus 1 will be described. As described above, the information processing apparatus 1 includes a power saving mode in which power is reduced by stopping energization of each part of the information processing apparatus 1 when the information processing apparatus 1 is not used by the user for a certain period of time. The information processing apparatus 1 according to the present embodiment includes three modes: a normal mode, a power saving mode 1, and a
図5は、本実施形態に係る情報処理装置1の各電力モードの通電部分と、各電力モードから通常モードへの復帰時間を示す。ここで、各電力モードから通常モードへの復帰時間は、Twaitで表す。 FIG. 5 shows the energized portion of each power mode of the information processing apparatus 1 according to this embodiment and the return time from each power mode to the normal mode. Here, the return time from each power mode to the normal mode is represented by Twait.
通常モードでは、図3で示した情報処理装置1の各処理部には全て通電されておりユーザからの要求に対して直ちに必要な動作を行うことができる。従って、本実施形態では、通常モードである場合は、通常モードへの復帰時間(Twait)は、0である。 In the normal mode, all the processing units of the information processing apparatus 1 shown in FIG. 3 are all energized and can immediately perform necessary operations in response to a request from the user. Therefore, in this embodiment, in the normal mode, the return time (Twait) to the normal mode is zero.
省電力モード1では、図3で示した情報処理装置1の各処理部のうち、通電されているのは、CPU6、BT通信部4、無線LAN通信部3、操作入力部2b、メモリ7、および記憶装置11である。一方、表示部2a、印刷処理部9、および読取部10には通電されていない。従って、省電力モード1からの復帰要求として、BT通信部4が外部から通信要求を受けた場合、CPU6は、表示部2a、印刷処理部9、および読取部10に通電し、各部の初期化を行うことにより通常モードへの復帰を行う。この際の各処理部の通電と初期化処理により、省電力モード1から通常モードへの復帰に要する時間(Twait)は、t1であるとする。なお、本実施形態では、t1の値は0.4秒であるとする。
In the power saving mode 1, among the processing units of the information processing apparatus 1 shown in FIG. 3, the energized units are the
省電力モード2では、図3で示した情報処理装置1の各処理部のうち、通電されているのは、CPU6、BT通信部4、無線LAN通信部3、および操作入力部2bである。一方、メモリ7、記憶装置11、表示部2a、印刷処理部9、および読取部10には通電されていない。従って、省電力モード2からの復帰要求として、BT通信部4が外部から通信要求を受けた場合、CPU6は、メモリ7、記憶装置11、表示部2a、印刷処理部9、および読取部10に通電し、各部の初期化を行うことにより通常モードへの復帰を行う。この際の各処理部の通電と初期化処理により、省電力モード2から通常モードへの復帰に要する時間(Twait)は、t2であるとする。なお、本実施形態では、t2の値は2.5秒であるとする。
In the
省電力モード1に対して、省電力モード2は通電しているブロックがより少ないので情報処理装置1の消費電力をより一層低減することができる。但し、省電力モード2では、復帰要求により通常モードに復帰する際に、通電、初期化処理を要するブロックが多くなるため、省電力モード1よりも復帰時間が長くなる。すなわち、省電力モード2から通常モードへの復帰時間であるt2は、省電力モードから通常モードへの復帰時間であるt1よりも長くなる(0<t1<t2)。
In contrast to the power saving mode 1, the
[処理フロー]
図6は、情報処理装置1と携帯端末8間で行われるBluetooth通信のフローを示す。情報処理装置1は、制御部5のCPU6がプログラム12を実行することにより、動作開始時にBT通信部4に対して不特定多数の装置を対象としたビーコンパケットを一定間隔で送信する動作を命令する。ここでの一定間隔は、情報処理装置1にて予め設定されているものとする。BT通信部4は、CPU6からの命令に従い、ビーコンパケットの送信を一定間隔で行う。
[Processing flow]
FIG. 6 shows a flow of Bluetooth communication performed between the information processing apparatus 1 and the
携帯端末8は、ユーザ操作により記憶装置19内のプログラムが起動され、Bluetooth(登録商標)による無線通信の要求が発生すると、制御部14内のCPU15はBT通信部20に対して通信の開始を命令する。BT通信部20は接続対象となるビーコンパケットのサーチを行い、接続対象となるビーコンパケットを検出すると、通信設定に従い通信要求を示すリクエストパケットを送信する。この後、BT通信部20は、通信設定に従い1番目のデータパケットを送信する。
When a program in the
そして、BT通信部20は、1番目のデータパケットに対する1番目のレスポンスパケットを情報処理装置1から受信すると、そのレスポンスパケット内のデータを取り出し、制御部14のCPU15に出力する。制御部14のCPU15は、更なるデータ通信が必要であれば、送信データをBT通信部20に対して出力し、データ転送を命令する。命令を受けたBT通信部20は、次の2番目のデータパケットを送信し、これに対する2番目のレスポンスパケットを情報処理装置1から受信する。
When the
上記を繰り返して、携帯端末8から情報処理装置1へのデータの転送を行う。更なるデータ転送が無ければ、そのまま何もせずタイムアウトによる通信の切断を行う。
The above is repeated to transfer data from the
ここで、前述した情報処理装置1が備える各電力モードと、通信フローの制御に関して、図5と、図6を用いて説明する。 Here, each power mode with which the information processing apparatus 1 mentioned above is provided, and control of a communication flow are demonstrated using FIG. 5 and FIG.
図6において、情報処理装置1が送信するビーコンパケットはデータ量が小さく、短時間で送信することができる信号である。従って、情報処理装置1において、BT通信部4によりビーコンパケットを送信する際の消費電力は極めて小さい。このため、情報処理装置1は、図5で説明した各電力モードにおいて、通常モードの場合のみならず、省電力モード1、及び省電力モード2の省電力モード状態であってもビーコンパケットを送信することが可能である。
In FIG. 6, the beacon packet transmitted by the information processing apparatus 1 is a signal that has a small amount of data and can be transmitted in a short time. Therefore, in the information processing apparatus 1, the power consumption when transmitting the beacon packet by the BT communication unit 4 is extremely small. For this reason, the information processing apparatus 1 transmits a beacon packet not only in the normal mode but also in the power saving mode 1 and the
しかしながら、携帯端末8において通信要求が発生し、携帯端末8からの通信要求であるリクエストパケットを情報処理装置1が受信した場合、情報処理装置1は通常モードに直ちに復帰する必要がある。すなわち、情報処理装置1は、携帯端末8からのリクエストパケットを受信すると、その後、携帯端末8からのデータパケットを受信して、受信したデータパケットに応じて携帯端末8から要求される各種処理を実行する。この際に、情報処理装置1は、携帯端末8から1番目のデータパケットを受信するまでの間に、通常モードに復帰して、通常モード状態で携帯端末8からのデータパケットの受信を行い、これに対するレスポンスパケットの送信を行う必要がある。そして、情報処理装置1は、通常モード状態でデータパケットの内容に応じた各種の動作処理を実行する。
However, when a communication request is generated in the
図6に通信フローにおいて、情報処理装置1がリクエストパケットを受信した後、1番目のデータパケットを受信できるようになるまでの時間をTwaitとする。これまでの説明で明らかなように、Twaitは、図5を用いて述べた、各電力モードから通常モードへの復帰時間になる。すなわち、情報処理装置1が通常モードにある場合は、Twait=0である。情報処理装置1が省電力モード1にある場合は、Twait=t1となる。また、情報処理装置1が省電力モード1にある場合は、Twait=t2となる。 In the communication flow shown in FIG. 6, Twait is a time until the information processing apparatus 1 can receive the first data packet after receiving the request packet. As apparent from the above description, Twait is the return time from each power mode to the normal mode described with reference to FIG. That is, Twait = 0 when the information processing apparatus 1 is in the normal mode. When the information processing apparatus 1 is in the power saving mode 1, Twait = t1. When the information processing apparatus 1 is in the power saving mode 1, Twait = t2.
次に、情報処理装置1が送信するビーコンパケットのデータ構造について詳述する。情報処理装置1が送信するビーコン内には、ベンダーIDやMACアドレスなど無線通信に係る物理情報の他に自由に使用できるデータ領域がある。図7は、本実施形態に係る情報処理装置1が送信するビーコンパケットに含まれるデータの種別とその内容、設定値の事例を示す。 Next, the data structure of the beacon packet transmitted by the information processing apparatus 1 will be described in detail. The beacon transmitted by the information processing apparatus 1 includes a data area that can be freely used in addition to physical information related to wireless communication such as a vendor ID and a MAC address. FIG. 7 shows an example of the type of data included in a beacon packet transmitted by the information processing apparatus 1 according to the present embodiment, its content, and a set value.
IDエリアには、BT通信部4に使用されている無線通信モジュールのベンダーを一意に識別するためのベンダーIDと、無線通信モジュールのMACアドレスが格納されている。ここででは、ベンダーIDとして「003」、MACアドレスとして「00−23−24−01−2D−B5」が割り当てられている。 In the ID area, a vendor ID for uniquely identifying the vendor of the wireless communication module used in the BT communication unit 4 and the MAC address of the wireless communication module are stored. Here, “003” is assigned as the vendor ID, and “00-23-24-01-2D-B5” is assigned as the MAC address.
データエリア1には、情報処理装置1を一意に識別するための情報処理装置IDが格納されている。ここでは、情報処理装置1の情報処理装置IDは、「MFP3600」が割り当てられている。 The data area 1 stores an information processing apparatus ID for uniquely identifying the information processing apparatus 1. Here, “MFP 3600” is assigned as the information processing apparatus ID of the information processing apparatus 1.
データエリア2には、情報処理装置1の電力モードに関して、各電力モードから通常モードへの復帰時間が格納されている。復帰時間としての設定値はTwaitであり、情報処理装置1の現在の電力モードに応じて、設定される。図5に示す例の場合、情報処理装置1が通常モードである場合は、Twait=0である。情報処理装置1が省電力モード1である場合は、Twait=t1となる。情報処理装置1が省電力モード1である場合は、Twait=t2となる。
The
なお、本実施形態では、図6の通信フローに従って携帯端末8と情報処理装置1がBluetooth通信を行い、情報処理装置1が処理を実行する具体例として、ユーザが携帯端末8を使用して情報処理装置1により印刷を行う動作を用いる。この動作においては、ユーザが携帯端末8において印刷の要求を入力すると、携帯端末8と情報処理装置1のBluetooth通信が行われ、携帯端末8から情報処理装置1に対して、ユーザの所望の印刷設定に関する情報が転送される。この際には、携帯端末8から情報処理装置1に送信されるデータパケットには印刷設定として、例えば、印刷枚数、用紙サイズ、ページ割り付け等の設定情報が含まれる。
In this embodiment, as a specific example in which the
以上を踏まえて、本実施形態における情報処理装置1と携帯端末8の通信動作の主旨を述べると、携帯端末8が情報処理装置1の復帰時間Twaitを把握することにより、携帯端末8からのデータパケットの送信タイミングを制御する点である。すなわち、携帯端末8は、情報処理装置1からのビーコンパケットに書き込まれているTwaitを読出す。そして、携帯端末8は、情報処理装置1に対して、リクエストパケットを送信後、所定の時間(Twait)が経過してからデータパケットを送信するようにする。これにより、情報処理装置1はリクエストパケットを受信した後、Twait経過後に通常モードに復帰してからデータパケットを受信し、これに対するレスポンスパケットを送信することができるようになる。また、携帯端末8は、情報処理装置1が復帰処理を行っている際にパケットを送信することが無くなり、結果として、通信エラーが生じる可能性を減らすことができる。
Based on the above, the main point of the communication operation between the information processing apparatus 1 and the
以下、情報処理装置1の動作と、携帯端末8の動作をフローチャートによりさらに詳細に説明する。
Hereinafter, the operation of the information processing apparatus 1 and the operation of the
(情報処理装置の処理)
まず、情報処理装置1において、Bluetoothのビーコンパケットを送信する動作を、図8を用いて説明する。本処理フローは、情報処理装置1のCPU6が記憶装置11に格納されたプログラム12を読み出して実行することにより実現される。
(Processing of information processing device)
First, an operation of transmitting a Bluetooth beacon packet in the information processing apparatus 1 will be described with reference to FIG. This processing flow is realized by the
S801にて、CPU6は、情報処理装置1の現在の電力モードの情報を取得する。本実施形態では、ここで取得される情報において、情報処理装置1が、図5で示した通常モード、省電力モード1、および省電力モード2の各電力モードのうちのいずれにあるかが示される。
In S <b> 801, the
S802にて、CPU6は、現在の情報処理装置1の電力モードが通常モードであるか否かを判定する。通常モードである場合(S802にてYES)はS803に移行し、通常モードでない場合(S802にてNO)はS804に移行する。
In S802, the
S803にて、CPU6は、情報処理装置1が通常モードであるため、図7のビーコンパケットのデータ構造で示したデータエリア2のTwaitに、通常モードへの復帰時間として“0”を書き込む。この後、S808に移行する。
In S803, since the information processing apparatus 1 is in the normal mode, the
S804にて、CPU6は、現在の情報処理装置1の電力モードが省電力モード1であるか否かを判定する。省電力モード1である場合(S804にてYES)はS805に移行し、省電力モード1でない場合(S804にてNO)はS806に移行する。
In S <b> 804, the
S805にて、CPU6は、情報処理装置1が省電力モード1であるため、図7のビーコンパケットのデータ構造で示したデータエリア2のTwaitに、通常モードへの復帰時間としてt1の値を書き込む。この後、S808に移行する。
In S805, since the information processing apparatus 1 is in the power saving mode 1, the
S806にて、CPU6は、現在の情報処理装置1の電力モードが省電力モード2であるか否かを判定する。省電力モード2である場合(S806にてYES)はS807に移行し、省電力モード2でない場合(S806にてNO)はS801に戻る。
In S806, the
S807にて、CPU6は、情報処理装置1が省電力モード2であるため、図7のビーコンパケットのデータ構造で示したデータエリア2のTwaitに、通常モードへの復帰時間としてt2の値を書き込む。この後、S808に移行する。
In S807, since the information processing apparatus 1 is in the
S808にて、CPU6は、BT通信部4によりビーコンパケットを送信させる。ここで、BT通信部4により送信されるビーコンパケットは図7で示したビーコンパケット構造に従う。
In S808,
以上、ビーコンパケットのデータエリア2のTwaitには、S801〜S807のフローに従い、現在の情報処理装置1の電力モード応じたTwaitの値として、0、t1、またはt2の値が書き込まれてビーコンパケットとして送信される。情報処理装置1は、以上の動作を電源がOFFされるまで繰り返す。
As described above, in the Twait of the
(携帯端末の処理)
次に、携帯端末8において、Bluetoothによる無線通信の要求が発生してデータパケットの送信する動作を、図9を用いて説明する。本処理フローは、携帯端末8のCPU15が記憶装置19に格納されたプログラムを読み出して実行することにより実現される。
(Handling of mobile device)
Next, an operation of transmitting a data packet when a request for wireless communication by Bluetooth is generated in the
S901にて、CPU15は、携帯端末8上で動作するアプリケーションソフトウェア(以下、単に、アプリ)のうちのBluetoothを使用するアプリから、通信の接続要求が発生したか否かを判定する。ここでの接続要求は、ユーザ操作に起因してアプリが接続要求を発生させてもよいし、アプリの起動によって発生してもよい。接続要求があった場合(S901にてYES)はS902に移行し、接続要求がない場合(S901にてNO)は、携帯端末8は、接続要求が発生するまで待機する。
In S <b> 901, the
S902にて、CPU15は、BT通信部20により情報処理装置1から送信されているビーコンパケットをサーチする。
In S902,
S903にて、CPU15は、ビーコンパケットが検出できたか否かを判定する。ビーコンパケットが検出できなかった場合(S903にてNO)は902に戻り、ビーコンパケットが検出された場合(S903にてYES)はS904に移行する。
In S903, the
S904にて、CPU15は、検出したビーコンパケット内部のデータを取り出してデータを解析する。ここで検出されたビーコンパケットは、図7で説明したビーコンパケットのデータ構造に従っており、IDエリア、データエリア1、データエリア2にそれぞれのデータが書き込まれているものとする。
In S904,
S905にて、CPU15は、ビーコンパケットのデータエリア1に書き込まれている情報処理装置IDを読み出して、サーチ対象の情報処理装置1か否かを判定する。ここでのサーチ対象とは、例えば、ユーザが処理を実行させようとする情報処理装置が該当する。サーチ対象の情報処理装置1でない場合(S905にてNO)はS902に戻り、サーチ対象の情報処理装置1である場合(S905にてYES)はS906に移行する。
In step S905, the
S906にて、CPU15は、BT通信部20により、通信相手である情報処理装置1に対してリクエストパケットを生成して送信する。
In S906,
S907にて、CPU15は、S904で解析したビーコンパケットのデータエリア2に書き込まれているTwaitの値を読み出す。前述した通り、通信相手である情報処理装置1の現在の電力モードに従い、Twaitの値が設定されており、その値が読み出される。具体的には、情報処理装置1が、通常モードであれば0、省電力モード1であればt1、省電力モード2であればt2が設定されていることになる。
In S907, the
S908にて、CPU15は、タイマ17により、リクエストパケットを送信した後、データパケットを送信するまでの時間を制御するためのTwaitタイマ(タイマ17)を起動する。ここで、CPU15は、Twaitタイマのタイマ値には、S907でビーコンパケットのデータエリア2から読み出したTwaitの値をタイマ値として設定する。
In S908, the
S909にて、CPU15は、リクエストパケットを送信してからTwaitが経過したか否かを判定する。Twaitを経過したと判定した場合(S909にてYES)はS911に移行し、Twaitを経過していないと判定した場合(S909にてNO)はS910に移行する。
In S909,
S910にて、CPU15は、タイマ17によるTwaitタイマと、表示部21aを制御して、Twaitの時間に対するTwaitタイマの経過時間を表示部21aにタイムバーとして表示する。その後、S909に戻る。
In S910, the
S911にて、CPU15は、表示部21aを制御して、表示部21aに表示していたタイムバーを消去する。
In S911, the
S912にて、CPU15は、BT通信部20により、通信相手である情報処理装置1に対してデータパケットを生成して送信する。すなわち、S906でリクエストパケットを送信後、S907〜S911の制御により、Twaitが経過した後に、データパケットが送信されることになる。なお、S912で送信されるデータパケットには、前述したような携帯端末8を使用して情報処理装置1により印刷を行う事例であれば、印刷設定情報として印刷枚数、用紙サイズ、ページ割り付け等の情報が含まれることになる。
In S912, the
S913にて、CPU15は、BT通信部20により情報処理装置1からのレスポンスパケットを受信したか否かを判定する。レスポンスパケットを受信したと判定した場合(S913にてYES)は、情報処理装置1との間でリンクが確立できているものとして、S914に移行する。一方、レスポンスパケットを受信できなかったと判定した場合(S913にてNO)は、情報処理装置1との間でリンクが確立できなかったものとして、再びビーコンパケットをサーチするためにS902に戻る。
In S <b> 913, the
S914にて、CPU15は、S913で受信したレスポンスパケットを解析する。
In S914, the
S915にて、CPU15は、S913で受信したレスポンスパケットを解析した結果、必要な情報が得られているか否かを判定する。ここでの必要な情報とは、例えば、情報処理装置における処理の正常終了を示す応答などが該当する。必要な情報が得られていると判定した場合(S915にてYES)CPU15は、通信を終了し、本処理フローを終了する。一方、必要な情報が得られていないと判定した場合(S915にてNO)は、更に通信を行う必要があるとして、S912に移行し、CPU15は、更にデータパケットの送信を繰り返す。
In S915, the
なお、S913においてレスポンスパケットを受信できない場合、S902に戻って再びビーコンパケットをサーチする構成とした。しかし、S913でレスポンスパケットを受信できないとの判定が繰り返される場合は、通信障害が発生しているものとして、その旨を表示部21aに表示して、通信を終了してもよい。この場合の繰り返し回数の上限値は予め設定して携帯端末8にて保持されているものとし、また、レスポンスパケットの受信が失敗した回数のカウントが行われるものとする。
If a response packet cannot be received in S913, the configuration returns to S902 to search for a beacon packet again. However, if the determination that the response packet cannot be received is repeated in S913, it may be displayed on the
図10は、S910において、携帯端末8の表示部21aに表示される画面の例を示す。タイムバー22は、Twaitの値に対するTwaitタイマの経過時間を可視的に示したものであり、S906でリクエストパケットを送信してから、S912でデータパケットを送信するまでの待機時間をユーザに通知するものである。この画面により、ユーザは、携帯端末8と情報処理装置1との間の通信の待ち時間(Twait)の経過の状況を把握することが可能となる。
FIG. 10 shows an example of a screen displayed on the
以上説明したように、携帯端末8は接続対象である情報処理装置1のビーコンパケット内に格納されているTwaitを読み出して、通信要求を示すリクエストパケットの送信後、Twaitが経過してからデータパケットを送信するように制御する。これにより、情報処理装置1は通信要求であるリクエストパケットを受信した後、現在の電力モードから通常モードに復帰した後にデータパケットを受信することができ、従って、データパケットに対するレスポンスパケットを携帯端末8に送信できる。この結果、携帯端末8側では、レスポンスパケットを受信できないことによる通信エラーの発生を回避することができる。
As described above, the
なお、本実施形態では、図7で説明した通り、情報処理装置1において現在の電力モードから通常モードへの復帰時間をTwaitとしてビーコンパケットのデータエリア2に書き込んで送信するものとした。しかし、データエリア2には現在の電力モードを示す情報を書き込んでおき、これをビーコンパケットとして送信してもよい。この場合は、携帯端末8において、データエリア1の情報処理装置IDとデータエリア2の電力モード情報から、情報処理装置1の復帰時間をデータテーブル等により検索してTwaitを決定するように構成することも可能である。
In the present embodiment, as described with reference to FIG. 7, in the information processing apparatus 1, the return time from the current power mode to the normal mode is written in the
また、本実施形態では、3つの電力モードを例に挙げて説明したが、これに限定するものではなく、更に多くの電力モードを用いる情報処理装置にも適用可能である。また、本実施形態では、携帯端末から要求を受信した場合には、情報処理装置は、省電力モードから通常モードに移行する例を示したが、これに限定するものではなく、その処理内容に応じて復帰後の電力モードを決定してもよい。例えば、携帯端末からの要求の内容によっては、通常モードに復帰する必要が無く、省電力モード1にて処理が可能であれば、省電力モード2から省電力モード1への復帰時間を待機時間(Twait)として用いてもよい。
In the present embodiment, three power modes have been described as examples. However, the present invention is not limited to this, and the present invention can be applied to an information processing apparatus that uses more power modes. In the present embodiment, when the request is received from the mobile terminal, the information processing apparatus has shown an example of shifting from the power saving mode to the normal mode. The power mode after return may be determined accordingly. For example, depending on the content of the request from the portable terminal, if it is not necessary to return to the normal mode and processing is possible in the power saving mode 1, the return time from the
<第二の実施形態>
本発明を実施するための第二の実施形態について図面を用いて説明する。なお、第一の実施形態と重複する部分については詳細な説明は省略する。
<Second Embodiment>
A second embodiment for carrying out the present invention will be described with reference to the drawings. Detailed description of the same parts as those in the first embodiment will be omitted.
[処理フロー]
図11は、本実施形態に係る、情報処理装置1と携帯端末8間で行われるBluetooth通信のフローを示す。本実施形態では、携帯端末8は情報処理装置1にデータパケットを送信したにも関わらず、情報処理装置1からのレスポンスパケットが受信できない場合は、データパケットの再送を行うように制御する。このとき、再送のタイミング(上限回数)は、情報処理装置1の復帰時間に応じて決定される。
[Processing flow]
FIG. 11 shows a flow of Bluetooth communication performed between the information processing apparatus 1 and the
情報処理装置1は、制御部5のCPU6がプログラム12を実行することにより、動作開始時にBT通信部4に対して不特定多数の装置を対象としたビーコンパケットを一定間隔で送信する動作を命令する。ここでの一定間隔は、情報処理装置1にて予め設定されているものとする。BT通信部4はCPU6からの命令に従い、ビーコンパケットの送信を一定間隔で行う。
The information processing apparatus 1 instructs the BT communication unit 4 to transmit a beacon packet for an unspecified number of devices at regular intervals to the BT communication unit 4 when the
第一の実施形態で説明した通り、携帯端末8において通信要求が発生して、携帯端末8からの通信要求であるリクエストパケットを情報処理装置1が受信した場合、情報処理装置1は通常モードに復帰する必要がある。本実施形態の通信フロー(図11)においても、情報処理装置1がリクエストパケットを受信した後、1番目のデータパケットを受信できるようになるまでの時間をTwaitとする。Twaitは、各電力モードから通常モードへの復帰時間になる。すなわち、前述の通り、情報処理装置1が通常モードである場合は、Twait=0である。情報処理装置1が省電力モード1である場合は、Twait=t1となる。情報処理装置1が省電力モード2である場合は、Twait=t2となる。情報処理装置1は、このTwaitを図7で示したビーコンパケットのデータエリア2に書き込んでビーコンパケットとして送信する。
As described in the first embodiment, when a communication request is generated in the
携帯端末8は、ユーザ操作により記憶装置19内のプログラムが起動され、Bluetoothによる無線通信の要求が発生すると、制御部14内のCPU15はBT通信部20に対して通信の開始を命令する。BT通信部20は、接続対象となるビーコンパケットのサーチを行い、BT通信部20は接続対象となるビーコンパケットを見つけると、通信設定に従い通信要求を示すリクエストパケットを送信する。この後、BT通信部20は、通信設定に従い1番目のデータパケットを送信する。ここで、リクエストパケットを送信してから1番目のデータパケットを送信するまでの時間として通信設定で規定されている時間をTsendとする。
When a program in the
携帯端末8は、1番目のデータパケットを送信した後、本来ならば1番目のデータパケットに対する1番目のレスポンスパケットを受信する。しかし、情報処理装置1が通信要求であるリクエストパケットを受信した後、Twaitが経過するまでは情報処理装置1は通常モードに復帰しておらず、携帯端末8からのデータパケットを受け付けることが出来ない。
After transmitting the first data packet, the
そこで、本実施形態において、携帯端末8は、1番目のレスポンスパケットを受信できない場合は、1番目のデータパケットの再送を行う。ここで、1番目のデータパケットを送信してから、1番目のデータパケットの再送を行うまでの時間として通信設定で規定されている時間をTresendとする。この後、携帯端末8は、Tresendの間隔ごとに1番目のデータパケットの再送を繰り返す。
Therefore, in this embodiment, when the
そして、情報処理装置1は、リクエストパケット受信からTwaitを経過した後に、通常モードに復帰して、携帯端末8からのデータパケットを受け付けることができるようになる。これにより、情報処理装置1は、携帯端末8からの1番目のデータパケットの再送を受信して、これに対する第1のレスポンスパケットを送信する。
Then, the information processing apparatus 1 can return to the normal mode after elapse of Twait from the reception of the request packet, and can receive the data packet from the
携帯端末8は、リクエストパケット送信後にTwait経過後までデータパケットの再送を繰り返すように再送回数を決定することにより、情報処理装置1はデータパケットを受信し、これに対するレスポンスパケットを送信できるようになる。この再送回数は、Twait、及びTsend、Tresendから算出することができることは明らかである。なお、Tsend、Tresendの値は、携帯端末8のユーザや、情報処理装置1のメーカーなどが予め設定できるようにしてもよい。更には、Tsend、Tresendの値を、情報処理装置1から送信されるビーコンパケット(例えば、データエリア2)に含めるようにしてもよい。
By determining the number of retransmissions so that the
携帯端末8は、1番目のレスポンスパケットを受信するとパケット内のデータを取り出し、制御部14のCPU15に出力する。制御部14のCPU15は更なるデータ通信が必要であれば、送信データをBT通信部20に対して出力し、データ転送を命令する。命令を受けたBT通信部20は次の2番目のデータパケットを送信し、これに対する2番目のレスポンスパケットを受信する。上記を繰り返して、携帯端末8から情報処理装置1へのデータの転送を行う。更なるデータ転送が無ければ、そのまま何もせずタイムアウトによる通信の切断を行う。
When the
(携帯端末の処理)
以上の説明を踏まえて、携帯端末8においてBluetoothによる無線通信の要求が発生してデータパケットの送信する動作を、図12を用いて説明する。本処理フローは、携帯端末8のCPU15が記憶装置19に格納されたプログラムを読み出して実行することにより実現される。
(Handling of mobile device)
Based on the above description, an operation of transmitting a data packet when a request for wireless communication by Bluetooth occurs in the
S1201にて、CPU15は、携帯端末8上で動作するアプリのうちのBluetoothを使用するアプリから、通信の接続要求が発生したか否かを判定する。ここでの接続要求は、ユーザ操作に起因してアプリが接続要求を発生させてもよいし、アプリの起動によって発生してもよい。接続要求があった場合(S1201にてYES)にはS1202に移行し、接続要求がない場合(S1201にてNO)は、携帯端末8は、接続要求が発生するまで待機する。
In S <b> 1201, the
S1202にて、CPU15は、BT通信部20によりビーコンパケットをサーチする。
In S1202,
S1203にて、CPU15は、ビーコンパケットが検出できたか否かを判定する。ビーコンパケットが検出できなかった場合(S1202にてNO)は1202に戻り、ビーコンパケットが検出された場合(S1202にてYES)はS1204に移行する。
In S1203,
S1204にて、CPU15は、検出したビーコンパケット内部のデータを取り出してデータを解析する。ここで検出されたビーコンパケットは、第一の実施形態と同様、図7で説明したビーコンパケットのデータ構造に従う。
In S1204,
S1205にて、CPU15は、ビーコンパケットのデータエリア1に書き込まれている情報処理装置IDを読み出して、サーチ対象の情報処理装置1か否かを判定する。ここでのサーチ対象とは、例えば、ユーザが処理を実行させようとする情報処理装置が該当する。サーチ対象の情報処理装置1でない場合(S1205にてNO)はS1202に戻り、サーチ対象の情報処理装置1である場合(S1205にてYES)はS1206に移行する。
In step S1205, the
S1206にて、CPU15は、BT通信部20により、通信相手である情報処理装置1に対してリクエストパケットを生成して送信する。
In S1206,
S1207にて、CPU15は、S1204で解析したビーコンパケットのデータエリア2に書き込まれているTwaitの値を読み出す。前述した通り、通信相手である情報処理装置1の現在の電力モードに従い、Twaitの値が設定されており、その値が読み出される。具体的には、情報処理装置1が、通常モードであれば0、省電力モード1であればt1、省電力モード2であればt2が設定されていることになる。
In S1207, the
S1208にて、CPU15は、読み出したTwaitに応じて、リクエストパケットを送信してからTwaitの経過後までデータパケットの再送を繰り返すようにデータパケットの再送回数を決定する。ここで、図11で示した通り、携帯端末8がリクエストパケットを送信してから、データパケットを送信するまでの時間はTsendと規定されている。また、データパケットを出力後にレスポンスパケットを受信できない場合のデータパケットを再送するまでの時間、及び再送を繰り返す場合の再送間隔はTresendと規定されている。従って、CPU15は、リクエストパケットを送出した後、Twait経過後も少なくとも1回以上、再送が繰り返されるように、Tsend、及びTresendを使用して再送の回数を算出して決定する。
In S1208,
S1209にて、CPU15は、BT通信部20により、通信相手である情報処理装置1に対してデータパケットを生成して送信する。なお、S1209で送信されるデータパケットには、前述したような携帯端末8を使用して情報処理装置1により印刷を行う事例であれば、印刷設定情報として印刷枚数、用紙サイズ、ページ割り付け等の情報が含まれることになる。
In S <b> 1209,
S1210にて、CPU15は、BT通信部20により、S1209のデータパケット送信に対するレスポンスパケットを、情報処理装置1から受信したか否かを判定する。レスポンスパケットを受信したと判定した場合(S1210にてYES)は、S1214に移行し、レスポンスパケットを受信できなかったと判定した場合(S1210にてNO)は、S1211に移行する。
In S1210,
S1211にて、CPU15は、S1209で送信したデータパケットが情報処理装置1に正常に受信されていないものとして、S1209で送信したデータパケットを再送する。
In S1211, the
S1212にて、CPU15は、BT通信部20により、S1211のデータパケット再送に対するレスポンスパケットを、情報処理装置1から受信したか否かを判定する。レスポンスパケットを受信したと判定した場合(S1212にてYES)は、S1214に移行する。レスポンスパケットを受信できなかったと判定した場合(S1212にてNO)は、情報処理装置1との間でリンクが確立できなかったものとして、S1213に移行する。
In S <b> 1212, the
S1213にて、CPU15は、S1208で決定した再送回数まで再送が繰り返されたか否かを判定する。決定した再送回数まで繰り返されたと判定した場合(S1213にてYES)は、S1202に移行し、決定した再送回数まで繰り返されていないと判定した場合(S1213にてNO)は、S1211に移行してデータパケットの再送を行う。
In S1213,
すなわち、データパケットを送信し、対応するレスポンスパケットが受信できない場合は、データパケットの再送を行う。さらに、再送したデータパケットに対応するレスポンスパケットが受信できないと判定された場合は、データパケットの再送の繰り返し回数が判定され、決定された再送回数まで再送を繰り返すようにループ制御される。 That is, when a data packet is transmitted and a corresponding response packet cannot be received, the data packet is retransmitted. Furthermore, when it is determined that a response packet corresponding to the retransmitted data packet cannot be received, the number of times of retransmission of the data packet is determined, and loop control is performed so that the retransmission is repeated up to the determined number of retransmissions.
なお、決定した再送回数まで繰り返されたと判断された場合(S1213にてYES)は、決定した再送回数まで再送を繰り返しても、情報処理装置1との間で通信が成立せず、リンクが確立できなかったものとして、S1202からやり直すようにする。 If it is determined that the retransmission has been repeated up to the determined number of retransmissions (YES in S1213), communication is not established with information processing apparatus 1 even if retransmission is repeated up to the determined number of retransmissions, and a link is established. Assuming that it was not possible, the process is repeated from S1202.
S1214にて、CPU15は、S1210またはS1212で受信したレスポンスパケットを解析する。
In S1214,
S1215にて、CPU15は、S1210またはS1212で受信したレスポンスパケットを解析した結果、必要な情報が得られているか否かを判定する。必要な情報が得られていると判定した場合(S1215にてYES)、CPU15は、通信を終了し、本処理フローを終了する。一方、必要な情報が得られえいないと判定した場合(S1215にてNO)は、更に通信を行う必要があるとして、S1209に移行し、CPU15は、更にデータパケットの送信を繰り返す。
In S1215, the
なお、S1213において、決定した再送回数まで繰り返されたと判定された場合は、決定した再送回数まで再送を繰り返しても通信が成立せず、S1202のビーコンのサーチからやり直すようにするものとした。しかし、S1213で、決定した再送回数まで繰り返されたと判定された場合は、通信障害が発生しているものとして、その旨を表示部21aに表示して、通信を終了してもよい。
If it is determined in S1213 that the repetition has been repeated up to the determined number of retransmissions, communication is not established even if the retransmission is repeated up to the determined number of retransmissions, and the beacon search in S1202 is repeated. However, if it is determined in S1213 that the repetition has been repeated up to the determined number of retransmissions, it is assumed that a communication failure has occurred, and this is displayed on the
以上説明したように、携帯端末8は、情報処理装置1のビーコンパケット内に格納されているTwaitを読み出して、リクエストパケット送信後に、Twaitの経過後までデータパケットの再送を繰り返すように再送回数を決定して再送を行う。これにより、情報処理装置1はリクエストパケットを受信した後、Twait経過後に通常モードに復帰してからデータパケットを受信し、これに対するレスポンスパケットを送信することができる。この結果、携帯端末8側では、レスポンスパケットを受信できないことによる通信エラーの発生を回避することができる。
As described above, the
また本実施形態においても、第一の実施形態の図10に示したように、携帯端末8の表示部21aにタイムバー22を表示してもよい。この場合は、このタイムバー22は、S1208で決定した再送回数に対して、S1213で判断される現在の再送回数を再送の進捗として可視的に示すようにする。これにより、S1206でリクエストパケットを送信してから、Twaitの経過後に情報処理装置1がデータパケットを受信できるようになるまでの時間経過の目安をユーザに通知することができる。
Also in the present embodiment, as shown in FIG. 10 of the first embodiment, the
<その他の実施形態>
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピューターにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
<Other embodiments>
The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in a computer of the system or apparatus read and execute the program This process can be realized. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.
1…情報処理装置、2…操作パネル、3…無線LAN通信部、4…BT通信部、5…制御部、8…携帯端末、9…印刷処理部、10…画像読取部、11…記憶装置 DESCRIPTION OF SYMBOLS 1 ... Information processing apparatus, 2 ... Operation panel, 3 ... Wireless LAN communication part, 4 ... BT communication part, 5 ... Control part, 8 ... Portable terminal, 9 ... Print processing part, 10 ... Image reading part, 11 ... Memory | storage device
Claims (18)
前記情報処理装置は、
現在の電力モードである第一の電力モードから、処理を行うための第二の電力モードに復帰するために要する復帰時間を特定する特定手段と、
前記特定手段にて特定された復帰時間の情報を、前記近距離無線通信による信号に含めて送信する送信手段と
を備え、
前記携帯端末は、
前記近距離無線通信を介して前記情報処理装置から送信された信号を受信した際に、当該信号に含まれる前記復帰時間の情報を取得する取得手段と
前記情報処理装置に処理の要求を送信する要求手段と、
を備え、
前記携帯端末の前記要求手段は、前記処理の要求を送信した後、前記取得手段にて取得した復帰時間に基づいて、当該処理に用いられるデータを前記情報処理装置に送信するタイミングを制御することを特徴とするシステム。 A system including an information processing apparatus and a portable terminal that can communicate with each other using short-range wireless communication,
The information processing apparatus includes:
A specifying means for specifying a return time required for returning from the first power mode, which is the current power mode, to the second power mode for processing;
Transmission means for transmitting information including the return time specified by the specifying means in a signal by the short-range wireless communication,
The portable terminal is
When a signal transmitted from the information processing apparatus is received via the short-range wireless communication, an acquisition unit that acquires information on the return time included in the signal and a processing request is transmitted to the information processing apparatus Request means;
With
The request unit of the portable terminal controls the timing of transmitting data used for the process to the information processing device based on the return time acquired by the acquisition unit after transmitting the request for the process. System characterized by.
前記携帯端末の前記要求手段は、前記再送の上限回数を超えて前記処理に用いられるデータを再送した場合に、当該再送したデータに対する応答を前記情報処理装置から受信できない場合は、通信エラーが発生したものとして処理することを特徴とする請求項4に記載のシステム。 The upper limit number of retransmissions of data used in the processing is obtained from the return time acquired by the acquisition unit and a preset retransmission interval,
When the request unit of the mobile terminal retransmits data used for the processing exceeding the upper limit number of retransmissions, if a response to the retransmitted data cannot be received from the information processing apparatus, a communication error occurs. The system according to claim 4, wherein the system is processed as having been processed.
前記携帯端末から前記処理の要求を受信する受信手段と、
前記処理の要求を受信した際に、当該要求の処理を行うために前記第二の電力モードへ復帰するように制御する制御手段と、
前記第二の電力モードに復帰した後、前記携帯端末から受信したデータを用いて処理を行う処理手段と
を備えることを特徴とする請求項1乃至5のいずれか一項に記載のシステム。 The information processing apparatus includes:
Receiving means for receiving the processing request from the portable terminal;
Control means for controlling to return to the second power mode in order to process the request when the request for the process is received;
The system according to claim 1, further comprising a processing unit configured to perform processing using data received from the portable terminal after returning to the second power mode.
前記信号は、ビーコン信号である
ことを特徴とする請求項1乃至9のいずれか一項に記載のシステム。 The short-range wireless communication is Bluetooth Low Energy,
The system according to claim 1, wherein the signal is a beacon signal.
前記情報処理装置において、
現在の電力モードである第一の電力モードから、処理を行うための第二の電力モードに復帰するために要する復帰時間を特定する特定工程と、
前記特定工程にて特定された復帰時間の情報を、前記近距離無線通信による信号に含めて送信する送信工程と
を有し、
前記携帯端末において、
前記近距離無線通信を介して前記情報処理装置から送信された信号を受信した際に、当該信号に含まれる前記復帰時間の情報を取得する取得工程と
前記情報処理装置に処理の要求を送信する要求工程と、
を有し、
前記携帯端末の前記要求工程において、前記処理の要求を送信した後、前記取得工程にて取得した復帰時間に基づいて、当該処理に用いられるデータを前記情報処理装置に送信するタイミングを制御することを特徴とする制御方法。 A control method in a system including an information processing apparatus and a portable terminal that can communicate with each other using short-range wireless communication,
In the information processing apparatus,
A specific step of identifying a return time required for returning from the first power mode, which is the current power mode, to the second power mode for processing;
Including a transmission step of transmitting information including the return time specified in the specifying step in a signal by the short-range wireless communication,
In the mobile terminal,
When receiving a signal transmitted from the information processing apparatus via the short-range wireless communication, an acquisition step of acquiring information on the return time included in the signal, and transmitting a processing request to the information processing apparatus The required process,
Have
In the request process of the portable terminal, after transmitting the request for the process, controlling the timing of transmitting the data used for the process to the information processing device based on the return time acquired in the acquisition process. A control method characterized by the above.
現在の電力モードである第一の電力モードから、処理を行うための第二の電力モードに復帰するために要する復帰時間を特定する特定手段と、
前記特定手段にて特定された復帰時間の情報を、前記近距離無線通信による信号に含めて送信する送信手段と
を備えることを特徴とする情報処理装置。 An information processing apparatus capable of communication using short-range wireless communication,
A specifying means for specifying a return time required for returning from the first power mode, which is the current power mode, to the second power mode for processing;
An information processing apparatus comprising: transmission means for transmitting information including the return time specified by the specifying means in a signal by the short-range wireless communication.
前記近距離無線通信を介して前記情報処理装置から送信された信号を受信した際に、当該信号に含まれる、前記情報処理装置が第一の電力モードから第二の電力モードに復帰するために要する復帰時間の情報を取得する取得手段と
前記情報処理装置に処理の要求を送信する要求手段と、
を備え、
前記要求手段は、前記処理の要求を送信した後、前記取得手段にて取得した復帰時間に基づいて、当該処理に用いられるデータを前記情報処理装置に送信するタイミングを制御することを特徴とする携帯端末。 A portable terminal capable of communicating with an information processing device using short-range wireless communication,
When the signal transmitted from the information processing apparatus via the short-range wireless communication is received, the information processing apparatus included in the signal returns from the first power mode to the second power mode. Obtaining means for obtaining information of a required return time; requesting means for transmitting a processing request to the information processing apparatus;
With
The requesting unit controls the timing of transmitting data used for the processing to the information processing apparatus based on the return time acquired by the acquiring unit after transmitting the processing request. Mobile device.
現在の電力モードである第一の電力モードから、処理を行うための第二の電力モードに復帰するために要する復帰時間を特定する特定工程と、
前記特定工程にて特定された復帰時間の情報を、前記近距離無線通信による信号に含めて送信する送信工程と
を有することを特徴とする情報処理装置の制御方法。 A method for controlling an information processing apparatus capable of communication using short-range wireless communication,
A specific step of identifying a return time required for returning from the first power mode, which is the current power mode, to the second power mode for processing;
A control method for an information processing apparatus, comprising: a transmission step of transmitting information including the return time specified in the specifying step in a signal by the short-range wireless communication.
前記近距離無線通信を介して前記情報処理装置から送信された信号を受信した際に、当該信号に含まれる、前記情報処理装置が第一の電力モードから第二の電力モードに復帰するために要する復帰時間の情報を取得する取得工程と
前記情報処理装置に処理の要求を送信する要求工程と、
を有し、
前記要求工程において、前記処理の要求を送信した後、前記取得工程にて取得した復帰時間に基づいて、当該処理に用いられるデータを前記情報処理装置に送信するタイミングを制御することを特徴とする携帯端末の制御方法。 A method for controlling a portable terminal capable of communicating with an information processing device using short-range wireless communication,
When the signal transmitted from the information processing apparatus via the short-range wireless communication is received, the information processing apparatus included in the signal returns from the first power mode to the second power mode. An acquisition step of acquiring information of a required return time, a request step of transmitting a processing request to the information processing device,
Have
In the request step, after transmitting the processing request, the timing for transmitting the data used for the processing to the information processing device is controlled based on the return time acquired in the acquisition step. Control method of mobile terminal.
現在の電力モードである第一の電力モードから、処理を行うための第二の電力モードに復帰するために要する復帰時間を特定する特定手段、
前記特定手段にて特定された復帰時間の情報を、近距離無線通信による信号に含めて送信する送信手段
として機能させるためのプログラム。 Computer
A specifying means for specifying a return time required for returning from the first power mode, which is the current power mode, to the second power mode for processing;
The program for functioning as a transmission means which transmits the information of the return time specified by the said specification means included in the signal by near field communication.
近距離無線通信を介して情報処理装置から送信された信号を受信した際に、当該信号に含まれる、前記情報処理装置が第一の電力モードから第二の電力モードに復帰するために要する復帰時間の情報を取得する取得手段
前記情報処理装置に処理の要求を送信する要求手段、
として機能させ、
前記要求手段は、前記処理の要求を送信した後、前記取得手段にて取得した復帰時間に基づいて、当該処理に用いられるデータを前記情報処理装置に送信するタイミングを制御することを特徴とするプログラム。 Computer
When a signal transmitted from the information processing device via short-range wireless communication is received, the recovery included in the signal required for the information processing device to return from the first power mode to the second power mode Acquisition means for acquiring time information Request means for transmitting a processing request to the information processing apparatus,
Function as
The requesting unit controls the timing of transmitting data used for the processing to the information processing apparatus based on the return time acquired by the acquiring unit after transmitting the processing request. program.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2015236002A JP2017103649A (en) | 2015-12-02 | 2015-12-02 | System and control method thereof, information processing device and control method thereof, portable terminal and control method thereof, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2015236002A JP2017103649A (en) | 2015-12-02 | 2015-12-02 | System and control method thereof, information processing device and control method thereof, portable terminal and control method thereof, and program |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2017103649A true JP2017103649A (en) | 2017-06-08 |
Family
ID=59017547
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2015236002A Pending JP2017103649A (en) | 2015-12-02 | 2015-12-02 | System and control method thereof, information processing device and control method thereof, portable terminal and control method thereof, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2017103649A (en) |
-
2015
- 2015-12-02 JP JP2015236002A patent/JP2017103649A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20140218765A1 (en) | Image forming system performing communication through visible light communication and communication mode different from visible light communication | |
| US9648190B2 (en) | Image forming apparatus that performs user authentication by wireless communication, method of controlling the same, and storage medium | |
| JP2024107032A (en) | Application Program | |
| US9927861B2 (en) | Information processing apparatus operable in power saving mode and method for controlling the same | |
| JP5219777B2 (en) | Image processing apparatus, image processing apparatus control method, and computer program | |
| JP6137076B2 (en) | TERMINAL DEVICE, TERMINAL DEVICE CONTROL METHOD, AND TERMINAL DEVICE CONTROL PROGRAM | |
| US10466945B2 (en) | Information processing apparatus configured to notify a communication terminal of connection information used to establish a network connection between an information processing apparatus and the communication terminal, communication system, and communication method configured to perform same | |
| JP6866209B2 (en) | Information processing device, control method, program | |
| CN104869266A (en) | Information processing device | |
| JP2015135607A (en) | Image forming system and image forming apparatus | |
| JP2016136364A (en) | COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM | |
| US8730501B2 (en) | Communication apparatus, communication continuation method, and communication continuation program | |
| US9766842B2 (en) | Processing apparatus, information apparatus, system, non-transitory computer readable medium, and method | |
| JP2016045575A (en) | Printing system, information processor, control method of information processor, and program | |
| JP6465072B2 (en) | Information processing apparatus and printing system | |
| US10341525B2 (en) | Image forming system, communication terminal, and non-transitory computer-readable storage medium | |
| US9917964B2 (en) | Information processing apparatus, information system, information processing method, and storage medium | |
| US20160291912A1 (en) | Information processing apparatus including near-field wireless communication tag, method of controlling the same, and storage medium | |
| JP2016225824A (en) | Information processing system, information processing apparatus, and information processing method | |
| JP2017103649A (en) | System and control method thereof, information processing device and control method thereof, portable terminal and control method thereof, and program | |
| US9294636B2 (en) | Image forming apparatus that has internet facsimile function and stores message ID related to image data in non volatile memory | |
| JP6463163B2 (en) | COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM | |
| CN112565539A (en) | Image forming apparatus and control method | |
| JP2018013952A (en) | Image processing system | |
| JP6602053B2 (en) | Information processing apparatus, control method, and program |