摘要 |
Disclosed is a method for a USB device to recognize a host system. The method comprises: setting, by a USB device, the configurable number of device descriptors as an integer which is greater than or equal to 2, and reporting the device descriptors to a host (S601); and when the USB device does not detect an MODS request issued by the host and a polling request issued according to the configurable number, determining that a BIOS is operating on the host currently (S602), wherein the polling request is used for requesting to poll all configuration descriptors in the USB device. Also disclosed at the same time are a USB device and a computer storage medium. The solution realizes the recognition of a basic input output system (BIOS) conducted by a USB device, thereby being further compatible with a host BIOS, and improving the operating reliability of the USB device. |