[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN101105710A - USB apparatus control device and method - Google Patents

USB apparatus control device and method Download PDF

Info

Publication number
CN101105710A
CN101105710A CNA2006100288457A CN200610028845A CN101105710A CN 101105710 A CN101105710 A CN 101105710A CN A2006100288457 A CNA2006100288457 A CN A2006100288457A CN 200610028845 A CN200610028845 A CN 200610028845A CN 101105710 A CN101105710 A CN 101105710A
Authority
CN
China
Prior art keywords
usb device
control
mentioned
usb
power supply
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
Application number
CNA2006100288457A
Other languages
Chinese (zh)
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.)
LG Electronics Kunshan Computer Co Ltd
Original Assignee
LG Electronics Kunshan 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 LG Electronics Kunshan Computer Co Ltd filed Critical LG Electronics Kunshan Computer Co Ltd
Priority to CNA2006100288457A priority Critical patent/CN101105710A/en
Publication of CN101105710A publication Critical patent/CN101105710A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

The invention relates to a USB equipment control device and a method; the USB equipment control device is a power control of the USB equipment and controls the power supply of the USB equipment through USB connection; the USB equipment control device comprises a power swift part which controls the open/close of power supply of the USB equipment through controlling signals, a data monitoring part monitoring whether data is transmitted between the USB equipments, a keyboard input part sensing the keystroke input of the power control of the USB equipment and a control part which controls the power swift part and hence controls the power of the USB equipment according to the signals input by the data monitoring part and the keyboard input part. Based on USB connection, the invention can control the open/close of the power supply of the USB equipment when maintains USB connection condition.

Description

USB device control device and method
Technical field
The present invention relates to the control of USB (Universal Serial Bus: universal serial bus structural, hereinafter to be referred as USB) equipment, especially relate to the USB device control device and the method for power supply that can control linkage USB device on computers.
Background technology
USB is a kind of as serial port, is to be similar to audio player operating rod, keyboard, phone, the peripheral equipment of scanner and printer etc. and the plug and play interface of intercomputer.
Though the principle of USB is identical with serial port, and is faster than serial port, connect easyly, to support to link to each other the data rate of 12Mbps with peripheral equipment, the speed that uses is considerable, 127 devices can be connected use as chain at most.
In addition, USB connects in the middle of computed process also can be sensed, has to add the advantage of peripheral equipment with power supply in addition.
So, under the situation about being connected with the form of USB device as the scanner of the peripheral equipment of computing machine and printer etc., do not have other power supply sign indicating number, but self powers, because very easy to use, so the peripheral equipment that will have USB interface from now on is and increases trend.
Fig. 1 is the pattern diagram that common USB equipment is connected with intercomputer.
With reference to Fig. 1, USB device 120 has the USB connector, utilizes the USB connecting line that it is connected with the USB port 111 of computing machine 110.
110 pairs in computing machine has been made USB device 120 that USB connects by plug and play (Plug and Play) sensing, and the power supply power supply under the situation of the operation of computing machine 110, can be used as a kind of peripheral equipment.
But, in the prior USB connected mode, do not have USB device 120 self to control the method for power supply, under the USB connection status, be connected with computing machine 110, during computing machine 110 electric power startings, no matter whether USB device 120 is used, and power supply is in the state of power supply all the time.
That is, when wanting to close the power supply of USB device 120, just can only take to withdraw from the method that USB connects.
So, when not using USB device 120, the power supply that power supply is still unnecessary, not only can cause power wastage, simultaneously, own for USB device 120, owing in the cause that still is not in opening between the operating period, also can exist shorten serviceable life, or increase the problem of problem probability of happening.
Summary of the invention
The present invention proposes for addressing the above problem just, and purpose provides a kind ofly can control the USB device control device and the method for carrying out the power supply of the USB device that USB is connected with computing machine on computers.To achieve these goals, USB device control device of the present invention, be to connect by USB (Universal SerialBus), the device of the power supply power supply of control USB device, be made of following several parts: by control signal, control is to the power switch portion of the electric power starting of above-mentioned USB device power supply/close; Monitor whether exist and above-mentioned USB device between the data monitoring portion of the data transmission of carrying out; The keyboard input part of the button input of the power supply control of the above-mentioned USB device of sensing; And, control above-mentioned power switch portion, thereby control the control part of the power supply of above-mentioned USB device according to signal from the input of above-mentioned data monitoring portion and keyboard input part.Thus, rely on USB to connect, under the situation about not withdrawing from, promptly can control electric power starting to the USB device power supply/close keeping the USB connection status.In addition, to achieve these goals, USB device control method of the present invention is to connect by USB (UniversalSerial Bus), the method of the power supply of control USB device power supply comprises following step: (a) step that the data transmission of carrying out the USB device that USB connects is monitored; (b), cut off step to the power supply of above-mentioned USB supply according to above-mentioned supervision result; And (c) the data transmission intention of the above-mentioned USB device of sensing, provide power supply to above-mentioned USB device, the step that data transmission is carried out.
Described USB device control device of the present invention and method can be carried out USB with computing machine and be connected under the situation not removing, and control on computers and computing machine carry out the electric power starting of the device that USB is connected/close.
Effect of the present invention:
Aforesaid USB device control device of the present invention and method; USB device is connected the situation of powering with computing machine under; not withdrawing from USB connects; because the user can be according to the wish powered-down of oneself; so not only can protect the not USB device between the operating period, also have the effect that can prevent unnecessary power wastage.
For further specifying above-mentioned purpose of the present invention, design feature and effect, the present invention is described in detail below with reference to accompanying drawing.
Description of drawings
Fig. 1 is the connection mode synoptic diagram of common USB equipment and intercomputer;
Fig. 2 is the structure piecemeal synoptic diagram of USB device control device in the embodiments of the invention;
Fig. 3 is a USB device control method operation flow sheet in the embodiments of the invention;
Embodiment
Embodiment to USB device control device and method is elaborated below with reference to accompanying drawings.
But, in explanation of the present invention, saved well-known part in the prior art, will not be described in detail at this.
Fig. 2 is the structure piecemeal synoptic diagram of USB device control device in the embodiments of the invention.
With reference to Fig. 2,220 of the USB port of USB device 120 and computing machine 210 are carried out USB by the USB connecting line and are connected, and computing machine 210 comprises the control part 211 of the power supply of controlling USB device 120; Monitor the data monitoring portion 212 that carries out data transmission with USB device that whether exists by above-mentioned USB port 220; Accept the keyboard input part 213 of the button input of the power supply of closing above-mentioned USB device 120 defined by the user.
At this moment, aforementioned calculation machine 210 includes the multiple functional block of object computer function, and the other parts in embodiments of the invention the necessary functional block here will not be described in detail.
At this moment, above-mentioned USB port 220 comprises the control signal according to the control part 211 of aforementioned calculation machine 210, can control the power switch portion 221 of electric power starting to USB device 120 power supply/close.
Control part 211 within a certain period of time, data are passed through USB port 220 in the absence of 120 transmission of USB device, perhaps by set the keyboard input part 213 of powered-down in advance by the user, receive under the situation of button input, the control signal of the power switch 221 of the power supply of closing USB device 120 is controlled in output.
What carry out the supervision that whether there is data transmission in the above-mentioned certain hour is data monitoring portion 212, and accepting is keyboard input part 213 by the button input of user's powered-down.
To the button of the powered-down of above-mentioned keyboard input part 213 inputs, keyboard by computing machine or Genius mouse menu etc. are set in advance, and the user also can arbitrarily change.
Aforementioned calculation machine 210 when being connected to USB device 120 on the USB port 220 by the USB connecting line, relies on plug-and-play feature, and computing machine 210 can sensing and used corresponding USB device 120.
At this moment, power to USB device 120 by the USB connecting line that is connected with USB port 220.
The data monitoring portion 212 of aforementioned calculation machine 210 to whether having data transmission to monitor, in set certain hour, in the absence of data transmission, gives control part 211 with this advisory by USB port 220.
The information that does not have data transmission in the certain hour of control part 211 according to data monitoring portion 212 notices, the control signal that is used for powered-down to power switch portion 221 outputs of USB port 220, control signal according to above-mentioned control part 211, power switch portion 221 closes the power pack that is connected on the USB connecting line, cuts off the power supply to USB device 120 power supplies.
Above-mentioned power switch portion 221 is connected the power pack in the coupling bar of USB connecting line and connected USB port 220, according to the operation of switch, can make power supply be able to On/Off, can use TR (Transistor transistor) or mechanical switch at this.
Under the cut state of power supply, the user wants to use corresponding USB device 120, and control part 211 makes USB device 120 power to power switch portion 221 output control signals, promptly can use corresponding USB device 120.
In addition, for not according to the transmission whether data are arranged by the power supply of user's intention control USB device 120, in the input media of keyboard that is similar to computing machine 210 or Genius mouse etc., the hot key or the interface menu of USB device power supply closed in additional setting, and under the situation with its input, keyboard input part 213 is notified to control part 211 according to the signal of input with it, so control part 211 can be controlled the power switch portion 221 to USB device 120 power supplies.
Fig. 3 is the operation flow sheet of USB device control method in the embodiments of the invention.
Step 301, with reference to Fig. 3, in computing machine 210, when being connected USB device 120 on the USB port 220 by the USB connecting line, computing machine 210 relies on plug-and-play feature, senses USB device 120, carries out spendable register.
The sensing of above-mentioned USB device 120 and login can realize by common well-known technology, will not be described in detail at this.
Simultaneously, under USB device 120 and the state that computing machine 210 is connected, in 210 in USB device 120 and computing machine, do not have within a certain period of time under the situation of data transmission, the data monitoring portion 212 of computing machine 210 makes the judgement that is not used in the certain hour, and judged result is notified to control part 211.
Step 302 judges whether USB device 120 is not used within a certain period of time.
Step 304, step 305, control part 211 are under the situation that USB device 120 is not used within a certain period of time, and the power switch portion 221 output control signals to USB port 220 make power-off.
Step 303, step 304, step 305, in addition, the situation that does not have data transmission in the non-certain hour, that is, under the fixed state of user, when the button that the input user has set in advance requires powered-down, keyboard input part 213 is accepted the button input, and notice control part 211, control part 211 control power switch portions 221 cut off the power supply to USB device 120 power supplies.
Step 306, step 307, simultaneously, there is not data transmission in the aforesaid certain hour, perhaps import the button of powered-down and the power supply of USB device 120 is under the closed condition by the user, when wanting to use USB device 120, control part 211 control power switch portions 221 make power supply begin power supply.
Step 308, step 309, along with the power supply of power supply, during USB device 120 operations, computing machine 210 sensings are connected and login with USB device, and USB device can be used.
According to said process, in the user is long-time, do not use under the situation of USB device 120, automatic or manual is power-off, when wanting to use, power-on again.So can prevent unnecessary waste electric power, also can solve USB device 120 because of the issuable problem of unnecessary power-on.
USB device control device and method in the embodiments of the invention with the state that keeps USB to connect, owing to can make the electric power starting of USB device/close, can be protected obsolete USB device so have, and prevent the characteristics of unnecessary power loss.
Those of ordinary skill in the art will be appreciated that, above embodiment is used for illustrating the present invention, and be not to be used as limitation of the invention, as long as in connotation scope of the present invention, all will drop in the scope of claims of the present invention variation, the modification of the above embodiment.

Claims (7)

1. a USB device control device is by connection, and the device of the power supply power supply of control USB device is characterized in that being made of following several parts:
By control signal, control is to the power switch portion of the electric power starting of above-mentioned USB device power supply/close;
Monitor whether exist and above-mentioned USB device between the data monitoring portion of the data transmission of carrying out;
The keyboard input part of the button input of the power supply control of the above-mentioned USB device of sensing;
And, control above-mentioned power switch portion, thereby control the control part of the power supply of above-mentioned USB device according to signal from the input of above-mentioned data monitoring portion and keyboard input part.
2. USB device control device as claimed in claim 1 is characterized in that:
Above-mentioned data monitoring portion and did not have between above-mentioned USB device to send this notification signal to above-mentioned control part under the situation of data transmission in the set time.
3. USB device control device as claimed in claim 1 is characterized in that:
The button that above-mentioned keyboard input part sensing has been set is in advance imported, and it is notified to control part.
4. as claim 1 or 3 described USB device control device, it is characterized in that,
Above-mentioned control part is judged the power supply status of present USB device according to the signal of above-mentioned keyboard input part, and control makes the power switch of electric power starting/close.
5. a USB device control method is to connect by USB, and the method for the power supply of control USB device power supply is characterized in that comprising following step:
(a) step that the data transmission of carrying out the USB device that USB connects is monitored;
(b), cut off step to the power supply of above-mentioned USB supply according to above-mentioned supervision result;
(c) data transmission of the above-mentioned USB device of sensing intention provides power supply to above-mentioned USB device, the step that data transmission is carried out.
6. USB device control method as claimed in claim 5 is characterized in that:
In order to control the power supply of above-mentioned USB device, the step of the button input that sensing has been set;
And according to the input of the button of above-mentioned sensing, the step of the power supply of On/Off USB device.
7. as claim 5 or 6 described USB device control methods, it is characterized in that:
Above-mentioned button is input as the reverse button input.
CNA2006100288457A 2006-07-12 2006-07-12 USB apparatus control device and method Pending CN101105710A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2006100288457A CN101105710A (en) 2006-07-12 2006-07-12 USB apparatus control device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2006100288457A CN101105710A (en) 2006-07-12 2006-07-12 USB apparatus control device and method

Publications (1)

Publication Number Publication Date
CN101105710A true CN101105710A (en) 2008-01-16

Family

ID=38999627

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2006100288457A Pending CN101105710A (en) 2006-07-12 2006-07-12 USB apparatus control device and method

Country Status (1)

Country Link
CN (1) CN101105710A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104423276A (en) * 2013-08-23 2015-03-18 苏州宝时得电动工具有限公司 Power management method and power management module
CN104777891A (en) * 2015-04-13 2015-07-15 广东欧珀移动通信有限公司 A kind of OTG connection control method and connection control device applied to intelligent terminal
CN106502368A (en) * 2016-10-14 2017-03-15 惠州Tcl移动通信有限公司 A kind of OTG peripheral hardwares control method of mobile terminal and system
WO2017215028A1 (en) * 2016-06-16 2017-12-21 深圳市华阳信通科技发展有限公司 Usb remote control method and system
CN107608492A (en) * 2017-09-04 2018-01-19 深圳易普森科技股份有限公司 The method of controlling switch and device of terminal device
CN110168511A (en) * 2017-09-29 2019-08-23 华为技术有限公司 An electronic device and method and device for reducing power consumption
CN115348345A (en) * 2021-05-12 2022-11-15 Oppo广东移动通信有限公司 Control method, protective shell of terminal, terminal and computer storage medium

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104423276A (en) * 2013-08-23 2015-03-18 苏州宝时得电动工具有限公司 Power management method and power management module
CN104777891A (en) * 2015-04-13 2015-07-15 广东欧珀移动通信有限公司 A kind of OTG connection control method and connection control device applied to intelligent terminal
WO2017215028A1 (en) * 2016-06-16 2017-12-21 深圳市华阳信通科技发展有限公司 Usb remote control method and system
CN106502368A (en) * 2016-10-14 2017-03-15 惠州Tcl移动通信有限公司 A kind of OTG peripheral hardwares control method of mobile terminal and system
CN106502368B (en) * 2016-10-14 2020-01-14 惠州Tcl移动通信有限公司 OTG peripheral control method and system of mobile terminal
CN107608492A (en) * 2017-09-04 2018-01-19 深圳易普森科技股份有限公司 The method of controlling switch and device of terminal device
CN110168511A (en) * 2017-09-29 2019-08-23 华为技术有限公司 An electronic device and method and device for reducing power consumption
CN110168511B (en) * 2017-09-29 2021-02-09 华为技术有限公司 Electronic equipment and method and device for reducing power consumption
US11061464B2 (en) 2017-09-29 2021-07-13 Huawei Technologies Co., Ltd. Electronic device, method for reducing power consumption, and apparatus
CN115348345A (en) * 2021-05-12 2022-11-15 Oppo广东移动通信有限公司 Control method, protective shell of terminal, terminal and computer storage medium

Similar Documents

Publication Publication Date Title
CN101105710A (en) USB apparatus control device and method
CN100359435C (en) Information processing apparatus and control method for the same
US8572420B2 (en) Power managed USB for computing applications using a controller
CN101105712A (en) Device for driving touch panel and portable terminal having same
US20100262726A1 (en) Method and apparatus for implementing a limited functionality embedded universal serial (USB) host controller on a fully functional downstream USB port
JP2000105638A (en) Usb device and usb connection system
CN101408795A (en) Display, computer system and method for controlling computer sleep
CN101145078A (en) Information processing apparatus and resume control method
JP4416715B2 (en) System and method for network interface power management
CN101299678A (en) Method and system for implementing electrification of interface plate in open application structure
CN101256440A (en) Computer, remote control system, computer control method, and remote control method
CN101082893A (en) Information processing apparatus and method of controlling the same
US10311001B2 (en) Electronic device and communication method thereof
CN101211269A (en) Information processing device, power supply control method, and storage medium
KR20070008861A (en) Display device with USB hub
JP4954023B2 (en) Image forming apparatus and connection notification method
CN116700461A (en) Method and system for starting up computer by utilizing keyboard
CN101989124B (en) Peripheral device sharing system of integrated personal computer and method thereof
JP2001067157A5 (en) Computers and their peripheral systems, computer peripherals, computers and their control methods, and computer-readable storage media
US20110208503A1 (en) Apparatus and method for emulating removal and insertion of a plug-in device
CN109739564B (en) Electronic equipment and control method
KR200422786Y1 (en) A device that controls the computer's running time with a power strip
CN211454595U (en) Control circuit with trusted computing function
TW201118578A (en) Remote management device for detecting status of controlled computers
CN117631770A (en) A server and its motherboard and board card

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication