WO2018008109A1 - Dispositif usb - Google Patents
Dispositif usb Download PDFInfo
- Publication number
- WO2018008109A1 WO2018008109A1 PCT/JP2016/070017 JP2016070017W WO2018008109A1 WO 2018008109 A1 WO2018008109 A1 WO 2018008109A1 JP 2016070017 W JP2016070017 W JP 2016070017W WO 2018008109 A1 WO2018008109 A1 WO 2018008109A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- usb
- behavior
- usb device
- bus reset
- usb host
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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
Definitions
- the present invention relates to a USB device that can be connected to a USB host.
- USB Universal Serial Bus
- An example of the USB device is a USB connectable keyboard, and an example of the USB host is a PC (personal computer).
- various signals can be transmitted from the keyboard to the PC by USB connection to the PC.
- USB devices can be connected to various types of USB hosts.
- Some of them can be connected.
- the OS information of the PC serving as the USB host is not exchanged within the rules of the USB configuration, and the OS of the USB host cannot be confirmed from the USB device side.
- the USB device in order to cause the USB device to transmit a signal suitable for each OS, it is necessary to perform a setting operation in advance by the user, but such a setting operation is troublesome.
- the OS of the USB host is determined by analyzing a message from the USB host, but complicated processing is required for analyzing the message. For this reason, in the prior art, complicated processing is required to change the behavior of the USB device in accordance with the type of the USB host.
- the present invention has been made in view of such circumstances, and provides a USB device capable of changing the behavior of a USB device in accordance with the type of the USB host with a simple process.
- a USB device that is connectable to a USB host and includes a control unit that controls the behavior of the USB device based on the behavior of the bus reset by the USB host.
- the present inventor analyzed the bus reset behavior of various USB hosts and found that the bus reset behavior may differ depending on the type of USB host. Then, by using the difference in the behavior of the bus reset, it has been found that the behavior of the USB device can be changed according to the type of the USB host with a simple process, and the present invention has been completed.
- the bus reset behavior includes bus reset pulses such as the number of bus reset pulses, the interval between bus reset pulses, the width of the bus reset pulse, and the time from when Bus_Vcc becomes Hi until the bus reset pulse is output. Any relevant parameters can be mentioned.
- the behavior control is performed based on whether there are two or more bus reset pulses within a predetermined time.
- the control unit determines the model of the USB host based on the behavior of the bus reset, and controls the behavior of the USB device based on the determination result.
- the control unit determines the type of OS of the USB host based on the behavior of the bus reset, and controls the behavior of the USB device based on the determination result.
- the behavior control includes changing a signal transmitted from the USB device to the USB host.
- the signal is a control signal for controlling an operation mode of the USB host.
- the operation mode includes shutdown, sleep, lock and return of the USB host.
- the USB device is an HID device.
- the HID device is configured to generate a key code.
- the HID device is configured to generate pointer information.
- the behavior of the bus reset when the USB host is a PC with a Windows OS is shown, (a) shows the behavior when the PC is activated, and (b) shows the behavior when the USB device is connected.
- the USB host is a Mac OS-equipped PC
- the behavior of bus reset is shown, (a) shows the behavior when the PC is started, and (b) shows the behavior when the USB device is connected.
- the USB device is the monitor 1 and the USB host is the PC 3.
- the monitor 1 and the PC 3 are connected by a video signal cable 5 such as an HDMI cable, and the video signal from the PC 3 is transmitted to the monitor 1 so that the video is displayed on the monitor 1.
- the monitor 1 and the PC 3 are connected by USB via the USB cable 7, and the display setting of the monitor 1 is changed by a control signal from the PC 3 or the operation mode (shutdown, (Sleep, lock, and return) can be controlled.
- the descriptor of the monitor 1 describes that it is a composite device of the monitor class and the keyboard class, so that the PC 3 recognizes that the monitor 1 is both the monitor class and the keyboard class.
- the monitor 1 and the PC 3 include storage units 1a and 3a that store various data and programs, and control units 1b and 3b that perform various controls according to the programs. Communication by USB connection is performed under the control of the control units 1b and 3b.
- the control unit 1b analyzes the behavior of the bus reset by the USB host (PC3), and controls the behavior of the USB device (monitor 1) based on the analysis result.
- USB standard stipulates that the USB host resets the bus when the USB host detects the connection of the USB device.
- the bus reset is performed when the USB host sends a signal for setting both the data lines + D and ⁇ D to a low level of 10 mS or more to the USB device.
- FIGS. 3 to 4 show Bus_Vcc and + D, ⁇ D AND logic outputs when the PC 3 is started up and when the monitor 1 is connected to the PC 3.
- bus reset pulse the locations where the AND logic outputs of + D and ⁇ D are Low are pulses that make both + D and ⁇ D low (hereinafter “bus reset pulse”) w1 to w5 and m1.
- M3 are output from the USB host to the USB device.
- the lengths of the bus reset pulses w1 to w5 and m1 to m3 were 10 mS or more.
- the results shown in FIGS. 3 to 4 are obtained by connecting a USB device with a Full-Speed setting.
- the bus reset pulse w1 is activated when the activation program mounted on the ROM of the motherboard such as BIOS or EFI is activated. Is output once, and then the bus reset pulses w2 and w3 are output with a predetermined interval S1 when the Windows OS is started.
- the interval S1 between the bus reset pulses w2 and w3 was several tens of milliseconds to hundreds of tens of milliseconds, and was 0.5 seconds or less. Note that the bus reset pulse w1 may not be output depending on the OS version and the type of PC.
- bus reset pulses w4 and w5 are output with a predetermined interval S2 as shown in FIG. 3B.
- the interval S2 is substantially the same as the interval S1, and is several tens of mS to several tens of mS, and is 0.5 seconds or less. In other words, it was confirmed that the bus reset pulse was output twice at intervals of 0.5 seconds or less when the Windows OS-based PC was started up and when the USB device was connected.
- the bus reset pulse m1 is set to 1 when the activation program installed in the ROM of the motherboard such as EFI is activated. After that, the bus reset pulse m2 was output once when the Mac OS was started. The interval S3 between the bus reset pulses m1 and m2 was 1 second to several seconds. Depending on the OS version and the type of PC, the bus reset pulse m1 may not be output.
- the bus reset pulse m3 is output once as shown in FIG. 4B. In other words, one or two bus reset pulses are output when a Mac OS-equipped PC is started and a USB device is connected, and if two bus reset pulses are output, the interval must be 1 second or longer. Was confirmed.
- the bus reset behavior differs between the Windows OS-installed PC and the Mac OS-installed PC both when the OS is started and when the device is connected. For this reason, by analyzing the behavior of the bus reset, it is possible to determine whether the USB host is a Windows OS-installed PC or a Mac OS-installed PC. As a determination method, the following method is exemplified. (1) Judged by the interval of the bus reset pulse when the OS is started. If it is less than a predetermined reference value (for example: 0.5 seconds), it is a Windows OS-based PC. (2) Determined by the number of bus reset pulses when the device is connected. A Mac OS-equipped PC for one time and a Windows OS-based PC for twice.
- a predetermined reference value for example: 0.5 seconds
- the USB device can discriminate between the Windows OS-based PC and the Mac OS-based PC based on the bus reset behavior, and, as will be described later, according to the type of the USB host.
- the behavior can be changed as appropriate.
- the OS is determined by analyzing a message from the USB host, but the message analysis requires complicated processing. For this reason, in the prior art, complicated processing is required to change the behavior of the USB device in accordance with the type of the USB host.
- the OS is determined based on the behavior of the bus reset, and such determination is easily performed by detecting each output (or AND logic output) of + D and ⁇ D. be able to. This output can be detected by a simple voltage detection circuit.
- the OS can be discriminated by detecting the number and interval of bus reset pulses based on the detected voltage. Since such an OS discrimination method is much simpler than the conventional technique, according to the present embodiment, the behavior of the USB device can be changed according to the type of the USB host with a simple process. In this embodiment, since the bus reset behavior, which is a specification required by the USB standard, is used, it is possible to determine the type of the USB host without installing a special driver or application in the USB host. There is also an advantage.
- the USB device (monitor 1) transmits a control signal for controlling the operation mode (shutdown, sleep, lock, and recovery) of the USB host (PC3) to the USB host, thereby Control the operation mode.
- the control signal include shortcut key commands corresponding to the type of USB host.
- the shortcut key command for setting the PC to the locked state is “Windows logo key + L” in the Windows OS, and “Shift + CTRL + Power” in the Mac OS.
- the human sensor OFF function is designed to save energy when the operator leaves the front of the monitor for the purpose of saving energy when the worker is temporarily away from the monitor. This is a function to turn off.
- the PC is put into sleep or shutdown in conjunction with the power off of the monitor, it takes time until the screen returns when the operator returns to the seat.
- the screen password lock command is suitable. Therefore, when the monitor is turned off due to the detection of the worker leaving by the human sensor, a control signal for locking the PC is transmitted from the monitor to the PC. Since this control signal differs depending on the type of OS, the operation mode of the PC can be shifted to the locked state by transmitting a control signal corresponding to the OS type.
- the secondary power supply is turned off most when the worker leaves the seat for a relatively long time. In this case, it is desirable in terms of energy saving to transmit a command for setting the sleep mode in which the screen returns relatively quickly when the operator returns while reducing the power consumption of the PC.
- the shutdown it is necessary to save the document being worked on, and if there is an unsaved document, the shutdown is interrupted, which is not preferable in this scene. Therefore, when the monitor is turned off by the secondary power switch, a control signal for setting the PC to the sleep mode is transmitted from the monitor to the PC. Since this control signal differs depending on the type of OS, the operation mode of the PC can be shifted to the sleep state by transmitting a control signal corresponding to the OS type.
- the primary power switch is turned off when the highest level of power saving is required in the office, such as when the worker goes away from home on a trip or on a business trip. , Sends a PC shutdown command.
- the monitor is turned off by the primary power switch, a control signal for shutting down the PC is transmitted from the monitor to the PC. Since this control signal varies depending on the type of OS, the PC can be shut down by transmitting a control signal corresponding to the OS type.
- the type of the USB host is determined based on the behavior of the bus reset by the USB host, and the behavior of the USB device is controlled based on the determination result.
- the USB device can be appropriately operated according to the type of the USB host with a simple process without setting the type of the host in advance.
- the present invention can also be implemented in the following modes.
- behavior control of the USB device control of a signal transmitted from the USB device to the USB host has been described.
- behavior control of the USB device control that does not involve transmission of a signal to the USB host.
- the behavior of the USB device itself may be controlled according to the type of the USB host.
- Examples of the behavior of the USB device itself include control of a display unit provided in the USB device. Specifically, when the USB host is a Windows OS-installed PC, a mark indicating that is displayed on the USB device, and when the USB host is a Mac OS-installed PC, a mark indicating that is displayed. The control to display is mentioned.
- the monitor is exemplified as the USB device, but the USB device may be any device capable of behavior control according to the type of the USB host.
- the USB device may be, for example, any HID device (a monitor, a keyboard, a mouse, a touch pad, a touch panel, etc.).
- HID device a device that generates a key code or a device that generates pointer information is preferable.
- the Windows OS PC and the Mac OS PC are listed as the USB host type, but the USB host type may be a manufacturer type or a motherboard type.
- the behavior of the bus reset of the PC with the Windows OS is as described in the above embodiment, but the time from when the PC is activated until Bus_Vcc becomes Hi until the bus reset pulses w1, w2, and w3 are output.
- the time from when the USB device is connected and Bus_Vcc becomes Hi until the bus reset pulses w4 and w5 are output may vary depending on the manufacturer type and the motherboard type.
- the USB device behavior control is performed based on the determination result.
- the USB device behavior control may be performed based on the bus reset behavior without performing the determination.
- a predetermined reference value for example: 0.5 seconds
- the first shortcut key command is transmitted and exceeds the predetermined reference value.
- the second shortcut key command may be transmitted.
- the USB device does not determine the type of the USB host, performs the first behavior when the bus reset behavior satisfies a predetermined condition, and performs the second behavior when it does not satisfy the predetermined condition. Is supposed to behave. According to such control, it is possible to appropriately control the behavior of the USB device by setting the predetermined condition and the first and second behaviors in advance.
- a PC is exemplified as a USB host.
- the USB host may be any electronic device other than a PC that can be connected by USB.
- the USB host is a device such as a digital camera or a smartphone (mobile terminal)
- the number and timing of the bus reset can be arbitrarily set.
- the monitor recognizes that the USB host is a specific model from the detection result of the bus reset output from the USB host, and matches the model. It can be said that the color table is read and displayed.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Systems (AREA)
Abstract
L'invention concerne un dispositif USB capable de modifier, par l'intermédiaire d'un processus simple, un comportement du dispositif USB selon le type d'un hôte USB. La présente invention concerne un dispositif USB qui peut être connecté à un hôte USB et qui comporte une unité de commande qui commande un comportement du dispositif USB sur la base d'un comportement de réinitialisation de bus effectué par l'hôte USB.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2016/070017 WO2018008109A1 (fr) | 2016-07-06 | 2016-07-06 | Dispositif usb |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2016/070017 WO2018008109A1 (fr) | 2016-07-06 | 2016-07-06 | Dispositif usb |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018008109A1 true WO2018008109A1 (fr) | 2018-01-11 |
Family
ID=60921580
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2016/070017 Ceased WO2018008109A1 (fr) | 2016-07-06 | 2016-07-06 | Dispositif usb |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2018008109A1 (fr) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114077450A (zh) * | 2020-08-11 | 2022-02-22 | 夏普株式会社 | 电子设备、控制方法以及记录介质 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005018696A (ja) * | 2003-06-30 | 2005-01-20 | Tanita Corp | データ伝送装置、データ伝送装置搭載の記憶装置、及びデータ伝送装置搭載の記憶装置を備えた生体情報取得装置 |
JP2005346209A (ja) * | 2004-05-31 | 2005-12-15 | Canon Inc | 電子機器及びそのインターフェース制御方法 |
JP2012003470A (ja) * | 2010-06-16 | 2012-01-05 | Fujitsu Semiconductor Ltd | 通信方法及びデバイス装置 |
-
2016
- 2016-07-06 WO PCT/JP2016/070017 patent/WO2018008109A1/fr not_active Ceased
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005018696A (ja) * | 2003-06-30 | 2005-01-20 | Tanita Corp | データ伝送装置、データ伝送装置搭載の記憶装置、及びデータ伝送装置搭載の記憶装置を備えた生体情報取得装置 |
JP2005346209A (ja) * | 2004-05-31 | 2005-12-15 | Canon Inc | 電子機器及びそのインターフェース制御方法 |
JP2012003470A (ja) * | 2010-06-16 | 2012-01-05 | Fujitsu Semiconductor Ltd | 通信方法及びデバイス装置 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114077450A (zh) * | 2020-08-11 | 2022-02-22 | 夏普株式会社 | 电子设备、控制方法以及记录介质 |
JP7444728B2 (ja) | 2020-08-11 | 2024-03-06 | シャープ株式会社 | 電子機器、制御方法、及びプログラム |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10884479B2 (en) | Display device, computer system and method of managing the operating states of a computer system | |
KR102044898B1 (ko) | 절전모드시의 usb 디바이스의 접속 감지 방법 및 이를 수행하기 위한 화상형성장치 | |
US20150138094A1 (en) | Electronic apparatus, docking apparatus, controlling method thereof, and computer-readable recording medium | |
US20090210608A1 (en) | KVM switch and operation method thereof | |
CN103164117A (zh) | 外部操作设备、电子装置及其延时锁屏方法 | |
TW201339898A (zh) | 可應用於不同作業系統之鍵盤裝置 | |
CN101539897B (zh) | 多计算机切换装置及其运行方法 | |
JP2018523861A (ja) | 電子デバイス、入出力装置、およびその使用方法 | |
KR101195520B1 (ko) | 모바일 단말을 원격 제어하는 방법 및 장치 | |
CN104731734B (zh) | 一种终端信号的输出方法和装置 | |
US6523111B1 (en) | Remote configuration/setup of computer systems operated as embedded controllers without keyboard or video display resources | |
CN103677372A (zh) | 触控显示方法及其电子装置 | |
US20150149677A1 (en) | Hot plugging system and method | |
WO2018008109A1 (fr) | Dispositif usb | |
CN117632816A (zh) | 外部设备接入智能终端的方法和电子设备 | |
CN103677373A (zh) | 触控显示方法及其电子装置 | |
US7890678B2 (en) | Portable computer having auxiliary IO apparatus and system setup method thereof | |
US20070067566A1 (en) | External storage device for controlling computer and method thereof | |
TWI510925B (zh) | 可偵測被控電腦狀態之遠端管理裝置 | |
US10139886B2 (en) | Input module | |
CN105446903A (zh) | 一种信息处理方法及电子设备 | |
KR102417186B1 (ko) | 노트북 컴퓨터의 동작 방법 | |
JP2018084865A (ja) | 表示制御装置、および表示システム | |
TWI765665B (zh) | 作業系統識別方法與使用該方法之電子裝置 | |
CN101261535A (zh) | 具有电源控制的摄影机的计算机及摄影机的电源控制方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16908153 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
NENP | Non-entry into the national phase |
Ref country code: JP |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16908153 Country of ref document: EP Kind code of ref document: A1 |