# US 2016/0253276 A1 · Method of communicating with peripheral device in electronic device on which plurality of operating systems are driven, and the electronic device

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

- Number: US 2016/0253276 A1
- Document ID: US20160253276A1
- Status: Published application
- Kind: A1
- Application number: 15/046,921
- Filed: 2016-02-18
- Published: 2016-09-01
- Earliest claimed: 2015-02-27
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Bok-deuk JEONG; Anatoly STEPANOV; Sung-min LEE
- Web page: https://patentgrep.com/patent/US20160253276A1

## CPC

- G06F 13/20: for access to input/output bus
- G06F 9/4411: {Configuring for operating with peripheral devices; Loading of device drivers}
- G06F 13/105: {where the program performs an input/output emulation function}
- G06F 13/38: Information transfer, e.g. on bus (G06F13/14 takes precedence)
- G06F 13/385: {for adaptation of a particular data processing system to different peripheral devices}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method of communicating with a peripheral device in a host operating system (OS) and a guest OS installed on an electronic device includes: receiving, by the host OS, first data from the guest OS; determining, by the host OS, whether to switch from a first communication link to a second communication link to transmit and receive data between the electronic device and the peripheral device; packetizing, by the host OS, the first data based on the determination; and transmitting the packetized data to the peripheral device.

## Claims

### Claim 1

A method of communication between an electronic device and a peripheral device in a host operating system (OS) and a guest OS installed on the electronic device, comprising:
receiving, by the host OS, first data from the guest OS;
determining, by the host OS, whether to switch from a first communication link to a second communication link to transmit and receive data between the electronic device and the peripheral device;
packetizing, by the host OS, the first data based on the determination; and
transmitting the packetized data to the peripheral device.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first communication link is a communication link between the host OS and the peripheral device, and the second communication link is a communication link between the guest OS and the peripheral device, and
the second communication link shares a link key with first communication link, the link key being stored in the host OS and the peripheral device at a time of setting the first communication link.

### Claim 3 (depends on 2)

The method of claim 2, wherein the determining of whether to switch from the first communication link to the second communication link includes determining to switch from the first communication link to the second communication link when the first data includes a host controller interface (HCl) packet, and determining to maintain the first communication link when the first data does not include an HCl packet.

### Claim 4 (depends on 2)

The method of claim 2, wherein the determining of whether to switch from the first communication link to the second communication link includes:
determining to switch from the first communication link to the second communication link when the host OS exclusively uses the peripheral device, and
determining to maintain the first communication link when the host OS shares the peripheral device with the guest OS.

### Claim 5 (depends on 3)

The method of claim 3, wherein the HCl packet included in the first data is generated by the guest OS based on the second communication link.

### Claim 6 (depends on 5)

The method of claim 5, wherein the packetizing of the first data by the host OS when it is determined to switch to the second communication link includes generating a Bluetooth packet corresponding to the HCl packet included in the first data.

### Claim 7 (depends on 3)

The method of claim 3, wherein the packetizing of the first data by the host OS when it is determined to maintain the first communication link includes:
performing, by the host OS, authentication with the peripheral device based on the link key stored in the host OS and the peripheral device at the time of setting the first communication link;
generating, by the host OS, an HCl packet for the first data based on the first communication link; and
generating a Bluetooth packet corresponding to the HCl packet based on physical characteristics of the first communication link.

### Claim 8 (depends on 3)

The method of claim 3, when it is determined to maintain the first communication link, further comprising:
acquiring, by the host OS, second data processed in the host OS;
combining, by the host OS, the first data with the second data;
packetizing, by the host OS, the combined data; and
transmitting the packetized combined data to the peripheral device based on the first communication link.

### Claim 9

A method of communication between an electronic device and a peripheral device in a host OS and a guest OS installed on the electronic device, comprising:
switching from an operation screen of the host OS displayed on a screen of the electronic device to an operation screen of the guest OS;
determining whether to switch from a first communication link to a second communication link to transmit and receive data between the electronic device and the peripheral device;
packetizing, by the host OS, third data received from the guest OS based on the determination of whether to switch; and
transmitting the packetized data to the peripheral device.

### Claim 10

A method of communication between an electronic device and a peripheral device in a host OS and a guest OS installed on the electronic device, comprising:
receiving, by the host OS, a request to search for peripheral devices from the guest OS;
searching, by the host OS, for at least one peripheral device;
extracting, by the host OS, a peripheral device capable of setting a communication link with the guest OS from at least one peripheral device among at least one found peripheral device; and
transmitting, by the host OS, information on the extracted peripheral device to the guest OS.

### Claim 11 (depends on 10)

The method of claim 10, wherein the extracting of the peripheral device capable of setting the communication link with the guest OS includes:
extracting a peripheral device that is not set to be exclusively used by the host OS and which has not set a communication link with the host OS from among the at least one found peripheral device; and
extracting a peripheral device that is set to be exclusively used by the host OS and which has set a communication link with the host OS, from among the at least one found peripheral device.

### Claim 12

An electronic device comprising:
processing circuitry configured to control a guest OS and a host OS which receives first data from the guest OS, to determine whether to switch from a first communication link to a second communication link, and to packetize the first data based on the determination, the first communication link being set to transmit and receive data between the electronic device and the peripheral device; and
communication circuitry configured to transmit data packetized by the host OS to the peripheral device.

### Claim 13 (depends on 12)

The electronic device of claim 12, wherein the first communication link comprises a communication link set between the host OS and the peripheral device, and the second communication link comprises a communication link set between the guest OS and the peripheral device, and
the second communication link shares a link key with first communication link, the link key being stored in the host OS and the peripheral device at time of setting the first communication link.

### Claim 14 (depends on 13)

The electronic device of claim 13, wherein the processing circuitry is configured to switch from the first communication link to the second communication link when the first data includes a host controller interface (HCl) packet, and to maintain the first communication link when the first data does not include an HCl packet.

### Claim 15 (depends on 12)

The electronic device of claim 12, wherein the processing circuitry is configured to switch from the first communication link to the second communication link when the host OS exclusively uses the peripheral device, and
the processing circuitry is configured to maintain the first communication link when the host OS shares the peripheral device with the guest OS.

### Claim 16 (depends on 14)

The electronic device of claim 14, wherein the HCl packet included in the first data is generated by the guest OS based on the second communication link.

### Claim 17 (depends on 14)

The electronic device of claim 14, wherein when it is determined to maintain the first communication link, the processing circuitry is configured to control the host OS which performs authentication with the peripheral device based on the link key stored in the host OS and the peripheral device at the time of setting the first communication link, to generate an HCl packet for the first data based on the first communication link, and to generate a Bluetooth packet corresponding to the HCl packet based on physical characteristics of the first communication link.

### Claim 18 (depends on 14)

The electronic device of claim 14, wherein when it is determined to maintain the first communication link, the processing circuitry is configured to control the host OS to acquire second data processed in the host OS and to combine the first data with the second data, and
the communication circuitry is configured to transmit data resulting from combining the first data with the second data to the peripheral device based on the first communication link.

### Claim 19

An electronic device comprising:
a display configured to switch from an operation screen of the host OS displayed on a screen of the electronic device to an operation screen of the guest OS;
processing circuitry configured to control a guest OS and a host OS to determine whether to switch from a first communication link to a second communication link, and to packetize third data received from the guest OS based on the determination, the first communication link being set to transmit and receive data between the electronic device and the peripheral device; and
communication circuitry configured to transmit data packetized by the host OS to the peripheral device.

### Claim 20 (depends on 1)

A computer-readable recording medium storing one or more programs including instructions which, when executed, perform the method of claim 1.
