-
公开(公告)号:US09418181B2
公开(公告)日:2016-08-16
申请号:US13737927
申请日:2013-01-09
Applicant: Apple Inc.
Inventor: Andrew D. Myrick , John E. Kelley
IPC: G06F17/50
CPC classification number: G06F17/5009 , G06F9/455 , G06F13/385
Abstract: In one or more embodiments, methods and apparatus are provided for simulating device communications such as those of the Universal Serial Bus (“USB”) or the like. The methods and apparatus involve receiving host requests that represent commands in a communication protocol and are associated with communication endpoints, distributing the host requests across the communication endpoints in the order that they are received, to their associated endpoints to generate a distribution of requests, generating a reordered plurality of host requests by selecting the host requests from the communication endpoints in an order based upon the order in which the requests are received and one or more simulation factors, receiving device requests from a simulated device in accordance with the communication protocol, merging the reordered host requests and the plurality of device requests to form a merged sequence of requests, and performing commands from the merged sequence of requests in the order.
Abstract translation: 在一个或多个实施例中,提供了用于模拟诸如通用串行总线(“USB”)等的设备通信的方法和装置。 所述方法和装置涉及接收表示通信协议中的命令的主机请求,并且与通信端点相关联,将主机请求按照它们所接收的顺序跨越通信端点分发到其相关联的端点以生成请求分布,生成 通过基于接收到请求的顺序的一个顺序选择来自通信端点的主机请求的一个或多个模拟因子,根据通信协议从仿真设备接收设备请求,合并来重新排序的多个主机请求 重新排序的主机请求和多个设备请求以形成合并的请求序列,以及从顺序的合并的请求序列执行命令。