CN1904794A - Method for implementing USB port screening control - Google Patents

Method for implementing USB port screening control Download PDF

Info

Publication number
CN1904794A
CN1904794A CN 200510088122 CN200510088122A CN1904794A CN 1904794 A CN1904794 A CN 1904794A CN 200510088122 CN200510088122 CN 200510088122 CN 200510088122 A CN200510088122 A CN 200510088122A CN 1904794 A CN1904794 A CN 1904794A
Authority
CN
China
Prior art keywords
usb port
control pin
user mode
shielding control
shielding
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.)
Granted
Application number
CN 200510088122
Other languages
Chinese (zh)
Other versions
CN100374974C (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CNB2005100881221A priority Critical patent/CN100374974C/en
Publication of CN1904794A publication Critical patent/CN1904794A/en
Application granted granted Critical
Publication of CN100374974C publication Critical patent/CN100374974C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Storage Device Security (AREA)

Abstract

The invention supplies a method to realize USB interface shielding. It includes the following steps: while starting up computer, judging the state of USB interface control pin on universal input/output controller by BIOS system; under the situation of the pin state is in one state of low level or high level, the useful state of the USB interface would be shielded by BIOS system to make USB interface unusable after starting up operation system; if control pin state is in another state of low level and high level, BIOS system starting up USB interface useful state to make it could be usable after starting up operation system.

Description

Realize the method for USB port shielding control
Technical field
The invention belongs to the computer security applications field; relate to a kind of method that realizes USB port shielding control; can prevent that the disabled user from stealing computer system information by using USB device, thereby realize protection, the security that the increase system uses the computer system security information.
Background technology
Along with popularizing and a large amount of application of computing machine, people for computer application also more and more widely, USB interface has become general-purpose interface, and is more prevalent by USB port transmission data.How effectively control data can particularly for government, key sector of enterprise, just not seemed particularly important by illegal copies, transmission.Security computer has become the direction of PC development from now on, and the data protection technology is the important technology branch of security computer.
USB (USB (universal serial bus)) supports being connected between various PC and the peripherals, can realize easily that digital multimedia is integrated.The principal feature of USB interface is: plug and play, hot-swappable etc.USB has become the standard configuration of PC, increases gradually based on the memory device of USB.
For the computing machine of key sector such as government, enterprise, system-critical data may cause data to run off by USB port, brings loss directly for country or individual.So, by effective means USB port is controlled, can increase the security of computer system.
For the control of USB mouth, present operable method has: revise the BIOS option, directly forbid USB controller (USBController); Enter operating system, at equipment manager forbidding USB controller (USBController).
Said method is simple, but the security extreme difference above-mentioned setting can be adjusted into the USB port upstate per capita for what any one had a Basis of Computer Engineering, thereby USB device can be used normally still.Safety protection function can't satisfy.
Summary of the invention
The objective of the invention is to propose a kind of method that realizes USB port shielding control, can prevent that the disabled user from stealing computer system information by using USB device, thereby realize protection, the security that the increase system uses the computer system security information.
To achieve these goals,, proposed a kind of method that realizes USB port shielding control, having comprised: when computer starting, judged the state of the USB port shielding control pin on the general i/o controller by the BIOS system according to the present invention; At USB port shielding control pin state is under the situation of one of low level and high level, and the user mode of BIOS system mask USB port is so that make USB port unavailable after entering operating system; And under USB port shielding control pin state was another situation in low level and the high level, the user mode of BIOS system start-up USB port was so that make USB port use after entering operating system.
Preferably, USB port shielding control pin is linked to each other with USB port shielding control signal wire, to receive high level and the low level control signal that produces by gauge tap.
Preferably, when described gauge tap conducting, USB port shielding control pin is a low level so that shielding USB port user mode, and when described gauge tap by the time, USB port shielding control pin is a high level, so that startup USB port user mode.
Preferably, when described gauge tap conducting, USB port shielding control pin is a low level so that start the USB port user mode, and when described gauge tap by the time, USB port shielding control pin is a high level, so that shield the USB port user mode.
Preferably, when described gauge tap conducting, USB port shielding control pin is a high level so that shielding USB port user mode, and when described gauge tap by the time, USB port shielding control pin is a low level, so that startup USB port user mode.
Preferably, when described gauge tap conducting, USB port shielding control pin is a high level so that start the USB port user mode, and when described gauge tap by the time, USB port shielding control pin is a low level, so that shield the USB port user mode.
Preferably, the BIOS system starts or shields the user mode of USB port by the USB controller.
Preferably, described gauge tap is a hardware switch.
Thus, according to the present invention, by increasing a hardware safety switch, the Machine case lock that the coupled computer system has had, the system manager can conveniently control the USB port state, and then the operating position of control computer system USB device, has increased the security of computer system data.The method security is good, realizes convenient and swift.
Description of drawings
Below in conjunction with the detailed description of preferred embodiment of accompanying drawing to being adopted, above-mentioned purpose of the present invention, advantage and feature will become apparent by reference, wherein:
Fig. 1 shows the level control circuit figure according to the GPIO of the embodiment of the invention; And
Fig. 2 shows the process flow diagram according to the method for the realization USB port shielding control of the embodiment of the invention.
Embodiment
Describe in detail according to a preferred embodiment of the invention below in conjunction with accompanying drawing.
According to the present invention, by increasing the method that the specific hardware jumper switch realizes shielding according to the USB port of the embodiment of the invention control on the mainboard.It should be noted that the present invention is particularly suitable for the situation that computer system has had Machine case lock.At this moment, the disabled user can't open cabinet easily and control described jumper switch.
Fig. 1 shows the level control circuit figure according to the GPIO of the embodiment of the invention.
Shown in the motherboard hardware circuit of Fig. 1, GPIO (general I/O) controller is used for one group of control signal commonly used of input and output inside computer system, is integrated in mainboard South Bridge chip inside usually.This GPIO controller has a plurality of pins.Each pin is respectively applied for input and output control signal and power supply signal etc.
According to the present invention, draw a GPIO signal wire (, not having specific demand) from an idle GPIO pin at this, link to each other with the VCC power supply by resistance (R1), and link to each other with ground by switch (S1).Here, for convenience, this pin is called USB port shielding control pin, and this GPIO signal wire is called USB port shielding control signal wire.
Thus, when switch S 1 was in conducting state, USB port shielding control pin was a low level, and this moment, logic was low, and definition USB port this moment is a masked state; And when switch S 1 was in by (that is, disconnecting) state, USB port shielding control pin promptly, was high level directly by the Vcc power supply, and this moment, logic was high, and definition USB port this moment is an effective status.
Shown in the table specific as follows:
On off state The USB port screen The USB port shielding The USB port user mode
(S1) Cover control pin state Control pin logic level
Conducting Low level Low Shielding
End High level With Available
Thus, by the jumper switch state, can select the USB port user mode.If jumper switch places " opening ", then whole computer system USB port can be used; If place " pass ", then whole computer system USB port forbidding.
Like this, by introducing jumper switch, can obtain the logic state of USB port shielding control pin easily, then, scheduled operation (following will the specific descriptions) by BIOS system (Basic Input or Output System (BIOS)), control USB port user mode reaches the purpose of using by hardware plan control USB device.
The method of controlling according to the realization USB port shielding of the embodiment of the invention is described below in conjunction with Fig. 2.
Can come specific implementation by BIOS function expansion design according to the method that the realization USB port shielding of the embodiment of the invention is controlled.BIOS (basic input/output) is for being solidificated in the computing machine program on a FlashROM (flash read only memory) chip on the mainboard, the program of the most important basic input and output of in store computing machine, system's configuration information, startup power on self detection program and system start-up bootstrap routine.It provides first degree, the most direct hardware controls for computing machine, and the primitive operation of computing machine all is to finish according to the content that is solidificated in the BIOS.The computer user can touch BIOS in computed process, it plays important effect in computer system.
As shown in Figure 2, after the beginning, in startup self-detection process (POST) (step 201), the system hardware status information is judged by the BIOS system, at this moment, especially, judges the level (step 203) of USB port shielding control pin.Thus, judge jumper switch state (conducting or by) by the logic level of USB port shielding control pin.If on off state is conducting, the logic level of USB port shielding control pin is a low level, and then BIOS system call USB mask program is so that USB port conductively-closed (step 205) after computing machine enters operating system, and this moment, USB port was unavailable.And if on off state is for ending, the logic level of USB port shielding control pin is a high level, calls then that BIOS enables program so that after computing machine enters operating system, and USB port can normally be used (step 207).Computing machine normally starts to enter operating system (step 209) then.
The USB program that enables is changed to effective status with USB controller (USBController) as mentioned above, and at this moment, USB port is normally used; And USB shielding control program is changed to disarmed state with USB controller (USBController), the USB port shielding.
As mentioned above, in this working of an invention, hardware circuit uses GPIO signal wire and jumper switch to be used, and by the hardware circuit level logic, judges the jumper switch state.Judge the USB port state by the BIOS control module.Computer system is switched (conduction and cut-off) by the state of control hardware switch, has realized the switching that normal use of USB port or shielding are used.Thereby realize the USB port data security protecting of computer system.Therefore, the present invention realizes by the combination of hardware and firmware, need not on mainboard design complicated circuit and can realize control all USB port, and motherboard circuit design and mainboard platform independence, have very strong versatility.
In addition, realization of the present invention depends on the cooperation enforcement of computer system software and hardware.Because the present invention mainly uses the hardware controls mode to realize the function that USB port is controlled, the security that has improved system greatly.User interface close friend, handled easily and simple.In addition, this method is easy to operate, for the system manager, can select to control total system USB port state by on off state simply.In addition, this method can the whole USB port of control system, and security is good.The proposition of this USB port shielding protection technology for data protection provides new effective means, has improved the data security of government, enterprise computer system.The user uses after this function, has increased security of system.As the PC system manufacturer, product quality promotes, and has realized that product further rises in value.
Though more than invention has been described by example, the present invention is not limited thereto.For example, can be to shielding USB port user mode when USB port shielding control pin state is high level, and start the USB port user mode during for low level at USB port shielding control pin state.This is just in time opposite with the above.In addition, the present invention is particularly suitable for computing machine, but is not limited thereto, and goes for shielding USB port any apparatus of control.In addition, it should be noted that switch S 1 can adopt hardware switch elements such as button and button.
Although below show the present invention in conjunction with the preferred embodiments of the present invention, one skilled in the art will appreciate that under the situation that does not break away from the spirit and scope of the present invention, can carry out various modifications, replacement and change to the present invention.Therefore, the present invention should not limited by the foregoing description, and should be limited by claims and equivalent thereof.

Claims (8)

1, a kind of method that realizes USB port shielding control comprises:
When computer starting, judge the state of the USB port shielding control pin on the general i/o controller by the BIOS system;
At USB port shielding control pin state is under the situation of one of low level and high level, and the user mode of BIOS system mask USB port is so that make USB port unavailable after entering operating system; And
Under USB port shielding control pin state was another situation in low level and the high level, the user mode of BIOS system start-up USB port was so that make USB port use after entering operating system.
2, method according to claim 1 is characterized in that USB port shielding control pin is linked to each other with USB port shielding control signal wire, to receive high level and the low level control signal that is produced by gauge tap.
3, method according to claim 2, it is characterized in that when described gauge tap conducting, USB port shielding control pin is a low level, so that shielding USB port user mode, and when described gauge tap is ended, USB port shielding control pin is a high level, so that start the USB port user mode.
4, method according to claim 2, it is characterized in that when described gauge tap conducting, USB port shielding control pin is a low level, so that start the USB port user mode, and when described gauge tap is ended, USB port shielding control pin is a high level, so that shielding USB port user mode.
5, method according to claim 2, it is characterized in that when described gauge tap conducting, USB port shielding control pin is a high level, so that shielding USB port user mode, and when described gauge tap is ended, USB port shielding control pin is a low level, so that start the USB port user mode.
6, method according to claim 2, it is characterized in that when described gauge tap conducting, USB port shielding control pin is a high level, so that start the USB port user mode, and when described gauge tap is ended, USB port shielding control pin is a low level, so that shielding USB port user mode.
7, method according to claim 1 is characterized in that the BIOS system starts or shield the user mode of USB port by the USB controller.
8,, it is characterized in that described gauge tap is a hardware switch according to any described method of claim 2 to 6.
CNB2005100881221A 2005-07-29 2005-07-29 Method for implementing USB port screening control Active CN100374974C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100881221A CN100374974C (en) 2005-07-29 2005-07-29 Method for implementing USB port screening control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100881221A CN100374974C (en) 2005-07-29 2005-07-29 Method for implementing USB port screening control

Publications (2)

Publication Number Publication Date
CN1904794A true CN1904794A (en) 2007-01-31
CN100374974C CN100374974C (en) 2008-03-12

Family

ID=37674067

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100881221A Active CN100374974C (en) 2005-07-29 2005-07-29 Method for implementing USB port screening control

Country Status (1)

Country Link
CN (1) CN100374974C (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102542192A (en) * 2011-01-04 2012-07-04 联想(北京)有限公司 Method and device for carrying out selective starting on USB (Universal Serial Bus) device, and computer terminal
CN102750237A (en) * 2011-04-05 2012-10-24 夏普株式会社 Electronic equipment system and electronic equipment
CN104200179A (en) * 2014-09-12 2014-12-10 南京神易网络科技有限公司 Computer peripheral equipment isolation method
CN104252430A (en) * 2013-06-28 2014-12-31 联想(北京)有限公司 State indicating method and electronic equipment
CN104731741A (en) * 2013-12-23 2015-06-24 研祥智能科技股份有限公司 Hot plugging implementing method and system
CN104932921A (en) * 2015-06-16 2015-09-23 联想(北京)有限公司 Start control method and electronic equipment
CN108985074A (en) * 2018-07-27 2018-12-11 郑州云海信息技术有限公司 A kind of USB port prohibited method, device, controlled terminal and storage medium
CN109656852A (en) * 2018-12-05 2019-04-19 郑州云海信息技术有限公司 A kind of SYS_TF card interface connection control method and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1220951C (en) * 2002-08-30 2005-09-28 联想(北京)有限公司 Realizing method of universal serial bus equipment safety switch on
JP2005182462A (en) * 2003-12-19 2005-07-07 Toshiba Corp Electronic appliance, unit driving device and method for controlling interface of unit driving device
TWM249116U (en) * 2004-01-08 2004-11-01 Uis Abler Electronics Co Ltd Switching device for RS-232 serial port and USB serial port

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102542192A (en) * 2011-01-04 2012-07-04 联想(北京)有限公司 Method and device for carrying out selective starting on USB (Universal Serial Bus) device, and computer terminal
CN102542192B (en) * 2011-01-04 2015-03-04 联想(北京)有限公司 Method and device for carrying out selective starting on USB (Universal Serial Bus) device, and computer terminal
CN102750237A (en) * 2011-04-05 2012-10-24 夏普株式会社 Electronic equipment system and electronic equipment
CN104252430A (en) * 2013-06-28 2014-12-31 联想(北京)有限公司 State indicating method and electronic equipment
CN104252430B (en) * 2013-06-28 2019-06-25 联想(北京)有限公司 A kind of method and electronic equipment of state instruction
CN104731741A (en) * 2013-12-23 2015-06-24 研祥智能科技股份有限公司 Hot plugging implementing method and system
CN104731741B (en) * 2013-12-23 2019-03-19 研祥智能科技股份有限公司 The method and system of hot plug
CN104200179A (en) * 2014-09-12 2014-12-10 南京神易网络科技有限公司 Computer peripheral equipment isolation method
CN104932921A (en) * 2015-06-16 2015-09-23 联想(北京)有限公司 Start control method and electronic equipment
CN104932921B (en) * 2015-06-16 2018-07-06 联想(北京)有限公司 Start control method and electronic equipment
CN108985074A (en) * 2018-07-27 2018-12-11 郑州云海信息技术有限公司 A kind of USB port prohibited method, device, controlled terminal and storage medium
CN109656852A (en) * 2018-12-05 2019-04-19 郑州云海信息技术有限公司 A kind of SYS_TF card interface connection control method and system

Also Published As

Publication number Publication date
CN100374974C (en) 2008-03-12

Similar Documents

Publication Publication Date Title
CN1904794A (en) Method for implementing USB port screening control
CN1317651C (en) Portable integrated circuit memory device for use with universal serial bus
CN1363871A (en) Wide screen notebook computer with I/O Interface and interface method
US6233681B1 (en) Computer system and a control method of the same for in-system reprogramming of a fixed flash ROM when access to the fixed flash ROM is not possible
US7007195B2 (en) BIOS shadowed small-print hard disk drive as robust, always on, backup for hard disk image & software failure
CN1578941A (en) Power managing in a system having internal USB hub
CN1940887A (en) Method and apparatus for master-controlled applied programm of self-repairing built-in equipment
CN112467709B (en) Inclined-insertion protection circuit of connector
US8984176B2 (en) SATA/eSATA port configuration
CN1177282C (en) Method and system for executing hot key function
CN1180869A (en) Apparatus and method for controlling computer system having hot-swapping function
CN1155889C (en) System state indicating lamp embedded in connection port
CN1369762A (en) Dual-purpose computer keyboard and its method for automatically detecting interface state
CN1237458C (en) Interface device and information processing system comprising it
US20130262847A1 (en) Switching circuit for basic input output system
CN1737785A (en) Extended structure of peripheric memory device
CN1391151A (en) Circuit for detecting memory clear operation for settings about computer motherboard and environment and clear method
US6845415B2 (en) Computing system capable of controlling disk loading and disk unloading operations of an optical disk drive
KR100660537B1 (en) Lock-out device and semiconductor integrated circuit device including the same
CN2676296Y (en) Electronic apparatus
CN2752856Y (en) Controlling device avoiding computer device hardware detective signal abnormality
CN201063117Y (en) Novel computer
KR101646223B1 (en) A Computer with Network Selecting Function and Its Method for Network Activation
CN114816902A (en) Disk identification method and electronic equipment
KR200304349Y1 (en) USB hard rack apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant