主权项 |
1. A universal serial bus device, receiving a data packet from a host, the universal serial bus device comprising:
a first virtual device; a second virtual device; and a data-assigning device, coupled to the first virtual device and the second virtual device, and performing a first determination operation, wherein the first determination operation comprising: transmitting data, which corresponds to a first logical address and is recorded in the data packet, to the first virtual device, when the first logical address, which is recorded in the data packet, is the same as the address of the first virtual device, such that the first virtual device communicates with the host; and transmitting data, which is corresponding to a second logical address and is recorded in the data packet, to the second virtual device, when the second logical address, which is recorded in the data packet, is the same as the address of the second virtual device, such that the second virtual device communicates with the host. |