JP2016192657A - Radio communication device and radio communication device control method - Google Patents

Radio communication device and radio communication device control method Download PDF

Info

Publication number
JP2016192657A
JP2016192657A JP2015071191A JP2015071191A JP2016192657A JP 2016192657 A JP2016192657 A JP 2016192657A JP 2015071191 A JP2015071191 A JP 2015071191A JP 2015071191 A JP2015071191 A JP 2015071191A JP 2016192657 A JP2016192657 A JP 2016192657A
Authority
JP
Japan
Prior art keywords
signal strength
received signal
unit
search
change
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
Application number
JP2015071191A
Other languages
Japanese (ja)
Inventor
靖弘 池吉
Yasuhiro Ikayoshi
靖弘 池吉
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2015071191A priority Critical patent/JP2016192657A/en
Publication of JP2016192657A publication Critical patent/JP2016192657A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a radio communication device and a radio communication device control method, which can suppress power consumption required for searching a connection destination in a resting state.SOLUTION: A printer 1 to which a radio communication device of the present embodiment is applied comprises: a communication part 110 for performing radio communication; a receiving signal strength measurement part 120 for measuring a change in strength of a signal received by the communication part 110; and a searching part 150 for searching a connection destination of the communication part 110. The searching part 150 sets a searching frequency at a first value when a change in received signal strengths measured by the receiving signal strength measurement part 120 is equal to or larger than a predetermined threshold value and sets a searching frequency at a second value lower than the first value when a change in the receiving signal strength is less than the predetermined threshold value.SELECTED DRAWING: Figure 3

Description

本発明は、接続先を探索する探索頻度を可変可能な無線通信機器および無線通信機器の制御方法に関する。   The present invention relates to a wireless communication device capable of varying a search frequency for searching for a connection destination and a method for controlling the wireless communication device.

従来、この種の技術として、例えば特許文献1が知られている。特許文献1には、高速で移動すると一つのゾーンにとどまっている時間が短くなるため通信に適さないと判断し、接続先を探索する探索頻度を低下させる携帯型の無線通信機器が開示されている。この構成により、当該無線通信機器は不要な探索を抑制でき、省電力を図ることができる。   Conventionally, for example, Patent Document 1 is known as this type of technology. Patent Document 1 discloses a portable wireless communication device that determines that it is not suitable for communication because the time of staying in one zone is shortened when moving at high speed, and reduces the search frequency for searching for a connection destination. Yes. With this configuration, the wireless communication device can suppress unnecessary searching and can save power.

一方、この種の無線通信機器を搭載したモバイルプリンターでも、探索頻度の可変制御が行われている。モバイルプリンターの場合、ユーザーによる運搬によって、無線LANの電波環境が刻々と変化する条件下で使用されるため、一般的にアクセスポイントからの受信信号強度に基づいて探索頻度を可変している。つまり、受信信号強度が弱い場合には探索頻度を高くし、受信信号強度が高い場合には探索頻度を低くすることで、受信状態が良い場合の電力消費量を削減している。   On the other hand, variable control of search frequency is also performed in mobile printers equipped with this type of wireless communication device. In the case of a mobile printer, since it is used under the condition that the radio wave environment of the wireless LAN changes every moment due to transportation by the user, the search frequency is generally varied based on the received signal strength from the access point. In other words, the power consumption when the reception state is good is reduced by increasing the search frequency when the received signal strength is weak and decreasing the search frequency when the received signal strength is high.

特開2008−66892号公報JP 2008-66892 A

ところが、上記のような従来のモバイルプリンターは、受信信号強度に基づいて探索頻度を制御しているため、静止中で電波環境が安定していても受信信号強度が低い場合には探索頻度が高くなり、電力消費量が多くなってしまう。一方、特許文献1の技術は、高速移動中の探索を抑制するものであるため、静止中の省電力効果は期待できない。   However, since the conventional mobile printer as described above controls the search frequency based on the received signal strength, the search frequency is high when the received signal strength is low even if the radio wave environment is stationary and the radio wave environment is stable. As a result, power consumption increases. On the other hand, since the technique of Patent Document 1 suppresses a search during high-speed movement, it cannot be expected to have a power saving effect while stationary.

本発明は、上記の問題点に鑑み、静止状態において接続先の探索に要する電力消費量を抑制可能な無線通信機器および無線通信機器の制御方法を提供することを目的とする。   In view of the above problems, an object of the present invention is to provide a wireless communication device and a wireless communication device control method capable of suppressing power consumption required for searching for a connection destination in a stationary state.

本発明の無線通信機器は、無線通信する通信部と、通信部の受信信号強度の変化を計測する受信信号強度計測部と、通信部の接続先を探索する探索部と、を備え、探索部は、受信信号強度計測部により計測した受信信号強度の変化が所定閾値以上の場合は、探索頻度を第1の値とし、受信信号強度の変化が所定閾値未満の場合は、探索頻度を第1の値よりも低い第2の値とすることを特徴とする。   A wireless communication device of the present invention includes a communication unit that performs wireless communication, a received signal strength measurement unit that measures a change in received signal strength of the communication unit, and a search unit that searches for a connection destination of the communication unit. The search frequency is set to the first value when the change in the received signal strength measured by the received signal strength measuring unit is greater than or equal to the predetermined threshold, and the search frequency is set to the first value when the change in the received signal strength is less than the predetermined threshold. The second value is lower than the value of.

本発明の無線通信機器の制御方法は、通信部を備えた無線通信機器の制御方法であって、通信部の受信信号強度の変化を計測する受信信号強度計測ステップと、通信部の接続先を探索する探索ステップと、を実行し、探索ステップは、受信信号強度計測ステップにて計測した受信信号強度の変化が所定閾値以上の場合は、探索頻度を第1の値とし、受信信号強度の変化が所定閾値未満の場合は、探索頻度を第1の値よりも低い第2の値とすることを特徴とする。   A method for controlling a wireless communication device of the present invention is a method for controlling a wireless communication device including a communication unit, and includes a received signal strength measuring step for measuring a change in received signal strength of the communication unit, and a connection destination of the communication unit. A search step for searching, and when the change in the received signal strength measured in the received signal strength measuring step is equal to or greater than a predetermined threshold, the search frequency is set to the first value and the change in the received signal strength is performed. Is less than the predetermined threshold, the search frequency is set to a second value lower than the first value.

本発明の構成によれば、受信信号強度の変化が所定閾値未満の場合、つまり機器本体が移動中でない場合は、移動中である場合と比較して探索頻度を低くするため、電波環境が安定した状態にある場合の不要な探索を抑制でき、ひいては省電力効果が期待できる。
なお、本発明の適用により、受信信号強度が弱い場合にも探索頻度が低くなる状況が発生するが、モバイルプリンターなど適用される電子機器によっては、受信信号強度が低い場合でも動作および/または成果物に影響が少ないため、本発明の適用が有用である。
According to the configuration of the present invention, when the change in the received signal strength is less than the predetermined threshold, that is, when the device main body is not moving, the radio frequency environment is stable in order to reduce the search frequency compared to when the device is moving. Therefore, unnecessary search in the case of being in the state can be suppressed, and thus a power saving effect can be expected.
The application of the present invention may cause a situation where the search frequency is low even when the received signal strength is weak. However, depending on the applied electronic device such as a mobile printer, the operation and / or results may be achieved even when the received signal strength is low. The application of the present invention is useful because it has little effect on objects.

上記の無線通信機器において、印刷部をさらに備え、探索部は、受信信号強度の変化が所定閾値以上の場合でも、印刷部がエラー状態である場合、探索頻度を第2の値とすることを特徴とする。   The wireless communication device further includes a printing unit, and the searching unit sets the search frequency to the second value when the printing unit is in an error state even when the change in received signal strength is equal to or greater than a predetermined threshold. Features.

本発明の構成によれば、印刷部がエラー状態である場合は、探索頻度を高くしても意味がないため、不要な探索を抑制し、さらに高い省電力効果が期待できる。
なお、「印刷部がエラー状態である場合」とは、用紙切れ、用紙詰まり、ロール紙収容部のカバーオープン、インク/トナー切れ、用紙カッターエラー、印刷ヘッドの温度異常など、印刷に関わる異常が発生した状態を指す。
According to the configuration of the present invention, when the printing unit is in an error state, it is meaningless to increase the search frequency. Therefore, unnecessary search can be suppressed and higher power saving effect can be expected.
Note that “when the printing unit is in an error state” means that there are printing-related abnormalities such as out of paper, paper jam, open cover of the roll paper container, out of ink / toner, paper cutter error, abnormal print head temperature, etc. Refers to the state that occurred.

上記の無線通信機器において、探索部は、通信部の接続先を変更した場合、変更してから所定時間が経過するまで、探索頻度を可変しないことを特徴とする。   In the above wireless communication device, when the search unit changes the connection destination of the communication unit, the search frequency is not changed until a predetermined time elapses after the change.

接続先を変更した際、変更後も受信信号強度の変化が大きくなる可能性があり、その場合は探索頻度が高くなる。しかしながら、接続先を変更した直後に通信状況が急激に悪化することは考え難い。そのため、本発明の構成によれば、接続先の変更から所定時間が経過するまで探索頻度を可変しないことにより、探索頻度を不要に高くすることを防止し、さらに高い省電力効果が期待できる。   When the connection destination is changed, there is a possibility that the change in the received signal strength will increase even after the change, and in this case, the search frequency increases. However, it is unlikely that the communication situation will deteriorate rapidly immediately after the connection destination is changed. Therefore, according to the configuration of the present invention, by not changing the search frequency until a predetermined time elapses from the change of the connection destination, it is possible to prevent the search frequency from being increased unnecessarily, and a higher power saving effect can be expected.

上記の無線通信機器において、探索部は、受信信号強度計測部により計測した受信信号強度の単位区間における移動平均をとり、前回の移動平均値と今回の移動平均値との差が所定閾値以上か否かを判定することを特徴とする。   In the above wireless communication device, the search unit takes a moving average in the unit interval of the received signal strength measured by the received signal strength measuring unit, and whether the difference between the previous moving average value and the current moving average value is a predetermined threshold value or more. It is characterized by determining whether or not.

本発明の構成によれば、単位区間における移動平均をとることにより、機器本体の移動(運搬)を正確に判定することができる。つまり、一時的な受信信号強度の変化に基づいて探索頻度を可変するのではなく、単位区間における移動平均に基づいて探索頻度を可変することで、探索頻度を不要に高くすることを防止し、さらに高い省電力効果が期待できる。   According to the configuration of the present invention, the movement (transport) of the device main body can be accurately determined by taking the moving average in the unit section. In other words, it is possible to prevent the search frequency from becoming unnecessarily high by varying the search frequency based on the moving average in the unit interval, instead of varying the search frequency based on a temporary change in received signal strength, Higher power saving effect can be expected.

本発明の一実施形態に係る印刷システムの構成図である。1 is a configuration diagram of a printing system according to an embodiment of the present invention. プリンターのハードウェア構成を示すブロック図である。FIG. 2 is a block diagram illustrating a hardware configuration of a printer. プリンターの機能構成を示すブロック図である。FIG. 2 is a block diagram illustrating a functional configuration of a printer. 受信信号強度の計測結果の一例を示すグラフである。It is a graph which shows an example of the measurement result of received signal strength. プリンターの一連の処理を示すフローチャートである。3 is a flowchart illustrating a series of processes of the printer.

以下、添付の図面を参照して、本発明の無線通信機器および無線通信機器の制御方法について説明する。本実施形態では、本発明の無線通信機器をプリンター1に適用した場合を例示する。   Hereinafter, a wireless communication device and a method for controlling the wireless communication device of the present invention will be described with reference to the accompanying drawings. In the present embodiment, a case where the wireless communication device of the present invention is applied to the printer 1 is illustrated.

図1は、本発明の一実施形態に係る印刷システムSYの構成図である。印刷システムSYは、プリンター1と、アクセスポイント3(3a,3b)と、両者を接続する無線ネットワーク5と、を備える。アクセスポイント3aとアクセスポイント3bは、離れた場所に設置され、例えばプリンター1が位置<A>に存在する場合は、アクセスポイント3aが接続先となり、プリンター1が位置<B>に存在する場合は、アクセスポイント3bが接続先となる。このようにプリンター1は、定期的にアクセスポイント3の探索を行い、その探索によって発見されたアクセスポイント3と接続を確立する。つまり、プリンター1の移動(運搬)によって、接続先が変更となる。   FIG. 1 is a configuration diagram of a printing system SY according to an embodiment of the present invention. The printing system SY includes a printer 1, an access point 3 (3a, 3b), and a wireless network 5 that connects the two. The access point 3a and the access point 3b are installed at separate locations. For example, when the printer 1 exists at the position <A>, the access point 3a is the connection destination, and when the printer 1 exists at the position <B>. The access point 3b is the connection destination. In this way, the printer 1 periodically searches for the access point 3 and establishes a connection with the access point 3 discovered by the search. That is, the connection destination is changed by moving (transporting) the printer 1.

無線ネットワーク5は、例えばIEEE802.11xで規定される無線LAN(Local Area Network)であり、WiFi(登録商標)に準拠する。また、本実施形態のプリンター1と2台のアクセスポイント3a,3bには、共通するネットワーク名(ESS−ID,SSIDなど)、認証/暗号化方式および暗号化キーが予め設定された状態にある。なお、同図ではアクセスポイント3を2台図示したが、印刷システムSYに含めるアクセスポイント3の数は任意である。   The wireless network 5 is a wireless local area network (LAN) defined by, for example, IEEE 802.11x, and conforms to WiFi (registered trademark). The printer 1 of this embodiment and the two access points 3a and 3b are in a state in which a common network name (ESS-ID, SSID, etc.), authentication / encryption method, and encryption key are set in advance. . In the figure, two access points 3 are shown, but the number of access points 3 included in the printing system SY is arbitrary.

プリンター1は、例えばスーパーや百貨店などの小売店において用いられる会計レシート発行用のモバイルプリンターである。プリンター1は、不図示のPOS(Point of sale)端末から、印刷データを受信して長尺状の用紙10(ロール紙)に印刷を行い、印刷済み部分を切断することで会計レシートを発行する。   The printer 1 is a mobile printer for issuing accounting receipts used in retail stores such as supermarkets and department stores. The printer 1 receives print data from a POS (Point of sale) terminal (not shown), prints on the long paper 10 (roll paper), and issues an accounting receipt by cutting the printed portion. .

アクセスポイント3は、無線ネットワーク5内のクライアント間(プリンター1とPOS端末など)における通信を中継する。アクセスポイント3が、ビーコン(Beacon)信号を定期的に無線ネットワーク5に送信すると、クライアントであるプリンター1は、ネットワーク名を問い合わせるプローブ要求をアクセスポイント3に送信する(アクセスポイント3を探索する)。アクセスポイント3は、同じネットワーク名である場合、プローブ応答を送信する。これにより、両者は互いの存在を認識する。なお、アクセスポイント3の探索は、ビーコン信号の受信に関わらずプローブ要求を送信する方式でも良いし、ビーコン信号に含まれるネットワーク名を読み取る方式でも良い。   The access point 3 relays communication between clients (such as the printer 1 and the POS terminal) in the wireless network 5. When the access point 3 periodically transmits a beacon signal to the wireless network 5, the printer 1 as a client transmits a probe request for inquiring the network name to the access point 3 (searches for the access point 3). If the access point 3 has the same network name, it transmits a probe response. Thereby, both recognize the mutual existence. The search for the access point 3 may be a method of transmitting a probe request regardless of reception of a beacon signal, or a method of reading a network name included in a beacon signal.

その後、アクセスポイント3は、予め設定された認証方式を用いて正式なクライアントであるか否かの認証を行う。クライアントは、正式なクライアントであると判定された場合、アクセスポイント3に対して接続要求を行う。これに対し、アクセスポイント3が許可応答を行うことで、両者の接続が確立する。   Thereafter, the access point 3 authenticates whether or not it is an official client using a preset authentication method. When it is determined that the client is an official client, the client makes a connection request to the access point 3. On the other hand, when the access point 3 sends a permission response, the connection between the two is established.

次に、図2を参照し、プリンター1のハードウェア構成について説明する。プリンター1は、制御機構11、無線LANドライバー12、無線LANモジュール13および印刷機構14を備える。   Next, the hardware configuration of the printer 1 will be described with reference to FIG. The printer 1 includes a control mechanism 11, a wireless LAN driver 12, a wireless LAN module 13, and a printing mechanism 14.

印刷機構14は、印刷を行う印刷ヘッド71と、用紙10を搬送する用紙搬送モーター72および用紙搬送ローラー73と、用紙10を切断する用紙カッターモーター74および用紙カッター75を含む。   The printing mechanism 14 includes a print head 71 that performs printing, a paper transport motor 72 and a paper transport roller 73 that transport the paper 10, a paper cutter motor 74 and a paper cutter 75 that cut the paper 10.

制御機構11は、CPU(Central Processing Unit)61、ネットワーク制御ファームウェア62および印刷制御ファームウェア63を含む。ネットワーク制御ファームウェア62は、通信制御を行うためのファームウェアである。また、印刷制御ファームウェア63は、印刷機構14を制御するためのファームウェアである。CPU61は、これらネットワーク制御ファームウェア62および印刷制御ファームウェア63に基づいて、通信制御および印刷制御を行う。特に本実施形態では、通信制御の一部として、無線LANモジュール13による受信信号強度の計測結果に基づき、アクセスポイント3を探索する探索頻度(アクセスポイント3のスキャン周期)を可変する。詳細については、後述する。   The control mechanism 11 includes a CPU (Central Processing Unit) 61, a network control firmware 62, and a print control firmware 63. The network control firmware 62 is firmware for performing communication control. The print control firmware 63 is firmware for controlling the printing mechanism 14. The CPU 61 performs communication control and print control based on the network control firmware 62 and the print control firmware 63. In particular, in this embodiment, as part of the communication control, the search frequency for searching for the access point 3 (scan cycle of the access point 3) is varied based on the measurement result of the received signal strength by the wireless LAN module 13. Details will be described later.

無線LANドライバー12は、CPU61の命令に基づいて、無線LANモジュール13を動作させる。無線LANモジュール13は、アンテナ13aの他、不図示のRF(Radio Frequency)部および無線通信コントローラ部を一体化したモジュールである。RF部は、アンテナ13aから受信したアナログ信号をデジタル化してする無線通信コントローラ部に出力すると共に、無線通信コントローラ部により生成されたデジタル情報をアナログ化してアンテナ13aに出力する。また、無線通信コントローラ部は、MACアドレスや各種設定情報を記憶する記憶領域を有し、これらに基づいてアクセスポイント3との通信を行う。さらに、無線通信コントローラ部は、アクセスポイント3から送信されるビーコン信号の受信信号強度を計測し、その計測結果を、無線LANドライバー12を介して制御機構11に出力する。   The wireless LAN driver 12 operates the wireless LAN module 13 based on a command from the CPU 61. The wireless LAN module 13 is a module in which an RF (Radio Frequency) unit (not shown) and a wireless communication controller unit are integrated in addition to the antenna 13a. The RF unit outputs the analog information received from the antenna 13a to the wireless communication controller unit that digitizes the analog signal, and also converts the digital information generated by the wireless communication controller unit to analog and outputs it to the antenna 13a. Further, the wireless communication controller unit has a storage area for storing a MAC address and various setting information, and performs communication with the access point 3 based on these storage areas. Further, the wireless communication controller unit measures the received signal strength of the beacon signal transmitted from the access point 3, and outputs the measurement result to the control mechanism 11 via the wireless LAN driver 12.

次に、図3を参照し、プリンター1の機能構成について説明する。プリンター1は、機能構成として、通信部110、受信信号強度計測部120、印刷部130および探索部140を備える。   Next, the functional configuration of the printer 1 will be described with reference to FIG. The printer 1 includes a communication unit 110, a received signal strength measurement unit 120, a printing unit 130, and a search unit 140 as functional configurations.

通信部110(無線LANモジュール13)は、インフラストラクチャー・モード(infrastructure mode)で無線通信を行う。受信信号強度計測部120は、通信部110の受信信号強度の変化を計測する。つまり、無線LANモジュール13が受信したビーコン信号の、時間軸上における信号強度の推移を計測する。本実施形態では、受信信号強度計測部120の計測結果に基づいて、プリンター1(機器本体)の移動を判定する(探索部140)。印刷部130は、用紙10に印刷を行い、印刷済み部分を切断して会計レシートを発行する。   The communication unit 110 (wireless LAN module 13) performs wireless communication in an infrastructure mode. The received signal strength measurement unit 120 measures a change in received signal strength of the communication unit 110. That is, the transition of the signal strength on the time axis of the beacon signal received by the wireless LAN module 13 is measured. In the present embodiment, the movement of the printer 1 (device main body) is determined based on the measurement result of the received signal strength measurement unit 120 (search unit 140). The printing unit 130 prints on the paper 10, cuts the printed portion, and issues an accounting receipt.

探索部140は、アクセスポイント3(接続先)を探索する。また、受信信号強度計測部120により計測した受信信号強度の変化が所定閾値以上の場合は、探索頻度を第1の値とし、受信信号強度の変化が所定閾値未満の場合は、探索頻度を第1の値よりも低い第2の値とする。つまり、受信信号強度の変化が大きい場合は、プリンター1が移動中である(運搬中である)と看做し、探索頻度を高くする。これに対し、受信信号強度の変化が小さい場合は、プリンター1が移動中でない(静止状態である)と看做し、探索頻度を低くする。これにより、プリンター1が静止して電波環境が安定した状態にある場合の無駄な電力消費を低減できる。以下、「第1の値の探索頻度」を「第1の探索頻度」、「第2の値の探索頻度」を「第2の探索頻度」と称する。「第2の探索頻度」は、探索停止(探索頻度ゼロ)でも良い。   Search unit 140 searches for access point 3 (connection destination). In addition, when the change in the received signal strength measured by the received signal strength measuring unit 120 is equal to or greater than the predetermined threshold, the search frequency is set to the first value, and when the change in the received signal strength is less than the predetermined threshold, the search frequency is set to the first frequency. The second value is lower than the value of 1. That is, when the change in the received signal strength is large, the printer 1 is considered to be moving (carrying), and the search frequency is increased. On the other hand, when the change in the received signal strength is small, it is considered that the printer 1 is not moving (in a stationary state), and the search frequency is lowered. Thereby, useless power consumption when the printer 1 is stationary and the radio wave environment is in a stable state can be reduced. Hereinafter, the “first value search frequency” is referred to as a “first search frequency”, and the “second value search frequency” is referred to as a “second search frequency”. The “second search frequency” may be a search stop (search frequency zero).

なお、このようにプリンター1の静止中に探索頻度を低くすると、受信信号強度が弱い場合にも探索頻度が低くなる状況が発生するが、プリンター1の特性上、受信信号強度が弱い場合でも印刷動作および印刷物に影響が少ないため支障がない。   If the search frequency is lowered while the printer 1 is stationary as described above, a situation in which the search frequency is low even when the received signal strength is low occurs. However, due to the characteristics of the printer 1, printing is performed even when the received signal strength is low. There is no problem because there is little influence on operation and printed matter.

一方、探索部140は、受信信号強度の変化が所定閾値以上か否かを判別するにあたり、受信信号強度計測部120により計測した受信信号強度の単位区間における移動平均をとり(区間平均値を算出し)、前回の移動平均値と今回の移動平均値との差が所定閾値以上か否かを判定する。これにより、プリンター1が運搬中であるか否かを正確に判定することができる。   On the other hand, when determining whether the change in the received signal strength is equal to or greater than a predetermined threshold, the search unit 140 calculates a moving average in the unit interval of the received signal strength measured by the received signal strength measuring unit 120 (calculates the average value of the interval). It is determined whether the difference between the previous moving average value and the current moving average value is equal to or greater than a predetermined threshold value. Thereby, it can be determined accurately whether the printer 1 is carrying.

ここで、図4を参照し、受信信号強度計測部120の計測結果と、探索頻度の関係について説明する。同図において、縦軸は受信信号強度計測部120の計測値(受信信号強度)を示し、横軸は時間を示す。また、符号81は、受信信号強度の計測波形を示し、符号82は、受信信号強度の単位区間における移動平均値を示す。符号82から分かるように、時間t0〜t1、t2〜t3、t4以降は、受信信号強度の変化が小さいことから、探索部140はプリンター1が静止状態であると看做し、第2の探索頻度で探索を行う。これに対し、時間t1〜t2、t3〜t4の間は、受信信号強度の変化が大きいことから、探索部140はプリンター1が移動状態であると看做し、第1の探索頻度で探索を行う。   Here, the relationship between the measurement result of the received signal strength measurement unit 120 and the search frequency will be described with reference to FIG. In the figure, the vertical axis indicates the measurement value (reception signal strength) of the reception signal strength measurement unit 120, and the horizontal axis indicates time. Reference numeral 81 indicates a measurement waveform of the received signal strength, and reference numeral 82 indicates a moving average value in a unit interval of the received signal strength. As can be seen from the reference numeral 82, since the change in received signal strength is small after time t0 to t1, t2 to t3, and t4, the search unit 140 considers that the printer 1 is in a stationary state, and performs the second search. Search at a frequency. On the other hand, since the change in received signal strength is large during the times t1 to t2 and t3 to t4, the search unit 140 considers that the printer 1 is in a moving state, and searches at the first search frequency. Do.

なお、例外処理として、探索部140は、受信信号強度の変化が所定閾値以上の場合でも、印刷部130がエラー状態である場合、第2の探索頻度とする。つまり、印刷部130がエラー発生中の場合は探索を行っても意味がないため、探索頻度を下げることにより無駄な電力消費を低減する。なお、印刷部130のエラー状態とは、用紙切れ、用紙詰まり、ロール紙収容部(図示省略)のカバーオープン、インク/トナー切れ、用紙カッター75のエラー、印刷ヘッド71の温度異常など、印刷機構14に関連する箇所に異常が発生した状態を指す。   As an exception process, the search unit 140 sets the second search frequency when the printing unit 130 is in an error state even when the change in the received signal strength is equal to or greater than a predetermined threshold. That is, if the printing unit 130 is in an error state, it does not make sense to perform a search. Therefore, wasteful power consumption is reduced by reducing the search frequency. Note that the error state of the printing unit 130 includes a printing mechanism such as out of paper, paper jam, open cover of a roll paper container (not shown), out of ink / toner, paper cutter 75 error, abnormal temperature of the print head 71, and the like. 14 indicates a state in which an abnormality has occurred at a location related to 14.

次に、図5のフローチャートを参照し、プリンター1の一連の処理を説明する。プリンター1は、起動後アクセスポイント3に接続すると(S01:Yes)、無線LANモジュール13により受信信号強度の計測を開始し(S02)、第2の探索頻度に設定する(S03)。なお、起動後アクセスポイント3に接続されるまでは、第1の探索頻度で探索を行うことが好ましい。   Next, a series of processing of the printer 1 will be described with reference to the flowchart of FIG. When the printer 1 is connected to the access point 3 after startup (S01: Yes), the wireless LAN module 13 starts measuring the received signal strength (S02), and sets the second search frequency (S03). In addition, it is preferable to perform a search at the first search frequency until the access point 3 is connected after activation.

その後、単位区間における受信信号強度の移動平均値を算出し(S04)、前回の単位区間と今回の単位区間の移動平均値の差が所定閾値以上であるか否かを判別する(S05)。S05:Yesの場合、すなわち移動平均値の差が大きく、プリンター1が移動中であると判定された場合は、印刷機構14(印刷部130)がエラー状態か否かを判別する(S06)。そして、印刷機構14がエラー状態でないと判定された場合は(S06:No)、第1の探索頻度に設定し(S07)、S04に戻る。   Thereafter, the moving average value of the received signal strength in the unit section is calculated (S04), and it is determined whether or not the difference between the moving average values of the previous unit section and the current unit section is greater than or equal to a predetermined threshold (S05). In the case of S05: Yes, that is, when it is determined that the difference in moving average value is large and the printer 1 is moving, it is determined whether or not the printing mechanism 14 (printing unit 130) is in an error state (S06). If it is determined that the printing mechanism 14 is not in an error state (S06: No), the first search frequency is set (S07), and the process returns to S04.

一方、前回の単位区間と今回の単位区間の移動平均値の差が所定閾値未満であり、プリンター1が移動中でないと判定された場合(S05:No)、または印刷機構14(印刷部130)がエラー状態であると判定された場合は(S06:Yes)、第2の探索頻度に設定し(S08)、S04に戻る。   On the other hand, if the difference between the moving average values of the previous unit section and the current unit section is less than the predetermined threshold value and it is determined that the printer 1 is not moving (S05: No), or the printing mechanism 14 (printing unit 130). Is determined to be in an error state (S06: Yes), the second search frequency is set (S08), and the process returns to S04.

以上説明したとおり、本実施形態のプリンター1は、受信信号強度の変化が所定閾値未満の場合は、受信信号強度の変化が所定閾値以上の場合と比較して探索頻度を低くする。つまり、プリンター1が静止状態と推定できる場合は、プリンター1が移動中と推定できる場合よりも探索頻度を下げることで、電波環境が安定した状態にある場合の不要な探索を抑制でき、ひいては省電力効果が期待できる。   As described above, the printer 1 according to the present embodiment reduces the search frequency when the change in the received signal strength is less than the predetermined threshold compared to the case where the change in the received signal strength is greater than or equal to the predetermined threshold. That is, when the printer 1 can be estimated to be stationary, unnecessary searching when the radio wave environment is in a stable state can be suppressed by lowering the search frequency than when the printer 1 can be estimated to be moving. Power effect can be expected.

また、受信信号強度の変化が所定閾値以上の場合、つまり電波環境が安定していない可能性が高い場合でも、印刷部130がエラー状態である場合は、探索頻度を低くするため、不要な探索を抑制し、さらに高い省電力効果が期待できる。   Further, even when the change in the received signal strength is greater than or equal to a predetermined threshold, that is, when there is a high possibility that the radio wave environment is not stable, if the printing unit 130 is in an error state, an unnecessary search is performed to reduce the search frequency. And a higher power saving effect can be expected.

また、本実施形態では、受信信号強度の単位区間における移動平均をとり、前回の移動平均値と今回の移動平均値との差が所定閾値以上か否かを判定するため、プリンター1の移動を正確に判定することができる。つまり、プリンター1に人が近づいて電波を遮った場合など一時的な受信信号強度の変化では探索頻度を可変しないため、探索頻度を不要に高くすることを防止し、さらに高い省電力効果が期待できる。   In the present embodiment, the moving average of the received signal strength in the unit interval is taken, and the printer 1 is moved to determine whether the difference between the previous moving average value and the current moving average value is equal to or greater than a predetermined threshold value. It can be determined accurately. In other words, since the search frequency is not changed by a temporary change in received signal strength such as when a person approaches the printer 1 and blocks radio waves, the search frequency is prevented from being increased unnecessarily, and a higher power saving effect is expected. it can.

なお、以下の変形例を採用可能である。
[変形例1]
例えば、探索部140は、通信部110の接続先を変更した場合、変更してから所定時間が経過するまで探索頻度を可変しない構成でも良い。接続先を変更した際、変更後も受信信号強度の変化が大きくなる可能性があり、その場合は探索頻度が高くなる。しかしながら、接続先を変更した直後に通信状況が急激に悪化することは考え難いため、接続先の変更から所定時間が経過するまで探索頻度を可変しないことにより、探索頻度を不要に高くすることを防止し、さらに高い省電力効果が期待できる。
In addition, the following modifications can be employed.
[Modification 1]
For example, when the connection destination of the communication unit 110 is changed, the search unit 140 may be configured such that the search frequency is not changed until a predetermined time elapses after the change. When the connection destination is changed, there is a possibility that the change in the received signal strength will increase even after the change, and in this case, the search frequency increases. However, since it is unlikely that the communication situation will deteriorate rapidly immediately after changing the connection destination, it is not necessary to increase the search frequency unnecessarily by not changing the search frequency until a predetermined time has elapsed since the change of the connection destination. It can be expected to have higher power saving effect.

[変形例2]
上記の実施形態において、探索部140は、受信信号強度の変化に応じて探索頻度を可変したが、さらにその変化量に応じて探索頻度を可変しても良い。例えば、変化量が大きい場合は移動速度が速いと推定できるため探索頻度を高くすることが考えられる。この構成によれば、電波環境の安定度に応じて適切な探索頻度を設定することができる。
[Modification 2]
In the above embodiment, the search unit 140 varies the search frequency according to the change in the received signal strength, but may further vary the search frequency according to the amount of change. For example, if the amount of change is large, it can be estimated that the moving speed is fast, so it is conceivable to increase the search frequency. According to this configuration, an appropriate search frequency can be set according to the stability of the radio wave environment.

[変形例3]
また、探索部140は、前回の受信信号強度の移動平均値と今回の受信信号強度の移動平均値との差が所定閾値以上の場合に第1の探索頻度とし、所定閾値未満の場合に第2の探索頻度としたが、移動平均値がプラス側に変化した場合の所定閾値と、移動平均値がマイナス側に変化した場合の所定閾値とを異なる値としても良い。
[Modification 3]
Further, the search unit 140 sets the first search frequency when the difference between the moving average value of the previous received signal strength and the moving average value of the current received signal strength is equal to or greater than a predetermined threshold, and sets the first search frequency when the difference is less than the predetermined threshold. However, the predetermined threshold value when the moving average value changes to the positive side and the predetermined threshold value when the moving average value changes to the negative side may be different values.

[変形例4]
また、受信信号強度の変化に応じて探索頻度を可変する制御を、受信信号強度が所定値以上の場合に限定しても良い。つまり、受信信号強度が所定値未満の場合は、受信信号強度の変化に関わらず、探索頻度を固定値としても良い。また、その場合、受信信号強度が弱いため、第1の探索頻度とすることが好ましい。
[Modification 4]
Further, the control for varying the search frequency according to the change in the received signal strength may be limited to the case where the received signal strength is equal to or greater than a predetermined value. That is, when the received signal strength is less than a predetermined value, the search frequency may be a fixed value regardless of the change in the received signal strength. In that case, since the received signal strength is weak, the first search frequency is preferable.

[変形例5]
また、プリンター1が移動中であるか否かに応じて探索頻度を可変するのではなく、探索実行か探索停止かを切り替える構成としても良い。
[Modification 5]
Further, instead of changing the search frequency according to whether or not the printer 1 is moving, it may be configured to switch between search execution and search stop.

[変形例6]
上記の実施形態では、本発明の無線通信機器をプリンター1に適用したが、他の電子機器にも適用可能である。また、上記の実施形態に示した探索部140をクラウドコンピューティングで実現しても良い。
[Modification 6]
In the above embodiment, the wireless communication device of the present invention is applied to the printer 1, but it can also be applied to other electronic devices. Further, the search unit 140 shown in the above embodiment may be realized by cloud computing.

[その他の変形例]
上記の実施形態および変形例に示した印刷システムSY(プリンター1)の各構成要素をプログラムとして提供しても良い。また、そのプログラムを各種記録媒体(CD−ROM、フラッシュメモリー等)に格納して提供しても良い。すなわち、コンピューターをプリンター1の各構成要素として機能させるためのプログラム、それを記録した記録媒体も、本発明の権利範囲に含まれる。その他、本発明の要旨を逸脱しない範囲で、適宜変更が可能である。
[Other variations]
You may provide each component of printing system SY (printer 1) shown in said embodiment and modification as a program. The program may be provided by being stored in various recording media (CD-ROM, flash memory, etc.). That is, a program for causing a computer to function as each component of the printer 1 and a recording medium on which the program is recorded are also included in the scope of rights of the present invention. Other modifications can be made as appropriate without departing from the scope of the present invention.

1:プリンター 3:アクセスポイント 5:無線ネットワーク 10:用紙 11:制御機構 12:無線LANドライバー 13:無線LANモジュール 13a:アンテナ 14:印刷機構 61:CPU 62:ネットワーク制御ファームウェア 63:印刷制御ファームウェア 81:受信信号強度の計測波形 82:受信信号強度の移動平均値 110:通信部 120:受信信号強度計測部 130印刷部 140:探索部 SY:印刷システム   1: Printer 3: Access point 5: Wireless network 10: Paper 11: Control mechanism 12: Wireless LAN driver 13: Wireless LAN module 13a: Antenna 14: Printing mechanism 61: CPU 62: Network control firmware 63: Print control firmware 81: Received signal strength measurement waveform 82: Moving average value of received signal strength 110: Communication unit 120: Received signal strength measuring unit 130 Printing unit 140: Search unit SY: Printing system

Claims (5)

無線通信する通信部と、
前記通信部の受信信号強度の変化を計測する受信信号強度計測部と、
前記通信部の接続先を探索する探索部と、を備え、
前記探索部は、前記受信信号強度計測部により計測した前記受信信号強度の変化が所定閾値以上の場合は、探索頻度を第1の値とし、前記受信信号強度の変化が前記所定閾値未満の場合は、前記探索頻度を前記第1の値よりも低い第2の値とすることを特徴とする無線通信機器。
A communication unit for wireless communication;
A received signal strength measuring unit for measuring a change in received signal strength of the communication unit;
A search unit for searching for a connection destination of the communication unit,
When the change in the received signal strength measured by the received signal strength measurement unit is greater than or equal to a predetermined threshold, the search unit sets the search frequency to a first value, and the change in the received signal strength is less than the predetermined threshold The wireless communication device, wherein the search frequency is a second value lower than the first value.
印刷部をさらに備え、
前記探索部は、前記受信信号強度の変化が前記所定閾値以上の場合でも、前記印刷部がエラー状態である場合、前記探索頻度を前記第2の値とすることを特徴とする請求項1に記載の無線通信機器。
A printing section,
2. The search unit according to claim 1, wherein the search unit sets the search frequency to the second value when the printing unit is in an error state even when the change in the received signal strength is equal to or greater than the predetermined threshold. The wireless communication device described.
前記探索部は、前記通信部の接続先を変更した場合、変更してから所定時間が経過するまで、前記探索頻度を可変しないことを特徴とする請求項1または2に記載の無線通信機器。   3. The wireless communication device according to claim 1, wherein, when the connection destination of the communication unit is changed, the search unit does not change the search frequency until a predetermined time elapses after the change. 前記探索部は、前記受信信号強度計測部により計測した前記受信信号強度の単位区間における移動平均をとり、前回の移動平均値と今回の移動平均値との差が前記所定閾値以上か否かを判定することを特徴とする請求項1ないし3のいずれか1項に記載の無線通信機器。   The search unit takes a moving average in a unit interval of the received signal strength measured by the received signal strength measuring unit, and determines whether or not a difference between a previous moving average value and a current moving average value is equal to or greater than the predetermined threshold value. The wireless communication device according to claim 1, wherein the wireless communication device is determined. 通信部を備えた無線通信機器の制御方法であって、
前記通信部の受信信号強度の変化を計測する受信信号強度計測ステップと、
前記通信部の接続先を探索する探索ステップと、を実行し、
前記探索ステップは、前記受信信号強度計測ステップにて計測した前記受信信号強度の変化が所定閾値以上の場合は、探索頻度を第1の値とし、前記受信信号強度の変化が前記所定閾値未満の場合は、前記探索頻度を前記第1の値よりも低い第2の値とすることを特徴とする無線通信機器の制御方法。
A method for controlling a wireless communication device including a communication unit,
A received signal strength measuring step for measuring a change in received signal strength of the communication unit;
Performing a search step of searching for a connection destination of the communication unit;
In the search step, when the change in the received signal strength measured in the received signal strength measurement step is equal to or greater than a predetermined threshold, the search frequency is set to a first value, and the change in the received signal strength is less than the predetermined threshold. In this case, the search frequency is set to a second value that is lower than the first value.
JP2015071191A 2015-03-31 2015-03-31 Radio communication device and radio communication device control method Pending JP2016192657A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015071191A JP2016192657A (en) 2015-03-31 2015-03-31 Radio communication device and radio communication device control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015071191A JP2016192657A (en) 2015-03-31 2015-03-31 Radio communication device and radio communication device control method

Publications (1)

Publication Number Publication Date
JP2016192657A true JP2016192657A (en) 2016-11-10

Family

ID=57247191

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015071191A Pending JP2016192657A (en) 2015-03-31 2015-03-31 Radio communication device and radio communication device control method

Country Status (1)

Country Link
JP (1) JP2016192657A (en)

Similar Documents

Publication Publication Date Title
US11184503B2 (en) Communication apparatus and printer for performing wireless communication of image data representing image of print target
US10419913B2 (en) Communication device and non-transitory computer-readable recording medium
US10278128B2 (en) Communication apparatus, method of controlling a communication apparatus, and storage medium
KR100998143B1 (en) Method and apparatus for creating a fingerprint for a wireless network
JP4791546B2 (en) Method and apparatus for maintaining a fingerprint for a wireless network
US20140256347A1 (en) Dynamic characterization of mobile devices in network-based wireless positioning systems
JP6622383B2 (en) Access point standby power optimization across any number of associated clients
JP2014168215A (en) Communication apparatus
JP2016181863A (en) Radio communication device and radio communication device control method
KR101184610B1 (en) Apparatus for saving power by using location information and method thereof
JP2018011265A (en) Radio communication device, printing device, and control method
JP2016535956A5 (en)
JP2011109252A (en) Communication device, control method of communication device, and program
US20060165133A1 (en) Communication apparatus, control method, and program therefor
JP2012249212A (en) Portable network connection device
JP6389451B2 (en) Wireless communication apparatus and program
JP2017068574A (en) Program of information processing apparatus, and information processing apparatus
US20160080591A1 (en) Communication Apparatus
JP2017158069A (en) Radio communication device, positional information notification system, positional information transmission method, and computer program
JP5411068B2 (en) Wireless terminal device and connection destination switching method
JP2016174295A (en) Radio communication apparatus and radio communication apparatus control method
JP2016192657A (en) Radio communication device and radio communication device control method
US9070081B2 (en) Control device, control method of a control device, and a storage medium
US10740043B2 (en) Print notifications based on context data
WO2017012541A1 (en) Terminal positioning