Universal communication method for special low-speed usb devices

A communication method and equipment technology, applied in the computer field, to achieve the effects of easy and fast application, fast response, flexible loading and unloading

Active Publication Date: 2019-01-01
崔阳 +1
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The present invention aims to solve the problem that the dedicated low-speed USB device cannot be effectively loaded and communicated under various operating systems

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
  • Universal communication method for special low-speed usb devices
  • Universal communication method for special low-speed usb devices

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] To be able to load and control a special low-speed USB device and communicate under different operating system environments, two basic problems must be solved: one is the identification of the special low-speed USB device, and the other is the duplex process of the special low-speed USB device ( reading and writing) problems. The key to solving these two problems is how to obtain and compare the three ID values ​​of the USB device, and how to read and write the report of the dedicated low-speed USB device.

[0018] The only identification value of a dedicated low-speed USB device is three IDs (VID, PID, and PVN). Accordingly, the present invention summarizes the identification of special low-speed USB devices under various operating system environments as the problem of reading and comparing three ID values. In addition, since the dedicated low-speed USB device may communicate with the host in an interrupted manner at any time, the present invention chooses to implemen...

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 discloses a universal communication method of special low-speed USB equipment. The universal communication method for the special low-speed USB equipment comprises the following steps: firstly, obtaining the information set of all the special low-speed USB equipment which is currently connected with a host; then enumerating one special low-speed USB equipment in the set, comparing the ID value of the enumerated special low-speed USB equipment with that of one special low-speed USB equipment to be loaded, and loading the currently enumerated special low-speed USB equipment if the ID value of the enumerated special low-speed USB equipment is the same as that of the special low-speed USB equipment to be loaded; establishing and maintaining a reading equipment thread and a writing equipment thread if the currently enumerated special low-speed USB equipment is loaded successfully; stopping the reading equipment thread before obtaining data inputted into the loaded special low-speed USB equipment, and operating the reading equipment thread after obtaining the data; stopping the writing equipment thread before obtaining data written into the loaded special low-speed USB equipment, and operating the writing equipment thread after obtaining the data. The special low-speed USB equipment integrates the recognizing function with the reading and writing functions, can respond quickly, can be loaded and unloaded flexibly and can be applied to different operation systems.

Description

technical field [0001] The invention belongs to the field of computer technology, and in particular relates to a communication method for a special low-speed USB device, in particular to a general communication method for a special low-speed USB device under different operating system environments, and the communication includes identification, loading and reading write operation. Background technique [0002] Low-speed USB devices, such as keyboards and mice, are usually used for interactive communication between users and computers. Low-speed USB devices have the advantages of convenient use, quick response, and low R&D costs. Low-speed USB devices are currently developing towards specialization, such as dedicated low-speed USB devices dedicated to specific smart devices, and dedicated low-speed USB devices can generally only be loaded and communicate in a specific operating system environment, and cannot be used in systems such as Windows , UNIX, Linux and other operati...

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 Patents(China)
IPC IPC(8): G06F13/38
CPCG06F13/385
Inventor 崔阳张理垟
Owner 崔阳
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