A kind of HID slave device USB bandwidth adaptive adjustment method, device, device and medium

A self-adaptive adjustment and bandwidth technology, applied in the computer field, achieves the effect of convenient implementation, meeting the actual application requirements, and low cost

Active Publication Date: 2022-07-08
FUJIAN CENTM INFORMATION
View PDF4 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
  • A kind of HID slave device USB bandwidth adaptive adjustment method, device, device and medium
  • A kind of HID slave device USB bandwidth adaptive adjustment method, device, device and medium
  • A kind of HID slave device USB bandwidth adaptive adjustment method, device, device and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

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

[0039] Step 10, respectively 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;

[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 levels;

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

[0042] Step 40, judge the connection situation of the HID slave device and the host computer, when the bandwidth resource is preempted by other slave devices and cause the connection to fail, enter step 50; When the connection of the HID slav...

Embodiment 2

[0066] In this embodiment, an 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;

[0067] The protocol bandwidth registration module is used to respectively 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. ;

[0068] 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 levels;

[0069] The default connection module is used to connect the HID slave devic...

Embodiment 3

[0078] This embodiment provides an electronic device, such as image 3 As shown, a memory, a processor, and a computer program stored in the memory and running on the processor are included. When the processor executes the computer program, any implementation manner of the first embodiment can be implemented.

[0079] Since the electronic device introduced in this embodiment is the device used to implement the method in the first embodiment of the present application, based on the method introduced in the first embodiment of the present application, those skilled in the art can understand the electronic device in this embodiment. The specific implementation manner and various modifications thereof, so how the electronic device implements the methods in the embodiments of the present application will not be described in detail here. As long as the devices used by those skilled in the art to implement the methods in the embodiments of the present application fall within the scop...

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 present invention provides a method for self-adapting USB bandwidth of a HID slave device. The method includes: respectively registering a first bandwidth configuration corresponding to the USB1.1 protocol and a second bandwidth configuration corresponding to the USB2.0 protocol in the driver of the HID slave device. The third bandwidth configuration corresponding to the USB3.0 protocol; multiple levels of bandwidth occupation levels are set for the second bandwidth configuration, and a bandwidth value is set for each level of bandwidth occupation level; the HID slave device and the host computer press a specified bandwidth value to connect; judge the connection between the HID slave device and the host computer, when the bandwidth resource is preempted by other slave devices and the connection fails, reduce it to the next level of bandwidth occupation level or the next level of bandwidth configuration, and then reconnect to the host computer; When the connection between the HID slave device and the host computer is successful, the configuration ends. The invention realizes the automatic adjustment of HID bandwidth resource occupation, and effectively reduces the resource preemption conflict when the upper computer connects multiple HID peripherals.

Description

technical field [0001] The present invention relates to the technical field of computers, and in particular, to a method, apparatus, device and medium for adaptive adjustment of USB bandwidth of an HID slave device. Background technique [0002] With the rapid development of terminal equipment and the vigorous popularization of environmental protection concepts, more and more organizations are popularizing the demand for paperless office on a large scale, improving business efficiency and reducing energy consumption. However, organizations also need to ensure the security of user data and corporate data, so most of them use drive-free USB to connect external terminal devices. [0003] Major terminal manufacturers currently use 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 adopts the USB interrupt communication method, which requires the USB controller of the ho...

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/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