Abstract:
A universal serial bus device receives a data packet from a host. The universal serial bus device includes a first virtual device, a second virtual device and a data-assigning device. The data-assigning device performs a determination operation, including: transmitting data corresponding to the a first logical address to the first virtual device, when the first logical address is the same as an address of the first virtual device wherein the data corresponding to the first logical address and the first logical address are recorded in the data packet; transmitting data corresponding to the a second logical address to the first virtual device, when the first logical address is the same as an address of the first virtual device wherein the data corresponding to the second logical address and the second logical address are recorded in the data packet.