Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for judging host operating system through USB embedded device

A host operating system, embedded device technology, applied in the information field

Inactive Publication Date: 2014-02-12
NANJING PANDA ELECTRONICS +1
View PDF3 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The above documents do not involve the enumeration behavior of different operating systems of the host to USB devices to determine the method and details of the operating system of the host, and the fit in practical applications needs further research

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
  • Method for judging host operating system through USB embedded device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0012] The specific implementation method of the present invention will be described below through an example of a 3G USB wireless network card.

[0013] According to the use function of the USB network card, it is required to:

[0014] 1) When the USB network card (device) is plugged into the host and starts, it must be able to determine the operating system of the host.

[0015] 2) Implement different follow-up functional behaviors according to different host operating systems.

[0016] According to the inventive method, as shown in Figure 1, the judgment process of the host operating system using the network card of the inventive method is:

[0017] 101 Insert a USB (network card, other devices are similar) device into the USB port of the computer host, and the USB device must report itself as a CDROM device. The process includes 1) when the device responds to the host's acquisition configuration command, it returns an interface. Configuration descriptor, the interface ty...

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

A method for judging a host operating system through a USB embedded device comprises the steps as follows: 1), the USB device is taken as a standard USB mass storage device CDROM (compact disc-read only memory) for enumeration, that is, in an enumeration process, the device serves as a mass CDROM device to report the information to a host; 2), the USB device is inserted into the host, whether a seventh byte is 0x08 is judged when the USB receives a first SETUP package enumerated by the host, if yes, the host operating system is an Apple system, and otherwise, a subsequent step 3) is continued; and 3), when the USB receives the SETUP package for configuring the device by the host, whether the host requests a manufacturer character string descriptor is judged, if yes, the host operating system is Linux system, and otherwise, the host operating system is a Windows system.

Description

technical field [0001] The invention relates to computer mainframe technology in the information field and embedded USB device technology. Background technique [0002] USB (Universal Serial BUS) technology is used to standardize the connection and communication technology between computers and external devices. Its plug-and-play and hot-swappable features are favored by many product manufacturers. Most of various electronic devices provide a USB interface for communicating with a host computer to complete related product functions of the device. There are many kinds of computer operating systems, and traditional microcomputers mainly include Windows system, Linux system and Apple system. The recent popular handheld tablet PCs mainly use the Apple system and the Android system. The host of the USB embedded device can be a microcomputer or a tablet computer. The diversity of the host and the operating system sometimes requires the device to determine which operating system...

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): G06F9/445
Inventor 高建贞
Owner NANJING PANDA ELECTRONICS
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products