JP4702944B2 - COMMUNICATION DEVICE, ITS CONTROL METHOD, AND COMMUNICATION SYSTEM - Google Patents

COMMUNICATION DEVICE, ITS CONTROL METHOD, AND COMMUNICATION SYSTEM Download PDF

Info

Publication number
JP4702944B2
JP4702944B2 JP2005363860A JP2005363860A JP4702944B2 JP 4702944 B2 JP4702944 B2 JP 4702944B2 JP 2005363860 A JP2005363860 A JP 2005363860A JP 2005363860 A JP2005363860 A JP 2005363860A JP 4702944 B2 JP4702944 B2 JP 4702944B2
Authority
JP
Japan
Prior art keywords
communication
communication device
encryption
encryption method
information
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.)
Active
Application number
JP2005363860A
Other languages
Japanese (ja)
Other versions
JP2007166538A5 (en
JP2007166538A (en
Inventor
充 大塚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2005363860A priority Critical patent/JP4702944B2/en
Publication of JP2007166538A publication Critical patent/JP2007166538A/en
Publication of JP2007166538A5 publication Critical patent/JP2007166538A5/ja
Application granted granted Critical
Publication of JP4702944B2 publication Critical patent/JP4702944B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Small-Scale Networks (AREA)

Description

本発明は、たとえば近距離無線通信方式を含む複数の通信方式を持つ通信装置に関する。   The present invention relates to a communication apparatus having a plurality of communication systems including, for example, a short-range wireless communication system.

従来、複数の通信方式を切り替えて通信を行う通信装置があった。この種の通信装置において、複数の通信方式のそれぞれに通信可能かを確認してから通信方式を選択するものがある(例えば、特許文献1等参照)。また、非接触ICインターフェースのような近距離無線通信方式を使用して通信先の端末が対応するプロトコル一覧を取得する通信装置がある。この通信装置は、そのプロトコルに自端末が対応しているときに試し通信を行い、成功した場合にそのプロトコルで通信を行う(例えば、特許文献2等参照)。また、非接触ICインターフェースのような近距離無線通信方式を使用して、Bluetooth(登録商標)通信で同期を確立する端末の情報を交換するものがある(例えば、特許文献3または特許文献4または特許文献5等参照)。また、情報通信網の通信セキュリティにおいて、通信の対象となる情報にセキュリティレベルを設定し、通信相手のセキュリティレベルが通信の対象となる情報のセキュリティレベル以上の場合に限って通信を行う通信装置がある(例えば、特許文献6等参照)。
特開2003−8681号公報 特開2003−198568号公報 特開2003−32175号公報 特開2003−32176号公報 特開2003−32261号公報 特開平06−244833号公報
Conventionally, there has been a communication apparatus that performs communication by switching a plurality of communication methods. Some communication apparatuses of this type select a communication method after confirming whether communication is possible with each of a plurality of communication methods (see, for example, Patent Document 1). There is also a communication device that acquires a list of protocols supported by a communication destination terminal using a short-range wireless communication method such as a non-contact IC interface. This communication device performs trial communication when the terminal supports the protocol, and performs communication using the protocol when successful (see, for example, Patent Document 2). In addition, there is one that exchanges information of a terminal that establishes synchronization by Bluetooth (registered trademark) communication using a short-range wireless communication method such as a non-contact IC interface (for example, Patent Document 3 or Patent Document 4 or (See Patent Document 5, etc.). Also, in communication security of information communication networks, a communication device that sets a security level for information to be communicated and performs communication only when the security level of the communication partner is equal to or higher than the security level of the information to be communicated. Yes (see, for example, Patent Document 6).
JP 2003-8861 A JP 2003-198568 A JP 2003-32175 A JP 2003-32176 A JP 2003-32261 A Japanese Patent Laid-Open No. 06-244833

上述した従来の技術では以下のような問題があった。すなわち、複数の通信方式を切り替える場合に、それぞれの通信方式が通信可能かを確認したり、試し通信を行ったりすることによって通信方式を決定するのでは、通信のセキュリティが確保されていることを確認することができない。複数の無線通信方式を備え、第一の無線通信方式の情報を第二の無線通信方式によって取得するのでは、第二の無線通信方式による通信が行えない場合に代替となる通信手段がない。通信の対象となる情報にセキュリティレベルを設定して通信相手のセキュリティレベルが通信の対象となる情報のセキュリティレベル以上の場合に限って通信を行うのでは、セキュリティが確保されない場合に代替となる通信手段がない。   The conventional technology described above has the following problems. In other words, when switching between multiple communication methods, confirming whether each communication method is communicable, or determining the communication method by performing trial communication, ensures that communication security is ensured. I can't confirm. By providing a plurality of wireless communication methods and acquiring information of the first wireless communication method by the second wireless communication method, there is no alternative communication means when communication by the second wireless communication method cannot be performed. If the security level is set for the information to be communicated and communication is performed only when the security level of the communication partner is equal to or higher than the security level of the information to be communicated, communication is an alternative when security is not ensured. There is no means.

本発明は、通信できる確実性を向上でき、さらに、機密性の高い通信を実現することを目的とする。It is an object of the present invention to improve the certainty of communication and to realize highly confidential communication.

上記課題を解決するため、本出願に係る発明は以下の構成を備える。すなわち、複数の 通信方式を持つ他の通信装置と通信可能な通信装置であって、
第1の通信方式に従って無線通信する第1の通信手段と、
第2の通信方式および暗号化方式に従って無線通信する第2の通信手段と、
前記第1の通信手段を用いた通信により、前記他の通信装置の通信方式および暗号化方式を取得する得手段と、
前記得手段により取得された前記他の通信装置の通信方式および暗号化方式が、前記第2の通信手段の通信方式および暗号化方式に合致するか否かを判定する判定手段と、
前記判定手段により合致すると判定された場合は、前記第2の通信手段により前記第2の通信方式及び前記暗号化方式に従って前記他の通信装置と通信を行い、合致しないと判定された場合には、前記第1の通信手段により前記第1の通信方式に従って前記他の通信装置と通信を行う通信制御手段とを備えることを特徴とする。
In order to solve the above problems, an invention according to the present application has the following configuration. That is, a communication device capable of communicating with other communication devices having a plurality of communication methods,
First communication means for wireless communication according to a first communication method;
A second communication means for performing wireless communication according to the second communication method and the encryption method;
The communication using the first communication means, and obtain means preparative for acquiring communication and encryption schemes of the other communication apparatus,
Communication and encryption schemes of the said other communication device obtained by resulting unit preparative is, determining means for determining whether or not matching the communication and encryption schemes of the second communication means,
If it is determined by the determination means that the data matches, the second communication means communicates with the other communication device according to the second communication method and the encryption method, and if it is determined that they do not match And a communication control means for communicating with the other communication device in accordance with the first communication method by the first communication means.

あるいは、通信装置であって、
第1の通信方式に従って無線通信する第1の通信手段と、
第2の通信方式および暗号化方式に従って無線通信する第2の通信手段と、
前記第1の通信手段を用いた他の通信装置との通信により、前記第2の通信手段の通信方式及び暗号方式により前記通信装置と通信できる情報を前記他の通信装置が有していることを判別する判別手段と、
前記判別手段により、前記他の通信装置が前記情報を有していると判別された場合、前記第2の通信手段により前記第2の通信方式及び前記暗号化方式に従って前記他の通信装置と通信を行い、前記他の通信装置が前記情報を有していると判別されない場合、前記第1の通信手段により前記第1の通信方式に従って前記他の通信装置と通信を行う通信制御手段と
を備えることを特徴とする。
Or a communication device,
First communication means for wireless communication according to a first communication method;
A second communication means for performing wireless communication according to the second communication method and the encryption method;
The other communication device has information capable of communicating with the communication device by the communication method and the encryption method of the second communication device through communication with the other communication device using the first communication device. Discriminating means for discriminating;
When the determining means determines that the other communication device has the information, the second communication means communicates with the other communication device according to the second communication method and the encryption method. Communication control means for performing communication with the other communication apparatus according to the first communication method by the first communication means when it is not determined that the other communication apparatus has the information. />.

本発明によれば、通信できる確実性を向上でき、さらに、機密性の高い通信を実現することができる。 According to the present invention, it is possible to improve the certainty of communication, and it is possible to realize highly confidential communication.

[第1の実施形態]
<通信システムの構成>
図1は、本発明の第1の実施形態に係る通信装置の構成を示す図である。通信システム全体は通信装置1及び通信装置2により構成されている。通信装置1は通信手段としてNFCインターフェースおよびIEEE802.11bインターフェースを持つ。通信装置2は、通信手段としてNFCインターフェース、およびIEEE802.11aインターフェースおよびIEEE802.11bインターフェースを持つ。詳しくは以下の通りである。
[First Embodiment]
<Configuration of communication system>
FIG. 1 is a diagram showing a configuration of a communication apparatus according to the first embodiment of the present invention. The entire communication system includes a communication device 1 and a communication device 2. The communication device 1 has an NFC interface and an IEEE802.11b interface as communication means. The communication device 2 has an NFC interface, an IEEE802.11a interface, and an IEEE802.11b interface as communication means. Details are as follows.

通信装置1において、CPU101は装置全体の動作を制御する。ROM102にはCPU101により実行される制御プログラム等が格納されている。また、ROM102には、図5等で説明する通信情報テーブル501が格納されている。通信情報テーブルには、当該装置がサポートする通信方式及び暗号化方式を表すパラメータが格納されている。RAM103には制御データが格納される。NFCインターフェース104は、近距離でのみ通信可能な電磁界を発生させることにより通信を行う。IEEE802.11bインターフェース105は、無線LAN(ローカルエリアネットワーク)規格の一つである。これら構成要素は、バス106で接続されている。NFCインターフェースの代表的なものには、特許文献2、特許文献3、特許文献4、特許文献5で使用されているような非接触ICカードとリーダライタの組み合わせによって構成される非接触ICインターフェースがある。なおNFCインターフェースは、ISO/IEC IS 18092という国際規格である。   In the communication device 1, the CPU 101 controls the operation of the entire device. The ROM 102 stores a control program executed by the CPU 101 and the like. The ROM 102 stores a communication information table 501 described with reference to FIG. The communication information table stores parameters indicating the communication method and encryption method supported by the device. The RAM 103 stores control data. The NFC interface 104 performs communication by generating an electromagnetic field that can be communicated only at a short distance. The IEEE 802.11b interface 105 is one of wireless LAN (local area network) standards. These components are connected by a bus 106. A typical NFC interface is a non-contact IC interface configured by a combination of a non-contact IC card and a reader / writer as used in Patent Document 2, Patent Document 3, Patent Document 4, and Patent Document 5. is there. The NFC interface is an international standard called ISO / IEC IS 18092.

通信装置2において、CPU107は装置全体の動作を制御する。ROM108にはCPU107により実行される制御プログラム等が格納されている。また、ROM108には、図5等で説明する通信情報テーブル501及び502が格納されている。RAM109には制御データが格納される。NFCインターフェース110は、近距離でのみ通信可能な電磁界を発生させることにより通信を行う。IEEE802.11aインターフェース111は、無線LAN(ローカルエリアネットワーク)規格の一つである。IEEE802.11bインターフェース112は、無線LAN(ローカルエリアネットワーク)規格の一つである。これら構成要素は、バス113で接続されている。   In the communication device 2, the CPU 107 controls the operation of the entire device. The ROM 108 stores a control program executed by the CPU 107 and the like. The ROM 108 stores communication information tables 501 and 502 described with reference to FIG. The RAM 109 stores control data. The NFC interface 110 performs communication by generating an electromagnetic field that can be communicated only at a short distance. The IEEE 802.11a interface 111 is one of wireless LAN (local area network) standards. The IEEE 802.11b interface 112 is one of wireless LAN (local area network) standards. These components are connected by a bus 113.

無線LAN規格のIEEE802.11a、IEEE802.11bは、通信を暗号化することにより通信のセキュリティを確保することが可能な通信方式である。通信装置1のNFCインターフェース104と通信装置2のNFCインターフェース110を使用して、通信装置1は通信装置2に実装されている通信インターフェースの通信方式および暗号化方式を取得する。   The wireless LAN standards IEEE802.11a and IEEE802.11b are communication systems capable of ensuring communication security by encrypting communication. Using the NFC interface 104 of the communication device 1 and the NFC interface 110 of the communication device 2, the communication device 1 acquires the communication method and the encryption method of the communication interface implemented in the communication device 2.

<通信手順>
図2および図3は、通信装置1が通信装置2に実装されている通信インターフェースの通信方式および暗号化方式を取得してデータ通信を行う際の動作シーケンスである。図2は、通信方式および暗号化方式取得の結果IEEE802.11bで通信を行う際の手順を示す。図3は、通信方式および暗号化方式取得の結果NFCで通信を行う際の手順を示す。
<Communication procedure>
FIGS. 2 and 3 are operation sequences when the communication device 1 acquires the communication method and encryption method of the communication interface implemented in the communication device 2 and performs data communication. FIG. 2 shows a procedure for performing communication with IEEE802.11b as a result of obtaining the communication method and the encryption method. FIG. 3 shows a procedure for performing communication by NFC as a result of obtaining the communication method and the encryption method.

図2において、通信装置1を通信装置2へ近づけることによりNFCインターフェース104と110との間で通信が開始される(ステップS200)。通信方式および暗号化方式を要求するメッセージが通信装置1から通信装置2へ送信される(ステップS201)。その応答として、通信装置2に実装されている通信インターフェースの通信方式および暗号化方式が通信装置2から通信装置1へ送信される(ステップS202)。通信方式および暗号化方式のデータ例は図4、図5、図6を使用して後述する。   In FIG. 2, communication is started between the NFC interfaces 104 and 110 by bringing the communication device 1 closer to the communication device 2 (step S200). A message requesting the communication method and the encryption method is transmitted from the communication device 1 to the communication device 2 (step S201). As a response, the communication method and the encryption method of the communication interface implemented in the communication device 2 are transmitted from the communication device 2 to the communication device 1 (step S202). Data examples of the communication method and the encryption method will be described later with reference to FIGS. 4, 5, and 6.

通信装置2に実装されている通信インターフェースの通信方式および暗号化方式を取得した通信装置1は、通信方式および暗号化方式が、通信装置1がサポートする通信方式及び暗号化方式に合致するか否かを判定する(ステップS203)。通信方式および暗号化方式が合致する場合は、図2に示すようにNFCインターフェース104と110を使用する通信を終了する(ステップS204)。そしてIEEE802.11bインターフェース105,112を使用して通信を開始し(ステップS205)、データ通信を行った後(ステップS206)、通信を終了する(ステップS207)。ステップS203までが通信方式及び暗号化方式を判定する方式判定フェーズであり、ステップS204移行が通信フェーズである。   The communication device 1 that has acquired the communication method and encryption method of the communication interface implemented in the communication device 2 determines whether the communication method and encryption method match the communication method and encryption method supported by the communication device 1. Is determined (step S203). When the communication method and the encryption method match, communication using the NFC interfaces 104 and 110 is terminated as shown in FIG. 2 (step S204). Communication is started using the IEEE802.11b interfaces 105 and 112 (step S205), data communication is performed (step S206), and communication is terminated (step S207). Up to step S203 is the method determination phase for determining the communication method and the encryption method, and the transition to step S204 is the communication phase.

図3においては、ステップS200からS203までは当然ながら図2と共通している。ただし図3ではステップS203の判定で、取得した通信方式及び暗号化方式が、通信装置1のサポートする通信方式及び暗号化方式に合致しないと判定されている。そのため、NFCインターフェース104と110を使用する通信が継続され、NFCインターフェース104と110を使用してデータ通信が行われた後(ステップS301)、通信が終了される(ステップS302)。なおステップS203における判定は、通信方式及び暗号化方式のそれぞれについてなされる。すなわち通信方式と暗号化方式の両方が一致した場合にはじめて図2の手順となる。なお通信装置1、通信装置2の動作アルゴリズムについては、それぞれ図7、図8を参照して後述する。   In FIG. 3, steps S200 to S203 are of course common to FIG. However, in FIG. 3, it is determined in step S <b> 203 that the acquired communication method and encryption method do not match the communication method and encryption method supported by the communication device 1. Therefore, communication using the NFC interfaces 104 and 110 is continued, and after data communication is performed using the NFC interfaces 104 and 110 (step S301), the communication is terminated (step S302). Note that the determination in step S203 is made for each of the communication method and the encryption method. That is, the procedure shown in FIG. 2 is performed only when both the communication method and the encryption method match. The operation algorithms of the communication device 1 and the communication device 2 will be described later with reference to FIGS. 7 and 8, respectively.

<通信情報および通信情報テーブルの例>
図4に、通信方式および暗号化方式を示すデータ(通信情報という)401のデータ構造の一例を示す。この通信情報が、図2及び図3のステップS202で通信装置2から通信装置1に対して送信される。さて、通信情報においては、通信方式、通信パラメータ、通信パラメータ長が各1バイトのデータで表され、通信パラメータ長の長さ(たとえばバイト数)分の通信パラメータ値がそのあとに続く。加えて暗号化方式に関する情報として、暗号化方式、暗号鍵種別、暗号鍵長が各1バイトのデータで表され、暗号鍵長の長さ(たとえばバイト数)分の暗号鍵値がそのあとに続く。
<Example of communication information and communication information table>
FIG. 4 shows an example of the data structure of data (referred to as communication information) 401 indicating the communication method and the encryption method. This communication information is transmitted from the communication device 2 to the communication device 1 in step S202 of FIGS. In the communication information, a communication method, a communication parameter, and a communication parameter length are each represented by 1-byte data, and a communication parameter value corresponding to the length of the communication parameter length (for example, the number of bytes) follows. In addition, as encryption method information, the encryption method, encryption key type, and encryption key length are each represented by 1-byte data, and the encryption key value for the length of the encryption key length (for example, the number of bytes) Continue.

通信方式、通信パラメータ、暗号化方式、暗号鍵種別を識別するための値は、一例として図4の表402のように定義されている。表402によれば、通信方式フィールドに記述された値0x01はIEEE802.11aを、値0x02はIEEE802.11bを、その通信情報の送信元がサポートすることを示す。なお「0x」は16進数であることを意味する。また通信パラメータフィールドに記述された値0x09は、その通信パラメータがIEEE802.11規格におけるESSIDであることを示す。通信パラメータフィールドに記述された値が0x09であれば、それに続く通信パラメータ長および通信パラメータ値によりESSIDが示される。また、暗号化方式フィールドに記述された値0x11はWEP64ビットを、値0x12はWEP128ビットを、値0x13はWPAを、その通信情報の送信元がサポートすることを示す。暗号化鍵種別フィールドの値0x19は、そのフィールドに続く鍵情報がWEPキーであることを、値0x1aは、そのフィールドに続く鍵情報がPre−Sharedキーであることを示す。暗号化鍵種別フィールドに続けて、鍵長および鍵の値が示される。   Values for identifying the communication method, communication parameter, encryption method, and encryption key type are defined as shown in Table 402 of FIG. 4 as an example. According to Table 402, the value 0x01 described in the communication method field indicates that IEEE802.11a is supported, and the value 0x02 indicates that the transmission source of the communication information supports IEEE802.11b. “0x” means a hexadecimal number. A value 0x09 described in the communication parameter field indicates that the communication parameter is an ESSID in the IEEE 802.11 standard. If the value described in the communication parameter field is 0x09, the ESSID is indicated by the subsequent communication parameter length and communication parameter value. Also, the value 0x11 described in the encryption method field indicates WEP 64 bits, the value 0x12 indicates WEP 128 bits, the value 0x13 indicates that the transmission source of the communication information supports. The value 0x19 of the encryption key type field indicates that the key information following the field is a WEP key, and the value 0x1a indicates that the key information following the field is a Pre-Shared key. Following the encryption key type field, a key length and a key value are indicated.

図5に、通信装置2から通信装置1へ送信される通信方式および暗号化方式のデータすなわち通信情報の一例を示す。なお、通信装置2のROM108に保存された通信情報テーブル501,502には、通信情報そのものが保存されている。したがって、図2,3のステップS202においては、通信装置2において通信情報テーブル501,502が読み出されて、その内容が要求に対する応答として通信装置1に対して送信される。同様に、通信装置1のROM102にも、通信装置1がサポートする通信方式及び暗号化方式を示す通信情報テーブル(本例ではテーブル502)が保存されており、受信した通信情報(すなわちテーブル501および502)と照合される。この例ではテーブル502が一致することになる。もちろん通信装置1が複数の通信インターフェースをもつなら、各インターフェースについて通信情報テーブルが保存されている。そこで、各インターフェースに対応する通信情報テーブルそれぞれを、受信した通信情報と照合(あるいは比較)する。一致した通信情報があれば、その通信情報で示される通信方式及び暗号化方式で通信が開始される。なお、複数の通信方式及び暗号化方式が一致した場合には、そのうちのどの方式を用いるかを定めた規則をあらかじめ決めておいても良い。規則の例としては、もっとも通信速度の速い方式を選択したり、あるいは、暗号化強度の最も強い方式を選択するなどの規則がある。各装置がサポートする通信方式及び暗号化方式のうちから、あらかじめ順序を付した表を用意しておくなどすれば、規則にしたがって通信方式及び暗号化方式を選択できる。また、複数の方式が利用可能な場合には、利用者に選択させても良い。この場合には選択肢を示したユーザインターフェースを表示部に表示し、利用者の選択に応じた方式を利用する。   FIG. 5 shows an example of communication method and encryption method data transmitted from the communication device 2 to the communication device 1, that is, communication information. Note that the communication information itself is stored in the communication information tables 501 and 502 stored in the ROM 108 of the communication device 2. Accordingly, in step S202 of FIGS. 2 and 3, the communication information tables 501 and 502 are read by the communication device 2, and the contents are transmitted to the communication device 1 as a response to the request. Similarly, the ROM 102 of the communication device 1 also stores a communication information table (table 502 in this example) indicating the communication method and encryption method supported by the communication device 1, and receives the received communication information (that is, the table 501 and the table 501). 502). In this example, the tables 502 match. Of course, if the communication device 1 has a plurality of communication interfaces, a communication information table is stored for each interface. Therefore, each communication information table corresponding to each interface is collated (or compared) with the received communication information. If there is matching communication information, communication is started by the communication method and encryption method indicated by the communication information. When a plurality of communication methods and encryption methods match, a rule that defines which method to use may be determined in advance. Examples of the rules include a rule such as selecting a method with the highest communication speed or selecting a method with the strongest encryption strength. If a table with an order in advance is prepared from among the communication methods and encryption methods supported by each device, the communication method and encryption method can be selected according to the rules. In addition, when a plurality of methods can be used, the user may select them. In this case, a user interface showing options is displayed on the display unit, and a method according to the user's selection is used.

通信装置2にはNFCインターフェース以外に2つの通信インターフェース111,112が実装されている。そこで、図5の通信情報501,502の2つのデータが通信装置1へ送信される。通信情報501は、通信方式がIEEE802.11a、ESSIDが“wlan0”、暗号化方式が128ビットWEP(Wired Equivalent Privacy)、暗号鍵種別がWEPキーで暗号鍵値が“samplewepkey0”であることを示している。この情報は、図4のテーブル402にしたがって図5の通信情報501に含まれる各コードを読み解くことで得られる。通信情報502は、通信方式がIEEE802.11b、ESSIDが“wlan1”、暗号化方式が128ビットWEP、暗号鍵種別がWEPキーで暗号鍵値が“samplewepkey1”であることを示している。   The communication device 2 is provided with two communication interfaces 111 and 112 in addition to the NFC interface. Therefore, two pieces of data of communication information 501 and 502 in FIG. 5 are transmitted to the communication device 1. The communication information 501 indicates that the communication method is IEEE802.11a, ESSID is “wlan0”, the encryption method is 128-bit WEP (Wired Equivalent Privacy), the encryption key type is the WEP key, and the encryption key value is “sampleweekkey0”. ing. This information can be obtained by reading each code included in the communication information 501 in FIG. 5 according to the table 402 in FIG. Communication information 502 indicates that the communication method is IEEE802.11b, the ESSID is “wlan1”, the encryption method is 128-bit WEP, the encryption key type is a WEP key, and the encryption key value is “samplewepkey1”.

図4、図5は、通信方式および暗号化方式の情報をバイナリデータで表現したものであるが、別の例としてタグ付きのテキストで表現することもできる。その一例を図6に示す。この場合には、通信装置2は図6のテキストデータ601,602をテーブル501,502の代わりに持つ。また、通信装置1はテキストデータ602をテーブル502の代わりに持つ。したがって通信情報を受信した通信装置1では、タグ付きのテキストを最上位のタグ(図6の例では<802.11a>および<802.11b>)単位で、通信情報を比較する。具体的には、通信装置1が持つテキストデータ602と、受信したテキストデータ601及び602とをそれぞれ比較する。   4 and 5 show the information of the communication method and the encryption method as binary data, but as another example, they can also be expressed as a tagged text. An example is shown in FIG. In this case, the communication apparatus 2 has the text data 601 and 602 in FIG. 6 instead of the tables 501 and 502. Further, the communication device 1 has text data 602 instead of the table 502. Therefore, in the communication device 1 that has received the communication information, the communication information is compared in units of text with tags in the highest tag (<802.11a> and <802.11b> in the example of FIG. 6). Specifically, the text data 602 possessed by the communication device 1 is compared with the received text data 601 and 602, respectively.

一致したテキストデータがあれば(たとえばテキストデータ602)、そのテキストデータを解析して通信方式および暗号化方式の情報を得る。そして得られた情報に従って通信を実行する。   If there is matching text data (for example, text data 602), the text data is analyzed to obtain information on the communication method and the encryption method. Then, communication is performed according to the obtained information.

<通信装置1による制御手順>
図7に、通信装置1の動作アルゴリズムを示す。ステップS701では、通信装置1が通信装置2へ近づけられることにより、NFCインターフェース104を使用する通信が開始される。
<Control procedure by communication device 1>
FIG. 7 shows an operation algorithm of the communication device 1. In step S <b> 701, communication using the NFC interface 104 is started by bringing the communication device 1 closer to the communication device 2.

ステップS702では、NFCインターフェース104を使用する通信により通信方式および暗号化方式を要求するメッセージを通信装置2へ送信する。   In step S <b> 702, a message requesting a communication method and an encryption method is transmitted to the communication device 2 by communication using the NFC interface 104.

ステップS703では、図4、図5、図6の例で示されるような通信方式および暗号化方式に関するデータ(通信情報)を通信装置2から受信する。   In step S703, data (communication information) related to the communication method and the encryption method as shown in the examples of FIGS. 4, 5, and 6 is received from the communication device 2.

ステップS704では、ステップS703で通信装置2から受信した通信情報で示される通信方式および暗号化方式が、通信装置1に実装されている通信方式および暗号化方式に合致するか否かが判別される。この判定は、上述のように、受信した通信情報と通信装置1が持つ通信情報テーブルとを照合することで行える。通信方式および暗号化方式が合致する場合はステップS705へ進み、通信方式および暗号化方式が合致しない場合はステップS709へ進み、処理が続けられる。   In step S704, it is determined whether or not the communication method and encryption method indicated by the communication information received from the communication device 2 in step S703 matches the communication method and encryption method installed in the communication device 1. . This determination can be performed by collating the received communication information with the communication information table held by the communication device 1 as described above. If the communication method and the encryption method match, the process proceeds to step S705. If the communication method and the encryption method do not match, the process proceeds to step S709 and the processing is continued.

通信装置2から受信した通信情報がたとえば図5あるいは図6に示されるような通信情報501および通信情報502(あるいは601と602)であるとする。本実施形態においては、通信装置1はIEEE802.11bインターフェースを実装しているので、通信装置1が持つ通信情報テーブルは通信情報502(あるいは602)である。したがって、通信情報テーブル502は受信した通信情報と合致する。そこで、一致した通信情報で示される通信方式と暗号化方式を用いて、通信装置1と通信装置2とは通信可能である。すなわちこの例では、通信装置1と通信装置2とは、IEEE802.11bインターフェースという共通の通信方式をサポートすることがわかる。さらに通信装置1と通信装置2とは、128ビットWEPという共通の暗号化方式をサポートすることもわかる。一方、たとえば通信装置1の暗号化方式がWPA(Wi−Fi Protected Access)あるいは64ビットWEPの場合は、暗号化方式が合致しないので通信方式および暗号化方式が合致しないと判定される。なおここでいう暗号化方式には暗号鍵の内容も含む。すなわち方式が同じであっても鍵が一致しなければ、方式が一致するとは判定されない。   Assume that the communication information received from the communication device 2 is, for example, communication information 501 and communication information 502 (or 601 and 602) as shown in FIG. 5 or FIG. In this embodiment, since the communication device 1 is equipped with the IEEE802.11b interface, the communication information table possessed by the communication device 1 is the communication information 502 (or 602). Therefore, the communication information table 502 matches the received communication information. Therefore, the communication device 1 and the communication device 2 can communicate using the communication method and the encryption method indicated by the matched communication information. That is, in this example, it can be seen that the communication device 1 and the communication device 2 support a common communication method called an IEEE802.11b interface. Further, it can be seen that the communication device 1 and the communication device 2 support a common encryption method of 128-bit WEP. On the other hand, for example, when the encryption method of the communication apparatus 1 is WPA (Wi-Fi Protected Access) or 64-bit WEP, it is determined that the communication method and the encryption method do not match because the encryption method does not match. The encryption method here includes the contents of the encryption key. That is, even if the methods are the same, if the keys do not match, it is not determined that the methods match.

ステップS705では、NFCインターフェース104を使用する通信を終了する。ステップS706では、ステップS704における判定により、通信装置1と通信装置2とで合致したと判定された共通の通信方式および暗号化方式にしたがって通信を開始する。本実施形態では、IEEE802.11b、128ビットWEPで通信を開始する。ステップS707では、ステップS706で開始された通信方式でデータ通信を行う。ステップS708では、ステップS706で開始された通信方式による通信を終了する。   In step S705, the communication using the NFC interface 104 is terminated. In step S706, communication is started in accordance with the common communication method and encryption method determined by the determination in step S704 that the communication device 1 and the communication device 2 match. In this embodiment, communication is started with IEEE 802.11b, 128-bit WEP. In step S707, data communication is performed using the communication method started in step S706. In step S708, communication using the communication method started in step S706 is terminated.

ステップS709では、NFCインターフェース104を使用する通信を継続し、データ通信を行う。ステップS710では、NFCインターフェース104を使用する通信を終了する。   In step S709, communication using the NFC interface 104 is continued and data communication is performed. In step S710, communication using the NFC interface 104 is terminated.

<通信装置2による制御手順>
図8に、通信装置2の動作アルゴリズムを示す。ステップS801では、通信装置1が通信装置2へ近づけられることにより、NFCインターフェース110を使用する通信が開始される。
<Control procedure by communication device 2>
FIG. 8 shows an operation algorithm of the communication device 2. In step S <b> 801, communication using the NFC interface 110 is started by bringing the communication device 1 closer to the communication device 2.

ステップS802では、通信装置1から通信方式および暗号化方式を要求するメッセージを受信したか否かを判定する。メッセージを受信したときはステップS803へ進み、メッセージを受信しないときは再度ステップS802へ進んでメッセージの受信を待つ。   In step S802, it is determined whether a message requesting a communication method and an encryption method has been received from the communication device 1. If a message is received, the process proceeds to step S803. If no message is received, the process proceeds to step S802 again to wait for the message to be received.

ステップS803では、通信方式および暗号化方式の要求に応答して、図4、図5、図6の例に示されるようなデータすなわち通信情報を通信装置2から通信装置1へ送信する。   In step S803, in response to the request for the communication method and the encryption method, data as shown in the examples of FIGS. 4, 5, and 6, that is, communication information is transmitted from the communication device 2 to the communication device 1.

ステップS804では、NFCインターフェース110を使用する通信が終了されて通信装置2に実装されているNFC以外の通信方式で通信が開始されたか否かが判別される。NFC以外の通信方式で通信が開始される場合はステップS805へ進み、NFCで通信が継続されるばあいはステップS807へ進み、処理が続けられる。なお、ステップS804は、実際の処理上は行われなくとも良い。すなわち、ステップS803でいったん処理を終了し、その後通信装置2は、通信装置1により開始された通信の方式にしたがってステップS805またはステップS807のいずれかからデータ通信を実行してもよい。   In step S804, it is determined whether communication using the NFC interface 110 is terminated and communication is started using a communication method other than NFC installed in the communication device 2. If communication is started by a communication method other than NFC, the process proceeds to step S805. If communication is continued by NFC, the process proceeds to step S807, and the process is continued. Note that step S804 may not be performed in actual processing. In other words, the processing may be terminated once in step S803, and then the communication device 2 may execute data communication from either step S805 or step S807 according to the communication method started by the communication device 1.

ステップS805では、通信装置1により開始された通信方式で通信を行う。ステップS806では、ステップS804で開始された通信方式による通信を終了する。   In step S805, communication is performed using the communication method started by the communication device 1. In step S806, communication using the communication method started in step S804 is terminated.

一方ステップS807では、NFCインターフェース110を使用する通信が継続されてデータ通信を行う。ステップS808では、NFCインターフェース110を使用する通信を終了する。   On the other hand, in step S807, communication using the NFC interface 110 is continued to perform data communication. In step S808, communication using the NFC interface 110 is terminated.

以上の構成及び手順により、本実施形態の通信装置は、通信の機密性を確保しつつ通信方式及び暗号化方式に関する情報を取得可能である。また、取得した通信方式にしたがって通信を行う場合でも、通信の機密性を確保できる。また、取得した通信方式で通信を行えない場合でも、確実に通信を行えしかも通信の機密性を確保できるという効果を奏する。   With the configuration and procedure described above, the communication apparatus according to the present embodiment can acquire information on the communication method and the encryption method while ensuring the confidentiality of communication. Even when communication is performed according to the acquired communication method, confidentiality of communication can be ensured. In addition, even when communication cannot be performed using the acquired communication method, there is an effect that communication can be performed reliably and communication confidentiality can be ensured.

[第2の実施形態]
図9は、本発明の第2の実施形態に係る通信システムの構成および動作概略を示す図である。本発明の第2の実施形態においては、本発明の第1の実施形態における通信装置1に相当するものとしてデジタルカメラ(DSC)901、通信装置2に相当するものとしてプリンタ902が使用されている。
[Second Embodiment]
FIG. 9 is a diagram showing a configuration and an operation outline of a communication system according to the second embodiment of the present invention. In the second embodiment of the present invention, a digital camera (DSC) 901 is used as the communication device 1 in the first embodiment of the present invention, and a printer 902 is used as the communication device 2. .

DSC901をプリンタ902に近づけることによりNFCで通信が開始され、プリンタ902に実装されている通信方式および暗号化方式を要求するメッセージがDSC901からプリンタ902へ送信される(S911)。   Communication is started by NFC by bringing the DSC 901 closer to the printer 902, and a message requesting the communication method and encryption method installed in the printer 902 is transmitted from the DSC 901 to the printer 902 (S911).

プリンタ902に実装されている通信方式がIEEE802.11bであり、その暗号化方式が128ビットWEPである場合、その情報がプリンタ902からDSC901へ送信される(S912)。   If the communication method implemented in the printer 902 is IEEE 802.11b and the encryption method is 128-bit WEP, the information is transmitted from the printer 902 to the DSC 901 (S912).

プリンタ902に実装されている通信方式および暗号化方式がDSC901に実装されているか否かが判別される。   It is determined whether or not the communication method and encryption method installed in the printer 902 are installed in the DSC 901.

DSC901の通信方式としてIEEE802.11bが実装されていてその暗号化方式が128ビットWEPである場合、通信方式および暗号化方式が合致する。そこで、通信方式をIEEE802.11bとし、暗号化方式を128ビットWEPとする通信が、DSC901とプリンタ902との間で開始され、DSC901から画像データがプリンタ902へ送信される。   When IEEE802.11b is implemented as the DSC 901 communication method and the encryption method is 128-bit WEP, the communication method and the encryption method match. Therefore, communication with IEEE 802.11b as the communication method and 128-bit WEP as the encryption method is started between the DSC 901 and the printer 902, and image data is transmitted from the DSC 901 to the printer 902.

たとえばDSC901の通信方式としてIEEE802.11bが実装されていてその暗号化方式がWPAの場合、通信方式および暗号化方式の一方が合致しないので、NFCによる通信が継続されてDSC901から画像データがプリンタ902へ送信される。   For example, when IEEE802.11b is installed as a communication system of the DSC 901 and the encryption system is WPA, since one of the communication system and the encryption system does not match, communication by NFC is continued and image data is transferred from the DSC 901 to the printer 902. Sent to.

図10に、DSC901の動作アルゴリズムを示す。ステップS1001、S1002、S1003、S1004、S1005、S1006、S1007、S1008、S1010、S1011は、本発明の第1の実施形態における通信装置1の動作アルゴリズム(図7)に示されるステップS701、S702、S703、S704、S705、S706、S707、S708、S709、S710とそれぞれ同一の処理である。   FIG. 10 shows an operation algorithm of the DSC 901. Steps S1001, S1002, S1003, S1004, S1005, S1006, S1007, S1008, S1010, and S1011 are steps S701, S702, and S703 shown in the operation algorithm (FIG. 7) of the communication apparatus 1 according to the first embodiment of the present invention. , S704, S705, S706, S707, S708, S709, and S710, respectively.

ただし、図10のステップS1009において、NFCで通信が継続されることをDSC901の使用者へ通知する。たとえば、NFCで通信できるようにDSC901をプリンタ902へ近づけた状態を維持するような指示を、DSC901の表示部に表示する。一例として、「プリンタと接触させてください」というようなメッセージがDSC901の表示部に表示される。   However, in step S1009 in FIG. 10, the user of the DSC 901 is notified that communication is continued with NFC. For example, an instruction to keep the DSC 901 close to the printer 902 so that NFC communication can be performed is displayed on the display unit of the DSC 901. As an example, a message such as “Please contact the printer” is displayed on the display unit of the DSC 901.

以上のように本実施形態によれば、第1実施形態の効果に加えて、第1実施形態の通信システムをディジタルカメラ及びプリンタに適用したことで、ディジタルカメラとプリンタとの間で、情報を秘匿した通信を実現することができる。また、NFCにより通信を行う場合には、その旨を示すメッセージをディジタルカメラに表示することで、利用者に確実な通信環境の構築を促すことができる。   As described above, according to the present embodiment, in addition to the effects of the first embodiment, by applying the communication system of the first embodiment to the digital camera and the printer, information is transmitted between the digital camera and the printer. Secret communication can be realized. Further, when communication is performed by NFC, a message indicating that is displayed on the digital camera, thereby prompting the user to establish a reliable communication environment.

[第3の実施形態]
本発明の第1の実施形態および第2の実施形態では、近距離無線通信方式としてNFCを使用している。これに対して、それ以外の近距離無線通信方式として、赤外線通信、Bluetooth(登録商標)、UWB(Ultra Wide Band)を使用することもできる。
[Third Embodiment]
In the first embodiment and the second embodiment of the present invention, NFC is used as the short-range wireless communication system. On the other hand, infrared communication, Bluetooth (registered trademark), or UWB (Ultra Wide Band) can be used as other short-range wireless communication methods.

また、本発明の第1の実施形態および第2の実施形態では、通信を暗号化してセキュリティを確保する無線通信方式としてIEEE802.11a、IEEE802.11bを使用している。これに限らず、数十メートルの通信距離があり、通信を暗号化してセキュリティを確保することができる通信方式ならば、その他の通信方式や今後規格化される通信方式も使用することができる。   In the first embodiment and the second embodiment of the present invention, IEEE802.11a and IEEE802.11b are used as wireless communication schemes that secure security by encrypting communication. The present invention is not limited to this, and any other communication method or a communication method that will be standardized in the future can be used as long as the communication method has a communication distance of several tens of meters and can secure communication by encrypting communication.

また、本発明の第1の実施形態および第2の実施形態では、通信を暗号化する暗号化方式としてWEP(Wired Equivalent Privacy)、WPA(Wi−Fi Protected Access)を使用している。しかし、その他の暗号化方式や、今後規格化される暗号化方式も使用可能である。   In the first and second embodiments of the present invention, WEP (Wired Equivalent Privacy) and WPA (Wi-Fi Protected Access) are used as encryption methods for encrypting communication. However, other encryption methods and encryption methods that will be standardized in the future can also be used.

なお本発明は、複数の機器(例えばホストコンピュータ、インタフェイス機器、リーダ、プリンタなど)から構成されるシステムに適用しても、一つの機器からなる装置(例えば、複写機、ファクシミリ装置など)に適用してもよい。また本発明の目的は、前述の実施形態の機能を実現するプログラムコードを記録した記録媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータが記憶媒体に格納されたプログラムコードを読み出し実行することによっても達成される。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコード自体およびプログラムコードを記憶した記憶媒体は本発明を構成することになる。   Note that the present invention can be applied to a system (for example, a copier, a facsimile machine, etc.) consisting of a single device even if it is applied to a system composed of a plurality of devices (eg, a host computer, interface device, reader, printer, etc.) You may apply. Another object of the present invention is to supply a recording medium recording a program code for realizing the functions of the above-described embodiments to a system or apparatus, and the system or apparatus computer reads out and executes the program code stored in the storage medium. Is also achieved. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the program code itself and the storage medium storing the program code constitute the present invention.

また、本発明には、プログラムコードの指示に基づき、コンピュータ上で稼働しているオペレーティングシステム(OS)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張カードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた場合についても、本発明は適用される。その場合、書き込まれたプログラムコードの指示に基づき、その機能拡張カードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される。   Further, according to the present invention, the operating system (OS) running on the computer performs part or all of the actual processing based on the instruction of the program code, and the functions of the above-described embodiments are realized by the processing. This is also included. Furthermore, the present invention is also applied to the case where the program code read from the storage medium is written in a memory provided in a function expansion card inserted into the computer or a function expansion unit connected to the computer. In that case, based on the instruction of the written program code, the CPU of the function expansion card or the function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing. .

本発明の実施形態に係る通信装置1および通信装置2の構成を示す図。The figure which shows the structure of the communication apparatus 1 and the communication apparatus 2 which concern on embodiment of this invention. 本発明の実施形態に係る通信装置1および通信装置2の動作シーケンスおよび動作概念を示す図。The figure which shows the operation | movement sequence and operation | movement concept of the communication apparatus 1 and the communication apparatus 2 which concern on embodiment of this invention. 本発明の実施形態に係る通信装置1および通信装置2の動作シーケンスおよび動作概念を示す図。The figure which shows the operation | movement sequence and operation | movement concept of the communication apparatus 1 and the communication apparatus 2 which concern on embodiment of this invention. 本発明の実施形態に係る通信方式および暗号化方式のデータ構造の一例を示す図。The figure which shows an example of the data structure of the communication system and encryption system which concern on embodiment of this invention. 本発明の実施形態に係る通信方式および暗号化方式のデータの一例を示す図。The figure which shows an example of the data of the communication system and encryption system which concern on embodiment of this invention. 本発明の実施形態に係る通信方式および暗号化方式のデータの一例を示す図。The figure which shows an example of the data of the communication system and encryption system which concern on embodiment of this invention. 本発明の実施形態に係る通信装置1の動作アルゴリズムを示す図。The figure which shows the operation | movement algorithm of the communication apparatus 1 which concerns on embodiment of this invention. 本発明の実施形態に係る通信装置2の動作アルゴリズムを示す図。The figure which shows the operation | movement algorithm of the communication apparatus 2 which concerns on embodiment of this invention. 本発明の第2の実施形態に係るデジタルカメラとプリンタで行われる通信の動作概念を示す図。The figure which shows the operation | movement concept of the communication performed with the digital camera and printer which concern on the 2nd Embodiment of this invention. 本発明の第2の実施形態に係るデジタルカメラの動作アルゴリズムを示す図。The figure which shows the operation | movement algorithm of the digital camera which concerns on the 2nd Embodiment of this invention.

符号の説明Explanation of symbols

101 CPU
102 ROM
103 RAM
104 NFCインターフェース
105 IEEE802.11bインターフェース
106 バス
107 CPU
108 ROM
109 RAM
110 NFCインターフェース
111 IEEE802.11aインターフェース
112 IEEE802.11bインターフェース
113 バス
901 デジタルカメラ(DSC)
902 プリンタ
101 CPU
102 ROM
103 RAM
104 NFC interface 105 IEEE802.11b interface 106 Bus 107 CPU
108 ROM
109 RAM
110 NFC interface 111 IEEE 802.11a interface 112 IEEE 802.11b interface 113 Bus 901 Digital camera (DSC)
902 Printer

Claims (11)

複数の通信方式を持つ他の通信装置と通信可能な通信装置であって、
第1の通信方式に従って無線通信する第1の通信手段と、
第2の通信方式および暗号化方式に従って無線通信する第2の通信手段と、
前記第1の通信手段を用いた通信により、前記他の通信装置の通信方式および暗号化方式を取得する取得手段と、
前記取得手段により取得された前記他の通信装置の通信方式および暗号化方式が、前記第2の通信手段の通信方式および暗号化方式に合致するか否かを判定する判定手段と、
前記判定手段により合致すると判定された場合は、前記第2の通信手段により前記第2の通信方式及び前記暗号化方式に従って前記他の通信装置と通信を行い、合致しないと判定された場合には、前記第1の通信手段により前記第1の通信方式に従って前記他の通信装置と通信を行う通信制御手段と
を備えることを特徴とする通信装置。
A communication device capable of communicating with other communication devices having a plurality of communication methods,
First communication means for wireless communication according to a first communication method;
A second communication means for performing wireless communication according to the second communication method and the encryption method;
Obtaining means for obtaining a communication method and an encryption method of the other communication device by communication using the first communication means;
A determination unit that determines whether a communication method and an encryption method of the other communication device acquired by the acquisition unit match a communication method and an encryption method of the second communication unit;
If it is determined by the determination means that the data matches, the second communication means communicates with the other communication device according to the second communication method and the encryption method, and if it is determined that they do not match A communication apparatus comprising: a communication control means for communicating with the other communication apparatus according to the first communication method by the first communication means.
通信装置であって、
第1の通信方式に従って無線通信する第1の通信手段と、
第2の通信方式および暗号化方式に従って無線通信する第2の通信手段と、
前記第1の通信手段を用いた他の通信装置との通信により、前記第2の通信手段の通信方式及び暗号方式により前記通信装置と通信できる情報を前記他の通信装置が有していることを判別する判別手段と、
前記判別手段により、前記他の通信装置が前記情報を有していると判別された場合、前記第2の通信手段により前記第2の通信方式及び前記暗号化方式に従って前記他の通信装置と通信を行い、前記他の通信装置が前記情報を有していると判別されない場合、前記第1の通信手段により前記第1の通信方式に従って前記他の通信装置と通信を行う通信制御手段と
を備えることを特徴とする通信装置。
A communication device,
First communication means for wireless communication according to a first communication method;
A second communication means for performing wireless communication according to the second communication method and the encryption method;
The other communication device has information capable of communicating with the communication device by the communication method and the encryption method of the second communication device through communication with the other communication device using the first communication device. Discriminating means for discriminating;
When the determining means determines that the other communication device has the information, the second communication means communicates with the other communication device according to the second communication method and the encryption method. Communication control means for performing communication with the other communication apparatus according to the first communication method by the first communication means when it is not determined that the other communication apparatus has the information. A communication apparatus comprising:
前記第1の通信方式は、近距離無線通信方式であることを特徴とする請求項1又は2に記載の通信装置。   The communication apparatus according to claim 1, wherein the first communication method is a short-range wireless communication method. 前記第1の通信方式は、非接触ICカード通信、赤外線通信、Bluetooth、UWB(Ultra Wide Band)のいずれか1つの通信方式であることを特徴とする請求項1又は2に記載の通信装置。   The communication apparatus according to claim 1, wherein the first communication method is any one of non-contact IC card communication, infrared communication, Bluetooth, and UWB (Ultra Wide Band). 前記第1の通信方式により通信を行う場合に、利用者に対して前記通信装置を前記他の通信装置に近付ける旨のメッセージを出力する出力手段を更に備えることを特徴とする請求項3又は4に記載の通信装置。   5. The apparatus according to claim 3, further comprising output means for outputting a message to the user that the communication device is brought close to the other communication device when communication is performed by the first communication method. The communication apparatus as described in. 前記通信装置は、前記他の通信装置に対して画像データを送信する撮像装置であることを特徴とする請求項1乃至5のいずれか1項に記載の通信装置。   The communication apparatus according to claim 1, wherein the communication apparatus is an imaging apparatus that transmits image data to the other communication apparatus. 前記通信装置は、前記他の通信装置から画像データを受信する画像出力装置であることを特徴とする請求項1乃至5のいずれか1項に記載の通信装置。   The communication apparatus according to claim 1, wherein the communication apparatus is an image output apparatus that receives image data from the other communication apparatus. 請求項1に記載の通信装置と、請求項2に記載の通信装置とを備えることを特徴とする通信システム。   A communication system comprising the communication device according to claim 1 and the communication device according to claim 2. 互いに通信方式の異なる第1及び第2の通信手段を持つ通信装置の制御方法であって、
前記第1の通信手段を用いた通信により、他の通信装置の通信方式および暗号化方式を取得する取得工程と、
前記取得工程により取得された前記他の通信装置の通信方式および暗号化方式が、前記第2の通信手段の通信方式および暗号化方式に合致するか否かを判定する判定工程とを備え、
前記判定工程により合致すると判定された場合は、前記第2の通信手段の通信方式及び暗号化方式に従って前記他の通信装置と通信を行い、合致しないと判定された場合には、前記第1の通信手段の通信方式に従って前記他の通信装置と通信を行うことを特徴とする通信装置の制御方法。
A method for controlling a communication apparatus having first and second communication means having different communication methods,
An acquisition step of acquiring a communication method and an encryption method of another communication device by communication using the first communication unit;
A determination step of determining whether the communication method and the encryption method of the other communication device acquired by the acquisition step match the communication method and the encryption method of the second communication unit,
If it is determined by the determination step that the two communication means match, the communication with the other communication device is performed according to the communication method and the encryption method of the second communication means. A communication device control method, wherein communication is performed with the other communication device according to a communication method of a communication means.
通信方式の異なる第1及び第2の通信手段を有する通信装置の制御方法であって、
前記第1の通信手段を用いた他の通信装置との通信により、前記第2の通信手段の通信方式及び暗号方式により前記通信装置と通信できる情報を前記他の通信装置が有していることを判別する判別工程と、
前記判別工程において、前記他の通信装置が前記情報を有していると判別された場合、前記第2の通信手段により前記第2の通信方式及び前記暗号化方式に従って前記他の通信装置と通信を行い、前記他の通信装置が前記情報を有していると判別されない場合、前記第1の通信手段により前記第1の通信方式に従って前記他の通信装置と通信を行う通信制御工程と
を有することを特徴とする制御方法。
A control method for a communication apparatus having first and second communication means having different communication methods,
The other communication device has information capable of communicating with the communication device by the communication method and the encryption method of the second communication device through communication with the other communication device using the first communication device. A discriminating step for discriminating;
In the determination step, when it is determined that the other communication device has the information, the second communication unit communicates with the other communication device according to the second communication method and the encryption method. And a communication control step of communicating with the other communication device according to the first communication method by the first communication means when it is not determined that the other communication device has the information. A control method characterized by comprising:
請求項9または請求項10に記載された通信装置の制御方法の各工程をコンピュータにより実行させることを特徴とするプログラム。   A program that causes a computer to execute each step of the communication device control method according to claim 9.
JP2005363860A 2005-12-16 2005-12-16 COMMUNICATION DEVICE, ITS CONTROL METHOD, AND COMMUNICATION SYSTEM Active JP4702944B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005363860A JP4702944B2 (en) 2005-12-16 2005-12-16 COMMUNICATION DEVICE, ITS CONTROL METHOD, AND COMMUNICATION SYSTEM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005363860A JP4702944B2 (en) 2005-12-16 2005-12-16 COMMUNICATION DEVICE, ITS CONTROL METHOD, AND COMMUNICATION SYSTEM

Publications (3)

Publication Number Publication Date
JP2007166538A JP2007166538A (en) 2007-06-28
JP2007166538A5 JP2007166538A5 (en) 2009-01-29
JP4702944B2 true JP4702944B2 (en) 2011-06-15

Family

ID=38248877

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005363860A Active JP4702944B2 (en) 2005-12-16 2005-12-16 COMMUNICATION DEVICE, ITS CONTROL METHOD, AND COMMUNICATION SYSTEM

Country Status (1)

Country Link
JP (1) JP4702944B2 (en)

Families Citing this family (99)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009010786A (en) * 2007-06-28 2009-01-15 Kyocera Corp Communication instrument, control method of communication instrument, and communication system
JP5219431B2 (en) * 2007-08-20 2013-06-26 キヤノン株式会社 Wireless communication system and control method thereof, image input / output device and control method thereof, and program
JP5176706B2 (en) * 2007-09-12 2013-04-03 株式会社リコー A mobile terminal device, an information communication method, and a program executed by the mobile terminal device.
JP4506856B2 (en) * 2008-03-10 2010-07-21 ソニー株式会社 Communication apparatus and communication method
JP2009239573A (en) * 2008-03-27 2009-10-15 Sharp Corp Radio communication mediation apparatus, radio communication mediation program, and av system
JP5500779B2 (en) * 2008-04-01 2014-05-21 キヤノン株式会社 Wireless communication apparatus, control method therefor, and program
JP5106275B2 (en) 2008-06-30 2012-12-26 株式会社東芝 Wireless communication apparatus and wireless communication method
JP5282684B2 (en) 2009-07-03 2013-09-04 株式会社リコー Wireless communication system, host, device, and wireless communication method
JP5458796B2 (en) * 2009-10-19 2014-04-02 株式会社リコー Communication apparatus and communication control method
JP5471700B2 (en) * 2010-03-26 2014-04-16 ソニー株式会社 COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION SYSTEM
JP5120417B2 (en) * 2010-05-06 2013-01-16 ソニー株式会社 COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION SYSTEM
JP5527022B2 (en) * 2010-06-01 2014-06-18 ソニー株式会社 COMMUNICATION DEVICE, READER DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND COMMUNICATION DEVICE
JP5471958B2 (en) * 2010-08-10 2014-04-16 富士通モバイルコミュニケーションズ株式会社 Communication device
JP5361833B2 (en) * 2010-09-16 2013-12-04 株式会社東芝 Communication apparatus and communication method
JP5627412B2 (en) * 2010-11-18 2014-11-19 シャープ株式会社 Wireless communication system, wireless communication method, system side device, terminal, and program
US20130141746A1 (en) * 2011-12-02 2013-06-06 Apple Inc. Ad-hoc discovery and selection of printers for print jobs
JP5941300B2 (en) 2012-03-05 2016-06-29 キヤノン株式会社 Information processing apparatus, information processing apparatus control method, and program
JP6066575B2 (en) * 2012-03-05 2017-01-25 キヤノン株式会社 Printing apparatus, printing system, and control method
JP5924983B2 (en) 2012-03-05 2016-05-25 キヤノン株式会社 Information processing apparatus, control method thereof, and program
JP5962146B2 (en) 2012-03-30 2016-08-03 ブラザー工業株式会社 Communication device
JP6019676B2 (en) 2012-03-30 2016-11-02 ブラザー工業株式会社 Communication device
JP6019675B2 (en) 2012-03-30 2016-11-02 ブラザー工業株式会社 Function execution device
JP5857850B2 (en) 2012-03-30 2016-02-10 ブラザー工業株式会社 Communication device
JP5966527B2 (en) 2012-03-30 2016-08-10 ブラザー工業株式会社 Communication device
JP5915338B2 (en) 2012-03-30 2016-05-11 ブラザー工業株式会社 Communication device
JP5945934B2 (en) 2012-05-09 2016-07-05 ブラザー工業株式会社 Wireless communication device
JP5884633B2 (en) 2012-05-15 2016-03-15 ブラザー工業株式会社 Communication device
JPWO2013175674A1 (en) * 2012-05-21 2016-01-12 日本電気株式会社 Wireless communication system, information terminal, communication control method, and program
JP5939042B2 (en) * 2012-06-04 2016-06-22 コニカミノルタ株式会社 Information processing system, portable terminal device, image processing device, and program
JP5867319B2 (en) 2012-07-03 2016-02-24 ブラザー工業株式会社 Communication device
JP6019881B2 (en) * 2012-07-25 2016-11-02 ブラザー工業株式会社 Communication device and portable terminal
JP5900226B2 (en) 2012-08-03 2016-04-06 ブラザー工業株式会社 Communication device
JP5958161B2 (en) 2012-08-03 2016-07-27 ブラザー工業株式会社 Communication device
JP5900228B2 (en) 2012-08-06 2016-04-06 ブラザー工業株式会社 Communication device
JP6031899B2 (en) 2012-09-03 2016-11-24 ブラザー工業株式会社 Image processing system, information processing apparatus, image processing apparatus, and program
JP5962389B2 (en) 2012-09-27 2016-08-03 ブラザー工業株式会社 Wireless communication system, wireless communication device, and communication control program
JP5974779B2 (en) 2012-09-27 2016-08-23 ブラザー工業株式会社 Wireless communication system, wireless communication device, and communication control program
JP6142495B2 (en) 2012-10-11 2017-06-07 ブラザー工業株式会社 Image forming apparatus, information processing apparatus, and image forming system
JP6011247B2 (en) 2012-10-29 2016-10-19 ブラザー工業株式会社 Image processing system, image processing apparatus, and information processing apparatus
JP5954142B2 (en) 2012-11-30 2016-07-20 ブラザー工業株式会社 Image processing system, image processing apparatus, and information processing apparatus
JP5994619B2 (en) 2012-12-17 2016-09-21 ブラザー工業株式会社 Communication device, communication system
JP5991193B2 (en) 2012-12-26 2016-09-14 ブラザー工業株式会社 Information processing program, information processing apparatus, and information processing apparatus control method
JP5945961B2 (en) 2012-12-26 2016-07-05 ブラザー工業株式会社 Communication equipment
JP5994627B2 (en) 2012-12-26 2016-09-21 ブラザー工業株式会社 Information processing program, information processing apparatus, and information processing apparatus control method
JP6003629B2 (en) 2012-12-27 2016-10-05 ブラザー工業株式会社 Program and mobile device
JP6182904B2 (en) 2013-02-28 2017-08-23 ブラザー工業株式会社 COMMUNICATION TERMINAL DEVICE, COMMUNICATION CONTROL METHOD, AND COMMUNICATION CONTROL PROGRAM
JP6135191B2 (en) 2013-02-28 2017-05-31 ブラザー工業株式会社 Terminal device and function execution device
JP5994684B2 (en) * 2013-02-28 2016-09-21 ブラザー工業株式会社 Image recording apparatus, portable terminal, image recording system including them, control method for image recording system, and control program
JP5907094B2 (en) 2013-02-28 2016-04-20 ブラザー工業株式会社 Terminal device and function execution device
JP6044393B2 (en) 2013-02-28 2016-12-14 ブラザー工業株式会社 Terminal device and function execution device
JP6044392B2 (en) 2013-02-28 2016-12-14 ブラザー工業株式会社 Terminal device and function execution device
JP2014162222A (en) 2013-02-28 2014-09-08 Brother Ind Ltd Function execution device
US9277402B2 (en) * 2013-03-06 2016-03-01 Qualcomm Incorporated Systems and methods for secure high-speed link maintenance via NFC
JP6186761B2 (en) 2013-03-07 2017-08-30 ブラザー工業株式会社 Program and communication device
JP6015499B2 (en) 2013-03-07 2016-10-26 ブラザー工業株式会社 Program and mobile device
JP5983474B2 (en) 2013-03-14 2016-08-31 ブラザー工業株式会社 Printing device, printing device program, portable terminal and portable terminal program
JP6182919B2 (en) 2013-03-21 2017-08-23 ブラザー工業株式会社 Communication program and communication device
JP6179157B2 (en) 2013-03-27 2017-08-16 ブラザー工業株式会社 Information processing apparatus, communication terminal apparatus, and information processing apparatus program
JP6123416B2 (en) * 2013-03-28 2017-05-10 ブラザー工業株式会社 Communication device
JP5954238B2 (en) 2013-03-29 2016-07-20 ブラザー工業株式会社 Communication device and program
JP5884764B2 (en) 2013-03-29 2016-03-15 ブラザー工業株式会社 Communication device and program
JP5935740B2 (en) 2013-03-29 2016-06-15 ブラザー工業株式会社 Printing device, printing device program, portable terminal and portable terminal program
JP2014226850A (en) * 2013-05-22 2014-12-08 富士ゼロックス株式会社 Information processing apparatus, information terminal device, information processing program, and information terminal program
US9277066B2 (en) * 2013-06-28 2016-03-01 Canon Kabushiki Kaisha Communication system, communication terminal, control method, and storage medium storing program
JP6838789B2 (en) 2013-06-28 2021-03-03 日本電気株式会社 UE and its communication method
JP6218456B2 (en) 2013-06-28 2017-10-25 キヤノン株式会社 Printing apparatus, communication method, and program
JP6163947B2 (en) * 2013-07-31 2017-07-19 ブラザー工業株式会社 Image recording device
JP6188475B2 (en) 2013-07-31 2017-08-30 キヤノン株式会社 Network system, portable terminal, information processing apparatus, and control method
JP6248475B2 (en) 2013-08-28 2017-12-20 ブラザー工業株式会社 Communication program and communication device
US10587607B2 (en) 2013-09-19 2020-03-10 Sony Corporation Information processing apparatus and information processing method for public key scheme based user authentication
JP6264815B2 (en) 2013-09-30 2018-01-24 ブラザー工業株式会社 Communication device
JP5735072B2 (en) * 2013-09-30 2015-06-17 株式会社東芝 Wireless terminal and wireless communication method
JP6127909B2 (en) 2013-10-25 2017-05-17 ブラザー工業株式会社 Portable terminal, portable terminal program, and printing apparatus
JP6252172B2 (en) 2013-12-27 2017-12-27 ブラザー工業株式会社 COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND INFORMATION PROCESSING PROGRAM
JP6194798B2 (en) 2014-01-09 2017-09-13 ブラザー工業株式会社 Communication equipment and printer
JP6287250B2 (en) 2014-01-22 2018-03-07 ブラザー工業株式会社 Information processing program, information processing apparatus, and information processing apparatus control method
JP6320153B2 (en) * 2014-04-24 2018-05-09 キヤノン株式会社 Information processing apparatus, image processing apparatus, control method, and computer program
JP6303799B2 (en) * 2014-05-19 2018-04-04 ブラザー工業株式会社 Image forming apparatus
JP6355424B2 (en) * 2014-05-20 2018-07-11 キヤノン株式会社 COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM
JP6402494B2 (en) 2014-05-30 2018-10-10 ブラザー工業株式会社 Function execution system, function execution device, and communication terminal
JP6401523B2 (en) * 2014-07-04 2018-10-10 キヤノン株式会社 COMMUNICATION DEVICE, TERMINAL DEVICE, ITS CONTROL METHOD AND PROGRAM, AND NETWORK PROCESSING SYSTEM
JP6331898B2 (en) * 2014-09-03 2018-05-30 大日本印刷株式会社 Image printing system, printing apparatus, and image printing method
CN107006066B (en) 2014-12-12 2021-02-19 佳能株式会社 Communication device, control method of communication device, and program
JP6489832B2 (en) * 2015-01-07 2019-03-27 キヤノン株式会社 Communication apparatus and communication method
JP6512875B2 (en) * 2015-03-10 2019-05-15 キヤノン株式会社 Communication device, control method of communication device, and program
JP6492823B2 (en) * 2015-03-18 2019-04-03 株式会社リコー Information processing system
JP2016178385A (en) 2015-03-18 2016-10-06 キヤノン株式会社 Communication system, information processing device, communication control method, and program
JP6558965B2 (en) 2015-06-04 2019-08-14 キヤノン株式会社 Communication device, control method, and program
JP2017011512A (en) * 2015-06-23 2017-01-12 日本電気株式会社 Terminal, system, and communication method
JP6696161B2 (en) * 2015-11-30 2020-05-20 日本電気株式会社 Malware determination device, malware determination method, and malware determination program
JP6555140B2 (en) 2016-01-19 2019-08-07 ブラザー工業株式会社 Program and mobile terminal
JP6532414B2 (en) 2016-02-09 2019-06-19 キヤノン株式会社 Communication apparatus, control method and program
US9893910B2 (en) 2016-02-22 2018-02-13 Brother Kogyo Kabushiki Kaisha Non-transitory computer-readable medium storing instructions
JP6249075B2 (en) * 2016-10-06 2017-12-20 ブラザー工業株式会社 Communication device and portable terminal
JP6337984B2 (en) * 2017-04-05 2018-06-06 ブラザー工業株式会社 Communication device
JP7086743B2 (en) 2018-06-21 2022-06-20 キヤノン株式会社 Communication device, control method of communication device, program
JP6882371B2 (en) * 2019-05-22 2021-06-02 キヤノン株式会社 Communication equipment, control methods and programs
JP7388884B2 (en) * 2019-11-11 2023-11-29 アズビル株式会社 Communication device, communication control system, and communication control method
JP2021133512A (en) 2020-02-21 2021-09-13 キヤノン株式会社 Image formation apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003242461A (en) * 2002-02-14 2003-08-29 Matsushita Electric Ind Co Ltd Non-contact reader/writer
JP2004135258A (en) * 2002-05-01 2004-04-30 Microsoft Corp Method of discovering wireless capability and negotiating protocol and discovery of radio capability, the methodology of negotiation of protocol, and wireless device including the same methods
JP2005099945A (en) * 2003-09-22 2005-04-14 Fuji Xerox Co Ltd Equipment authenticating device, image forming device, member information managing device, image formation service system, equipment authenticating method, image formation method and program therefor
JP2005167946A (en) * 2003-12-05 2005-06-23 Nec Corp Communication device and wireless connection method by communication device
JP2005210328A (en) * 2004-01-21 2005-08-04 Fuji Xerox Co Ltd Information processing system, data supply unit, and control method and program of data supply unit

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003242461A (en) * 2002-02-14 2003-08-29 Matsushita Electric Ind Co Ltd Non-contact reader/writer
JP2004135258A (en) * 2002-05-01 2004-04-30 Microsoft Corp Method of discovering wireless capability and negotiating protocol and discovery of radio capability, the methodology of negotiation of protocol, and wireless device including the same methods
JP2005099945A (en) * 2003-09-22 2005-04-14 Fuji Xerox Co Ltd Equipment authenticating device, image forming device, member information managing device, image formation service system, equipment authenticating method, image formation method and program therefor
JP2005167946A (en) * 2003-12-05 2005-06-23 Nec Corp Communication device and wireless connection method by communication device
JP2005210328A (en) * 2004-01-21 2005-08-04 Fuji Xerox Co Ltd Information processing system, data supply unit, and control method and program of data supply unit

Also Published As

Publication number Publication date
JP2007166538A (en) 2007-06-28

Similar Documents

Publication Publication Date Title
JP4702944B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, AND COMMUNICATION SYSTEM
EP3637814B1 (en) Communication device, control method for communication device and program
EP2156700B1 (en) Wi-fi protected setup in adhoc network
EP1868314B1 (en) Communication apparatus and method thereof
JP4027360B2 (en) Authentication method and system, information processing method and apparatus
US20060239236A1 (en) Wireless communication apparatus, communication system and method of configuring wireless communication therein
KR101774289B1 (en) Communication apparatus, control method of communication apparatus, communication system, and program
JP4759373B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMPUTER PROGRAM
EP3562256A1 (en) Communication device, control method, and program
KR20090034780A (en) Method and system for communication in near field communication network
JP6719913B2 (en) Communication device, communication method, program
JP2007088727A (en) Device, wireless lan setting system, and wireless lan setting method
JP2017130727A (en) Communication device, sharing method of communication parameters, program
WO2020054365A1 (en) Communication device, communication method, and program
CN109565892B (en) Communication device, communication method and computer readable storage medium
KR101321875B1 (en) System of NFC secure print and method thereof
JP6572787B2 (en) Image scanner and image scanning system
US20220046414A1 (en) Communication device, and control method and computer-readable medium storing program for communication device
JP2021177659A (en) Communication device, control method, and program
JP2004088768A (en) Packet data repeating device and its method
CN107425975B (en) Communication device and method executed by communication device
JP2006108898A (en) Communication interface device, cipher communication method, image-forming device, program, and recording medium
JP5758935B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, AND COMMUNICATION DEVICE CONTROL METHOD
WO2019021770A1 (en) Communication device, control method for communication device and program
US10728403B1 (en) Image forming apparatus and data communication method of image forming apparatus

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081210

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081210

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101110

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101115

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110112

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110304

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110307

R150 Certificate of patent or registration of utility model

Ref document number: 4702944

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150