| CPC G06F 13/4282 (2013.01) [G06F 2213/0042 (2013.01)] | 20 Claims |

|
1. A method for multiplexing a USB interface, an electronic device to which the USB interface belongs comprising a plurality of processor ports; and the method comprising:
acquiring at least one path of level signal other than a service data signal and a ground signal in the USB interface;
determining, according to a logic result of the at least one path of level signal and a predefined correlation, a target port of a target processor corresponding to the logic result as a transmission object of the USB interface, wherein, the predefined correlation comprises a logic result of the at least one path of level signal uniquely corresponding to each port of each processor; and
transmitting received data to the transmission object via the USB interface, and sending data to be sent from the transmission object via the USB interface.
|