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

A usb device and its method for identifying macos system

A device identification and device technology, applied in the direction of instruments, electrical digital data processing, etc., can solve problems such as the inability to accurately identify the MacOS system

Active Publication Date: 2019-01-04
FEITIAN TECHNOLOGIES
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] With the emergence of a new version of the operating system, the existing method of identifying the host operating system for USB devices can no longer accurately identify the MacOS system.

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 usb device and its method for identifying macos system
  • A usb device and its method for identifying macos system
  • A usb device and its method for identifying macos system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] This embodiment provides a method for a USB device to identify a MacOS system, including:

[0039] Step A1, power on the USB device;

[0040] Step A2, the USB device waits to receive a command issued by the host;

[0041] When receiving the acquire string descriptor command issued by the host, send the corresponding string descriptor to the host;

[0042] When receiving the configuration descriptor command issued by the host, send the corresponding configuration descriptor and interface descriptor to the host;

[0043] The method also includes before the USB device receives the APDU command:

[0044] If the USB device first receives the acquisition string descriptor command issued by the host, and then receives the acquisition configuration descriptor command issued by the host, then the type of the host operating system is identified as a MacOS system;

[0045] If the USB device first receives the acquire configuration descriptor command issued by the host, and then...

Embodiment 2

[0056] This embodiment provides a method for a USB device to identify a MacOS system, such as figure 1 shown, including:

[0057] Step 101, the USB device is powered on;

[0058] Step 102, the type of USB device identification host operating system is unknown;

[0059] Specifically, the USB device can identify the type of the host operating system by setting a preset identification bit. When the value of the preset identification bit is the first preset value, it means that the type of the host operating system is unknown; for example, the first preset The set value can be 0.

[0060] Step 103, the USB device receives the command issued by the host;

[0061] Step 104, the USB device judges the type of the command received, if it is to obtain a character string descriptor command, then perform step 105, if it is to obtain a configuration descriptor command, then perform step 108, otherwise perform step 111;

[0062] Specifically, the Get String Descriptor command and the Ge...

Embodiment 3

[0118] This embodiment provides a USB device, such as figure 2 shown, including:

[0119] The receiving module 301 is used for receiving the command issued by the host after the USB device is powered on;

[0120] The sending module 302 is configured to send a corresponding character string descriptor to the host when the receiving module 301 receives the acquire string descriptor command issued by the host, and when the receiving module 301 receives the acquire configuration descriptor command issued by the host , send the corresponding configuration descriptor and interface descriptor to the host;

[0121] The first identification module 303 is used to identify the operating system of the host when the receiving module 301 receives the command to obtain the character string descriptor issued by the host before receiving the APDU command, and then receives the command to obtain the configuration descriptor issued by the host. The type is MacOS system;

[0122] The second i...

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 apparatus and a method for the USB apparatus to identify a MacOS system and belongs to the field of USB apparatuses. The method for the USB apparatus to identify a MacOS system comprises the steps that the USB apparatus is powered on and receives and responds to a command issued by a host; if the USB apparatus firstly receives a character string descriptor acquiring command and then receives a configuration descriptor acquiring command before receiving an APDU command, the type of the operating system of the host is identified as the MacOS system; if the USB apparatus firstly receives a configuration descriptor acquiring command and then receives a character string descriptor acquiring command before receiving an APDU command, the type of the operating system of the host is identified as a non-MacOS system. The USB apparatus comprises a receiving module, a transmitting module, a first identification module and a second identification module. According to the technical solution, the USB apparatus can identify the MacOS system accurately.

Description

technical field [0001] The invention relates to a USB device, in particular to a USB device and a method for identifying a MacOS system. Background technique [0002] USB protocol technology is a serial bus standard for connecting hosts to external devices. It is widely used on hosts (such as personal computers, personal digital assistants, and mobile computers, etc.), supports hot-swapping and plug-and-play, and supports bus power supply. Almost all peripheral devices such as mice, keyboards, game controllers, scanners, digital cameras, printers, hard disks, security devices, optical drives and network cards can be connected to and communicate with the host computer through the USB interface. The default interface through which the host peripherals are connected to the computer. [0003] In terms of operating system platform support, both MacOS systems and non-MacOS systems (Windows, Linux, etc.) provide support for the USB interface. When the USB device communicates with...

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/10G06F13/42
CPCG06F13/102G06F13/4282G06F2213/0042
Inventor 陆舟于华章
Owner FEITIAN TECHNOLOGIES