Patent ID: 8893154

Claim:
A mobile device, comprising: a first processor for executing a first operating system (OS); a second processor for executing a second OS and connecting to a wireless communication network through a network connection module; a hardware device for generating an input data; a control unit, electrically connecting to the first processor and the second processor; and an embedded controller, coupled to the control unit, the second processor and the hardware device, for communicating between the first OS and the hardware device and between the second OS and the hardware device through a uniform message, wherein the first OS is operative to transmit a network sharing request to the second OS through the embedded controller, and the second OS is operative to become an emulator of a network interface card after receiving the network sharing request, wherein when the first OS encodes a first operating command into the uniform message and sends the uniform message to the embedded controller, the embedded controller decodes the uniform message to the first operating command such that the hardware device operates according to the first operating command; wherein when the second OS encodes a second operating command into the uniform message and sends the uniform message to the embedded controller, the embedded controller decodes the uniform message to the second operating command such that the hardware device operates according to the second operating command; and wherein when the embedded controller receives the input data from the hardware device, the embedded controller encodes the input data into the uniform message and sends the uniform message to one of the first OS and the second OS, and the OS receiving the uniform message decodes the uniform message to the input data.