JP2021140609A - 電子機器及びプログラム - Google Patents
電子機器及びプログラム Download PDFInfo
- Publication number
- JP2021140609A JP2021140609A JP2020039312A JP2020039312A JP2021140609A JP 2021140609 A JP2021140609 A JP 2021140609A JP 2020039312 A JP2020039312 A JP 2020039312A JP 2020039312 A JP2020039312 A JP 2020039312A JP 2021140609 A JP2021140609 A JP 2021140609A
- Authority
- JP
- Japan
- Prior art keywords
- class
- host device
- processing
- host
- control unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000012545 processing Methods 0.000 claims abstract description 88
- 238000004891 communication Methods 0.000 claims abstract description 20
- 238000000034 method Methods 0.000 claims description 21
- 230000008569 process Effects 0.000 claims description 18
- 230000008859 change Effects 0.000 claims description 7
- 239000010750 BS 2869 Class C2 Substances 0.000 description 21
- 238000010586 diagram Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 10
- 239000010749 BS 2869 Class C1 Substances 0.000 description 8
- 230000004048 modification Effects 0.000 description 7
- 238000012986 modification Methods 0.000 description 7
- 230000004044 response Effects 0.000 description 7
- 230000010365 information processing Effects 0.000 description 5
- 230000015654 memory Effects 0.000 description 4
- 230000002093 peripheral effect Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 238000012546 transfer Methods 0.000 description 2
- 230000003936 working memory Effects 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
- 238000004886 process control Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000007723 transport mechanism Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/10—Program control for peripheral devices
- G06F13/12—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
- G06F13/124—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware is a sequential transfer control unit, e.g. microprocessor, peripheral processor or state-machine
- G06F13/126—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware is a sequential transfer control unit, e.g. microprocessor, peripheral processor or state-machine and has means for transferring I/O instructions and statuses between control unit and main processor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/382—Information transfer, e.g. on bus using universal interface adapter
- G06F13/385—Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4247—Bus transfer protocol, e.g. handshake; Synchronisation on a daisy chain bus
- G06F13/426—Bus transfer protocol, e.g. handshake; Synchronisation on a daisy chain bus using an embedded synchronisation, e.g. Firewire bus, Fibre Channel bus, SSA bus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
- G06F13/4295—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus using an embedded synchronisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0042—Universal serial bus [USB]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4411—Configuring for operating with peripheral devices; Loading of device drivers
- G06F9/4413—Plug-and-play [PnP]
- G06F9/4415—Self describing peripheral devices
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Computer Security & Cryptography (AREA)
- Information Transfer Systems (AREA)
Abstract
Description
本変形例では、前回のエニュメレーションでメッセージの送信が確認されたデバイスクラスを、次回以降の処理で優先的に選択させる形態について説明する。
上述した実施形態では、ホスト装置10からメッセージが送信されたことを条件に、エニュメレーションが正常に完了したと判断し、デバイスクラスの確定を行う形態を説明した。しかしながら、ホスト装置10に導入されたデバイスドライバ141によっては、電子機器20のデバイスクラスに対応していないにも関わらず、そのデバイスクラスに適合したメッセージを送信する場合がある。
上述の実施形態では、ホスト装置10と電子機器20とをUSBケーブルWで接続する形態を説明したが、これに限らず、ホスト装置10と電子機器20とを直接接続する形態としてもよい。
10 ホスト装置
20 電子機器
201 エニュメレーション処理部
202 処理制御部
Claims (6)
- ホスト装置と接続可能な接続部と、
複数種類のデバイスクラスを記憶する記憶部と、
前記記憶部に記憶されたデバイスクラスの中から一のデバイスクラスを選択的に用いて、前記接続部に接続された前記ホスト装置との間で通信を確立するための処理を実行する処理部と、
選択された前記デバイスクラスに適合するメッセージが前記ホスト装置から送信されない場合、前記処理部が前記処理に使用する前記デバイスクラスを変更する処理制御部と、
を備える電子機器。 - 前記処理制御部は、前記デバイスクラスの変更に先駆けて、前記接続部と前記ホスト装置との接続を切断し、前記デバイスクラスの変更後、前記接続部とホスト装置とを再度接続させる請求項1に記載の電子機器。
- 前記処理制御部は、前回の処理で前記ホスト装置から前記メッセージが送信されたデバイスクラスを、次回以降の処理で前記処理部に優先的に選択させる請求項1又は2に記載の電子機器。
- 前記処理制御部は、前記デバイスクラスを変更した回数が所定回数に達した場合に報知を行う請求項1〜3の何れか一項に記載の電子機器。
- 前記処理制御部は、前記ホスト装置から前記メッセージが送信された場合であっても、前記ホスト装置との通信を確立できない場合には、前記デバイスクラスを変更する請求項1〜4の何れか一項に記載の電子機器。
- ホスト装置と接続可能な接続部を備える電子機器のコンピュータを、
複数種類のデバイスクラスの中から一のデバイスクラスを選択的に用いて、前記接続部に接続された前記ホスト装置との間で通信を確立するための処理を実行する処理手段と、
選択された前記デバイスクラスに適合するメッセージが前記ホスト装置から送信されない場合、前記処理手段が前記処理に使用する前記デバイスクラスを変更する処理制御手段と、
して機能させるためのプログラム。
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020039312A JP2021140609A (ja) | 2020-03-06 | 2020-03-06 | 電子機器及びプログラム |
US17/083,339 US11194590B2 (en) | 2020-03-06 | 2020-10-29 | Electronic apparatus and method |
CN202110135997.1A CN113360434A (zh) | 2020-03-06 | 2021-02-01 | 电子设备和存储介质 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020039312A JP2021140609A (ja) | 2020-03-06 | 2020-03-06 | 電子機器及びプログラム |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2024066349A Division JP2024086912A (ja) | 2024-04-16 | 電子機器及びプログラム |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2021140609A true JP2021140609A (ja) | 2021-09-16 |
Family
ID=77524604
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2020039312A Pending JP2021140609A (ja) | 2020-03-06 | 2020-03-06 | 電子機器及びプログラム |
Country Status (3)
Country | Link |
---|---|
US (1) | US11194590B2 (ja) |
JP (1) | JP2021140609A (ja) |
CN (1) | CN113360434A (ja) |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4406709B2 (ja) | 2004-12-24 | 2010-02-03 | ソニー株式会社 | Usb周辺装置及びそのデバイスクラスの選択方法 |
US20080126628A1 (en) * | 2006-11-29 | 2008-05-29 | Sony Ericsson Mobile Communications Ab | Methods, devices and computer program products for automatically providing an alternate usb configuration of a usb compliant peripheral device for exposure to a host computer |
US10579566B2 (en) * | 2017-04-28 | 2020-03-03 | Square, Inc. | Point of sale device with switchable internal connection roles |
-
2020
- 2020-03-06 JP JP2020039312A patent/JP2021140609A/ja active Pending
- 2020-10-29 US US17/083,339 patent/US11194590B2/en active Active
-
2021
- 2021-02-01 CN CN202110135997.1A patent/CN113360434A/zh active Pending
Also Published As
Publication number | Publication date |
---|---|
US20210279071A1 (en) | 2021-09-09 |
US11194590B2 (en) | 2021-12-07 |
CN113360434A (zh) | 2021-09-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7634670B2 (en) | Communication apparatus and method of controlling same | |
US10108383B2 (en) | Communication device communicating target data with external device according to near field communication | |
JPWO2005001701A1 (ja) | スレイブ装置、通信設定方法 | |
JP2007109251A (ja) | Usbホストの役割をする上流の周辺機器 | |
US9924058B2 (en) | Information processing apparatus that controls power supply to different destinations, method of controlling the same, and storage | |
JP2008165533A (ja) | Usb装置、その制御方法及びそのプログラム | |
US20210019098A1 (en) | Information processing apparatus | |
US20180317181A1 (en) | Information processing apparatus and information processing method | |
JP2008293181A (ja) | 情報処理装置および情報処理方法 | |
US11825053B2 (en) | Information processing apparatus, control method, and storage medium for updating a program | |
JP2021140609A (ja) | 電子機器及びプログラム | |
US20150281370A1 (en) | Apparatus, communication control system, and communication control method | |
JP2007088726A (ja) | デバイス、無線lan設定システムおよび無線lan設定方法 | |
JP6379932B2 (ja) | 画像記録装置及びプログラム | |
JP2024086912A (ja) | 電子機器及びプログラム | |
US9794442B2 (en) | Communication apparatus, control method, and storage medium | |
US10638528B2 (en) | Communication apparatus, method of controlling communication apparatus, and storage medium, for establishing communication link | |
US20120057185A1 (en) | Image forming apparatus and method of forming image thereof | |
JP2005115427A (ja) | コンピュータにローカル接続される周辺装置 | |
JP2006244057A (ja) | Usb機器及びその制御方法、並びにプログラム | |
US20080055631A1 (en) | Wireless communication device, computer readable medium storing wireless communication program, wireless communication system, image formation device, and computer readable medium storing control program for image formation device | |
JP2004110145A (ja) | Usbコネクタ接続装置、usbコネクタ接続方法、usbコネクタ接続プログラムおよびusb接続プログラムを記録した媒体 | |
JP2012053648A (ja) | 多機能装置および多機能装置の制御方法 | |
KR102509982B1 (ko) | Usb 인식 장치 및 방법, 그리고 이를 위한 리더의 동작 방법 | |
US10235311B2 (en) | Data acquisition system, electronic device, and data acquisition terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20230124 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20231020 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20231024 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20231222 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20240116 |