IP Library Granted Patent US 8,700,812
Granted Patent B2
US 8,700,812 · App. 13/219,018 · Granted Apr 15, 2014

Methods, devices and communication systems for data card identification operating system

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,700,812
App. No.
13/219,018
Granted
Apr 15, 2014
Kind
B2
Abstract

A method for a data card to identify an OS, an apparatus and a communication system thereof are provided according to the embodiments of the present invention. The method includes: receiving, by a USB device through a disc port, an SCSI command sent by the OS to be identified; and upon receiving an SCSI command carrying operation code 0XBB, identifying that the OS to be identified is Mac OS; upon receiving an SCSI command carrying operation code 0XA2, identifying that the OS to be identified is Windows Vista SP2 or later versions of Windows OS. With the technical solutions provided in the embodiments of the present invention, no dedicated driver programs need to be developed for some OSs to identify these OSs.

Claims (44)

1. A method for a universal serial bus (USB) device to identify an operating system (OS), comprising:

receiving, by a USB device through a disc port, a small computer system interface (SCSI) command sent by the OS to be identified;

upon receiving an SCSI command carrying a specific operation code, identifying a type of the OS to be identified according to the specific operation code,

wherein the USB device comprises one or multiple working ports adaptable to different types of OSs, and

the method further comprises:

determining, by the USB device, the working mode of the one or multiple working ports according to the identification result of the OS to be identified, and setting a transmission parameter for the one or multiple working ports according to the working mode of the one or multiple working ports.

2. The method according to claim 1 , wherein

the USB device comprises multiple working ports; wherein each working port and information about each OS among different OS are in one-to-one mapping, and the information about the OS comprises OS type, and when the OS has different versions the information about the OS further comprises OS version category;

the method further comprises:

determining, by the USB device, the working port adaptable to the OS to be identified and setting the transmission parameter for the working port according to the OS identification result and according to the one-to-one mapping between the working port and OS information.

3. The method according to claim 1 , wherein after the transmission parameter is set for the working port, the method further comprises:

sending, by the USB device, a USB descriptor to the OS to be identified, wherein the USB descriptor comprises an ID and the transmission parameter of the working port adaptable to the OS to be identified.

4. The method according to claim 2 , wherein after the transmission parameter is set for the working port, the method further comprises:

sending, by the USB device, a USB descriptor to the OS to be identified, wherein the USB descriptor comprises an ID and the transmission parameter of the working port adaptable to the OS to be identified.

5. The method according to claim 1 , further comprising:

when the SCSI command carrying the specific operation code is not received, controlling, by the USB device, the OS to be identified to run an installation program on the USB device and installing the driver program on the OS to be identified according to the result of the identification performed by the running installation program on the OS that is to be identified; receiving an indication message that is sent, through the installed driver program, by the OS; wherein the indication message comprises the type of the OS to be identified; when the OS has different versions, the indication message further comprises the version of the OS to be identified.

6. A universal serial bus (USB) device, comprising:

a disc port, configured to receive a small computer system interface (SCSI) command sent by the OS to be identified;

a judging unit, configured to judge whether the received SCSI command is an SCSI command carrying specific operation code;

an identifying unit, configured to identify a type of the OS to be identified according to the specific operation code upon receiving the SCSI command carrying the specific operation code,

wherein the USB device further comprises: one or multiple working ports and a configuration unit,

wherein the one or multiple working ports are adaptable to different OSs, and

the configuration unit is configured to determine the working mode of the one or multiple working ports according to the OS identification result obtained by the identifying unit, and set the transmission parameter for the one or multiple working ports according to the working mode of the one or multiple working ports.

7. The USB device according to claim 6 , wherein

the USB device comprises: multiple working ports and a configuration unit; wherein each working port and information about each OS among different OS are in one-to-one mapping, wherein the information about the OS comprises OS type, and when the OS has different versions the information about the OS further comprises OS version category;

the configuration unit is configured to determine the working port adaptable to the OS to be identified and set the transmission parameter for the working port according to the OS identification result obtained by the identifying unit and the one-to-one mapping between the working port and OS information.

8. The USB device according to claim 6 , wherein

the working port is configured to send a USB descriptor to the OS to be identified, wherein the USB descriptor comprises an ID and the transmission parameter of the working port adaptable to the OS to be identified.

9. The USB device according to claim 7 , wherein

the working port is configured to send a USB descriptor to the OS to be identified, wherein the USB descriptor comprises an ID and the transmission parameter of the working port adaptable to the OS to be identified.

10. The USB device according to claim 6 , further comprising:

an installation program control and operation unit, configured to control the OS to be identified to run an installation program on the USB device;

a driver program control and operation unit, configured to install a driver program on the OS to be identified according to the OS identification by the running installation program; and

an indication message receiving unit, configured to receive an indication message sent, through the driver program, by the OS to be identified, wherein the indication message comprises the OS type, and when the OS has different versions the indication message further comprises OS version.

11. A communication system, comprising the USB device according to claim 6 and a computer; wherein the computer runs an operating system (OS); and

the OS is configured to send, through a disc port, a small computer system interface (SCSI) command upon detecting that the disc port on the USB device is connected to the computer.

12. A communication system, comprising the USB device according to claim 7 and a computer; wherein the computer runs an operating system (OS); and

the OS is configured to send, through a disc port, a small computer system interface (SCSI) command upon detecting that the disc port on the USB device is connected to the computer.

13. A communication system, comprising the USB device according to claim 8 and a computer; wherein the computer runs an operating system (OS); and

the OS is configured to send, through a disc port, a small computer system interface (SCSI) command upon detecting that the disc port on the USB device is connected to the computer.

14. A communication system, comprising the USB device according to claim 9 and a computer; wherein the computer runs an operating system (OS); and

the OS is configured to send, through a disc port, a small computer system interface (SCSI) command upon detecting that the disc port on the USB device is connected to the computer.

15. A communication system, comprising the USB device according to claim 10 and a computer; wherein the computer runs an operating system (OS); and

the OS is configured to send, through a disc port, a small computer system interface (SCSI) command upon detecting that the disc port on the USB device is connected to the computer.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 19, 2018
From: HUAWEI DEVICE (SHENZHEN) CO., LTD.
To: HUAWEI DEVICE CO., LTD.
Reel/Frame 047603/0039 →
CHANGE OF NAME Recorded Jun 12, 2018
From: HUAWEI DEVICE CO.,LTD.
To: HUAWEI DEVICE (SHENZHEN) CO., LTD.
Reel/Frame 046340/0590 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 3, 2011
From: ZHANG, DONGFENG; NIE, ZHENHUI
To: HUAWEI DEVICE CO., LTD
Reel/Frame 027008/0595 →