The invention belongs to the technical field of biological
feature recognition, and discloses an automatic recognition and
automatic switching system based on a multifunctional
USB peripheral interface, which comprises a function module, a state detection module, a
USB signal switching module and a main control module, the function module is used for accessing an external device and feeding back a
voltage signal to the main control module and the state detection module; the state detection module is used for judging whether external equipment is accessed or not and judging the type of the accessed external equipment; the
USB signal switching module is used for opening an
internet access channel or a PC / OTG channel; the beneficial effects of the invention are as follows: 1, hardware-level
channel gating is realized,
software intervention is not needed, and rapid switching is realized; 2, a special detection
chip is not needed, and the cost is reduced; and 3, the interface
resource utilization rate is improved, and the
system redundancy is reduced. And 4, three scenes of
the internet access, the PC and the OTG are automatically identified, user configuration is not needed, and the compatibility is good.