JP2017102609A - Communication equipment and control method thereof and program - Google Patents
Communication equipment and control method thereof and program Download PDFInfo
- Publication number
- JP2017102609A JP2017102609A JP2015234001A JP2015234001A JP2017102609A JP 2017102609 A JP2017102609 A JP 2017102609A JP 2015234001 A JP2015234001 A JP 2015234001A JP 2015234001 A JP2015234001 A JP 2015234001A JP 2017102609 A JP2017102609 A JP 2017102609A
- Authority
- JP
- Japan
- Prior art keywords
- communication
- connection method
- wired connection
- predetermined wired
- state
- 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
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Information Transfer Systems (AREA)
- Facsimiles In General (AREA)
Abstract
Description
本発明は、通信装置およびその制御方法、並びにプログラムに関する。 The present invention relates to a communication device, a control method therefor, and a program.
PCやタブレット端末等の情報処理装置と、プリンタ等の通信装置との間の接続方式として、例えば、USB(Universal Serial Bus)が広く普及している。USBは、Plug and Play方式に対応しているため、装置間でUSBによる接続が行われた場合は、エニュメレーション処理等が自動的に実施され、ユーザーによる通信設定操作なしに装置間の接続が確立される。従って、情報処理装置と通信装置とをUSBケーブルで物理的に繋げるだけで、情報処理装置は、容易に通信装置に印刷データを転送して印刷させることが可能になる。 As a connection method between an information processing apparatus such as a PC or a tablet terminal and a communication apparatus such as a printer, for example, USB (Universal Serial Bus) is widely used. Since USB is compatible with the Plug and Play method, when USB connection is made between devices, enumeration processing, etc. is performed automatically, and connection between devices is performed without user communication setting operations. Is established. Therefore, the information processing apparatus can easily transfer the print data to the communication apparatus for printing by simply physically connecting the information processing apparatus and the communication apparatus with the USB cable.
また、USB接続が可能な通信装置の中には、バッテリ搭載式の小型で携帯が可能なものもあり、これを用いることで印刷可能なエリアが広がり、より幅広い用途での印刷が可能である。 In addition, some communication devices that can be connected via USB are battery-mounted, small and portable. By using this communication device, the printable area is expanded and printing can be performed in a wider range of applications. .
特許文献1に記載の装置は、USBによる接続を検知した場合、ユーザーによる通信設定操作なしに、装置間の通信を可能にしている。しかし、特許文献1に記載の装置は、外部装置と容易に通信することができるという利便性がある反面、外部装置との通信を許可したくないようなユースケースにおいても外部装置と通信してしまうという課題がある。 The device described in Patent Document 1 enables communication between devices without detecting a communication setting operation by a user when connection by USB is detected. However, while the device described in Patent Document 1 has the convenience of being able to easily communicate with an external device, it communicates with the external device even in use cases where communication with the external device is not desired. There is a problem of end.
本発明は、上述の課題に鑑みてなされたものであり、装置間の接続後にユーザーによる通信設定操作なしに装置間の通信を可能にする所定の有線接続方式を介した通信が可能な状態もしくは不可能な状態に制御することを目的とする。 The present invention has been made in view of the above-described problems, and is a state in which communication via a predetermined wired connection method that enables communication between devices without a communication setting operation by a user after connection between the devices is possible. The purpose is to control to an impossible state.
上記課題を解決するために本発明の通信装置は以下の構成を有する。すなわち、本発明の通信装置は、外部装置と接続することが可能な通信装置であって、前記通信装置が所定の有線接続方式によって前記外部装置と接続した場合、ユーザーによる通信設定操作なしに、前記外部装置との前記所定の有線接続方式を介した通信が可能な状態となる通信手段と、前記所定の有線接続方式を介した通信を有効にするか無効にするかの設定を、ユーザーから受け付ける受け付け手段と、を有し、前記通信手段は、前記受け付け手段が、前記所定の有線接続方式による接続を有効にする設定を受け付けた場合、前記所定の有線接続方式を介した通信が可能な状態になり、前記受け付け手段が、前記所定の有線接続方式による接続を無効にする設定を受け付けた場合、前記所定の有線接続方式を介した通信が不可能な状態になることを特徴とする。 In order to solve the above problems, the communication apparatus of the present invention has the following configuration. That is, the communication device of the present invention is a communication device that can be connected to an external device, and when the communication device is connected to the external device by a predetermined wired connection method, without a communication setting operation by the user, A communication unit that can communicate with the external device via the predetermined wired connection method and a setting for enabling or disabling communication via the predetermined wired connection method from the user. Receiving means, and the communication means is capable of communication via the predetermined wired connection method when the receiving means receives a setting for enabling connection by the predetermined wired connection method. A state where communication via the predetermined wired connection method is impossible when the accepting unit accepts a setting for invalidating the connection by the predetermined wired connection method. Characterized in that it comprises.
本発明により、装置間の接続後にユーザーによる通信設定操作なしに装置間の通信を可能にする所定の有線接続方式を介した通信が可能な状態もしくは不可能な状態に制御することができる。 According to the present invention, it is possible to control a state in which communication via a predetermined wired connection method that enables communication between devices without a communication setting operation by a user after connection between the devices is possible or impossible.
[システム構成]
以下で説明する各実施形態を実現するためのシステム構成の例について、図1〜図2を用いて説明する。
[System configuration]
An example of a system configuration for realizing each embodiment described below will be described with reference to FIGS.
図1は、システム構成の一例を示す図である。通信端末100は、本実施形態における外部装置であり、無線LAN通信部やUSB通信部等の通信部を有する携帯型の通信端末装置である。本実施形態において外部装置は、例えば、PDA(Personal Digital Assistant)等の個人情報端末、パーソナルコンピュータ(PC)、携帯電話、スマートフォン、デジタルカメラ等である。プリンタ200は、電力供給源であるバッテリ装置を搭載して持ち運びが可能なプリンタ(モバイルプリンタ)であって、通信端末100と通信できる機能を有する。なお、本発明を適用する通信装置は、モバイルプリンタに限定されず、Plug and Playに対応した接続方式によって通信端末装置と通信可能な装置であれば良い。例えば、通信装置は、据え置きのプリンタ、複写機、ファクシミリ、スキャナ、携帯端末、ノートPC、タブレット端末、PDA、デジタルカメラ等であっても良い。また、通信装置がプリンタの機能を有しているならば、通信装置の記録方式はインクジェット方式に限定されず、例えば電子写真方式等、他の記録方式であってもよい。
FIG. 1 is a diagram illustrating an example of a system configuration. The
本実施形態において、通信端末100とプリンタ200とは、USBケーブル101にて接続されるものとする。なお、以下に述べるUSBの規格等は、特に限定するものではない。なお、ここでは、システムを構成する各装置はいずれも持ち運び可能な装置を例に挙げて説明するが、いずれかが据え置き型の装置であってもかまわない。
In this embodiment, it is assumed that the
図2は、プリンタ200の構成例を示す図である。プリンタ200は装置のメインの制御を行うメインボード201と、複数のユニットとから構成される。メインボード201に接続されるユニットとして、WLANユニット215、AC電源接続ユニット216、バッテリ接続ユニット217、およびUSBコネクタ223が含まれる。
FIG. 2 is a diagram illustrating a configuration example of the
WLANユニット215は、外部装置と、WLAN(Wireless LAN)通信を行うためのインタフェースである。AC電源接続ユニット216は、AC電源装置400と接続するためのインタフェースである。バッテリ接続ユニット217は、バッテリ装置300と接続するためのインタフェースである。
The
メインボード201は、CPU202、ROM203、RAM204、不揮発性メモリ205、画像メモリ206、符号復号化処理部207、データ変換部208、操作部209、および給紙部210を備える。更にメインボード201は、記録部211、記録制御部212、電源制御部213、LED214、USB制御部221、およびGPIO222を備える。メインボード内の各部位はシステムバス218を介して互いに通信可能に接続される。
The main board 201 includes a
CPU202は、システム制御部であり、プリンタ200の全体を制御する。ROM203は、不揮発性の記憶領域であり、CPU202が実行する制御プログラムや組み込みオペレーティングシステム(OS)プログラム等を格納する。本実施形態では、ROM203に格納されている各制御プログラムは、ROM203に格納されている組み込みOSの管理下で、スケジューリングやタスクスイッチ等のソフトウェア制御を行う。
The
RAM204は、揮発性の記憶部であり、SRAM(Static RAM)等で構成される。RAM204は、プログラム制御変数等を格納し、また、ユーザーが登録した設定値やプリンタ200の管理データ等を格納し、各種ワーク用バッファ領域が設けられる。不揮発性メモリ205は、不揮発性の記憶部であり、フラッシュメモリ等で構成され、電源がオフされた時でも格納されたデータは消去されずに保存される。不揮発性メモリ205に保存されるデータとして、具体的には、ネットワーク接続情報、ユーザーデータなどが挙げられる。画像メモリ206は、DRAM(Dynamic RAM)等で構成されたメモリで、各通信ユニットを介して受信した画像データや、後述する符号復号化処理部207で処理した画像データなどを蓄積する。なお、図2において、複数の記憶部を備えた例を示しているが、これに限定するものではない。また、RAM204や不揮発性メモリ205以外の他の記憶部が備わっていてもよい。
The
符号復号化処理部207は、プリンタ200で扱う画像データ(JPEG、PNG等)の符号復号化処理や、拡大縮小処理を行う。データ変換部208は、ページ記述言語等の解析や、画像データからプリントデータへの変換などを行う。操作部209は、ボタン操作など、ユーザーからの操作を受け付ける。
The code decoding processing unit 207 performs code decoding processing and enlargement / reduction processing of image data (JPEG, PNG, etc.) handled by the
給紙部210は、印刷のための紙等の記録媒体(用紙)を保持する。印刷時には、記録制御部212からの制御により給紙部210から給紙を行うことができる。特に給紙部210は、複数種類の用紙を一つの装置に保持するために、複数の給紙部を用意し、記録制御部212によってどの給紙部から給紙を行うかの制御を行う構成であってもよい。
The
記録部211は、画像処理がなされた画像データを用いて、給紙部210から供給される記録媒体上にインク等の記録剤を付加して画像形成動作を行い、印刷物を出力する。
The
記録制御部212は、プリントデータに対し、画像処理制御部(不図示)を介して、スムージング処理や記録濃度補正処理、色補正等の各種画像処理を施し、高精細なプリントデータに変換し、記録部211に出力する。また、記録制御部212は、記録部211の情報を定期的に読み出してRAM204の情報を更新する。ここでの更新とは、具体的には、インクタンクの残量やプリントヘッドの状態などを更新することである。
The
LED214は点灯、または点滅することにより、装置の状態をユーザーに伝達する役割を果たす。
The
WLANユニット215は、WLANにより外部装置と通信を行うためのユニットであり、メインボード201とはバスケーブル219などで接続される。なお、外部装置との通信においてWLANを用いた構成の例を示すが、近接無線通信など、別の通信手段が実現可能なユニットを有していてもよい。
The
電源制御部213は、電源の接続状態を検知し、プリンタ200の駆動に必要な電力を制御する。ここで、電源の接続状態とは、AC電源装置400またはバッテリ装置300が接続されていること、もしくは接続されていないことを表す状態である。具体的には、電源制御部213は、AC電源接続ユニット216およびバッテリ接続ユニット217を介して、電源の接続状態を検知し、その検知結果による状態に応じてどちらの装置から電力を供給するかの制御を行う。また、AC電源装置400およびバッテリ装置300が同時に接続されており、プリンタ200の電力消費が少ない場合は、電源制御部213は、AC電源装置400から供給される電力によってバッテリ装置300の充電を行うように制御してもよい。さらに、電源制御部213は、バッテリ装置300と定期的に通信することで、バッテリ装置300から通知されるバッテリ残量やバッテリのエラー状態などを受信し、CPU202を介してそれらの情報に応じた表示および制御を指示する。例えば、ネットワークを経由してROM203に保存されたデータのアップデートを実施する際に、電源制御部213が電源の接続状態をCPU202に通知する。この通知に基づき、CPU202は、AC電源装置400が接続されていなければ、ROM203に保存されたデータのアップデートを開始しない、といった制御を行うことができる。
The
GPIO222は、汎用入出力であり、USBコネクタ223を介してUSBの電源線であるVbusを検知する。
The
USB制御部221は、通信端末100からUSBコネクタ223にUSBケーブル101が挿されると、USB通信を実行するための制御を行い、通信端末100にPlug and PlayでのUSB通信を可能とさせる。なお、Plug and Playとは、通信端末100と有線による物理的な接続が行われた後に、プリンタ200が、有線で通信を行うための通信設定を自動で行う方式である。そのため、Plug and Playに対応するプリンタ200は、通信端末100と有線による物理的な接続が行われてから、有線による通信を開始するまでの間に、ユーザーによる通信設定操作を受け付けることなく通信を開始できる。ここで、通信設定とは、例えば、エニュメレーション処理や、通信を許可するためのパスワード入力、通信相手装置の認識、リソースの割り当て等である。また、USB制御部221は、USBの信号線であるD+やD−のシリアル信号をクロックやデータに変換するなどの制御を行う。
When the
<第一の実施形態>
本実施形態に係るプリンタ200におけるUSB接続の制御処理について説明する。
<First embodiment>
A USB connection control process in the
図3は、プリンタ200のUSB接続設定の切り替え処理を示す。本処理フローは、プリンタ200のCPU202がROM203等に記憶されたプログラムを読み出して実行することにより実現される。
FIG. 3 shows a USB connection setting switching process of the
S301にて、CPU202は、プリンタ200の起動モードの情報を取得する。起動モードとして、プリンタ200の機能(印刷やスキャン等)をユーザーが利用するためのユーザーモードに加え、工場での出荷確認を行うための工場モード、サービスマンが保守を行うためのサービスモード等がある。なお、本実施形態において、印刷やスキャン等の機能は、例えばサービスモードでも実行されるが、ユーザーが任意に選択した画像データや、原稿を印刷及びスキャンする機能が実行されるのはユーザーモードだけである。起動モードに応じて、プリンタ200の動作が変更される。なお、上記のモードは一例であり、その他にも、プリンタ200が動作するモード(例えば、メンテナンス用のモード)があってもよい。また、モードの切り替え方法は、例えば、起動時にユーザーが操作部209に対し所定の操作を行う方法であっても良いし、所定の(モード切り替え用の)外部装置を介してコマンドを送信する方法であっても良い。また、それぞれのモードによって、モードの切り替え方法が異なっていても良い。
In step S <b> 301, the
S302にて、CPU202は、S301にて取得した情報に基づき、起動モードがユーザーモードであるか否かを判定する。ユーザーモードであると判定された場合(S302にてYES)、S303へ進み、ユーザーモードでない(すなわち、他の起動モード)と判定された場合(S302にてNO)S305へ進む。なお、ここでのモード判定は、ユーザーモードに限定するものではなく、本発明に係るUSB接続の設定制御を対象とするモードに応じて判定が行われる。なお、本実施形態において、USB接続の設定制御を対象とするモードとは、ユーザーが任意に選択した画像データや、原稿を印刷及びスキャンする機能が実行されるモードである。これは、ユーザーが任意に選択した画像データや、原稿を印刷及びスキャンできないモードにおいては、プリンタ200が、利用を許可しないユーザーによって利用されることはないためである。
In S302, the
S303にて、CPU202は、USB接続設定の情報を取得する。USB接続設定は、USB接続に対する有効/無効の2つの設定値のどちらかが設定され、ユーザーによる設定切り替えが可能な情報である。ユーザーは、USB接続を経由した通信を許可する場合には、USB接続設定を「有効」に設定し、USB接続を経由した通信を許可しない場合には、USB接続設定を「無効」に設定する。なお、USB接続設定の切り替えの方法については、図4を用いて後述する。本実施形態では、USB接続設定は、不揮発性メモリ205に記録されているものとする。
In S303, the
S304にて、CPU202は、S303にて取得したUSB接続設定の値が「有効」であるか否かを判定する。USB接続設定が有効であると判定された場合(S304にてYES)S305へ進み、USB接続設定が有効でない(すなわち、無効である)と判定された場合(S304にてNO)、S311へ進む。
In S304, the
S305にて、CPU202は、USBケーブル101の接続状態C1を取得する。C1は、プリンタ200に物理的にUSBケーブル101が接続されている状態か否か(USB接続状態か非接続状態か)を示す状態情報であり、GPIO222から取得される。
In S305, the
S306にて、CPU202は、ソフトウェアのUSB接続状態C2を取得する。C2は、ソフトウェアにおけるUSB接続状態を示し、USBのVbusがオンされる処理又はオフされる処理が実施された状態を示す状態情報である。Vbusオン処理が実施された状態(Vbusオン状態)である場合、USBケーブル101が物理的に接続されていればエニュメレーションが実施され、通信端末100からUSB接続された装置を認識することができる。すなわち、C1がUSB接続状態を示しており、且つC2がVbusオン状態を示している場合、プリンタ200は、USB接続を介した通信が可能となる。一方、Vbusオフ処理が実施された状態(Vbusオフ状態)である場合、USB接続の通信が切断されているため、エニュメレーションが実施できない。その結果、装置間の接続が確立されていないこととなり、通信端末100から物理的にUSB接続されていても装置を認識することはできない。すなわち、C2がVbusオフ状態を示している場合、C1が示している状態に関わらず、プリンタ200は、USB接続を介した通信が不可能となる。
In S306, the
S307にて、CPU202は、取得したC1とC2の状態を比較する。比較した結果、状態が一致している場合(S307にてNO)、適切なVbusの処理が実施されていると判定できるため、本処理フローを終了する。ここで、状態が一致している場合とは、C1がUSB接続状態を示しており、且つC2がVbusオン状態を示している場合を指す。又は、C1が非接続状態を示しており、且つC2がVbusオフ状態を示している場合を指す。一方、C1とC2の状態を比較した結果、状態が不一致である場合(S307にてYES)、適切なVbus処理が実施されていないと判定し、S308の処理に進む。ここで、状態が不一致である場合とは、C1がUSB接続状態を示しており、且つC2がVbusオフ状態を示している場合を指す。又は、C1が非接続状態を示しており、且つC2がVbusオン状態を示している場合を指す。なお、CPU202は、後述するように、USB接続設定が「無効」の場合には、C1が何れの状態を示すかに関わらず、C2がVbusオフ状態を示すようにする。また、後述するようにしてCPU202がC1とC2の状態を一致させた後に、USBの抜き差しが行われることによってC1の状態が変化することもある。そのため、CPU202は、例えば、USB接続設定が「無効」から「有効」に切り替えられた直後や、USBの抜き差しが行われた直後等に、C1とC2の状態が不一致であると判定する。
In S307,
S308にて、CPU202は、C1がUSB接続状態を示すか非接続状態を示すかを判定する。C1が接続状態を示す場合(S308にてYES)、S309へ進み、C1が非接続状態を示す場合(S308にてNO)、S310へ進む。
In S308,
S309にて、CPU202は、このとき、C2がVbusオフ状態を示しているため、Vbusオン処理を実行する。これは、C1がUSB接続状態を示している場合、ユーザーがUSB通信を所望していることが示されるため、プリンタ200の状態をUSB通信が可能な状態とする必要があるためである。CPU202は、Vbusオン状態にすることによって、プリンタ200の状態を、USB通信を実行可能な状態に制御することができる。本処理の結果、C1がUSB接続状態を示し、C2がVbusオン状態を示す状態となる。その後、本処理フローを終了する。
At S309,
S310にて、CPU202は、このとき、C2がVbusオン状態を示しているため、Vbusオフ処理を実行する。これは、S310がS308の後に実行された場合は、C1が非接続状態を示しており、ユーザーがUSB通信を所望していないことが示されているため、USB通信が可能な状態にしておく必要がないためである。また、S310がS312の後に実行された場合は、USB接続設定が無効に設定されているため、プリンタ200の状態を、USB通信が不可能な状態にする必要があるためである。CPU202は、Vbusオフ状態にすることによって、プリンタ200の状態を、USB通信を実行不可能な状態に制御することができる。さらに、Vbusオン状態の場合と比較して、プリンタ200の消費電力を削減することができる。本処理の結果、C1が非接続状態を示し、C2がVbusオフ状態を示す状態となる。その後、本処理フローを終了する。
At S310,
S311にて、CPU202は、ソフトウェアのUSB接続状態C2を取得する。
In S311, the
S312にて、CPU202は、C2がVbusオン状態を示すかVbusオフ状態を示すかを判定する。C2がVbusオン状態を示す場合(S312にてYES)、物理的にUSBが接続されているか否か(C1が何れの状態を示すか)に関わらず、S310へ進み、Vbusオフ処理を実行する。これは、USB接続設定が「無効」に設定されている場合は、USB接続された装置がホスト(ここでは、通信端末100)から認識されない状態である必要があるためである。C2がVbusオフ状態を示す場合(S312にてNO)、既にVbusオフ処理が実施済みの状態であり、USB接続された装置がホスト(ここでは、通信端末100)から認識されない状態であるため、何もせずに本処理フローを終了する。
In S312,
S301〜S312の処理は、リアルタイムOSによって実行される周期タイマー割込み処理(例えば、10msec周期)で定期的に実行されている。即ち、Vbusオン処理が実行された後に、USBケーブル101を抜かれる、または、USB接続設定が無効に変更されたとしても、所定の間隔で周期的にVbusオフ処理が実行されるため、適切なVbusの状態を保つことができる。ここでの周期(時間間隔)については一例であり、処理の負荷等に基づいて他の周期が用いられていてもよい。なお、図3でのUSB接続設定の初期設定は無効であり、設定変更をしない限りはUSB経由での印刷は禁止にされている。
The processes of S301 to S312 are periodically executed by a periodic timer interrupt process (for example, 10 msec period) executed by the real-time OS. That is, even if the
図4を用いて、プリンタ200の不揮発性メモリ205に記録されているUSB接続の設定情報を切り替える処理について説明する。本処理フローは、プリンタ200のCPU202がROM203等に記憶されたプログラムを読み出して実行することにより実現される。
A process of switching USB connection setting information recorded in the
なお、プリンタ200は、上述したようにWLANユニット215を備え、ネットワーク経由で外部装置から、本発明に係るUSB接続の設定変更のコマンドを受信することができる。コマンドの通信プロトコルとしては、HTTP(Hyper Text Transfer Protocol)やHTTPS(Hyper Text Transfer Protocol Secure)などが挙げられる。また、本実施形態において、コマンドは、プリンタ200の設定を変更する権限を有するユーザーが操作する外部装置にインストールされた、プリンタ200の管理用のアプリケーションにより発行される。このようにすることで、プリンタ200の設定を変更する権限を有するユーザーが所望するUSB接続設定にて、他のユーザーにプリンタ200を利用させることができる。
Note that the
S401にて、CPU202は、外部装置からネットワーク経由でコマンドを受信する。
In S401, the
S402にて、CPU202は、S401にて受信したコマンドを解析する。
In S402, the
S403にて、CPU202は、解析の結果、受信したコマンドがUSB接続設定を有効に変更するコマンド(変更指示)であるか否かを判定する。有効に変更するコマンドである場合(S403にてYES)、S404へ進み、他のコマンドである場合(S403にてNO)S405へ進む。
In step S403, the
S404にて、CPU202は、不揮発性メモリ205に記録しているUSB接続設定を有効に変更する。その後、本処理フローを終了する。
In S404, the
S405にて、CPU202は、受信したコマンドがUSB接続設定を無効に変更するコマンドか否かを判定する。USB接続設定を無効に変更するコマンドである場合(S405にてYES)、S406へ進み、その他のコマンドである場合(S405にてNO)本処理フローを終了する。
In step S405, the
S406にて、CPU202は、不揮発性メモリ205に記録しているUSB接続設定の情報を無効に変更する。その後、本処理フローを終了する。
In S <b> 406, the
以上、本実施形態により、プリンタ200は、USB接続設定の有効/無効に応じて、USB通信を実行可能な状態とUSB通信を実行不可能な状態とに切り替わることができる。結果として、USB接続設定が無効に設定されている場合に、USB通信を介して通信装置が利用されることを抑制することができる。
As described above, according to the present embodiment, the
また、本実施形態により、プリンタ200は、C1とC2の状態が一致しない場合には、それぞれの状態が一致するように、Vbusの状態を制御することができる。結果として、USB接続設定が「無効」から「有効」に切り替えられた場合にも、C1とC2の状態が一致するように制御することができる。
<第二の実施形態>
本発明の第二の実施形態について説明する。第一の実施形態において、例えば、プリンタ200におけるサービスコールエラー発生の原因を調査するために、装置の動作情報などのログを、通信端末100が取得する必要が生じる場合がある。このような場合においても、プリンタ200のUSB接続設定が無効のままでは、通信端末100は、USB経由では情報を取得することができない。そのため、通信端末100は、USB経由で情報を取得するためには、プリンタ200のUSB接続設定を有効に切り替える必要がある。しかしながら、図4のようにネットワーク経由で外部装置からプリンタ200のUSB接続設定を切り替えて、その後USB経由で情報を取得する方法では、通信端末100は、迅速に情報を取得することができない。
Further, according to the present embodiment, when the states of C1 and C2 do not match, the
<Second Embodiment>
A second embodiment of the present invention will be described. In the first embodiment, for example, in order to investigate the cause of the occurrence of a service call error in the
そこで、本実施形態では、プリンタ200は、自身の状態の情報を取得し、取得した状態情報に応じてUSB接続設定を切り替える処理を実行する。ここで取得する状態は、例えば、何もエラーが発生していない正常状態、ユーザーの操作によりエラー復帰可能なリカバブルエラー状態、サービスマンによるメンテナンスが必要なサービスコールエラー状態などが挙げられる。
Therefore, in the present embodiment, the
第二の実施形態におけるUSB接続の制御処理を、図5を用いて説明する。図5において、第一の実施形態にて説明した制御処理(図3)と異なる点として、S501〜S503の処理が該当する。その他の処理については、第一の実施形態にて述べたものと同様であるため、同じ参照番号を付し、詳細な説明は省略する。 The USB connection control process in the second embodiment will be described with reference to FIG. In FIG. 5, the process of S501-S503 corresponds to a different point from the control process (FIG. 3) demonstrated in 1st embodiment. Since other processes are the same as those described in the first embodiment, the same reference numerals are given and detailed descriptions thereof are omitted.
起動モードがユーザーモードであった場合(S302にてYES)、S501にて、CPU202は、プリンタ200の状態の情報を取得する。
When the activation mode is the user mode (YES in S302), in S501, the
S502にて、CPU202は、S501にて取得した情報に基づき、プリンタ200の状態が特定の状態であるか否かを判定する。特定の状態である場合(S502にてYES)、S503へ進み、特定の状態でない場合(S502にてNO)S303へ進む。特定の状態としては、例えばサービスコールエラーが該当し、これについては後述する。
In S502, the
S503にて、CPU202は、USB接続設定を有効に設定する。その後、S303へ進む。
In S503, the
本実施形態に係る特定の状態として、サービスコールエラーが発生している場合に、USB接続設定を有効に設定することで(S503)、USBケーブル101が接続されていればVbusオン処理が実行される。これにより、通信端末100は、プリンタ200を認識することが可能になり、USB以外の接続方式を介して設定変更の指示をしなくても、USB経由でプリンタ200の動作情報を取得することも可能になる。
As a specific state according to the present embodiment, when a service call error has occurred, by setting the USB connection setting to be valid (S503), if the
本実施形態では、USB接続設定を有効に変更するための条件(状態判定)において、特定の状態としてサービスコールエラーを対象としている。これは、プリンタ200は、エラー状態では印刷不可能であるため、USB接続設定が有効であっても利用を許可しないユーザーによって利用されることがないためである。また、プリンタ200の電源をオフしない限りはエラーが解除されることはなく、電源オフ後にも後述の電源オフ制御処理が実行されることにより、一時的にUSB接続設定が有効になっている間は、印刷不可状態が継続されるためである。一方、プリンタ200の状態が正常である場合は(S502にてNO)、以降の処理は、第一の実施形態と同様の制御処理となる。
In the present embodiment, a service call error is targeted as a specific state in a condition (state determination) for effectively changing the USB connection setting. This is because the
図6を用いて、本実施形態に係るプリンタ200の電源オフ制御処理について説明する。図5を用いて説明したように、プリンタ200は、サービスコールエラーが発生した場合、USB接続設定を有効に設定する。このようなプリンタ200において、サービスコールエラーが解消され、プリンタ200の電源ボタンが押下されて正常に電源がオフした後、再度電源がオンされたとする。その結果、プリンタ200が起動したときにはUSB接続設定が有効に設定されたままであるため、USBによって物理的な接続が行われば、USB経由での印刷が可能になってしまう。
The power-off control process of the
プリンタ200が正常な状態(エラーでない状態)である場合はUSB接続設定の初期設定が無効であって欲しいユーザーは、電源オンする度に、有効となっているUSB接続設定を切り替える必要がある。そのため、電源オンする度に、図4のような設定処理を行う必要があり、ユーザーの手間がかかってしまう。この課題を解決するために、図6に示す処理が行われる。本処理フローは、CPU202がROM203等に格納されたプログラムを読み出して実行することにより実現される。
When the
S601にて、CPU202は、電源オフ処理を検知する。具体的には、CPU202は、例えば、プリンタ200が備える電源オフスイッチがユーザーによって押下されることや、自動電源オフ機能によって電源がオフされることを検知する。
In S601, the
S602にて、CPU202は、電源オフ処理を検知した際に、USB接続設定が有効であるか否かを判定する。有効である場合は(S602にてYES)S603へ進み、有効でない(すなわち、無効である)場合は(S602にてNO)本処理フローを終了する。
In step S602, the
S603にて、CPU202は、USB接続設定を無効に変更する。その後、本処理フローを終了し、電源オフ処理により電源をオフさせる。このとき、CPU202は、後述の図7の処理のために、不揮発性メモリ205に正常に電源がオフされたことを示す情報を書き込む。この情報により電源判定が行われる。
In S603, the
このような形態とすることで、電源をオンする度に、ユーザーが手動でUSB接続設定を切り替える必要が無くなり、ユーザーの利便性を向上させることができる。 With such a configuration, it is not necessary for the user to manually switch the USB connection setting every time the power is turned on, and the convenience for the user can be improved.
なお、例えば電源オフ処理の実行時に、未だエラー状態が解除されていない場合もある。その場合は、電源がオンされた際に、再度USB設定処理が有効に切り替られ、無駄な処理が行われることになる。そこで、上述のフローチャートにおいて、CPU202は、例えば、S601の後にプリンタ200がエラー状態か否かを判定しても良い。そして、CPU202は、プリンタ200がエラー状態と判定された場合は、USB接続設定を切り替えない(「有効」に設定されたままとする)構成としても良い。
For example, there may be a case where the error state has not yet been released when the power-off process is executed. In that case, when the power is turned on, the USB setting process is again effectively switched, and a useless process is performed. Therefore, in the above flowchart, the
図7を用いて、本実施形態に係るプリンタ200の電源オン制御処理について説明する。図6の処理において、プリンタ200の電源オフ処理が正常に実行できる場合に、USB接続設定を無効に変更してから電源をオフさせている。しかし、プリンタ200の電源がオンしている状態にも関わらず、電源ケーブルを抜いて強制的に電源をオフする異常操作がされた場合、正常な電源オフ処理が実施できていないため、電源をオンするとUSB接続設定が有効な状態で起動してしまう。そこで、図7に示す処理が行われる。本処理フローは、CPU202がROM203等に格納されたプログラムを読み出して実行することにより実現される。
A power-on control process of the
S701にて、CPU202は、電源オン処理を検知する。具体的には、CPU202は、例えば、プリンタ200が備える電源オンスイッチがユーザーによって押下されることや、自動電源オン機能によって電源がオンされることを検知する。これにより、電源検知に係る処理が行われる。
In S701, the
S702にて、CPU202は、電源オン処理を検知した際に、前回、装置が正常終了状態で電源がオフされたか否かを、不揮発性メモリ205に保存された、正常に電源がオフされたことを示す情報に基づいて判定する。不揮発性メモリ205には、正常終了状態で電源オフされた場合は、正常に電源がオフされたことを示す情報が書き込まれており、逆に、異常終了状態で電源オフがされた場合は、前記情報が書き込まれていない。なお、具体的には、正常終了状態とは、CPU202が、電源オフ処理を検知することで電源がオフされた状態を指し、異常終了状態とは、CPU202が、電源オフ処理を検知することなく電源がオフされた状態を指す。正常終了状態で電源がオフされた場合(S702にてYES)本処理フローを終了し、異常終了状態で電源オフがされた場合は(S702にてNO)、S703に進む。
In S <b> 702, when the
S703にて、CPU202は、USB接続設定を無効に変更する。その後、本処理フローを終了する。
In S703, the
以上、本実施形態により、電源オフ時の状態に応じて、USB接続の切り替えを制御することが可能となる。 As described above, according to the present embodiment, it is possible to control the switching of the USB connection in accordance with the state when the power is turned off.
このような形態とすることで、異常終了状態で電源オフがされ、その後電源がオンされた場合にも、USB接続設定を無効にすることができる。 By adopting such a configuration, the USB connection setting can be invalidated even when the power is turned off in the abnormal end state and then the power is turned on.
<第三の実施形態>
本発明の第三の実施形態について説明する。プリンタ200において、例えば、Wi−Fiダイレクト(登録商標)等の接続方式によって通信が実行できない場合は、一時的にUSB接続を許可する場合がある。その場合、USB接続設定は有効にされるが、その後、Wi−Fiダイレクトによる通信が回復した場合にも、USB接続設定が有効のままになってしまう。そこで、本実施形態では、外部ネットワークと所定の有線接続方式にて接続を行った場合にはUSB接続設定を無効にする形態について説明する。
<Third embodiment>
A third embodiment of the present invention will be described. In the
第三の実施形態におけるUSB接続の制御処理を、図8を用いて説明する。図8において、第一の実施形態にて説明した制御処理(図3)と異なる点として、S801〜S804の処理が該当する。その他の処理については、第一の実施形態にて述べたものと同様であるため、同じ参照番号を付し、詳細な説明は省略する。 A USB connection control process according to the third embodiment will be described with reference to FIG. In FIG. 8, the process of S801-S804 corresponds to a different point from the control process (FIG. 3) demonstrated in 1st embodiment. Since other processes are the same as those described in the first embodiment, the same reference numerals are given and detailed descriptions thereof are omitted.
起動モードがユーザーモードであった場合(S302にてYES)、S801にて、CPU202は、現在のプリンタ200の接続モードの情報を取得する。ここで取得する接続モードの情報は、Wi−Fiダイレクト接続や有線LAN接続などのモードに関する情報であり、この情報により、プリンタ200が何れの通信方式による通信を確立しているかが示される。なお、Wi−Fiダイレクトモードや有線LAN接続の通信の確立方法などは周知の技術であるため、ここでの説明は省略する。
If the activation mode is the user mode (YES in S302), in S801, the
S802にて、CPU202は、現在の接続モードが特定の接続モードであるか否かを判定する。ここでは、特定の接続モードとして、上述したWi−Fiダイレクトモードを例に挙げて説明するがこれに限定するものでは無い。例えば、プリンタ200外部のアクセスポイントを経由して通信するインフラ接続モードや、Wi−Fi以外の他の通信方式による接続モードであっても良い。すなわち、ここでは、CPU202は、USB以外の接続方式によって通信を確立しているか否かの接続判定ができれば良い。現在の接続モードがWi−Fiダイレクトモードである場合(S802にてYES)S804へ進み、他の接続モードである場合は(S802にてNO)S803へ進む。
In S802,
S803にて、CPU202は、USB接続設定を有効に設定する。その後、S303の処理へ進む。
In step S803, the
S804にて、CPU202は、USB接続設定を無効に設定する。その後、S303の処理へ進む。
In S804, the
以上、本実施形態では、上記の制御により、接続モードに応じて、自動的にUSB接続設定を切り替えることができ、外部装置からUSB接続設定を変更する手間を省くことができる。また、Wi−Fiダイレクトによる通信が回復したにも関わらず、USB接続設定が有効のままになってしまうことを抑制できる。 As described above, in the present embodiment, the USB connection setting can be automatically switched according to the connection mode by the above control, and the trouble of changing the USB connection setting from the external device can be saved. In addition, it is possible to prevent the USB connection setting from being kept valid even though the Wi-Fi direct communication is recovered.
<第四の実施形態>
本発明の第四の実施形態について説明する。本実施形態では、USB接続を有効にする範囲を位置情報に基づいて制御するものである。
<Fourth embodiment>
A fourth embodiment of the present invention will be described. In the present embodiment, the range in which the USB connection is valid is controlled based on the position information.
第四の実施形態におけるUSB接続の制御処理を、図9を用いて説明する。図9において、第一の実施形態にて説明した制御処理(図3)と異なる点として、S901〜S904の処理が該当する。その他の処理については、第一の実施形態にて述べたものと同様であるため、同じ参照番号を付し、詳細な説明は省略する。 The USB connection control process in the fourth embodiment will be described with reference to FIG. In FIG. 9, the process of S901-S904 corresponds as a different point from the control process (FIG. 3) demonstrated in 1st embodiment. Since other processes are the same as those described in the first embodiment, the same reference numerals are given and detailed descriptions thereof are omitted.
起動モードがユーザーモードであった場合(S302にてYES)、S901にて、CPU202は、現在のプリンタ200の位置情報を取得する。ここでの位置情報は、緯度・経度などの情報である。例えば、プリンタ200がGPS(Global Positioning System)機能を搭載している場合、GPSから位置情報を取得することが可能である。なお、位置情報の取得手段は、GPSに限らない。また、プリンタ200は、位置情報の取得手段を搭載していない場合でも、位置情報の取得手段が搭載された通信端末100があれば、通信端末100からネットワーク経由で位置情報を取得することも可能である。
If the activation mode is the user mode (YES in S302),
S902にて、CPU202は、S901で取得した現在の位置情報とUSB接続の有効範囲情報と比較し、プリンタ200が特定の位置にいるか否かを判定する。この有効範囲情報は、予め不揮発性メモリ205に記録していてもよいし、専用ツールなどからユーザーにより設定変更させてもよい。有効範囲内にいると判定された場合(S902にてYES)S903へ進み、有効範囲内にいない(すなわち、範囲外にある)と判定された場合(S902にてNO)S904へ進む。
In step S902, the
S903にて、CPU202は、USB接続設定を有効に設定する。その後、S303の処理へ進む。
In S903, the
S904にて、CPU202は、USB接続設定を無効に設定する。その後、S303の処理へ進む。
In S904, the
以上、本実施形態により、特定のエリア内でのみUSB接続を有効にし、特定のエリア外ではUSB接続を無効にすることで、特定のエリア外でのセキュリティを向上できると共に、利便性を優先したいエリア(特定のエリア)では、USB通信が可能となる。また、専用ツールなどでユーザーが設定を切り替えるのではなく、自動で設定を切り替えることが可能になり、ユーザーの手間がかからなくなるため、ユーザーの利便性も向上する。 As described above, according to the present embodiment, by enabling USB connection only within a specific area and disabling USB connection outside the specific area, it is possible to improve security outside the specific area and prioritize convenience. USB communication is possible in the area (specific area). In addition, the user can switch the setting automatically instead of using a dedicated tool or the like, and the user's trouble is eliminated, so the convenience of the user is improved.
<第五の実施形態>
本発明の第五の実施形態について説明する。第一の実施形態では、外部装置からネットワーク経由でUSB接続設定を無効から有効に切り替えた後にUSB接続設定を有効から無効に戻したい場合、再度、外部装置から設定を変更する必要がある。これに対し、本実施形態では、USBケーブル101が抜かれた場合に、USB接続が不要と判定し、Vbusオフ処理の後、USB接続設定を無効設定に切り替える。
<Fifth embodiment>
A fifth embodiment of the present invention will be described. In the first embodiment, when it is desired to return the USB connection setting from valid to invalid after switching the USB connection setting from invalid to valid via the network from the external device, it is necessary to change the setting from the external device again. On the other hand, in this embodiment, when the
第五の実施形態におけるUSB接続の制御処理を、図10を用いて説明する。図10において、第一の実施形態にて説明した制御処理(図3)と異なる点として、S1001の処理が該当する。その他の処理については、第一の実施形態に述べたものと同様であるため、同じ参照番号を付し、詳細な説明は省略する。 The USB connection control process in the fifth embodiment will be described with reference to FIG. In FIG. 10, the process of S1001 corresponds to a difference from the control process (FIG. 3) described in the first embodiment. Since other processes are the same as those described in the first embodiment, the same reference numerals are assigned and detailed descriptions thereof are omitted.
S310のVbusオフ処理の後、S1001にて、CPU202は、USB接続設定を無効に設定する。その後、本処理フローを終了する。
After the Vbus off process in S310, in S1001, the
本実施形態により、外部装置によるUSB接続設定の手間を省くことが可能となる。なお、本実施形態は、第一の実施形態の構成のみならず、第二〜第四の実施形態の構成と組み合わせるようにしてもよい。 According to the present embodiment, it is possible to save the trouble of setting the USB connection by the external device. Note that this embodiment may be combined with the configurations of the second to fourth embodiments as well as the configuration of the first embodiment.
<第六の実施形態>
本発明の第六の実施形態について説明する。第一の実施形態では、コマンド情報を知っていれば、どの外部装置からでも、あるいはどのユーザーによってでもプリンタ200のUSB接続設定を変更することができてしまう。これに対し、本実施形態では、コマンド内に特定の認証情報(パスワード、アプリケーション情報、端末情報等)を含ませる。そして、その特定の認証情報を用いて認証が成功した場合のみ、USB接続設定の切り替えを可能にすることで、USB接続設定の切り替えに関するセキュリティを向上させる。
<Sixth embodiment>
A sixth embodiment of the present invention will be described. In the first embodiment, if the command information is known, the USB connection setting of the
第六の実施形態におけるUSB接続の設定情報を切り替える処理を、図11を用いて説明する。図11において、第一の実施形態にて説明した切り替え処理(図4)と異なる点として、S1101の処理が該当する。その他の処理については、第一の実施形態にて述べたものと同様であるため、同じ参照番号を付し、詳細な説明は省略する。 Processing for switching USB connection setting information in the sixth embodiment will be described with reference to FIG. In FIG. 11, the processing of S1101 corresponds to a difference from the switching processing (FIG. 4) described in the first embodiment. Since other processes are the same as those described in the first embodiment, the same reference numerals are given and detailed descriptions thereof are omitted.
S402のコマンド解析の後、S1101にて、CPU202は、解析したコマンドに特定の認証情報が含まれているか否かを判定する。このとき、具体的には、CPU202は、不揮発性メモリ205等に格納されている、特定の認証情報に対応する判定情報を参照し、判定情報と特定の認証情報を比較することで判定を行う。なお、判定情報は、予めプリンタ200に設定されていても良いし、USB接続設定を切り替える権限を有するユーザーが任意に設定しても良い。特定の認証情報が含まれていると判定された場合には(S1101にてYES)S403へ進み、特定の認証情報が含まれていないと判定された場合には(S1101にてNO)本処理フローを終了する。
After command analysis in S402, in S1101, the
本実施形態では、USB接続設定の切り替えを、USB接続設定を切り替える権限を有する外部装置からネットワーク経由でコマンドを受信することにより行う。これにより、不特定の外部装置からUSB接続設定の切り替えを受け付けることを抑制でき、通信装置の管理者等の、USB接続設定を切り替える権限を有するユーザーの意向に沿って、USB通信を実行することができる。なお、本実施形態は、第一の実施形態の構成のみならず、第二〜第五の実施形態の構成と組み合わせるようにしてもよい。 In this embodiment, the USB connection setting is switched by receiving a command from the external device having the authority to switch the USB connection setting via the network. Thereby, it is possible to suppress the switching of the USB connection setting from an unspecified external device, and the USB communication is executed in accordance with the intention of the user having the authority to switch the USB connection setting, such as the administrator of the communication device. Can do. The present embodiment may be combined with the configurations of the second to fifth embodiments as well as the configuration of the first embodiment.
<第七の実施形態>
本発明の第七の実施形態について説明する。本実施形態では、通信装置のUSB接続の状態をユーザーに明確に通知するものである。
<Seventh embodiment>
A seventh embodiment of the present invention will be described. In this embodiment, the user is clearly notified of the USB connection status of the communication device.
第七の実施形態におけるUSB接続の制御処理を、図12〜図15を用いて説明する。図12において、第一の実施形態にて説明した制御処理(図3)と異なる点として、S1201、S1202の処理が該当する。その他の処理については、第一の実施形態にて述べたものと同様であるため、同じ参照番号を付し、詳細な説明は省略する。 A USB connection control process according to the seventh embodiment will be described with reference to FIGS. In FIG. 12, the processing of S1201 and S1202 corresponds to a difference from the control processing (FIG. 3) described in the first embodiment. Since other processes are the same as those described in the first embodiment, the same reference numerals are given and detailed descriptions thereof are omitted.
S309のVbusオン処理後、S1201にて、CPU202は、USB接続状態を通知する。その後、本処理フローを終了する。
After the Vbus on process in S309, the
S310のVbusオフ処理後、S1202にて、CPU202は、USB非接続状態を通知する。その後、本処理フローを終了する。
After the Vbus off process in S310, the
なお、操作部209がタッチパネル式のUI(User Interface)であれば、S1201では、CPU202は、図13(A)、もしくは図13(B)のような画面によってUSB接続状態の情報を表示する。また、S1202では、CPU202は、図14(A)、もしくは図14(B)のような画面によってUSB非接続状態の情報を表示する。なお、通知の際に表示される画面は、上述の画面に限定されず、USB接続状態であることと、USB非接続状態であることをユーザーに通知可能な表示であれば構わない。
If the
操作部209にタッチパネル式のUIなどが搭載されておらず、表示手段がLED214しかない構成であれば、USB接続状態は図15(A)のようにLED214を点灯させることでユーザーに対して接続状態を通知するようにしてもよい。同様に、USB非接続状態は、図15(B)のようにLED214を消灯させることで、ユーザーに対して接続状態を通知するようにしてもよい。
If the
以上、本実施形態により、ユーザーにUSB接続状態を通知することができ、ユーザーの利便性を向上することができる。なお、本実施形態は、第一の実施形態の構成のみならず、第二〜第六の実施形態の構成と組み合わせるようにしてもよい。 As described above, according to the present embodiment, the user can be notified of the USB connection state, and the convenience of the user can be improved. Note that this embodiment may be combined not only with the configuration of the first embodiment but also with the configurations of the second to sixth embodiments.
<その他の実施形態>
上述の実施形態においては、USBによる接続の有効/無効を設定し、設定に応じてUSBによる通信が可能な状態と不可能な状態とを切り替える構成を説明した。しかし、接続方式はUSBに限定されず、IEEE1394等、Plug and Playに対応した有線接続方式であれば良い。その場合、上述の実施形態では、それらの接続方式における接続の有効/無効を設定し、設定に応じてそれらの接続方式による通信が可能な状態と不可能な状態とを切り替える。
<Other embodiments>
In the above-described embodiment, the configuration in which the validity / invalidity of the USB connection is set and the state in which the USB communication is possible and the state in which the USB communication is possible is switched according to the setting has been described. However, the connection method is not limited to USB, and may be any wired connection method compatible with Plug and Play, such as IEEE1394. In that case, in the above-described embodiment, the validity / invalidity of the connection in these connection methods is set, and the state in which communication by these connection methods is possible and the state in which communication is not possible are switched according to the setting.
上述の実施形態においては、CPU202は、USB接続設定が「有効」である場合や、起動モードがユーザーモードでない場合に、S308における判定結果に応じて、Vbusの状態を切り替えている。しかし、この形態に限定されず、CPU202は、USB接続設定が「有効」である場合や、起動モードがユーザーモードでない場合に、必ずVbusオン状態とするよう制御しても良い。
In the above-described embodiment, the
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピューターにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。 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.
100…通信端末、200…モバイルプリンタ、202…CPU、215…WLANユニット、223…USBコネクタ
DESCRIPTION OF
Claims (24)
前記通信装置が所定の有線接続方式によって前記外部装置と接続した場合、ユーザーによる通信設定操作なしに、前記外部装置との前記所定の有線接続方式を介した通信が可能な状態となる通信手段と、
前記所定の有線接続方式を介した通信を有効にするか無効にするかの設定を、ユーザーから受け付ける受け付け手段と、
を有し、
前記通信手段は、前記受け付け手段が、前記所定の有線接続方式による接続を有効にする設定を受け付けた場合、前記所定の有線接続方式を介した通信が可能な状態になり、前記受け付け手段が、前記所定の有線接続方式による接続を無効にする設定を受け付けた場合、前記所定の有線接続方式を介した通信が不可能な状態になることを特徴とする通信装置。 A communication device that can be connected to an external device,
A communication unit configured to enable communication with the external device via the predetermined wired connection method without a communication setting operation by a user when the communication device is connected to the external device by a predetermined wired connection method; ,
Accepting means for accepting a setting from a user for enabling or disabling communication via the predetermined wired connection method;
Have
When the accepting unit accepts a setting for enabling the connection by the predetermined wired connection method, the communication unit is in a state in which communication via the predetermined wired connection method is possible, and the accepting unit The communication apparatus, wherein when a setting for invalidating a connection using the predetermined wired connection method is received, communication via the predetermined wired connection method is disabled.
前記モード判定手段により、前記通信装置の起動モードが、前記所定のモードでない場合、前記受け付け手段が受け付けた設定にかかわらず、前記所定の有線接続方式を介した通信が不可能な状態になることを特徴とする請求項1に記載の通信装置。 When the communication device is in a predetermined mode in which the user can arbitrarily execute the function of the communication device, the predetermined wired connection method is set according to the setting received by the reception unit. In a state where communication via the network is possible or communication via the predetermined wired connection method is impossible,
If the activation mode of the communication device is not the predetermined mode, the mode determination unit may not be able to communicate via the predetermined wired connection method regardless of the setting received by the reception unit. The communication apparatus according to claim 1.
前記通信手段は、前記受け付け手段が受け付けた設定及び前記検知手段による検知結果に応じて、前記所定の有線接続方式を介した通信が可能な状態もしくは前記所定の有線接続方式を介した通信が不可能な状態になることを特徴とする請求項1乃至3のいずれか1項に記載の通信装置。 A detecting means for detecting whether or not physical connection with the predetermined wired connection method with the external device is performed;
The communication unit is in a state where communication via the predetermined wired connection method is possible or communication via the predetermined wired connection method is not possible, depending on the setting received by the receiving unit and the detection result by the detection unit. The communication apparatus according to any one of claims 1 to 3, wherein the communication apparatus is in a possible state.
前記受け付け手段が、前記所定の有線接続方式による接続を有効にする設定を受け付け、且つ前記検知手段にて前記所定の有線接続方式による物理的な接続が行われていないと検知された場合、前記所定の有線接続方式を介した通信が不可能な状態になることを特徴とする請求項4に記載の通信装置。 The communication means detects that the accepting means accepts a setting for enabling the connection according to the predetermined wired connection method, and the detection means detects that a physical connection according to the predetermined wired connection method is being performed. The communication via the predetermined wired connection method is enabled,
When the accepting unit accepts a setting for enabling connection by the predetermined wired connection method, and the detection unit detects that a physical connection by the predetermined wired connection method is not performed, The communication apparatus according to claim 4, wherein communication via a predetermined wired connection method is impossible.
前記状態判定手段により前記通信装置が所定の状態であると判定された場合、前記通信手段は、前記所定の有線接続方式を介した通信が可能な状態になることを特徴とする請求項1乃至8のいずれか一項に記載の通信装置。 It further has a state determination means for determining the state of the communication device,
2. The device according to claim 1, wherein when the communication device is determined to be in a predetermined state by the state determination unit, the communication unit is in a state in which communication via the predetermined wired connection method is possible. The communication device according to any one of claims 8 to 9.
前記受け付け手段による受け付けに応じて、前記所定の有線接続方式を介した通信を有効にするか無効にするかを示す設定情報を記憶部に保存する保存手段と、
を更に有し、
前記保存手段は、前記電源検知手段により前記電源のオフの指示を受け付けたことが検知され、且つ前記記憶部に保存されている前記設定情報が、前記所定の有線接続方式による接続を有効にすることを示している場合、前記所定の有線接続方式による接続を無効にすることを示している設定情報を前記記憶部に保存することを特徴とする請求項1乃至10のいずれか一項に記載の通信装置。 Power detection means for detecting reception of an instruction to turn on or off the power of the communication device;
A storage unit that stores, in a storage unit, setting information indicating whether to enable or disable communication via the predetermined wired connection method in response to reception by the reception unit;
Further comprising
The storage unit detects that the power supply detection unit has received an instruction to turn off the power, and the setting information stored in the storage unit enables the connection using the predetermined wired connection method. The storage unit stores setting information indicating that the connection by the predetermined wired connection method is invalidated in the storage unit. Communication equipment.
前記受け付け手段による受け付けに応じて、前記所定の有線接続方式を介した通信を有効にするか無効にするかを示す設定情報を記憶部に保存する保存手段と、
を更に有し、
前記保存手段は、前記電源判定手段により前記通信装置の前回の電源のオフが正常に行われていないと判定された場合、前記所定の有線接続方式による接続を無効にすることを示している設定情報を前記記憶部に保存することを特徴とする請求項1乃至11のいずれか一項に記載の通信装置。 A power determination unit that determines whether or not the previous power-off of the communication device has been normally performed when it is detected by the power detection unit that the power-on instruction is received;
A storage unit that stores, in a storage unit, setting information indicating whether to enable or disable communication via the predetermined wired connection method in response to reception by the reception unit;
Further comprising
The setting indicating that the storage unit invalidates the connection by the predetermined wired connection method when the power source determination unit determines that the previous power-off of the communication device has not been normally performed. Information is preserve | saved at the said memory | storage part, The communication apparatus as described in any one of Claim 1 thru | or 11 characterized by the above-mentioned.
前記通信手段は、前記接続判定手段により前記通信装置が外部ネットワークと前記所定の有線接続方式と異なる接続方式にて接続を行っていると判定された場合、前記所定の有線接続方式を介した通信が不可能な状態になることを特徴とする請求項1乃至12のいずれか一項に記載の通信装置。 Connection determining means for determining whether or not the communication device is connected to an external network by a connection method different from the predetermined wired connection method;
The communication means communicates via the predetermined wired connection method when the connection determining means determines that the communication device is connected to an external network by a connection method different from the predetermined wired connection method. The communication device according to any one of claims 1 to 12, wherein the communication device is in an impossible state.
前記通信手段は、
前記取得手段にて取得された位置情報が予め設定された範囲内の位置を示す場合、前記所定の有線接続方式を介した通信が可能な状態になり、
前記取得手段にて取得された位置情報が予め設定された範囲外の位置を示す場合、前記所定の有線接続方式を介した通信が可能な状態になることを特徴とする請求項1乃至14のいずれか一項に記載の通信装置。 It further has an acquisition means for acquiring position information of the communication device,
The communication means includes
When the position information acquired by the acquisition means indicates a position within a preset range, communication via the predetermined wired connection method is possible,
15. When the position information acquired by the acquisition means indicates a position outside a preset range, communication via the predetermined wired connection method is possible. The communication apparatus as described in any one.
前記通信手段は、前記記憶部に保存されている設定情報に応じて、前記所定の有線接続方式を介した通信が可能な状態もしくは前記所定の有線接続方式を介した通信が不可能な状態になることを特徴とする請求項1乃至15のいずれか一項に記載の通信装置。 In response to acceptance by the accepting means, further comprising a storage means for storing setting information indicating whether to enable or disable communication via the predetermined wired connection method in a storage unit,
According to the setting information stored in the storage unit, the communication unit is in a state where communication via the predetermined wired connection method is possible or a state where communication via the predetermined wired connection method is impossible The communication device according to any one of claims 1 to 15, wherein
前記コマンドに特定の認証情報が含まれていない場合には、前記所定の有線接続方式を介した通信を有効にするか無効にするかの設定を受け付けないことを特徴とする請求項18に記載の通信装置。 The accepting means accepts a setting for enabling or disabling communication via the predetermined wired connection method when specific authentication information is included in the command;
19. The configuration according to claim 18, wherein if the command does not include specific authentication information, a setting for enabling or disabling communication via the predetermined wired connection method is not accepted. Communication equipment.
前記所定の有線接続方式を介した通信を有効にするか無効にするかの設定を、ユーザーから受け付ける受け付け工程と、
前記外部装置と前記所定の有線接続方式を介して通信する通信工程と、
を有し、
前記通信工程において、前記所定の有線接続方式による接続を有効にする設定が受け付けられた場合、前記所定の有線接続方式を介した通信が可能な状態になり、前記受け付け工程にて、前記所定の有線接続方式による接続を無効にする設定が受け付けられた場合、前記所定の有線接続方式を介した通信が不可能な状態になることを特徴とする制御方法。 A method for controlling a communication device that enables communication with the external device via the predetermined wired connection method without a communication setting operation by a user when connected to the external device by a predetermined wired connection method. ,
An accepting step of accepting a setting of whether to enable or disable communication via the predetermined wired connection method;
A communication step of communicating with the external device via the predetermined wired connection method;
Have
In the communication step, when the setting for enabling the connection by the predetermined wired connection method is accepted, the communication through the predetermined wired connection method is enabled, and the predetermined step A control method, wherein when a setting for invalidating a connection by a wired connection method is accepted, communication via the predetermined wired connection method becomes impossible.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015234001A JP2017102609A (en) | 2015-11-30 | 2015-11-30 | Communication equipment and control method thereof and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015234001A JP2017102609A (en) | 2015-11-30 | 2015-11-30 | Communication equipment and control method thereof and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2017102609A true JP2017102609A (en) | 2017-06-08 |
Family
ID=59017465
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015234001A Pending JP2017102609A (en) | 2015-11-30 | 2015-11-30 | Communication equipment and control method thereof and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2017102609A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102018003970A1 (en) | 2017-05-24 | 2018-11-29 | Mitutoyo Corporation | Surface texture measuring apparatus |
-
2015
- 2015-11-30 JP JP2015234001A patent/JP2017102609A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102018003970A1 (en) | 2017-05-24 | 2018-11-29 | Mitutoyo Corporation | Surface texture measuring apparatus |
DE102018003970B4 (en) | 2017-05-24 | 2023-01-26 | Mitutoyo Corporation | surface texture measuring apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6476616B2 (en) | Communication device, terminal device, and image processing system | |
US20170038923A1 (en) | Information processing apparatus, display control method, and program | |
US20150062643A1 (en) | Wireless communication apparatus, wireless communication method, and storage medium | |
US9497336B2 (en) | Display program and display apparatus | |
US20160344886A1 (en) | Image forming apparatus that performs user authentication by wireless communication, method of controlling the same, and storage medium | |
US20140304805A1 (en) | Information processing apparatus and image forming apparatus | |
US10637944B2 (en) | Information-processing terminal notifying user about status of image-processing device | |
US20150293735A1 (en) | Communication method, communication terminal, and storage medium | |
JP2011173323A (en) | Image forming apparatus, image forming system, and image forming method | |
JP2013126717A (en) | Image forming apparatus and image forming method | |
US9917964B2 (en) | Information processing apparatus, information system, information processing method, and storage medium | |
JP2016150505A (en) | Image processing device and control method thereof, and program | |
JP2017102609A (en) | Communication equipment and control method thereof and program | |
JP2017188044A (en) | Information processing apparatus and control method thereof, and program | |
JP6680186B2 (en) | Electronic equipment and power control program | |
JP2016148911A (en) | Printer, printing management device, printing system and program | |
JP6849883B2 (en) | Image forming apparatus and its control method and program | |
JP6222488B2 (en) | Job processing device and its program. | |
JP2007214700A (en) | Image forming apparatus, image processing program and storage medium for storing image processing program | |
JP6098492B2 (en) | Function execution device and function execution program | |
JP2022085781A (en) | Information processing device, control method, and program | |
JP6895045B2 (en) | program | |
JP2009070106A (en) | Image forming apparatus, data processing method and data processing program | |
JP6344913B2 (en) | Printing apparatus, image reading apparatus, and control method thereof | |
JP2005313652A (en) | Printing device |