Unlock instant, AI-driven research and patent intelligence for your innovation.

USB enumeration detection method, USB host device and storage medium

A detection method and technology of a host device are applied in the directions of faulty hardware testing method, detection of faulty computer hardware, error detection/correction, etc., and can solve the problem of USB device enumeration failure, USB host device unable to recognize USB device, USB device unable to Problems such as normal use to achieve the effect of reducing enumeration failures

Pending Publication Date: 2021-01-26
DEEPBLUE TECH (SHANGHAI) CO LTD
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in actual use, especially when using a USB HUB, the enumeration of the connected USB device will fail after power-on, which will cause the USB host device to fail to recognize the USB device it is connected to, and eventually cause the USB device to fail. not working

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 enumeration detection method, USB host device and storage medium
  • USB enumeration detection method, USB host device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0020] Such as figure 1 As shown, the USB enumeration detection method of the embodiment of the present invention comprises the following steps:

[0021] S1, after connecting the preset number of USB devices for detection to the preset number of USB interfaces of the USB host device to be detected one by one, control the USB host device to be detected to be powered on, so as to start the startup process of the USB host device to be detected .

[0022] In one...

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 enumeration detection method, a USB host device and a storage medium, and the method comprises the following steps: S1, controlling the to-be-detected USB host device to be powered on after a preset number of detection USB devices are connected to a preset number of USB interfaces of the to-be-detected USB host device in a one-to-one correspondence manner so as to start a starting process of the to-be-detected USB host device; s2, automatically detecting the number of successfully accessed USB devices for detection in the starting process; s3, judging whether enumeration failure occurs or not by judging whether the number of the successfully accessed USB devices for detection is consistent with the preset number or not; and S4, repeating the steps S1 to S3 formultiple times, and counting the probability of enumeration failure. According to the USB enumeration detection method, the situation that the USB enumeration fails after the USB host device is powered on to be started or restarted can be conveniently and effectively detected, the probability of the USB enumeration failure can be effectively determined in the development stage, the problem can beconveniently found in a targeted mode, and therefore the USB enumeration failure of the USB host device can be eradicated or reduced.

Description

technical field [0001] The invention relates to the technical field of device detection, in particular to a USB enumeration detection method, a USB host device and a non-transitory computer-readable storage medium. Background technique [0002] In the field of Internet of Things or industrial control equipment, there are situations where the USB host device needs to use multiple USB (Universal Serial Bus, Universal Serial Bus) devices (slave devices), so multiple USB interfaces will be configured, or the USB interface will be expanded through USBHUB . However, in actual use, especially when using a USB HUB, the enumeration of the connected USB device will fail after power-on, which will cause the USB host device to fail to recognize the USB device it is connected to, and eventually cause the USB device to fail. Cannot be used normally. [0003] In view of this, it is urgent to propose a technical solution for detecting the enumeration failure of the USB host device, so as ...

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
IPC IPC(8): G06F11/22G06F13/40
CPCG06F11/2273G06F11/221G06F13/4068
Inventor 陈海波其他发明人请求不公开姓名
Owner DEEPBLUE TECH (SHANGHAI) CO LTD