# US 2012/0239827 A1 · Communication Device Based on USB Interface and Method for Implementing Service Configuration

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2012/0239827 A1
- Document ID: US20120239827A1
- Status: Published application
- Kind: A1
- Application number: 13/258,520
- Filed: 2010-06-18
- Published: 2012-09-20
- Earliest claimed: 2009-12-08
- Assignees: Zte Corporation
- Inventors: Daming Lu; Shengjin Pang; Kaixuan Li; Hongli Wang; Cuiling Lu
- Web page: https://patentgrep.com/patent/US20120239827A1

## CPC

- G06F 13/102: {where the program performs an interfacing function, e.g. device driver (G06F13/105 takes precedence; contention policies within device drivers G06F9/4881; scheduling within device drivers G06F9/52)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A communication device based on a USB interface and a method for implementing service configuration are provided. The method is used for the communication device based on the USB interface, comprising: said communication device based on the USB interface reporting a device descriptor to a host, thus making said host complete loading of a host driver; said communication device based on the USB interface receiving a control instruction sent from the host side through the USB interface; and said communication device based on the USB interface configuring service attribute information according to said control instruction, so as to enable said service attribute information to indicate service attributes of said communication device based on the USB interface. The USB control information controls the service attribute information such that said device can implement support to service differentiation aiming at different operating systems.

## Claims

### Claim 1

A method for implementing service configuration, characterized in that the method is used for a communication device based on a USB interface and comprises:
said communication device based on the USB interface reporting a device descriptor to a host, thus making said host complete loading of a host driver;
said communication device based on the USB interface receiving a control instruction sent from a host side through the USB interface; and
said communication device based on the USB interface configuring service attribute information according to said control instruction, so as to enable said service attribute information to indicate service attributes of said communication device based on the USB interface.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the step of configuring said service attribute information comprises:
said communication device based on the USB interface analyzing said control instruction; and
said communication device based on the USB interface initializing said service attribute information according to information obtained after analyzing said control instruction to complete configuration of said service attribute information.

### Claim 3 (depends on 1)

The method according to claim 1, wherein, after the step of configuring said service attribute information, the method further comprises:
said communication device based on the USB interface receiving service;
said communication device based on the USB interface judging whether said service is supported according to said service attribute information, and if yes, executing said service; if no, executing said service abnormally.

### Claim 4 (depends on 1)

The method according to claim 1, wherein, after the step of receiving the control instruction sent from the host side, the method further comprises:
said communication device based on the USB interface sending a response message to said host side.

### Claim 5 (depends on 1)

The method according to claim 1, wherein said host side is the host driver or a user application program.

### Claim 6

A communication device based on a USB interface, comprising:
a sending module configured to report a device descriptor to a host to make said host complete loading of a host driver;
a first receiving module configured to receive a control instruction sent from a host side through the USB interface after said host driver has been loaded; and
a configuring module configured to configure service attribute information according to said control instruction.

### Claim 7 (depends on 6)

The communication device according to claim 6, wherein said configuring module comprises:
an analyzing unit configured to analyze said control instruction; and
an initializing unit configured to initialize said service attribute information according to information obtained after analyzing said control instruction to complete configuration of said service attribute information.

### Claim 8 (depends on 6)

The communication device according to claim 6, further comprising:
a responding module configured to send a response message to said host side after said first receiving module receives said control instruction.

### Claim 9 (depends on 6)

The communication device according to claim 6, further comprising:
a second receiving module configured to receiving service;
a judging module configured to judge whether said service is supported according to said service attribute information; and
a service executing module configured to execute said service when said judging module judges that said service is supported, and execute said service abnormally when said judging module judges that said service is not supported.

### Claim 10 (depends on 6)

The communication device according to claim 6, wherein said communication device is a data card.
