Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for real-time recognition of USB device hot plugging

A technology for equipment and equipment access, applied in the direction of instruments, electrical digital data processing, etc., can solve the problems of unfavorable equipment integration of acquisition software, inconvenient equipment data acquisition, and lack of versatility, and achieve simple process and accurate information and data acquisition. , Reliable effect of identification principle

Inactive Publication Date: 2013-07-03
QINGDAO PENGHAI SOFT CO LTD
View PDF2 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, the data collection of USB devices under the Linux system generally adopts a manual method to complete the configuration of the device. This method is not conducive to automatic collection because it requires human participation, and the collection program is generally developed for a certain type of device. Versatility, manual participation brings inconvenience to equipment data collection, and single-purpose collection software is not conducive to equipment integration

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 real-time recognition of USB device hot plugging

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0013] The main functions of this embodiment include real-time discovery of a USB device being connected or pulled out, determining whether the connected or pulled out USB device is a USB device, and determining the device name, manufacturer information and device node of the connected or pulled out USB device part, the specific steps are:

[0014] (1) Linux USB file system (usbfs): With the support of the USB file system, the Linux system will generate a file that records the information of the USB device in the system. This file describes the USB device in the system in a specific format and meaning. In the information, this method focuses on the manufacturer and device name, and the path of the file in the Linux system is / dev / bus / usb / devices;

[0015] (2) udev: The device manager of Linux 2.6 and above, the function is to manage the device nodes under the / dev directory of the Linux system, and can dynamically provide the actual device nodes in the system, and the device n...

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 relates to a method for real-time recognition of USB (Universal Serial Bus) device hot plugging, in particular to a method for real-time recognition of USB hot plugging under a Linux system. The method provided by the invention comprises three function parts, which are detecting the plugging and the unplugging of a device in a real-time manner, confirming the fact that the plugged or unplugged device is a USB device, and confirming the device name, the manufacturer information and the device node. Compared with the prior art, the method provided by the invention has the following advantages: (1) real-time recognition of USB device hot plugging is realized, and sufficient device information is acquired; (2) and a data collecting program compatible with a plurality of devices in accordance with the actual conditions of a plurality of healthy devices is developed; and the total technology process is simple, the recognition principle is reliable, the information data collecting is accurate, and the processing effect is sophisticated, so that the method can be applied to the USB hot plugging situations of various electronic devices and TV digitalization devices.

Description

technical field [0001] The invention relates to a real-time identification method for plugging and unplugging a USB device, in particular to a real-time identification method for plugging and unplugging a USB device under a Linux system. Background technique [0002] In the field of electronic computer technology, Linux is a free and open source computer operating system, which is used in mobile phones, tablet computers, routers, video game consoles, desktop computers and servers, especially in set-top boxes and home gateways. It is widely used in embedded devices such as mobile devices. The USB interface has the feature of supporting hot plugging. Because of its simple structure, low cost and good performance, it is widely used in computer peripherals and various instruments. USB interface devices have become the mainstream choice for wired transmission. At present, the data collection of USB devices under the Linux system generally adopts a manual method to complete the c...

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): G06F13/10
Inventor 王金龙于忠清卜祥峰邵峰晶刘伟国王艳青
Owner QINGDAO PENGHAI SOFT CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products