WO2023273480A1 - 一种设备位置查找方法及系统 - Google Patents

一种设备位置查找方法及系统 Download PDF

Info

Publication number
WO2023273480A1
WO2023273480A1 PCT/CN2022/084881 CN2022084881W WO2023273480A1 WO 2023273480 A1 WO2023273480 A1 WO 2023273480A1 CN 2022084881 W CN2022084881 W CN 2022084881W WO 2023273480 A1 WO2023273480 A1 WO 2023273480A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
location
mobile phone
earphone
electronic
Prior art date
Application number
PCT/CN2022/084881
Other languages
English (en)
French (fr)
Inventor
谢俗
王剑
顾文彬
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023273480A1 publication Critical patent/WO2023273480A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release

Definitions

  • the present application relates to the technical field of communications, and in particular to a method and system for finding a device location.
  • the present application provides a device location search method, system, electronic device, computer storage medium, and computer program product containing instructions, which can share the location of other electronic devices with another electronic device through one electronic device, so that the location of other electronic devices can be shared in another electronic device.
  • the position checking of other electronic devices is implemented on the electronic device, which reduces the probability of missing other electronic devices.
  • the present application provides a device location search method, the method can be applied to a first electronic device, and the method can include: the first electronic device is disconnected from the second electronic device; the first electronic device obtains the first location, the first location indicates the location of the second electronic device when the first electronic device is disconnected from the second electronic device; the first electronic device sends the first location to the third electronic device.
  • the first electronic device can acquire the location of the second electronic device and send the location to the third electronic device, so that the third electronic device can The location of the second electronic device can be checked on the computer, thereby reducing the probability of the second electronic device being lost.
  • the first electronic device may be an electronic device without a positioning function, such as earphones, earphone boxes, glasses, etc.;
  • the second electronic device may be an electronic device with a positioning function, such as a smart watch, a smart bracelet, etc.;
  • the third electronic device is an electronic device with a display screen and a location viewing function, such as a mobile phone, a computer, and the like.
  • the first electronic device may also be an electronic device with a positioning function
  • the second electronic device may also be an electronic device without a positioning function.
  • the first location is a location acquired by the second electronic device based on its own positioning function.
  • the second electronic device may be a smart watch, a smart bracelet, etc. with a positioning function.
  • the first electronic device can obtain the The first location obtained by the positioning function can provide more accurate location information when the second electronic device is missing.
  • the first electronic device before the first electronic device is disconnected from the second electronic device, the first electronic device receives the second location sent by the third electronic device, and the second location is the third electronic device based on its own location The location where the function fetches.
  • the first electronic device can obtain the location of the third electronic device, store the location, and share the location with other electronic devices.
  • the second electronic device may use the second position sent by the third electronic device as its own position.
  • the first electronic device before the first electronic device is disconnected from the second electronic device, the first electronic device sends the second location to the second electronic device; wherein, the second location is the third electronic device Acquired based on its own positioning function and sent to the first electronic device.
  • the first electronic device may be an electronic device that does not have a positioning function, such as earphones, glasses, etc.;
  • the second electronic device may be an electronic device that does not have a positioning function, such as an earphone box, a glasses box, etc.;
  • the third electronic device It is an electronic device with a display screen and a position viewing function, such as a mobile phone, a computer, etc.
  • the first electronic device can establish a connection with the second electronic device and the third electronic device respectively, but the second electronic device cannot establish a connection with the third electronic device .
  • the third electronic device sends the second position obtained based on its own positioning function to the first electronic device, and the first electronic device then sends the second position to the second electronic device, then both the first electronic device and the second electronic device can Positioning is performed based on the positioning function of the third electronic device; when the first electronic device is disconnected from the second electronic device, the first electronic device has obtained the position of the second electronic device at this time, so that the first electronic device will The location is sent to the third electronic device, so that the location of the second electronic device when the second electronic device is disconnected from the first electronic device can be viewed on the third electronic device.
  • the first position is the same as the second position.
  • the first electronic device sends the first location to the third electronic device, which specifically includes: the first electronic device establishes a connection with the third electronic device; the first electronic device sends the first location to the third electronic device; Location.
  • the two can share the location of the second electronic device with the third electronic device when the first electronic device is disconnected.
  • the connection is a short-range communication connection.
  • the present application provides a method for finding a device location, which can be applied to a system including a first electronic device, a second electronic device, and a third electronic device, and the method may include: the first electronic device and the second electronic device disconnection; the first electronic device obtains a first location, and the first location indicates the location of the second electronic device when the first electronic device is disconnected from the second electronic device; the first electronic device sends the first location to the third electronic device ; After receiving the first location, the third electronic device displays first information in response to an input operation acting on the third electronic device, where the first information includes the first location.
  • the first electronic device can acquire the location of the second electronic device and send the location to the third electronic device, so that the third electronic device can The location of the second electronic device can be checked on the computer, thereby reducing the probability of the second electronic device being lost.
  • each electronic device can be viewed on any electronic device capable of checking the location, thereby reducing the probability of the electronic device being lost.
  • the first electronic device may be an electronic device without a positioning function, such as earphones, earphone boxes, glasses, etc.;
  • the second electronic device may be an electronic device with a positioning function, such as a smart watch, a smart bracelet, etc.;
  • the third electronic device is an electronic device with a display screen and a location viewing function, such as a mobile phone, a computer, and the like.
  • the first electronic device may also be an electronic device with a positioning function
  • the second electronic device may also be an electronic device without a positioning function.
  • the second electronic device has a positioning function; the first position is a position acquired by the second electronic device based on its own positioning function.
  • the second electronic device may be a smart watch, a smart bracelet, etc. with a positioning function.
  • the first electronic device can obtain the The first location obtained by the positioning function can provide more accurate location information when the second electronic device is missing.
  • the first electronic device before the first electronic device is disconnected from the second electronic device, the first electronic device receives the second location sent by the third electronic device, and the second location is the third electronic device based on its own location The location where the function fetches.
  • the first electronic device can obtain the location of the third electronic device, store the location, and share the location with other electronic devices.
  • the second electronic device may use the second position sent by the third electronic device as its own position.
  • the first electronic device before the first electronic device is disconnected from the second electronic device, the first electronic device sends the second location to the second electronic device.
  • the second location is obtained by the third electronic device based on its own positioning function and sent to the first electronic device.
  • the first electronic device may be an electronic device that does not have a positioning function, such as earphones, glasses, etc.;
  • the second electronic device may be an electronic device that does not have a positioning function, such as an earphone box, a glasses box, etc.;
  • the third electronic device It is an electronic device with a display screen and a position viewing function, such as a mobile phone, a computer, etc.
  • the first electronic device can establish a connection with the second electronic device and the third electronic device respectively, but the second electronic device cannot establish a connection with the third electronic device .
  • the third electronic device sends the second position obtained based on its own positioning function to the first electronic device, and the first electronic device then sends the second position to the second electronic device, then both the first electronic device and the second electronic device can Positioning is performed based on the positioning function of the third electronic device; when the first electronic device is disconnected from the second electronic device, the first electronic device has obtained the position of the second electronic device at this time, so that the first electronic device will The location is sent to the third electronic device, so that the location of the second electronic device when the second electronic device is disconnected from the first electronic device can be viewed on the third electronic device.
  • the first position is the same as the second position.
  • the first electronic device sends the first location to the third electronic device, which specifically includes: the first electronic device establishes a connection with the third electronic device; the first electronic device sends the first location to the third electronic device; Location.
  • the two can share the location of the second electronic device with the third electronic device when the first electronic device is disconnected.
  • the connection is a short-range communication connection.
  • the first information further includes one or more of the following: a source of the first location, an update time of the first location, or a recommended first location.
  • the present application provides a device search system, including: a first electronic device, a second electronic device, and a third electronic device.
  • the first electronic device, the second electronic device and the third electronic device respectively include: at least one memory for storing programs; at least one processor for executing the programs stored in the memory, when the programs stored in the memory are executed,
  • the processor is configured to execute the method provided in the second aspect.
  • At least one memory of the first electronic device is used to store the first position.
  • the first electronic device is an earphone.
  • the present application provides an electronic device, including: at least one memory for storing programs; at least one processor for executing the programs stored in the memory, and when the programs stored in the memory are executed, the processor is used for executing The method provided in the first aspect.
  • the present application provides a computer storage medium, in which instructions are stored, and when the instructions are run on a computer, the computer is made to execute the method provided in the first aspect.
  • the present application provides a computer program product containing instructions, and when the instructions are run on a computer, the computer is made to execute the method provided in the first aspect.
  • Figure 1a is a schematic diagram of an application scenario provided by an embodiment of the present application.
  • Fig. 1b is a schematic diagram of an application scenario provided by an embodiment of the present application.
  • FIG. 2a is a schematic diagram of a system architecture of a device location search system provided in an embodiment of the present application
  • FIG. 2b is a schematic diagram of the system architecture of a device location search system provided by an embodiment of the present application.
  • FIG. 2c is a schematic diagram of a system architecture of a device location search system provided in an embodiment of the present application.
  • Fig. 2d is a schematic diagram of the system architecture of a device location search system provided by an embodiment of the present application.
  • FIG. 2e is a schematic diagram of a system architecture of a device location search system provided in an embodiment of the present application.
  • FIG. 3a is a schematic diagram of a trust network composed of electronic devices in a device location search system provided by an embodiment of the present application;
  • Fig. 3b is a schematic diagram of a trust network composed of electronic devices in a device location search system provided by an embodiment of the present application;
  • Fig. 4a is a schematic diagram of a storage location of an electronic device provided by an embodiment of the present application.
  • Fig. 4b is a schematic diagram of a storage location of an electronic device provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a data structure of interactive information between electronic devices provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application.
  • Fig. 7a is a schematic diagram of an application scenario provided by an embodiment of the present application.
  • Fig. 7b is a schematic diagram of an application scenario provided by an embodiment of the present application.
  • Fig. 7c is a schematic diagram of an application scenario provided by an embodiment of the present application.
  • Fig. 7d is a schematic diagram of an application scenario provided by an embodiment of the present application.
  • Fig. 7e is a schematic diagram of a display interface of an electronic device provided in an embodiment of the present application.
  • Fig. 7f is a schematic diagram of a display interface of an electronic device provided in an embodiment of the present application.
  • Fig. 7g is a schematic diagram of a display interface of an electronic device provided in an embodiment of the present application.
  • Fig. 7h is a schematic diagram of a display interface of an electronic device provided in an embodiment of the present application.
  • Fig. 7i is a schematic diagram of a display interface of an electronic device provided in an embodiment of the present application.
  • Fig. 8a is a schematic diagram of an application scenario provided by an embodiment of the present application.
  • Fig. 8b is a schematic diagram of a display interface of an electronic device provided in an embodiment of the present application.
  • Fig. 8c is a schematic diagram of a display interface of an electronic device provided in an embodiment of the present application.
  • Fig. 8d is a schematic diagram of a display interface of an electronic device provided in an embodiment of the present application.
  • Fig. 8e is a schematic diagram of a display interface of an electronic device provided in an embodiment of the present application.
  • Fig. 8f is a schematic diagram of a display interface of an electronic device provided in an embodiment of the present application.
  • Fig. 9a is a schematic diagram of an application scenario provided by an embodiment of the present application.
  • Fig. 9b is a schematic diagram of an application scenario provided by an embodiment of the present application.
  • Fig. 9c is a schematic diagram of a display interface of an electronic device provided in an embodiment of the present application.
  • Fig. 9d is a schematic diagram of a display interface of an electronic device provided in an embodiment of the present application.
  • Fig. 9e is a schematic diagram of a display interface of an electronic device provided in an embodiment of the present application.
  • Fig. 9f is a schematic diagram of a display interface of an electronic device provided in an embodiment of the present application.
  • Fig. 9g is a schematic diagram of a display interface of an electronic device provided in an embodiment of the present application.
  • FIG. 10 is a schematic diagram of an application scenario provided by an embodiment of the present application.
  • FIG. 11 is a schematic flowchart of a device search method provided in an embodiment of the present application.
  • Fig. 12 is a schematic flow chart of another device search method provided by the embodiment of the present application.
  • a and/or B may indicate: A exists alone, A and B exist at the same time, and B exists alone, Wherein A and B can be singular or plural.
  • the character "/" generally indicates that the contextual objects are an "or" relationship.
  • references to "one embodiment” or “some embodiments” or the like in this specification means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application.
  • appearances of the phrases “in one embodiment,” “in some embodiments,” “in other embodiments,” “in other embodiments,” etc. in various places in this specification are not necessarily All refer to the same embodiment, but mean “one or more but not all embodiments” unless specifically stated otherwise.
  • the terms “including”, “comprising”, “having” and variations thereof mean “including but not limited to”, unless specifically stated otherwise.
  • the term “connected” includes both direct and indirect connections, unless otherwise stated.
  • first and second are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, a feature defined as “first” and “second” may explicitly or implicitly include one or more of these features.
  • an electronic device with a position positioning function and an electronic device without a position positioning function may be used in combination.
  • electronic device A has a position positioning function
  • electronic device B does not have a position positioning function.
  • electronic device A may establish a connection with electronic device B.
  • the position where the electronic device A is positioned may be used as the position of the electronic device B.
  • the location of the electronic device A can be used as the location of the electronic device B when the electronic device B is missing, and then the location of the electronic device B can be determined .
  • the electronic device A may be a smart phone
  • the electronic device B may be a headset with a Bluetooth function; wherein, a connection between the smart phone and the headset may be established through Bluetooth.
  • electronic devices A and C have a position positioning function, and electronic device B does not have a position positioning function.
  • the electronic devices A, B and C can be connected in pairs.
  • the position at which electronic device A is located may be used as the position of electronic device B
  • the position at which electronic device C is located may also be used as the position of electronic device B.
  • electronic device A has a networking function
  • electronic device C does not have a networking function
  • electronic devices A and C are disconnected, and electronic device A is connected to B, and electronic device B is connected to C.
  • the electronic device A can be a smart phone
  • the electronic device B can be a headset with Bluetooth function
  • the electronic device C can be a smart watch; wherein, the connection between the smart phone and the headset can be established through Bluetooth, and the smart phone and the smart watch The connection can also be established through Bluetooth, and the connection between the smart watch and the headset can also be established through Bluetooth.
  • this solution is proposed.
  • the electronic devices can share their own locations and store the shared locations of trusted devices of the electronic devices.
  • a trust network is formed, so that each electronic device in the trust network can directly or indirectly obtain the location of other electronic devices in the trust network, so that any electronic device that can view the location can realize the monitoring of each electronic device in the trust network.
  • the checking of the position of the device can effectively determine the position of each electronic device in the trust network, so as to search each electronic device in the trust network, and reduce the probability of missing electronic devices in the trust network.
  • this solution provides a device location finding system.
  • Multiple electronic devices may be included in the system.
  • at least one electronic device in the system has a position positioning function for position positioning.
  • at least one electronic device has a networking function to convert the located longitude and latitude information into a visible position on the map, and then find the position of the electronic device through the search software.
  • Each electronic device in the system has a data storage function to store the location information of each electronic device in the system.
  • each electronic device has a data communication function to exchange position information.
  • the device location finding system provided in this solution may include electronic devices A and B.
  • Electronic devices A and B can be connected through wireless communication technology, such as short-distance wireless connection technology or long-distance wireless connection technology, or through physical connection, such as pin contact connection.
  • wireless communication technology such as short-distance wireless connection technology or long-distance wireless connection technology
  • physical connection such as pin contact connection.
  • the electronic device A and B can share a location.
  • the electronic devices A and B can share their locations with the other party when the location sharing conditions are met.
  • any one of them can store its own position and the position of the other party.
  • the location sharing condition may include: the time when the two devices are connected, the time when the two are disconnected, the time when the location of at least one of the two devices is updated, or the time when a preset period is reached, and so on.
  • the short-distance wireless connection technology may include Bluetooth (Bluetooth), ZigBee (ZigBee), etc.
  • the long-distance wireless connection technology may include wireless fidelity (wireless fidelity, WIFI) and the like.
  • the system may further include an electronic device C.
  • the electronic device C may establish a connection with the electronic device B through the wireless communication technology described above. After the electronic devices B and C establish a connection, a trust relationship is established between the two, and at this time, the electronic devices B and C can share a location.
  • the electronic device B may share its own location and the stored location of the electronic device A with the electronic device C when the location sharing condition is satisfied.
  • Electronic device C may then store its own location, as well as the locations of electronic devices A and B.
  • electronic device C can also share its own location with electronic device B when the location sharing condition is met.
  • electronic device B can store the location of electronic device C, and share the location of electronic device C when the location sharing condition is met. Share to electronic device A.
  • each electronic device can store the location of each electronic device in the trust network.
  • the position of each electronic device in the trust network can be checked on any electronic device that can check the position, and then the position of each electronic device in the trust network can be effectively determined to search for each electronic device in the trust network , which reduces the probability of missing electronic devices in the trust network.
  • the system may also include electronic devices D, E and so on.
  • the way of sharing the location between the electronic devices D and E or between the electronic devices D and E and other devices in the system is similar to the way of sharing the location between the electronic devices A, B and C described above. Let me repeat them one by one.
  • a direct connection can be established between any two electronic devices in the system.
  • electronic devices A and B may directly establish a connection
  • electronic devices A and D may also directly establish a connection.
  • each electronic device in the system may have a direct trust list and an indirect trust list.
  • the electronic device directly connected to the electronic device is recorded in the direct trust list
  • the electronic device indirectly connected to the electronic device is recorded in the indirect trust list.
  • the direct trust list in electronic device A is: electronic devices B and D
  • the indirect trust list is: electronic devices C and E
  • the direct trust list in electronic device B is: electronic devices A and C
  • the indirect trust list is: electronic devices D and E
  • the direct trust list in electronic device C is: electronic devices B and D
  • the indirect trust list is: electronic devices A and E
  • the direct trust list in electronic device E is:
  • the indirect trust list in electronic device E is:
  • the indirect trust list in electronic device E is:
  • the indirect trust list is: electronic devices A, B and C.
  • FIG. 2d after the electronic device A is disconnected from the electronic device D and connected to the electronic device E, a system architecture as shown in FIG. 2e can be formed.
  • the direct trust list of electronic device A can be changed to: electronic devices B and E
  • the indirect trust list can be changed to: electronic devices C and D.
  • electronic device D since electronic device D once existed in the direct trust list of electronic device A, in Figure 2e, electronic device D can still be retained in the direct trust list of electronic device A, that is, in The direct trust list of electronic device A in 2e is: electronic devices B, D and E, and the indirect trust list can be: electronic device C.
  • FIG. 3a this figure shows a trust network composed of electronic devices in Figure 2d, wherein, in the trust network, each electronic device trusts each other, for example, between electronic device A and electronic devices B and D is Direct trust, and indirect trust between electronic device A and electronic devices C and E.
  • Figure 3b this figure shows a trust network composed of electronic devices in Figure 2e, wherein, in the trust network, each electronic device trusts each other, for example, between electronic device A and electronic devices B and E are Direct trust, indirect trust between electronic device A and electronic devices C and D.
  • the electronic device with the location positioning function can preferentially select its own location to mark its own location;
  • An electronic device with a positioning function may select its latest received position of an electronic device directly connected to it to mark its own position.
  • an electronic device that does not have a position positioning function may preferentially select the position of an electronic device that is directly connected to it and has a position positioning function to mark its own position.
  • FIG. 2d it is assumed that electronic devices A, B, and C do not have a position positioning function, and electronic device D has a position positioning function.
  • the electronic devices in the device location search system may preferentially store the positions of other electronic devices themselves, that is, preferentially store the positions of the electronic devices with the position positioning function.
  • electronic device D can obtain the position of electronic device A from electronic device A
  • the position of electronic device A can also be obtained from electronic device C. Since electronic device A has a position positioning function, at this time, electronic device D preferentially uses the position of electronic device A obtained from electronic device A to mark electronic device A.
  • the electronic device with the position positioning function when the electronic device stores the position of other electronic devices with the position positioning function, it can send the received position of the other electronic device.
  • the position of the electronic device with the position positioning function is used as a reference. When the distance between the two positions is large, it can indicate that the electronic device with the position positioning function has a positioning error. Therefore, at this time, another electronic device can be selected.
  • the position of the electronic device with the position positioning function sent marks the position of the electronic device with the position positioning function; when the distance between the two positions is small, it can indicate that the positioning of the electronic device with the position positioning function is correct, so , at this time, the position positioned by the electronic device with the position positioning function may be selected for marking.
  • the electronic device D has a position positioning function
  • the electronic device A when the electronic device A marks the position of the electronic device D, it can mark the position of the electronic device D itself; at the same time, the electronic device A can also refer to its The position of the electronic device D received at the electronic device B; when the distance between the two positions is small, the electronic device A can mark the position of the electronic device D by using the position of the electronic device D itself; when the distance between the two positions is large, The electronic device A may use the position of the electronic device D sent by the electronic device B to mark the position of the electronic device D.
  • an electronic device when an electronic device stores the positions of other electronic devices, it may also store the position of a certain electronic device shared by each electronic device. Afterwards, when the electronic device needs to locate the position of a certain electronic device, it selects a position from the positions of the electronic devices to be located which are sent by each electronic device stored in it as the position required for positioning, that is, the electronic device
  • the position of the electronic device to be located is recommended by the device; the screening principle can refer to the principle of storing the position of the electronic device described above, which will not be repeated here. For example, continue referring to FIG.
  • electronic device A when electronic device A is storing the position of electronic device C, electronic device A may store the position of electronic device C shared by electronic devices B and D at the same time, when electronic device A needs to locate the position of electronic device C position, the electronic device A selects a position (such as the position of the electronic device C shared by the electronic device D) from the stored positions of the electronic device C as the position required for positioning.
  • an electronic device when an electronic device stores its own position and the positions of other electronic devices, the two may be stored separately, so as to distinguish its own position from the positions of other electronic devices.
  • an electronic device stores its own location in area 1 of its memory, and stores the positions of other electronic devices in area 2 of its memory.
  • the electronic device when an electronic device stores its own location and the locations of other electronic devices, the electronic device can overwrite its previous location with its latest location, and can also overwrite the corresponding The previous location of the electronic device, thereby saving the storage space of the electronic device.
  • the current time is 2021.04.22, am 8:30, then the electronic device stores its own position and the positions of other electronic devices at this time only the latest current position.
  • the electronic device when an electronic device stores its own position and the positions of other electronic devices, the electronic device can retain its position at each time point, and can also retain the positions of other electronic devices received by it at each time point, so that It is possible to view the movement track of the electronic device itself or the movement track of other electronic devices.
  • the current time is 2021.04.22, am8:30
  • the time for establishing a connection between electronic devices A, B and C is 2021.04.22, am8:00
  • the electronic device Its own position at various time points and the positions of other electronic devices at various time points are stored in .
  • the information of an electronic device shared among the electronic devices in the device location search system may include: the identification of the electronic device, the location of the electronic device, a time stamp, whether the electronic device is positioning function, etc.
  • the information of electronic device A shared by electronic device A to electronic device B may include: identification of electronic device A, location of electronic device A, time stamp, whether electronic device A has a positioning function, etc.
  • the electronic device D information shared by the electronic device A to the electronic device B may include: the identification of the electronic device D, the location of the electronic device D, the time stamp, whether the electronic device D has a positioning function, and so on.
  • the identification of the electronic device can facilitate the identification of the location of the electronic device, the location of the electronic device can represent the current location of the electronic device, and the timestamp can represent the time when the location of the electronic device was sent. Whether the electronic device has a positioning function can easily distinguish whether the electronic device can be positioned.
  • the data structure of information exchanged between electronic devices in the device location search system may include four parts, which are field 0 for indicating the identification of the electronic device, and field 0 for indicating the identity of the electronic device.
  • Field 1 of the location field 2 used to indicate the time of the electronic device location currently sent
  • field 3 used to indicate whether the electronic device has a positioning function.
  • the data structure of the information shown in Figure 5 does not constitute a limitation on the information exchanged between electronic devices in the device location search system in this solution.
  • the device location search Information exchanged between electronic devices in the system may include more or less parts than those shown in FIG. 5 .
  • the electronic equipment involved in this solution can be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook, And cellular phones, personal digital assistants (personal digital assistant, PDA), augmented reality (augmented reality, AR) devices, virtual reality (virtual reality, VR) devices, artificial intelligence (artificial intelligence, AI) devices, wearable devices, Vehicle-mounted devices, smart home devices and/or smart city devices, the embodiment of the present application does not specifically limit the specific type of the electronic devices.
  • FIG. 6 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application.
  • the electronic device may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charging management module 140, a power management module 141, a battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone interface 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, a display screen 194, and a subscriber identification module (subscriber identification module, SIM) card interface 195, etc.
  • SIM subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, bone conduction sensor 180M, etc.
  • the structure shown in the embodiment of the present invention does not constitute a specific limitation on the electronic device.
  • the electronic device may include more or fewer components than shown in the illustrations, or combine certain components, or separate certain components, or arrange different components.
  • the illustrated components can be realized in hardware, software or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processing unit
  • GPU graphics processing unit
  • image signal processor image signal processor
  • ISP image signal processor
  • controller video codec
  • digital signal processor digital signal processor
  • baseband processor baseband processor
  • neural network processor neural-network processing unit
  • the controller can generate operation control signals according to instruction opcodes and timing signals, and complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is a cache memory.
  • the memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated access is avoided, and the waiting time of the processor 110 is reduced, thereby improving the efficiency of the system.
  • the USB interface 130 is an interface conforming to the USB standard specification, specifically, it can be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like.
  • the USB interface 130 can be used to connect a charger to charge the electronic device, and can also be used to transmit data between the electronic device and peripheral devices. It can also be used to connect headphones and play audio through them. This interface can also be used to connect other electronic devices, such as AR devices.
  • the charging management module 140 is configured to receive a charging input from a charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 140 can receive charging input from the wired charger through the USB interface 130 .
  • the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device. While the charging management module 140 is charging the battery 142 , it can also provide power for electronic devices through the power management module 141 .
  • the power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 .
  • the power management module 141 receives the input from the battery 142 and/or the charging management module 140 to provide power for the processor 110 , the internal memory 121 , the display screen 194 , the camera 193 , and the wireless communication module 160 .
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance).
  • the power management module 141 may also be disposed in the processor 110 .
  • the power management module 141 and the charging management module 140 may also be set in the same device.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in an electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G applied to electronic devices.
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and send them to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signals modulated by the modem processor, and convert them into electromagnetic waves through the antenna 1 for radiation.
  • at least part of the functional modules of the mobile communication module 150 may be set in the processor 110 .
  • at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be set in the same device.
  • a modem processor may include a modulator and a demodulator.
  • the modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator sends the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low-frequency baseband signal is passed to the application processor after being processed by the baseband processor.
  • the application processor outputs sound signals through audio equipment (not limited to speaker 170A, receiver 170B, etc.), or displays images or videos through display screen 194 .
  • the modem processor may be a stand-alone device.
  • the modem processor may be independent from the processor 110, and be set in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (Wi-Fi) network), bluetooth (bluetooth, BT), global navigation satellite system, etc. (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • WLAN wireless local area networks
  • Wi-Fi wireless fidelity
  • BT Bluetooth
  • GNSS global navigation satellite system
  • frequency modulation frequency modulation, FM
  • NFC near field communication technology
  • infrared technology infrared, IR
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110 , frequency-modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
  • an electronic device can use the wireless communication module 160 to send location information to other electronic devices, such as its own location information and/or its stored location information, and can also use the wireless communication module 160 to receive information sent by other electronic devices. location information, etc.
  • the electronic device realizes the display function through the GPU, the display screen 194, and the application processor.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos and the like.
  • the display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc.
  • the electronic device may include 1 or N display screens 194, where N is a positive integer greater than 1.
  • the display screen 194 can also be used to display the interface of the application program for finding the location of the device, display the display window of the application program, and display the location of each electronic device in the device location searching system.
  • the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. Such as saving music, video and other files in the external memory card.
  • the internal memory 121 may be used to store computer-executable program codes including instructions.
  • the internal memory 121 may include an area for storing programs and an area for storing data.
  • the stored program area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.) and the like.
  • the storage data area can store data (such as audio data, phone book, etc.) created during the use of the electronic device.
  • the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (universal flash storage, UFS) and the like.
  • the processor 110 executes various functional applications and data processing of the electronic device by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
  • the internal memory 121 may have multiple storage areas, one of which may store the position of the electronic device itself, and the other storage area may store the positions of other electronic devices.
  • the electronic device can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as music playback, recording, etc.
  • the keys 190 include a power key, a volume key and the like.
  • the key 190 may be a mechanical key. It can also be a touch button.
  • the electronic device can receive key input and generate key signal input related to user settings and function control of the electronic device.
  • the motor 191 can generate a vibrating reminder.
  • the motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback.
  • touch operations applied to different applications may correspond to different vibration feedback effects.
  • the motor 191 may also correspond to different vibration feedback effects for touch operations acting on different areas of the display screen 194 .
  • Different application scenarios for example: time reminder, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 can be an indicator light, and can be used to indicate charging status, power change, and can also be used to indicate messages, missed calls, notifications, and the like.
  • the SIM card interface 195 is used for connecting a SIM card.
  • the SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to realize contact and separation with the electronic device.
  • the electronic device can support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card etc. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards may be the same or different.
  • the SIM card interface 195 is also compatible with different types of SIM cards.
  • the SIM card interface 195 is also compatible with external memory cards.
  • the electronic device interacts with the network through the SIM card to realize functions such as calling and data communication.
  • the electronic device adopts an eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the electronic device and cannot be separated from the electronic device.
  • the electronic device may further include a positioning device (not shown in the figure).
  • the positioning device can locate the position of the electronic device.
  • the positioning device may be a global positioning system (global positioning system, GPS).
  • the structure shown in FIG. 6 of this solution does not constitute a specific limitation on the electronic device.
  • the electronic device may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange different components.
  • the illustrated components can be realized in hardware, software or a combination of software and hardware.
  • at least one electronic device in the aforementioned device search system may have a networking function.
  • at least one electronic device in the aforementioned device searching system may have a positioning function.
  • the device location finding system includes a mobile phone 71 , a watch 72 and an earphone 73 .
  • the connection between the mobile phone 71 and the earphone 73 can be established through Bluetooth, and the connection between the watch 72 and the earphone 73 can also be established through Bluetooth, but the connection between the watch 72 and the mobile phone 71 is not established.
  • the mobile phone 71 has a networking function and a position positioning function
  • the watch 72 has a position positioning function
  • the earphone 73 does not have a position positioning function
  • neither the watch 72 nor the earphone 73 has a networking function.
  • the watch 72 and the earphone 73 can share the location with each other when the location sharing condition is satisfied.
  • the watch 72 may store its own position and the position of the earphone 73
  • the earphone 73 may store its own position and the position of the watch 72 .
  • the position of the earphone 73 can be marked with the position of the watch 72 .
  • the mobile phone 71 and the earphone 73 are disconnected while the watch 72 and the earphone 73 are not disconnected on the way out.
  • the connection between the mobile phone 71 and the earphone 73 can be re-established.
  • the earphone 73 can share the stored position of the earphone 73 and the position of the watch 72 to the mobile phone 71 when the watch 72 is lost, so that the mobile phone 71 can learn the position of the watch 72 when it is lost.
  • the user can open the search device application program on the mobile phone 71, and can see the information of the watch 72 and the earphone 73 stored in the mobile phone 71, as can be seen from the figure, the mobile phone 71 and the earphone 73 are all in the The user is around, and the watch 72 is 5 kilometers away from the user.
  • the mobile phone 71 can also display the location of the device within the preset range (such as 2 kilometers) from the user, such as the location of the mobile phone 71 shown in Figure 7e (that is, building a).
  • the icon of the mobile phone can also be displayed in the area 711 on the mobile phone 71.
  • the application can display the area of a preset size range to the user by default based on the user's location.
  • the area displayed by the mobile phone 71 to the user may not include the area where the watch 72 is lost.
  • the user can zoom in and out of the area displayed by the search device application based on his own needs, so that the application can display a larger area to the user.
  • the user can click on the area 712 on the mobile phone 71 to view the location of the watch 72 when it was lost.
  • the mobile phone 71 can display the interface shown in Fig. 7f.
  • the mobile phone 71 can intuitively display the position of the watch 72 when it is lost (ie c park).
  • the icon of the watch can also be displayed at the area 713 on the mobile phone 71. Through the connection between the icon of the watch and the position when the watch was lost, it is easy to guide the user to observe the watch directly from the map. The location of the watch when it was lost.
  • the interface displayed by the mobile phone 71 can only be displayed in the area of the preset size range, such as only showing the position of the watch 72 in Figure 7f when it was lost (that is, the c park ) and the watch icon displayed at area 713, but the current position of the mobile phone (ie building a) and the mobile phone icon displayed at area 711 in FIG. 7f cannot be displayed.
  • the interface shown in FIG. 7g can also be presented on the mobile phone 71.
  • the user can view a list of currently searchable devices in the interface shown in FIG. 7g.
  • the user can click on the area 714 on the mobile phone 71 to check the position of the watch 72 when it was lost.
  • the interface shown in FIG. 7h can be displayed on the mobile phone 71.
  • the location 715 of the mobile phone 71 can intuitively display the location of the watch 72 stored in each device when it was lost, the source of each location, the update time of each location, and the location recommended by the mobile phone 71, etc. Wait.
  • the position of the watch 72 shown in FIG. 7 h may be the position L1 recommended by the mobile phone 71 .
  • the icon of the watch can also be displayed at the area 716 on the mobile phone 71. Through the connection between the icon of the watch and the position when the watch was lost, it is convenient to guide the user to intuitively view the map from the map. The location when the watch was lost was observed on the watch.
  • the device search method provided by this application can also use the watch 72 (watch) left at home.
  • the device location search system includes a mobile phone 81 , a left-ear earphone 82 , a right-ear earphone 83 and an earphone charging box 84 .
  • the connection between the mobile phone 81 and the left earphone 82 can be established through Bluetooth
  • the connection between the mobile phone 81 and the right earphone 83 can be established through Bluetooth
  • the connection between the left earphone 82 and the right earphone 83 can be established through Bluetooth
  • the earphone 82 and the charging box 84 may be physically connected
  • the right earphone 83 and the charging box 84 may be physically connected.
  • the physical connection between the left earphone 82 or the right earphone 83 and the charging box 84 can be understood as the connection between the charging pin of the left earphone 82 or the right earphone 83 and the charging pin of the charging box 84,
  • the left earphone 82 or the right earphone 83 can establish a connection with the charging box 84 .
  • the left-ear earphone 82 and the right-ear earphone 83 can form a true wireless stereo (true wireless stereo, TWS) earphone.
  • the charging box 84 has the Bluetooth function
  • the connection between the left earphone 82 or the right earphone 83 and the charging box 84 can also be established via Bluetooth.
  • the mobile phone 81 is equipped with a positioning device
  • the left earphone 82 , the right earphone 83 and the earphone charging box 84 are not equipped with a positioning device.
  • the mobile phone 81 when the mobile phone 81 satisfies the location sharing conditions, it can share its location and the location stored in other electronic devices with the left earphone 82 and the right earphone 83 .
  • the left earphone 82 satisfies the location sharing condition, it can share its location and the location where other electronic devices are stored with the mobile phone 81 , the right earphone 83 and the charging box 84 .
  • the right earphone 83 satisfies the location sharing condition, it can share its location and the location where other electronic devices are stored with the mobile phone 81 , the left earphone 82 and the charging box 84 .
  • the charging box 84 When the charging box 84 meets the location sharing condition, it can share its location and the location where other electronic devices are stored with the left earphone 82 and the right earphone 83 . Wherein, since the left-ear earphone 82, the right-ear earphone 83 and the earphone box 84 do not have the position positioning function, therefore, their respective self positions stored in the left-ear earphone 82, the right-ear earphone 83 and the earphone box 84 can be understood as The location of the mobile phone 81.
  • the left earphone 82 can save the position of the charging box 84 when it was last contacted with the charging box 84 .
  • the left earphone 82 can share the recorded location of the charging box 84 to the mobile phone 81 .
  • the mobile phone 81 can learn the location of the charging box 84 when it is lost.
  • the right earphone 83 can also save the position of the charging box 84 when it was last contacted with the charging box 84 .
  • the right earphone 83 can share the recorded location of the charging box 84 to the mobile phone 81 .
  • the user can open the device search application on the mobile phone 81, and can see the information of the left earphone 82, the right earphone 83 and the charging box 84 stored in the mobile phone 81.
  • the mobile phone 81, the left earphone 82, and the right earphone 83 are all around the user, while the charging box 84 is 3 kilometers away from the user.
  • the mobile phone 81 may also display the location points of devices within a preset range (such as 2 kilometers) from the user, such as the location point of the mobile phone 81 shown in FIG. 8b.
  • the icon of the mobile phone can also be displayed at the area 811 on the mobile phone 81. Through the connection between the icon of the mobile phone and the location of the mobile phone, it is easy to guide the user to intuitively observe the location of the mobile phone from the map. Location.
  • the user can click on the area 812 on the mobile phone 81 to view the location of the charging box 84 when it is lost.
  • the mobile phone 81 can display the interface shown in Fig. 8c.
  • the mobile phone 81 can intuitively display the location of the charging box 84 when it is lost (ie d restaurant).
  • the icon of the charging box can also be displayed at the area 813 on the mobile phone 81.
  • the icon of the mobile phone 81 can be placed above the location point where the mobile phone 81 is located; for example, as shown in FIG. Since the left earphone 82 and the right earphone 83 are at the same position as the mobile phone 81 , the icons of the left earphone 82 and the right earphone 83 may also be displayed in the area 817 at the same time.
  • the interface shown in FIG. 8d may also be presented on the mobile phone 81.
  • the user can view a list of currently searchable devices in the interface shown in FIG. 8d.
  • the user can click on the area 814 on the mobile phone 81 to view the location of the charging box 84 when it is lost.
  • the interface shown in FIG. 8e can be displayed on the mobile phone 81.
  • the location of the charging box 84 stored in each device record when it is lost, the source of each location, the update time of each location, and the recommended location of the mobile phone 81 can be intuitively displayed in the area 815 of the mobile phone 81.
  • the location of the charging box 84 shown in FIG. 8e may be the recommended location L1 for the mobile phone 81 (ie restaurant d).
  • the icon of the charging box can also be displayed at the area 816 on the mobile phone 81. Through the connection between the icon of the charging box and the location of the charging box when it is lost, it is convenient to guide the user to intuitively navigate from the map. The position when the charging case was lost was observed on the above.
  • the left-ear earphone 82 and the right-ear earphone 83 can also save the position of the mobile phone 81 when they contacted the mobile phone 81 last time. Afterwards, after the left-ear earphone 82 or the right-ear earphone 83 establishes a connection with other electronic devices (such as another mobile phone, tablet, notebook computer, etc. 83 can share the location of the mobile phone 81 when they contacted the mobile phone 81 the last time to other electronic devices with the function of finding the device location, so that the location of the mobile phone 81 when it is lost can be checked in other electronic devices with the function of finding the device location. Location.
  • other electronic devices such as another mobile phone, tablet, notebook computer, etc.
  • the lost mobile phone 81 or charging box 84 can be found, but if any one of the left earphone 82 and the right earphone 83 (such as the left earphone 82) is lost, through the device search method provided by this application, Equally can utilize that earphone (for example right ear earphone 83) that is not lost to obtain the position when left ear earphone 82 is lost, and this position is sent on the mobile phone 81, check on mobile phone 81 when the left ear earphone 82 is lost Location.
  • earphone for example right ear earphone 83
  • the charging box 84 can be used to obtain the positions of the left earphone 82 and the right earphone 83 when they are lost , and the position is sent to the mobile phone 81, and the positions when the left earphone 82 and the right earphone 83 are lost are checked on the mobile phone 81.
  • the device location finding system includes a mobile phone 91 , glasses 92 and a glasses case 93 .
  • the connection between the mobile phone 91 and the glasses 92 can be established through Bluetooth, and the connection between the glasses 92 and the glasses case 93 can also be established through Bluetooth, but the connection between the glasses case 93 and the mobile phone 91 is not established.
  • the mobile phone 91 is equipped with a positioning device, and the glasses 92 and the glasses case 93 are not equipped with a positioning device.
  • the mobile phone 91 may store its own position
  • the positions of the glasses 92 and the glasses case 93 the glasses 92 may store its own position
  • the positions of the mobile phone 91 and the glasses case 93 the glasses case 93 may store its own position.
  • Self position, mobile phone 91 and glasses 92 positions the positions of the glasses 92 and the glasses case 93 can be marked with the position of the mobile phone 91 .
  • the glasses 92 and the glasses case 93 are disconnected. Since the glasses 92 and the glasses case 93 can share positions with each other, before disconnecting from the glasses case 93, the glasses 92 store the position of the glasses case 93, that is, the position when the glasses case 93 is lost.
  • the glasses 92 share the location with the mobile phone 91
  • the location of the glasses case 93 can be shared with the mobile phone 91.
  • the location of the glasses case 93 is also stored in the mobile phone 91.
  • the user can open the search device application program on the mobile phone 91, and can see the information of the glasses 92 and the glasses case 93 stored in the mobile phone 91, as can be seen from the figure , the mobile phone 91 and the glasses 92 are all around the user, and the glasses case 93 is 5 kilometers away from the user.
  • the mobile phone 91 can also display the location of the device within the preset range (such as 2 kilometers) from the user, such as the location of the mobile phone 91 shown in Figure 9c (ie building a).
  • the icon of the mobile phone can also be displayed at the area 911 on the mobile phone 91.
  • the icon of the mobile phone 91 can be placed above the location point where the mobile phone 91 is located; for example, as shown in FIG.
  • the icon of the mobile phone 91 is displayed on the “a building” in the area 917 .
  • the icon of the glasses 92 can also be displayed in the area 917 at the same time.
  • the user can click on the area 912 on the mobile phone 91 to check the location of the glasses case 93 when it is lost.
  • the mobile phone 91 can display the interface shown in Fig. 9d.
  • the mobile phone 91 can visually display the position of the glasses case 93 when it is lost (ie c park).
  • the icon of the glasses case can also be displayed in the area 913 on the mobile phone 91.
  • the interface shown in FIG. 9e may also be presented on the mobile phone 91.
  • the user can view a list of currently searchable devices on the interface shown in FIG. 9e.
  • the user can click on the area 914 on the mobile phone 91 to check the position of the glasses case 93 when it is lost.
  • the interface shown in FIG. 9f can be displayed on the mobile phone 91.
  • the location of the lost glasses case 93 recorded by each device stored in it can be intuitively displayed, the source of each location, the update time of each location, and the recommended location of the mobile phone 91 wait.
  • the position of the glasses case 93 shown in FIG. 9f may be the position L1 recommended for use by the mobile phone 91 (ie c park).
  • the icon of the glasses case can also be displayed at the area 916 on the mobile phone 91. Through the connection between the icon of the glasses case and the position when the glasses case was lost, it is convenient to guide the user to intuitively view the map from the map. The position of the glasses case when it is lost is observed above.
  • the glasses case 93 is capable of Bluetooth connection with the mobile phone 91, in the case of the glasses 92, the glasses case 93 can be used to obtain the position when the glasses 92 are lost, and the position can be sent to the mobile phone 91, check the position when the glasses 92 are lost on the mobile phone 91.
  • the display interface diagrams of the mobile phone illustrated in the above-mentioned scene 1, scene 2 and scene 3 do not constitute a specific limitation on the display interface of the mobile phone.
  • the display interface of the mobile phone may include more or less content than shown in the illustration.
  • watch a and earphone b are in a connected state, and the two can share positions with each other, wherein watch a has a position positioning function.
  • watch a when watch a is missing (that is, the two are disconnected), watch a can send its position n to earphone b.
  • the earphone b establishes a connection with the mobile phone c, and at this time, the earphone b can send the location n to the mobile phone c.
  • FIG. 11 is a schematic flowchart of a device search method provided in an embodiment of the present application.
  • the method can be applied to the first electronic device, where the first electronic device can be an electronic device without a positioning function, such as earphones, charging boxes, glasses, etc.; in addition, the first electronic device can also be an electronic device with a positioning function.
  • Devices, such as mobile phones, computers, etc. are not limited here.
  • the method may include:
  • the first electronic device and the second electronic device may be connected through short-distance communication. Wherein, when the distance between the first electronic device and the second electronic device is greater than a preset distance, the two may be disconnected.
  • the first electronic device may be the earphone 73 shown in FIG. 7a
  • the second electronic device may be the mobile phone 71 or the watch 72 shown in FIG. 7a.
  • the first electronic device may be the left earphone 82 shown in FIG. 8a
  • the second electronic device may be the mobile phone 81, the right earphone 83 or the charging box 84 shown in FIG. 8a
  • the first electronic device may be the right earphone 83 shown in FIG. 8a
  • the second electronic device may be the mobile phone 81, the left earphone 82 or the charging box 84 shown in FIG. 8a
  • the first electronic device may be the charging box 84 shown in FIG. 8a
  • the second electronic device may be the left earphone 82 or the right earphone 83 shown in FIG. 8a.
  • the first electronic device may be the glasses 92 shown in FIG. 9a
  • the second electronic device may be the mobile phone 91 or the glasses case 93 shown in FIG. 9a
  • the first electronic device may be the glasses case 93 shown in FIG. 9a
  • the second electronic device may be the glasses 92 shown in FIG. 9a.
  • the first electronic device obtains a first location, where the first location indicates the location of the second electronic device when the first electronic device is disconnected from the second electronic device.
  • the second electronic device may send the first position when it is disconnected from the first electronic device to the first electronic device, so that the first electronic device is Get to the first position.
  • the first position when the second electronic device has a positioning function, the first position may be a position acquired by the second electronic device based on its own positioning function.
  • the first position when the first electronic device is an earphone 73 and the second electronic device is a watch 72 , the first position may be a position acquired by the watch 72 based on its own positioning function.
  • the first position When the first electronic device is the earphone 73 and the second electronic device is the mobile phone 71, the first position may be the position acquired by the mobile phone 71 based on its own positioning function.
  • the first position when the first electronic device is the left earphone 82 and the second electronic device is the mobile phone 81, the first position may be the position obtained by the mobile phone 81 based on its own positioning function.
  • the first position When the first electronic device is the right earphone 83 and the second electronic device is the mobile phone 81, the first position may be the position acquired by the mobile phone 81 based on its own positioning function.
  • the first electronic device sends the first location to the third electronic device.
  • the first electronic device may send the first location to the third electronic device, so that the first location can be checked by the third electronic device.
  • the earphone 73 sends the first position of the watch 72 to the mobile phone 71, thus The first position (ie the position when the watch 72 was missing) can be checked on the mobile phone 71 .
  • the left earphone 82 sends the first position of the charging box 84 to mobile phone 81, so that the first position (ie the position when the charging box 84 is missing) can be checked on the mobile phone 81.
  • the first electronic device is the right earphone 83
  • the second electronic device is the charging box 84
  • the third electronic device is the mobile phone 81
  • the right earphone 83 sends the first position of the charging box 84 to the mobile phone 81, so that the mobile phone 81 can View to the first position (ie the position when the charging box 84 was missing).
  • the glasses 92 send the first position of the glasses case 93 to the mobile phone 91 , the first position (ie the position when the glasses case 93 was missing) can be checked on the mobile phone 91 like this.
  • the first electronic device can acquire the location of the second electronic device and send the location to the third electronic device, so that the third electronic device can The location of the second electronic device can be checked on the computer, thereby reducing the probability of the second electronic device being lost.
  • S1103 may specifically include: the first electronic device establishes a connection with the third electronic device; the first electronic device sends the first location to the third electronic device. In this way, when the connection is established, the two can share the location of the second electronic device with the third electronic device when the first electronic device is disconnected.
  • the first electronic device may receive the second location sent by the third electronic device, the second location is obtained by the third electronic device based on its own positioning function Location. In this way, the first electronic device can acquire the location of the third electronic device, store the location, and share the location with other electronic devices.
  • the second electronic device may use the second position sent by the third electronic device as its own position.
  • the first electronic device may send the second location to the second electronic device.
  • the first position is the same as the second position. Therefore, location sharing between the first electronic device and the second electronic device is realized.
  • the first electronic device may be an electronic device without a positioning function, such as earphones, glasses, etc.; the second electronic device may be an electronic device without a positioning function, such as a charging box, a glasses case, etc.; the third electronic device It is an electronic device with a display screen and a position viewing function, such as a mobile phone, a computer, etc.
  • the first electronic device can establish a connection with the second electronic device and the third electronic device respectively, but the second electronic device cannot establish a connection with the third electronic device .
  • the third electronic device sends the second position obtained based on its own positioning function to the first electronic device, and the first electronic device then sends the second position to the second electronic device, then both the first electronic device and the second electronic device can Positioning is performed based on the positioning function of the third electronic device; when the first electronic device is disconnected from the second electronic device, the first electronic device has obtained the position of the second electronic device at this time, so that the first electronic device will The location is sent to the third electronic device, so that the location of the second electronic device when the second electronic device is disconnected from the first electronic device can be viewed on the third electronic device.
  • FIG. 12 is a schematic flow chart of another device search method provided by the embodiment of the present application.
  • the method can be applied to a system including a first electronic device, a second electronic device and a third electronic device.
  • the first electronic device can be an electronic device without a positioning function, such as earphones, charging boxes, glasses, etc.
  • the second electronic device can be an electronic device with a positioning function, such as a smart watch, a smart bracelet, etc.
  • the third electronic device The device may be an electronic device with a display screen and a location viewing function, such as a mobile phone, a computer, and the like.
  • the first electronic device may also be an electronic device with a positioning function
  • the second electronic device may also be an electronic device without a positioning function, which is not limited here.
  • the method may include:
  • the first electronic device acquires a first location, where the first location indicates the location of the second electronic device when the first electronic device is disconnected from the second electronic device.
  • the first electronic device sends the first location to the third electronic device.
  • the user may perform an input operation on the third electronic device, for example, an operation of checking the location of the device.
  • the third electronic device may display first information in response to the input operation acting on the third electronic device, where the first information includes the first position.
  • the first electronic device can be a headset 73
  • the second electronic device can be a watch 72
  • the third electronic device can be a mobile phone 71.
  • the user can open an application for finding devices on the mobile phone 71 program and select View Watch 72 Position.
  • the interface shown in FIG. 7f can be displayed on the mobile phone 71, that is, the position of the watch 72 when it is lost can be checked.
  • the first electronic device can be the left earphone 82
  • the second electronic device can be the charging box 84
  • the third electronic device can be the mobile phone 81.
  • the user can open the search device on the mobile phone 81 app and choose to view the location of the charging case 84.
  • the interface shown in FIG. 8c can be displayed on the mobile phone 81, that is, the location of the charging box 84 when it is lost can be checked.
  • the first information further includes one or more of the following: a source of the first location, an update time of the first location, or a recommended first location.
  • the first electronic device may be an earphone 73
  • the second electronic device may be a watch 72
  • the third electronic device may be a mobile phone 71.
  • the first information may include the position of the watch 72, the position source, location update time, recommended location, etc.
  • the first electronic device may be the left earphone 82
  • the second electronic device may be the charging box 84
  • the third electronic device may be the mobile phone 81
  • the first information may include the location of the charging box 84 , the source of the location, the update time of the location, and the recommended location, etc.
  • the first electronic device may be glasses 92
  • the second electronic device may be a glasses case 93
  • the third electronic device may be a mobile phone 91
  • the first information may include the position of the glasses case 93, The source of the location, the update time of the location, the recommended location, etc.
  • the first electronic device, the second electronic device and the third electronic device shown in FIG. 12 may respectively include: at least one memory for storing programs; at least one processor for executing the programs stored in the memory , when the program stored in the memory is executed, the processor is configured to execute the method provided in FIG. 12 .
  • the memories in the first electronic device, the second electronic device, and the third electronic device can all be used to store their own positions, and can also be used to store the positions they receive from other electronic devices.
  • the memory may be the internal memory 121 described in FIG. 6
  • the processor may be the processor 110 described in FIG. 6 .
  • the electronic device includes hardware structures and/or software modules corresponding to each function.
  • the present invention can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.
  • processor in the embodiments of the present application may be a central processing unit (central processing unit, CPU), and may also be other general processors, digital signal processors (digital signal processor, DSP), application specific integrated circuits (application specific integrated circuit, ASIC), field programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof.
  • CPU central processing unit
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA field programmable gate array
  • a general-purpose processor can be a microprocessor, or any conventional processor.
  • the method steps in the embodiments of the present application may be implemented by means of hardware, or may be implemented by means of a processor executing software instructions.
  • the software instructions can be composed of corresponding software modules, and the software modules can be stored in random access memory (random access memory, RAM), flash memory, read-only memory (read-only memory, ROM), programmable read-only memory (programmable rom) , PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrically erasable programmable read-only memory (electrically EPROM, EEPROM), register, hard disk, mobile hard disk, CD-ROM or known in the art any other form of storage medium.
  • An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium.
  • the storage medium may also be a component of the processor.
  • the processor and storage medium can be located in the ASIC.
  • all or part of them may be implemented by software, hardware, firmware or any combination thereof.
  • software When implemented using software, it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in or transmitted via a computer-readable storage medium.
  • the computer instructions may be transmitted from one website site, computer, server, or data center to another website site by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) , computer, server or data center for transmission.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media.
  • the available medium may be a magnetic medium (such as a floppy disk, a hard disk, or a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state disk (solid state disk, SSD)), etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请提供了一种设备位置查找方法及系统。该方法包括:在第一电子设备与第二电子设备断开连接时,第一电子设备可以获取第一位置,以及将第一位置发送至第三电子设备,其中,第一位置表示第一电子设备与第二电子设备断开连接时第二电子设备的位置;第三电子设备接收到第一位置后,可以响应于作用于第三电子设备的输入操作,显示第一位置。由此,通过一个电子设备向另一个电子设备共享其他的电子设备的位置,使得可以在另一个电子设备上实现对其他的电子设备的位置查看,降低了其他的电子设备失踪的概率。

Description

一种设备位置查找方法及系统
本申请要求于2021年6月30日提交至中国国家知识产权局、申请号为202110741147.6、申请名称为“一种设备位置查找方法及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,尤其涉及一种设备位置查找方法及系统。
背景技术
随着电子设备技术的不断发展,电子设备的种类及数量也在不断增加,一个用户可以同时拥有多个电子设备,比如智能手机、智能手表、智能眼镜、智能手环、耳机等等。但当用户携带电子设备外出时,往往会存在电子设备失踪的情况。当电子设备失踪时,若该电子设备不具备位置定位功能,则难以定位电子设备失踪时的位置,这就导致难以找寻该电子设备。例如,当用户携带智能手机和耳机外出时,若耳机失踪,由于耳机不具备位置定位功能,因此难以定位耳机失踪时的位置,进而难以找寻耳机。因此,如何有效确定电子设备的位置以查找电子设备是目前亟需解决的技术问题。
发明内容
本申请提供了一种设备位置查找方法、系统、电子设备、计算机存储介质和包含指令的计算机程序产品,能够通过一个电子设备向另一个电子设备共享其他的电子设备的位置,使得可以在另一个电子设备上实现对其他的电子设备的位置查看,降低了其他的电子设备失踪的概率。
第一方面,本申请提供了一种设备位置查找方法,该方法可以应用于第一电子设备,该方法可以包括:第一电子设备与第二电子设备断开连接;第一电子设备获取第一位置,第一位置表示第一电子设备与第二电子设备断开连接时第二电子设备的位置;第一电子设备向第三电子设备发送第一位置。
由此,第二电子设备在与第一电子设备断开连接时,第一电子设备可以获取到第二电子设备的位置,并将该位置发送至第三电子设备,从而可以在第三电子设备上查看到第二电子设备的位置,进而降低了第二电子设备失踪的概率。
示例性的,第一电子设备可以为不具备定位功能的电子设备,如耳机、耳机盒、眼镜等;第二电子设备可以为具备定位功能的电子设备,如智能手表、智能手环等;第三电子设备为具有显示屏且具有位置查看功能的电子设备,如手机、电脑等。此外,第一电子设备也可以为具备定位功能的电子设备,第二电子设备也可以为不具备定位功能的电子设备。
在一种可能的实现方式中,第一位置是第二电子设备基于自身定位功能获取的位置。示例性的,第二电子设备可以为具备定位功能的智能手表、智能手环等,在第一电子设备与第二电子设备断开连接时,第一电子设备能够获取到第二电子设备基于自身定位功能所获取的第一位置,从而能够更加准确地提供第二电子设备失踪时的位置信息。
在一种可能的实现方式中,在第一电子设备与第二电子设备断开连接之前,第一电子设 备接收第三电子设备发送的第二位置,第二位置是第三电子设备基于自身定位功能获取的位置。
由此,第一电子设备即可以获取到第三电子设备的位置,进而存储该位置,并可以将该位置共享给其他的电子设备。示例性的,当第二电子设备不具备位置定位功能时,第二电子设备可以将第三电子设备发送的第二位置作为其自身的位置。
在一种可能的实现方式中,在第一电子设备与第二电子设备断开连接之前,第一电子设备向第二电子设备发送第二位置;其中,所述第二位置是第三电子设备基于自身定位功能获取并发送给第一电子设备的。
示例性的,第一电子设备可以为不具备定位功能的电子设备,如耳机、眼镜等;第二电子设备可以为不具备定位功能的电子设备,如耳机盒、眼镜盒等;第三电子设备为具有显示屏且具有位置查看功能的电子设备,如手机、电脑等,第一电子设备可以分别与第二电子设备、第三电子设备建立连接,第二电子设备与第三电子设备无法建立连接。第三电子设备将基于自身定位功能获取的第二位置发送给第一电子设备,第一电子设备进而将该第二位置发送给第二电子设备,则第一电子设备和第二电子设备均可以基于第三电子设备的定位功能进行定位;当第一电子设备与第二电子设备断开连接时,第一电子设备已获取到此时第二电子设备的位置,从而使得第一电子设备将该位置发送至第三电子设备,进而使得可以在第三电子设备上查看到第二电子设备与第一电子设备断开连接时第二电子设备的位置。
在一种可能的实现方式中,第一位置与第二位置相同。
在一种可能的实现方式中,第一电子设备向第三电子设备发送第一位置,具体包括:第一电子设备与第三电子设备建立连接;第一电子设备向第三电子设备发送第一位置。
由此,两者在建立连接时即可以实现将第二电子设备与第一电子设备断开连接时的位置共享至第三电子设备。
在一种可能的实现方式中,连接为近距离通信连接。
第二方面,本申请提供了一种设备位置查找方法,可以应用于包含第一电子设备、第二电子设备和第三电子设备的系统,该方法可以包括:第一电子设备与第二电子设备断开连接;第一电子设备获取第一位置,第一位置表示第一电子设备与第二电子设备断开连接时第二电子设备的位置;第一电子设备向第三电子设备发送第一位置;第三电子设备接收到第一位置后,响应于作用于第三电子设备的输入操作,显示第一信息,第一信息包括第一位置。
由此,第二电子设备在与第一电子设备断开连接时,第一电子设备可以获取到第二电子设备的位置,并将该位置发送至第三电子设备,从而可以在第三电子设备上查看到第二电子设备的位置,进而降低了第二电子设备失踪的概率。由此,通过系统中各个电子设备之间的位置共享,即可以在任一具备查看位置功能的电子设备上查看到各个电子设备,从而降低了电子设备失踪的概率。
示例性的,第一电子设备可以为不具备定位功能的电子设备,如耳机、耳机盒、眼镜等;第二电子设备可以为具备定位功能的电子设备,如智能手表、智能手环等;第三电子设备为具有显示屏且具有位置查看功能的电子设备,如手机、电脑等。此外,第一电子设备也可以为具备定位功能的电子设备,第二电子设备也可以为不具备定位功能的电子设备。
在一种可能的实现方式中,第二电子设备具有定位功能;第一位置是第二电子设备基于自身定位功能获取的位置。
示例性的,第二电子设备可以为具备定位功能的智能手表、智能手环等,在第一电子设 备与第二电子设备断开连接时,第一电子设备能够获取到第二电子设备基于自身定位功能所获取的第一位置,从而能够更加准确地提供第二电子设备失踪时的位置信息。
在一种可能的实现方式中,在第一电子设备与第二电子设备断开连接之前,第一电子设备接收第三电子设备发送的第二位置,第二位置是第三电子设备基于自身定位功能获取的位置。
由此,第一电子设备即可以获取到第三电子设备的位置,进而存储该位置,并可以将该位置共享给其他的电子设备。示例性的,当第二电子设备不具备位置定位功能时,第二电子设备可以将第三电子设备发送的第二位置作为其自身的位置。
在一种可能的实现方式中,在第一电子设备与第二电子设备断开连接之前,第一电子设备向第二电子设备发送第二位置。其中,第二位置是第三电子设备基于自身定位功能获取并发送给第一电子设备的。
示例性的,第一电子设备可以为不具备定位功能的电子设备,如耳机、眼镜等;第二电子设备可以为不具备定位功能的电子设备,如耳机盒、眼镜盒等;第三电子设备为具有显示屏且具有位置查看功能的电子设备,如手机、电脑等,第一电子设备可以分别与第二电子设备、第三电子设备建立连接,第二电子设备与第三电子设备无法建立连接。第三电子设备将基于自身定位功能获取的第二位置发送给第一电子设备,第一电子设备进而将该第二位置发送给第二电子设备,则第一电子设备和第二电子设备均可以基于第三电子设备的定位功能进行定位;当第一电子设备与第二电子设备断开连接时,第一电子设备已获取到此时第二电子设备的位置,从而使得第一电子设备将该位置发送至第三电子设备,进而使得可以在第三电子设备上查看到第二电子设备与第一电子设备断开连接时第二电子设备的位置。
在一种可能的实现方式中,第一位置与第二位置相同。
在一种可能的实现方式中,第一电子设备向第三电子设备发送第一位置,具体包括:第一电子设备与第三电子设备建立连接;第一电子设备向第三电子设备发送第一位置。
由此,两者在建立连接时即可以实现将第二电子设备与第一电子设备断开连接时的位置共享至第三电子设备。
在一种可能的实现方式中,连接为近距离通信连接。
在一种可能的实现方式中,第一信息中还包括以下一项或多项:第一位置的来源,第一位置的更新时间,或,推荐使用的第一位置。
第三方面,本申请提供了一种设备查找系统,包括:第一电子设备、第二电子设备和第三电子设备。其中,第一电子设备、第二电子设备和第三电子设备分别包括:至少一个存储器,用于存储程序;至少一个处理器,用于执行存储器存储的程序,当存储器存储的程序被执行时,处理器用于执行第二方面中提供的方法。
在一种可能的实现方式中,第一电子设备的至少一个存储器用于存储第一位置。
在一种可能的实现方式中,第一电子设备为耳机。
第四方面,本申请提供了一种电子设备,包括:至少一个存储器,用于存储程序;至少一个处理器,用于执行存储器存储的程序,当存储器存储的程序被执行时,处理器用于执行第一方面中提供的方法。
第五方面,本申请提供了一种计算机存储介质,计算机存储介质中存储有指令,当指令在计算机上运行时,使得计算机执行第一方面中提供的方法。
第六方面,本申请提供了一种包含指令的计算机程序产品,当指令在计算机上运行时, 使得计算机执行第一方面中提供的方法。
附图说明
图1a是本申请实施例提供的一种应用场景示意图;
图1b是本申请实施例提供的一种应用场景示意图;
图2a是本申请实施例提供的一种设备位置查找系统的系统架构示意图;
图2b是本申请实施例提供的一种设备位置查找系统的系统架构示意图;
图2c是本申请实施例提供的一种设备位置查找系统的系统架构示意图;
图2d是本申请实施例提供的一种设备位置查找系统的系统架构示意图;
图2e是本申请实施例提供的一种设备位置查找系统的系统架构示意图;
图3a是本申请实施例提供的一种设备位置查找系统中电子设备组成的信任网的示意图;
图3b是本申请实施例提供的一种设备位置查找系统中电子设备组成的信任网的示意图;
图4a是本申请实施例提供的一种电子设备存储位置的示意图;
图4b是本申请实施例提供的一种电子设备存储位置的示意图;
图5是本申请实施例提供的一种电子设备间交互信息的数据结构示意图;
图6是本申请实施例提供的一种电子设备的硬件结构示意图;
图7a是本申请实施例提供的一种应用场景示意图;
图7b是本申请实施例提供的一种应用场景示意图;
图7c是本申请实施例提供的一种应用场景示意图;
图7d是本申请实施例提供的一种应用场景示意图;
图7e是本申请实施例提供的一种电子设备的显示界面的示意图;
图7f是本申请实施例提供的一种电子设备的显示界面的示意图;
图7g是本申请实施例提供的一种电子设备的显示界面的示意图;
图7h是本申请实施例提供的一种电子设备的显示界面的示意图;
图7i是本申请实施例提供的一种电子设备的显示界面的示意图;
图8a是本申请实施例提供的一种应用场景示意图;
图8b是本申请实施例提供的一种电子设备的显示界面的示意图;
图8c是本申请实施例提供的一种电子设备的显示界面的示意图;
图8d是本申请实施例提供的一种电子设备的显示界面的示意图;
图8e是本申请实施例提供的一种电子设备的显示界面的示意图;
图8f是本申请实施例提供的一种电子设备的显示界面的示意图;
图9a是本申请实施例提供的一种应用场景示意图;
图9b是本申请实施例提供的一种应用场景示意图;
图9c是本申请实施例提供的一种电子设备的显示界面的示意图;
图9d是本申请实施例提供的一种电子设备的显示界面的示意图;
图9e是本申请实施例提供的一种电子设备的显示界面的示意图;
图9f是本申请实施例提供的一种电子设备的显示界面的示意图;
图9g是本申请实施例提供的一种电子设备的显示界面的示意图;
图10是本申请实施例提供的一种应用场景示意图;
图11是本申请实施例提供的一种设备查找方法的流程示意图;
图12是本申请实施例提供的另一种设备查找方法的流程示意图。
具体实施方式
为了使本申请实施例的目的、技术方案和优点更加清楚,下面将结合附图,对本申请实施例中的技术方案进行描述。
以下实施例中所使用的术语只是为了描述特定实施例的目的,而并非旨在作为对本申请的限制。如在本申请的说明书和所附权利要求书中所使用的那样,单数表达形式“一个”、“一种”、“所述”、“上述”、“该”和“这一”旨在也包括例如“一个或多个”这种表达形式,除非其上下文中明确地有相反指示。还应当理解,在本申请以下各实施例中,“至少一个”、“一个或多个”是指一个或两个以上(包含两个)。术语“和/或”,用于描述关联对象的关联关系,表示可以存在三种关系;例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A、B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。
在本说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。术语“连接”包括直接连接和间接连接,除非另外说明。
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。
在本申请实施例中,“示例性地”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性地”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性地”或者“例如”等词旨在以具体方式呈现相关概念。
为了便于确定电子设备的位置,可以将具备位置定位功能的电子设备和不具备位置定位功能的电子设备结合使用。如图1a所示,电子设备A具备位置定位功能,电子设备B不具备位置定位功能。其中,电子设备A可以与电子设备B建立连接。在确定电子设备B的位置时,可以将电子设备A定位的位置作为电子设备B的位置。由此,当电子设备B失踪时,可以将电子设备B与电子设备A断开连接时,电子设备A定位的位置作为电子设备B失踪时的位置,进而可以确定出电子设备B失踪时的位置。但如果是电子设备A失踪了,由于电子设备B难以定位位置,这就导致电子设备B难以确定出其与电子设备A断开连接时的位置,进而难以确定出电子设备A失踪时的位置。示例性的,电子设备A可以为智能手机,电子设备B可以为具备蓝牙功能的耳机;其中,智能手机和耳机之间可以通过蓝牙建立连接。
此外,如图1b所示,电子设备A和C具备位置定位功能,电子设备B不具备位置定位功能。其中,电子设备A,B和C之间可以两两建立连接。此时,在确定电子设备B的位置时,可以将电子设备A定位的位置作为电子设备B的位置,也可以将电子设备C定位的位置作为电子设备B的位置。在该场景下,如果电子设备A具备联网功能,电子设备C不具备联网功 能,且电子设备A和C断开连接,而电子设备A与B建立连接,电子设备B与C建立连接。这时,当电子设备C失踪时,由于电子设备C定位的位置只存储在其本地存储器中,且其无联网功能,这就导致只有电子设备C自身知道其失踪的位置,而电子设备A和B均无法获知到电子设备C失踪时的位置,进而导致难以确定出电子设备C失踪时的位置。示例性的,电子设备A可以为智能手机,电子设备B可以为具备蓝牙功能的耳机,电子设备C可以为智能手表;其中,智能手机和耳机之间可以通过蓝牙建立连接,智能手机和智能手表之间也可以通过蓝牙建立连接,智能手表和耳机之间亦可以通过蓝牙建立连接。
进一步地,为了有效确定电子设备的位置以查找电子设备,特提出了本方案。其中,本方案中是通过建立电子设备间信任关系,使电子设备间可以相互共享自身位置以及存储电子设备所信任设备共享的位置。由此形成一个信任网,这样使得信任网中的各个电子设备均可以直接或间接获取到信任网中其他的电子设备的位置,从而在任一可查看位置的电子设备上实现对信任网中各个电子设备的位置的查看,进而实现有效确定出信任网中各个电子设备的位置,以对信任网中各个电子设备进行查找,降低了信任网中电子设备失踪的概率。
接下来,对本方案中涉及的设备位置查找方案进行详细描述。
首先,本方案提供了一种设备位置查找系统。该系统中可以包括多个电子设备。其中,在该系统中至少一个电子设备具有位置定位功能,以进行位置定位。在该系统中至少一个电子设备具有联网功能,以将定位出的经纬度信息转换为地图上可见的位置,进而通过查找软件找寻到电子设备的位置。在该系统中每个电子设备均具有数据存储功能,以存储系统中各个电子设备的位置信息。在该系统中每个电子设备均具有数据通信功能,以进行位置信息交互。
在一个例子中,如图2a所示,本方案中提供的设备位置查找系统中可以包括电子设备A和B。电子设备A和B之间可以通过无线通信技术连接,如通过短距离无线连接技术或长距离无线连接技术连接等,也可以通过物理连接方式建立连接,如通过引脚(Pin)接触连接等。当电子设备A和B建立连接后,两者之间即建立起信任关系,此时电子设备A和B之间可以共享位置。其中,电子设备A和B可以在满足位置共享条件时,向另一方共享自己的位置。电子设备A和B在进行位置共享后,两者中的任意一个即可以存储其自身的位置和对方的位置。示例性的,位置共享条件可以包括:两者建立连接的时刻,两者断开连接的时刻,两者中至少一个设备的位置发生更新的时刻,或者,达到预设周期的时刻等等。示例性的,短距离无线连接技术可以包括蓝牙(Bluetooth),紫蜂(ZigBee)等等;长距离无线连接技术可以包括无线保真技术(wireless fidelity,WIFI)等。
进一步地,如图2b所示,该系统中还可以包括电子设备C。其中,电子设备C可以与电子设备B通过上文所描述的无线通信技术建立连接。当电子设备B和C建立连接后,两者之间即建立起信任关系,此时电子设备B和C之间可以共享位置。其中,电子设备B在满足位置共享条件时可以将其自身的位置和其存储的电子设备A的位置共享给电子设备C。接着,电子设备C可以存储其自身的位置,以及电子设备A和B的位置。此外,电子设备C在满足位置共享条件时也可以将其自身的位置共享给电子设备B,之后,电子设备B可以存储电子设备C的位置,以及在满足位置共享条件时将电子设备C的位置共享给电子设备A。由此,在电子设备A,B和C组成的信任网中,每个电子设备中均可以存储有信任网中各个电子设备的位置。之后,即可以在任一可查看位置的电子设备上实现对信任网中各个电子设备的位置的查看,进而实现有效确定出信任网中各个电子设备的位置,以对信任网中各个电子设备进 行查找,降低了信任网中电子设备失踪的概率。
此外,如图2c所示,该系统中还可以包括电子设备D,E等等。其中,电子设备D和E之间或者电子设备D和E与系统中的其他设备之间共享位置的方式与上述描述的电子设备A,B和C之间共享位置的方式类似,在此就不再一一赘述。
可以理解的是,该系统中的任意两个电子设备之间均可以直接建立连接。示例性的,如图2d所示,电子设备A和B可以直接建立连接,电子设备A和D也可以直接建立连接。
在一个例子中,该系统中的每个电子设备中均可以具有一个直接信任列表和一个间接信任列表。其中,直接信任列表中记录的是与该电子设备直接连接的电子设备,间接信任列表中记录的是与该电子设备间接连接的电子设备。示例性的,继续参阅图2d,电子设备A中的直接信任列表为:电子设备B和D,间接信任列表为:电子设备C和E;电子设备B中的直接信任列表为:电子设备A和C,间接信任列表为:电子设备D和E;电子设备C中的直接信任列表为:电子设备B和D,间接信任列表为:电子设备A和E;电子设备E中的直接信任列表为:电子设备D,间接信任列表为:电子设备A,B和C。
进一步地,在图2d中,当电子设备A与电子设备D断开连接,并与电子设备E建立连接后,可以形成如图2e中所示的系统架构。在图2e中,电子设备A的直接信任列表可以变更为:电子设备B和E,间接信任列表可以变更为:电子设备C和D。作为另一种可能的实现方式,由于电子设备D曾经存在于电子设备A的直接信任列表中,因此,在图2e中,电子设备A的直接信任列表中仍然可以保留电子设备D,即在图2e中电子设备A的直接信任列表为:电子设备B,D和E,而间接信任列表可以为:电子设备C。
接下来,以图2d和2e中的系统架构为例,描述本方案中设备位置查找系统中电子设备组成的信任网。如图3a所示,该图示出了图2d中电子设备组成的信任网,其中,在该信任网中,各个电子设备均相互信任,比如,电子设备A与电子设备B和D之间为直接信任,电子设备A与电子设备C和E之间为间接信任。如图3b所示,该图示出了图2e中电子设备组成的信任网,其中,在该信任网中,各个电子设备均相互信任,比如,电子设备A与电子设备B和E之间为直接信任,电子设备A与电子设备C和D之间为间接信任。
可以理解的是,本方案中,设备位置查找系统中的电子设备在标记其自身的位置时,具有位置定位功能的电子设备可以优先选用其自身定位的位置来标记其自身的位置;不具备位置定位功能的电子设备可以选用其最新接收到的与其直连的电子设备的位置来标记其自身的位置。此外,为了定位的精准性,不具备位置定位功能的电子设备可以优先选用与其直连且具备位置定位功能的电子设备的位置标记其自身的位置。示例性的,继续参阅图2d,假设电子设备A,B和C均不具备位置定位功能,电子设备D具备位置定位功能,此时,电子设备D可以以其自身定位的位置标记其自身的位置,电子设备A可以使用电子设备D的位置标记其自身的位置,电子设备C也可以使用电子设备D的位置标记其自身的位置;若电子设备B最新接收到电子设备A的位置,则电子设备B可以使用电子设备A的位置标记其自身的位置,若电子设备B最新接收到电子设备C的位置,则电子设备B可以使用电子设备C的位置标记其自身的位置。
设备位置查找系统中的电子设备在存储其他的电子设备的位置时,可以优先存储其他的电子设备自身定位的位置,即优先存储具备位置定位功能的电子设备自身定位的位置。示例性的,继续参阅图2d,假设电子设备A具备位置定位功能,电子设备B,C和D均不具备位置定位功能,此时,电子设备D可以从电子设备A处获得电子设备A的位置,也可以从电子 设备C处获得电子设备A的位置,由于电子设备A具备位置定位功能,因此,这时电子设备D优先选用从电子设备A处获得的电子设备A的位置标记电子设备A。
此外,考虑到具备位置定位功能的电子设备存在定位出错的情况,因此,电子设备在存储其他的具备位置定位功能的电子设备的位置时,可以将其接收到的另外的电子设备发送的该具备位置定位功能的电子设备的位置作为参考,当两个位置之间相距较大时,则可以表明该具备位置定位功能的电子设备定位出错,因此,此时可以选用其接收到的另外的电子设备发送的该具备位置定位功能的电子设备的位置标记该具备位置定位功能的电子设备的位置;当两个位置之间相距较小时,则可以表明该具备位置定位功能的电子设备定位未出错,因此,此时可以选用该具备位置定位功能的电子设备自身定位的位置进行标记。例如,继续参阅图2d,若电子设备D具备位置定位功能,电子设备A在标记电子设备D的位置时,可以利用电子设备D自身定位的位置进行标记;同时,电子设备A也可以参考其从电子设备B处接收到的电子设备D的位置;当两个位置相距较小时,电子设备A则可以利用电子设备D自身定位的位置标记电子设备D的位置;当两个位置相距较大时,电子设备A则可以利用电子设备B发送的电子设备D的位置标记电子设备D的位置。
可以理解的是,本方案中,电子设备在存储其他电子设备的位置时,也可以存储各个电子设备共享的某一个电子设备的位置。之后,该电子设备在需要定位某一个电子设备的位置时,其再从其存储的各个电子设备发送的待定位的电子设备的位置中,筛选出一个位置作为定位所需的位置,即该电子设备推荐使用的待定位的电子设备的位置;其中,筛选原则可以参考上文描述的电子设备存储位置时的原则,在此就不再一一赘述。举例来说,继续参阅图2d,电子设备A在存储电子设备C的位置时,电子设备A可以同时存储电子设备B和D共享的电子设备C的位置,当电子设备A需要定位电子设备C的位置时,电子设备A再从其存储的电子设备C的位置中筛选出一个位置(如电子设备D共享的电子设备C的位置)作为定位所需的位置。
在一个例子中,电子设备在存储其自身的位置和其他电子设备的位置时,可以将两者分开存储,以便区分其自身位置与其他电子设备的位置。例如,电子设备将其自身的位置存储于其存储器的区域一处,将其他电子设备的位置存储于其存储器的区域二处。
在一个例子中,电子设备在存储其自身的位置和其他电子设备的位置时,电子设备可以用其最新的位置覆盖其以前的位置,也可以用其接收的其他电子设备的最新位置覆盖相应的电子设备的以前的位置,由此以节省电子设备的存储空间。示例性的,如图4a所示,若当前时间为2021.04.22,am8:30,则此时电子设备中存储的其自身的位置和其他电子设备的位置均只有当前最新的位置。
此外,电子设备在存储其自身的位置和其他电子设备的位置时,电子设备可以保留其各个时间点的位置,也可以保留其接收的其他电子设备的各个时间点的位置,由此,以便于可以查看到电子设备其自身的移动轨迹或者其他电子设备的移动轨迹等。示例性的,如图4b所示,若当前时间为2021.04.22,am8:30,且电子设备A,B和C之间建立连接的时间为2021.04.22,am8:00,则此时电子设备中存储的其自身在各个时间点的位置和其他电子设备在各个时间点的位置。
在一个例子中,本方案中,设备位置查找系统中的电子设备之间的共享的一个电子设备的信息可以包括:该电子设备的标识,该电子设备的位置,时间戳,该电子设备有无定位功能等。示例性的,继续参阅图2d,电子设备A向电子设备B共享的电子设备A的信息中可以 包括:电子设备A的标识,电子设备A的位置,时间戳,电子设备A有无定位功能等;电子设备A向电子设备B共享的电子设备D的信息中可以包括:电子设备D的标识,电子设备D的位置,时间戳,电子设备D有无定位功能等。可以理解的是,本方案中,电子设备的标识可以便于区别是哪一个电子设备的位置,电子设备的位置可以代表该电子设备当前的位置,时间戳可以表征发送该电子设备的位置的时间,电子设备有无定位功能可以便于区分该电子设备能否定位。
示例性的,如图5所示,设备位置查找系统中的电子设备之间交互的信息的数据结构可以包含四部分,分别为用于指示电子设备的标识的字段0,用于指示电子设备的位置的字段1,用于指示当前发送的电子设备位置的时间的字段2,用于指示电子设备有无定位功能的字段3。可以理解的是,图5中所示的信息的数据结构并不构成对本方案中设备位置查找系统中的电子设备之间交互的信息的限定,在本方案的另一些实施例中,设备位置查找系统中的电子设备之间交互的信息的可以包括比图5中更多或更少的部分。
以上即是对本方案中提供的设备位置查找系统的相关介绍。接下来,对本方案中涉及的电子设备的硬件结构进行介绍。
可以理解的是,本方案中涉及的电子设备可以为手机、平板电脑、桌面型计算机、膝上型计算机、手持计算机、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本,以及蜂窝电话、个人数字助理(personal digital assistant,PDA)、增强现实(augmented reality,AR)设备、虚拟现实(virtual reality,VR)设备、人工智能(artificial intelligence,AI)设备、可穿戴式设备、车载设备、智能家居设备和/或智慧城市设备,本申请实施例对该电子设备的具体类型不作特殊限制。
图6是本申请实施例提供的一种电子设备的硬件结构示意图。如图6所示,该电子设备可以包括:处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。
可以理解的是,本发明实施例示意的结构并不构成对电子设备的具体限定。在本申请另一些实施例中,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的 控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备充电,也可以用于电子设备与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
电子设备的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。
无线通信模块160可以提供应用在电子设备上的包括无线局域网(wireless local area  networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。示例性的,电子设备可以利用无线通信模块160向其他的电子设备发送位置信息,例如其自身的位置信息和/或其存储的位置信息,也可以利用无线通信模块160接收其他的电子设备发送的位置信息等。
电子设备通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备可以包括1个或N个显示屏194,N为大于1的正整数。示例性的,显示屏194还可以用于显示查找设备位置的应用程序的界面,显示该应用程序的显示窗口,显示设备位置查找系统中各个电子设备的位置等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器110通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,执行电子设备的各种功能应用以及数据处理。示例性的,内部存储器121中可以具有多个存储区域,其中一个存储区域可以存储该电子设备自身的位置,另外一个存储区域可以存储其他的电子设备的位置。
电子设备可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备可以接收按键输入,产生与电子设备的用户设置以及功能控制有关的键信号输入。
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。 触摸振动反馈效果还可以支持自定义。
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备的接触和分离。电子设备可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备中,不能和电子设备分离。
此外,电子设备中还可以包括定位装置(图中未示出)。定位装置可以定位电子设备的位置。示例性的,定位装置可以为全球定位系统(global positioning system,GPS)。
可以理解的是,本方案图6示意的结构并不构成对电子设备的具体限定。在本方案另一些实施例中,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。示例性的,前述设备查找系统中至少一个电子设备可以具有联网功能。此外,前述设备查找系统中至少一个电子设备可以具有定位功能。
以上即是对本本方案中涉及的电子设备的硬件结构进行介绍。为便于理解,接下来分场景举例进行说明。
场景一
如图7a所示,设备位置查找系统中包括手机71、手表72和耳机73。其中,手机71和耳机73之间可以通过蓝牙建立连接,手表72和耳机73之间也可以通过蓝牙建立连接,而手表72和手机71之间未建立连接。其中,手机71具备联网功能和位置定位功能,手表72具备位置定位功能,耳机73不具备位置定位功能,手表72和耳机73均不具备联网功能。
若用户携带手表72和耳机73外出,而未携带手机71外出。在外出途中,手表72和耳机73之间可以在满足位置共享条件时相互共享位置。此时,手表72中可以存储有其自身的位置和耳机73的位置,耳机73中可以存储其自身的位置和手表72的位置。其中,耳机73的位置可以用手表72的位置标记。此时,如图7b所示,在外出途中,手机71和耳机73之间断开连接,手表72和耳机73之间未断开连接。
假设在外出途中用户将手表72摘下,以致手表72丢失,而耳机73未丢失。此时,如图7c所示,手表72与耳机73之间断开连接,手机71和耳机73之间也断开连接。由于在断开连接之前,手表72和耳机73之间可以相互共享位置,因此,手表72与耳机73之间断开连接之后,耳机73中存储了手表72丢失时耳机73的位置和手表72的位置。
接着,当用户回到家中后,如图7d所示,手机71和耳机73之间可以重新建立连接。重新建立连接之后,耳机73可以将其存储的手表72丢失时耳机73的位置和手表72的位置共享至手机71,这样手机71就可以获知到手表72丢失时的位置。
之后,如图7e所示,用户可以打开手机71上的查找设备应用程序,可以看到手机71中存储的手表72和耳机73的信息,由图中可以看出,手机71和耳机73均在用户身边,而手表72与用户相距5公里。其中,在手机71上也可以显示处于与用户相距预设范围(如2公 里)内的设备的位置点,如图7e中显示的手机71所在的位置点(即a大厦)。此外,如图7e所示,也可以在手机71上的区域711处显示出手机的图标,通过手机的图标与手机的位置之间的连线,可以便于引导用户直观的从地图上观察到手机的位置。可以理解的是,手机71上的查找设备应用程序开启后,该应用程序可以以用户所处位置为基准,默认向用户展示预设大小范围的区域。其中,在图7e中,手机71向用户展示的区域中可以不包含手表72丢失的位置所在的区域。此外,用户可以基于自身需求对查找设备应用程序所显示的区域进行缩放,以使得该应用程序可以向用户展示更大范围的区域。可以理解的是,为显示手机71的图标与手机71的位置点之间的关系,除了使用图7e所示的方式呈现外,也可以使用其他的方式呈现,在此不做限定。示例性的,在呈现手机71的位置时可以将手机71的图标置于手机71所处的位置点之上;例如,如图7i所示,当手机71的位置点位于a大厦时,可以在区域717处“a大厦”上呈现手机71的图标,此外,由于耳机73与手机71处于同一位置,因此,可以在区域717中也同时显示耳机73的图标。可以理解的是,本申请实施例中,在地图上显示设备的位置时,也可以使用其他的方式,在此不做限定。
接着,继续参阅图7e,用户可以点击手机71上的区域712,以便查看到手表72丢失时的位置。在用户点击手机71上的区域712后,手机71可以显示图7f中所显示的界面。在图7f中,手机71可以直观的显示出手表72丢失时的位置(即c公园)。此外,如图7f所示也可以在手机71上的区域713处显示出手表的图标,通过手表的图标与手表丢失时的位置之间的连线,可以便于引导用户直观的从地图上观察到手表丢失时的位置。可以理解的是,在用户点击手机71上的区域712后,手机71所显示的界面可以仅在预设大小范围的区域内显示,如仅显示图7f中手表72丢失时的位置(即c公园)及区域713处显示出的手表图标,而未能显示图7f中手机当前的位置(即a大厦)及区域711处显示出的手机图标。
此外,用户在打开手机71上的查找设备应用程序后,在手机71上也可以呈现如图7g所示的界面。用户在图7g所显示的界面中可以查看到当前可以查找的设备列表。之后,用户可以点击手机71上的区域714,以便查看到手表72丢失时的位置。在用户点击手机71上的区域714后,则手机71上可以显示图7h中所显示的界面。在图7h中,在手机71的区域715处可以直观的显示出其存储的各个设备记录的手表72丢失时的位置,各个位置的来源,各个位置的更新时间,以及手机71推荐使用的位置等等。其中,图7h中所显示的手表72的位置(即c公园)可以为手机71推荐使用的位置L1。可以理解的是,如图7h所示也可以在手机71上的区域716处显示出手表的图标,通过手表的图标与手表丢失时的位置之间的连线,可以便于引导用户直观的从地图上观察到手表丢失时的位置。
在该场景下,不仅可以找寻丢失的手表72,如果用户携带手机71和耳机73外出途中将手机71不慎遗失,通过本申请提供的设备查找方法,同样可以利用留在家中的手表72(手表具有显示屏、查找设备应用程序的情况下)获取手机71丢失时的位置,并将该位置发送至手表72上,在手表72上查看到手机71丢失时的位置。
场景二
如图8a所示,设备位置查找系统中包括手机81、左耳耳机82、右耳耳机83和耳机充电盒84。其中,手机81和左耳耳机82之间可以通过蓝牙建立连接,手机81和右耳耳机83之间可以通过蓝牙建立连接,左耳耳机82和右耳耳机83之间可以通过蓝牙建立连接,左耳耳机82和充电盒84之间可以通过物理连接,右耳耳机83和充电盒84之间可以通过物理连接。 本方案中,左耳耳机82或右耳耳机83和充电盒84之间的物理连接,可以理解为是左耳耳机82或右耳耳机83的充电引脚与充电盒84的充电引脚连接,换言之,当左耳耳机82或右耳耳机83被置于充电盒84中时,左耳耳机82或右耳耳机83即可以与充电盒84建立连接。本方案中,左耳耳机82和右耳耳机83可以构成真正无线立体声(true wireless stereo,TWS)耳机。可以理解的是,当充电盒84具备蓝牙功能时,左耳耳机82或右耳耳机83和充电盒84之间也可以通过蓝牙建立连接。其中,手机81上配置有定位装置,左耳耳机82、右耳耳机83和耳机充电盒84上均未配置定位装置。
在该场景下,手机81在满足位置共享条件时,可以将其位置和其存储其他电子设备的位置共享给左耳耳机82和右耳耳机83。左耳耳机82在满足位置共享条件时,可以将其位置和其存储其他电子设备的位置共享给手机81、右耳耳机83和充电盒84。右耳耳机83在满足位置共享条件时,可以将其位置和其存储其他电子设备的位置共享给手机81、左耳耳机82和充电盒84。充电盒84在满足位置共享条件时,可以将其位置和其存储其他电子设备的位置共享给左耳耳机82和右耳耳机83。其中,由于左耳耳机82,右耳耳机83和耳机盒84均不具备位置定位功能,因此,左耳耳机82,右耳耳机83和耳机盒84存储的它们各自的自身的位置可以理解为是手机81的位置。
当充电盒84丢失时,左耳耳机82可以保存其与充电盒84最近一次联系时充电盒84的位置。当左耳耳机82与手机81建立连接后,左耳耳机82可以将其记录的充电盒84的位置共享至手机81。这样手机81就可以获知到充电盒84丢失时的位置。同样的,右耳耳机83也可以保存其与充电盒84最近一次联系时充电盒84的位置。当右耳耳机83与手机81建立连接后,右耳耳机83可以将其记录的充电盒84的位置共享至手机81。
之后,如图8b所示,用户可以打开手机81上的查找设备应用程序,可以看到手机81中存储的左耳机82,右耳机83和充电盒84的信息,由图中可以看出,手机81,左耳机82,右耳机83均在用户身边,而充电盒84与用户相距3公里。其中,在手机81上也可以显示处于与用户相距预设范围(如2公里)内的设备的位置点,如图8b中显示的手机81所在的位置点。此外,如图8b所示也可以在手机81上的区域811处显示出手机的图标,通过手机的图标与手机的位置之间的连线,可以便于引导用户直观的从地图上观察到手机的位置。
接着,继续参阅图8b,用户可以点击手机81上的区域812,以便查看到充电盒84丢失时的位置。在用户点击手机81上的区域812后,手机81可以显示图8c中所显示的界面。在图8c中,手机81可以直观的显示出充电盒84丢失时的位置(即d餐厅)。此外,如图8c所示也可以在手机81上的区域813处显示出充电盒的图标,通过充电盒的图标与充电盒丢失时的位置之间的连线,可以便于引导用户直观的从地图上观察到充电盒丢失时的位置。可以理解的是,为显示手机81的图标与手机81的位置点之间的关系,除了使用图8b所示的方式呈现外,也可以使用其他的方式呈现,在此不做限定。示例性的,在呈现手机81的位置时可以将手机81的图标置于手机81所处的位置点之上;例如,如图8f所示,可以在区域817处呈现手机81的图标,此外,由于左耳机82和右耳机83均与手机81处于同一位置,因此,可以在区域817中也同时显示左耳机82和右耳机83的图标。
此外,用户在打开手机81上的查找设备应用程序后,在手机81上也可以呈现如图8d所示的界面。用户在图8d所显示的界面中可以查看到当前可以查找的设备列表。之后,用户可以点击手机81上的区域814,以便查看到充电盒84丢失时的位置。在用户点击手机81上的区域814后,则手机81上可以显示图8e中所显示的界面。在图8e中,在手机81的区域815 处可以直观的显示出其存储的各个设备记录的充电盒84丢失时的位置,各个位置的来源,各个位置的更新时间,以及手机81推荐使用的位置等等。其中,图8e中所显示的充电盒84的位置可以为手机81推荐使用的位置L1(即d餐厅)。此外,如图8e所示也可以在手机81上的区域816处显示出充电盒的图标,通过充电盒的图标与充电盒丢失时的位置之间的连线,可以便于引导用户直观的从地图上观察到充电盒丢失时的位置。
可以理解的是,当手机81丢失时,左耳耳机82和右耳耳机83中也可以保存它们与手机81最近一次联系时手机81的位置。之后,当左耳耳机82或右耳耳机83与其他的具备查找设备位置功能的电子设备(例如用户的另一部手机、平板、笔记本电脑等)建立连接后,左耳耳机82或右耳耳机83可以将它们与手机81最近一次联系时手机81的位置共享至其他的具备查找设备位置功能的电子设备,由此即可以在其他的具备查找设备位置功能的电子设备查看到手机81丢失时的位置。
在该场景下,不仅可以找寻丢失的手机81或充电盒84,如果左耳耳机82和右耳耳机83中的任一只(例如左耳耳机82)丢失,通过本申请提供的设备查找方法,同样可以利用未丢失的那一只耳机(例如右耳耳机83)获取左耳耳机82丢失时的位置,并将该位置发送至手机81上,在手机81上查看到左耳耳机82丢失时的位置。类似地,如果充电盒84能够与手机81进行蓝牙连接,在左耳耳机82和右耳耳机83均丢失的情况下,可以利用充电盒84获取左耳耳机82和右耳耳机83丢失时的位置,并将该位置发送至手机81上,在手机81上查看到左耳耳机82和右耳耳机83丢失时的位置。
场景三
如图9a所示,设备位置查找系统中包括手机91、眼镜92和眼镜盒93。其中,手机91和眼镜92之间可以通过蓝牙建立连接,眼镜92和眼镜盒93之间也可以通过蓝牙建立连接,而眼镜盒93和手机91之间未建立连接。其中,手机91上配置有定位装置,眼镜92和眼镜盒93上未配置定位装置。
若用户携带手机91,眼镜92和眼镜盒93外出。在外出途中,手机91和眼镜92之间可以在满足位置共享条件时相互共享位置,眼镜92和眼镜盒93之间也可以在满足位置共享条件时相互共享位置。此时,手机91中可以存储有其自身的位置、眼镜92和眼镜盒93的位置,眼镜92中可以存储有其自身的位置、手机91和眼镜盒93的位置,眼镜盒93中可以存储其自身的位置、手机91和眼镜92的位置。其中,眼镜92和眼镜盒93的位置均可以用手机91的位置标记。
如图9b所示,假设在外出途中用户将眼镜盒93丢失,此时,眼镜92和眼镜盒93之间断开连接。由于眼镜92和眼镜盒93之间可以相互共享位置,因此,在与眼镜盒93断开连接之前,眼镜92中存储了眼镜盒93的位置,也就是眼镜盒93丢失时的位置。而眼镜92在与手机91进行位置共享时,可以将眼镜盒93的位置共享至手机91,此时,手机91中也就存储了眼镜盒93的位置。
当用户发现眼镜盒93丢失时,如图9c所示,用户可以打开手机91上的查找设备应用程序,可以看到手机91中存储的眼镜92和眼镜盒93的信息,由图中可以看出,手机91和眼镜92均在用户身边,而眼镜盒93与用户相距5公里。其中,在手机91上也可以显示处于与用户相距预设范围(如2公里)内的设备的位置点,如图9c中显示的手机91所在的位置点(即a大厦)。此外,如图9c所示也可以在手机91上的区域911处显示出手机的图标,通过 手机的图标与手机的位置之间的连线,可以便于引导用户直观的从地图上观察到手机的位置。可以理解的是,为显示手机91的图标与手机91的位置点之间的关系,除了使用图9c所示的方式呈现外,也可以使用其他的方式呈现,在此不做限定。示例性的,在呈现手机91的位置时可以将手机91的图标置于手机91所处的位置点之上;例如,如图9g所示,当手机91的位置点位于a大厦时,可以在区域917处“a大厦”上呈现手机91的图标,此外,由于眼镜92与手机91处于同一位置,因此,可以在区域917中也同时显示眼镜92的图标。
接着,继续参阅图9c,用户可以点击手机91上的区域912,以便查看到眼镜盒93丢失时的位置。在用户点击手机91上的区域912后,手机91可以显示图9d中所显示的界面。在图9d中,手机91可以直观的显示出眼镜盒93丢失时的位置(即c公园)。此外,如图9d所示也可以在手机91上的区域913处显示出眼镜盒的图标,通过眼镜盒的图标与眼镜盒丢失时的位置之间的连线,可以便于引导用户直观的从地图上观察到眼镜盒丢失时的位置。
此外,用户在打开手机91上的查找设备应用程序后,在手机91上也可以呈现如图9e所示的界面。用户在图9e所显示的界面中可以查看到当前可以查找的设备列表。之后,用户可以点击手机91上的区域914,以便查看到眼镜盒93丢失时的位置。在用户点击手机91上的区域914后,则手机91上可以显示图9f中所显示的界面。在图9f中,在手机91的区域915处可以直观的显示出其存储的各个设备记录的眼镜盒93丢失时的位置,各个位置的来源,各个位置的更新时间,以及手机91推荐使用的位置等等。其中,图9f中所显示的眼镜盒93的位置可以为手机91推荐使用的位置L1(即c公园)。此外,如图9f所示也可以在手机91上的区域916处显示出眼镜盒的图标,通过眼镜盒的图标与眼镜盒丢失时的位置之间的连线,可以便于引导用户直观的从地图上观察到眼镜盒丢失时的位置。
对本领域技术人员来说可以理解的是,如果眼镜盒93能够与手机91进行蓝牙连接,在眼镜92的情况下,可以利用眼镜盒93获取眼镜92丢失时的位置,并将该位置发送至手机91上,在手机91上查看到眼镜92丢失时的位置。
可以理解的是,上述场景一、场景二和场景三中示意的手机的显示界面图并不构成对手机的显示界面的具体限定。在本方案另一些实施例中,手机的显示界面中可以包括比图示更多或更少的内容。
为便于理解本申请实施例提供的方案,下面继续举例进行说明。示例性的,如图10的(A)所示,手表a与耳机b处于连接状态,两者之间可以相互共享位置,其中,手表a具备位置定位功能。之后,如图10的(B)所示,在手表a失踪(即两者断开连接)时,手表a可以将其位置n发送至耳机b。之后,如图10的(C)所示,耳机b与手机c建立连接,此时耳机b可以将位置n发送至手机c。接着,如图10的(D)所示,手机c接收到用户的位置查看操作,可以显示出手表a丢失时的位置n。由此,通过一个电子设备向另一个电子设备共享其他的电子设备的位置,使得可以在另一个电子设备上实现对其他的电子设备的位置查看,降低了其他的电子设备失踪的概率。
接下来,基于上文所描述的内容,介绍本申请实施例提供的一种设备查找方法。
示例性的,图11是本申请实施例提供的一种设备查找方法的流程示意图。该方法可以应用于第一电子设备,其中,该第一电子设备可以为不具备定位功能的电子设备,如耳机、充电盒、眼镜等;此外,第一电子设备也可以为具备定位功能的电子设备,如手机、电脑等,此处不做限定。如图11所示,该方法可以包括:
S1101、第一电子设备与第二电子设备断开连接。
具体地,第一电子设备与第二电子设备之间可以通过近距离通信连接。其中,当第一电子设备与第二电子设备之间的距离大于预设距离时,两者之间可以断开连接。
示例性的,第一电子设备可以为图7a中所示的耳机73,第二电子设备可以为图7a中所示的手机71或手表72。
示例性的,第一电子设备可以为图8a中所示的左耳机82,第二电子设备可以为图8a中所示的手机81、右耳机83或充电盒84。或者,第一电子设备可以为图8a中所示的右耳机83,第二电子设备可以为图8a中所示的手机81、左耳机82或充电盒84。或者,第一电子设备可以为图8a中所示的充电盒84,第二电子设备可以为图8a中所示的左耳机82或右耳机83。
示例性的,第一电子设备可以为图9a中所示的眼镜92,第二电子设备可以为图9a中所示的手机91或眼镜盒93。或者,第一电子设备可以为图9a中所示的眼镜盒93,第二电子设备可以为图9a中所示的眼镜92。
S1102、第一电子设备获取第一位置,第一位置表示第一电子设备与第二电子设备断开连接时第二电子设备的位置。
具体地,第一电子设备与第二电子设备断开连接时,第二电子设备可以将其与第一电子设备断开连接时的第一位置发送至第一电子设备,这样第一电子设备即获取到第一位置。
在一个例子中,当第二电子设备具备定位功能时,第一位置可以为第二电子设备基于自身定位功能获取的位置。
示例性的,继续参阅图7a,当第一电子设备为耳机73,第二电子设备为手表72时,第一位置可以是手表72基于其自身定位功能获取的位置。当第一电子设备为耳机73,第二电子设备为手机71时,第一位置可以是手机71基于其自身定位功能获取的位置。
示例性的,继续参阅图8a,当第一电子设备为左耳机82,第二电子设备为手机81时,第一位置可以是手机81基于其自身定位功能获取的位置。当第一电子设备为右耳机83,第二电子设备为手机81时,第一位置可以是手机81基于其自身定位功能获取的位置。
S1103、第一电子设备向第三电子设备发送第一位置。
具体地,第一电子设备获取到第二电子设备的第一位置后,可以将该第一位置发送至第三电子设备,以通过第三电子设备查看第一位置。
示例性的,继续参阅图7a,当第一电子设备为耳机73,第二电子设备为手表72,第三电子设备为手机71时,耳机73将手表72的第一位置发送至手机71,这样在手机71上可以查看到第一位置(即手表72失踪时的位置)。
示例性的,继续参阅图8a,当第一电子设备为左耳机82,第二电子设备为充电盒84,第三电子设备为手机81时,左耳机82将充电盒84的第一位置发送至手机81,这样在手机81上可以查看到第一位置(即充电盒84失踪时的位置)。当第一电子设备为右耳机83,第二电子设备为充电盒84,第三电子设备为手机81时,右耳机83将充电盒84的第一位置发送至手机81,这样在手机81上可以查看到第一位置(即充电盒84失踪时的位置)。
示例性的,继续参阅图9a,当第一电子设备为眼镜92,第二电子设备为眼镜盒93,第三电子设备为手机91时,眼镜92将眼镜盒93的第一位置发送至手机91,这样在手机91上可以查看到第一位置(即眼镜盒93失踪时的位置)。
由此,第二电子设备在与第一电子设备断开连接时,第一电子设备可以获取到第二电子设备的位置,并将该位置发送至第三电子设备,从而可以在第三电子设备上查看到第二电子 设备的位置,进而降低了第二电子设备失踪的概率。
在一个例子中,S1103具体可以包括:第一电子设备与第三电子设备建立连接;第一电子设备向第三电子设备发送第一位置。这样,两者在建立连接时即可以实现将第二电子设备与第一电子设备断开连接时的位置共享至第三电子设备。
在一个例子中,在第一电子设备与第二电子设备断开连接之前,第一电子设备可以接收第三电子设备发送的第二位置,第二位置是第三电子设备基于自身定位功能获取的位置。这样,第一电子设备即可以获取到第三电子设备的位置,进而存储该位置,并可以将该位置共享给其他的电子设备。示例性的,当第二电子设备不具备位置定位功能时,第二电子设备可以将第三电子设备发送的第二位置作为其自身的位置。
进一步地,在第一电子设备与第二电子设备断开连接之前,第一电子设备可以向第二电子设备发送第二位置。其中,第一位置与第二位置相同。由此以实现第一电子设备与第二电子设备之间的位置共享。
示例性的,第一电子设备可以为不具备定位功能的电子设备,如耳机、眼镜等;第二电子设备可以为不具备定位功能的电子设备,如充电盒、眼镜盒等;第三电子设备为具有显示屏且具有位置查看功能的电子设备,如手机、电脑等,第一电子设备可以分别与第二电子设备、第三电子设备建立连接,第二电子设备与第三电子设备无法建立连接。第三电子设备将基于自身定位功能获取的第二位置发送给第一电子设备,第一电子设备进而将该第二位置发送给第二电子设备,则第一电子设备和第二电子设备均可以基于第三电子设备的定位功能进行定位;当第一电子设备与第二电子设备断开连接时,第一电子设备已获取到此时第二电子设备的位置,从而使得第一电子设备将该位置发送至第三电子设备,进而使得可以在第三电子设备上查看到第二电子设备与第一电子设备断开连接时第二电子设备的位置。
接下来,基于上文所描述的内容,介绍本申请实施例提供的另一种设备查找方法。
示例性的,图12是本申请实施例提供的另一种设备查找方法的流程示意图。该方法可以应用于包含第一电子设备、第二电子设备和第三电子设备的系统。其中,第一电子设备可以为不具备定位功能的电子设备,如耳机、充电盒、眼镜等;第二电子设备可以为具备定位功能的电子设备,如智能手表、智能手环等;第三电子设备可以为具有显示屏且具有位置查看功能的电子设备,如手机、电脑等。此外,第一电子设备也可以为具备定位功能的电子设备,第二电子设备也可以为不具备定位功能的电子设备,此处不做限定。
如图12所示,该方法可以包括:
S1201、第一电子设备与第二电子设备断开连接。
S1202、第一电子设备获取第一位置,第一位置表示第一电子设备与第二电子设备断开连接时第二电子设备的位置。
S1203、第一电子设备向第三电子设备发送第一位置。
S1204、第三电子设备接收到第一位置后,响应于作用于第三电子设备的输入操作,显示第一信息,第一信息包括第一位置。
具体地,第三电子设备接收到第一位置后,用户可以在第三电子设备上进行输入操作,例如,设备位置查看操作等。第三电子设备接收到用户的输入操作后,可以响应于作用于第三电子设备的输入操作,显示第一信息,第一信息包括第一位置。由此,在第三电子设备上即可以查看到第二电子设备失踪时的位置(即第一位置)。
示例性的,继续参阅图7a,第一电子设备可以为耳机73,第二电子设备可以为手表72, 第三电子设备可以为手机71,此时,用户可以在手机71上打开查找设备的应用程序,并选择查看手表72的位置。如图7e所示,用户点击手机71上的区域712后,在手机71上可以显示图7f中所显示的界面,即查看到手表72丢失时的位置。
示例性的,继续参阅图8a,第一电子设备可以为左耳机82,第二电子设备可以为充电盒84,第三电子设备可以为手机81,此时,用户可以在手机81上打开查找设备的应用程序,并选择查看充电盒84的位置。如图8b所示,用户点击手机81上的区域812后,在手机81上可以显示图8c中所显示的界面,即查看到充电盒84丢失时的位置。
示例性的,继续参阅图9a,第一电子设备可以为眼镜92,第二电子设备可以为眼镜盒93,第三电子设备可以为手机91,此时,用户可以在手机91上打开查找设备的应用程序,并选择查看眼镜盒93的位置。如图9c所示,用户点击手机91上的区域912后,在手机91上可以显示图9d中所显示的界面,即查看到眼镜盒93丢失时的位置。
在一个例子中,第一信息中还包括以下一项或多项:第一位置的来源,第一位置的更新时间,或,推荐使用的第一位置。
示例性的,如图7h所示,第一电子设备可以为耳机73,第二电子设备可以为手表72,第三电子设备可以为手机71,第一信息中可以包括手表72的位置、位置的来源、位置的更新时间和推荐使用的位置等。
示例性的,如图8e所示,第一电子设备可以为左耳机82,第二电子设备可以为充电盒84,第三电子设备可以为手机81,第一信息中可以包括充电盒84的位置、位置的来源、位置的更新时间和推荐使用的位置等。
示例性的,如图9f所示,第一电子设备可以为眼镜92,第二电子设备可以为眼镜盒93,第三电子设备可以为手机91,第一信息中可以包括眼镜盒93的位置、位置的来源、位置的更新时间和推荐使用的位置等。
可以理解的是,S1201-S1203可以参见上文对S1101-S1103的描述,此处不再赘述。
在一个例子中,图12中所示的第一电子设备、第二电子设备和第三电子设备可以分别包括:至少一个存储器,用于存储程序;至少一个处理器,用于执行存储器存储的程序,当存储器存储的程序被执行时,处理器用于执行图12中提供的方法。示例性的,第一电子设备、第二电子设备和第三电子设备中的存储器,均可以用于存储他们自身的位置,也可以用于存储他们接收的其他电子设备发送的位置。示例性的,存储器可以为图6中所描述的内部存储器121,处理器可以为图6中所描述的处理器110。
可以理解的是,为了实现上述功能,电子设备包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的算法步骤,本发明能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。
本发明实施例可以根据上述方法示例对电子设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本发明实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
可以理解的是,本申请的实施例中的处理器可以是中央处理单元(central processing unit,CPU),还可以是其他通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现场可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件,硬件部件或者其任意组合。通用处理器可以是微处理器,也可以是任何常规的处理器。
本申请的实施例中的方法步骤可以通过硬件的方式来实现,也可以由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于随机存取存储器(random access memory,RAM)、闪存、只读存储器(read-only memory,ROM)、可编程只读存储器(programmable rom,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)、寄存器、硬盘、移动硬盘、CD-ROM或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者通过所述计算机可读存储介质进行传输。所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。
可以理解的是,在本申请的实施例中涉及的各种数字编号仅为描述方便进行的区分,并不用来限制本申请的实施例的范围。

Claims (21)

  1. 一种设备位置查找方法,其特征在于,所述方法应用于第一电子设备,所述方法包括:
    所述第一电子设备与第二电子设备断开连接;
    所述第一电子设备获取第一位置,所述第一位置表示所述第一电子设备与第二电子设备断开连接时所述第二电子设备的位置;
    所述第一电子设备向所述第三电子设备发送所述第一位置。
  2. 根据权利要求1所述的方法,其特征在于,所述第一位置是所述第二电子设备基于自身定位功能获取的位置。
  3. 根据权利要求1所述的方法,其特征在于,在所述第一电子设备与第二电子设备断开连接之前,所述第一电子设备接收所述第三电子设备发送的第二位置,所述第二位置是所述第三电子设备基于自身定位功能获取的位置。
  4. 根据权利要求3所述的方法,其特征在于,在所述第一电子设备与第二电子设备断开连接之前,第一电子设备向所述第二电子设备发送所述第二位置。
  5. 根据权利要求3或4所述的方法,其特征在于,所述第一位置与所述第二位置相同。
  6. 根据权利要求1所述的方法,其特征在于,所述第一电子设备向所述第三电子设备发送所述第一位置,具体包括:
    所述第一电子设备与所述第三电子设备建立连接;
    所述第一电子设备向所述第三电子设备发送所述第一位置。
  7. 根据权利要求1或6所述的方法,其特征在于,所述连接为近距离通信连接。
  8. 一种设备位置查找方法,其特征在于,应用于包含第一电子设备、第二电子设备和第三电子设备的系统,所述方法包括:
    所述第一电子设备与所述第二电子设备断开连接;
    所述第一电子设备获取第一位置,所述第一位置表示所述第一电子设备与第二电子设备断开连接时所述第二电子设备的位置;
    所述第一电子设备向所述第三电子设备发送所述第一位置;
    所述第三电子设备接收到所述第一位置后,响应于作用于所述第三电子设备的输入操作,显示第一信息,所述第一信息包括所述第一位置。
  9. 根据权利要求8所述的方法,其特征在于,所述第二电子设备具有定位功能;所述第一位置是所述第二电子设备基于自身定位功能获取的位置。
  10. 根据权利要求8所述的方法,其特征在于,在所述第一电子设备与第二电子设备断开连接之前,所述第一电子设备接收所述第三电子设备发送的第二位置,所述第二位置是所述第三电子设备基于自身定位功能获取的位置。
  11. 根据权利要求10所述的方法,其特征在于,在所述第一电子设备与第二电子设备断开连接之前,第一电子设备向所述第二电子设备发送所述第二位置。
  12. 根据权利要求10或11所述的方法,其特征在于,所述第一位置与所述第二位置相同。
  13. 根据权利要求8所述的方法,其特征在于,所述第一电子设备向所述第三电子设备发送所述第一位置,具体包括:
    所述第一电子设备与所述第三电子设备建立连接;
    所述第一电子设备向所述第三电子设备发送所述第一位置。
  14. 根据权利要求8或13所述的方法,其特征在于,所述连接为近距离通信连接。
  15. 根据权利要求8-14任一所述的方法,其特征在于,所述第一信息中还包括以下一项或多项:所述第一位置的来源,所述第一位置的更新时间,或,推荐使用的所述第一位置。
  16. 一种设备查找系统,其特征在于,包括:
    第一电子设备、第二电子设备和第三电子设备;所述第一电子设备、所述第二电子设备和所述第三电子设备分别包括:
    至少一个存储器,用于存储程序;
    至少一个处理器,用于执行所述存储器存储的程序,当所述存储器存储的程序被执行时,所述处理器用于执行如权利要求8-15任一所述的方法。
  17. 根据权利要求16所述的设备查找系统,其特征在于,所述第一电子设备的至少一个存储器用于存储所述第一位置。
  18. 根据权利要求16或17所述的设备查找系统,其特征在于,所述第一电子设备为耳机。
  19. 一种电子设备,其特征在于,包括:
    至少一个存储器,用于存储程序;
    至少一个处理器,用于执行所述存储器存储的程序,当所述存储器存储的程序被执行时,所述处理器用于执行如权利要求1-7任一所述的方法。
  20. 一种计算机存储介质,所述计算机存储介质中存储有指令,当所述指令在计算机上运行时,使得计算机执行如权利要求1-7任一所述的方法。
  21. 一种包含指令的计算机程序产品,当所述指令在计算机上运行时,使得所述计算机执行如权利要求1-7任一所述的方法。
PCT/CN2022/084881 2021-06-30 2022-04-01 一种设备位置查找方法及系统 WO2023273480A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110741147.6A CN115551074A (zh) 2021-06-30 2021-06-30 一种设备位置查找方法及系统
CN202110741147.6 2021-06-30

Publications (1)

Publication Number Publication Date
WO2023273480A1 true WO2023273480A1 (zh) 2023-01-05

Family

ID=84691164

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/084881 WO2023273480A1 (zh) 2021-06-30 2022-04-01 一种设备位置查找方法及系统

Country Status (2)

Country Link
CN (1) CN115551074A (zh)
WO (1) WO2023273480A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117041886B (zh) * 2023-08-31 2024-02-09 青岛柯锐思德电子科技有限公司 一种基于集成uwb无线耳机的标签定位追踪方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105376698A (zh) * 2015-10-22 2016-03-02 广东小天才科技有限公司 一种基于位置关系的提示方法和提示系统
CN105813015A (zh) * 2014-12-31 2016-07-27 环达电脑(上海)有限公司 定位共享方法
CN106170994A (zh) * 2015-02-16 2016-11-30 华为技术有限公司 一种获取目标物位置信息的方法、装置及系统
CN108834052A (zh) * 2018-06-12 2018-11-16 歌尔科技有限公司 一种tws耳机防丢方法、tws耳机及防丢系统
WO2020214711A1 (en) * 2019-04-17 2020-10-22 Prestacom Services Llc Separation notifications for wireless accessories

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105813015A (zh) * 2014-12-31 2016-07-27 环达电脑(上海)有限公司 定位共享方法
CN106170994A (zh) * 2015-02-16 2016-11-30 华为技术有限公司 一种获取目标物位置信息的方法、装置及系统
CN105376698A (zh) * 2015-10-22 2016-03-02 广东小天才科技有限公司 一种基于位置关系的提示方法和提示系统
CN108834052A (zh) * 2018-06-12 2018-11-16 歌尔科技有限公司 一种tws耳机防丢方法、tws耳机及防丢系统
WO2020214711A1 (en) * 2019-04-17 2020-10-22 Prestacom Services Llc Separation notifications for wireless accessories

Also Published As

Publication number Publication date
CN115551074A (zh) 2022-12-30

Similar Documents

Publication Publication Date Title
CN111132101B (zh) 定位交互方法及装置
KR20150054413A (ko) 시선 데이터에 따라 컨텐츠의 위치를 결정하는 전자 장치 및 방법
KR20150054410A (ko) 디스플레이 링크 기능을 수행하는 전자 장치 및 방법
WO2022161119A1 (zh) 一种显示方法及电子设备
EP4114045A1 (en) Device positioning method and relevant apparatus
KR20150057085A (ko) 전력 소모를 줄일 수 있는 전자 장치 및 방법
KR20150027934A (ko) 다각도에서 촬영된 영상을 수신하여 파일을 생성하는 전자 장치 및 방법
KR20150027459A (ko) 컨텐츠 전송 방법 및 전자 장치
WO2023273480A1 (zh) 一种设备位置查找方法及系统
WO2022121445A1 (zh) 添加widget的方法、装置及计算机可读存储介质
KR20180121178A (ko) 무선 연결을 위한 방법 및 그 전자 장치
US20220137232A1 (en) Exercise track recording method and related device
WO2020233581A1 (zh) 一种测量高度的方法和电子设备
CN115022982A (zh) 多屏协同无感接入方法、电子设备及存储介质
CN116541188B (zh) 通知显示方法、终端设备及存储介质
CN118301581B (zh) 蓝牙设备管理方法及电子设备
CN117118970B (zh) 文件的下载方法、电子设备及存储介质
US20240201932A1 (en) Display method, electronic device, and system
CN115017473B (zh) 授权方法及电子设备
EP4336865A1 (en) Interaction method and apparatus for electronic device
WO2022068729A1 (zh) 一种无线充电显示方法与电子设备
CN111275561B (zh) 获取关联关系的方法、装置、计算机设备和存储介质
CN116009742A (zh) 一种跨设备文件显示方法、设备及系统
CN115706737A (zh) 一种推送消息同步的方法、电子设备及系统
CN117692977A (zh) 驻网方法及相关设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22831311

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22831311

Country of ref document: EP

Kind code of ref document: A1