×

Data transmission method and electronic device

  • US 10,331,594 B2
  • Filed: 08/06/2014
  • Issued: 06/25/2019
  • Est. Priority Date: 11/04/2013
  • Status: Active Grant
First Claim
Patent Images

1. A data transmission method, used in a universal serial bus (USB) host having a plurality of local endpoints, the data transmission method comprising:

  • establishing transmission channels between the local endpoints and a plurality of remote endpoints, wherein a number of the local endpoints is less than a number of the remote endpoints, at least one of the local endpoints corresponds to at least two of the remote endpoints and at least two transmission channels are established;

    storing data of the remote endpoints that correspond to a same one of the local endpoints into a data queue;

    obtaining a plurality of first USB request blocks from the data queue on the principle of first-in-first-out (FIFO);

    loading a plurality of first physical parameters according to a description of the first USB request blocks, wherein the first physical parameters correspond to the same one of the local endpoints and a first one of the remote endpoints, and the first physical parameters comprise a serial number of the first one of the remote endpoints;

    transmitting transactions included in the first USB request blocks from the same one of the local endpoints to the first one of the remote endpoints;

    when it is determined that transmission of the transactions included in the first USB request blocks is complete;

    unloading the plurality of first physical parameters;

    obtaining a plurality of second USB request blocks from the data queue on the principle of FIFO;

    loading a plurality of second physical parameters according to a description of the second USB request blocks, wherein the second physical parameters correspond to the same one of the local endpoints and a second one of the remote endpoints, and the second physical parameters comprise a serial number of the second one of the remote endpoints; and

    transmitting transactions of the second USB request blocks from the same one of the local endpoints to the second one of the remote endpoints.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×