Method of locating peripheral device, computer program product and electronic device thereof
First Claim
1. A method of locating a peripheral device, applied to an electronic device, wherein the electronic device is electronically connected to the peripheral device, the electronic device comprises a locating unit, a first connecting unit, a first transmitter and a display system, and the peripheral device comprises a second connecting unit and a second transmitter, the method of locating the peripheral device comprising:
- via the locating unit, obtaining a first location information;
when the first connecting unit is connected to the second connecting unit, sending the first location information to the peripheral device;
after the first connecting unit and the second connecting unit are separated, receiving the first location information sent by the second transmitter via the first transmitter;
via the locating unit, obtaining a second location information; and
comparing the first location information and the second location information to determine a relative position of the electronic device and the peripheral device.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of locating peripheral device applied to an electronic device is disclosed. The electronic device is connected or electrically connected to a peripheral device. The method includes: obtaining a first location information via a locating unit; when the first connecting unit is connected to the second connecting unit, sending the first location information to the peripheral device; after the first connecting unit and the second connecting unit are separated, obtaining the first location information sent by the second transmitter via the first transmitter; obtaining a second location information via the locating unit; comparing the first location information and the second location information to determine the relative position of the electronic device and the peripheral device.
5 Citations
19 Claims
-
1. A method of locating a peripheral device, applied to an electronic device, wherein the electronic device is electronically connected to the peripheral device, the electronic device comprises a locating unit, a first connecting unit, a first transmitter and a display system, and the peripheral device comprises a second connecting unit and a second transmitter, the method of locating the peripheral device comprising:
-
via the locating unit, obtaining a first location information; when the first connecting unit is connected to the second connecting unit, sending the first location information to the peripheral device; after the first connecting unit and the second connecting unit are separated, receiving the first location information sent by the second transmitter via the first transmitter; via the locating unit, obtaining a second location information; and comparing the first location information and the second location information to determine a relative position of the electronic device and the peripheral device. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. An electronic device, for electrically connecting to a peripheral device, wherein the peripheral device comprises a second connecting unit and a second transmitter, the electronic device comprising:
-
a locating unit, used for obtaining a first location information and a second location information; a first connecting unit, used for sending the first location information to the peripheral device when connected to the second connecting unit; a first transmitter, used for receiving the first location information sent by the second transmitter after the first connecting unit and the second connecting unit are separated; a first processing unit, electrically connected to the locating unit, the first connecting unit and the first transmitter, wherein the first processing unit is used for comparing the first location information and the second location information to determine the relative position of the electronic device and the peripheral device; and a display system, electrically connected to the first processing unit, wherein the display system is used for displaying the relative position. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19)
-
Specification