摘要 |
An electronic device includes interfaces adapted to electrically connect peripheral devices, a searching unit, an obtaining unit, a receiving unit, a comparing unit, and an output unit. Each interface has an exclusive first identifying code. Each peripheral device has an exclusive second identifying code. A one to one relationship exists between the first identifying codes and the second identifying codes. The searching unit generates a searching signal responding to user's operations. The obtaining unit obtains the first indentifying codes of the interfaces responding to the searching signal. The receiving unit receives the second indentifying codes of the peripheral devices responding to the searching signal. The comparing unit compares the first obtained identifying codes and the received second indentifying codes to determine a connection relationship between the interfaces and the peripheral devices according to the one to one relationship. The output unit delivers the connection relationship.
|