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

JP7609182B2 - Electronic device, communication system, communication device, program, communication control method, and communication system control method - Google Patents

Electronic device, communication system, communication device, program, communication control method, and communication system control method Download PDF

Info

Publication number
JP7609182B2
JP7609182B2 JP2023012395A JP2023012395A JP7609182B2 JP 7609182 B2 JP7609182 B2 JP 7609182B2 JP 2023012395 A JP2023012395 A JP 2023012395A JP 2023012395 A JP2023012395 A JP 2023012395A JP 7609182 B2 JP7609182 B2 JP 7609182B2
Authority
JP
Japan
Prior art keywords
communication
electronic device
standard
communication standard
control program
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
JP2023012395A
Other languages
Japanese (ja)
Other versions
JP2023041786A (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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2023012395A priority Critical patent/JP7609182B2/en
Publication of JP2023041786A publication Critical patent/JP2023041786A/en
Application granted granted Critical
Publication of JP7609182B2 publication Critical patent/JP7609182B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Description

この発明は、電子機器、通信システム、通信機器、プログラム、通信制御方法及び通信システムの制御方法に関する。 The present invention relates to an electronic device, a communication system , a communication device, a program , a communication control method, and a control method for a communication system .

Bluetooth(登録商標)といった短距離無線通信を使って周囲のデバイスと無線通信を行うことのできる電子機器がある。スマートフォンやノートPCなどのモバイル端末同士だけではなく、これらモバイル端末と、キーボード、マウス、イヤホン、カメラ、センサといったデータを取り扱う種々の周辺機器との間で容易にデータの送受信を行うことができる。 There are electronic devices that can wirelessly communicate with surrounding devices using short-range wireless communication such as Bluetooth (registered trademark). Data can be easily sent and received not only between mobile terminals such as smartphones and laptops, but also between these mobile terminals and various peripheral devices that handle data, such as keyboards, mice, earphones, cameras, and sensors.

Bluetoothでは、通信規約(プロトコル)を組み合わせてデバイス間での所定様式でのデータ送受信を可能とするプロファイルやサービスなどの仕様が定められている。特許文献1には、標準的なデータ伝送プロファイルであるSPP(Serial Port Profile)を拡張して用いる技術が開示されている。 Bluetooth defines specifications for profiles and services that combine communication protocols to enable data transmission and reception in a specified format between devices. Patent Document 1 discloses a technology that uses an extended version of the standard data transmission profile SPP (Serial Port Profile).

特開2010-239181号公報JP 2010-239181 A

しかしながら、電子機器間で仕様に応じた通信接続を行う場合に、OS(Operating System)などの制御プログラムに依存する場合がある。しかしながら、接続前においては、接続しようとする電子機器は、その接続先の電子機器どのような制御プログラムを利用しているか分からないため、接続時にどの制御プログラムに対応していればよいか分からない。特に、周辺機器の中には、一度に複数の仕様に対応しないものがあり、接続に失敗してから他の仕様に設定をし直していると、接続の確立までに時間を要するという課題があった。 However, when establishing a communication connection between electronic devices according to their specifications, it may depend on a control program such as an OS (Operating System). However, before the connection is established, the electronic device to be connected does not know what control program the other electronic device is using, and therefore does not know which control program should be supported at the time of connection. In particular, some peripheral devices are not compatible with multiple specifications at once, and there is an issue that it takes time to establish a connection if the device is reconfigured to another specification after a failed connection.

この発明の目的は、より速やかに通信接続の確立を可能とすることのできる電子機器、通信システム、通信機器、プログラム、通信制御方法及び通信システムの制御方法を提供することにある。 An object of the present invention is to provide an electronic device, a communication system , a communication device, a program , a communication control method, and a communication system control method that are capable of more quickly establishing a communication connection.

上記目的を達成するため、本発明は、
第1の通信規格と、前記第1の通信規格とは異なる第2の通信規格とにより通信が可能な通信部と、
通信動作を制御する制御部と、
を備え、
前記制御部は、
前記第1の通信規格による外部の通信機器との通信に先立って、前記第2の通信規格により、前記外部の通信機器に対して前記外部の通信機器の前記制御プログラムの情報の送信を要求し、
前記外部の通信機器から前記第2の通信規格により受信した前記制御プログラムの情報に基づいて、前記制御プログラムに応じた第1の仕様の設定を行い、
設定された前記第1の仕様に従って、前記第1の通信規格により前記外部の通信機器との間で通信接続を確立し、
前記第2の通信規格は、前記外部の通信機器の制御プログラムに依存しない第2の仕様に従って通信を行う通信規格である
ことを特徴とする電子機器である。
In order to achieve the above object, the present invention provides
a communication unit capable of communicating according to a first communication standard and a second communication standard different from the first communication standard;
A control unit for controlling a communication operation;
Equipped with
The control unit is
requesting, prior to communication with an external communication device according to the first communication standard, the external communication device to transmit information about the control program of the external communication device according to the second communication standard;
setting a first specification according to the control program based on information of the control program received from the external communication device according to the second communication standard ;
Establishing a communication connection with the external communication device using the first communication standard in accordance with the set first specifications ;
The second communication standard is a communication standard for performing communication according to a second specification that does not depend on a control program of the external communication device.
The electronic device is characterized in that

本発明に従うと、より速やかに通信接続を確立することができるという効果がある。 The present invention has the advantage of being able to establish a communication connection more quickly.

本実施形態の通信システムの構成図である。1 is a configuration diagram of a communication system according to an embodiment of the present invention. 電子機器の機能構成を示すブロック図である。FIG. 2 is a block diagram showing a functional configuration of the electronic device. 通信機器の機能構成を示すブロック図である。FIG. 2 is a block diagram showing a functional configuration of the communication device. 電子機器と通信機器との間での通信接続時におけるやり取りを示すシーケンス図である。1 is a sequence diagram showing an exchange during a communication connection between an electronic device and a communication device; 電子機器及び通信機器における通信接続制御処理の制御手順を示すフローチャートである。10 is a flowchart showing a control procedure of a communication connection control process in the electronic device and the communication device. OS応答処理の制御手順を示すフローチャートである。13 is a flowchart showing a control procedure of an OS response process.

以下、本発明の実施の形態を図面に基づいて説明する。
図1は、本実施形態の通信システム1の構成図である。
通信システム1は、マスタ電子機器100(電子機器。スレイブ電子機器500にとっての外部の通信機器)と、スレイブ電子機器500(電子機器。マスタ電子機器100にとっての外部の通信機器)とからなる。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a configuration diagram of a communication system 1 according to the present embodiment.
The communication system 1 comprises a master electronic device 100 (electronic device; external communication device for the slave electronic device 500) and a slave electronic device 500 (electronic device; external communication device for the master electronic device 100).

マスタ電子機器100は、モバイル端末であって、ここでは、例えば、スマートフォンである。スレイブ電子機器500は、マスタ電子機器100との間でBluetooth(登録商標:ブルートゥース)を用いた短距離無線通信(Bluetooth通信)を行うことが可能な機器であり、ここでは、例えば、デジタルカメラである。 The master electronic device 100 is a mobile terminal, and in this example, is a smartphone. The slave electronic device 500 is a device capable of short-range wireless communication (Bluetooth communication) using Bluetooth (registered trademark) with the master electronic device 100, and in this example, is a digital camera.

図2は、マスタ電子機器100の機能構成を示すブロック図である。
マスタ電子機器100は、制御部11と、記憶部12と、計時回路13と、短距離無線通信部21及びアンテナA1と、電話通信部22及びアンテナA2と、無線LAN通信部23及びアンテナA3と、表示部24と、操作受付部25と、電力供給部30などを備える。
FIG. 2 is a block diagram showing the functional configuration of the master electronic device 100. As shown in FIG.
The master electronic device 100 includes a control unit 11, a memory unit 12, a timing circuit 13, a short-range wireless communication unit 21 and an antenna A1, a telephone communication unit 22 and an antenna A2, a wireless LAN communication unit 23 and an antenna A3, a display unit 24, an operation reception unit 25, a power supply unit 30, and the like.

制御部11は、マスタ電子機器100の動作を統括制御する。制御部11は、CPU111(Central Processing Unit)と、RAM112(Random Access Memory)などを備える。CPU111は、各種演算処理を行う。RAM112は、CPU111に作業用のメモリ空間を提供し、一時データを記憶する。 The control unit 11 controls the overall operation of the master electronic device 100. The control unit 11 includes a central processing unit (CPU) 111 and a random access memory (RAM) 112. The CPU 111 performs various arithmetic processing. The RAM 112 provides a working memory space for the CPU 111 and stores temporary data.

記憶部12は、各種プログラム121や設定データを記憶する。記憶部12は、HDD(Hard Disk Drive)やフラッシュメモリなどの不揮発性のデータ記憶装置を有する。記憶部12に記憶される設定データには、短距離無線通信部21による通信接続先の識別情報といった通信制御データ122が含まれる。プログラム121には、OS(Operating System)(制御プログラム)が含まれる。 The storage unit 12 stores various programs 121 and setting data. The storage unit 12 has a non-volatile data storage device such as a hard disk drive (HDD) or a flash memory. The setting data stored in the storage unit 12 includes communication control data 122 such as identification information of the communication connection destination by the short-range wireless communication unit 21. The programs 121 include an operating system (OS) (control program).

計時回路13は、現在の日時を計数する。計時回路13には、RTC(Real Time Clock)が含まれ、制御部11の動作が停止している場合でも日時の計数が継続される。 The clock circuit 13 counts the current date and time. The clock circuit 13 includes a real time clock (RTC), and continues to count the date and time even when the control unit 11 is not operating.

短距離無線通信部21は、BluetoothによりアンテナA1を介して外部機器と無線通信を行うための送受信制御を行う。ここでは、Bluetooth通信としては、従来のBR/EDR(Basic Rate / Enhanced Data Rate)などによる通信(Classic通信;BC通信と記す。第1の通信規格)とLow Energy通信(BLE通信と記す。第2の通信規格、第1の通信規格よりも低消費電力の通信規格)との両方の規格を含む。 The short-distance wireless communication unit 21 performs transmission and reception control for wireless communication with an external device via antenna A1 using Bluetooth. Here, Bluetooth communication includes both conventional communication such as BR/EDR (Basic Rate/Enhanced Data Rate) (Classic communication; referred to as BC communication, a first communication standard) and Low Energy communication (referred to as BLE communication, a second communication standard, a communication standard with lower power consumption than the first communication standard).

電話通信部22は、アンテナA2を介して携帯電話基地局と接続し、携帯電話通信を行うための送受信制御を行う。通信方式としては、現在利用されている任意の周知の方式のいずれか又は複数を用いることができる。 The telephone communication unit 22 connects to a mobile phone base station via antenna A2 and performs transmission and reception control for mobile phone communication. As a communication method, any one or more of any well-known methods currently in use can be used.

無線LAN通信部23は、アンテナA3を介してルータなどに接続し、無線LANによる通信の制御を行う。 The wireless LAN communication unit 23 connects to a router or the like via antenna A3 and controls communication via the wireless LAN.

表示部24は、制御部11の制御に基づいて表示画面242にステータスやメニューなどを表示させる。表示画面242としては、液晶画面や有機EL(Electro Luminescent)画面などが用いられてよい。表示ドライバ241は、表示画面242の種別に応じた表示動作の駆動制御を行う。また、表示部24は、LEDライトなどを有していてもよく、これは、例えば、電力供給状態やバッテリ31の蓄電、充電状態などの報知のため、及び/又は照明用途に用いられる。 The display unit 24 displays status, menus, etc. on the display screen 242 based on the control of the control unit 11. The display screen 242 may be a liquid crystal screen or an organic EL (Electro Luminescent) screen. The display driver 241 drives and controls the display operation according to the type of the display screen 242. The display unit 24 may also have an LED light, which is used, for example, to notify the power supply state, the storage and charging state of the battery 31, and/or for lighting purposes.

操作受付部25は、ユーザなどの外部操作を受け付けて入力信号としてCPU111に出力する。操作受付部25としては、表示画面242と重ねて設けられるタッチパネルや、押しボタンスイッチなどが含まれていてもよい。 The operation reception unit 25 receives external operations from a user or the like and outputs the operations as input signals to the CPU 111. The operation reception unit 25 may include a touch panel that is superimposed on the display screen 242, a push button switch, or the like.

電力供給部30は、バッテリ31から供給される電力を所定の動作電圧でCPU111や各部に出力する。出力される動作電圧は、一種類でなくてもよい。バッテリ31としては、例えば、リチウムイオン電池などの充電池(二次電池)が用いられて、接続端子に接続された配線を介して充電可能であってもよい。また、外部電源に接続されて、当該外部電源から供給される電力が利用可能であってもよい。 The power supply unit 30 outputs the power supplied from the battery 31 to the CPU 111 and each unit at a predetermined operating voltage. The output operating voltage does not have to be of one type. For example, a rechargeable battery (secondary battery) such as a lithium ion battery may be used as the battery 31, and may be rechargeable via wiring connected to a connection terminal. It may also be connected to an external power source, making it possible to use the power supplied from the external power source.

図3は、スレイブ電子機器500の機能構成を示すブロック図である。
スレイブ電子機器500は、制御部51(コンピュータ)と、記憶部52と、計時回路53と、短距離無線通信部61(通信部)及びアンテナA5と、無線LAN通信部62及びアンテナA6と、表示部63と、操作受付部64と、撮影部65と、発光部66と、計測部67と、電力供給部70などを備える。
FIG. 3 is a block diagram showing the functional configuration of the slave electronic device 500. As shown in FIG.
The slave electronic device 500 includes a control unit 51 (computer), a memory unit 52, a timing circuit 53, a short-range wireless communication unit 61 (communication unit) and an antenna A5, a wireless LAN communication unit 62 and an antenna A6, a display unit 63, an operation reception unit 64, an imaging unit 65, a light-emitting unit 66, a measurement unit 67, and a power supply unit 70.

制御部51は、スレイブ電子機器500の動作を統括制御する。制御部51は、CPU511(Central Processing Unit)と、RAM512(Random Access Memory)などを備える。CPU511は、各種演算処理を行う。RAM512は、CPU511に作業用のメモリ空間を提供し、一時データを記憶する。RAM512には、短距離無線通信部61による通信接続先の通信接続機器情報5121や、通信設定情報5122が記憶される。このスレイブ電子機器500では、通信設定情報5122において、送信するSDP(Service Discovery Protocol)のサービスデータ(仕様の設定検索要求に対する応答用データ)としては、一度に一つのサービスのみが登録可能となっている。 The control unit 51 controls the operation of the slave electronic device 500. The control unit 51 includes a CPU 511 (Central Processing Unit) and a RAM 512 (Random Access Memory). The CPU 511 performs various calculation processes. The RAM 512 provides the CPU 511 with a working memory space and stores temporary data. The RAM 512 stores communication connection device information 5121 of the communication connection destination by the short-range wireless communication unit 61 and communication setting information 5122. In this slave electronic device 500, only one service can be registered at a time as the service data (response data to a specification setting search request) of the SDP (Service Discovery Protocol) to be transmitted in the communication setting information 5122.

記憶部52は、各種プログラム521や設定データを記憶する。記憶部52は、HDD(Hard Disk Drive)、SSD(Solid State Drive)やフラッシュメモリなどの不揮発性のデータ記憶装置を有する。記憶部52に記憶される設定データには、短距離無線通信部61による通信接続先の識別情報(リンクキーやMACアドレスなど)、及び当該識別情報に対応付けられた後述のOS情報といった通信制御データ522が含まれる。また、記憶部52には、着脱可能な可搬型記録媒体、例えば、SDメモリのメモリカードなどが含まれてよい。この可搬型記録媒体には、主に撮影画像データが記憶される。 The storage unit 52 stores various programs 521 and setting data. The storage unit 52 has a non-volatile data storage device such as a hard disk drive (HDD), a solid state drive (SSD), or a flash memory. The setting data stored in the storage unit 52 includes communication control data 522 such as identification information (such as a link key or MAC address) of the communication connection destination by the short-range wireless communication unit 61, and OS information (described later) associated with the identification information. The storage unit 52 may also include a removable portable recording medium, such as a memory card of an SD memory. This portable recording medium mainly stores captured image data.

計時回路53は、現在の日時を計数する。計時回路53には、RTC(Real Time Clock)が含まれ、制御部51の動作が停止している場合でも日時の計数が継続される。 The clock circuit 53 counts the current date and time. The clock circuit 53 includes a real time clock (RTC), and continues counting the date and time even when the control unit 51 is not operating.

短距離無線通信部61は、BluetoothによりアンテナA5を介して外部機器と無線通信を行うための送受信制御を行う。ここでは、Bluetooth通信としては、BC通信及びBLE通信のいずれもが含まれる。 The short-range wireless communication unit 61 performs transmission and reception control to perform wireless communication with an external device via antenna A5 using Bluetooth. Here, Bluetooth communication includes both BC communication and BLE communication.

無線LAN通信部62は、アンテナA6を介してルータなどに接続し、無線LANによる通信の制御を行う。無線LAN通信部62は、例えば、撮影部65により撮影された動画データなど、サイズの大きいデータを送信する場合などに主に利用されるが、これに限られない。ここでは、マスタ電子機器100とスレイブ電子機器500とは、同一のLAN内に接続可能である。 The wireless LAN communication unit 62 is connected to a router or the like via the antenna A6, and controls communication via the wireless LAN. The wireless LAN communication unit 62 is primarily used, but is not limited to, when transmitting large data, such as video data captured by the image capture unit 65. Here, the master electronic device 100 and the slave electronic device 500 can be connected within the same LAN.

表示部63は、制御部51の制御に基づいて表示画面632に撮影画像データ、撮影情報、ステータスやメニューなどを表示させる。表示画面632としては、液晶画面や有機EL(Electro Luminescent)画面などが用いられてよい。表示ドライバ631は、表示画面632の種別に応じた表示動作の駆動制御を行う。また、表示部63は、LEDライトなどを有していてもよく、これは、例えば、撮影状態や記憶部52へのアクセス状態の表示などに用いられてよい。 The display unit 63 displays captured image data, shooting information, status, menus, etc. on the display screen 632 based on the control of the control unit 51. The display screen 632 may be a liquid crystal screen or an organic EL (Electro Luminescent) screen. The display driver 631 drives and controls the display operation according to the type of the display screen 632. The display unit 63 may also have an LED light, which may be used to display, for example, the shooting status or the access status to the memory unit 52.

操作受付部64は、ユーザなどの外部操作を受け付けて入力信号としてCPU511に出力する。操作受付部64としては、表示画面632と重ねて設けられるタッチパネル、押しボタンスイッチや回転スイッチなどが含まれていてもよい。押しボタンスイッチや回転スイッチには、撮影部65による撮影の際のシャッターボタンや、絞りや露出時間を変更するためなどに用いられる設定スイッチが含まれていてよい。 The operation reception unit 64 receives external operations from a user or the like and outputs the operations as input signals to the CPU 511. The operation reception unit 64 may include a touch panel that is superimposed on the display screen 632, a push button switch, a rotary switch, and the like. The push button switch and rotary switch may include a shutter button for photographing with the photographing unit 65, and a setting switch used to change the aperture or exposure time, and the like.

撮影部65は、レンズ光学系を介した撮影動作を行う。撮影部65は、例えば、撮像素子と、撮像素子から取得された輝度データを所定の配列で画像データとして出力する駆動部などを有する。また、撮影部65は、撮影時にハーフミラーを移動させる機構や、レンズの焦点位置を調整するオートフォーカスに係る駆動部などを有していてもよい。 The photographing unit 65 performs photographing operations via a lens optical system. The photographing unit 65 has, for example, an image sensor and a drive unit that outputs the brightness data acquired from the image sensor as image data in a predetermined array. The photographing unit 65 may also have a mechanism for moving a half mirror during photographing, and a drive unit related to autofocus that adjusts the focal position of the lens.

発光部66は、所定の短時間発光する動作(フラッシュ発光動作)を行う。発光部66は、制御部51の制御により撮影部65による撮影タイミングと同期して発光動作を行う。 The light emitting unit 66 performs an operation of emitting light for a predetermined short period of time (flash emission operation). The light emitting unit 66 performs the light emitting operation in synchronization with the timing of shooting by the shooting unit 65 under the control of the control unit 51.

計測部67は、所定の物理量を計測してCPU511に出力する。計測部67は、例えば、加速度センサ671などを有する。加速度センサ671は、例えば、手ぶれの検出や補正などに用いられてよい。 The measurement unit 67 measures a predetermined physical quantity and outputs it to the CPU 511. The measurement unit 67 has, for example, an acceleration sensor 671. The acceleration sensor 671 may be used, for example, to detect and correct camera shake.

電力供給部70は、バッテリ71から供給される電力を所定の動作電圧でCPU511や各部に出力する。出力される動作電圧は、一種類でなくてもよい。バッテリ71としては、例えば、着脱可能な二次電池、例えば、リチウムイオン電池などの充電池(二次電池)が用いられてもよく、また、アルカリ乾電池などが着脱可能であってもよい。 The power supply unit 70 outputs the power supplied from the battery 71 to the CPU 511 and each unit at a predetermined operating voltage. The output operating voltage does not have to be of one type. For example, a removable secondary battery, such as a rechargeable battery (secondary battery) such as a lithium ion battery, may be used as the battery 71, or an alkaline dry battery or the like may be removable.

次に、本実施形態の通信システム1における短距離無線通信による通信動作について説明する。この通信システム1では、BC通信の接続時には、予め通信接続が行われる機器間でペアリング情報が保持されている場合、スレイブ(サーバ)となるスレイブ電子機器500が通信接続要求を待ち受ける(リッスン)状態で、マスタ(クライアント)となるマスタ電子機器100からスレイブ電子機器500に対して通信接続の要求を行うことで、両者間に通信のチャンネルが確保される。マスタ電子機器100は、SDP(Service Discovery Protocol)を用いてスレイブ電子機器500に対して提供可能な全サービスの情報、又は具体的に所望のサービスの有無の確認を行い、マスタ電子機器100が対応する当該所望のサービスを有する場合に、当該マスタ電子機器100との間で通信接続を確立する。ペアリング情報が保持されていない場合には、上記処理の前にペアリング設定がなされる。 Next, the communication operation by short-distance wireless communication in the communication system 1 of this embodiment will be described. In this communication system 1, when BC communication is connected, if pairing information is held in advance between the devices to be connected, the slave electronic device 500, which is the slave (server), waits (listens) for a communication connection request, and the master electronic device 100, which is the master (client), requests the slave electronic device 500 for a communication connection, thereby securing a communication channel between them. The master electronic device 100 uses SDP (Service Discovery Protocol) to check the information of all services that can be provided to the slave electronic device 500, or the presence or absence of a specific desired service, and if the master electronic device 100 has the corresponding desired service, establishes a communication connection with the master electronic device 100. If pairing information is not held, pairing settings are made before the above process.

BC通信では、ある程度の量のパケットデータを送受信する場合、仮想シリアルポートを用いた通信が用いられてよい。BC通信において、仮想シリアルポートに係るサービス(又はプロファイル。以下同。まとめて仕様とも記す)としては、SPP(Serial Port Profile)が一般的に用いられるが、マスタ電子機器100のOS(制御プログラム)がアップルインコーポレイテッド社のiOSである場合には、仮想シリアルポートを用いた通信は、iAP(iPod Accessory Protocol)(登録商標:iPod)を用いて行われる。すなわち、この通信では、用いられる仕様(第1の仕様)は、制御プログラム(OS)に依存する。スレイブ電子機器500において、通信設定情報5122にサービスデータとして、マスタ電子機器100のOSに応じた仮想シリアルポートに係るサービスが登録されている(第1の仕様の設定がなされている)場合に、マスタ電子機器100とスレイブ電子機器500との間で通信接続が可能となる。 In BC communication, when a certain amount of packet data is to be transmitted and received, communication using a virtual serial port may be used. In BC communication, SPP (Serial Port Profile) is generally used as a service (or profile, hereinafter the same, collectively referred to as a specification) related to the virtual serial port, but if the OS (control program) of the master electronic device 100 is iOS by Apple Inc., communication using the virtual serial port is performed using iAP (iPod Accessory Protocol) (registered trademark: iPod). That is, in this communication, the specification (first specification) used depends on the control program (OS). In the slave electronic device 500, when a service related to the virtual serial port corresponding to the OS of the master electronic device 100 is registered as service data in the communication setting information 5122 (the first specification is set), a communication connection between the master electronic device 100 and the slave electronic device 500 becomes possible.

一方で、本実施形態のマスタ電子機器100とスレイブ電子機器500との間では、上述のようにBLE通信による通信も可能である。BLE通信では、BC通信と比較して顕著に消費電力が小さく、継続的な少量のデータのやり取りに用いられ得る。また、BLE通信では、通常のデータ通信において利用されるサービス(第2の仕様)にこのようなOS依存性を有しない。スレイブ電子機器500では、BC通信を行う前にBLE通信を用いてマスタ電子機器100のOS情報を問合わせて(制御プログラムの情報を要求して)取得する。 On the other hand, as described above, communication by BLE communication is also possible between the master electronic device 100 and the slave electronic device 500 in this embodiment. BLE communication consumes significantly less power than BC communication and can be used for continuous exchange of small amounts of data. Furthermore, in BLE communication, the services (second specification) used in normal data communication do not have such OS dependency. Before performing BC communication, the slave electronic device 500 uses BLE communication to inquire about and obtain OS information of the master electronic device 100 (request information on the control program).

図4は、マスタ電子機器100とスレイブ電子機器500との間でのBC通信の通信接続時におけるやり取りを示すシーケンス図である。ここでは、予め継続的にBLE通信接続がなされているものとして説明する。 Figure 4 is a sequence diagram showing the exchanges that occur when a BC communication connection is established between the master electronic device 100 and the slave electronic device 500. Here, the explanation is given assuming that a BLE communication connection has been established continuously in advance.

スレイブ電子機器500は、マスタ電子機器100への通信タイミングに合わせてBLE通信によりマスタ電子機器100に対してOS情報を要求する。マスタ電子機器100は、この要求(制御プログラムの情報の要求)に応じて、BLE通信によりOS情報をスレイブ電子機器500に対して送信する。 The slave electronic device 500 requests OS information from the master electronic device 100 via BLE communication in accordance with the communication timing to the master electronic device 100. In response to this request (a request for information on the control program), the master electronic device 100 transmits the OS information to the slave electronic device 500 via BLE communication.

スレイブ電子機器500では、取得されたOSに応じた仮想シリアルポートに係るサービスをSDPのサービスデータに登録設定し、BC通信での接続要求を受付可とする。マスタ電子機器100からBC通信での接続に係るサービス情報の要求が送信されると、スレイブ電子機器500からは、サービスデータに基づいた応答がなされる。マスタ電子機器100がこれを受けて、マスタ電子機器100とスレイブ電子機器500との間では、BC通信での通信接続が確立される。 The slave electronic device 500 registers and sets the service related to the virtual serial port corresponding to the acquired OS in the service data of the SDP, and becomes able to accept connection requests via BC communication. When the master electronic device 100 sends a request for service information related to a connection via BC communication, the slave electronic device 500 responds based on the service data. In response to this, the master electronic device 100 establishes a communication connection via BC communication between the master electronic device 100 and the slave electronic device 500.

図5は、マスタ電子機器100及びスレイブ電子機器500の各CPU111、511によるBC通信に係る通信接続制御処理の制御手順を示すフローチャートである。また、図6は、マスタ電子機器100において実行されるOS応答処理のCPU111による制御手順を示すフローチャートである。 Figure 5 is a flowchart showing the control procedure of the communication connection control process related to BC communication by the CPUs 111 and 511 of the master electronic device 100 and the slave electronic device 500. Also, Figure 6 is a flowchart showing the control procedure by the CPU 111 of the OS response process executed in the master electronic device 100.

図5(a)は、スレイブとなるスレイブ電子機器500のCPU511(制御部51)による制御手順であり、本実施形態のプログラムにおける通信制御手段をなす。CPU511は、BLE通信の接続がなされているか否かを判別する(ステップS501)。なされていないと判別された場合には、BLEに係るアドバタイズを行って、外部機器であるマスタ電子機器100からの通信接続要求を受け、BLE通信接続を確立する(ステップS502)。それから、CPU511の処理は、ステップS503に移行する。BLE通信の接続がなされていると判別された場合には(ステップS502で“YES”)、CPU511の処理は、ステップS503に移行する。 Figure 5 (a) shows a control procedure by the CPU 511 (control unit 51) of the slave electronic device 500 that will become a slave, which constitutes the communication control means in the program of this embodiment. The CPU 511 determines whether or not a BLE communication connection has been established (step S501). If it is determined that a BLE communication connection has not been established, it performs BLE advertising, receives a communication connection request from the master electronic device 100, which is an external device, and establishes a BLE communication connection (step S502). Then, the processing of the CPU 511 proceeds to step S503. If it is determined that a BLE communication connection has been established ("YES" in step S502), the processing of the CPU 511 proceeds to step S503.

ステップS503の処理に移行すると、CPU511は、BLEによるマスタ電子機器100への送信タイミング(マスタ電子機器100からのポーリング)に合わせてマスタ電子機器100に対し、OSの情報を要求し、応答を待ち受けてOS情報(制御プログラムの情報)を取得する(ステップS503)。CPU511は、取得されたOS情報をマスタ電子機器100の識別情報と対応付けて記憶させ、また、当該OS情報に応じて、仮想シリアルポートに係るサービス(第1の仕様)をSDPのサービスデータとして登録設定する(ステップS504)。なお、CPU511は、取得されたOS情報が特殊であり、SPPやiAP以外の独自のサービス(プロファイル)を必要とし、当該サービスの情報をスレイブ電子機器500が保持していない場合などには、CPU511は、このBLE通信において当該サービス(第1の仕様)に係るデータを併せて取得してもよい。 When the process proceeds to step S503, the CPU 511 requests OS information from the master electronic device 100 in accordance with the transmission timing to the master electronic device 100 by BLE (polling from the master electronic device 100), waits for a response, and acquires OS information (information on the control program) (step S503). The CPU 511 stores the acquired OS information in association with the identification information of the master electronic device 100, and also registers and sets a service (first specification) related to the virtual serial port as service data of the SDP according to the OS information (step S504). Note that if the acquired OS information is special and requires a unique service (profile) other than SPP or iAP, and the slave electronic device 500 does not hold information on the service, the CPU 511 may also acquire data related to the service (first specification) in this BLE communication.

CPU511は、短距離無線通信部21によるBC通信の接続要求の待ち受けを開始させる(ステップS505)。CPU511は、マスタ電子機器100からのサービス情報の要求に対し、登録したサービスデータ、すなわち、仮想シリアルポートに係るサービス(SPP又はiAP)を応答し、マスタ電子機器100との間で仮想シリアルポートを用いたBC通信に係る通信接続を確立する(ステップS506)。そして、CPU511は、通信接続制御処理を終了する。 The CPU 511 starts waiting for a connection request for BC communication by the short-range wireless communication unit 21 (step S505). In response to a request for service information from the master electronic device 100, the CPU 511 responds with the registered service data, i.e., the service (SPP or iAP) related to the virtual serial port, and establishes a communication connection for BC communication using the virtual serial port with the master electronic device 100 (step S506). Then, the CPU 511 ends the communication connection control process.

図6に示すように、マスタ電子機器100では、BLE通信制御において、上記ステップS503によりOS情報の要求がなされることでOS応答処理が開始される。
CPU111(制御部11)は、自機のOS情報をBLE通信によってスレイブ電子機器500に対して返送する(ステップS111)。そして、OS応答処理を終了する。
As shown in FIG. 6, in the master electronic device 100, in the BLE communication control, a request for OS information is made in step S503, and thus an OS response process is started.
The CPU 111 (control unit 11) returns the OS information of the own device to the slave electronic device 500 by BLE communication (step S111), and then ends the OS response process.

なお、OS情報は、予めOSの種別と特定の符号とが対応付けられている場合には、当該符号で送信することができる。例えば、OSの種類がiOSか否かのみでよい場合には、1ビットの符号で「0」、「1」にそれぞれが対応付けられていてもよい。 In addition, if the OS type is associated with a specific code in advance, the OS information can be transmitted using that code. For example, if it is only necessary to know whether the OS type is iOS or not, a 1-bit code may be associated with "0" and "1", respectively.

図5(b)は、マスタとなるマスタ電子機器100のCPU111(制御部11)による制御手順である。CPU111は、処理を開始すると、接続先としてペアリング(ボンディング)済のスレイブ電子機器500と、当該スレイブ電子機器500に必要なプロファイル(サービス)とを設定する。また、CPU111は、このスレイブ電子機器500に対し、SDPに従ってサービス情報の要求を送信する(ステップS101)。必要なサービスは、上述のように、CPU111(自機)の動作制御に係るOSに応じた仮想シリアルポートに係るサービス(SPP又はiAP)であり、要求するサービスの情報は、このサービスの有無だけであってもよい。CPU111は、スレイブ電子機器500からの応答を待ち受けて、スレイブ電子機器500に登録されているサービスの情報を取得する(ステップS102)。 Figure 5 (b) shows the control procedure by the CPU 111 (control unit 11) of the master electronic device 100 that will be the master. When the CPU 111 starts processing, it sets the slave electronic device 500 that has been paired (bonded) as the connection destination and the profile (service) required for the slave electronic device 500. The CPU 111 also transmits a request for service information to the slave electronic device 500 according to the SDP (step S101). As described above, the required service is a service (SPP or iAP) related to a virtual serial port according to the OS related to the operation control of the CPU 111 (own device), and the requested service information may be only the presence or absence of this service. The CPU 111 waits for a response from the slave electronic device 500 and obtains information on the services registered in the slave electronic device 500 (step S102).

CPU111は、自機のOSに対応した仮想シリアルポートに係るサービスが登録されている(OKか)否かを判別する(ステップS103)。登録されていると判別された場合には(ステップS103で“YES”)、CPU111は、スレイブ電子機器500とのBC通信による通信接続を確立する(ステップS104)。そして、通信接続制御処理を終了する。登録されていないと判別された場合には(ステップS103で“NO”)、CPU111は、通信接続を中止して、通信接続制御処理を終了する。 The CPU 111 determines whether a service related to a virtual serial port corresponding to the OS of the own device is registered (OK) (step S103). If it is determined that the service is registered ("YES" in step S103), the CPU 111 establishes a communication connection with the slave electronic device 500 by BC communication (step S104). Then, the communication connection control process ends. If it is determined that the service is not registered ("NO" in step S103), the CPU 111 stops the communication connection and ends the communication connection control process.

以上のように、本実施形態のスレイブ電子機器500は、通信接続を行う先の外部の通信機器であるマスタ電子機器100のOSに依存した第1の仕様(プロファイル/サービス)に従って通信を行うBC通信と、当該OSに依存しない第2の仕様に従って通信を行うBLE通信とにより通信が可能な短距離無線通信部61と、通信動作を制御する制御部51と、を備える。制御部51は、BLE通信によりマスタ電子機器100のOSの情報を取得し、取得された情報に基づいてSDPに係るサービスデータの設定を行い、BC通信によりマスタ電子機器100との間で設定された第1の仕様に応じた通信接続を行う。
このように、通信接続に先立って他の通信規格を用いて通信接続先のマスタ電子機器100のOS情報を取得することで、接続の失敗とサービスデータの再設定といった手間をかけずに、より速やかに通信接続を行うことができる。特に、他の通信規格による通信接続が既になされている場合には、有効に接続時間を短縮することができる。
As described above, the slave electronic device 500 of this embodiment includes a short-range wireless communication unit 61 capable of communicating by BC communication, which communicates according to a first specification (profile/service) dependent on the OS of the master electronic device 100, which is an external communication device to which the slave electronic device 500 is connected, and BLE communication, which communicates according to a second specification independent of the OS, and a control unit 51 for controlling communication operations. The control unit 51 acquires information on the OS of the master electronic device 100 by BLE communication, sets service data related to the SDP based on the acquired information, and establishes a communication connection with the master electronic device 100 according to the set first specification by BC communication.
In this way, by acquiring OS information of the master electronic device 100 of the communication connection destination using another communication standard prior to communication connection, communication connection can be established more quickly without the trouble of connection failure and reconfiguration of service data. In particular, when communication connection using another communication standard has already been established, the connection time can be effectively shortened.

また、第2の通信規格であるBLE通信は、第1の通信規格であるBC通信よりも極めて消費電力が小さい。したがって、予めOS情報を取得するのに用いられても電力消費の増大にはほとんど影響しない。また、BLE通信は、BC通信と同じBluetoothの枠内にあることから、併用しやすい。 In addition, BLE communication, which is the second communication standard, consumes much less power than BC communication, which is the first communication standard. Therefore, even if it is used to obtain OS information in advance, it has almost no effect on increasing power consumption. Also, since BLE communication is within the same Bluetooth framework as BC communication, it is easy to use the two together.

また、BLE通信は、継続的な通信接続に用いられている。上述のように消費電力の小さいBLE通信は、特に、継続的な通信に有効であって、電力消費の増大にはつながらない。また、このように、継続的に通信接続がなされているものをそのまま利用するので、BLE通信に係る通信接続を別途行う手間も削減することができる。 BLE communication is used for continuous communication connections. As described above, BLE communication consumes little power, making it particularly effective for continuous communication and not leading to increased power consumption. In addition, since a continuous communication connection is used as is in this way, the effort required to make a separate communication connection for BLE communication can also be reduced.

また、制御部51は、BLE規格による通信において、第1の仕様に係る情報を取得可能である。すなわち、OS依存のプロファイルやサービスなどが非常に特殊で、スレイブ電子機器500が保持していない場合には、当該プロファイルやサービスをBLE通信において併せて取得することで、容易にBC通信による接続を行うことができる。 The control unit 51 can also acquire information related to the first specification in communication according to the BLE standard. In other words, if an OS-dependent profile or service is very special and is not held by the slave electronic device 500, the profile or service can be acquired in addition to the BLE communication, making it easy to establish a connection via BC communication.

また、取得されたOSの情報とマスタ電子機器100の識別情報とを対応付けて記憶する記憶部52を備える。これにより、一度取得されたOS情報を再利用することができるので、さらに通信接続が効率化される。 The device also includes a storage unit 52 that stores the acquired OS information in association with the identification information of the master electronic device 100. This allows the OS information that has been acquired once to be reused, further improving the efficiency of communication connections.

また、第1の仕様の設定は、SDP(当該第1の仕様の設定検索要求)に対するサービスデータに対してなされる。BC通信では、通信接続時にSDPに従ったサービス探索が必要であるが、特に、周辺機器では、サービス探索に対するサービスデータとして実際に利用可能な全ての仕様が登録されていない、登録できない場合も多いので、このような場合に上記実施形態により接続効率を向上させることができる。 The first specification is set for the service data for the SDP (a setting search request for the first specification). In BC communication, a service search according to the SDP is required when establishing a communication connection. However, in particular in peripheral devices, it is often the case that not all specifications that can actually be used as service data for a service search are registered, or cannot be registered. In such cases, the above embodiment can improve connection efficiency.

また、第1の仕様は、前記通信機器との間で仮想シリアルポートを用いた通信を行うためのものである。SPPは、しばしば利用される一方で、当初からサービスデータとして設定されていないことも多く、しかもiOSから用いることができないので、上記実施形態により、有効に接続効率が向上される。 The first specification is for communicating with the communication device using a virtual serial port. While SPP is often used, it is often not set as service data from the beginning, and it cannot be used from iOS, so the above embodiment effectively improves connection efficiency.

また、本実施形態の通信システム1は、マスタ電子機器100と、スレイブ電子機器500とからなる。このように、互いに2種類以上の通信規格で双方向通信が可能な場合、特にBC通信とBLE通信とによる通信が可能な場合に、それぞれの利点を生かして通信接続の手間を軽減させて接続効率を向上させることができる。 The communication system 1 of this embodiment is composed of a master electronic device 100 and a slave electronic device 500. In this way, when two-way communication is possible using two or more communication standards, particularly when communication using BC communication and BLE communication is possible, the advantages of each can be utilized to reduce the effort required for communication connection and improve connection efficiency.

また、本実施形態のマスタ電子機器100は、自機のOSに依存した第1の仕様に従って通信を行うBC規格と、OSに依存しない第2の仕様に従って通信を行うBLE通信とにより通信が可能な短距離無線通信部21と、通信動作を制御する制御部11と、を備える。制御部11は、外部のスレイブ電子機器500からBLE通信により自機の動作制御を行っているOSの情報を要求された場合に、当該OSの情報をBLE通信により送信する。
このように、BC通信が可能な場合に、他の通信規格を用いてOS情報のやり取りを可能とすることで、マスタ電子機器100では、スレイブ電子機器500との通信接続に失敗してやり直す手間を低減させることができ、速やかにスレイブ電子機器500との間でデータ通信(ここでは、主にデータ受信)を開始することができる。
The master electronic device 100 of this embodiment includes a short-range wireless communication unit 21 capable of communicating by the BC standard for communicating according to a first specification that is dependent on the OS of the master electronic device and by BLE communication for communicating according to a second specification that is independent of the OS, and a control unit 11 for controlling communication operations. When the control unit 11 is requested by the external slave electronic device 500 via BLE communication for information on the OS that controls the operation of the master electronic device, the control unit 11 transmits the information on the OS via BLE communication.
In this way, by making it possible to exchange OS information using other communication standards when BC communication is possible, the master electronic device 100 can reduce the hassle of having to start over after a failed communication connection with the slave electronic device 500, and can quickly start data communication (here, mainly data reception) with the slave electronic device 500.

また、本実施形態のプログラム521は、通信接続を行う先の外部のマスタ電子機器100のOSに依存した第1の仕様に従って通信を行うBC通信と、当該OSに依存しない第2の仕様に従って通信を行うBLE通信とにより通信が可能な短距離無線通信部61を備えるスレイブ電子機器500のコンピュータを、BLE通信により外部のマスタ電子機器100のOSの情報を取得し、取得された情報に基づいてサービスデータとして第1の仕様の設定を行い、マスタ電子機器100との間でBC通信により設定された第1の仕様に応じた通信接続を行う通信制御手段として機能させる。
このようなプログラム521により、電子機器間のBC通信に係る通信接続時間を低減させ、接続処理をより効率化することができる。
In addition, the program 521 of this embodiment causes a computer of a slave electronic device 500, which is equipped with a short-range wireless communication unit 61 capable of communicating by BC communication, which communicates according to a first specification that is dependent on the OS of an external master electronic device 100 to which a communication connection is made, and BLE communication, which communicates according to a second specification that is not dependent on the OS, to function as a communication control means that acquires information about the OS of the external master electronic device 100 by BLE communication, sets the first specification as service data based on the acquired information, and makes a communication connection with the master electronic device 100 in accordance with the first specification set by BC communication.
Such a program 521 can reduce the communication connection time for BC communication between electronic devices, and can make the connection process more efficient.

なお、本発明は、上記実施の形態に限られるものではなく、様々な変更が可能である。
例えば、上記実施の形態では、BLEを用いてOS情報の取得を行ったが、他の方法、例えば、無線LANによる接続がなされている場合に、無線LANを介してマスタ電子機器100のOS情報が取得されてもよい。あるいは、赤外線通信やNFC(Near Field Communication)などが用いられてもよい。
The present invention is not limited to the above-described embodiment, but may be modified in various ways.
For example, in the above embodiment, the OS information is acquired using BLE, but other methods may be used, for example, when a connection is made via a wireless LAN, the OS information of the master electronic device 100 may be acquired via the wireless LAN. Alternatively, infrared communication, NFC (Near Field Communication), or the like may be used.

また、上記実施の形態では、BluetoothのBR/EDRとBLEとを用いた通信を例に挙げて説明したが、Bluetoothの他の規格にはHS(High Speed)が含まれてよく、BLEには、各種転送速度のものが含まれてよい。また、Bluetooth以外で同一の通信規格内でOSに依存して通信接続の設定が異なるものの場合には、同様の設定がなされてよい。また、仮想シリアルポート以外のプロファイルやサービスでOSに依存するものがある場合には、同様に設定がなされてよい。 In the above embodiment, communication using Bluetooth BR/EDR and BLE has been described as an example, but other Bluetooth standards may include HS (High Speed), and BLE may include various transfer speeds. In addition, in the case of a communication connection setting that differs depending on the OS within the same communication standard other than Bluetooth, similar settings may be made. In addition, in the case of a profile or service other than the virtual serial port that depends on the OS, similar settings may be made.

また、マスタ電子機器100とスレイブ電子機器500との間におけるBC通信において、OS依存性を有するSPP/iAPに従った通信以外の仕様に従った通信が可能であってもよく、このような仕様に従った通信の場合には、あえて別途BLE通信などでOS情報を取得する必要はない。 In addition, in the BC communication between the master electronic device 100 and the slave electronic device 500, communication according to specifications other than communication according to SPP/iAP, which has OS dependency, may be possible, and in the case of communication according to such specifications, there is no need to obtain OS information separately using BLE communication or the like.

また、BLE通信の処理を行うチップやその処理動作と、BC通信の処理を行うチップやその処理動作とは、完全に独立して設けられていてもよい。Bluetooth ver.4以降に対応した同一チップセット上に設けられていてもよい。 In addition, the chip that processes BLE communication and its processing operation and the chip that processes BC communication and its processing operation may be provided completely independently. They may be provided on the same chip set that supports Bluetooth ver. 4 or later.

また、上記実施の形態では、一度取得したOS情報をマスタ電子機器100の識別情報と対応付けて記憶させておくこととしたが、同一の識別情報を有するモバイル端末が異なるOSで動作する場合(エミュレータによる動作なども含む)もあり得るので、過去の取得状況によらず毎回BLE通信などを用いてOS情報を取得することとしてもよい。 In addition, in the above embodiment, the OS information obtained once is stored in association with the identification information of the master electronic device 100. However, since there may be cases where mobile terminals having the same identification information operate on different OSs (including operation using an emulator), it may be possible to obtain the OS information each time using BLE communication or the like, regardless of the past acquisition status.

また、上記実施の形態では、スマートフォンとデジタルカメラとの通信について説明したが、これに限られるものではない。また、マスタ電子機器100とスレイブ電子機器500の関係は、電子機器の種別やデータの送受信関係などによって適宜定められるものであって、マスタとスレイブとが入れ替えられてもよい。 In the above embodiment, communication between a smartphone and a digital camera has been described, but this is not limited to this. The relationship between the master electronic device 100 and the slave electronic device 500 is determined appropriately depending on the type of electronic device and the data transmission/reception relationship, and the master and slave may be interchanged.

また、上記実施の形態では、制御部11、51は、CPU及びRAMによりソフトウェア的に制御を行うものとして説明したが、制御動作の一部が専用の論理回路などのハードウェアで行われてもよい。 In addition, in the above embodiment, the control units 11 and 51 are described as being controlled by software using a CPU and RAM, but some of the control operations may be performed by hardware such as a dedicated logic circuit.

また、以上の説明では、本発明の測位情報の取得制御に係るプログラム521を記憶するコンピュータ読み取り可能な媒体としてHDD、SSD、フラッシュメモリなどの不揮発性メモリなどからなる記憶部52を例に挙げて説明したが、これらに限定されない。その他のコンピュータ読み取り可能な媒体として、MRAMなどの他の不揮発性メモリや、CD-ROM、DVDディスクなどの可搬型記録媒体を適用することが可能である。また、本発明に係るプログラムのデータを通信回線を介して提供する媒体として、キャリアウェーブ(搬送波)も本発明に適用される。
その他、上記実施の形態で示した構成、制御手順や表示例などの具体的な細部は、本発明の趣旨を逸脱しない範囲において適宜変更可能である。
In the above description, the storage unit 52 is exemplified by a non-volatile memory such as an HDD, SSD, or flash memory as a computer-readable medium for storing the program 521 related to the acquisition control of positioning information of the present invention, but is not limited thereto. As other computer-readable media, other non-volatile memories such as MRAM, and portable recording media such as CD-ROM and DVD disks can be applied. In addition, a carrier wave is also applied to the present invention as a medium for providing data of the program according to the present invention via a communication line.
In addition, the specific details of the configuration, control procedures, display examples, and the like shown in the above embodiment can be modified as appropriate without departing from the spirit of the present invention.

本発明のいくつかの実施形態を説明したが、本発明の範囲は、上述の実施の形態に限定するものではなく、特許請求の範囲に記載された発明の範囲とその均等の範囲を含む。
以下に、この出願の願書に最初に添付した特許請求の範囲に記載した発明を付記する。付記に記載した請求項の項番は、この出願の願書に最初に添付した特許請求の範囲の通りである。
Although several embodiments of the present invention have been described, the scope of the present invention is not limited to the above-described embodiments, but includes the scope of the invention described in the claims and its equivalents.
The inventions described in the claims originally attached to this application are set forth below. The claim numbers in the appended claims are the same as those in the claims originally attached to this application.

[付記]
<請求項1>
通信接続を行う先の外部の通信機器の制御プログラムに依存した第1の仕様に従って通信を行う第1の通信規格と、当該制御プログラムに依存しない第2の仕様に従って通信を行う第2の通信規格とにより通信が可能な通信部と、
通信動作を制御する制御部と、
を備え、
前記制御部は、
前記第2の通信規格により前記外部の通信機器の前記制御プログラムの情報を取得し、
取得された情報に基づいて前記第1の仕様の設定を行い、
前記第1の通信規格により前記外部の通信機器との間で、設定された前記第1の仕様に応じた通信接続を行う
ことを特徴とする電子機器。
<請求項2>
前記第2の通信規格は、前記第1の通信規格よりも低消費電力の通信規格であることを特徴とする請求項1記載の電子機器。
<請求項3>
前記第2の通信規格は、継続的な通信接続に用いられていることを特徴とする請求項1又は2記載の電子機器。
<請求項4>
前記制御部は、前記第2の通信規格による通信において、前記第1の仕様に係るデータを取得可能であることを特徴とする請求項1~3のいずれか一項に記載の電子機器。
<請求項5>
取得された前記制御プログラムの情報と前記外部の通信機器の識別情報とを対応付けて記憶する記憶部を備えることを特徴とする請求項1~4のいずれか一項に記載の電子機器。
<請求項6>
前記第1の仕様の設定は、当該第1の仕様の設定検索要求に対する応答用データに対してなされることを特徴とする請求項1~5のいずれか一項に記載の電子機器。
<請求項7>
前記第1の仕様は、前記通信機器との間で仮想シリアルポートを用いた通信を行うためのものであることを特徴とする請求項1~6のいずれか一項に記載の電子機器。
<請求項8>
請求項1~7のいずれか一項に記載の電子機器と、
当該電子機器との間で通信を行う通信機器と、
からなる通信システム。
<請求項9>
自機の制御プログラムに依存した第1の仕様に従って通信を行う第1の通信規格と、当該制御プログラムに依存しない第2の仕様に従って通信を行う第2の通信規格とにより通信が可能な通信部と、
通信動作を制御する制御部と、
を備え、
前記制御部は、
外部の通信機器から前記第2の通信規格により自機の動作制御を行っている制御プログラムの情報を要求された場合に、当該制御プログラムの情報を前記第2の通信規格により送信する
ことを特徴とする電子機器。
<請求項10>
通信接続を行う先の外部の通信機器の制御プログラムに依存した第1の仕様に従って通信を行う第1の通信規格と、当該制御プログラムに依存しない第2の仕様に従って通信を行う第2の通信規格とにより通信が可能な通信部を備える電子機器のコンピュータを、
前記第2の通信規格により前記外部の通信機器の前記制御プログラムの情報を取得し、
取得された情報に基づいて前記第1の仕様の設定を行い、
前記第1の通信規格により前記外部の通信機器との間で、設定された前記第1の仕様に応じた通信接続を行う通信制御手段として機能させることを特徴とするプログラム。
[Additional Notes]
<Claim 1>
a communication unit capable of communicating according to a first communication standard for communicating according to a first specification that depends on a control program of an external communication device to which communication is connected, and a second communication standard for communicating according to a second specification that does not depend on the control program;
A control unit for controlling a communication operation;
Equipped with
The control unit is
acquiring information on the control program of the external communication device according to the second communication standard;
setting the first specification based on the acquired information;
an electronic device that establishes a communication connection with the external communication device according to the first communication standard and in accordance with the first specification that has been set;
<Claim 2>
2. The electronic device according to claim 1, wherein the second communication standard is a communication standard that consumes less power than the first communication standard.
<Claim 3>
3. The electronic device according to claim 1, wherein the second communication standard is used for a continuous communication connection.
<Claim 4>
4. The electronic device according to claim 1, wherein the control unit is capable of acquiring data related to the first specification in communication according to the second communication standard.
<Claim 5>
5. The electronic device according to claim 1, further comprising a storage unit that stores the acquired information on the control program and identification information of the external communication device in association with each other.
<Claim 6>
6. The electronic device according to claim 1, wherein the first specification setting is performed for response data to a setting search request for the first specification.
<Claim 7>
7. The electronic device according to claim 1, wherein the first specification is for performing communication with the communication device using a virtual serial port.
<Claim 8>
An electronic device according to any one of claims 1 to 7;
A communication device that communicates with the electronic device;
A communication system consisting of:
<Claim 9>
a communication unit capable of communicating according to a first communication standard for communicating according to a first specification that is dependent on a control program of the device itself and a second communication standard for communicating according to a second specification that is independent of the control program;
A control unit for controlling a communication operation;
Equipped with
The control unit is
An electronic device characterized in that, when information about a control program that controls the operation of the electronic device using the second communication standard is requested from an external communication device, the electronic device transmits the information about the control program using the second communication standard.
<Claim 10>
A computer of an electronic device having a communication unit capable of communicating according to a first communication standard that communicates according to a first specification that depends on a control program of an external communication device to which communication is connected, and a second communication standard that communicates according to a second specification that does not depend on the control program,
acquiring information on the control program of the external communication device according to the second communication standard;
setting the first specification based on the acquired information;
A program that functions as a communication control means for establishing a communication connection between the external communication device and the first communication standard in accordance with the first specifications that have been set.

1 通信システム
100 マスタ電子機器
11 制御部
111 CPU
112 RAM
12 記憶部
121 プログラム
122 通信制御データ
13 計時回路
21 短距離無線通信部
22 電話通信部
23 無線LAN通信部
24 表示部
241 表示ドライバ
242 表示画面
25 操作受付部
30 電力供給部
31 バッテリ
500 スレイブ電子機器
51 制御部
511 CPU
512 RAM
5121 通信接続機器情報
5122 通信設定情報
52 記憶部
521 プログラム
522 通信制御データ
53 計時回路
61 短距離無線通信部
62 無線LAN通信部
63 表示部
631 表示ドライバ
632 表示画面
64 操作受付部
65 撮影部
66 発光部
67 計測部
671 加速度センサ
70 電力供給部
71 バッテリ
A1~A3、A5、A6 アンテナ
1 Communication system 100 Master electronic device 11 Control unit 111 CPU
112 RAM
12 Storage unit 121 Program 122 Communication control data 13 Timer circuit 21 Short-range wireless communication unit 22 Telephone communication unit 23 Wireless LAN communication unit 24 Display unit 241 Display driver 242 Display screen 25 Operation reception unit 30 Power supply unit 31 Battery 500 Slave electronic device 51 Control unit 511 CPU
512 RAM
5121 Communication connection device information 5122 Communication setting information 52 Memory section 521 Program 522 Communication control data 53 Timer circuit 61 Short-range wireless communication section 62 Wireless LAN communication section 63 Display section 631 Display driver 632 Display screen 64 Operation acceptance section 65 Photography section 66 Light emission section 67 Measurement section 671 Acceleration sensor 70 Power supply section 71 Batteries A1 to A3, A5, A6 Antenna

Claims (11)

第1の通信規格と、前記第1の通信規格とは異なる第2の通信規格とにより通信が可能な通信部と、
通信動作を制御する制御部と、
を備え、
前記制御部は、
前記第1の通信規格による外部の通信機器との通信に先立って、前記第2の通信規格により、前記外部の通信機器に対して前記外部の通信機器の制御プログラムの情報の送信を
要求し、
前記外部の通信機器から前記第2の通信規格により受信した前記制御プログラムの情報に基づいて、前記制御プログラムに応じた第1の仕様の設定を行い、
設定された前記第1の仕様に従って、前記第1の通信規格により前記外部の通信機器との間で通信接続を確立し、
前記第2の通信規格は、前記外部の通信機器の制御プログラムに依存しない第2の仕様に従って通信を行う通信規格である
ことを特徴とする電子機器。
a communication unit capable of communicating according to a first communication standard and a second communication standard different from the first communication standard;
A control unit for controlling a communication operation;
Equipped with
The control unit is
a communication device that transmits a control program for the external communication device to the external communication device in accordance with the second communication standard before the external communication device communicates with the external communication device in accordance with the first communication standard;
setting a first specification according to the control program based on information of the control program received from the external communication device according to the second communication standard ;
Establishing a communication connection with the external communication device using the first communication standard in accordance with the set first specifications ;
The second communication standard is a communication standard for performing communication according to a second specification that does not depend on a control program of the external communication device.
1. An electronic device comprising:
前記第1の通信規格は、前記外部の通信機器の制御プログラムに依存した第1の仕様に従って通信を行う通信規格であることを特徴とする請求項1記載の電子機器。 The electronic device according to claim 1, characterized in that the first communication standard is a communication standard that performs communication according to a first specification that depends on a control program of the external communication device. 前記第1の通信規格は、Bluetooth Classicであることを特徴とする請求項1記載の電子機器。 The electronic device according to claim 1, characterized in that the first communication standard is Bluetooth Classic. 前記第2の通信規格は、Bluetooth Low Energyであることを特徴とする請求項1記載の電子機器。 The electronic device according to claim 1, characterized in that the second communication standard is Bluetooth Low Energy. 受信した前記制御プログラムの情報と前記外部の通信機器の識別情報とを対応付けて記憶する記憶部を備えることを特徴とする請求項1に記載の電子機器。 The electronic device according to claim 1, further comprising a storage unit that stores the received control program information in association with the identification information of the external communication device. 前記第1の仕様は、前記通信機器との間で仮想シリアルポートを用いた通信を行うためのものであることを特徴とする請求項1に記載の電子機器。 The electronic device according to claim 1, characterized in that the first specification is for communicating with the communication device using a virtual serial port. 請求項1~のいずれか一項に記載の電子機器と、
当該電子機器との間で通信を行う通信機器と、
からなる通信システム。
An electronic device according to any one of claims 1 to 6 ;
A communication device that communicates with the electronic device;
A communication system consisting of:
請求項1~のいずれか一項に記載の電子機器から前記第2の通信規格により、自機の動作制御を行っている制御プログラムの情報を要求された場合に、当該制御プログラムの情報を前記第2の通信規格により送信する
ことを特徴とする通信機器。
A communication device characterized in that, when information about a control program that controls the operation of the electronic device described in any one of claims 1 to 6 is requested by the electronic device using the second communication standard, the communication device transmits information about the control program using the second communication standard.
第1の通信規格と、前記第1の通信規格とは異なる第2の通信規格とにより通信が可能な通信部を備える電子機器のコンピュータを、
前記第1の通信規格による外部の通信機器との通信に先立って、前記第2の通信規格により、前記外部の通信機器に対して前記外部の通信機器の制御プログラムの情報の送信を要求し、
前記外部の通信機器から前記第2の通信規格により受信した前記制御プログラムの情報に基づいて、前記制御プログラムに応じた第1の仕様の設定を行い、
設定された前記第1の仕様に従って、前記第1の通信規格により前記外部の通信機器との間で通信接続を確立する通信制御手段として機能させ
前記第2の通信規格は、前記外部の通信機器の制御プログラムに依存しない第2の仕様に従って通信を行う通信規格であることを特徴とするプログラム。
A computer of an electronic device having a communication unit capable of communicating according to a first communication standard and a second communication standard different from the first communication standard,
a communication device that transmits a control program for the external communication device to the external communication device in accordance with the second communication standard before the external communication device communicates with the external communication device in accordance with the first communication standard;
setting a first specification according to the control program based on information of the control program received from the external communication device according to the second communication standard ;
functioning as a communication control means for establishing a communication connection with the external communication device using the first communication standard in accordance with the first specification that has been set ;
The program , wherein the second communication standard is a communication standard for performing communication according to a second specification that is independent of a control program of the external communication device .
第1の通信規格と、前記第1の通信規格とは異なる第2の通信規格とにより通信が可能な通信部を備える電子機器により実行される方法であって、
前記第1の通信規格による外部の通信機器との通信に先立って、前記第2の通信規格により、前記外部の通信機器に対して前記外部の通信機器の制御プログラムの情報の送信を要求し、
前記外部の通信機器から前記第2の通信規格により受信した前記制御プログラムの情報に基づいて、前記制御プログラムに応じた第1の仕様の設定を行い、
設定された前記第1の仕様に従って、前記第1の通信規格により前記外部の通信機器との間で通信接続を確立することを含み、
前記第2の通信規格は、前記外部の通信機器の制御プログラムに依存しない第2の仕様に従って通信を行う通信規格である
ことを特徴とする通信制御方法。
A method executed by an electronic device having a communication unit capable of communicating according to a first communication standard and a second communication standard different from the first communication standard,
a communication device that transmits a control program for the external communication device to the external communication device in accordance with the second communication standard before the external communication device communicates with the external communication device in accordance with the first communication standard;
setting a first specification according to the control program based on information of the control program received from the external communication device according to the second communication standard ;
establishing a communication connection with the external communication device using the first communication standard in accordance with the set first specification ;
The second communication standard is a communication standard for performing communication according to a second specification that does not depend on a control program of the external communication device.
A communication control method comprising:
電子機器と通信機器とを備える通信システムにより実行される方法であって、
前記電子機器は、第1の通信規格と、前記第1の通信規格とは異なる第2の通信規格とにより通信が可能な通信部を備え、
前記通信機器は、前記電子機器との間で通信を行い、
前記電子機器は、
前記第1の通信規格による外部の通信機器との通信に先立って、前記第2の通信規格により、前記外部の通信機器に対して前記外部の通信機器の制御プログラムの情報の送信を要求し、
前記外部の通信機器から前記第2の通信規格により受信した前記制御プログラムの情報に基づいて、前記制御プログラムに応じた第1の仕様の設定を行い、
設定された前記第1の仕様に従って、前記第1の通信規格により前記外部の通信機器との間で通信接続を確立し、
前記通信機器は、
前記電子機器から前記第2の通信規格により、自機の動作制御を行っている制御プログラムの情報を要求された場合に、当該制御プログラムの情報を前記第2の通信規格により送信し、
前記第2の通信規格は、前記外部の通信機器の制御プログラムに依存しない第2の仕様に従って通信を行う通信規格である
通信システムの制御方法。
1. A method performed by a communication system comprising an electronic device and a communication device, comprising:
the electronic device includes a communication unit capable of communicating according to a first communication standard and a second communication standard different from the first communication standard;
The communication device communicates with the electronic device,
The electronic device includes:
a communication device that transmits a control program for the external communication device to the external communication device in accordance with the second communication standard before the external communication device communicates with the external communication device in accordance with the first communication standard;
setting a first specification according to the control program based on information of the control program received from the external communication device according to the second communication standard ;
Establishing a communication connection with the external communication device using the first communication standard in accordance with the set first specifications;
The communication device includes:
when the electronic device requests information about a control program that controls the operation of the electronic device using the second communication standard, the electronic device transmits the information about the control program using the second communication standard ;
The second communication standard is a communication standard for performing communication according to a second specification that does not depend on a control program of the external communication device.
A method for controlling a communication system.
JP2023012395A 2018-07-12 2023-01-31 Electronic device, communication system, communication device, program, communication control method, and communication system control method Active JP7609182B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2023012395A JP7609182B2 (en) 2018-07-12 2023-01-31 Electronic device, communication system, communication device, program, communication control method, and communication system control method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018132085A JP7222190B2 (en) 2018-07-12 2018-07-12 Electronic equipment, communication systems, communication equipment and programs
JP2023012395A JP7609182B2 (en) 2018-07-12 2023-01-31 Electronic device, communication system, communication device, program, communication control method, and communication system control method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2018132085A Division JP7222190B2 (en) 2018-07-12 2018-07-12 Electronic equipment, communication systems, communication equipment and programs

Publications (2)

Publication Number Publication Date
JP2023041786A JP2023041786A (en) 2023-03-24
JP7609182B2 true JP7609182B2 (en) 2025-01-07

Family

ID=69152354

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2018132085A Active JP7222190B2 (en) 2018-07-12 2018-07-12 Electronic equipment, communication systems, communication equipment and programs
JP2023012395A Active JP7609182B2 (en) 2018-07-12 2023-01-31 Electronic device, communication system, communication device, program, communication control method, and communication system control method

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2018132085A Active JP7222190B2 (en) 2018-07-12 2018-07-12 Electronic equipment, communication systems, communication equipment and programs

Country Status (1)

Country Link
JP (2) JP7222190B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016174348A (en) 2015-02-04 2016-09-29 カシオ計算機株式会社 Data processing system, data processing apparatus, data processing method and program
JP2017183955A (en) 2016-03-30 2017-10-05 アイシン・エィ・ダブリュ株式会社 Communication control system and communication control program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016174348A (en) 2015-02-04 2016-09-29 カシオ計算機株式会社 Data processing system, data processing apparatus, data processing method and program
JP2017183955A (en) 2016-03-30 2017-10-05 アイシン・エィ・ダブリュ株式会社 Communication control system and communication control program

Also Published As

Publication number Publication date
JP7222190B2 (en) 2023-02-15
JP2023041786A (en) 2023-03-24
JP2020010270A (en) 2020-01-16

Similar Documents

Publication Publication Date Title
US10506504B2 (en) Discovery method and an electronic device thereof
WO2022228083A1 (en) Method for establishing connection between multiple devices, and device
CN112291703A (en) System and method for establishing communications for exchanging ranging information
JP6333224B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
ES2948019T3 (en) Electronic device to reduce energy consumption and operating procedure thereof
KR102632536B1 (en) Electronic device for transmitting response message in bluetooth network environment and method thereof
KR102482670B1 (en) An electronic device for transmitting and receiving data in a wireless communication system and a method thereof
WO2022143071A1 (en) Connection establishment method and electronic device
WO2013118487A1 (en) Communication device
CN111083685A (en) Data processing system, data processing method, and storage medium
US9894253B2 (en) Portable device, communication system, communication connection method, and computer-readable recording medium
US11687332B2 (en) Communication apparatus for wirelessly communicating with another apparatus, information processing method, and program
US10659625B2 (en) Imaging device and image transfer method
US9191896B2 (en) Communication apparatus and communication control method
US10568157B2 (en) Communication apparatus that carries out communications with external apparatuses, control method therefor, and storage medium
JP2015154206A (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM
CN108370542A (en) Information processing device, information processing method and program
JP6970578B2 (en) Communication equipment and its control method, program
TW201629791A (en) Picture taking and sharing system and method
US10512111B2 (en) Electronic apparatus and control method thereof
JP7609182B2 (en) Electronic device, communication system, communication device, program, communication control method, and communication system control method
KR102911379B1 (en) Electronic device for transmitting data in bluetooth network environment and method thereof
US10798540B2 (en) Information apparatus, communication apparatus, and communication method for information apparatus
CN115884140A (en) Cross-device connection method, electronic device, and storage medium
EP4362507B1 (en) Communication system and communication method for sending projection requests

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230301

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230301

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240604

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240801

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20241202

R150 Certificate of patent or registration of utility model

Ref document number: 7609182

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150