Method for controlling universal serial bus (USB) port equipment switch

A device and port technology, applied in the field of controlling the switch of USB port devices, can solve the problems of inability to classify and judge devices, waste of system resources, USB controller settings, etc.

Inactive Publication Date: 2012-01-25
SUGON INFORMATION IND
View PDF3 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

On the one hand, this method requires an additional hardware circuit; on the other hand, it can only control whether the USB port is used, but cannot classify and judge the devices plugged into the USB port.
At the same time, this method cannot set the USB controller connected to the USB port. In this way, when the BIOS program scans the device, no matter whether the USB port is shielded or not, it must allocate memory address space or IO address space for this controller, which is a waste of time. valuable system resource

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for controlling universal serial bus (USB) port equipment switch
  • Method for controlling universal serial bus (USB) port equipment switch

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] At the BIOS level, according to the user's choice, USB ports can be blocked and opened. Methods as below:

[0018] (1) When the user decides to block the USB port, it can be set through the BIOS parameter setting interface.

[0019] When this setting takes effect, the BIOS program will shield the OHCI controller or EHCI controller where these USB ports are located. In this way, the Linux kernel program that runs subsequently will not detect the OHCI controller or the EHCI controller when scanning the device, and will not allocate the memory address space or IO address space to the controller, saving valuable system resources. It also achieves the purpose of shielding the USB port.

[0020] (2) When the user decides to open the USB port, it can be set through the BIOS parameter setting interface.

[0021] When this setting takes effect, the BIOS program will open the OHCI controller or EHCI controller where these USB ports are located. In this way, the Linux kernel program th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a method for controlling a universal serial bus (USB) port equipment switch. The method comprises the following steps of: classifying USB equipment; writing descriptors of the classified equipment into a basic input / output system (BIOS); controlling the opening and the closing of a USB port and setting a supported equipment type in the BIOS; checking the set descriptors after a host is started and comparing the descriptors with the equipment inserted into the USB port; and starting if the equipment type is supported, otherwise, outputting error information. By the method, the USB port can be controlled on a BIOS layer and a Linux kernel layer respectively, the problem existing in the traditional invention is solved, and more and fine-grained methods are provided for users to control the USB port.

Description

Technical field [0001] The invention relates to host security, and in particular to a method for controlling the switch of a USB port device. Background technique [0002] With the widespread use of USB-related equipment, on the one hand, it facilitates the operation of users on the computer, on the other hand, it has an impact on many aspects such as the safe use of the computer, the management of company private and confidential files. [0003] USB related devices are plug-and-play devices. When the user inserts the USB interface keyboard, mouse, U disk and other peripherals into the USB port, these devices can then be used. Users can easily copy files on a machine to a U disk. This aspect is convenient for users to exchange files on different computers, but it also causes many problems: [0004] (1) The user can copy the files in the computer to a U disk for storage, and the U disk is small in size and can be carried around, so that it is possible to copy the company’s private a...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F21/02G06F21/82
Inventor 李永成郑臣明尹宁宁李丰旺邵宗有刘新春杨晓君
Owner SUGON INFORMATION IND
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products