USB bandwidth self-adaptive adjustment method and device for HID slave equipment, equipment and medium

A technology of self-adaptive adjustment and bandwidth, applied in the computer field, to achieve the effect of reducing resource preemption conflicts, low cost, and convenient implementation

Active Publication Date: 2020-11-06
FUJIAN CENTM INFORMATION
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved by the present invention is to provide a HID slave device USB bandwidth adaptive adjustment method, device, device and medium, which can automatically and dynamically adjust the bandwidth when the service terminal cannot be successfully connected due to insufficient bandwidth resources of the upper computer device occupied size

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
  • USB bandwidth self-adaptive adjustment method and device for HID slave equipment, equipment and medium
  • USB bandwidth self-adaptive adjustment method and device for HID slave equipment, equipment and medium
  • USB bandwidth self-adaptive adjustment method and device for HID slave equipment, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] This embodiment provides a HID slave device USB bandwidth adaptive adjustment method, such as figure 1 shown, including;

[0039] Step 10, respectively registering the first bandwidth configuration corresponding to the USB1.1 protocol, the second bandwidth configuration corresponding to the USB2.0 protocol, and the third bandwidth configuration corresponding to the USB3.0 protocol in the driver of the HID slave device;

[0040] Step 20, setting multiple levels of bandwidth occupancy levels for the second bandwidth configuration, and setting a bandwidth value for each level of bandwidth occupancy level;

[0041] Step 30, the HID slave device and the host computer are connected according to a specified bandwidth value;

[0042] Step 40, judging the connection situation between the HID slave device and the host computer, when the bandwidth resources are seized by other slave devices and the connection fails, enter step 50; when the HID slave device and the host computer a...

Embodiment 2

[0061] In this embodiment, a HID slave device USB bandwidth adaptive adjustment device is provided, such as figure 2 As shown, it includes: a protocol bandwidth registration module, a bandwidth occupancy level configuration module, a default connection module, a connection judgment module and an automatic adjustment module;

[0062] The protocol bandwidth registration module is used to register the first bandwidth configuration corresponding to the USB1.1 protocol, the second bandwidth configuration corresponding to the USB2.0 protocol, and the third bandwidth configuration corresponding to the USB3.0 protocol in the driver of the HID slave device ;

[0063] The bandwidth occupancy level configuration module is configured to set multiple levels of bandwidth occupancy levels for the second bandwidth configuration, and set a bandwidth value for each level of bandwidth occupancy level;

[0064] The default connection module is used to connect the HID slave device and the host c...

Embodiment 3

[0073] This embodiment provides an electronic device, such as image 3 As shown, it includes a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the computer program, any implementation manner in Embodiment 1 can be realized.

[0074] Since the electronic device introduced in this embodiment is the device used to implement the method in Embodiment 1 of this application, based on the method described in Embodiment 1 of this application, those skilled in the art can understand the electronic device of this embodiment. Specific implementation methods and various variations thereof, so how the electronic device implements the method in the embodiment of the present application will not be described in detail here. As long as a person skilled in the art implements the equipment used by the method in the embodiment of the present application, it all belongs to the protection scope of the present application. ...

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 USB bandwidth self-adaptive adjustment method for HID slave equipment. The method comprises the following steps: respectively registering a first bandwidth configuration corresponding to a USB1.1 protocol, a second bandwidth configuration corresponding to a USB2.0 protocol and a third bandwidth configuration corresponding to a USB3.0 protocol in a driver of the HID slave equipment; setting a plurality of levels of bandwidth occupation levels for the second bandwidth configuration, and setting a bandwidth value for each level of bandwidth occupation level; the HID slavedevice is connected with the upper computer according to a specified bandwidth value; judging the connection condition of the HID slave device and the upper computer, reducing to the next-level bandwidth occupation level or the next-level bandwidth configuration when the bandwidth resources are preempted by other slave devices to cause connection failure, and then connecting with the upper computer again; and when the HID slave device is successfully connected with the upper computer, ending the configuration. According to the method and the device, automatic adjustment of HID bandwidth resource occupation is realized, and resource preemption conflicts when the upper computer is connected with a plurality of HID peripherals are effectively reduced.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method, device, device and medium for adaptively adjusting the USB bandwidth of an HID slave device. Background technique [0002] With the rapid development of terminal equipment and the popularization of environmental protection concepts, more and more organizations are popularizing paperless office requirements on a large scale, improving business efficiency and reducing energy consumption. However, organizations need to ensure the security of user data and enterprise data at the same time, so most of them use drive-free USB to connect external terminal devices. [0003] Major terminal manufacturers currently adopt the most effective and safe USB drive-free method, and basically use HID communication to report terminal device attributes to the host computer. The HID device uses the USB interrupt communication method, which requires the USB controller of the host computer ...

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/40G06F9/4401
CPCG06F13/4068G06F9/4411G06F2213/0042Y02D10/00
Inventor 刘梦洲王茂森绍同喜邓剑平
Owner FUJIAN CENTM INFORMATION
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